Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generated models and request builders #672

Closed
wants to merge 1 commit into from
Closed
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
13 changes: 10 additions & 3 deletions packages/kiota-dom-export.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18536,11 +18536,18 @@ github.com/microsoftgraph/msgraph-sdk-typescript/.domains.item.verificationDnsRe
github.com/microsoftgraph/msgraph-sdk-typescript/.domains.item.verificationDnsRecords.verificationDnsRecordsRequestBuilderRequestsMetadata
github.com/microsoftgraph/msgraph-sdk-typescript/.domains.item.verificationDnsRecords.verificationDnsRecordsRequestBuilderUriTemplate
github.com/microsoftgraph/msgraph-sdk-typescript/.domains.item.verificationDnsRecords.verificationDnsRecordsRequestBuilder~~>BaseRequestBuilder<VerificationDnsRecordsRequestBuilder>
github.com/microsoftgraph/msgraph-sdk-typescript/.domains.item.verify.verifyRequestBuilder::|public|post(requestConfiguration?:RequestConfiguration<object>):Domain
github.com/microsoftgraph/msgraph-sdk-typescript/.domains.item.verify.verifyRequestBuilder::|public|toPostRequestInformation(requestConfiguration?:RequestConfiguration<object>):RequestInformation
github.com/microsoftgraph/msgraph-sdk-typescript/.domains.item.verify.VerifyPostRequestBody::|public|AdditionalData:Record<string, unknown>
github.com/microsoftgraph/msgraph-sdk-typescript/.domains.item.verify.VerifyPostRequestBody::|public|backingStoreEnabled:boolean
github.com/microsoftgraph/msgraph-sdk-typescript/.domains.item.verify.VerifyPostRequestBody::|public|forceTakeover:boolean
github.com/microsoftgraph/msgraph-sdk-typescript/.domains.item.verify.VerifyPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable
github.com/microsoftgraph/msgraph-sdk-typescript/.domains.item.verify.verifyRequestBuilder::|public|post(body:VerifyPostRequestBody; requestConfiguration?:RequestConfiguration<object>):Domain
github.com/microsoftgraph/msgraph-sdk-typescript/.domains.item.verify.verifyRequestBuilder::|public|toPostRequestInformation(body:VerifyPostRequestBody; requestConfiguration?:RequestConfiguration<object>):RequestInformation
github.com/microsoftgraph/msgraph-sdk-typescript/.domains.item.verify.verifyRequestBuilderRequestsMetadata
github.com/microsoftgraph/msgraph-sdk-typescript/.domains.item.verify.verifyRequestBuilderUriTemplate
github.com/microsoftgraph/msgraph-sdk-typescript/.domains.item.verify.verifyRequestBuilder~~>BaseRequestBuilder<VerifyRequestBuilder>
github.com/microsoftgraph/msgraph-sdk-typescript/.domains.item.verify::createVerifyPostRequestBodyFromDiscriminatorValue(parseNode:ParseNode):VerifyPostRequestBody
github.com/microsoftgraph/msgraph-sdk-typescript/.domains.item.verify::deserializeIntoVerifyPostRequestBody(VerifyPostRequestBody:VerifyPostRequestBody={}):Record<string, (node: ParseNode) => void>
github.com/microsoftgraph/msgraph-sdk-typescript/.domains.item.verify::serializeVerifyPostRequestBody(writer:SerializationWriter; VerifyPostRequestBody:VerifyPostRequestBody={}):void
github.com/microsoftgraph/msgraph-sdk-typescript/.drives.drivesRequestBuilder::|public|byDriveId(driveId:string):DriveItemRequestBuilder
github.com/microsoftgraph/msgraph-sdk-typescript/.drives.drivesRequestBuilder::|public|get(requestConfiguration?:RequestConfiguration<DrivesRequestBuilderGetQueryParameters>):DriveCollectionResponse
github.com/microsoftgraph/msgraph-sdk-typescript/.drives.drivesRequestBuilder::|public|post(body:Drive; requestConfiguration?:RequestConfiguration<object>):Drive
Expand Down Expand Up @@ -82787,7 +82794,7 @@ github.com/microsoftgraph/msgraph-sdk-typescript/.models.security.IoTDeviceEvide
github.com/microsoftgraph/msgraph-sdk-typescript/.models.security.IoTDeviceEvidence::|public|macAddress:string
github.com/microsoftgraph/msgraph-sdk-typescript/.models.security.IoTDeviceEvidence::|public|manufacturer:string
github.com/microsoftgraph/msgraph-sdk-typescript/.models.security.IoTDeviceEvidence::|public|model:string
github.com/microsoftgraph/msgraph-sdk-typescript/.models.security.IoTDeviceEvidence::|public|nics:NicEvidence
github.com/microsoftgraph/msgraph-sdk-typescript/.models.security.IoTDeviceEvidence::|public|nics:NicEvidence[]
github.com/microsoftgraph/msgraph-sdk-typescript/.models.security.IoTDeviceEvidence::|public|OdataType:string
github.com/microsoftgraph/msgraph-sdk-typescript/.models.security.IoTDeviceEvidence::|public|operatingSystem:string
github.com/microsoftgraph/msgraph-sdk-typescript/.models.security.IoTDeviceEvidence::|public|owners:string[]
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": "2BF02FFCF2FBE23223C24076C7154388B0CB7B09BC5341136B488E8D47CF49F0AD70E439B3A59487FA32E02BB4F661DE6CC2989A7A182024A2A8A9056D34E64A",
"descriptionHash": "1BB5AB11224FA09CF37CDCBAB9CEA69C5FEC0751011022BAE0048FD08DC131E3FE80EB705B12A83943FDA37D67E9E4BD06EAD0EAF5350E6A39E9EA50733138F8",
"descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml",
"lockFileVersion": "1.0.0",
"kiotaVersion": "1.20.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 @@ -41,21 +41,21 @@ export interface GetPstnCallsWithFromDateTimeWithToDateTimeGetResponse extends B
*/
export interface MicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTimeRequestBuilder extends BaseRequestBuilder<MicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTimeRequestBuilder> {
/**
* Get log of PSTN calls as a collection of pstnCallLogRow entries.
* Get a log of PSTN calls as a collection of pstnCallLogRow entries.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<GetPstnCallsWithFromDateTimeWithToDateTimeGetResponse>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
get(requestConfiguration?: RequestConfiguration<MicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTimeRequestBuilderGetQueryParameters> | undefined) : Promise<GetPstnCallsWithFromDateTimeWithToDateTimeGetResponse | undefined>;
/**
* Get log of PSTN calls as a collection of pstnCallLogRow entries.
* Get a log of PSTN calls as a collection of pstnCallLogRow entries.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<MicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTimeRequestBuilderGetQueryParameters> | undefined) : RequestInformation;
}
/**
* Get log of PSTN calls as a collection of pstnCallLogRow entries.
* Get a log of PSTN calls as a collection of pstnCallLogRow entries.
*/
export interface MicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTimeRequestBuilderGetQueryParameters {
/**
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> {
/**
* 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.
* Invite participants to the active call. For more information about how to handle operations, see commsOperation.
* @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-delete?view=graph-rest-1.0|Find more info here}
* @see {@link https://learn.microsoft.com/graph/api/participant-invite?view=graph-rest-1.0|Find more info here}
*/
post(body: InvitePostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<InviteParticipantsOperation | undefined>;
/**
* 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.
* Invite participants to the active call. For more information about how to handle operations, see commsOperation.
* @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-partnerintegration-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-apps-deviceappmanagement-update?view=graph-rest-1.0|Find more info here}
* @see {@link https://learn.microsoft.com/graph/api/intune-policyset-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 managedAppPolicy objects.
* List properties and relationships of the windowsInformationProtection 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-managedapppolicy-list?view=graph-rest-1.0|Find more info here}
* @see {@link https://learn.microsoft.com/graph/api/intune-mam-windowsinformationprotection-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 managedAppPolicy objects.
* List properties and relationships of the windowsInformationProtection 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 managedAppPolicy objects.
* List properties and relationships of the windowsInformationProtection 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 managedAppPolicy 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-managedapppolicy-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 managedAppPolicy 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 managedAppPolicy 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 @@ -37,11 +37,11 @@ export interface ManagedAppRegistrationItemRequestBuilder extends BaseRequestBui
*/
delete(requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<void>;
/**
* Read properties and relationships of the androidManagedAppRegistration object.
* Read properties and relationships of the iosManagedAppRegistration object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<ManagedAppRegistration>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/intune-mam-androidmanagedappregistration-get?view=graph-rest-1.0|Find more info here}
* @see {@link https://learn.microsoft.com/graph/api/intune-mam-iosmanagedappregistration-get?view=graph-rest-1.0|Find more info here}
*/
get(requestConfiguration?: RequestConfiguration<ManagedAppRegistrationItemRequestBuilderGetQueryParameters> | undefined) : Promise<ManagedAppRegistration | undefined>;
/**
Expand All @@ -59,7 +59,7 @@ export interface ManagedAppRegistrationItemRequestBuilder extends BaseRequestBui
*/
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
/**
* Read properties and relationships of the androidManagedAppRegistration object.
* Read properties and relationships of the iosManagedAppRegistration object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
Expand All @@ -73,7 +73,7 @@ export interface ManagedAppRegistrationItemRequestBuilder extends BaseRequestBui
toPatchRequestInformation(body: ManagedAppRegistration, requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
}
/**
* Read properties and relationships of the androidManagedAppRegistration object.
* Read properties and relationships of the iosManagedAppRegistration object.
*/
export interface ManagedAppRegistrationItemRequestBuilderGetQueryParameters {
/**
Expand Down
Loading