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
215 changes: 204 additions & 11 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": "5923E0D487FBF768915AC7D42314ADC8D3CA116F58083FEE708C9686987D146A8914F51788B76C472DD0BA9B1F74CF8F6A75B1EDCBAE56AD7381586F893EFCE9",
"descriptionHash": "7587270095F847B4F9D6561C294A106644F3B9D3DDD16B4CB41E1A9A01C5267AD0E1C136868B70F7E6DF836DA5E648F0198AD0F014CAE09BB363511795EC2B68",
"descriptionLocation": "../../msgraph-metadata/clean_beta_openapi/openapi.yaml",
"lockFileVersion": "1.0.0",
"kiotaVersion": "1.23.0",
Expand Down
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 a resourceConnection object.
* Read the properties and relationships of an operationalInsightsConnection 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-resourceconnection-get?view=graph-rest-beta|Find more info here}
* @see {@link https://learn.microsoft.com/graph/api/windowsupdates-operationalinsightsconnection-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 a resourceConnection object.
* Read the properties and relationships of an operationalInsightsConnection 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 a resourceConnection object.
* Read the properties and relationships of an operationalInsightsConnection object.
*/
export interface ResourceConnectionItemRequestBuilderGetQueryParameters {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,51 +19,51 @@ 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>;
/**
* Update the properties of a contentApproval object.
* Update the properties of a complianceChange object.
* @param body The request body
* @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-update?view=graph-rest-beta|Find more info here}
* @see {@link https://learn.microsoft.com/graph/api/windowsupdates-compliancechange-update?view=graph-rest-beta|Find more info here}
*/
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}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<ComplianceChangeItemRequestBuilderGetQueryParameters> | undefined) : RequestInformation;
/**
* Update the properties of a contentApproval object.
* Update the properties of a complianceChange object.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
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
36 changes: 36 additions & 0 deletions packages/msgraph-beta-sdk-app/app/calls/item/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,14 @@ import { RejectRequestBuilderRequestsMetadata, type RejectRequestBuilder } from
// @ts-ignore
import { SendDtmfTonesRequestBuilderRequestsMetadata, type SendDtmfTonesRequestBuilder } from './sendDtmfTones/index.js';
// @ts-ignore
import { StartRecordingRequestBuilderRequestsMetadata, type StartRecordingRequestBuilder } from './startRecording/index.js';
// @ts-ignore
import { StartTranscriptionRequestBuilderRequestsMetadata, type StartTranscriptionRequestBuilder } from './startTranscription/index.js';
// @ts-ignore
import { StopRecordingRequestBuilderRequestsMetadata, type StopRecordingRequestBuilder } from './stopRecording/index.js';
// @ts-ignore
import { StopTranscriptionRequestBuilderRequestsMetadata, type StopTranscriptionRequestBuilder } from './stopTranscription/index.js';
// @ts-ignore
import { SubscribeToToneRequestBuilderRequestsMetadata, type SubscribeToToneRequestBuilder } from './subscribeToTone/index.js';
// @ts-ignore
import { TransferRequestBuilderRequestsMetadata, type TransferRequestBuilder } from './transfer/index.js';
Expand Down Expand Up @@ -116,6 +124,22 @@ export interface CallItemRequestBuilder extends BaseRequestBuilder<CallItemReque
* Provides operations to call the sendDtmfTones method.
*/
get sendDtmfTones(): SendDtmfTonesRequestBuilder;
/**
* Provides operations to call the startRecording method.
*/
get startRecording(): StartRecordingRequestBuilder;
/**
* Provides operations to call the startTranscription method.
*/
get startTranscription(): StartTranscriptionRequestBuilder;
/**
* Provides operations to call the stopRecording method.
*/
get stopRecording(): StopRecordingRequestBuilder;
/**
* Provides operations to call the stopTranscription method.
*/
get stopTranscription(): StopTranscriptionRequestBuilder;
/**
* Provides operations to call the subscribeToTone method.
*/
Expand Down Expand Up @@ -253,6 +277,18 @@ export const CallItemRequestBuilderNavigationMetadata: Record<Exclude<keyof Call
sendDtmfTones: {
requestsMetadata: SendDtmfTonesRequestBuilderRequestsMetadata,
},
startRecording: {
requestsMetadata: StartRecordingRequestBuilderRequestsMetadata,
},
startTranscription: {
requestsMetadata: StartTranscriptionRequestBuilderRequestsMetadata,
},
stopRecording: {
requestsMetadata: StopRecordingRequestBuilderRequestsMetadata,
},
stopTranscription: {
requestsMetadata: StopTranscriptionRequestBuilderRequestsMetadata,
},
subscribeToTone: {
requestsMetadata: SubscribeToToneRequestBuilderRequestsMetadata,
},
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-beta|Find more info here}
* @see {@link https://learn.microsoft.com/graph/api/participant-invite?view=graph-rest-beta|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
@@ -0,0 +1,98 @@
/* tslint:disable */
/* eslint-disable */
// Generated by Microsoft Kiota
// @ts-ignore
import { createStartRecordingOperationFromDiscriminatorValue, serializeStartRecordingOperation, type StartRecordingOperation } 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 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';

/**
* 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 {StartRecordingPostRequestBody}
*/
// @ts-ignore
export function createStartRecordingPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined) : ((instance?: Parsable) => Record<string, (node: ParseNode) => void>) {
return deserializeIntoStartRecordingPostRequestBody;
}
/**
* The deserialization information for the current model
* @returns {Record<string, (node: ParseNode) => void>}
*/
// @ts-ignore
export function deserializeIntoStartRecordingPostRequestBody(startRecordingPostRequestBody: Partial<StartRecordingPostRequestBody> | undefined = {}) : Record<string, (node: ParseNode) => void> {
return {
"backingStoreEnabled": n => { startRecordingPostRequestBody.backingStoreEnabled = true; },
"clientContext": n => { startRecordingPostRequestBody.clientContext = n.getStringValue(); },
}
}
/**
* Serializes information the current object
* @param writer Serialization writer to use to serialize this model
*/
// @ts-ignore
export function serializeStartRecordingPostRequestBody(writer: SerializationWriter, startRecordingPostRequestBody: Partial<StartRecordingPostRequestBody> | undefined | null = {}) : void {
if (startRecordingPostRequestBody) {
writer.writeStringValue("clientContext", startRecordingPostRequestBody.clientContext);
writer.writeAdditionalData(startRecordingPostRequestBody.additionalData);
}
}
export interface StartRecordingPostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
/**
* Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
*/
additionalData?: Record<string, unknown>;
/**
* Stores model information.
*/
backingStoreEnabled?: boolean | null;
/**
* The clientContext property
*/
clientContext?: string | null;
}
/**
* Provides operations to call the startRecording method.
*/
export interface StartRecordingRequestBuilder extends BaseRequestBuilder<StartRecordingRequestBuilder> {
/**
* Invoke action startRecording
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<StartRecordingOperation>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
post(body: StartRecordingPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<StartRecordingOperation | undefined>;
/**
* Invoke action startRecording
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toPostRequestInformation(body: StartRecordingPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
}
/**
* Uri template for the request builder.
*/
export const StartRecordingRequestBuilderUriTemplate = "{+baseurl}/app/calls/{call%2Did}/startRecording";
/**
* Metadata for all the requests in the request builder.
*/
export const StartRecordingRequestBuilderRequestsMetadata: RequestsMetadata = {
post: {
uriTemplate: StartRecordingRequestBuilderUriTemplate,
responseBodyContentType: "application/json",
errorMappings: {
XXX: createODataErrorFromDiscriminatorValue as ParsableFactory<Parsable>,
},
adapterMethodName: "send",
responseBodyFactory: createStartRecordingOperationFromDiscriminatorValue,
requestBodyContentType: "application/json",
requestBodySerializer: serializeStartRecordingPostRequestBody,
requestInformationContentSetMethod: "setContentFromParsable",
},
};
/* tslint:enable */
/* eslint-enable */
Loading
Loading