Skip to content

Commit 7ee2dd4

Browse files
Merge pull request #1014 from microsoftgraph/v1.0/pipelinebuild/225467
Generated models and request builders
2 parents d14cd0b + d2ffee1 commit 7ee2dd4

489 files changed

Lines changed: 17096 additions & 1343 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.

‎package-lock.json‎

Lines changed: 107 additions & 107 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎packages/kiota-dom-export.txt‎

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

‎packages/kiota-lock.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"descriptionHash": "48D4568E795524402BA925BE4278BDF4BE0E64BE4060901024C3C949958FDD2992656314200D8B82B6E6406BD2E032C187F3FA9E0C48D513C527F1942ABA66F1",
2+
"descriptionHash": "ACE1BB996CC5B8CE173F67DBAF087C0ACFDD78585E62364AF58D81744586869D8A0633E4D85195D2B473E2C73DF3728F6B6C31A8B780F88292971A23237505CB",
33
"descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml",
44
"lockFileVersion": "1.0.0",
5-
"kiotaVersion": "1.31.1",
5+
"kiotaVersion": "1.32.4",
66
"clientClassName": "GraphBaseServiceClient",
77
"typeAccessModifier": "Public",
88
"clientNamespaceName": "github.com/microsoftgraph/msgraph-sdk-typescript/",

