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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7,415 changes: 7,303 additions & 112 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": "FCB69AE6AE6CB1838B3866243DF8255F2D1FC69A1445C5671ACA8A3A1965B0748B43FB6D5FFCF23AC4B134F27F4FC69410D0EA484CC2128D8B7C9019E6650B38",
"descriptionHash": "D869905336258215D763BC9ABF0010544F61DFEE6A3A754653848AE49404CBA67DD36B80D958A47541E754E7165E1788250B0B7145D0CD43E9FC528070331438",
"descriptionLocation": "../../msgraph-metadata/clean_beta_openapi/openapi.yaml",
"lockFileVersion": "1.0.0",
"kiotaVersion": "1.30.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/* eslint-disable */
// Generated by Microsoft Kiota
// @ts-ignore
import { createApplicationFromDiscriminatorValue, deserializeIntoBaseDeltaFunctionResponse, serializeApplication, serializeBaseDeltaFunctionResponse, type Application, type BaseDeltaFunctionResponse } from '@microsoft/msgraph-beta-sdk/models/index.js';
import { createDirectoryObjectFromDiscriminatorValue, deserializeIntoBaseDeltaFunctionResponse, serializeBaseDeltaFunctionResponse, serializeDirectoryObject, type BaseDeltaFunctionResponse, type DirectoryObject } from '@microsoft/msgraph-beta-sdk/models/index.js';
// @ts-ignore
import { createODataErrorFromDiscriminatorValue, type ODataError } from '@microsoft/msgraph-beta-sdk/models/oDataErrors/index.js';
// @ts-ignore
Expand All @@ -21,29 +21,29 @@ export interface DeltaGetResponse extends BaseDeltaFunctionResponse, Parsable {
/**
* The value property
*/
value?: Application[] | null;
value?: DirectoryObject[] | null;
}
/**
* Provides operations to call the delta method.
*/
export interface DeltaRequestBuilder extends BaseRequestBuilder<DeltaRequestBuilder> {
/**
* Get newly created, updated, or deleted applications and agent identity blueprints without having to perform a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details.
* Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details.
* @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
* @see {@link https://learn.microsoft.com/graph/api/application-delta?view=graph-rest-beta|Find more info here}
* @see {@link https://learn.microsoft.com/graph/api/directoryobject-delta?view=graph-rest-beta|Find more info here}
*/
get(requestConfiguration?: RequestConfiguration<DeltaRequestBuilderGetQueryParameters> | undefined) : Promise<DeltaGetResponse | undefined>;
/**
* Get newly created, updated, or deleted applications and agent identity blueprints without having to perform a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details.
* Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<DeltaRequestBuilderGetQueryParameters> | undefined) : RequestInformation;
}
/**
* Get newly created, updated, or deleted applications and agent identity blueprints without having to perform a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details.
* Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details.
*/
export interface DeltaRequestBuilderGetQueryParameters {
/**
Expand Down Expand Up @@ -88,7 +88,7 @@ export interface DeltaRequestBuilderGetQueryParameters {
export function deserializeIntoDeltaGetResponse(deltaGetResponse: Partial<DeltaGetResponse> | undefined = {}) : Record<string, (node: ParseNode) => void> {
return {
...deserializeIntoBaseDeltaFunctionResponse(deltaGetResponse),
"value": n => { deltaGetResponse.value = n.getCollectionOfObjectValues<Application>(createApplicationFromDiscriminatorValue); },
"value": n => { deltaGetResponse.value = n.getCollectionOfObjectValues<DirectoryObject>(createDirectoryObjectFromDiscriminatorValue); },
}
}
/**
Expand All @@ -101,7 +101,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: Partial<DeltaG
export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: Partial<DeltaGetResponse> | undefined | null = {}, isSerializingDerivedType: boolean = false) : void {
if (!deltaGetResponse || isSerializingDerivedType) { return; }
serializeBaseDeltaFunctionResponse(writer, deltaGetResponse, isSerializingDerivedType)
writer.writeCollectionOfObjectValues<Application>("value", deltaGetResponse.value, serializeApplication);
writer.writeCollectionOfObjectValues<DirectoryObject>("value", deltaGetResponse.value, serializeDirectoryObject);
}
/**
* Uri template for the request builder.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,14 @@ import { type BaseRequestBuilder, type Parsable, type ParsableFactory, type Requ
*/
export interface ClearAutomaticLocationRequestBuilder extends BaseRequestBuilder<ClearAutomaticLocationRequestBuilder> {
/**
* Invoke action clearAutomaticLocation
* Clear the automatic work location signal for a user. After clearing, the user’s final aggregated work location is recomputed according to the precedence rules: Use this operation when you need to remove the current autodetected signal without affecting manual or scheduled layers.
* @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/presence-clearautomaticlocation?view=graph-rest-beta|Find more info here}
*/
post(requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<void>;
/**
* Invoke action clearAutomaticLocation
* Clear the automatic work location signal for a user. After clearing, the user’s final aggregated work location is recomputed according to the precedence rules: Use this operation when you need to remove the current autodetected signal without affecting manual or scheduled layers.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,14 @@ import { type BaseRequestBuilder, type Parsable, type ParsableFactory, type Requ
*/
export interface ClearLocationRequestBuilder extends BaseRequestBuilder<ClearLocationRequestBuilder> {
/**
* Invoke action clearLocation
* Clear the work location signals for a user, including both the manual and automatic layers for the current date.
* @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/presence-clearlocation?view=graph-rest-beta|Find more info here}
*/
post(requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<void>;
/**
* Invoke action clearLocation
* Clear the work location signals for a user, including both the manual and automatic layers for the current date.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,15 @@ export interface SetAutomaticLocationPostRequestBody extends AdditionalDataHolde
*/
export interface SetAutomaticLocationRequestBuilder extends BaseRequestBuilder<SetAutomaticLocationRequestBuilder> {
/**
* Invoke action setAutomaticLocation
* Update the automatic work location for a user. The automatic layer participates in the standard precedence model: Use this operation from clients or services that automatically detect location (for example, Teams, network/location agents, or OEM docking apps). It doesn't clear manual or scheduled signals.
* @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/presence-setautomaticlocation?view=graph-rest-beta|Find more info here}
*/
post(body: SetAutomaticLocationPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<void>;
/**
* Invoke action setAutomaticLocation
* Update the automatic work location for a user. The automatic layer participates in the standard precedence model: Use this operation from clients or services that automatically detect location (for example, Teams, network/location agents, or OEM docking apps). It doesn't clear manual or scheduled signals.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,15 @@ export interface SetManualLocationPostRequestBody extends AdditionalDataHolder,
*/
export interface SetManualLocationRequestBuilder extends BaseRequestBuilder<SetManualLocationRequestBuilder> {
/**
* Invoke action setManualLocation
* Set the manual work location signal for a user. The explicit value chosen by a user (or an authorized client) overrides any automatically detected or scheduled working hours and location.
* @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/presence-setmanuallocation?view=graph-rest-beta|Find more info here}
*/
post(body: SetManualLocationPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<void>;
/**
* Invoke action setManualLocation
* Set the manual work location signal for a user. The explicit value chosen by a user (or an authorized client) overrides any automatically detected or scheduled working hours and location.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ import { AssignedUsersRequestBuilderNavigationMetadata, AssignedUsersRequestBuil
// @ts-ignore
import { AssignedUsersWithUserPrincipalNameRequestBuilderRequestsMetadata, type AssignedUsersWithUserPrincipalNameRequestBuilder } from './assignedUsersWithUserPrincipalName/index.js';
// @ts-ignore
import { type UserSettingsPersistenceDetailRequestBuilder, UserSettingsPersistenceDetailRequestBuilderNavigationMetadata, UserSettingsPersistenceDetailRequestBuilderRequestsMetadata } from './userSettingsPersistenceDetail/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';

/**
Expand All @@ -20,6 +22,10 @@ export interface CloudPcProvisioningPolicyAssignmentItemRequestBuilder extends B
* Provides operations to manage the assignedUsers property of the microsoft.graph.cloudPcProvisioningPolicyAssignment entity.
*/
get assignedUsers(): AssignedUsersRequestBuilder;
/**
* Provides operations to manage the userSettingsPersistenceDetail property of the microsoft.graph.cloudPcProvisioningPolicyAssignment entity.
*/
get userSettingsPersistenceDetail(): UserSettingsPersistenceDetailRequestBuilder;
/**
* Provides operations to manage the assignedUsers property of the microsoft.graph.cloudPcProvisioningPolicyAssignment entity.
* @param userPrincipalName Alternate key of user
Expand Down Expand Up @@ -103,6 +109,10 @@ export const CloudPcProvisioningPolicyAssignmentItemRequestBuilderNavigationMeta
requestsMetadata: AssignedUsersRequestBuilderRequestsMetadata,
navigationMetadata: AssignedUsersRequestBuilderNavigationMetadata,
},
userSettingsPersistenceDetail: {
requestsMetadata: UserSettingsPersistenceDetailRequestBuilderRequestsMetadata,
navigationMetadata: UserSettingsPersistenceDetailRequestBuilderNavigationMetadata,
},
};
/**
* Metadata for all the requests in the request builder.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
/* tslint:disable */
/* eslint-disable */
// Generated by Microsoft Kiota
// @ts-ignore
import { createODataErrorFromDiscriminatorValue, type ODataError } from '@microsoft/msgraph-beta-sdk/models/oDataErrors/index.js';
// @ts-ignore
import { type AdditionalDataHolder, type BackedModel, type BackingStore, type BaseRequestBuilder, type Parsable, type ParsableFactory, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';

export interface BatchCleanupUserSettingsPersistenceProfilePostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
/**
* Stores model information.
*/
backingStoreEnabled?: boolean | null;
/**
* The cloudProfileIds property
*/
cloudProfileIds?: string[] | null;
/**
* The configurationId property
*/
configurationId?: string | null;
}
/**
* Provides operations to call the batchCleanupUserSettingsPersistenceProfile method.
*/
export interface BatchCleanupUserSettingsPersistenceProfileRequestBuilder extends BaseRequestBuilder<BatchCleanupUserSettingsPersistenceProfileRequestBuilder> {
/**
* Invoke action batchCleanupUserSettingsPersistenceProfile
* @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
*/
post(body: BatchCleanupUserSettingsPersistenceProfilePostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<void>;
/**
* Invoke action batchCleanupUserSettingsPersistenceProfile
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toPostRequestInformation(body: BatchCleanupUserSettingsPersistenceProfilePostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
}
/**
* Creates a new instance of the appropriate class based on discriminator value
* @param parseNode The parse node to use to read the discriminator value and create the object
* @returns {BatchCleanupUserSettingsPersistenceProfilePostRequestBody}
*/
// @ts-ignore
export function createBatchCleanupUserSettingsPersistenceProfilePostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined) : ((instance?: Parsable) => Record<string, (node: ParseNode) => void>) {
return deserializeIntoBatchCleanupUserSettingsPersistenceProfilePostRequestBody;
}
/**
* The deserialization information for the current model
* @param BatchCleanupUserSettingsPersistenceProfilePostRequestBody The instance to deserialize into.
* @returns {Record<string, (node: ParseNode) => void>}
*/
// @ts-ignore
export function deserializeIntoBatchCleanupUserSettingsPersistenceProfilePostRequestBody(batchCleanupUserSettingsPersistenceProfilePostRequestBody: Partial<BatchCleanupUserSettingsPersistenceProfilePostRequestBody> | undefined = {}) : Record<string, (node: ParseNode) => void> {
return {
"backingStoreEnabled": n => { batchCleanupUserSettingsPersistenceProfilePostRequestBody.backingStoreEnabled = true; },
"cloudProfileIds": n => { batchCleanupUserSettingsPersistenceProfilePostRequestBody.cloudProfileIds = n.getCollectionOfPrimitiveValues<string>(); },
"configurationId": n => { batchCleanupUserSettingsPersistenceProfilePostRequestBody.configurationId = n.getStringValue(); },
}
}
/**
* Serializes information the current object
* @param BatchCleanupUserSettingsPersistenceProfilePostRequestBody The instance to serialize from.
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
* @param writer Serialization writer to use to serialize this model
*/
// @ts-ignore
export function serializeBatchCleanupUserSettingsPersistenceProfilePostRequestBody(writer: SerializationWriter, batchCleanupUserSettingsPersistenceProfilePostRequestBody: Partial<BatchCleanupUserSettingsPersistenceProfilePostRequestBody> | undefined | null = {}, isSerializingDerivedType: boolean = false) : void {
if (!batchCleanupUserSettingsPersistenceProfilePostRequestBody || isSerializingDerivedType) { return; }
writer.writeCollectionOfPrimitiveValues<string>("cloudProfileIds", batchCleanupUserSettingsPersistenceProfilePostRequestBody.cloudProfileIds);
writer.writeStringValue("configurationId", batchCleanupUserSettingsPersistenceProfilePostRequestBody.configurationId);
writer.writeAdditionalData(batchCleanupUserSettingsPersistenceProfilePostRequestBody.additionalData);
}
/**
* Uri template for the request builder.
*/
export const BatchCleanupUserSettingsPersistenceProfileRequestBuilderUriTemplate = "{+baseurl}/deviceManagement/virtualEndpoint/provisioningPolicies/{cloudPcProvisioningPolicy%2Did}/assignments/{cloudPcProvisioningPolicyAssignment%2Did}/userSettingsPersistenceDetail/batchCleanupUserSettingsPersistenceProfile";
/**
* Metadata for all the requests in the request builder.
*/
export const BatchCleanupUserSettingsPersistenceProfileRequestBuilderRequestsMetadata: RequestsMetadata = {
post: {
uriTemplate: BatchCleanupUserSettingsPersistenceProfileRequestBuilderUriTemplate,
responseBodyContentType: "application/json",
errorMappings: {
XXX: createODataErrorFromDiscriminatorValue as ParsableFactory<Parsable>,
},
adapterMethodName: "sendNoResponseContent",
requestBodyContentType: "application/json",
requestBodySerializer: serializeBatchCleanupUserSettingsPersistenceProfilePostRequestBody,
requestInformationContentSetMethod: "setContentFromParsable",
},
};
/* tslint:enable */
/* eslint-enable */
Loading
Loading