Skip to content

Commit

Permalink
feat(generation): update request builders and models
Browse files Browse the repository at this point in the history
Update generated files with build 181216
  • Loading branch information
Microsoft Graph DevX Tooling authored and Microsoft Graph DevX Tooling committed Feb 25, 2025
1 parent 4d02bcc commit 0737f9f
Show file tree
Hide file tree
Showing 663 changed files with 2,901 additions and 2,784 deletions.
72 changes: 41 additions & 31 deletions packages/kiota-dom-export.txt

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/kiota-lock.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"descriptionHash": "91C39E725AD2906390795CBD6E50D64BB861CE9382FF3EA67F30384D5129D0D660768272F0784069F95BB8D2934C5423BD796A8221FCFEB798CE1596E95136C0",
"descriptionHash": "1C703FD52AAF2A2393C4648F790656EDBE35300BD6137A7BAC746134B7197E04C6B5B3D1D6A3DCC0262B9A6FF3D8511B746B97424AA52026FF9D57DAC6CD61F7",
"descriptionLocation": "../../msgraph-metadata/clean_beta_openapi/openapi.yaml",
"lockFileVersion": "1.0.0",
"kiotaVersion": "1.24.0",
Expand Down
16 changes: 8 additions & 8 deletions packages/msgraph-beta-sdk-admin/admin/exchange/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,27 +18,27 @@ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type
export interface ExchangeRequestBuilder extends BaseRequestBuilder<ExchangeRequestBuilder> {
/**
* Provides operations to manage the mailboxes property of the microsoft.graph.exchangeAdmin entity.
* @deprecated Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport
* @deprecated Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15
*/
get mailboxes(): MailboxesRequestBuilder;
/**
* Provides operations to manage the messageTraces property of the microsoft.graph.exchangeAdmin entity.
* @deprecated Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport
* @deprecated Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15
*/
get messageTraces(): MessageTracesRequestBuilder;
/**
* Delete navigation property exchange for admin
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @deprecated Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport
* @deprecated Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15
*/
delete(requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<void>;
/**
* A container for the Exchange admin functionality. Read-only.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<ExchangeAdmin>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @deprecated Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport
* @deprecated Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15
*/
get(requestConfiguration?: RequestConfiguration<ExchangeRequestBuilderGetQueryParameters> | undefined) : Promise<ExchangeAdmin | undefined>;
/**
Expand All @@ -47,29 +47,29 @@ export interface ExchangeRequestBuilder extends BaseRequestBuilder<ExchangeReque
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<ExchangeAdmin>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @deprecated Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport
* @deprecated Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15
*/
patch(body: ExchangeAdmin, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<ExchangeAdmin | undefined>;
/**
* Delete navigation property exchange for admin
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
* @deprecated Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport
* @deprecated Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15
*/
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
/**
* A container for the Exchange admin functionality. Read-only.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
* @deprecated Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport
* @deprecated Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<ExchangeRequestBuilderGetQueryParameters> | undefined) : RequestInformation;
/**
* Update the navigation property exchange in admin
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
* @deprecated Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport
* @deprecated Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15
*/
toPatchRequestInformation(body: ExchangeAdmin, requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ export interface CountRequestBuilder extends BaseRequestBuilder<CountRequestBuil
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<number>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @deprecated Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport
* @deprecated Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15
*/
get(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined) : Promise<number | undefined>;
/**
* Get the number of the resource
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
* @deprecated Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport
* @deprecated Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined) : RequestInformation;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,22 +18,22 @@ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type
export interface MailboxesRequestBuilder extends BaseRequestBuilder<MailboxesRequestBuilder> {
/**
* Provides operations to count the resources in the collection.
* @deprecated Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport
* @deprecated Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15
*/
get count(): CountRequestBuilder;
/**
* Provides operations to manage the mailboxes property of the microsoft.graph.exchangeAdmin entity.
* @param mailboxId The unique identifier of mailbox
* @returns {MailboxItemRequestBuilder}
* @deprecated Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport
* @deprecated Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15
*/
byMailboxId(mailboxId: string) : MailboxItemRequestBuilder;
/**
* Represents a user's mailboxes.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<MailboxCollectionResponse>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @deprecated Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport
* @deprecated Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15
*/
get(requestConfiguration?: RequestConfiguration<MailboxesRequestBuilderGetQueryParameters> | undefined) : Promise<MailboxCollectionResponse | undefined>;
/**
Expand All @@ -42,22 +42,22 @@ export interface MailboxesRequestBuilder extends BaseRequestBuilder<MailboxesReq
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<Mailbox>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @deprecated Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport
* @deprecated Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15
*/
post(body: Mailbox, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<Mailbox | undefined>;
/**
* Represents a user's mailboxes.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
* @deprecated Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport
* @deprecated Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<MailboxesRequestBuilderGetQueryParameters> | undefined) : RequestInformation;
/**
* Create new navigation property to mailboxes for admin
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
* @deprecated Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport
* @deprecated Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15
*/
toPostRequestInformation(body: Mailbox, requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ export interface CreateImportSessionRequestBuilder extends BaseRequestBuilder<Cr
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<MailboxItemImportSession>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @deprecated Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport
* @deprecated Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15
* @see {@link https://learn.microsoft.com/graph/api/mailbox-createimportsession?view=graph-rest-beta|Find more info here}
*/
post(requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<MailboxItemImportSession | undefined>;
/**
* Create a session to import an Exchange mailbox item using its FastTransfer stream (FTS) format.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
* @deprecated Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport
* @deprecated Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15
*/
toPostRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export interface ExportItemsRequestBuilder extends BaseRequestBuilder<ExportItem
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<ExportItemsPostResponse>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @deprecated Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport
* @deprecated Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2024-06-30
* @see {@link https://learn.microsoft.com/graph/api/mailbox-exportitems?view=graph-rest-beta|Find more info here}
*/
post(body: ExportItemsPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<ExportItemsPostResponse | undefined>;
Expand All @@ -87,7 +87,7 @@ export interface ExportItemsRequestBuilder extends BaseRequestBuilder<ExportItem
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
* @deprecated Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport
* @deprecated Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2024-06-30
*/
toPostRequestInformation(body: ExportItemsPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ export interface CountRequestBuilder extends BaseRequestBuilder<CountRequestBuil
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<number>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @deprecated Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport
* @deprecated Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15
*/
get(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined) : Promise<number | undefined>;
/**
* Get the number of the resource
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
* @deprecated Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport
* @deprecated Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined) : RequestInformation;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ export interface DeltaRequestBuilder extends BaseRequestBuilder<DeltaRequestBuil
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<DeltaGetResponse>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @deprecated Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport
* @deprecated Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15
* @see {@link https://learn.microsoft.com/graph/api/mailboxfolder-delta?view=graph-rest-beta|Find more info here}
*/
get(requestConfiguration?: RequestConfiguration<DeltaRequestBuilderGetQueryParameters> | undefined) : Promise<DeltaGetResponse | undefined>;
/**
* Get a set of mailboxFolder objects that have been added, deleted, or removed from the user's mailbox. A delta function call for folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the folders. This approach allows you to maintain and synchronize a local store of a user's mail folders without having to fetch all the folders of that mailbox from the server every time.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
* @deprecated Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport
* @deprecated Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<DeltaRequestBuilderGetQueryParameters> | undefined) : RequestInformation;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,35 +20,35 @@ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type
export interface FoldersRequestBuilder extends BaseRequestBuilder<FoldersRequestBuilder> {
/**
* Provides operations to count the resources in the collection.
* @deprecated Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport
* @deprecated Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15
*/
get count(): CountRequestBuilder;
/**
* Provides operations to call the delta method.
* @deprecated Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport
* @deprecated Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15
*/
get delta(): DeltaRequestBuilder;
/**
* Provides operations to manage the folders property of the microsoft.graph.mailbox entity.
* @param mailboxFolderId The unique identifier of mailboxFolder
* @returns {MailboxFolderItemRequestBuilder}
* @deprecated Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport
* @deprecated Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15
*/
byMailboxFolderId(mailboxFolderId: string) : MailboxFolderItemRequestBuilder;
/**
* Get all the mailboxFolder objects in the specified mailbox, including any search folders.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<MailboxFolderCollectionResponse>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @deprecated Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport
* @deprecated Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15
* @see {@link https://learn.microsoft.com/graph/api/mailbox-list-folders?view=graph-rest-beta|Find more info here}
*/
get(requestConfiguration?: RequestConfiguration<FoldersRequestBuilderGetQueryParameters> | undefined) : Promise<MailboxFolderCollectionResponse | undefined>;
/**
* Get all the mailboxFolder objects in the specified mailbox, including any search folders.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
* @deprecated Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport
* @deprecated Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<FoldersRequestBuilderGetQueryParameters> | undefined) : RequestInformation;
}
Expand Down
Loading

0 comments on commit 0737f9f

Please sign in to comment.