‎packages/msgraph-sdk-admin/admin/exchange/mailboxes/item/exportItems/index.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export function createExportItemsPostResponseFromDiscriminatorValue(parseNode: P
3535
export function deserializeIntoExportItemsPostRequestBody(exportItemsPostRequestBody: Partial<ExportItemsPostRequestBody> | undefined = {}) : Record<string, (node: ParseNode) => void> {
3636
return {
3737
"backingStoreEnabled": n => { exportItemsPostRequestBody.backingStoreEnabled = true; },
38-
"ItemIds": n => { exportItemsPostRequestBody.itemIds = n.getCollectionOfPrimitiveValues<string>(); },
38+
"ItemIds": n => { exportItemsPostRequestBody.itemIds = n.getCollectionOfPrimitiveValues<string>("string"); },
3939
}
4040
}
4141
/**

‎packages/msgraph-sdk-admin/admin/serviceAnnouncement/healthOverviews/item/issues/item/incidentReport/index.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ import { type BaseRequestBuilder, type Parsable, type ParsableFactory, type Requ
1111
*/
1212
export interface IncidentReportRequestBuilder extends BaseRequestBuilder<IncidentReportRequestBuilder> {
1313
/**
14-
* Provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document does not exist for the issue.
14+
* Provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document doesn't exist for the issue.
1515
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
1616
* @returns {Promise<ArrayBuffer>}
1717
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
1818
* @see {@link https://learn.microsoft.com/graph/api/servicehealthissue-incidentreport?view=graph-rest-1.0|Find more info here}
1919
*/
2020
get(requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<ArrayBuffer | undefined>;
2121
/**
22-
* Provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document does not exist for the issue.
22+
* Provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document doesn't exist for the issue.
2323
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
2424
* @returns {RequestInformation}
2525
*/

‎packages/msgraph-sdk-admin/admin/serviceAnnouncement/issues/item/incidentReport/index.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ import { type BaseRequestBuilder, type Parsable, type ParsableFactory, type Requ
1111
*/
1212
export interface IncidentReportRequestBuilder extends BaseRequestBuilder<IncidentReportRequestBuilder> {
1313
/**
14-
* Provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document does not exist for the issue.
14+
* Provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document doesn't exist for the issue.
1515
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
1616
* @returns {Promise<ArrayBuffer>}
1717
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
1818
* @see {@link https://learn.microsoft.com/graph/api/servicehealthissue-incidentreport?view=graph-rest-1.0|Find more info here}
1919
*/
2020
get(requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<ArrayBuffer | undefined>;
2121
/**
22-
* Provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document does not exist for the issue.
22+
* Provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document doesn't exist for the issue.
2323
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
2424
* @returns {RequestInformation}
2525
*/

‎packages/msgraph-sdk-admin/admin/serviceAnnouncement/issues/item/index.ts‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export interface ServiceHealthIssueItemRequestBuilder extends BaseRequestBuilder
2525
*/
2626
delete(requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<void>;
2727
/**
28-
* Retrieve the properties and relationships of a serviceHealthIssue object. This operation retrieves a specified service health issue for tenant. The operation returns an error if the issue does not exist for the tenant.
28+
* Retrieve the properties and relationships of a serviceHealthIssue object. This operation retrieves a specified service health issue for tenant. The operation returns an error if the issue doesn't exist for the tenant.
2929
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
3030
* @returns {Promise<ServiceHealthIssue>}
3131
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
@@ -47,7 +47,7 @@ export interface ServiceHealthIssueItemRequestBuilder extends BaseRequestBuilder
4747
*/
4848
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
4949
/**
50-
* Retrieve the properties and relationships of a serviceHealthIssue object. This operation retrieves a specified service health issue for tenant. The operation returns an error if the issue does not exist for the tenant.
50+
* Retrieve the properties and relationships of a serviceHealthIssue object. This operation retrieves a specified service health issue for tenant. The operation returns an error if the issue doesn't exist for the tenant.
5151
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
5252
* @returns {RequestInformation}
5353
*/
@@ -61,7 +61,7 @@ export interface ServiceHealthIssueItemRequestBuilder extends BaseRequestBuilder
6161
toPatchRequestInformation(body: ServiceHealthIssue, requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
6262
}
6363
/**
64-
* Retrieve the properties and relationships of a serviceHealthIssue object. This operation retrieves a specified service health issue for tenant. The operation returns an error if the issue does not exist for the tenant.
64+
* Retrieve the properties and relationships of a serviceHealthIssue object. This operation retrieves a specified service health issue for tenant. The operation returns an error if the issue doesn't exist for the tenant.
6565
*/
6666
export interface ServiceHealthIssueItemRequestBuilderGetQueryParameters {
6767
/**

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export function createArchivePostResponseFromDiscriminatorValue(parseNode: Parse
7474
export function deserializeIntoArchivePostRequestBody(archivePostRequestBody: Partial<ArchivePostRequestBody> | undefined = {}) : Record<string, (node: ParseNode) => void> {
7575
return {
7676
"backingStoreEnabled": n => { archivePostRequestBody.backingStoreEnabled = true; },
77-
"messageIds": n => { archivePostRequestBody.messageIds = n.getCollectionOfPrimitiveValues<string>(); },
77+
"messageIds": n => { archivePostRequestBody.messageIds = n.getCollectionOfPrimitiveValues<string>("string"); },
7878
}
7979
}
8080
/**
@@ -86,7 +86,7 @@ export function deserializeIntoArchivePostRequestBody(archivePostRequestBody: Pa
8686
export function deserializeIntoArchivePostResponse(archivePostResponse: Partial<ArchivePostResponse> | undefined = {}) : Record<string, (node: ParseNode) => void> {
8787
return {
8888
"backingStoreEnabled": n => { archivePostResponse.backingStoreEnabled = true; },
89-
"value": n => { archivePostResponse.value = n.getBooleanValue(); },
89+
"value": n => { archivePostResponse.value = n.getBooleanValue() ?? false; },
9090
}
9191
}
9292
/**
@@ -110,7 +110,7 @@ export function serializeArchivePostRequestBody(writer: SerializationWriter, arc
110110
// @ts-ignore
111111
export function serializeArchivePostResponse(writer: SerializationWriter, archivePostResponse: Partial<ArchivePostResponse> | undefined | null = {}, isSerializingDerivedType: boolean = false) : void {
112112
if (!archivePostResponse || isSerializingDerivedType) { return; }
113-
writer.writeBooleanValue("value", archivePostResponse.value);
113+
writer.writeBooleanValue("value", archivePostResponse.value ?? false);
114114
writer.writeAdditionalData(archivePostResponse.additionalData);
115115
}
116116
/**

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export function createFavoritePostResponseFromDiscriminatorValue(parseNode: Pars
3333
export function deserializeIntoFavoritePostRequestBody(favoritePostRequestBody: Partial<FavoritePostRequestBody> | undefined = {}) : Record<string, (node: ParseNode) => void> {
3434
return {
3535
"backingStoreEnabled": n => { favoritePostRequestBody.backingStoreEnabled = true; },
36-
"messageIds": n => { favoritePostRequestBody.messageIds = n.getCollectionOfPrimitiveValues<string>(); },
36+
"messageIds": n => { favoritePostRequestBody.messageIds = n.getCollectionOfPrimitiveValues<string>("string"); },
3737
}
3838
}
3939
/**
@@ -45,7 +45,7 @@ export function deserializeIntoFavoritePostRequestBody(favoritePostRequestBody:
4545
export function deserializeIntoFavoritePostResponse(favoritePostResponse: Partial<FavoritePostResponse> | undefined = {}) : Record<string, (node: ParseNode) => void> {
4646
return {
4747
"backingStoreEnabled": n => { favoritePostResponse.backingStoreEnabled = true; },
48-
"value": n => { favoritePostResponse.value = n.getBooleanValue(); },
48+
"value": n => { favoritePostResponse.value = n.getBooleanValue() ?? false; },
4949
}
5050
}
5151
export interface FavoritePostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
@@ -110,7 +110,7 @@ export function serializeFavoritePostRequestBody(writer: SerializationWriter, fa
110110
// @ts-ignore
111111
export function serializeFavoritePostResponse(writer: SerializationWriter, favoritePostResponse: Partial<FavoritePostResponse> | undefined | null = {}, isSerializingDerivedType: boolean = false) : void {
112112
if (!favoritePostResponse || isSerializingDerivedType) { return; }
113-
writer.writeBooleanValue("value", favoritePostResponse.value);
113+
writer.writeBooleanValue("value", favoritePostResponse.value ?? false);
114114
writer.writeAdditionalData(favoritePostResponse.additionalData);
115115
}
116116
/**

‎packages/msgraph-sdk-admin/admin/serviceAnnouncement/messages/item/index.ts‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export interface ServiceUpdateMessageItemRequestBuilder extends BaseRequestBuild
3131
*/
3232
delete(requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<void>;
3333
/**
34-
* Retrieve the properties and relationships of a serviceUpdateMessage object. This operation retrieves a specified service update message for the tenant. The operation returns an error if the message does not exist for the tenant.
34+
* Retrieve the properties and relationships of a serviceUpdateMessage object. This operation retrieves a specified service update message for the tenant. The operation returns an error if the message doesn't exist for the tenant.
3535
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
3636
* @returns {Promise<ServiceUpdateMessage>}
3737
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
@@ -53,7 +53,7 @@ export interface ServiceUpdateMessageItemRequestBuilder extends BaseRequestBuild
5353
*/
5454
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
5555
/**
56-
* Retrieve the properties and relationships of a serviceUpdateMessage object. This operation retrieves a specified service update message for the tenant. The operation returns an error if the message does not exist for the tenant.
56+
* Retrieve the properties and relationships of a serviceUpdateMessage object. This operation retrieves a specified service update message for the tenant. The operation returns an error if the message doesn't exist for the tenant.
5757
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
5858
* @returns {RequestInformation}
5959
*/
@@ -67,7 +67,7 @@ export interface ServiceUpdateMessageItemRequestBuilder extends BaseRequestBuild
6767
toPatchRequestInformation(body: ServiceUpdateMessage, requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
6868
}
6969
/**
70-
* Retrieve the properties and relationships of a serviceUpdateMessage object. This operation retrieves a specified service update message for the tenant. The operation returns an error if the message does not exist for the tenant.
70+
* Retrieve the properties and relationships of a serviceUpdateMessage object. This operation retrieves a specified service update message for the tenant. The operation returns an error if the message doesn't exist for the tenant.
7171
*/
7272
export interface ServiceUpdateMessageItemRequestBuilderGetQueryParameters {
7373
/**

0 commit comments

Comments
 (0)