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
473 changes: 473 additions & 0 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": "DC604705AED7AE012B7833432431BF7D683EB88F31FB16E2A5E46F9A0B52E67303A17F69DD17E92CBD47D77819B6A567DAE0E4B602C22683BB1B6FEC316ABB39",
"descriptionHash": "6A17EBA4FD251AD6FC9E6928DC96039C18477BA1BA4E946A13FC9996F3C6828D895147E6C085BD9A127ECDACB53CA31E3AD10DD70517A32F3B12B6FA171AEAFD",
"descriptionLocation": "../../msgraph-metadata/clean_beta_openapi/openapi.yaml",
"lockFileVersion": "1.0.0",
"kiotaVersion": "1.29.0",
Expand Down
9 changes: 9 additions & 0 deletions packages/msgraph-beta-sdk-admin/admin/people/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ import { ItemInsightsRequestBuilderRequestsMetadata, type ItemInsightsRequestBui
// @ts-ignore
import { NamePronunciationRequestBuilderRequestsMetadata, type NamePronunciationRequestBuilder } from './namePronunciation/index.js';
// @ts-ignore
import { PhotoUpdateSettingsRequestBuilderRequestsMetadata, type PhotoUpdateSettingsRequestBuilder } from './photoUpdateSettings/index.js';
// @ts-ignore
import { ProfileCardPropertiesRequestBuilderNavigationMetadata, ProfileCardPropertiesRequestBuilderRequestsMetadata, type ProfileCardPropertiesRequestBuilder } from './profileCardProperties/index.js';
// @ts-ignore
import { ProfilePropertySettingsRequestBuilderNavigationMetadata, ProfilePropertySettingsRequestBuilderRequestsMetadata, type ProfilePropertySettingsRequestBuilder } from './profilePropertySettings/index.js';
Expand All @@ -34,6 +36,10 @@ export interface PeopleRequestBuilder extends BaseRequestBuilder<PeopleRequestBu
* Provides operations to manage the namePronunciation property of the microsoft.graph.peopleAdminSettings entity.
*/
get namePronunciation(): NamePronunciationRequestBuilder;
/**
* Provides operations to manage the photoUpdateSettings property of the microsoft.graph.peopleAdminSettings entity.
*/
get photoUpdateSettings(): PhotoUpdateSettingsRequestBuilder;
/**
* Provides operations to manage the profileCardProperties property of the microsoft.graph.peopleAdminSettings entity.
*/
Expand Down Expand Up @@ -136,6 +142,9 @@ export const PeopleRequestBuilderNavigationMetadata: Record<Exclude<keyof People
namePronunciation: {
requestsMetadata: NamePronunciationRequestBuilderRequestsMetadata,
},
photoUpdateSettings: {
requestsMetadata: PhotoUpdateSettingsRequestBuilderRequestsMetadata,
},
profileCardProperties: {
requestsMetadata: ProfileCardPropertiesRequestBuilderRequestsMetadata,
navigationMetadata: ProfileCardPropertiesRequestBuilderNavigationMetadata,
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
/* tslint:disable */
/* eslint-disable */
// Generated by Microsoft Kiota
// @ts-ignore
import { createPhotoUpdateSettingsFromDiscriminatorValue, serializePhotoUpdateSettings, type PhotoUpdateSettings } 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
import { type BaseRequestBuilder, type Parsable, type ParsableFactory, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';

/**
* Provides operations to manage the photoUpdateSettings property of the microsoft.graph.peopleAdminSettings entity.
*/
export interface PhotoUpdateSettingsRequestBuilder extends BaseRequestBuilder<PhotoUpdateSettingsRequestBuilder> {
/**
* Delete a photoUpdateSettings object.
* @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/peopleadminsettings-delete-photoupdatesettings?view=graph-rest-beta|Find more info here}
*/
delete(requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<void>;
/**
* Read the properties and relationships of a photoUpdateSettings object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<PhotoUpdateSettings>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/photoupdatesettings-get?view=graph-rest-beta|Find more info here}
*/
get(requestConfiguration?: RequestConfiguration<PhotoUpdateSettingsRequestBuilderGetQueryParameters> | undefined) : Promise<PhotoUpdateSettings | undefined>;
/**
* Update the properties of a photoUpdateSettings object.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<PhotoUpdateSettings>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/photoupdatesettings-update?view=graph-rest-beta|Find more info here}
*/
patch(body: PhotoUpdateSettings, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<PhotoUpdateSettings | undefined>;
/**
* Delete a photoUpdateSettings object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
/**
* Read the properties and relationships of a photoUpdateSettings object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<PhotoUpdateSettingsRequestBuilderGetQueryParameters> | undefined) : RequestInformation;
/**
* Update the properties of a photoUpdateSettings object.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toPatchRequestInformation(body: PhotoUpdateSettings, requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
}
/**
* Read the properties and relationships of a photoUpdateSettings object.
*/
export interface PhotoUpdateSettingsRequestBuilderGetQueryParameters {
/**
* Expand related entities
*/
expand?: string[];
/**
* Select properties to be returned
*/
select?: string[];
}
/**
* Uri template for the request builder.
*/
export const PhotoUpdateSettingsRequestBuilderUriTemplate = "{+baseurl}/admin/people/photoUpdateSettings{?%24expand,%24select}";
/**
* Mapper for query parameters from symbol name to serialization name represented as a constant.
*/
const PhotoUpdateSettingsRequestBuilderGetQueryParametersMapper: Record<string, string> = {
"expand": "%24expand",
"select": "%24select",
};
/**
* Metadata for all the requests in the request builder.
*/
export const PhotoUpdateSettingsRequestBuilderRequestsMetadata: RequestsMetadata = {
delete: {
uriTemplate: PhotoUpdateSettingsRequestBuilderUriTemplate,
responseBodyContentType: "application/json",
errorMappings: {
XXX: createODataErrorFromDiscriminatorValue as ParsableFactory<Parsable>,
},
adapterMethodName: "sendNoResponseContent",
},
get: {
uriTemplate: PhotoUpdateSettingsRequestBuilderUriTemplate,
responseBodyContentType: "application/json",
errorMappings: {
XXX: createODataErrorFromDiscriminatorValue as ParsableFactory<Parsable>,
},
adapterMethodName: "send",
responseBodyFactory: createPhotoUpdateSettingsFromDiscriminatorValue,
queryParametersMapper: PhotoUpdateSettingsRequestBuilderGetQueryParametersMapper,
},
patch: {
uriTemplate: PhotoUpdateSettingsRequestBuilderUriTemplate,
responseBodyContentType: "application/json",
errorMappings: {
XXX: createODataErrorFromDiscriminatorValue as ParsableFactory<Parsable>,
},
adapterMethodName: "send",
responseBodyFactory: createPhotoUpdateSettingsFromDiscriminatorValue,
requestBodyContentType: "application/json",
requestBodySerializer: serializePhotoUpdateSettings,
requestInformationContentSetMethod: "setContentFromParsable",
},
};
/* tslint:enable */
/* eslint-enable */
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ export interface ResourceConnectionItemRequestBuilder extends BaseRequestBuilder
*/
delete(requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<void>;
/**
* Read the properties and relationships of an operationalInsightsConnection object.
* Read the properties and relationships of a resourceConnection object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<ResourceConnection>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/windowsupdates-operationalinsightsconnection-get?view=graph-rest-beta|Find more info here}
* @see {@link https://learn.microsoft.com/graph/api/windowsupdates-resourceconnection-get?view=graph-rest-beta|Find more info here}
*/
get(requestConfiguration?: RequestConfiguration<ResourceConnectionItemRequestBuilderGetQueryParameters> | undefined) : Promise<ResourceConnection | undefined>;
/**
Expand All @@ -42,7 +42,7 @@ export interface ResourceConnectionItemRequestBuilder extends BaseRequestBuilder
*/
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
/**
* Read the properties and relationships of an operationalInsightsConnection object.
* Read the properties and relationships of a resourceConnection object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
Expand All @@ -56,7 +56,7 @@ export interface ResourceConnectionItemRequestBuilder extends BaseRequestBuilder
toPatchRequestInformation(body: ResourceConnection, requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
}
/**
* Read the properties and relationships of an operationalInsightsConnection object.
* Read the properties and relationships of a resourceConnection object.
*/
export interface ResourceConnectionItemRequestBuilderGetQueryParameters {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ export interface UpdatableAssetItemRequestBuilder extends BaseRequestBuilder<Upd
*/
get microsoftGraphWindowsUpdatesRemoveMembersById(): MicrosoftGraphWindowsUpdatesRemoveMembersByIdRequestBuilder;
/**
* Delete an azureADDevice object. When a Microsoft Entra device is deleted, it is unregistered and automatically unenrolled from management for all update categories, as well as removed from every deploymentAudience and updatableAssetGroup.
* Delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted.
* @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/windowsupdates-azureaddevice-delete?view=graph-rest-beta|Find more info here}
* @see {@link https://learn.microsoft.com/graph/api/windowsupdates-updatableassetgroup-delete?view=graph-rest-beta|Find more info here}
*/
delete(requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<void>;
/**
Expand All @@ -60,7 +60,7 @@ export interface UpdatableAssetItemRequestBuilder extends BaseRequestBuilder<Upd
*/
patch(body: UpdatableAsset, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<UpdatableAsset | undefined>;
/**
* Delete an azureADDevice object. When a Microsoft Entra device is deleted, it is unregistered and automatically unenrolled from management for all update categories, as well as removed from every deploymentAudience and updatableAssetGroup.
* Delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted.
* @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 @@ -19,18 +19,18 @@ export interface ComplianceChangeItemRequestBuilder extends BaseRequestBuilder<C
*/
get updatePolicy(): UpdatePolicyRequestBuilder;
/**
* Delete a contentApproval object.
* Delete a complianceChange object.
* @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/windowsupdates-contentapproval-delete?view=graph-rest-beta|Find more info here}
* @see {@link https://learn.microsoft.com/graph/api/windowsupdates-compliancechange-delete?view=graph-rest-beta|Find more info here}
*/
delete(requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<void>;
/**
* Read the properties and relationships of a contentApproval object.
* Read the properties and relationships of a complianceChange object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<ComplianceChange>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/windowsupdates-contentapproval-get?view=graph-rest-beta|Find more info here}
* @see {@link https://learn.microsoft.com/graph/api/windowsupdates-compliancechange-get?view=graph-rest-beta|Find more info here}
*/
get(requestConfiguration?: RequestConfiguration<ComplianceChangeItemRequestBuilderGetQueryParameters> | undefined) : Promise<ComplianceChange | undefined>;
/**
Expand All @@ -43,13 +43,13 @@ export interface ComplianceChangeItemRequestBuilder extends BaseRequestBuilder<C
*/
patch(body: ComplianceChange, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<ComplianceChange | undefined>;
/**
* Delete a contentApproval object.
* Delete a complianceChange object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
/**
* Read the properties and relationships of a contentApproval object.
* Read the properties and relationships of a complianceChange object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
Expand All @@ -63,7 +63,7 @@ export interface ComplianceChangeItemRequestBuilder extends BaseRequestBuilder<C
toPatchRequestInformation(body: ComplianceChange, requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
}
/**
* Read the properties and relationships of a contentApproval object.
* Read the properties and relationships of a complianceChange object.
*/
export interface ComplianceChangeItemRequestBuilderGetQueryParameters {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,12 @@ export interface MessagesRequestBuilder extends BaseRequestBuilder<MessagesReque
*/
get(requestConfiguration?: RequestConfiguration<MessagesRequestBuilderGetQueryParameters> | undefined) : Promise<ChatMessageCollectionResponse | undefined>;
/**
* Send a new chatMessage in the specified channel or a chat.
* Send a new chatMessage in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before creating a chat message.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<ChatMessage>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-beta|Find more info here}
* @see {@link https://learn.microsoft.com/graph/api/chat-post-messages?view=graph-rest-beta|Find more info here}
*/
post(body: ChatMessage, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<ChatMessage | undefined>;
/**
Expand All @@ -68,7 +68,7 @@ export interface MessagesRequestBuilder extends BaseRequestBuilder<MessagesReque
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<MessagesRequestBuilderGetQueryParameters> | undefined) : RequestInformation;
/**
* Send a new chatMessage in the specified channel or a chat.
* Send a new chatMessage in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before creating a chat message.
* @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 @@ -27,7 +27,7 @@ export interface AssignmentsRequestBuilder extends BaseRequestBuilder<Assignment
*/
byIosLobAppProvisioningConfigurationAssignmentId(iosLobAppProvisioningConfigurationAssignmentId: string) : IosLobAppProvisioningConfigurationAssignmentItemRequestBuilder;
/**
* The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to.
* The associated group assignments for IosLobAppProvisioningConfiguration.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<IosLobAppProvisioningConfigurationAssignmentCollectionResponse>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
Expand All @@ -42,7 +42,7 @@ export interface AssignmentsRequestBuilder extends BaseRequestBuilder<Assignment
*/
post(body: IosLobAppProvisioningConfigurationAssignment, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<IosLobAppProvisioningConfigurationAssignment | undefined>;
/**
* The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to.
* The associated group assignments for IosLobAppProvisioningConfiguration.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
Expand All @@ -56,7 +56,7 @@ export interface AssignmentsRequestBuilder extends BaseRequestBuilder<Assignment
toPostRequestInformation(body: IosLobAppProvisioningConfigurationAssignment, requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
}
/**
* The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to.
* The associated group assignments for IosLobAppProvisioningConfiguration.
*/
export interface AssignmentsRequestBuilderGetQueryParameters {
/**
Expand Down
Loading