@microsoft/msgraph-sdk-communications 1.0.0-preview.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +11 -0
- package/communications/callRecords/count/index.d.ts +40 -0
- package/communications/callRecords/count/index.d.ts.map +1 -0
- package/communications/callRecords/count/index.js +35 -0
- package/communications/callRecords/index.d.ts +111 -0
- package/communications/callRecords/index.d.ts.map +1 -0
- package/communications/callRecords/index.js +81 -0
- package/communications/callRecords/item/index.d.ts +76 -0
- package/communications/callRecords/item/index.d.ts.map +1 -0
- package/communications/callRecords/item/index.js +67 -0
- package/communications/callRecords/item/sessions/count/index.d.ts +40 -0
- package/communications/callRecords/item/sessions/count/index.d.ts.map +1 -0
- package/communications/callRecords/item/sessions/count/index.js +35 -0
- package/communications/callRecords/item/sessions/index.d.ts +96 -0
- package/communications/callRecords/item/sessions/index.d.ts.map +1 -0
- package/communications/callRecords/item/sessions/index.js +71 -0
- package/communications/callRecords/item/sessions/item/index.d.ts +75 -0
- package/communications/callRecords/item/sessions/item/index.d.ts.map +1 -0
- package/communications/callRecords/item/sessions/item/index.js +67 -0
- package/communications/callRecords/item/sessions/item/segments/count/index.d.ts +40 -0
- package/communications/callRecords/item/sessions/item/segments/count/index.d.ts.map +1 -0
- package/communications/callRecords/item/sessions/item/segments/count/index.js +35 -0
- package/communications/callRecords/item/sessions/item/segments/index.d.ts +95 -0
- package/communications/callRecords/item/sessions/item/segments/index.d.ts.map +1 -0
- package/communications/callRecords/item/sessions/item/segments/index.js +70 -0
- package/communications/callRecords/item/sessions/item/segments/item/index.d.ts +66 -0
- package/communications/callRecords/item/sessions/item/segments/item/index.d.ts.map +1 -0
- package/communications/callRecords/item/sessions/item/segments/item/index.js +56 -0
- package/communications/callRecords/microsoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTime/index.d.ts +76 -0
- package/communications/callRecords/microsoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTime/index.d.ts.map +1 -0
- package/communications/callRecords/microsoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTime/index.js +66 -0
- package/communications/callRecords/microsoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTime/index.d.ts +76 -0
- package/communications/callRecords/microsoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTime/index.d.ts.map +1 -0
- package/communications/callRecords/microsoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTime/index.js +66 -0
- package/communications/calls/count/index.d.ts +40 -0
- package/communications/calls/count/index.d.ts.map +1 -0
- package/communications/calls/count/index.js +35 -0
- package/communications/calls/index.d.ts +101 -0
- package/communications/calls/index.d.ts.map +1 -0
- package/communications/calls/index.js +76 -0
- package/communications/calls/item/addLargeGalleryView/index.d.ts +61 -0
- package/communications/calls/item/addLargeGalleryView/index.d.ts.map +1 -0
- package/communications/calls/item/addLargeGalleryView/index.js +60 -0
- package/communications/calls/item/answer/index.d.ts +76 -0
- package/communications/calls/item/answer/index.d.ts.map +1 -0
- package/communications/calls/item/answer/index.js +68 -0
- package/communications/calls/item/audioRoutingGroups/count/index.d.ts +40 -0
- package/communications/calls/item/audioRoutingGroups/count/index.d.ts.map +1 -0
- package/communications/calls/item/audioRoutingGroups/count/index.js +35 -0
- package/communications/calls/item/audioRoutingGroups/index.d.ts +97 -0
- package/communications/calls/item/audioRoutingGroups/index.d.ts.map +1 -0
- package/communications/calls/item/audioRoutingGroups/index.js +70 -0
- package/communications/calls/item/audioRoutingGroups/item/index.d.ts +69 -0
- package/communications/calls/item/audioRoutingGroups/item/index.d.ts.map +1 -0
- package/communications/calls/item/audioRoutingGroups/item/index.js +56 -0
- package/communications/calls/item/cancelMediaProcessing/index.d.ts +61 -0
- package/communications/calls/item/cancelMediaProcessing/index.d.ts.map +1 -0
- package/communications/calls/item/cancelMediaProcessing/index.js +60 -0
- package/communications/calls/item/changeScreenSharingRole/index.d.ts +60 -0
- package/communications/calls/item/changeScreenSharingRole/index.d.ts.map +1 -0
- package/communications/calls/item/changeScreenSharingRole/index.js +59 -0
- package/communications/calls/item/contentSharingSessions/count/index.d.ts +40 -0
- package/communications/calls/item/contentSharingSessions/count/index.d.ts.map +1 -0
- package/communications/calls/item/contentSharingSessions/count/index.js +35 -0
- package/communications/calls/item/contentSharingSessions/index.d.ts +96 -0
- package/communications/calls/item/contentSharingSessions/index.d.ts.map +1 -0
- package/communications/calls/item/contentSharingSessions/index.js +70 -0
- package/communications/calls/item/contentSharingSessions/item/index.d.ts +67 -0
- package/communications/calls/item/contentSharingSessions/item/index.d.ts.map +1 -0
- package/communications/calls/item/contentSharingSessions/item/index.js +56 -0
- package/communications/calls/item/index.d.ts +167 -0
- package/communications/calls/item/index.d.ts.map +1 -0
- package/communications/calls/item/index.js +160 -0
- package/communications/calls/item/keepAlive/index.d.ts +27 -0
- package/communications/calls/item/keepAlive/index.d.ts.map +1 -0
- package/communications/calls/item/keepAlive/index.js +26 -0
- package/communications/calls/item/mute/index.d.ts +61 -0
- package/communications/calls/item/mute/index.d.ts.map +1 -0
- package/communications/calls/item/mute/index.js +60 -0
- package/communications/calls/item/operations/count/index.d.ts +40 -0
- package/communications/calls/item/operations/count/index.d.ts.map +1 -0
- package/communications/calls/item/operations/count/index.js +35 -0
- package/communications/calls/item/operations/index.d.ts +95 -0
- package/communications/calls/item/operations/index.d.ts.map +1 -0
- package/communications/calls/item/operations/index.js +70 -0
- package/communications/calls/item/operations/item/index.d.ts +67 -0
- package/communications/calls/item/operations/item/index.d.ts.map +1 -0
- package/communications/calls/item/operations/item/index.js +56 -0
- package/communications/calls/item/participants/count/index.d.ts +40 -0
- package/communications/calls/item/participants/count/index.d.ts.map +1 -0
- package/communications/calls/item/participants/count/index.js +35 -0
- package/communications/calls/item/participants/index.d.ts +101 -0
- package/communications/calls/item/participants/index.d.ts.map +1 -0
- package/communications/calls/item/participants/index.js +76 -0
- package/communications/calls/item/participants/invite/index.d.ts +65 -0
- package/communications/calls/item/participants/invite/index.d.ts.map +1 -0
- package/communications/calls/item/participants/invite/index.js +62 -0
- package/communications/calls/item/participants/item/index.d.ts +87 -0
- package/communications/calls/item/participants/item/index.d.ts.map +1 -0
- package/communications/calls/item/participants/item/index.js +76 -0
- package/communications/calls/item/participants/item/mute/index.d.ts +61 -0
- package/communications/calls/item/participants/item/mute/index.d.ts.map +1 -0
- package/communications/calls/item/participants/item/mute/index.js +60 -0
- package/communications/calls/item/participants/item/startHoldMusic/index.d.ts +65 -0
- package/communications/calls/item/participants/item/startHoldMusic/index.d.ts.map +1 -0
- package/communications/calls/item/participants/item/startHoldMusic/index.js +62 -0
- package/communications/calls/item/participants/item/stopHoldMusic/index.d.ts +61 -0
- package/communications/calls/item/participants/item/stopHoldMusic/index.d.ts.map +1 -0
- package/communications/calls/item/participants/item/stopHoldMusic/index.js +60 -0
- package/communications/calls/item/playPrompt/index.d.ts +65 -0
- package/communications/calls/item/playPrompt/index.d.ts.map +1 -0
- package/communications/calls/item/playPrompt/index.js +62 -0
- package/communications/calls/item/recordResponse/index.d.ts +89 -0
- package/communications/calls/item/recordResponse/index.d.ts.map +1 -0
- package/communications/calls/item/recordResponse/index.js +74 -0
- package/communications/calls/item/redirect/index.d.ts +68 -0
- package/communications/calls/item/redirect/index.d.ts.map +1 -0
- package/communications/calls/item/redirect/index.js +63 -0
- package/communications/calls/item/reject/index.d.ts +64 -0
- package/communications/calls/item/reject/index.d.ts.map +1 -0
- package/communications/calls/item/reject/index.js +61 -0
- package/communications/calls/item/sendDtmfTones/index.d.ts +68 -0
- package/communications/calls/item/sendDtmfTones/index.d.ts.map +1 -0
- package/communications/calls/item/sendDtmfTones/index.js +65 -0
- package/communications/calls/item/subscribeToTone/index.d.ts +61 -0
- package/communications/calls/item/subscribeToTone/index.d.ts.map +1 -0
- package/communications/calls/item/subscribeToTone/index.js +60 -0
- package/communications/calls/item/transfer/index.d.ts +64 -0
- package/communications/calls/item/transfer/index.d.ts.map +1 -0
- package/communications/calls/item/transfer/index.js +61 -0
- package/communications/calls/item/unmute/index.d.ts +61 -0
- package/communications/calls/item/unmute/index.d.ts.map +1 -0
- package/communications/calls/item/unmute/index.js +60 -0
- package/communications/calls/item/updateRecordingStatus/index.d.ts +65 -0
- package/communications/calls/item/updateRecordingStatus/index.d.ts.map +1 -0
- package/communications/calls/item/updateRecordingStatus/index.js +62 -0
- package/communications/calls/logTeleconferenceDeviceQuality/index.d.ts +60 -0
- package/communications/calls/logTeleconferenceDeviceQuality/index.d.ts.map +1 -0
- package/communications/calls/logTeleconferenceDeviceQuality/index.js +59 -0
- package/communications/getPresencesByUserId/index.d.ts +83 -0
- package/communications/getPresencesByUserId/index.d.ts.map +1 -0
- package/communications/getPresencesByUserId/index.js +86 -0
- package/communications/index.d.ts +84 -0
- package/communications/index.d.ts.map +1 -0
- package/communications/index.js +82 -0
- package/communications/onlineMeetings/count/index.d.ts +40 -0
- package/communications/onlineMeetings/count/index.d.ts.map +1 -0
- package/communications/onlineMeetings/count/index.js +35 -0
- package/communications/onlineMeetings/createOrGet/index.d.ts +81 -0
- package/communications/onlineMeetings/createOrGet/index.d.ts.map +1 -0
- package/communications/onlineMeetings/createOrGet/index.js +70 -0
- package/communications/onlineMeetings/index.d.ts +101 -0
- package/communications/onlineMeetings/index.d.ts.map +1 -0
- package/communications/onlineMeetings/index.js +76 -0
- package/communications/onlineMeetings/item/attendanceReports/count/index.d.ts +40 -0
- package/communications/onlineMeetings/item/attendanceReports/count/index.d.ts.map +1 -0
- package/communications/onlineMeetings/item/attendanceReports/count/index.js +35 -0
- package/communications/onlineMeetings/item/attendanceReports/index.d.ts +95 -0
- package/communications/onlineMeetings/item/attendanceReports/index.d.ts.map +1 -0
- package/communications/onlineMeetings/item/attendanceReports/index.js +71 -0
- package/communications/onlineMeetings/item/attendanceReports/item/attendanceRecords/count/index.d.ts +40 -0
- package/communications/onlineMeetings/item/attendanceReports/item/attendanceRecords/count/index.d.ts.map +1 -0
- package/communications/onlineMeetings/item/attendanceReports/item/attendanceRecords/count/index.js +35 -0
- package/communications/onlineMeetings/item/attendanceReports/item/attendanceRecords/index.d.ts +96 -0
- package/communications/onlineMeetings/item/attendanceReports/item/attendanceRecords/index.d.ts.map +1 -0
- package/communications/onlineMeetings/item/attendanceReports/item/attendanceRecords/index.js +70 -0
- package/communications/onlineMeetings/item/attendanceReports/item/attendanceRecords/item/index.d.ts +66 -0
- package/communications/onlineMeetings/item/attendanceReports/item/attendanceRecords/item/index.d.ts.map +1 -0
- package/communications/onlineMeetings/item/attendanceReports/item/attendanceRecords/item/index.js +56 -0
- package/communications/onlineMeetings/item/attendanceReports/item/index.d.ts +75 -0
- package/communications/onlineMeetings/item/attendanceReports/item/index.d.ts.map +1 -0
- package/communications/onlineMeetings/item/attendanceReports/item/index.js +67 -0
- package/communications/onlineMeetings/item/attendeeReport/index.d.ts +42 -0
- package/communications/onlineMeetings/item/attendeeReport/index.d.ts.map +1 -0
- package/communications/onlineMeetings/item/attendeeReport/index.js +38 -0
- package/communications/onlineMeetings/item/getVirtualAppointmentJoinWebUrl/index.d.ts +57 -0
- package/communications/onlineMeetings/item/getVirtualAppointmentJoinWebUrl/index.d.ts.map +1 -0
- package/communications/onlineMeetings/item/getVirtualAppointmentJoinWebUrl/index.js +56 -0
- package/communications/onlineMeetings/item/index.d.ts +95 -0
- package/communications/onlineMeetings/item/index.d.ts.map +1 -0
- package/communications/onlineMeetings/item/index.js +89 -0
- package/communications/onlineMeetings/item/recordings/count/index.d.ts +40 -0
- package/communications/onlineMeetings/item/recordings/count/index.d.ts.map +1 -0
- package/communications/onlineMeetings/item/recordings/count/index.js +35 -0
- package/communications/onlineMeetings/item/recordings/index.d.ts +95 -0
- package/communications/onlineMeetings/item/recordings/index.d.ts.map +1 -0
- package/communications/onlineMeetings/item/recordings/index.js +71 -0
- package/communications/onlineMeetings/item/recordings/item/content/index.d.ts +42 -0
- package/communications/onlineMeetings/item/recordings/item/content/index.d.ts.map +1 -0
- package/communications/onlineMeetings/item/recordings/item/content/index.js +39 -0
- package/communications/onlineMeetings/item/recordings/item/index.d.ts +76 -0
- package/communications/onlineMeetings/item/recordings/item/index.d.ts.map +1 -0
- package/communications/onlineMeetings/item/recordings/item/index.js +66 -0
- package/communications/onlineMeetings/item/transcripts/count/index.d.ts +40 -0
- package/communications/onlineMeetings/item/transcripts/count/index.d.ts.map +1 -0
- package/communications/onlineMeetings/item/transcripts/count/index.js +35 -0
- package/communications/onlineMeetings/item/transcripts/index.d.ts +96 -0
- package/communications/onlineMeetings/item/transcripts/index.d.ts.map +1 -0
- package/communications/onlineMeetings/item/transcripts/index.js +71 -0
- package/communications/onlineMeetings/item/transcripts/item/content/index.d.ts +43 -0
- package/communications/onlineMeetings/item/transcripts/item/content/index.d.ts.map +1 -0
- package/communications/onlineMeetings/item/transcripts/item/content/index.js +39 -0
- package/communications/onlineMeetings/item/transcripts/item/index.d.ts +81 -0
- package/communications/onlineMeetings/item/transcripts/item/index.d.ts.map +1 -0
- package/communications/onlineMeetings/item/transcripts/item/index.js +71 -0
- package/communications/onlineMeetings/item/transcripts/item/metadataContent/index.d.ts +42 -0
- package/communications/onlineMeetings/item/transcripts/item/metadataContent/index.d.ts.map +1 -0
- package/communications/onlineMeetings/item/transcripts/item/metadataContent/index.js +38 -0
- package/communications/presences/count/index.d.ts +40 -0
- package/communications/presences/count/index.d.ts.map +1 -0
- package/communications/presences/count/index.js +35 -0
- package/communications/presences/index.d.ts +95 -0
- package/communications/presences/index.d.ts.map +1 -0
- package/communications/presences/index.js +71 -0
- package/communications/presences/item/clearPresence/index.d.ts +59 -0
- package/communications/presences/item/clearPresence/index.d.ts.map +1 -0
- package/communications/presences/item/clearPresence/index.js +58 -0
- package/communications/presences/item/clearUserPreferredPresence/index.d.ts +27 -0
- package/communications/presences/item/clearUserPreferredPresence/index.d.ts.map +1 -0
- package/communications/presences/item/clearUserPreferredPresence/index.js +26 -0
- package/communications/presences/item/index.d.ts +96 -0
- package/communications/presences/item/index.d.ts.map +1 -0
- package/communications/presences/item/index.js +86 -0
- package/communications/presences/item/setPresence/index.d.ts +71 -0
- package/communications/presences/item/setPresence/index.d.ts.map +1 -0
- package/communications/presences/item/setPresence/index.js +64 -0
- package/communications/presences/item/setStatusMessage/index.d.ts +60 -0
- package/communications/presences/item/setStatusMessage/index.d.ts.map +1 -0
- package/communications/presences/item/setStatusMessage/index.js +59 -0
- package/communications/presences/item/setUserPreferredPresence/index.d.ts +67 -0
- package/communications/presences/item/setUserPreferredPresence/index.d.ts.map +1 -0
- package/communications/presences/item/setUserPreferredPresence/index.js +62 -0
- package/communicationsServiceClient.d.ts +25 -0
- package/communicationsServiceClient.d.ts.map +1 -0
- package/communicationsServiceClient.js +49 -0
- package/index.d.ts +11 -0
- package/index.d.ts.map +1 -0
- package/index.js +20 -0
- package/package.json +48 -0
- package/tsconfig.json +15 -0
- package/tsconfig.tsbuildinfo +1 -0
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { type PlayPromptOperation, type Prompt } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type AdditionalDataHolder, type BackedModel, type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
|
|
3
|
+
/**
|
|
4
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
5
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
6
|
+
* @returns a playPromptPostRequestBody
|
|
7
|
+
*/
|
|
8
|
+
export declare function createPlayPromptPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoPlayPromptPostRequestBody;
|
|
9
|
+
/**
|
|
10
|
+
* The deserialization information for the current model
|
|
11
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
12
|
+
*/
|
|
13
|
+
export declare function deserializeIntoPlayPromptPostRequestBody(playPromptPostRequestBody?: PlayPromptPostRequestBody | undefined): Record<string, (node: ParseNode) => void>;
|
|
14
|
+
export interface PlayPromptPostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
|
|
15
|
+
/**
|
|
16
|
+
* Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
17
|
+
*/
|
|
18
|
+
additionalData?: Record<string, unknown>;
|
|
19
|
+
/**
|
|
20
|
+
* Stores model information.
|
|
21
|
+
*/
|
|
22
|
+
backingStoreEnabled?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* The clientContext property
|
|
25
|
+
*/
|
|
26
|
+
clientContext?: string;
|
|
27
|
+
/**
|
|
28
|
+
* The prompts property
|
|
29
|
+
*/
|
|
30
|
+
prompts?: Prompt[];
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Provides operations to call the playPrompt method.
|
|
34
|
+
*/
|
|
35
|
+
export interface PlayPromptRequestBuilder extends BaseRequestBuilder<PlayPromptRequestBuilder> {
|
|
36
|
+
/**
|
|
37
|
+
* Play a prompt in the call. For more information about how to handle operations, see commsOperation
|
|
38
|
+
* @param body The request body
|
|
39
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
40
|
+
* @returns a Promise of PlayPromptOperation
|
|
41
|
+
* @see {@link https://learn.microsoft.com/graph/api/call-playprompt?view=graph-rest-1.0|Find more info here}
|
|
42
|
+
*/
|
|
43
|
+
post(body: PlayPromptPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<PlayPromptOperation | undefined>;
|
|
44
|
+
/**
|
|
45
|
+
* Play a prompt in the call. For more information about how to handle operations, see commsOperation
|
|
46
|
+
* @param body The request body
|
|
47
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
48
|
+
* @returns a RequestInformation
|
|
49
|
+
*/
|
|
50
|
+
toPostRequestInformation(body: PlayPromptPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Serializes information the current object
|
|
54
|
+
* @param writer Serialization writer to use to serialize this model
|
|
55
|
+
*/
|
|
56
|
+
export declare function serializePlayPromptPostRequestBody(writer: SerializationWriter, playPromptPostRequestBody?: PlayPromptPostRequestBody | undefined): void;
|
|
57
|
+
/**
|
|
58
|
+
* Metadata for all the requests in the request builder.
|
|
59
|
+
*/
|
|
60
|
+
export declare const PlayPromptRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
61
|
+
/**
|
|
62
|
+
* Uri template for the request builder.
|
|
63
|
+
*/
|
|
64
|
+
export declare const PlayPromptRequestBuilderUriTemplate = "{+baseurl}/communications/calls/{call%2Did}/playPrompt";
|
|
65
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAsI,KAAK,mBAAmB,EAAE,KAAK,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAE3N,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,WAAW,EAAqB,KAAK,kBAAkB,EAAE,KAAK,QAAQ,EAAwB,KAAK,SAAS,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAElS;;;;GAIG;AACH,wBAAgB,qDAAqD,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,mDAErG;AACD;;;GAGG;AACH,wBAAgB,wCAAwC,CAAC,yBAAyB,GAAE,yBAAyB,GAAG,SAA2C,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAMvM;AACD,MAAM,WAAW,yBAA0B,SAAQ,oBAAoB,EAAE,WAAW,EAAE,QAAQ;IAC1F;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzC;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;CACtB;AACD;;GAEG;AACH,MAAM,WAAW,wBAAyB,SAAQ,kBAAkB,CAAC,wBAAwB,CAAC;IAC1F;;;;;;OAMG;IACF,IAAI,CAAC,IAAI,EAAE,yBAAyB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,mBAAmB,GAAG,SAAS,CAAC,CAAC;IACnJ;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,yBAAyB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACpJ;AACD;;;GAGG;AACH,wBAAgB,kCAAkC,CAAC,MAAM,EAAE,mBAAmB,EAAE,yBAAyB,GAAE,yBAAyB,GAAG,SAA2C,GAAI,IAAI,CAIzL;AACD;;GAEG;AACH,eAAO,MAAM,wCAAwC,EAAE,gBAatD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,mCAAmC,2DAA2D,CAAC"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PlayPromptRequestBuilderUriTemplate = exports.PlayPromptRequestBuilderRequestsMetadata = exports.serializePlayPromptPostRequestBody = exports.deserializeIntoPlayPromptPostRequestBody = exports.createPlayPromptPostRequestBodyFromDiscriminatorValue = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const models_1 = require("@microsoft/msgraph-sdk/models/");
|
|
8
|
+
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
9
|
+
/**
|
|
10
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
11
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
12
|
+
* @returns a playPromptPostRequestBody
|
|
13
|
+
*/
|
|
14
|
+
function createPlayPromptPostRequestBodyFromDiscriminatorValue(parseNode) {
|
|
15
|
+
return deserializeIntoPlayPromptPostRequestBody;
|
|
16
|
+
}
|
|
17
|
+
exports.createPlayPromptPostRequestBodyFromDiscriminatorValue = createPlayPromptPostRequestBodyFromDiscriminatorValue;
|
|
18
|
+
/**
|
|
19
|
+
* The deserialization information for the current model
|
|
20
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
21
|
+
*/
|
|
22
|
+
function deserializeIntoPlayPromptPostRequestBody(playPromptPostRequestBody = {}) {
|
|
23
|
+
return {
|
|
24
|
+
"backingStoreEnabled": n => { playPromptPostRequestBody.backingStoreEnabled = true; },
|
|
25
|
+
"clientContext": n => { playPromptPostRequestBody.clientContext = n.getStringValue(); },
|
|
26
|
+
"prompts": n => { playPromptPostRequestBody.prompts = n.getCollectionOfObjectValues(models_1.createPromptFromDiscriminatorValue); },
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
exports.deserializeIntoPlayPromptPostRequestBody = deserializeIntoPlayPromptPostRequestBody;
|
|
30
|
+
/**
|
|
31
|
+
* Serializes information the current object
|
|
32
|
+
* @param writer Serialization writer to use to serialize this model
|
|
33
|
+
*/
|
|
34
|
+
function serializePlayPromptPostRequestBody(writer, playPromptPostRequestBody = {}) {
|
|
35
|
+
writer.writeStringValue("clientContext", playPromptPostRequestBody.clientContext);
|
|
36
|
+
writer.writeCollectionOfObjectValues("prompts", playPromptPostRequestBody.prompts, models_1.serializePrompt);
|
|
37
|
+
writer.writeAdditionalData(playPromptPostRequestBody.additionalData);
|
|
38
|
+
}
|
|
39
|
+
exports.serializePlayPromptPostRequestBody = serializePlayPromptPostRequestBody;
|
|
40
|
+
/**
|
|
41
|
+
* Metadata for all the requests in the request builder.
|
|
42
|
+
*/
|
|
43
|
+
exports.PlayPromptRequestBuilderRequestsMetadata = {
|
|
44
|
+
post: {
|
|
45
|
+
responseBodyContentType: "application/json",
|
|
46
|
+
errorMappings: {
|
|
47
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
48
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
49
|
+
},
|
|
50
|
+
adapterMethodName: "sendAsync",
|
|
51
|
+
responseBodyFactory: models_1.createPlayPromptOperationFromDiscriminatorValue,
|
|
52
|
+
requestBodyContentType: "application/json",
|
|
53
|
+
requestBodySerializer: serializePlayPromptPostRequestBody,
|
|
54
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
55
|
+
},
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
* Uri template for the request builder.
|
|
59
|
+
*/
|
|
60
|
+
exports.PlayPromptRequestBuilderUriTemplate = "{+baseurl}/communications/calls/{call%2Did}/playPrompt";
|
|
61
|
+
/* tslint:enable */
|
|
62
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { type Prompt, type RecordOperation } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type AdditionalDataHolder, type BackedModel, type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
|
|
3
|
+
/**
|
|
4
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
5
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
6
|
+
* @returns a recordResponsePostRequestBody
|
|
7
|
+
*/
|
|
8
|
+
export declare function createRecordResponsePostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoRecordResponsePostRequestBody;
|
|
9
|
+
/**
|
|
10
|
+
* The deserialization information for the current model
|
|
11
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
12
|
+
*/
|
|
13
|
+
export declare function deserializeIntoRecordResponsePostRequestBody(recordResponsePostRequestBody?: RecordResponsePostRequestBody | undefined): Record<string, (node: ParseNode) => void>;
|
|
14
|
+
export interface RecordResponsePostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
|
|
15
|
+
/**
|
|
16
|
+
* Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
17
|
+
*/
|
|
18
|
+
additionalData?: Record<string, unknown>;
|
|
19
|
+
/**
|
|
20
|
+
* Stores model information.
|
|
21
|
+
*/
|
|
22
|
+
backingStoreEnabled?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* The bargeInAllowed property
|
|
25
|
+
*/
|
|
26
|
+
bargeInAllowed?: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* The clientContext property
|
|
29
|
+
*/
|
|
30
|
+
clientContext?: string;
|
|
31
|
+
/**
|
|
32
|
+
* The initialSilenceTimeoutInSeconds property
|
|
33
|
+
*/
|
|
34
|
+
initialSilenceTimeoutInSeconds?: number;
|
|
35
|
+
/**
|
|
36
|
+
* The maxRecordDurationInSeconds property
|
|
37
|
+
*/
|
|
38
|
+
maxRecordDurationInSeconds?: number;
|
|
39
|
+
/**
|
|
40
|
+
* The maxSilenceTimeoutInSeconds property
|
|
41
|
+
*/
|
|
42
|
+
maxSilenceTimeoutInSeconds?: number;
|
|
43
|
+
/**
|
|
44
|
+
* The playBeep property
|
|
45
|
+
*/
|
|
46
|
+
playBeep?: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* The prompts property
|
|
49
|
+
*/
|
|
50
|
+
prompts?: Prompt[];
|
|
51
|
+
/**
|
|
52
|
+
* The stopTones property
|
|
53
|
+
*/
|
|
54
|
+
stopTones?: string[];
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Provides operations to call the recordResponse method.
|
|
58
|
+
*/
|
|
59
|
+
export interface RecordResponseRequestBuilder extends BaseRequestBuilder<RecordResponseRequestBuilder> {
|
|
60
|
+
/**
|
|
61
|
+
* Records a short audio response from the caller.A bot can utilize this to capture a voice response from a caller after they are prompted for a response. For further information on how to handle operations, please review commsOperation This action is not intended to record the entire call. The maximum length of recording is 2 minutes. The recording is not saved permanently by the Cloud Communications Platform and is discarded shortly after the call ends. The bot must download the recording promptly after the recording operation finishes by using the recordingLocation value that's given in the completed notification.
|
|
62
|
+
* @param body The request body
|
|
63
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
64
|
+
* @returns a Promise of RecordOperation
|
|
65
|
+
* @see {@link https://learn.microsoft.com/graph/api/call-record?view=graph-rest-1.0|Find more info here}
|
|
66
|
+
*/
|
|
67
|
+
post(body: RecordResponsePostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<RecordOperation | undefined>;
|
|
68
|
+
/**
|
|
69
|
+
* Records a short audio response from the caller.A bot can utilize this to capture a voice response from a caller after they are prompted for a response. For further information on how to handle operations, please review commsOperation This action is not intended to record the entire call. The maximum length of recording is 2 minutes. The recording is not saved permanently by the Cloud Communications Platform and is discarded shortly after the call ends. The bot must download the recording promptly after the recording operation finishes by using the recordingLocation value that's given in the completed notification.
|
|
70
|
+
* @param body The request body
|
|
71
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
72
|
+
* @returns a RequestInformation
|
|
73
|
+
*/
|
|
74
|
+
toPostRequestInformation(body: RecordResponsePostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Serializes information the current object
|
|
78
|
+
* @param writer Serialization writer to use to serialize this model
|
|
79
|
+
*/
|
|
80
|
+
export declare function serializeRecordResponsePostRequestBody(writer: SerializationWriter, recordResponsePostRequestBody?: RecordResponsePostRequestBody | undefined): void;
|
|
81
|
+
/**
|
|
82
|
+
* Metadata for all the requests in the request builder.
|
|
83
|
+
*/
|
|
84
|
+
export declare const RecordResponseRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
85
|
+
/**
|
|
86
|
+
* Uri template for the request builder.
|
|
87
|
+
*/
|
|
88
|
+
export declare const RecordResponseRequestBuilderUriTemplate = "{+baseurl}/communications/calls/{call%2Did}/recordResponse";
|
|
89
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA8H,KAAK,MAAM,EAAE,KAAK,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAE/M,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,WAAW,EAAqB,KAAK,kBAAkB,EAAE,KAAK,QAAQ,EAAwB,KAAK,SAAS,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAElS;;;;GAIG;AACH,wBAAgB,yDAAyD,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,uDAEzG;AACD;;;GAGG;AACH,wBAAgB,4CAA4C,CAAC,6BAA6B,GAAE,6BAA6B,GAAG,SAA+C,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAYvN;AACD,MAAM,WAAW,6BAA8B,SAAQ,oBAAoB,EAAE,WAAW,EAAE,QAAQ;IAC9F;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzC;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,8BAA8B,CAAC,EAAE,MAAM,CAAC;IACxC;;OAEG;IACH,0BAA0B,CAAC,EAAE,MAAM,CAAC;IACpC;;OAEG;IACH,0BAA0B,CAAC,EAAE,MAAM,CAAC;IACpC;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;CACxB;AACD;;GAEG;AACH,MAAM,WAAW,4BAA6B,SAAQ,kBAAkB,CAAC,4BAA4B,CAAC;IAClG;;;;;;OAMG;IACF,IAAI,CAAC,IAAI,EAAE,6BAA6B,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,eAAe,GAAG,SAAS,CAAC,CAAC;IACnJ;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,6BAA6B,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACxJ;AACD;;;GAGG;AACH,wBAAgB,sCAAsC,CAAC,MAAM,EAAE,mBAAmB,EAAE,6BAA6B,GAAE,6BAA6B,GAAG,SAA+C,GAAI,IAAI,CAUzM;AACD;;GAEG;AACH,eAAO,MAAM,4CAA4C,EAAE,gBAa1D,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,uCAAuC,+DAA+D,CAAC"}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RecordResponseRequestBuilderUriTemplate = exports.RecordResponseRequestBuilderRequestsMetadata = exports.serializeRecordResponsePostRequestBody = exports.deserializeIntoRecordResponsePostRequestBody = exports.createRecordResponsePostRequestBodyFromDiscriminatorValue = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const models_1 = require("@microsoft/msgraph-sdk/models/");
|
|
8
|
+
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
9
|
+
/**
|
|
10
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
11
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
12
|
+
* @returns a recordResponsePostRequestBody
|
|
13
|
+
*/
|
|
14
|
+
function createRecordResponsePostRequestBodyFromDiscriminatorValue(parseNode) {
|
|
15
|
+
return deserializeIntoRecordResponsePostRequestBody;
|
|
16
|
+
}
|
|
17
|
+
exports.createRecordResponsePostRequestBodyFromDiscriminatorValue = createRecordResponsePostRequestBodyFromDiscriminatorValue;
|
|
18
|
+
/**
|
|
19
|
+
* The deserialization information for the current model
|
|
20
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
21
|
+
*/
|
|
22
|
+
function deserializeIntoRecordResponsePostRequestBody(recordResponsePostRequestBody = {}) {
|
|
23
|
+
return {
|
|
24
|
+
"backingStoreEnabled": n => { recordResponsePostRequestBody.backingStoreEnabled = true; },
|
|
25
|
+
"bargeInAllowed": n => { recordResponsePostRequestBody.bargeInAllowed = n.getBooleanValue(); },
|
|
26
|
+
"clientContext": n => { recordResponsePostRequestBody.clientContext = n.getStringValue(); },
|
|
27
|
+
"initialSilenceTimeoutInSeconds": n => { recordResponsePostRequestBody.initialSilenceTimeoutInSeconds = n.getNumberValue(); },
|
|
28
|
+
"maxRecordDurationInSeconds": n => { recordResponsePostRequestBody.maxRecordDurationInSeconds = n.getNumberValue(); },
|
|
29
|
+
"maxSilenceTimeoutInSeconds": n => { recordResponsePostRequestBody.maxSilenceTimeoutInSeconds = n.getNumberValue(); },
|
|
30
|
+
"playBeep": n => { recordResponsePostRequestBody.playBeep = n.getBooleanValue(); },
|
|
31
|
+
"prompts": n => { recordResponsePostRequestBody.prompts = n.getCollectionOfObjectValues(models_1.createPromptFromDiscriminatorValue); },
|
|
32
|
+
"stopTones": n => { recordResponsePostRequestBody.stopTones = n.getCollectionOfPrimitiveValues(); },
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
exports.deserializeIntoRecordResponsePostRequestBody = deserializeIntoRecordResponsePostRequestBody;
|
|
36
|
+
/**
|
|
37
|
+
* Serializes information the current object
|
|
38
|
+
* @param writer Serialization writer to use to serialize this model
|
|
39
|
+
*/
|
|
40
|
+
function serializeRecordResponsePostRequestBody(writer, recordResponsePostRequestBody = {}) {
|
|
41
|
+
writer.writeBooleanValue("bargeInAllowed", recordResponsePostRequestBody.bargeInAllowed);
|
|
42
|
+
writer.writeStringValue("clientContext", recordResponsePostRequestBody.clientContext);
|
|
43
|
+
writer.writeNumberValue("initialSilenceTimeoutInSeconds", recordResponsePostRequestBody.initialSilenceTimeoutInSeconds);
|
|
44
|
+
writer.writeNumberValue("maxRecordDurationInSeconds", recordResponsePostRequestBody.maxRecordDurationInSeconds);
|
|
45
|
+
writer.writeNumberValue("maxSilenceTimeoutInSeconds", recordResponsePostRequestBody.maxSilenceTimeoutInSeconds);
|
|
46
|
+
writer.writeBooleanValue("playBeep", recordResponsePostRequestBody.playBeep);
|
|
47
|
+
writer.writeCollectionOfObjectValues("prompts", recordResponsePostRequestBody.prompts, models_1.serializePrompt);
|
|
48
|
+
writer.writeCollectionOfPrimitiveValues("stopTones", recordResponsePostRequestBody.stopTones);
|
|
49
|
+
writer.writeAdditionalData(recordResponsePostRequestBody.additionalData);
|
|
50
|
+
}
|
|
51
|
+
exports.serializeRecordResponsePostRequestBody = serializeRecordResponsePostRequestBody;
|
|
52
|
+
/**
|
|
53
|
+
* Metadata for all the requests in the request builder.
|
|
54
|
+
*/
|
|
55
|
+
exports.RecordResponseRequestBuilderRequestsMetadata = {
|
|
56
|
+
post: {
|
|
57
|
+
responseBodyContentType: "application/json",
|
|
58
|
+
errorMappings: {
|
|
59
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
60
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
61
|
+
},
|
|
62
|
+
adapterMethodName: "sendAsync",
|
|
63
|
+
responseBodyFactory: models_1.createRecordOperationFromDiscriminatorValue,
|
|
64
|
+
requestBodyContentType: "application/json",
|
|
65
|
+
requestBodySerializer: serializeRecordResponsePostRequestBody,
|
|
66
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
67
|
+
},
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* Uri template for the request builder.
|
|
71
|
+
*/
|
|
72
|
+
exports.RecordResponseRequestBuilderUriTemplate = "{+baseurl}/communications/calls/{call%2Did}/recordResponse";
|
|
73
|
+
/* tslint:enable */
|
|
74
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { type InvitationParticipantInfo } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type AdditionalDataHolder, type BackedModel, type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
|
|
3
|
+
/**
|
|
4
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
5
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
6
|
+
* @returns a redirectPostRequestBody
|
|
7
|
+
*/
|
|
8
|
+
export declare function createRedirectPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoRedirectPostRequestBody;
|
|
9
|
+
/**
|
|
10
|
+
* The deserialization information for the current model
|
|
11
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
12
|
+
*/
|
|
13
|
+
export declare function deserializeIntoRedirectPostRequestBody(redirectPostRequestBody?: RedirectPostRequestBody | undefined): Record<string, (node: ParseNode) => void>;
|
|
14
|
+
export interface RedirectPostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
|
|
15
|
+
/**
|
|
16
|
+
* Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
17
|
+
*/
|
|
18
|
+
additionalData?: Record<string, unknown>;
|
|
19
|
+
/**
|
|
20
|
+
* Stores model information.
|
|
21
|
+
*/
|
|
22
|
+
backingStoreEnabled?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* The callbackUri property
|
|
25
|
+
*/
|
|
26
|
+
callbackUri?: string;
|
|
27
|
+
/**
|
|
28
|
+
* The targets property
|
|
29
|
+
*/
|
|
30
|
+
targets?: InvitationParticipantInfo[];
|
|
31
|
+
/**
|
|
32
|
+
* The timeout property
|
|
33
|
+
*/
|
|
34
|
+
timeout?: number;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Provides operations to call the redirect method.
|
|
38
|
+
*/
|
|
39
|
+
export interface RedirectRequestBuilder extends BaseRequestBuilder<RedirectRequestBuilder> {
|
|
40
|
+
/**
|
|
41
|
+
* Redirect an incoming call that hasn't been answered or rejected yet. The terms 'redirecting' and 'forwarding' a call are used interchangeably. The bot is expected to redirect the call before the call times out. The current timeout value is 15 seconds.
|
|
42
|
+
* @param body The request body
|
|
43
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
44
|
+
* @see {@link https://learn.microsoft.com/graph/api/call-redirect?view=graph-rest-1.0|Find more info here}
|
|
45
|
+
*/
|
|
46
|
+
post(body: RedirectPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
47
|
+
/**
|
|
48
|
+
* Redirect an incoming call that hasn't been answered or rejected yet. The terms 'redirecting' and 'forwarding' a call are used interchangeably. The bot is expected to redirect the call before the call times out. The current timeout value is 15 seconds.
|
|
49
|
+
* @param body The request body
|
|
50
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
51
|
+
* @returns a RequestInformation
|
|
52
|
+
*/
|
|
53
|
+
toPostRequestInformation(body: RedirectPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Serializes information the current object
|
|
57
|
+
* @param writer Serialization writer to use to serialize this model
|
|
58
|
+
*/
|
|
59
|
+
export declare function serializeRedirectPostRequestBody(writer: SerializationWriter, redirectPostRequestBody?: RedirectPostRequestBody | undefined): void;
|
|
60
|
+
/**
|
|
61
|
+
* Metadata for all the requests in the request builder.
|
|
62
|
+
*/
|
|
63
|
+
export declare const RedirectRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
64
|
+
/**
|
|
65
|
+
* Uri template for the request builder.
|
|
66
|
+
*/
|
|
67
|
+
export declare const RedirectRequestBuilderUriTemplate = "{+baseurl}/communications/calls/{call%2Did}/redirect";
|
|
68
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA6F,KAAK,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAE3K,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,WAAW,EAAqB,KAAK,kBAAkB,EAAE,KAAK,QAAQ,EAAwB,KAAK,SAAS,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAElS;;;;GAIG;AACH,wBAAgB,mDAAmD,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,iDAEnG;AACD;;;GAGG;AACH,wBAAgB,sCAAsC,CAAC,uBAAuB,GAAE,uBAAuB,GAAG,SAAyC,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAO/L;AACD,MAAM,WAAW,uBAAwB,SAAQ,oBAAoB,EAAE,WAAW,EAAE,QAAQ;IACxF;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzC;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,OAAO,CAAC,EAAE,yBAAyB,EAAE,CAAC;IACtC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB;AACD;;GAEG;AACH,MAAM,WAAW,sBAAuB,SAAQ,kBAAkB,CAAC,sBAAsB,CAAC;IACtF;;;;;OAKG;IACF,IAAI,CAAC,IAAI,EAAE,uBAAuB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACtH;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,uBAAuB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAClJ;AACD;;;GAGG;AACH,wBAAgB,gCAAgC,CAAC,MAAM,EAAE,mBAAmB,EAAE,uBAAuB,GAAE,uBAAuB,GAAG,SAAyC,GAAI,IAAI,CAKjL;AACD;;GAEG;AACH,eAAO,MAAM,sCAAsC,EAAE,gBAYpD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,iCAAiC,yDAAyD,CAAC"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RedirectRequestBuilderUriTemplate = exports.RedirectRequestBuilderRequestsMetadata = exports.serializeRedirectPostRequestBody = exports.deserializeIntoRedirectPostRequestBody = exports.createRedirectPostRequestBodyFromDiscriminatorValue = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const models_1 = require("@microsoft/msgraph-sdk/models/");
|
|
8
|
+
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
9
|
+
/**
|
|
10
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
11
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
12
|
+
* @returns a redirectPostRequestBody
|
|
13
|
+
*/
|
|
14
|
+
function createRedirectPostRequestBodyFromDiscriminatorValue(parseNode) {
|
|
15
|
+
return deserializeIntoRedirectPostRequestBody;
|
|
16
|
+
}
|
|
17
|
+
exports.createRedirectPostRequestBodyFromDiscriminatorValue = createRedirectPostRequestBodyFromDiscriminatorValue;
|
|
18
|
+
/**
|
|
19
|
+
* The deserialization information for the current model
|
|
20
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
21
|
+
*/
|
|
22
|
+
function deserializeIntoRedirectPostRequestBody(redirectPostRequestBody = {}) {
|
|
23
|
+
return {
|
|
24
|
+
"backingStoreEnabled": n => { redirectPostRequestBody.backingStoreEnabled = true; },
|
|
25
|
+
"callbackUri": n => { redirectPostRequestBody.callbackUri = n.getStringValue(); },
|
|
26
|
+
"targets": n => { redirectPostRequestBody.targets = n.getCollectionOfObjectValues(models_1.createInvitationParticipantInfoFromDiscriminatorValue); },
|
|
27
|
+
"timeout": n => { redirectPostRequestBody.timeout = n.getNumberValue(); },
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
exports.deserializeIntoRedirectPostRequestBody = deserializeIntoRedirectPostRequestBody;
|
|
31
|
+
/**
|
|
32
|
+
* Serializes information the current object
|
|
33
|
+
* @param writer Serialization writer to use to serialize this model
|
|
34
|
+
*/
|
|
35
|
+
function serializeRedirectPostRequestBody(writer, redirectPostRequestBody = {}) {
|
|
36
|
+
writer.writeStringValue("callbackUri", redirectPostRequestBody.callbackUri);
|
|
37
|
+
writer.writeCollectionOfObjectValues("targets", redirectPostRequestBody.targets, models_1.serializeInvitationParticipantInfo);
|
|
38
|
+
writer.writeNumberValue("timeout", redirectPostRequestBody.timeout);
|
|
39
|
+
writer.writeAdditionalData(redirectPostRequestBody.additionalData);
|
|
40
|
+
}
|
|
41
|
+
exports.serializeRedirectPostRequestBody = serializeRedirectPostRequestBody;
|
|
42
|
+
/**
|
|
43
|
+
* Metadata for all the requests in the request builder.
|
|
44
|
+
*/
|
|
45
|
+
exports.RedirectRequestBuilderRequestsMetadata = {
|
|
46
|
+
post: {
|
|
47
|
+
responseBodyContentType: "application/json",
|
|
48
|
+
errorMappings: {
|
|
49
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
50
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
51
|
+
},
|
|
52
|
+
adapterMethodName: "sendNoResponseContentAsync",
|
|
53
|
+
requestBodyContentType: "application/json",
|
|
54
|
+
requestBodySerializer: serializeRedirectPostRequestBody,
|
|
55
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
56
|
+
},
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* Uri template for the request builder.
|
|
60
|
+
*/
|
|
61
|
+
exports.RedirectRequestBuilderUriTemplate = "{+baseurl}/communications/calls/{call%2Did}/redirect";
|
|
62
|
+
/* tslint:enable */
|
|
63
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { RejectReason } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type AdditionalDataHolder, type BackedModel, type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
|
|
3
|
+
/**
|
|
4
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
5
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
6
|
+
* @returns a rejectPostRequestBody
|
|
7
|
+
*/
|
|
8
|
+
export declare function createRejectPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoRejectPostRequestBody;
|
|
9
|
+
/**
|
|
10
|
+
* The deserialization information for the current model
|
|
11
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
12
|
+
*/
|
|
13
|
+
export declare function deserializeIntoRejectPostRequestBody(rejectPostRequestBody?: RejectPostRequestBody | undefined): Record<string, (node: ParseNode) => void>;
|
|
14
|
+
export interface RejectPostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
|
|
15
|
+
/**
|
|
16
|
+
* Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
17
|
+
*/
|
|
18
|
+
additionalData?: Record<string, unknown>;
|
|
19
|
+
/**
|
|
20
|
+
* Stores model information.
|
|
21
|
+
*/
|
|
22
|
+
backingStoreEnabled?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* The callbackUri property
|
|
25
|
+
*/
|
|
26
|
+
callbackUri?: string;
|
|
27
|
+
/**
|
|
28
|
+
* The reason property
|
|
29
|
+
*/
|
|
30
|
+
reason?: RejectReason;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Provides operations to call the reject method.
|
|
34
|
+
*/
|
|
35
|
+
export interface RejectRequestBuilder extends BaseRequestBuilder<RejectRequestBuilder> {
|
|
36
|
+
/**
|
|
37
|
+
* Enable a bot to reject an incoming call. The incoming call request can be an invite from a participant in a group call or a peer-to-peer call. If an invite to a group call is received, the notification will contain the chatInfo and meetingInfo parameters. The bot is expected to answer or reject the call before the call times out. The current timeout value is 15 seconds. This API does not end existing calls that have already been answered. Use delete call to end a call.
|
|
38
|
+
* @param body The request body
|
|
39
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
40
|
+
* @see {@link https://learn.microsoft.com/graph/api/call-reject?view=graph-rest-1.0|Find more info here}
|
|
41
|
+
*/
|
|
42
|
+
post(body: RejectPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
43
|
+
/**
|
|
44
|
+
* Enable a bot to reject an incoming call. The incoming call request can be an invite from a participant in a group call or a peer-to-peer call. If an invite to a group call is received, the notification will contain the chatInfo and meetingInfo parameters. The bot is expected to answer or reject the call before the call times out. The current timeout value is 15 seconds. This API does not end existing calls that have already been answered. Use delete call to end a call.
|
|
45
|
+
* @param body The request body
|
|
46
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
47
|
+
* @returns a RequestInformation
|
|
48
|
+
*/
|
|
49
|
+
toPostRequestInformation(body: RejectPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Serializes information the current object
|
|
53
|
+
* @param writer Serialization writer to use to serialize this model
|
|
54
|
+
*/
|
|
55
|
+
export declare function serializeRejectPostRequestBody(writer: SerializationWriter, rejectPostRequestBody?: RejectPostRequestBody | undefined): void;
|
|
56
|
+
/**
|
|
57
|
+
* Metadata for all the requests in the request builder.
|
|
58
|
+
*/
|
|
59
|
+
export declare const RejectRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
60
|
+
/**
|
|
61
|
+
* Uri template for the request builder.
|
|
62
|
+
*/
|
|
63
|
+
export declare const RejectRequestBuilderUriTemplate = "{+baseurl}/communications/calls/{call%2Did}/reject";
|
|
64
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAsB,MAAM,gCAAgC,CAAC;AAElF,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,WAAW,EAAqB,KAAK,kBAAkB,EAAE,KAAK,QAAQ,EAAwB,KAAK,SAAS,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAElS;;;;GAIG;AACH,wBAAgB,iDAAiD,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,+CAEjG;AACD;;;GAGG;AACH,wBAAgB,oCAAoC,CAAC,qBAAqB,GAAE,qBAAqB,GAAG,SAAuC,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAMvL;AACD,MAAM,WAAW,qBAAsB,SAAQ,oBAAoB,EAAE,WAAW,EAAE,QAAQ;IACtF;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzC;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,MAAM,CAAC,EAAE,YAAY,CAAC;CACzB;AACD;;GAEG;AACH,MAAM,WAAW,oBAAqB,SAAQ,kBAAkB,CAAC,oBAAoB,CAAC;IAClF;;;;;OAKG;IACF,IAAI,CAAC,IAAI,EAAE,qBAAqB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACpH;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,qBAAqB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAChJ;AACD;;;GAGG;AACH,wBAAgB,8BAA8B,CAAC,MAAM,EAAE,mBAAmB,EAAE,qBAAqB,GAAE,qBAAqB,GAAG,SAAuC,GAAI,IAAI,CAIzK;AACD;;GAEG;AACH,eAAO,MAAM,oCAAoC,EAAE,gBAYlD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,+BAA+B,uDAAuD,CAAC"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RejectRequestBuilderUriTemplate = exports.RejectRequestBuilderRequestsMetadata = exports.serializeRejectPostRequestBody = exports.deserializeIntoRejectPostRequestBody = exports.createRejectPostRequestBodyFromDiscriminatorValue = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const models_1 = require("@microsoft/msgraph-sdk/models/");
|
|
8
|
+
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
9
|
+
/**
|
|
10
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
11
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
12
|
+
* @returns a rejectPostRequestBody
|
|
13
|
+
*/
|
|
14
|
+
function createRejectPostRequestBodyFromDiscriminatorValue(parseNode) {
|
|
15
|
+
return deserializeIntoRejectPostRequestBody;
|
|
16
|
+
}
|
|
17
|
+
exports.createRejectPostRequestBodyFromDiscriminatorValue = createRejectPostRequestBodyFromDiscriminatorValue;
|
|
18
|
+
/**
|
|
19
|
+
* The deserialization information for the current model
|
|
20
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
21
|
+
*/
|
|
22
|
+
function deserializeIntoRejectPostRequestBody(rejectPostRequestBody = {}) {
|
|
23
|
+
return {
|
|
24
|
+
"backingStoreEnabled": n => { rejectPostRequestBody.backingStoreEnabled = true; },
|
|
25
|
+
"callbackUri": n => { rejectPostRequestBody.callbackUri = n.getStringValue(); },
|
|
26
|
+
"reason": n => { rejectPostRequestBody.reason = n.getEnumValue(models_1.RejectReasonObject); },
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
exports.deserializeIntoRejectPostRequestBody = deserializeIntoRejectPostRequestBody;
|
|
30
|
+
/**
|
|
31
|
+
* Serializes information the current object
|
|
32
|
+
* @param writer Serialization writer to use to serialize this model
|
|
33
|
+
*/
|
|
34
|
+
function serializeRejectPostRequestBody(writer, rejectPostRequestBody = {}) {
|
|
35
|
+
writer.writeStringValue("callbackUri", rejectPostRequestBody.callbackUri);
|
|
36
|
+
writer.writeEnumValue("reason", rejectPostRequestBody.reason);
|
|
37
|
+
writer.writeAdditionalData(rejectPostRequestBody.additionalData);
|
|
38
|
+
}
|
|
39
|
+
exports.serializeRejectPostRequestBody = serializeRejectPostRequestBody;
|
|
40
|
+
/**
|
|
41
|
+
* Metadata for all the requests in the request builder.
|
|
42
|
+
*/
|
|
43
|
+
exports.RejectRequestBuilderRequestsMetadata = {
|
|
44
|
+
post: {
|
|
45
|
+
responseBodyContentType: "application/json",
|
|
46
|
+
errorMappings: {
|
|
47
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
48
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
49
|
+
},
|
|
50
|
+
adapterMethodName: "sendNoResponseContentAsync",
|
|
51
|
+
requestBodyContentType: "application/json",
|
|
52
|
+
requestBodySerializer: serializeRejectPostRequestBody,
|
|
53
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
54
|
+
},
|
|
55
|
+
};
|
|
56
|
+
/**
|
|
57
|
+
* Uri template for the request builder.
|
|
58
|
+
*/
|
|
59
|
+
exports.RejectRequestBuilderUriTemplate = "{+baseurl}/communications/calls/{call%2Did}/reject";
|
|
60
|
+
/* tslint:enable */
|
|
61
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { Tone, type SendDtmfTonesOperation } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type AdditionalDataHolder, type BackedModel, type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
|
|
3
|
+
/**
|
|
4
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
5
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
6
|
+
* @returns a sendDtmfTonesPostRequestBody
|
|
7
|
+
*/
|
|
8
|
+
export declare function createSendDtmfTonesPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoSendDtmfTonesPostRequestBody;
|
|
9
|
+
/**
|
|
10
|
+
* The deserialization information for the current model
|
|
11
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
12
|
+
*/
|
|
13
|
+
export declare function deserializeIntoSendDtmfTonesPostRequestBody(sendDtmfTonesPostRequestBody?: SendDtmfTonesPostRequestBody | undefined): Record<string, (node: ParseNode) => void>;
|
|
14
|
+
export interface SendDtmfTonesPostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
|
|
15
|
+
/**
|
|
16
|
+
* Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
17
|
+
*/
|
|
18
|
+
additionalData?: Record<string, unknown>;
|
|
19
|
+
/**
|
|
20
|
+
* Stores model information.
|
|
21
|
+
*/
|
|
22
|
+
backingStoreEnabled?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* The clientContext property
|
|
25
|
+
*/
|
|
26
|
+
clientContext?: string;
|
|
27
|
+
/**
|
|
28
|
+
* The delayBetweenTonesMs property
|
|
29
|
+
*/
|
|
30
|
+
delayBetweenTonesMs?: number;
|
|
31
|
+
/**
|
|
32
|
+
* The tones property
|
|
33
|
+
*/
|
|
34
|
+
tones?: Tone[];
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Provides operations to call the sendDtmfTones method.
|
|
38
|
+
*/
|
|
39
|
+
export interface SendDtmfTonesRequestBuilder extends BaseRequestBuilder<SendDtmfTonesRequestBuilder> {
|
|
40
|
+
/**
|
|
41
|
+
* Invoke action sendDtmfTones
|
|
42
|
+
* @param body The request body
|
|
43
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
44
|
+
* @returns a Promise of SendDtmfTonesOperation
|
|
45
|
+
*/
|
|
46
|
+
post(body: SendDtmfTonesPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<SendDtmfTonesOperation | undefined>;
|
|
47
|
+
/**
|
|
48
|
+
* Invoke action sendDtmfTones
|
|
49
|
+
* @param body The request body
|
|
50
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
51
|
+
* @returns a RequestInformation
|
|
52
|
+
*/
|
|
53
|
+
toPostRequestInformation(body: SendDtmfTonesPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Serializes information the current object
|
|
57
|
+
* @param writer Serialization writer to use to serialize this model
|
|
58
|
+
*/
|
|
59
|
+
export declare function serializeSendDtmfTonesPostRequestBody(writer: SerializationWriter, sendDtmfTonesPostRequestBody?: SendDtmfTonesPostRequestBody | undefined): void;
|
|
60
|
+
/**
|
|
61
|
+
* Metadata for all the requests in the request builder.
|
|
62
|
+
*/
|
|
63
|
+
export declare const SendDtmfTonesRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
64
|
+
/**
|
|
65
|
+
* Uri template for the request builder.
|
|
66
|
+
*/
|
|
67
|
+
export declare const SendDtmfTonesRequestBuilderUriTemplate = "{+baseurl}/communications/calls/{call%2Did}/sendDtmfTones";
|
|
68
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAuF,IAAI,EAAc,KAAK,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AAEpL,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,WAAW,EAAqB,KAAK,kBAAkB,EAAE,KAAK,QAAQ,EAAwB,KAAK,SAAS,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAElS;;;;GAIG;AACH,wBAAgB,wDAAwD,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,sDAExG;AACD;;;GAGG;AACH,wBAAgB,2CAA2C,CAAC,4BAA4B,GAAE,4BAA4B,GAAG,SAA8C,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAOnN;AACD,MAAM,WAAW,4BAA6B,SAAQ,oBAAoB,EAAE,WAAW,EAAE,QAAQ;IAC7F;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzC;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B;;OAEG;IACH,KAAK,CAAC,EAAE,IAAI,EAAE,CAAC;CAClB;AACD;;GAEG;AACH,MAAM,WAAW,2BAA4B,SAAQ,kBAAkB,CAAC,2BAA2B,CAAC;IAChG;;;;;OAKG;IACF,IAAI,CAAC,IAAI,EAAE,4BAA4B,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,sBAAsB,GAAG,SAAS,CAAC,CAAC;IACzJ;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,4BAA4B,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACvJ;AACD;;;GAGG;AACH,wBAAgB,qCAAqC,CAAC,MAAM,EAAE,mBAAmB,EAAE,4BAA4B,GAAE,4BAA4B,GAAG,SAA8C,GAAI,IAAI,CAMrM;AACD;;GAEG;AACH,eAAO,MAAM,2CAA2C,EAAE,gBAazD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,sCAAsC,8DAA8D,CAAC"}
|