Skip to content

Commit bb4180d

Browse files
Microsoft Graph DevX ToolingMicrosoft Graph DevX Tooling
authored andcommitted
feat(generation): update request builders and models
Update generated files with build 183645
1 parent 2a48ceb commit bb4180d

474 files changed

Lines changed: 8857 additions & 8857 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

packages/kiota-dom-export.txt

Lines changed: 2678 additions & 2678 deletions
Large diffs are not rendered by default.

packages/kiota-lock.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"descriptionHash": "4523F2CD745A4D4890384E7BB981AADA2BA1FC622AACE044822308128A793AE2EC03E64ED314E221A3842C8ACB0BC7065C6E860FD34544F83B433678DC2DC784",
2+
"descriptionHash": "4205AF0B2FD252E14C0C0D9B714C603AC0A22FF685B6BF34DD0374AE95B8D9245B9B500886D15200A550B44BAA395AC2C5EA92E1DD10E3743208EFE066C281BD",
33
"descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml",
44
"lockFileVersion": "1.0.0",
55
"kiotaVersion": "1.25.0",

packages/msgraph-sdk-admin/admin/serviceAnnouncement/messages/archive/index.ts

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export interface ArchivePostRequestBody extends AdditionalDataHolder, BackedMode
2020
*/
2121
messageIds?: string[] | null;
2222
}
23-
export interface ArchivePostResponse extends AdditionalDataHolder, BackedModel, Parsable {
23+
export interface ArchivepostResponse extends AdditionalDataHolder, BackedModel, Parsable {
2424
/**
2525
* Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
2626
*/
@@ -42,11 +42,11 @@ export interface ArchiveRequestBuilder extends BaseRequestBuilder<ArchiveRequest
4242
* Archive a list of serviceUpdateMessages for the signed in user.
4343
* @param body The request body
4444
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
45-
* @returns {Promise<ArchivePostResponse>}
45+
* @returns {Promise<ArchivepostResponse>}
4646
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
4747
* @see {@link https://learn.microsoft.com/graph/api/serviceupdatemessage-archive?view=graph-rest-1.0|Find more info here}
4848
*/
49-
post(body: ArchivePostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<ArchivePostResponse | undefined>;
49+
post(body: ArchivePostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<ArchivepostResponse | undefined>;
5050
/**
5151
* Archive a list of serviceUpdateMessages for the signed in user.
5252
* @param body The request body
@@ -67,11 +67,11 @@ export function createArchivePostRequestBodyFromDiscriminatorValue(parseNode: Pa
6767
/**
6868
* Creates a new instance of the appropriate class based on discriminator value
6969
* @param parseNode The parse node to use to read the discriminator value and create the object
70-
* @returns {ArchivePostResponse}
70+
* @returns {ArchivepostResponse}
7171
*/
7272
// @ts-ignore
73-
export function createArchivePostResponseFromDiscriminatorValue(parseNode: ParseNode | undefined) : ((instance?: Parsable) => Record<string, (node: ParseNode) => void>) {
74-
return deserializeIntoArchivePostResponse;
73+
export function createArchivepostResponseFromDiscriminatorValue(parseNode: ParseNode | undefined) : ((instance?: Parsable) => Record<string, (node: ParseNode) => void>) {
74+
return deserializeIntoArchivepostResponse;
7575
}
7676
/**
7777
* The deserialization information for the current model
@@ -89,10 +89,10 @@ export function deserializeIntoArchivePostRequestBody(archivePostRequestBody: Pa
8989
* @returns {Record<string, (node: ParseNode) => void>}
9090
*/
9191
// @ts-ignore
92-
export function deserializeIntoArchivePostResponse(archivePostResponse: Partial<ArchivePostResponse> | undefined = {}) : Record<string, (node: ParseNode) => void> {
92+
export function deserializeIntoArchivepostResponse(archivepostResponse: Partial<ArchivepostResponse> | undefined = {}) : Record<string, (node: ParseNode) => void> {
9393
return {
94-
"backingStoreEnabled": n => { archivePostResponse.backingStoreEnabled = true; },
95-
"value": n => { archivePostResponse.value = n.getBooleanValue(); },
94+
"backingStoreEnabled": n => { archivepostResponse.backingStoreEnabled = true; },
95+
"value": n => { archivepostResponse.value = n.getBooleanValue(); },
9696
}
9797
}
9898
/**
@@ -111,10 +111,10 @@ export function serializeArchivePostRequestBody(writer: SerializationWriter, arc
111111
* @param writer Serialization writer to use to serialize this model
112112
*/
113113
// @ts-ignore
114-
export function serializeArchivePostResponse(writer: SerializationWriter, archivePostResponse: Partial<ArchivePostResponse> | undefined | null = {}) : void {
115-
if (archivePostResponse) {
116-
writer.writeBooleanValue("value", archivePostResponse.value);
117-
writer.writeAdditionalData(archivePostResponse.additionalData);
114+
export function serializeArchivepostResponse(writer: SerializationWriter, archivepostResponse: Partial<ArchivepostResponse> | undefined | null = {}) : void {
115+
if (archivepostResponse) {
116+
writer.writeBooleanValue("value", archivepostResponse.value);
117+
writer.writeAdditionalData(archivepostResponse.additionalData);
118118
}
119119
}
120120
/**
@@ -132,7 +132,7 @@ export const ArchiveRequestBuilderRequestsMetadata: RequestsMetadata = {
132132
XXX: createODataErrorFromDiscriminatorValue as ParsableFactory<Parsable>,
133133
},
134134
adapterMethodName: "send",
135-
responseBodyFactory: createArchivePostResponseFromDiscriminatorValue,
135+
responseBodyFactory: createArchivepostResponseFromDiscriminatorValue,
136136
requestBodyContentType: "application/json",
137137
requestBodySerializer: serializeArchivePostRequestBody,
138138
requestInformationContentSetMethod: "setContentFromParsable",

packages/msgraph-sdk-admin/admin/serviceAnnouncement/messages/favorite/index.ts

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ export function createFavoritePostRequestBodyFromDiscriminatorValue(parseNode: P
1818
/**
1919
* Creates a new instance of the appropriate class based on discriminator value
2020
* @param parseNode The parse node to use to read the discriminator value and create the object
21-
* @returns {FavoritePostResponse}
21+
* @returns {FavoritepostResponse}
2222
*/
2323
// @ts-ignore
24-
export function createFavoritePostResponseFromDiscriminatorValue(parseNode: ParseNode | undefined) : ((instance?: Parsable) => Record<string, (node: ParseNode) => void>) {
25-
return deserializeIntoFavoritePostResponse;
24+
export function createFavoritepostResponseFromDiscriminatorValue(parseNode: ParseNode | undefined) : ((instance?: Parsable) => Record<string, (node: ParseNode) => void>) {
25+
return deserializeIntoFavoritepostResponse;
2626
}
2727
/**
2828
* The deserialization information for the current model
@@ -40,10 +40,10 @@ export function deserializeIntoFavoritePostRequestBody(favoritePostRequestBody:
4040
* @returns {Record<string, (node: ParseNode) => void>}
4141
*/
4242
// @ts-ignore
43-
export function deserializeIntoFavoritePostResponse(favoritePostResponse: Partial<FavoritePostResponse> | undefined = {}) : Record<string, (node: ParseNode) => void> {
43+
export function deserializeIntoFavoritepostResponse(favoritepostResponse: Partial<FavoritepostResponse> | undefined = {}) : Record<string, (node: ParseNode) => void> {
4444
return {
45-
"backingStoreEnabled": n => { favoritePostResponse.backingStoreEnabled = true; },
46-
"value": n => { favoritePostResponse.value = n.getBooleanValue(); },
45+
"backingStoreEnabled": n => { favoritepostResponse.backingStoreEnabled = true; },
46+
"value": n => { favoritepostResponse.value = n.getBooleanValue(); },
4747
}
4848
}
4949
export interface FavoritePostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
@@ -60,7 +60,7 @@ export interface FavoritePostRequestBody extends AdditionalDataHolder, BackedMod
6060
*/
6161
messageIds?: string[] | null;
6262
}
63-
export interface FavoritePostResponse extends AdditionalDataHolder, BackedModel, Parsable {
63+
export interface FavoritepostResponse extends AdditionalDataHolder, BackedModel, Parsable {
6464
/**
6565
* Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
6666
*/
@@ -82,11 +82,11 @@ export interface FavoriteRequestBuilder extends BaseRequestBuilder<FavoriteReque
8282
* Change the status of a list of serviceUpdateMessages to favorite for the signed in user.
8383
* @param body The request body
8484
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
85-
* @returns {Promise<FavoritePostResponse>}
85+
* @returns {Promise<FavoritepostResponse>}
8686
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
8787
* @see {@link https://learn.microsoft.com/graph/api/serviceupdatemessage-favorite?view=graph-rest-1.0|Find more info here}
8888
*/
89-
post(body: FavoritePostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<FavoritePostResponse | undefined>;
89+
post(body: FavoritePostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<FavoritepostResponse | undefined>;
9090
/**
9191
* Change the status of a list of serviceUpdateMessages to favorite for the signed in user.
9292
* @param body The request body
@@ -111,10 +111,10 @@ export function serializeFavoritePostRequestBody(writer: SerializationWriter, fa
111111
* @param writer Serialization writer to use to serialize this model
112112
*/
113113
// @ts-ignore
114-
export function serializeFavoritePostResponse(writer: SerializationWriter, favoritePostResponse: Partial<FavoritePostResponse> | undefined | null = {}) : void {
115-
if (favoritePostResponse) {
116-
writer.writeBooleanValue("value", favoritePostResponse.value);
117-
writer.writeAdditionalData(favoritePostResponse.additionalData);
114+
export function serializeFavoritepostResponse(writer: SerializationWriter, favoritepostResponse: Partial<FavoritepostResponse> | undefined | null = {}) : void {
115+
if (favoritepostResponse) {
116+
writer.writeBooleanValue("value", favoritepostResponse.value);
117+
writer.writeAdditionalData(favoritepostResponse.additionalData);
118118
}
119119
}
120120
/**
@@ -132,7 +132,7 @@ export const FavoriteRequestBuilderRequestsMetadata: RequestsMetadata = {
132132
XXX: createODataErrorFromDiscriminatorValue as ParsableFactory<Parsable>,
133133
},
134134
adapterMethodName: "send",
135-
responseBodyFactory: createFavoritePostResponseFromDiscriminatorValue,
135+
responseBodyFactory: createFavoritepostResponseFromDiscriminatorValue,
136136
requestBodyContentType: "application/json",
137137
requestBodySerializer: serializeFavoritePostRequestBody,
138138
requestInformationContentSetMethod: "setContentFromParsable",

packages/msgraph-sdk-admin/admin/serviceAnnouncement/messages/markRead/index.ts

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ export function createMarkReadPostRequestBodyFromDiscriminatorValue(parseNode: P
1818
/**
1919
* Creates a new instance of the appropriate class based on discriminator value
2020
* @param parseNode The parse node to use to read the discriminator value and create the object
21-
* @returns {MarkReadPostResponse}
21+
* @returns {MarkReadpostResponse}
2222
*/
2323
// @ts-ignore
24-
export function createMarkReadPostResponseFromDiscriminatorValue(parseNode: ParseNode | undefined) : ((instance?: Parsable) => Record<string, (node: ParseNode) => void>) {
25-
return deserializeIntoMarkReadPostResponse;
24+
export function createMarkReadpostResponseFromDiscriminatorValue(parseNode: ParseNode | undefined) : ((instance?: Parsable) => Record<string, (node: ParseNode) => void>) {
25+
return deserializeIntoMarkReadpostResponse;
2626
}
2727
/**
2828
* The deserialization information for the current model
@@ -40,10 +40,10 @@ export function deserializeIntoMarkReadPostRequestBody(markReadPostRequestBody:
4040
* @returns {Record<string, (node: ParseNode) => void>}
4141
*/
4242
// @ts-ignore
43-
export function deserializeIntoMarkReadPostResponse(markReadPostResponse: Partial<MarkReadPostResponse> | undefined = {}) : Record<string, (node: ParseNode) => void> {
43+
export function deserializeIntoMarkReadpostResponse(markReadpostResponse: Partial<MarkReadpostResponse> | undefined = {}) : Record<string, (node: ParseNode) => void> {
4444
return {
45-
"backingStoreEnabled": n => { markReadPostResponse.backingStoreEnabled = true; },
46-
"value": n => { markReadPostResponse.value = n.getBooleanValue(); },
45+
"backingStoreEnabled": n => { markReadpostResponse.backingStoreEnabled = true; },
46+
"value": n => { markReadpostResponse.value = n.getBooleanValue(); },
4747
}
4848
}
4949
export interface MarkReadPostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
@@ -60,7 +60,7 @@ export interface MarkReadPostRequestBody extends AdditionalDataHolder, BackedMod
6060
*/
6161
messageIds?: string[] | null;
6262
}
63-
export interface MarkReadPostResponse extends AdditionalDataHolder, BackedModel, Parsable {
63+
export interface MarkReadpostResponse extends AdditionalDataHolder, BackedModel, Parsable {
6464
/**
6565
* Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
6666
*/
@@ -82,11 +82,11 @@ export interface MarkReadRequestBuilder extends BaseRequestBuilder<MarkReadReque
8282
* Mark a list of serviceUpdateMessages as read for the signed in user.
8383
* @param body The request body
8484
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
85-
* @returns {Promise<MarkReadPostResponse>}
85+
* @returns {Promise<MarkReadpostResponse>}
8686
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
8787
* @see {@link https://learn.microsoft.com/graph/api/serviceupdatemessage-markread?view=graph-rest-1.0|Find more info here}
8888
*/
89-
post(body: MarkReadPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<MarkReadPostResponse | undefined>;
89+
post(body: MarkReadPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<MarkReadpostResponse | undefined>;
9090
/**
9191
* Mark a list of serviceUpdateMessages as read for the signed in user.
9292
* @param body The request body
@@ -111,10 +111,10 @@ export function serializeMarkReadPostRequestBody(writer: SerializationWriter, ma
111111
* @param writer Serialization writer to use to serialize this model
112112
*/
113113
// @ts-ignore
114-
export function serializeMarkReadPostResponse(writer: SerializationWriter, markReadPostResponse: Partial<MarkReadPostResponse> | undefined | null = {}) : void {
115-
if (markReadPostResponse) {
116-
writer.writeBooleanValue("value", markReadPostResponse.value);
117-
writer.writeAdditionalData(markReadPostResponse.additionalData);
114+
export function serializeMarkReadpostResponse(writer: SerializationWriter, markReadpostResponse: Partial<MarkReadpostResponse> | undefined | null = {}) : void {
115+
if (markReadpostResponse) {
116+
writer.writeBooleanValue("value", markReadpostResponse.value);
117+
writer.writeAdditionalData(markReadpostResponse.additionalData);
118118
}
119119
}
120120
/**
@@ -132,7 +132,7 @@ export const MarkReadRequestBuilderRequestsMetadata: RequestsMetadata = {
132132
XXX: createODataErrorFromDiscriminatorValue as ParsableFactory<Parsable>,
133133
},
134134
adapterMethodName: "send",
135-
responseBodyFactory: createMarkReadPostResponseFromDiscriminatorValue,
135+
responseBodyFactory: createMarkReadpostResponseFromDiscriminatorValue,
136136
requestBodyContentType: "application/json",
137137
requestBodySerializer: serializeMarkReadPostRequestBody,
138138
requestInformationContentSetMethod: "setContentFromParsable",

packages/msgraph-sdk-admin/admin/serviceAnnouncement/messages/markUnread/index.ts

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ export function createMarkUnreadPostRequestBodyFromDiscriminatorValue(parseNode:
1818
/**
1919
* Creates a new instance of the appropriate class based on discriminator value
2020
* @param parseNode The parse node to use to read the discriminator value and create the object
21-
* @returns {MarkUnreadPostResponse}
21+
* @returns {MarkUnreadpostResponse}
2222
*/
2323
// @ts-ignore
24-
export function createMarkUnreadPostResponseFromDiscriminatorValue(parseNode: ParseNode | undefined) : ((instance?: Parsable) => Record<string, (node: ParseNode) => void>) {
25-
return deserializeIntoMarkUnreadPostResponse;
24+
export function createMarkUnreadpostResponseFromDiscriminatorValue(parseNode: ParseNode | undefined) : ((instance?: Parsable) => Record<string, (node: ParseNode) => void>) {
25+
return deserializeIntoMarkUnreadpostResponse;
2626
}
2727
/**
2828
* The deserialization information for the current model
@@ -40,10 +40,10 @@ export function deserializeIntoMarkUnreadPostRequestBody(markUnreadPostRequestBo
4040
* @returns {Record<string, (node: ParseNode) => void>}
4141
*/
4242
// @ts-ignore
43-
export function deserializeIntoMarkUnreadPostResponse(markUnreadPostResponse: Partial<MarkUnreadPostResponse> | undefined = {}) : Record<string, (node: ParseNode) => void> {
43+
export function deserializeIntoMarkUnreadpostResponse(markUnreadpostResponse: Partial<MarkUnreadpostResponse> | undefined = {}) : Record<string, (node: ParseNode) => void> {
4444
return {
45-
"backingStoreEnabled": n => { markUnreadPostResponse.backingStoreEnabled = true; },
46-
"value": n => { markUnreadPostResponse.value = n.getBooleanValue(); },
45+
"backingStoreEnabled": n => { markUnreadpostResponse.backingStoreEnabled = true; },
46+
"value": n => { markUnreadpostResponse.value = n.getBooleanValue(); },
4747
}
4848
}
4949
export interface MarkUnreadPostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
@@ -60,7 +60,7 @@ export interface MarkUnreadPostRequestBody extends AdditionalDataHolder, BackedM
6060
*/
6161
messageIds?: string[] | null;
6262
}
63-
export interface MarkUnreadPostResponse extends AdditionalDataHolder, BackedModel, Parsable {
63+
export interface MarkUnreadpostResponse extends AdditionalDataHolder, BackedModel, Parsable {
6464
/**
6565
* Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
6666
*/
@@ -82,11 +82,11 @@ export interface MarkUnreadRequestBuilder extends BaseRequestBuilder<MarkUnreadR
8282
* Mark a list of serviceUpdateMessages as unread for the signed in user.
8383
* @param body The request body
8484
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
85-
* @returns {Promise<MarkUnreadPostResponse>}
85+
* @returns {Promise<MarkUnreadpostResponse>}
8686
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
8787
* @see {@link https://learn.microsoft.com/graph/api/serviceupdatemessage-markunread?view=graph-rest-1.0|Find more info here}
8888
*/
89-
post(body: MarkUnreadPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<MarkUnreadPostResponse | undefined>;
89+
post(body: MarkUnreadPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<MarkUnreadpostResponse | undefined>;
9090
/**
9191
* Mark a list of serviceUpdateMessages as unread for the signed in user.
9292
* @param body The request body
@@ -111,10 +111,10 @@ export function serializeMarkUnreadPostRequestBody(writer: SerializationWriter,
111111
* @param writer Serialization writer to use to serialize this model
112112
*/
113113
// @ts-ignore
114-
export function serializeMarkUnreadPostResponse(writer: SerializationWriter, markUnreadPostResponse: Partial<MarkUnreadPostResponse> | undefined | null = {}) : void {
115-
if (markUnreadPostResponse) {
116-
writer.writeBooleanValue("value", markUnreadPostResponse.value);
117-
writer.writeAdditionalData(markUnreadPostResponse.additionalData);
114+
export function serializeMarkUnreadpostResponse(writer: SerializationWriter, markUnreadpostResponse: Partial<MarkUnreadpostResponse> | undefined | null = {}) : void {
115+
if (markUnreadpostResponse) {
116+
writer.writeBooleanValue("value", markUnreadpostResponse.value);
117+
writer.writeAdditionalData(markUnreadpostResponse.additionalData);
118118
}
119119
}
120120
/**
@@ -132,7 +132,7 @@ export const MarkUnreadRequestBuilderRequestsMetadata: RequestsMetadata = {
132132
XXX: createODataErrorFromDiscriminatorValue as ParsableFactory<Parsable>,
133133
},
134134
adapterMethodName: "send",
135-
responseBodyFactory: createMarkUnreadPostResponseFromDiscriminatorValue,
135+
responseBodyFactory: createMarkUnreadpostResponseFromDiscriminatorValue,
136136
requestBodyContentType: "application/json",
137137
requestBodySerializer: serializeMarkUnreadPostRequestBody,
138138
requestInformationContentSetMethod: "setContentFromParsable",

0 commit comments

Comments
 (0)