Skip to content

Commit

Permalink
feat(generation): update request builders and models
Browse files Browse the repository at this point in the history
Update generated files with build 172840
  • Loading branch information
Microsoft Graph DevX Tooling authored and Microsoft Graph DevX Tooling committed Dec 3, 2024
1 parent 2e84c4f commit 80452fc
Show file tree
Hide file tree
Showing 45 changed files with 212 additions and 190 deletions.
3 changes: 3 additions & 0 deletions packages/kiota-dom-export.txt
Original file line number Diff line number Diff line change
Expand Up @@ -74037,7 +74037,9 @@ github.com/microsoftgraph/msgraph-sdk-typescript/.models.FileStorageContainerCus
github.com/microsoftgraph/msgraph-sdk-typescript/.models.FileStorageContainerCustomPropertyDictionary~~>Dictionary; Parsable
github.com/microsoftgraph/msgraph-sdk-typescript/.models.FileStorageContainerSettings::|public|AdditionalData:Record<string, unknown>
github.com/microsoftgraph/msgraph-sdk-typescript/.models.FileStorageContainerSettings::|public|backingStoreEnabled:boolean
github.com/microsoftgraph/msgraph-sdk-typescript/.models.FileStorageContainerSettings::|public|isItemVersioningEnabled:boolean
github.com/microsoftgraph/msgraph-sdk-typescript/.models.FileStorageContainerSettings::|public|isOcrEnabled:boolean
github.com/microsoftgraph/msgraph-sdk-typescript/.models.FileStorageContainerSettings::|public|itemMajorVersionLimit:number
github.com/microsoftgraph/msgraph-sdk-typescript/.models.FileStorageContainerSettings::|public|odataType:string
github.com/microsoftgraph/msgraph-sdk-typescript/.models.FileStorageContainerSettings~~>AdditionalDataHolder; BackedModel; Parsable
github.com/microsoftgraph/msgraph-sdk-typescript/.models.fileStorageContainerStatus::0000-inactive
Expand Down Expand Up @@ -82107,6 +82109,7 @@ github.com/microsoftgraph/msgraph-sdk-typescript/.models.security.CvssSummary::|
github.com/microsoftgraph/msgraph-sdk-typescript/.models.security.CvssSummary~~>AdditionalDataHolder; BackedModel; Parsable
github.com/microsoftgraph/msgraph-sdk-typescript/.models.security.DataSet::|public|createdBy:IdentitySet
github.com/microsoftgraph/msgraph-sdk-typescript/.models.security.DataSet::|public|createdDateTime:Date
github.com/microsoftgraph/msgraph-sdk-typescript/.models.security.DataSet::|public|description:string
github.com/microsoftgraph/msgraph-sdk-typescript/.models.security.DataSet::|public|displayName:string
github.com/microsoftgraph/msgraph-sdk-typescript/.models.security.DataSet::|public|OdataType:string
github.com/microsoftgraph/msgraph-sdk-typescript/.models.security.DataSet~~>Entity; Parsable
Expand Down
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": "40F7E809DAB5A8CD74C54B0838FB352CC3CA08F14C087BCABEA87C73A3912985E5A29497367213728E27D7EE587297AA3C8BE29E13758F967F5AC2A1E568A4A9",
"descriptionHash": "7DE1D60B4770146166DBC5BAF6EC4D7D0C4ADA1BAAB34342110B806B114E571A6D6A7DDD11811A61DD54ADE00A246FCD4AFF7C7B0D450E3772ABBC26E419C655",
"descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml",
"lockFileVersion": "1.0.0",
"kiotaVersion": "1.21.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/msgraph-sdk-chats/chats/item/messages/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,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 can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create 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-1.0|Find more info here}
* @see {@link https://learn.microsoft.com/graph/api/chat-post-messages?view=graph-rest-1.0|Find more info here}
*/
post(body: ChatMessage, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<ChatMessage | undefined>;
/**
Expand All @@ -56,7 +56,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 can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create 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 @@ -52,16 +52,16 @@ export interface InvitePostRequestBody extends AdditionalDataHolder, BackedModel
*/
export interface InviteRequestBuilder extends BaseRequestBuilder<InviteRequestBuilder> {
/**
* Invite participants to the active call. For more information about how to handle operations, see commsOperation.
* Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<InviteParticipantsOperation>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/participant-invite?view=graph-rest-1.0|Find more info here}
* @see {@link https://learn.microsoft.com/graph/api/participant-delete?view=graph-rest-1.0|Find more info here}
*/
post(body: InvitePostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<InviteParticipantsOperation | undefined>;
/**
* Invite participants to the active call. For more information about how to handle operations, see commsOperation.
* Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled.
* @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 @@ -107,7 +107,7 @@ export interface DeviceAppManagementRequestBuilder extends BaseRequestBuilder<De
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<DeviceAppManagement>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/intune-books-deviceappmanagement-get?view=graph-rest-1.0|Find more info here}
* @see {@link https://learn.microsoft.com/graph/api/intune-apps-deviceappmanagement-get?view=graph-rest-1.0|Find more info here}
*/
get(requestConfiguration?: RequestConfiguration<DeviceAppManagementRequestBuilderGetQueryParameters> | undefined) : Promise<DeviceAppManagement | undefined>;
/**
Expand All @@ -116,7 +116,7 @@ export interface DeviceAppManagementRequestBuilder extends BaseRequestBuilder<De
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<DeviceAppManagement>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/intune-onboarding-deviceappmanagement-update?view=graph-rest-1.0|Find more info here}
* @see {@link https://learn.microsoft.com/graph/api/intune-partnerintegration-deviceappmanagement-update?view=graph-rest-1.0|Find more info here}
*/
patch(body: DeviceAppManagement, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<DeviceAppManagement | undefined>;
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ export interface ManagedAppPoliciesRequestBuilder extends BaseRequestBuilder<Man
*/
byManagedAppPolicyId(managedAppPolicyId: string) : ManagedAppPolicyItemRequestBuilder;
/**
* List properties and relationships of the windowsInformationProtection objects.
* List properties and relationships of the managedAppPolicy objects.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<ManagedAppPolicyCollectionResponse>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/intune-mam-windowsinformationprotection-list?view=graph-rest-1.0|Find more info here}
* @see {@link https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-list?view=graph-rest-1.0|Find more info here}
*/
get(requestConfiguration?: RequestConfiguration<ManagedAppPoliciesRequestBuilderGetQueryParameters> | undefined) : Promise<ManagedAppPolicyCollectionResponse | undefined>;
/**
Expand All @@ -43,7 +43,7 @@ export interface ManagedAppPoliciesRequestBuilder extends BaseRequestBuilder<Man
*/
post(body: ManagedAppPolicy, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<ManagedAppPolicy | undefined>;
/**
* List properties and relationships of the windowsInformationProtection objects.
* List properties and relationships of the managedAppPolicy objects.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
Expand All @@ -57,7 +57,7 @@ export interface ManagedAppPoliciesRequestBuilder extends BaseRequestBuilder<Man
toPostRequestInformation(body: ManagedAppPolicy, requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
}
/**
* List properties and relationships of the windowsInformationProtection objects.
* List properties and relationships of the managedAppPolicy objects.
*/
export interface ManagedAppPoliciesRequestBuilderGetQueryParameters {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ export interface ManagedAppPolicyItemRequestBuilder extends BaseRequestBuilder<M
*/
delete(requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<void>;
/**
* Read properties and relationships of the windowsInformationProtection object.
* Read properties and relationships of the managedAppProtection object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<ManagedAppPolicy>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/intune-mam-windowsinformationprotection-get?view=graph-rest-1.0|Find more info here}
* @see {@link https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-get?view=graph-rest-1.0|Find more info here}
*/
get(requestConfiguration?: RequestConfiguration<ManagedAppPolicyItemRequestBuilderGetQueryParameters> | undefined) : Promise<ManagedAppPolicy | undefined>;
/**
Expand All @@ -47,7 +47,7 @@ export interface ManagedAppPolicyItemRequestBuilder extends BaseRequestBuilder<M
*/
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
/**
* Read properties and relationships of the windowsInformationProtection object.
* Read properties and relationships of the managedAppProtection object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
Expand All @@ -61,7 +61,7 @@ export interface ManagedAppPolicyItemRequestBuilder extends BaseRequestBuilder<M
toPatchRequestInformation(body: ManagedAppPolicy, requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
}
/**
* Read properties and relationships of the windowsInformationProtection object.
* Read properties and relationships of the managedAppProtection object.
*/
export interface ManagedAppPolicyItemRequestBuilderGetQueryParameters {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ export interface ManagedAppRegistrationsRequestBuilder extends BaseRequestBuilde
*/
byManagedAppRegistrationId(managedAppRegistrationId: string) : ManagedAppRegistrationItemRequestBuilder;
/**
* List properties and relationships of the managedAppRegistration objects.
* List properties and relationships of the iosManagedAppRegistration objects.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<ManagedAppRegistrationCollectionResponse>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/intune-mam-managedappregistration-list?view=graph-rest-1.0|Find more info here}
* @see {@link https://learn.microsoft.com/graph/api/intune-mam-iosmanagedappregistration-list?view=graph-rest-1.0|Find more info here}
*/
get(requestConfiguration?: RequestConfiguration<ManagedAppRegistrationsRequestBuilderGetQueryParameters> | undefined) : Promise<ManagedAppRegistrationCollectionResponse | undefined>;
/**
Expand All @@ -50,7 +50,7 @@ export interface ManagedAppRegistrationsRequestBuilder extends BaseRequestBuilde
*/
post(body: ManagedAppRegistration, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<ManagedAppRegistration | undefined>;
/**
* List properties and relationships of the managedAppRegistration objects.
* List properties and relationships of the iosManagedAppRegistration objects.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
Expand All @@ -64,7 +64,7 @@ export interface ManagedAppRegistrationsRequestBuilder extends BaseRequestBuilde
toPostRequestInformation(body: ManagedAppRegistration, requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
}
/**
* List properties and relationships of the managedAppRegistration objects.
* List properties and relationships of the iosManagedAppRegistration objects.
*/
export interface ManagedAppRegistrationsRequestBuilderGetQueryParameters {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ export interface ManagedEBooksRequestBuilder extends BaseRequestBuilder<ManagedE
*/
byManagedEBookId(managedEBookId: string) : ManagedEBookItemRequestBuilder;
/**
* List properties and relationships of the managedEBook objects.
* List properties and relationships of the iosVppEBook objects.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<ManagedEBookCollectionResponse>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/intune-books-managedebook-list?view=graph-rest-1.0|Find more info here}
* @see {@link https://learn.microsoft.com/graph/api/intune-books-iosvppebook-list?view=graph-rest-1.0|Find more info here}
*/
get(requestConfiguration?: RequestConfiguration<ManagedEBooksRequestBuilderGetQueryParameters> | undefined) : Promise<ManagedEBookCollectionResponse | undefined>;
/**
Expand All @@ -44,7 +44,7 @@ export interface ManagedEBooksRequestBuilder extends BaseRequestBuilder<ManagedE
*/
post(body: ManagedEBook, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<ManagedEBook | undefined>;
/**
* List properties and relationships of the managedEBook objects.
* List properties and relationships of the iosVppEBook objects.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
Expand All @@ -58,7 +58,7 @@ export interface ManagedEBooksRequestBuilder extends BaseRequestBuilder<ManagedE
toPostRequestInformation(body: ManagedEBook, requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
}
/**
* List properties and relationships of the managedEBook objects.
* List properties and relationships of the iosVppEBook objects.
*/
export interface ManagedEBooksRequestBuilderGetQueryParameters {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ export interface AssignmentsRequestBuilder extends BaseRequestBuilder<Assignment
*/
byManagedEBookAssignmentId(managedEBookAssignmentId: string) : ManagedEBookAssignmentItemRequestBuilder;
/**
* List properties and relationships of the managedEBookAssignment objects.
* List properties and relationships of the iosVppEBookAssignment objects.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<ManagedEBookAssignmentCollectionResponse>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-list?view=graph-rest-1.0|Find more info here}
* @see {@link https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-list?view=graph-rest-1.0|Find more info here}
*/
get(requestConfiguration?: RequestConfiguration<AssignmentsRequestBuilderGetQueryParameters> | undefined) : Promise<ManagedEBookAssignmentCollectionResponse | undefined>;
/**
Expand All @@ -44,7 +44,7 @@ export interface AssignmentsRequestBuilder extends BaseRequestBuilder<Assignment
*/
post(body: ManagedEBookAssignment, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<ManagedEBookAssignment | undefined>;
/**
* List properties and relationships of the managedEBookAssignment objects.
* List properties and relationships of the iosVppEBookAssignment objects.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
Expand All @@ -58,7 +58,7 @@ export interface AssignmentsRequestBuilder extends BaseRequestBuilder<Assignment
toPostRequestInformation(body: ManagedEBookAssignment, requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
}
/**
* List properties and relationships of the managedEBookAssignment objects.
* List properties and relationships of the iosVppEBookAssignment objects.
*/
export interface AssignmentsRequestBuilderGetQueryParameters {
/**
Expand Down
Loading

0 comments on commit 80452fc

Please sign in to comment.