Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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": "793F8F6E51013A63CC9E20C4818887CD9F1D782041A82141E4EEB98ABD3B7511D9F7DDA5A504B6CDAC464DD651895A78DDF749C03845E28D132B001A09D600AD",
"descriptionHash": "1670D24DA492A8638DCFD4D6A3F4DB6C1C5080E81D9CFFAC2C8DC3E4CD988231631FC1E9DE0F2791AFD2BA752B720A34CA094B42F880EE0C05E917D532372898",
"descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml",
"lockFileVersion": "1.0.0",
"kiotaVersion": "1.34.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export interface TargetedMessagesRequestBuilder extends BaseRequestBuilder<Targe
*/
byTargetedChatMessageId(targetedChatMessageId: string) : TargetedChatMessageItemRequestBuilder;
/**
* Get targetedMessages from chats
* A collection of targeted messages in the chat that are visible only to specific users. Nullable. You can't expand this relationship using $expand. Targeted messages can also be retrieved via the userTeamwork: getAllTargetedMessages API.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<TargetedChatMessageCollectionResponse>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
Expand All @@ -42,7 +42,7 @@ export interface TargetedMessagesRequestBuilder extends BaseRequestBuilder<Targe
*/
post(body: TargetedChatMessage, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<TargetedChatMessage | undefined>;
/**
* Get targetedMessages from chats
* A collection of targeted messages in the chat that are visible only to specific users. Nullable. You can't expand this relationship using $expand. Targeted messages can also be retrieved via the userTeamwork: getAllTargetedMessages API.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
Expand All @@ -56,7 +56,7 @@ export interface TargetedMessagesRequestBuilder extends BaseRequestBuilder<Targe
toPostRequestInformation(body: TargetedChatMessage, requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
}
/**
* Get targetedMessages from chats
* A collection of targeted messages in the chat that are visible only to specific users. Nullable. You can't expand this relationship using $expand. Targeted messages can also be retrieved via the userTeamwork: getAllTargetedMessages API.
*/
export interface TargetedMessagesRequestBuilderGetQueryParameters {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export interface TargetedChatMessageItemRequestBuilder extends BaseRequestBuilde
*/
delete(requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<void>;
/**
* Get targetedMessages from chats
* A collection of targeted messages in the chat that are visible only to specific users. Nullable. You can't expand this relationship using $expand. Targeted messages can also be retrieved via the userTeamwork: getAllTargetedMessages API.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<TargetedChatMessage>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
Expand All @@ -52,7 +52,7 @@ export interface TargetedChatMessageItemRequestBuilder extends BaseRequestBuilde
*/
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
/**
* Get targetedMessages from chats
* A collection of targeted messages in the chat that are visible only to specific users. Nullable. You can't expand this relationship using $expand. Targeted messages can also be retrieved via the userTeamwork: getAllTargetedMessages API.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
Expand All @@ -66,7 +66,7 @@ export interface TargetedChatMessageItemRequestBuilder extends BaseRequestBuilde
toPatchRequestInformation(body: TargetedChatMessage, requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
}
/**
* Get targetedMessages from chats
* A collection of targeted messages in the chat that are visible only to specific users. Nullable. You can't expand this relationship using $expand. Targeted messages can also be retrieved via the userTeamwork: getAllTargetedMessages API.
*/
export interface TargetedChatMessageItemRequestBuilderGetQueryParameters {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,11 @@ export interface JobsRequestBuilder extends BaseRequestBuilder<JobsRequestBuilde
*/
byRecoveryJobBaseId(recoveryJobBaseId: string) : RecoveryJobBaseItemRequestBuilder;
/**
* Get jobs from directory
* Get a list of all recovery recoveryJobBase objects (both preview and recovery jobs) across all snapshots for the tenant.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<RecoveryJobBaseCollectionResponse>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/entrarecoveryservices-recovery-list-jobs?view=graph-rest-1.0|Find more info here}
*/
get(requestConfiguration?: RequestConfiguration<JobsRequestBuilderGetQueryParameters> | undefined) : Promise<RecoveryJobBaseCollectionResponse | undefined>;
/**
Expand All @@ -42,7 +43,7 @@ export interface JobsRequestBuilder extends BaseRequestBuilder<JobsRequestBuilde
*/
post(body: RecoveryJobBase, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<RecoveryJobBase | undefined>;
/**
* Get jobs from directory
* Get a list of all recovery recoveryJobBase objects (both preview and recovery jobs) across all snapshots for the tenant.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
Expand All @@ -56,7 +57,7 @@ export interface JobsRequestBuilder extends BaseRequestBuilder<JobsRequestBuilde
toPostRequestInformation(body: RecoveryJobBase, requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
}
/**
* Get jobs from directory
* Get a list of all recovery recoveryJobBase objects (both preview and recovery jobs) across all snapshots for the tenant.
*/
export interface JobsRequestBuilderGetQueryParameters {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export interface RecoveryJobBaseItemRequestBuilder extends BaseRequestBuilder<Re
*/
delete(requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<void>;
/**
* Get jobs from directory
* Collection of all recovery jobs (both preview and recovery) for the tenant.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<RecoveryJobBase>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
Expand All @@ -46,7 +46,7 @@ export interface RecoveryJobBaseItemRequestBuilder extends BaseRequestBuilder<Re
*/
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
/**
* Get jobs from directory
* Collection of all recovery jobs (both preview and recovery) for the tenant.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
Expand All @@ -60,7 +60,7 @@ export interface RecoveryJobBaseItemRequestBuilder extends BaseRequestBuilder<Re
toPatchRequestInformation(body: RecoveryJobBase, requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
}
/**
* Get jobs from directory
* Collection of all recovery jobs (both preview and recovery) for the tenant.
*/
export interface RecoveryJobBaseItemRequestBuilderGetQueryParameters {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,11 @@ export interface SnapshotsRequestBuilder extends BaseRequestBuilder<SnapshotsReq
*/
bySnapshotId(snapshotId: string) : SnapshotItemRequestBuilder;
/**
* Get snapshots from directory
* Get a list of available backup snapshot objects for the tenant. Snapshots represent points in time to which the tenant can be restored.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<SnapshotCollectionResponse>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/entrarecoveryservices-recovery-list-snapshots?view=graph-rest-1.0|Find more info here}
*/
get(requestConfiguration?: RequestConfiguration<SnapshotsRequestBuilderGetQueryParameters> | undefined) : Promise<SnapshotCollectionResponse | undefined>;
/**
Expand All @@ -42,7 +43,7 @@ export interface SnapshotsRequestBuilder extends BaseRequestBuilder<SnapshotsReq
*/
post(body: Snapshot, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<Snapshot | undefined>;
/**
* Get snapshots from directory
* Get a list of available backup snapshot objects for the tenant. Snapshots represent points in time to which the tenant can be restored.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
Expand All @@ -56,7 +57,7 @@ export interface SnapshotsRequestBuilder extends BaseRequestBuilder<SnapshotsReq
toPostRequestInformation(body: Snapshot, requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
}
/**
* Get snapshots from directory
* Get a list of available backup snapshot objects for the tenant. Snapshots represent points in time to which the tenant can be restored.
*/
export interface SnapshotsRequestBuilderGetQueryParameters {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export interface SnapshotItemRequestBuilder extends BaseRequestBuilder<SnapshotI
*/
delete(requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<void>;
/**
* Get snapshots from directory
* Collection of backup snapshots available for the tenant.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<Snapshot>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
Expand All @@ -52,7 +52,7 @@ export interface SnapshotItemRequestBuilder extends BaseRequestBuilder<SnapshotI
*/
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
/**
* Get snapshots from directory
* Collection of backup snapshots available for the tenant.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
Expand All @@ -66,7 +66,7 @@ export interface SnapshotItemRequestBuilder extends BaseRequestBuilder<SnapshotI
toPatchRequestInformation(body: Snapshot, requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
}
/**
* Get snapshots from directory
* Collection of backup snapshots available for the tenant.
*/
export interface SnapshotItemRequestBuilderGetQueryParameters {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,21 +27,21 @@ export interface RecoveryJobsRequestBuilder extends BaseRequestBuilder<RecoveryJ
*/
byRecoveryJobId(recoveryJobId: string) : RecoveryJobItemRequestBuilder;
/**
* Get recoveryJobs from directory
* Collection of recovery jobs created for this snapshot.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<RecoveryJobCollectionResponse>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
get(requestConfiguration?: RequestConfiguration<RecoveryJobsRequestBuilderGetQueryParameters> | undefined) : Promise<RecoveryJobCollectionResponse | undefined>;
/**
* Get recoveryJobs from directory
* Collection of recovery jobs created for this snapshot.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<RecoveryJobsRequestBuilderGetQueryParameters> | undefined) : RequestInformation;
}
/**
* Get recoveryJobs from directory
* Collection of recovery jobs created for this snapshot.
*/
export interface RecoveryJobsRequestBuilderGetQueryParameters {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,21 @@ import { type BaseRequestBuilder, type Parsable, type ParsableFactory, type Requ
*/
export interface RecoveryJobItemRequestBuilder extends BaseRequestBuilder<RecoveryJobItemRequestBuilder> {
/**
* Get recoveryJobs from directory
* Collection of recovery jobs created for this snapshot.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<RecoveryJob>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
get(requestConfiguration?: RequestConfiguration<RecoveryJobItemRequestBuilderGetQueryParameters> | undefined) : Promise<RecoveryJob | undefined>;
/**
* Get recoveryJobs from directory
* Collection of recovery jobs created for this snapshot.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<RecoveryJobItemRequestBuilderGetQueryParameters> | undefined) : RequestInformation;
}
/**
* Get recoveryJobs from directory
* Collection of recovery jobs created for this snapshot.
*/
export interface RecoveryJobItemRequestBuilderGetQueryParameters {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,21 +27,21 @@ export interface RecoveryPreviewJobsRequestBuilder extends BaseRequestBuilder<Re
*/
byRecoveryPreviewJobId(recoveryPreviewJobId: string) : RecoveryPreviewJobItemRequestBuilder;
/**
* Get recoveryPreviewJobs from directory
* Collection of preview jobs created for this snapshot.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<RecoveryPreviewJobCollectionResponse>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
get(requestConfiguration?: RequestConfiguration<RecoveryPreviewJobsRequestBuilderGetQueryParameters> | undefined) : Promise<RecoveryPreviewJobCollectionResponse | undefined>;
/**
* Get recoveryPreviewJobs from directory
* Collection of preview jobs created for this snapshot.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<RecoveryPreviewJobsRequestBuilderGetQueryParameters> | undefined) : RequestInformation;
}
/**
* Get recoveryPreviewJobs from directory
* Collection of preview jobs created for this snapshot.
*/
export interface RecoveryPreviewJobsRequestBuilderGetQueryParameters {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,21 @@ import { type BaseRequestBuilder, type Parsable, type ParsableFactory, type Requ
*/
export interface RecoveryPreviewJobItemRequestBuilder extends BaseRequestBuilder<RecoveryPreviewJobItemRequestBuilder> {
/**
* Get recoveryPreviewJobs from directory
* Collection of preview jobs created for this snapshot.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<RecoveryPreviewJob>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
get(requestConfiguration?: RequestConfiguration<RecoveryPreviewJobItemRequestBuilderGetQueryParameters> | undefined) : Promise<RecoveryPreviewJob | undefined>;
/**
* Get recoveryPreviewJobs from directory
* Collection of preview jobs created for this snapshot.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<RecoveryPreviewJobItemRequestBuilderGetQueryParameters> | undefined) : RequestInformation;
}
/**
* Get recoveryPreviewJobs from directory
* Collection of preview jobs created for this snapshot.
*/
export interface RecoveryPreviewJobItemRequestBuilderGetQueryParameters {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,15 @@ export interface AssignSensitivityLabelPostRequestBody extends AdditionalDataHol
*/
export interface AssignSensitivityLabelRequestBuilder extends BaseRequestBuilder<AssignSensitivityLabelRequestBuilder> {
/**
* Invoke action assignSensitivityLabel
* Asynchronously assign a sensitivity label to a driveItem. This API is part of the Microsoft SharePoint and OneDrive APIs that perform advanced premium administrative functions, and is considered as protected. Protected APIs require you to have more validations, beyond permission and consent, before you can use them. For more information about sensitivity labels from an administrator's perspective, see Enable sensitivity labels for Office files in SharePoint and OneDrive. This API applies sensitivity labels to files at rest. Office clients don't apply watermarks, headers, or footers to files that contain the label information. For more information about sensitivity labels from an administrator's perspective, see Enable sensitivity labels for Office files in SharePoint and OneDrive.
* @param body The request body
* @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
* @see {@link https://learn.microsoft.com/graph/api/driveitem-assignsensitivitylabel?view=graph-rest-1.0|Find more info here}
*/
post(body: AssignSensitivityLabelPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<void>;
/**
* Invoke action assignSensitivityLabel
* Asynchronously assign a sensitivity label to a driveItem. This API is part of the Microsoft SharePoint and OneDrive APIs that perform advanced premium administrative functions, and is considered as protected. Protected APIs require you to have more validations, beyond permission and consent, before you can use them. For more information about sensitivity labels from an administrator's perspective, see Enable sensitivity labels for Office files in SharePoint and OneDrive. This API applies sensitivity labels to files at rest. Office clients don't apply watermarks, headers, or footers to files that contain the label information. For more information about sensitivity labels from an administrator's perspective, see Enable sensitivity labels for Office files in SharePoint and OneDrive.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
Expand Down
Loading
Loading