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,948 changes: 2,947 additions & 1 deletion packages/kiota-dom-export.txt

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions packages/kiota-lock.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"descriptionHash": "ACE1BB996CC5B8CE173F67DBAF087C0ACFDD78585E62364AF58D81744586869D8A0633E4D85195D2B473E2C73DF3728F6B6C31A8B780F88292971A23237505CB",
"descriptionHash": "0B3EAAEE8B9734E437B8094CE55AAE44546495629A6C083DDA92882B357859B1C08929304BB8ED6DA6BD3CA65E755961FAC2A8CB8673E83FC62AB66D735285B3",
"descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml",
"lockFileVersion": "1.0.0",
"kiotaVersion": "1.32.4",
"kiotaVersion": "1.34.1",
"clientClassName": "GraphBaseServiceClient",
"typeAccessModifier": "Public",
"clientNamespaceName": "github.com/microsoftgraph/msgraph-sdk-typescript/",
Expand Down Expand Up @@ -35,5 +35,6 @@
"/copilot",
"/copilot/**"
],
"disabledValidationRules": []
"disabledValidationRules": [],
"allowedExternalOrigins": []
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export interface DirectoryAuditsRequestBuilder extends BaseRequestBuilder<Direct
*/
byDirectoryAuditId(directoryAuditId: string) : DirectoryAuditItemRequestBuilder;
/**
* Get the list of audit logs generated by Microsoft Entra ID. This includes audit logs generated by various services within Microsoft Entra ID, including user, app, device and group Management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), and self- service group management, and so on.
* Get a list of directoryAudit objects representing the audit logs generated by Microsoft Entra ID. This includes audit logs generated by various services within Microsoft Entra ID, including user, app, device and group Management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), and self- service group management, and so on.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<DirectoryAuditCollectionResponse>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
Expand All @@ -43,7 +43,7 @@ export interface DirectoryAuditsRequestBuilder extends BaseRequestBuilder<Direct
*/
post(body: DirectoryAudit, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<DirectoryAudit | undefined>;
/**
* Get the list of audit logs generated by Microsoft Entra ID. This includes audit logs generated by various services within Microsoft Entra ID, including user, app, device and group Management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), and self- service group management, and so on.
* Get a list of directoryAudit objects representing the audit logs generated by Microsoft Entra ID. This includes audit logs generated by various services within Microsoft Entra ID, including user, app, device and group Management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), and self- service group management, and so on.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
Expand All @@ -57,7 +57,7 @@ export interface DirectoryAuditsRequestBuilder extends BaseRequestBuilder<Direct
toPostRequestInformation(body: DirectoryAudit, requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
}
/**
* Get the list of audit logs generated by Microsoft Entra ID. This includes audit logs generated by various services within Microsoft Entra ID, including user, app, device and group Management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), and self- service group management, and so on.
* Get a list of directoryAudit objects representing the audit logs generated by Microsoft Entra ID. This includes audit logs generated by various services within Microsoft Entra ID, including user, app, device and group Management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), and self- service group management, and so on.
*/
export interface DirectoryAuditsRequestBuilderGetQueryParameters {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export interface DirectoryAuditItemRequestBuilder extends BaseRequestBuilder<Dir
*/
delete(requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<void>;
/**
* Get a specific Microsoft Entra audit log item. This includes an audit log item generated by various services within Microsoft Entra ID like user, application, device and group management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), self-service group management, and so on.
* Get a specific directoryAudit item. This includes an audit log item generated by various services within Microsoft Entra ID like user, application, device and group management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), self-service group management, and so on.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<DirectoryAudit>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
Expand All @@ -41,7 +41,7 @@ export interface DirectoryAuditItemRequestBuilder extends BaseRequestBuilder<Dir
*/
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
/**
* Get a specific Microsoft Entra audit log item. This includes an audit log item generated by various services within Microsoft Entra ID like user, application, device and group management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), self-service group management, and so on.
* Get a specific directoryAudit item. This includes an audit log item generated by various services within Microsoft Entra ID like user, application, device and group management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), self-service group management, and so on.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
Expand All @@ -55,7 +55,7 @@ export interface DirectoryAuditItemRequestBuilder extends BaseRequestBuilder<Dir
toPatchRequestInformation(body: DirectoryAudit, requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
}
/**
* Get a specific Microsoft Entra audit log item. This includes an audit log item generated by various services within Microsoft Entra ID like user, application, device and group management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), self-service group management, and so on.
* Get a specific directoryAudit item. This includes an audit log item generated by various services within Microsoft Entra ID like user, application, device and group management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), self-service group management, and so on.
*/
export interface DirectoryAuditItemRequestBuilderGetQueryParameters {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export interface ProvisioningRequestBuilder extends BaseRequestBuilder<Provision
*/
byProvisioningObjectSummaryId(provisioningObjectSummaryId: string) : ProvisioningObjectSummaryItemRequestBuilder;
/**
* Get all provisioning events that occurred in your tenant, such as the deletion of a group in a target application or the creation of a user when provisioning user accounts from your HR system.
* Get all provisioningObjectSummary events that occurred in your tenant, such as the deletion of a group in a target application or the creation of a user when provisioning user accounts from your HR system.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<ProvisioningObjectSummaryCollectionResponse>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
Expand All @@ -43,7 +43,7 @@ export interface ProvisioningRequestBuilder extends BaseRequestBuilder<Provision
*/
post(body: ProvisioningObjectSummary, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<ProvisioningObjectSummary | undefined>;
/**
* Get all provisioning events that occurred in your tenant, such as the deletion of a group in a target application or the creation of a user when provisioning user accounts from your HR system.
* Get all provisioningObjectSummary events that occurred in your tenant, such as the deletion of a group in a target application or the creation of a user when provisioning user accounts from your HR system.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
Expand All @@ -57,7 +57,7 @@ export interface ProvisioningRequestBuilder extends BaseRequestBuilder<Provision
toPostRequestInformation(body: ProvisioningObjectSummary, requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
}
/**
* Get all provisioning events that occurred in your tenant, such as the deletion of a group in a target application or the creation of a user when provisioning user accounts from your HR system.
* Get all provisioningObjectSummary events that occurred in your tenant, such as the deletion of a group in a target application or the creation of a user when provisioning user accounts from your HR system.
*/
export interface ProvisioningRequestBuilderGetQueryParameters {
/**
Expand Down
10 changes: 10 additions & 0 deletions packages/msgraph-sdk-directory/directory/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ import { OnPremisesSynchronizationRequestBuilderNavigationMetadata, OnPremisesSy
// @ts-ignore
import { PublicKeyInfrastructureRequestBuilderNavigationMetadata, PublicKeyInfrastructureRequestBuilderRequestsMetadata, type PublicKeyInfrastructureRequestBuilder } from './publicKeyInfrastructure/index.js';
// @ts-ignore
import { RecoveryRequestBuilderNavigationMetadata, RecoveryRequestBuilderRequestsMetadata, type RecoveryRequestBuilder } from './recovery/index.js';
// @ts-ignore
import { SubscriptionsRequestBuilderNavigationMetadata, SubscriptionsRequestBuilderRequestsMetadata, type SubscriptionsRequestBuilder } from './subscriptions/index.js';
// @ts-ignore
import { SubscriptionsWithCommerceSubscriptionIdRequestBuilderRequestsMetadata, type SubscriptionsWithCommerceSubscriptionIdRequestBuilder } from './subscriptionsWithCommerceSubscriptionId/index.js';
Expand Down Expand Up @@ -64,6 +66,10 @@ export interface DirectoryRequestBuilder extends BaseRequestBuilder<DirectoryReq
* Provides operations to manage the publicKeyInfrastructure property of the microsoft.graph.directory entity.
*/
get publicKeyInfrastructure(): PublicKeyInfrastructureRequestBuilder;
/**
* Provides operations to manage the recovery property of the microsoft.graph.directory entity.
*/
get recovery(): RecoveryRequestBuilder;
/**
* Provides operations to manage the subscriptions property of the microsoft.graph.directory entity.
*/
Expand Down Expand Up @@ -167,6 +173,10 @@ export const DirectoryRequestBuilderNavigationMetadata: Record<Exclude<keyof Dir
requestsMetadata: PublicKeyInfrastructureRequestBuilderRequestsMetadata,
navigationMetadata: PublicKeyInfrastructureRequestBuilderNavigationMetadata,
},
recovery: {
requestsMetadata: RecoveryRequestBuilderRequestsMetadata,
navigationMetadata: RecoveryRequestBuilderNavigationMetadata,
},
subscriptions: {
requestsMetadata: SubscriptionsRequestBuilderRequestsMetadata,
navigationMetadata: SubscriptionsRequestBuilderNavigationMetadata,
Expand Down
141 changes: 141 additions & 0 deletions packages/msgraph-sdk-directory/directory/recovery/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,141 @@
/* tslint:disable */
/* eslint-disable */
// Generated by Microsoft Kiota
// @ts-ignore
import { createRecoveryFromDiscriminatorValue, serializeRecovery, type Recovery } from '@microsoft/msgraph-sdk/models/entraRecoveryServices/index.js';
// @ts-ignore
import { createODataErrorFromDiscriminatorValue, type ODataError } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
// @ts-ignore
import { JobsRequestBuilderNavigationMetadata, JobsRequestBuilderRequestsMetadata, type JobsRequestBuilder } from './jobs/index.js';
// @ts-ignore
import { SnapshotsRequestBuilderNavigationMetadata, SnapshotsRequestBuilderRequestsMetadata, type SnapshotsRequestBuilder } from './snapshots/index.js';
// @ts-ignore
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type Parsable, type ParsableFactory, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';

/**
* Provides operations to manage the recovery property of the microsoft.graph.directory entity.
*/
export interface RecoveryRequestBuilder extends BaseRequestBuilder<RecoveryRequestBuilder> {
/**
* Provides operations to manage the jobs property of the microsoft.graph.entraRecoveryServices.recovery entity.
*/
get jobs(): JobsRequestBuilder;
/**
* Provides operations to manage the snapshots property of the microsoft.graph.entraRecoveryServices.recovery entity.
*/
get snapshots(): SnapshotsRequestBuilder;
/**
* Delete navigation property recovery for directory
* @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
*/
delete(requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<void>;
/**
* Get recovery from directory
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<Recovery>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
get(requestConfiguration?: RequestConfiguration<RecoveryRequestBuilderGetQueryParameters> | undefined) : Promise<Recovery | undefined>;
/**
* Update the navigation property recovery in directory
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<Recovery>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
patch(body: Recovery, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<Recovery | undefined>;
/**
* Delete navigation property recovery for directory
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
/**
* Get recovery from directory
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<RecoveryRequestBuilderGetQueryParameters> | undefined) : RequestInformation;
/**
* Update the navigation property recovery in directory
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toPatchRequestInformation(body: Recovery, requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
}
/**
* Get recovery from directory
*/
export interface RecoveryRequestBuilderGetQueryParameters {
/**
* Expand related entities
*/
expand?: string[];
/**
* Select properties to be returned
*/
select?: string[];
}
/**
* Uri template for the request builder.
*/
export const RecoveryRequestBuilderUriTemplate = "{+baseurl}/directory/recovery{?%24expand,%24select}";
/**
* Mapper for query parameters from symbol name to serialization name represented as a constant.
*/
const RecoveryRequestBuilderGetQueryParametersMapper: Record<string, string> = {
"expand": "%24expand",
"select": "%24select",
};
/**
* Metadata for all the navigation properties in the request builder.
*/
export const RecoveryRequestBuilderNavigationMetadata: Record<Exclude<keyof RecoveryRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata> = {
jobs: {
requestsMetadata: JobsRequestBuilderRequestsMetadata,
navigationMetadata: JobsRequestBuilderNavigationMetadata,
},
snapshots: {
requestsMetadata: SnapshotsRequestBuilderRequestsMetadata,
navigationMetadata: SnapshotsRequestBuilderNavigationMetadata,
},
};
/**
* Metadata for all the requests in the request builder.
*/
export const RecoveryRequestBuilderRequestsMetadata: RequestsMetadata = {
delete: {
uriTemplate: RecoveryRequestBuilderUriTemplate,
responseBodyContentType: "application/json",
errorMappings: {
XXX: createODataErrorFromDiscriminatorValue as ParsableFactory<Parsable>,
},
adapterMethodName: "sendNoResponseContent",
},
get: {
uriTemplate: RecoveryRequestBuilderUriTemplate,
responseBodyContentType: "application/json",
errorMappings: {
XXX: createODataErrorFromDiscriminatorValue as ParsableFactory<Parsable>,
},
adapterMethodName: "send",
responseBodyFactory: createRecoveryFromDiscriminatorValue,
queryParametersMapper: RecoveryRequestBuilderGetQueryParametersMapper,
},
patch: {
uriTemplate: RecoveryRequestBuilderUriTemplate,
responseBodyContentType: "application/json",
errorMappings: {
XXX: createODataErrorFromDiscriminatorValue as ParsableFactory<Parsable>,
},
adapterMethodName: "send",
responseBodyFactory: createRecoveryFromDiscriminatorValue,
requestBodyContentType: "application/json",
requestBodySerializer: serializeRecovery,
requestInformationContentSetMethod: "setContentFromParsable",
},
};
/* tslint:enable */
/* eslint-enable */
Loading
Loading