Skip to content

Commit 4090bd5

Browse files
authored
Merge pull request #366 from microsoftgraph/beta/pipelinebuild/194896
Generated beta models and request builders
2 parents 237e52a + f35da27 commit 4090bd5

89 files changed

Lines changed: 4365 additions & 224 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

packages/kiota-dom-export.txt

Lines changed: 473 additions & 0 deletions
Large diffs are not rendered by default.

packages/kiota-lock.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"descriptionHash": "DC604705AED7AE012B7833432431BF7D683EB88F31FB16E2A5E46F9A0B52E67303A17F69DD17E92CBD47D77819B6A567DAE0E4B602C22683BB1B6FEC316ABB39",
2+
"descriptionHash": "6A17EBA4FD251AD6FC9E6928DC96039C18477BA1BA4E946A13FC9996F3C6828D895147E6C085BD9A127ECDACB53CA31E3AD10DD70517A32F3B12B6FA171AEAFD",
33
"descriptionLocation": "../../msgraph-metadata/clean_beta_openapi/openapi.yaml",
44
"lockFileVersion": "1.0.0",
55
"kiotaVersion": "1.29.0",

packages/msgraph-beta-sdk-admin/admin/people/index.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ import { ItemInsightsRequestBuilderRequestsMetadata, type ItemInsightsRequestBui
1010
// @ts-ignore
1111
import { NamePronunciationRequestBuilderRequestsMetadata, type NamePronunciationRequestBuilder } from './namePronunciation/index.js';
1212
// @ts-ignore
13+
import { PhotoUpdateSettingsRequestBuilderRequestsMetadata, type PhotoUpdateSettingsRequestBuilder } from './photoUpdateSettings/index.js';
14+
// @ts-ignore
1315
import { ProfileCardPropertiesRequestBuilderNavigationMetadata, ProfileCardPropertiesRequestBuilderRequestsMetadata, type ProfileCardPropertiesRequestBuilder } from './profileCardProperties/index.js';
1416
// @ts-ignore
1517
import { ProfilePropertySettingsRequestBuilderNavigationMetadata, ProfilePropertySettingsRequestBuilderRequestsMetadata, type ProfilePropertySettingsRequestBuilder } from './profilePropertySettings/index.js';
@@ -34,6 +36,10 @@ export interface PeopleRequestBuilder extends BaseRequestBuilder<PeopleRequestBu
3436
* Provides operations to manage the namePronunciation property of the microsoft.graph.peopleAdminSettings entity.
3537
*/
3638
get namePronunciation(): NamePronunciationRequestBuilder;
39+
/**
40+
* Provides operations to manage the photoUpdateSettings property of the microsoft.graph.peopleAdminSettings entity.
41+
*/
42+
get photoUpdateSettings(): PhotoUpdateSettingsRequestBuilder;
3743
/**
3844
* Provides operations to manage the profileCardProperties property of the microsoft.graph.peopleAdminSettings entity.
3945
*/
@@ -136,6 +142,9 @@ export const PeopleRequestBuilderNavigationMetadata: Record<Exclude<keyof People
136142
namePronunciation: {
137143
requestsMetadata: NamePronunciationRequestBuilderRequestsMetadata,
138144
},
145+
photoUpdateSettings: {
146+
requestsMetadata: PhotoUpdateSettingsRequestBuilderRequestsMetadata,
147+
},
139148
profileCardProperties: {
140149
requestsMetadata: ProfileCardPropertiesRequestBuilderRequestsMetadata,
141150
navigationMetadata: ProfileCardPropertiesRequestBuilderNavigationMetadata,
Lines changed: 119 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,119 @@
1+
/* tslint:disable */
2+
/* eslint-disable */
3+
// Generated by Microsoft Kiota
4+
// @ts-ignore
5+
import { createPhotoUpdateSettingsFromDiscriminatorValue, serializePhotoUpdateSettings, type PhotoUpdateSettings } from '@microsoft/msgraph-beta-sdk/models/index.js';
6+
// @ts-ignore
7+
import { createODataErrorFromDiscriminatorValue, type ODataError } from '@microsoft/msgraph-beta-sdk/models/oDataErrors/index.js';
8+
// @ts-ignore
9+
import { type BaseRequestBuilder, type Parsable, type ParsableFactory, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
10+
11+
/**
12+
* Provides operations to manage the photoUpdateSettings property of the microsoft.graph.peopleAdminSettings entity.
13+
*/
14+
export interface PhotoUpdateSettingsRequestBuilder extends BaseRequestBuilder<PhotoUpdateSettingsRequestBuilder> {
15+
/**
16+
* Delete a photoUpdateSettings object.
17+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
18+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
19+
* @see {@link https://learn.microsoft.com/graph/api/peopleadminsettings-delete-photoupdatesettings?view=graph-rest-beta|Find more info here}
20+
*/
21+
delete(requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<void>;
22+
/**
23+
* Read the properties and relationships of a photoUpdateSettings object.
24+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
25+
* @returns {Promise<PhotoUpdateSettings>}
26+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
27+
* @see {@link https://learn.microsoft.com/graph/api/photoupdatesettings-get?view=graph-rest-beta|Find more info here}
28+
*/
29+
get(requestConfiguration?: RequestConfiguration<PhotoUpdateSettingsRequestBuilderGetQueryParameters> | undefined) : Promise<PhotoUpdateSettings | undefined>;
30+
/**
31+
* Update the properties of a photoUpdateSettings object.
32+
* @param body The request body
33+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
34+
* @returns {Promise<PhotoUpdateSettings>}
35+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
36+
* @see {@link https://learn.microsoft.com/graph/api/photoupdatesettings-update?view=graph-rest-beta|Find more info here}
37+
*/
38+
patch(body: PhotoUpdateSettings, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<PhotoUpdateSettings | undefined>;
39+
/**
40+
* Delete a photoUpdateSettings object.
41+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
42+
* @returns {RequestInformation}
43+
*/
44+
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
45+
/**
46+
* Read the properties and relationships of a photoUpdateSettings object.
47+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
48+
* @returns {RequestInformation}
49+
*/
50+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<PhotoUpdateSettingsRequestBuilderGetQueryParameters> | undefined) : RequestInformation;
51+
/**
52+
* Update the properties of a photoUpdateSettings object.
53+
* @param body The request body
54+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
55+
* @returns {RequestInformation}
56+
*/
57+
toPatchRequestInformation(body: PhotoUpdateSettings, requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
58+
}
59+
/**
60+
* Read the properties and relationships of a photoUpdateSettings object.
61+
*/
62+
export interface PhotoUpdateSettingsRequestBuilderGetQueryParameters {
63+
/**
64+
* Expand related entities
65+
*/
66+
expand?: string[];
67+
/**
68+
* Select properties to be returned
69+
*/
70+
select?: string[];
71+
}
72+
/**
73+
* Uri template for the request builder.
74+
*/
75+
export const PhotoUpdateSettingsRequestBuilderUriTemplate = "{+baseurl}/admin/people/photoUpdateSettings{?%24expand,%24select}";
76+
/**
77+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
78+
*/
79+
const PhotoUpdateSettingsRequestBuilderGetQueryParametersMapper: Record<string, string> = {
80+
"expand": "%24expand",
81+
"select": "%24select",
82+
};
83+
/**
84+
* Metadata for all the requests in the request builder.
85+
*/
86+
export const PhotoUpdateSettingsRequestBuilderRequestsMetadata: RequestsMetadata = {
87+
delete: {
88+
uriTemplate: PhotoUpdateSettingsRequestBuilderUriTemplate,
89+
responseBodyContentType: "application/json",
90+
errorMappings: {
91+
XXX: createODataErrorFromDiscriminatorValue as ParsableFactory<Parsable>,
92+
},
93+
adapterMethodName: "sendNoResponseContent",
94+
},
95+
get: {
96+
uriTemplate: PhotoUpdateSettingsRequestBuilderUriTemplate,
97+
responseBodyContentType: "application/json",
98+
errorMappings: {
99+
XXX: createODataErrorFromDiscriminatorValue as ParsableFactory<Parsable>,
100+
},
101+
adapterMethodName: "send",
102+
responseBodyFactory: createPhotoUpdateSettingsFromDiscriminatorValue,
103+
queryParametersMapper: PhotoUpdateSettingsRequestBuilderGetQueryParametersMapper,
104+
},
105+
patch: {
106+
uriTemplate: PhotoUpdateSettingsRequestBuilderUriTemplate,
107+
responseBodyContentType: "application/json",
108+
errorMappings: {
109+
XXX: createODataErrorFromDiscriminatorValue as ParsableFactory<Parsable>,
110+
},
111+
adapterMethodName: "send",
112+
responseBodyFactory: createPhotoUpdateSettingsFromDiscriminatorValue,
113+
requestBodyContentType: "application/json",
114+
requestBodySerializer: serializePhotoUpdateSettings,
115+
requestInformationContentSetMethod: "setContentFromParsable",
116+
},
117+
};
118+
/* tslint:enable */
119+
/* eslint-enable */

packages/msgraph-beta-sdk-admin/admin/windows/updates/resourceConnections/item/index.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ export interface ResourceConnectionItemRequestBuilder extends BaseRequestBuilder
2020
*/
2121
delete(requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<void>;
2222
/**
23-
* Read the properties and relationships of an operationalInsightsConnection object.
23+
* Read the properties and relationships of a resourceConnection object.
2424
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
2525
* @returns {Promise<ResourceConnection>}
2626
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
27-
* @see {@link https://learn.microsoft.com/graph/api/windowsupdates-operationalinsightsconnection-get?view=graph-rest-beta|Find more info here}
27+
* @see {@link https://learn.microsoft.com/graph/api/windowsupdates-resourceconnection-get?view=graph-rest-beta|Find more info here}
2828
*/
2929
get(requestConfiguration?: RequestConfiguration<ResourceConnectionItemRequestBuilderGetQueryParameters> | undefined) : Promise<ResourceConnection | undefined>;
3030
/**
@@ -42,7 +42,7 @@ export interface ResourceConnectionItemRequestBuilder extends BaseRequestBuilder
4242
*/
4343
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
4444
/**
45-
* Read the properties and relationships of an operationalInsightsConnection object.
45+
* Read the properties and relationships of a resourceConnection object.
4646
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
4747
* @returns {RequestInformation}
4848
*/
@@ -56,7 +56,7 @@ export interface ResourceConnectionItemRequestBuilder extends BaseRequestBuilder
5656
toPatchRequestInformation(body: ResourceConnection, requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
5757
}
5858
/**
59-
* Read the properties and relationships of an operationalInsightsConnection object.
59+
* Read the properties and relationships of a resourceConnection object.
6060
*/
6161
export interface ResourceConnectionItemRequestBuilderGetQueryParameters {
6262
/**

packages/msgraph-beta-sdk-admin/admin/windows/updates/updatableAssets/item/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ export interface UpdatableAssetItemRequestBuilder extends BaseRequestBuilder<Upd
3737
*/
3838
get microsoftGraphWindowsUpdatesRemoveMembersById(): MicrosoftGraphWindowsUpdatesRemoveMembersByIdRequestBuilder;
3939
/**
40-
* 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.
40+
* Delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted.
4141
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
4242
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
43-
* @see {@link https://learn.microsoft.com/graph/api/windowsupdates-azureaddevice-delete?view=graph-rest-beta|Find more info here}
43+
* @see {@link https://learn.microsoft.com/graph/api/windowsupdates-updatableassetgroup-delete?view=graph-rest-beta|Find more info here}
4444
*/
4545
delete(requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<void>;
4646
/**
@@ -60,7 +60,7 @@ export interface UpdatableAssetItemRequestBuilder extends BaseRequestBuilder<Upd
6060
*/
6161
patch(body: UpdatableAsset, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<UpdatableAsset | undefined>;
6262
/**
63-
* 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.
63+
* Delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted.
6464
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
6565
* @returns {RequestInformation}
6666
*/

packages/msgraph-beta-sdk-admin/admin/windows/updates/updatePolicies/item/complianceChanges/item/index.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,18 @@ export interface ComplianceChangeItemRequestBuilder extends BaseRequestBuilder<C
1919
*/
2020
get updatePolicy(): UpdatePolicyRequestBuilder;
2121
/**
22-
* Delete a contentApproval object.
22+
* Delete a complianceChange object.
2323
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
2424
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
25-
* @see {@link https://learn.microsoft.com/graph/api/windowsupdates-contentapproval-delete?view=graph-rest-beta|Find more info here}
25+
* @see {@link https://learn.microsoft.com/graph/api/windowsupdates-compliancechange-delete?view=graph-rest-beta|Find more info here}
2626
*/
2727
delete(requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<void>;
2828
/**
29-
* Read the properties and relationships of a contentApproval object.
29+
* Read the properties and relationships of a complianceChange object.
3030
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
3131
* @returns {Promise<ComplianceChange>}
3232
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
33-
* @see {@link https://learn.microsoft.com/graph/api/windowsupdates-contentapproval-get?view=graph-rest-beta|Find more info here}
33+
* @see {@link https://learn.microsoft.com/graph/api/windowsupdates-compliancechange-get?view=graph-rest-beta|Find more info here}
3434
*/
3535
get(requestConfiguration?: RequestConfiguration<ComplianceChangeItemRequestBuilderGetQueryParameters> | undefined) : Promise<ComplianceChange | undefined>;
3636
/**
@@ -43,13 +43,13 @@ export interface ComplianceChangeItemRequestBuilder extends BaseRequestBuilder<C
4343
*/
4444
patch(body: ComplianceChange, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<ComplianceChange | undefined>;
4545
/**
46-
* Delete a contentApproval object.
46+
* Delete a complianceChange object.
4747
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
4848
* @returns {RequestInformation}
4949
*/
5050
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
5151
/**
52-
* Read the properties and relationships of a contentApproval object.
52+
* Read the properties and relationships of a complianceChange object.
5353
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
5454
* @returns {RequestInformation}
5555
*/
@@ -63,7 +63,7 @@ export interface ComplianceChangeItemRequestBuilder extends BaseRequestBuilder<C
6363
toPatchRequestInformation(body: ComplianceChange, requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
6464
}
6565
/**
66-
* Read the properties and relationships of a contentApproval object.
66+
* Read the properties and relationships of a complianceChange object.
6767
*/
6868
export interface ComplianceChangeItemRequestBuilderGetQueryParameters {
6969
/**

packages/msgraph-beta-sdk-chats/chats/item/messages/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,12 @@ export interface MessagesRequestBuilder extends BaseRequestBuilder<MessagesReque
5353
*/
5454
get(requestConfiguration?: RequestConfiguration<MessagesRequestBuilderGetQueryParameters> | undefined) : Promise<ChatMessageCollectionResponse | undefined>;
5555
/**
56-
* Send a new chatMessage in the specified channel or a chat.
56+
* 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.
5757
* @param body The request body
5858
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
5959
* @returns {Promise<ChatMessage>}
6060
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
61-
* @see {@link https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-beta|Find more info here}
61+
* @see {@link https://learn.microsoft.com/graph/api/chat-post-messages?view=graph-rest-beta|Find more info here}
6262
*/
6363
post(body: ChatMessage, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<ChatMessage | undefined>;
6464
/**
@@ -68,7 +68,7 @@ export interface MessagesRequestBuilder extends BaseRequestBuilder<MessagesReque
6868
*/
6969
toGetRequestInformation(requestConfiguration?: RequestConfiguration<MessagesRequestBuilderGetQueryParameters> | undefined) : RequestInformation;
7070
/**
71-
* Send a new chatMessage in the specified channel or a chat.
71+
* 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.
7272
* @param body The request body
7373
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
7474
* @returns {RequestInformation}

packages/msgraph-beta-sdk-deviceAppManagement/deviceAppManagement/iosLobAppProvisioningConfigurations/item/assignments/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export interface AssignmentsRequestBuilder extends BaseRequestBuilder<Assignment
2727
*/
2828
byIosLobAppProvisioningConfigurationAssignmentId(iosLobAppProvisioningConfigurationAssignmentId: string) : IosLobAppProvisioningConfigurationAssignmentItemRequestBuilder;
2929
/**
30-
* The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to.
30+
* The associated group assignments for IosLobAppProvisioningConfiguration.
3131
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
3232
* @returns {Promise<IosLobAppProvisioningConfigurationAssignmentCollectionResponse>}
3333
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
@@ -42,7 +42,7 @@ export interface AssignmentsRequestBuilder extends BaseRequestBuilder<Assignment
4242
*/
4343
post(body: IosLobAppProvisioningConfigurationAssignment, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<IosLobAppProvisioningConfigurationAssignment | undefined>;
4444
/**
45-
* The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to.
45+
* The associated group assignments for IosLobAppProvisioningConfiguration.
4646
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
4747
* @returns {RequestInformation}
4848
*/
@@ -56,7 +56,7 @@ export interface AssignmentsRequestBuilder extends BaseRequestBuilder<Assignment
5656
toPostRequestInformation(body: IosLobAppProvisioningConfigurationAssignment, requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
5757
}
5858
/**
59-
* The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to.
59+
* The associated group assignments for IosLobAppProvisioningConfiguration.
6060
*/
6161
export interface AssignmentsRequestBuilderGetQueryParameters {
6262
/**

0 commit comments

Comments
 (0)