twilio 4.21.0 → 4.22.0
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/lib/rest/Media.d.ts +0 -15
- package/lib/rest/Media.js +0 -21
- package/lib/rest/PreviewBase.d.ts +0 -3
- package/lib/rest/PreviewBase.js +0 -5
- package/lib/rest/Twilio.d.ts +0 -10
- package/lib/rest/Twilio.js +0 -10
- package/lib/rest/api/v2010/account/authorizedConnectApp.d.ts +0 -12
- package/lib/rest/api/v2010/account/authorizedConnectApp.js +0 -4
- package/lib/rest/api/v2010/account/conference/participant.d.ts +2 -0
- package/lib/rest/api/v2010/account/conference/participant.js +2 -0
- package/lib/rest/api/v2010/account/message.d.ts +4 -4
- package/lib/rest/content/v1/content.d.ts +1 -1
- package/lib/rest/content/v1/contentAndApprovals.d.ts +1 -1
- package/lib/rest/content/v1/legacyContent.d.ts +1 -1
- package/lib/rest/conversations/v1/conversation/message.d.ts +2 -2
- package/lib/rest/conversations/v1/service/conversation/message.d.ts +2 -2
- package/lib/rest/events/v1/subscription/subscribedEvent.d.ts +3 -3
- package/lib/rest/flexApi/V1.d.ts +15 -0
- package/lib/rest/flexApi/V1.js +23 -0
- package/lib/rest/flexApi/v1/configuration.d.ts +12 -0
- package/lib/rest/flexApi/v1/configuration.js +4 -0
- package/lib/rest/flexApi/v1/insightsConversationalAi.d.ts +165 -0
- package/lib/rest/flexApi/v1/insightsConversationalAi.js +136 -0
- package/lib/rest/flexApi/v1/insightsConversationalAiReportInsights.d.ts +149 -0
- package/lib/rest/flexApi/v1/insightsConversationalAiReportInsights.js +130 -0
- package/lib/rest/flexApi/v1/provisioningStatus.d.ts +85 -0
- package/lib/rest/{oauth/v1/oauth.js → flexApi/v1/provisioningStatus.js} +17 -16
- package/lib/rest/insights/v1/call/annotation.d.ts +0 -3
- package/lib/rest/intelligence/v2/service.d.ts +3 -3
- package/lib/rest/intelligence/v2/transcript/operatorResult.d.ts +6 -0
- package/lib/rest/intelligence/v2/transcript/operatorResult.js +2 -0
- package/lib/rest/intelligence/v2/transcript.d.ts +1 -1
- package/lib/rest/messaging/v1/service/channelSender.d.ts +3 -0
- package/lib/rest/messaging/v1/service/usAppToPerson.d.ts +62 -0
- package/lib/rest/messaging/v1/service/usAppToPerson.js +65 -0
- package/lib/rest/messaging/v1/tollfreeVerification.d.ts +25 -0
- package/lib/rest/messaging/v1/tollfreeVerification.js +23 -0
- package/lib/rest/notify/v1/service/notification.d.ts +1 -1
- package/lib/rest/notify/v1/service.d.ts +3 -3
- package/lib/rest/numbers/V1.d.ts +5 -0
- package/lib/rest/numbers/V1.js +7 -0
- package/lib/rest/numbers/v1/portingPortInFetch.d.ts +136 -0
- package/lib/rest/numbers/v1/portingPortInFetch.js +126 -0
- package/lib/rest/proxy/v1/service/session/interaction.d.ts +1 -1
- package/lib/rest/proxy/v1/service/shortCode.d.ts +1 -1
- package/lib/rest/serverless/v1/service/build.d.ts +1 -1
- package/lib/rest/supersim/v1/esimProfile.d.ts +4 -4
- package/lib/rest/taskrouter/v1/workspace/task/reservation.d.ts +2 -0
- package/lib/rest/taskrouter/v1/workspace/task/reservation.js +2 -0
- package/lib/rest/taskrouter/v1/workspace/task.d.ts +4 -4
- package/lib/rest/taskrouter/v1/workspace/worker/reservation.d.ts +2 -0
- package/lib/rest/taskrouter/v1/workspace/worker/reservation.js +2 -0
- package/lib/rest/trusthub/V1.d.ts +10 -0
- package/lib/rest/trusthub/V1.js +16 -0
- package/lib/rest/trusthub/v1/complianceInquiries.d.ts +2 -0
- package/lib/rest/trusthub/v1/complianceInquiries.js +2 -0
- package/lib/rest/trusthub/v1/complianceRegistrationInquiries.d.ts +132 -0
- package/lib/rest/trusthub/v1/complianceRegistrationInquiries.js +150 -0
- package/lib/rest/trusthub/v1/complianceTollfreeInquiries.d.ts +112 -0
- package/lib/rest/trusthub/v1/complianceTollfreeInquiries.js +125 -0
- package/lib/rest/verify/v2/service/verification.d.ts +2 -0
- package/lib/rest/verify/v2/service/verification.js +2 -0
- package/lib/rest/verify/v2/service.d.ts +10 -0
- package/lib/rest/verify/v2/service.js +7 -0
- package/lib/rest/verify/v2/verificationAttempt.d.ts +1 -1
- package/lib/rest/video/v1/compositionSettings.d.ts +2 -2
- package/lib/rest/video/v1/recordingSettings.d.ts +2 -2
- package/package.json +1 -1
- package/lib/rest/Autopilot.d.ts +0 -4
- package/lib/rest/Autopilot.js +0 -8
- package/lib/rest/AutopilotBase.d.ts +0 -13
- package/lib/rest/AutopilotBase.js +0 -31
- package/lib/rest/Oauth.d.ts +0 -4
- package/lib/rest/Oauth.js +0 -8
- package/lib/rest/OauthBase.d.ts +0 -13
- package/lib/rest/OauthBase.js +0 -31
- package/lib/rest/autopilot/V1.d.ts +0 -20
- package/lib/rest/autopilot/V1.js +0 -43
- package/lib/rest/autopilot/v1/assistant/defaults.d.ts +0 -143
- package/lib/rest/autopilot/v1/assistant/defaults.js +0 -142
- package/lib/rest/autopilot/v1/assistant/dialogue.d.ts +0 -108
- package/lib/rest/autopilot/v1/assistant/dialogue.js +0 -120
- package/lib/rest/autopilot/v1/assistant/fieldType/fieldValue.d.ts +0 -288
- package/lib/rest/autopilot/v1/assistant/fieldType/fieldValue.js +0 -249
- package/lib/rest/autopilot/v1/assistant/fieldType.d.ts +0 -324
- package/lib/rest/autopilot/v1/assistant/fieldType.js +0 -277
- package/lib/rest/autopilot/v1/assistant/modelBuild.d.ts +0 -326
- package/lib/rest/autopilot/v1/assistant/modelBuild.js +0 -266
- package/lib/rest/autopilot/v1/assistant/query.d.ts +0 -374
- package/lib/rest/autopilot/v1/assistant/query.js +0 -288
- package/lib/rest/autopilot/v1/assistant/styleSheet.d.ts +0 -143
- package/lib/rest/autopilot/v1/assistant/styleSheet.js +0 -142
- package/lib/rest/autopilot/v1/assistant/task/field.d.ts +0 -274
- package/lib/rest/autopilot/v1/assistant/task/field.js +0 -243
- package/lib/rest/autopilot/v1/assistant/task/sample.d.ts +0 -334
- package/lib/rest/autopilot/v1/assistant/task/sample.js +0 -280
- package/lib/rest/autopilot/v1/assistant/task/taskActions.d.ts +0 -151
- package/lib/rest/autopilot/v1/assistant/task/taskActions.js +0 -150
- package/lib/rest/autopilot/v1/assistant/task/taskStatistics.d.ts +0 -115
- package/lib/rest/autopilot/v1/assistant/task/taskStatistics.js +0 -125
- package/lib/rest/autopilot/v1/assistant/task.d.ts +0 -362
- package/lib/rest/autopilot/v1/assistant/task.js +0 -326
- package/lib/rest/autopilot/v1/assistant/webhook.d.ts +0 -330
- package/lib/rest/autopilot/v1/assistant/webhook.js +0 -278
- package/lib/rest/autopilot/v1/assistant.d.ts +0 -438
- package/lib/rest/autopilot/v1/assistant.js +0 -392
- package/lib/rest/autopilot/v1/restoreAssistant.d.ts +0 -119
- package/lib/rest/autopilot/v1/restoreAssistant.js +0 -96
- package/lib/rest/oauth/V1.d.ts +0 -35
- package/lib/rest/oauth/V1.js +0 -61
- package/lib/rest/oauth/v1/deviceCode.d.ts +0 -87
- package/lib/rest/oauth/v1/deviceCode.js +0 -90
- package/lib/rest/oauth/v1/oauth.d.ts +0 -84
- package/lib/rest/oauth/v1/openidDiscovery.d.ts +0 -150
- package/lib/rest/oauth/v1/openidDiscovery.js +0 -126
- package/lib/rest/oauth/v1/token.d.ts +0 -88
- package/lib/rest/oauth/v1/token.js +0 -98
- package/lib/rest/oauth/v1/userInfo.d.ts +0 -108
- package/lib/rest/oauth/v1/userInfo.js +0 -110
- package/lib/rest/preview/Understand.d.ts +0 -15
- package/lib/rest/preview/Understand.js +0 -36
- package/lib/rest/preview/understand/assistant/assistantFallbackActions.d.ts +0 -131
- package/lib/rest/preview/understand/assistant/assistantFallbackActions.js +0 -142
- package/lib/rest/preview/understand/assistant/assistantInitiationActions.d.ts +0 -131
- package/lib/rest/preview/understand/assistant/assistantInitiationActions.js +0 -142
- package/lib/rest/preview/understand/assistant/dialogue.d.ts +0 -105
- package/lib/rest/preview/understand/assistant/dialogue.js +0 -120
- package/lib/rest/preview/understand/assistant/fieldType/fieldValue.d.ts +0 -285
- package/lib/rest/preview/understand/assistant/fieldType/fieldValue.js +0 -249
- package/lib/rest/preview/understand/assistant/fieldType.d.ts +0 -318
- package/lib/rest/preview/understand/assistant/fieldType.js +0 -277
- package/lib/rest/preview/understand/assistant/modelBuild.d.ts +0 -320
- package/lib/rest/preview/understand/assistant/modelBuild.js +0 -266
- package/lib/rest/preview/understand/assistant/query.d.ts +0 -361
- package/lib/rest/preview/understand/assistant/query.js +0 -286
- package/lib/rest/preview/understand/assistant/styleSheet.d.ts +0 -140
- package/lib/rest/preview/understand/assistant/styleSheet.js +0 -142
- package/lib/rest/preview/understand/assistant/task/field.d.ts +0 -271
- package/lib/rest/preview/understand/assistant/task/field.js +0 -243
- package/lib/rest/preview/understand/assistant/task/sample.d.ts +0 -331
- package/lib/rest/preview/understand/assistant/task/sample.js +0 -280
- package/lib/rest/preview/understand/assistant/task/taskActions.d.ts +0 -145
- package/lib/rest/preview/understand/assistant/task/taskActions.js +0 -150
- package/lib/rest/preview/understand/assistant/task/taskStatistics.d.ts +0 -112
- package/lib/rest/preview/understand/assistant/task/taskStatistics.js +0 -125
- package/lib/rest/preview/understand/assistant/task.d.ts +0 -356
- package/lib/rest/preview/understand/assistant/task.js +0 -326
- package/lib/rest/preview/understand/assistant.d.ts +0 -422
- package/lib/rest/preview/understand/assistant.js +0 -392
package/lib/rest/Media.d.ts
CHANGED
|
@@ -1,19 +1,4 @@
|
|
|
1
|
-
import { MediaProcessorListInstance } from "./media/v1/mediaProcessor";
|
|
2
|
-
import { MediaRecordingListInstance } from "./media/v1/mediaRecording";
|
|
3
|
-
import { PlayerStreamerListInstance } from "./media/v1/playerStreamer";
|
|
4
1
|
import MediaBase from "./MediaBase";
|
|
5
2
|
declare class Media extends MediaBase {
|
|
6
|
-
/**
|
|
7
|
-
* @deprecated - Use v1.mediaProcessor instead
|
|
8
|
-
*/
|
|
9
|
-
get mediaProcessor(): MediaProcessorListInstance;
|
|
10
|
-
/**
|
|
11
|
-
* @deprecated - Use v1.mediaRecording instead
|
|
12
|
-
*/
|
|
13
|
-
get mediaRecording(): MediaRecordingListInstance;
|
|
14
|
-
/**
|
|
15
|
-
* @deprecated - Use v1.playerStreamer instead
|
|
16
|
-
*/
|
|
17
|
-
get playerStreamer(): PlayerStreamerListInstance;
|
|
18
3
|
}
|
|
19
4
|
export = Media;
|
package/lib/rest/Media.js
CHANGED
|
@@ -4,26 +4,5 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
const MediaBase_1 = __importDefault(require("./MediaBase"));
|
|
6
6
|
class Media extends MediaBase_1.default {
|
|
7
|
-
/**
|
|
8
|
-
* @deprecated - Use v1.mediaProcessor instead
|
|
9
|
-
*/
|
|
10
|
-
get mediaProcessor() {
|
|
11
|
-
console.warn("mediaProcessor is deprecated. Use v1.mediaProcessor instead.");
|
|
12
|
-
return this.v1.mediaProcessor;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* @deprecated - Use v1.mediaRecording instead
|
|
16
|
-
*/
|
|
17
|
-
get mediaRecording() {
|
|
18
|
-
console.warn("mediaRecording is deprecated. Use v1.mediaRecording instead.");
|
|
19
|
-
return this.v1.mediaRecording;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* @deprecated - Use v1.playerStreamer instead
|
|
23
|
-
*/
|
|
24
|
-
get playerStreamer() {
|
|
25
|
-
console.warn("playerStreamer is deprecated. Use v1.playerStreamer instead.");
|
|
26
|
-
return this.v1.playerStreamer;
|
|
27
|
-
}
|
|
28
7
|
}
|
|
29
8
|
module.exports = Media;
|
|
@@ -3,14 +3,12 @@ import DeployedDevices from "./preview/DeployedDevices";
|
|
|
3
3
|
import HostedNumbers from "./preview/HostedNumbers";
|
|
4
4
|
import Sync from "./preview/Sync";
|
|
5
5
|
import Marketplace from "./preview/Marketplace";
|
|
6
|
-
import Understand from "./preview/Understand";
|
|
7
6
|
import Wireless from "./preview/Wireless";
|
|
8
7
|
declare class PreviewBase extends Domain {
|
|
9
8
|
_deployed_devices?: DeployedDevices;
|
|
10
9
|
_hosted_numbers?: HostedNumbers;
|
|
11
10
|
_sync?: Sync;
|
|
12
11
|
_marketplace?: Marketplace;
|
|
13
|
-
_understand?: Understand;
|
|
14
12
|
_wireless?: Wireless;
|
|
15
13
|
/**
|
|
16
14
|
* Initialize preview domain
|
|
@@ -22,7 +20,6 @@ declare class PreviewBase extends Domain {
|
|
|
22
20
|
get hosted_numbers(): HostedNumbers;
|
|
23
21
|
get sync(): Sync;
|
|
24
22
|
get marketplace(): Marketplace;
|
|
25
|
-
get understand(): Understand;
|
|
26
23
|
get wireless(): Wireless;
|
|
27
24
|
}
|
|
28
25
|
export = PreviewBase;
|
package/lib/rest/PreviewBase.js
CHANGED
|
@@ -17,7 +17,6 @@ const DeployedDevices_1 = __importDefault(require("./preview/DeployedDevices"));
|
|
|
17
17
|
const HostedNumbers_1 = __importDefault(require("./preview/HostedNumbers"));
|
|
18
18
|
const Sync_1 = __importDefault(require("./preview/Sync"));
|
|
19
19
|
const Marketplace_1 = __importDefault(require("./preview/Marketplace"));
|
|
20
|
-
const Understand_1 = __importDefault(require("./preview/Understand"));
|
|
21
20
|
const Wireless_1 = __importDefault(require("./preview/Wireless"));
|
|
22
21
|
class PreviewBase extends Domain_1.default {
|
|
23
22
|
/**
|
|
@@ -45,10 +44,6 @@ class PreviewBase extends Domain_1.default {
|
|
|
45
44
|
this._marketplace = this._marketplace || new Marketplace_1.default(this);
|
|
46
45
|
return this._marketplace;
|
|
47
46
|
}
|
|
48
|
-
get understand() {
|
|
49
|
-
this._understand = this._understand || new Understand_1.default(this);
|
|
50
|
-
return this._understand;
|
|
51
|
-
}
|
|
52
47
|
get wireless() {
|
|
53
48
|
this._wireless = this._wireless || new Wireless_1.default(this);
|
|
54
49
|
return this._wireless;
|
package/lib/rest/Twilio.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Client, ClientOpts, RequestOpts } from "../base/BaseTwilio";
|
|
2
2
|
import Accounts from "./Accounts";
|
|
3
3
|
import Api from "./Api";
|
|
4
|
-
import Autopilot from "./Autopilot";
|
|
5
4
|
import Bulkexports from "./Bulkexports";
|
|
6
5
|
import Chat from "./Chat";
|
|
7
6
|
import Content from "./Content";
|
|
@@ -19,7 +18,6 @@ import Microvisor from "./Microvisor";
|
|
|
19
18
|
import Monitor from "./Monitor";
|
|
20
19
|
import Notify from "./Notify";
|
|
21
20
|
import Numbers from "./Numbers";
|
|
22
|
-
import Oauth from "./Oauth";
|
|
23
21
|
import Preview from "./Preview";
|
|
24
22
|
import Pricing from "./Pricing";
|
|
25
23
|
import Proxy from "./Proxy";
|
|
@@ -67,8 +65,6 @@ declare class Twilio extends Client {
|
|
|
67
65
|
_accounts?: Accounts;
|
|
68
66
|
/** (Twilio.Api) - api domain */
|
|
69
67
|
_api?: Api;
|
|
70
|
-
/** (Twilio.Autopilot) - autopilot domain */
|
|
71
|
-
_autopilot?: Autopilot;
|
|
72
68
|
/** (Twilio.Bulkexports) - bulkexports domain */
|
|
73
69
|
_bulkexports?: Bulkexports;
|
|
74
70
|
/** (Twilio.Chat) - chat domain */
|
|
@@ -103,8 +99,6 @@ declare class Twilio extends Client {
|
|
|
103
99
|
_notify?: Notify;
|
|
104
100
|
/** (Twilio.Numbers) - numbers domain */
|
|
105
101
|
_numbers?: Numbers;
|
|
106
|
-
/** (Twilio.Oauth) - oauth domain */
|
|
107
|
-
_oauth?: Oauth;
|
|
108
102
|
/** (Twilio.Preview) - preview domain */
|
|
109
103
|
_preview?: Preview;
|
|
110
104
|
/** (Twilio.Pricing) - pricing domain */
|
|
@@ -151,8 +145,6 @@ declare class Twilio extends Client {
|
|
|
151
145
|
get accounts(): Accounts;
|
|
152
146
|
/** Getter for (Twilio.Api) domain */
|
|
153
147
|
get api(): Api;
|
|
154
|
-
/** Getter for (Twilio.Autopilot) domain */
|
|
155
|
-
get autopilot(): Autopilot;
|
|
156
148
|
/** Getter for (Twilio.Bulkexports) domain */
|
|
157
149
|
get bulkexports(): Bulkexports;
|
|
158
150
|
/** Getter for (Twilio.Chat) domain */
|
|
@@ -187,8 +179,6 @@ declare class Twilio extends Client {
|
|
|
187
179
|
get notify(): Notify;
|
|
188
180
|
/** Getter for (Twilio.Numbers) domain */
|
|
189
181
|
get numbers(): Numbers;
|
|
190
|
-
/** Getter for (Twilio.Oauth) domain */
|
|
191
|
-
get oauth(): Oauth;
|
|
192
182
|
/** Getter for (Twilio.Preview) domain */
|
|
193
183
|
get preview(): Preview;
|
|
194
184
|
/** Getter for (Twilio.Pricing) domain */
|
package/lib/rest/Twilio.js
CHANGED
|
@@ -34,7 +34,6 @@ class Twilio extends BaseTwilio_1.Client {
|
|
|
34
34
|
if (this.opts?.lazyLoading === false) {
|
|
35
35
|
this.accounts;
|
|
36
36
|
this.api;
|
|
37
|
-
this.autopilot;
|
|
38
37
|
this.bulkexports;
|
|
39
38
|
this.chat;
|
|
40
39
|
this.content;
|
|
@@ -52,7 +51,6 @@ class Twilio extends BaseTwilio_1.Client {
|
|
|
52
51
|
this.monitor;
|
|
53
52
|
this.notify;
|
|
54
53
|
this.numbers;
|
|
55
|
-
this.oauth;
|
|
56
54
|
this.preview;
|
|
57
55
|
this.pricing;
|
|
58
56
|
this.proxy;
|
|
@@ -79,10 +77,6 @@ class Twilio extends BaseTwilio_1.Client {
|
|
|
79
77
|
get api() {
|
|
80
78
|
return this._api ?? (this._api = new (require("./Api"))(this));
|
|
81
79
|
}
|
|
82
|
-
/** Getter for (Twilio.Autopilot) domain */
|
|
83
|
-
get autopilot() {
|
|
84
|
-
return (this._autopilot ?? (this._autopilot = new (require("./Autopilot"))(this)));
|
|
85
|
-
}
|
|
86
80
|
/** Getter for (Twilio.Bulkexports) domain */
|
|
87
81
|
get bulkexports() {
|
|
88
82
|
return (this._bulkexports ??
|
|
@@ -157,10 +151,6 @@ class Twilio extends BaseTwilio_1.Client {
|
|
|
157
151
|
get numbers() {
|
|
158
152
|
return this._numbers ?? (this._numbers = new (require("./Numbers"))(this));
|
|
159
153
|
}
|
|
160
|
-
/** Getter for (Twilio.Oauth) domain */
|
|
161
|
-
get oauth() {
|
|
162
|
-
return this._oauth ?? (this._oauth = new (require("./Oauth"))(this));
|
|
163
|
-
}
|
|
164
154
|
/** Getter for (Twilio.Preview) domain */
|
|
165
155
|
get preview() {
|
|
166
156
|
return this._preview ?? (this._preview = new (require("./Preview"))(this));
|
|
@@ -80,8 +80,6 @@ interface AuthorizedConnectAppResource {
|
|
|
80
80
|
connect_app_friendly_name: string;
|
|
81
81
|
connect_app_homepage_url: string;
|
|
82
82
|
connect_app_sid: string;
|
|
83
|
-
date_created: Date;
|
|
84
|
-
date_updated: Date;
|
|
85
83
|
permissions: Array<AuthorizedConnectAppPermission>;
|
|
86
84
|
uri: string;
|
|
87
85
|
}
|
|
@@ -114,14 +112,6 @@ export declare class AuthorizedConnectAppInstance {
|
|
|
114
112
|
* The SID that we assigned to the Connect App.
|
|
115
113
|
*/
|
|
116
114
|
connectAppSid: string;
|
|
117
|
-
/**
|
|
118
|
-
* The date and time in GMT that the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
|
|
119
|
-
*/
|
|
120
|
-
dateCreated: Date;
|
|
121
|
-
/**
|
|
122
|
-
* The date and time in GMT that the resource was last updated specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
|
|
123
|
-
*/
|
|
124
|
-
dateUpdated: Date;
|
|
125
115
|
/**
|
|
126
116
|
* The set of permissions that you authorized for the Connect App. Can be: `get-all` or `post-all`.
|
|
127
117
|
*/
|
|
@@ -151,8 +141,6 @@ export declare class AuthorizedConnectAppInstance {
|
|
|
151
141
|
connectAppFriendlyName: string;
|
|
152
142
|
connectAppHomepageUrl: string;
|
|
153
143
|
connectAppSid: string;
|
|
154
|
-
dateCreated: Date;
|
|
155
|
-
dateUpdated: Date;
|
|
156
144
|
permissions: AuthorizedConnectAppPermission[];
|
|
157
145
|
uri: string;
|
|
158
146
|
};
|
|
@@ -66,8 +66,6 @@ class AuthorizedConnectAppInstance {
|
|
|
66
66
|
this.connectAppFriendlyName = payload.connect_app_friendly_name;
|
|
67
67
|
this.connectAppHomepageUrl = payload.connect_app_homepage_url;
|
|
68
68
|
this.connectAppSid = payload.connect_app_sid;
|
|
69
|
-
this.dateCreated = deserialize.rfc2822DateTime(payload.date_created);
|
|
70
|
-
this.dateUpdated = deserialize.rfc2822DateTime(payload.date_updated);
|
|
71
69
|
this.permissions = payload.permissions;
|
|
72
70
|
this.uri = payload.uri;
|
|
73
71
|
this._solution = {
|
|
@@ -104,8 +102,6 @@ class AuthorizedConnectAppInstance {
|
|
|
104
102
|
connectAppFriendlyName: this.connectAppFriendlyName,
|
|
105
103
|
connectAppHomepageUrl: this.connectAppHomepageUrl,
|
|
106
104
|
connectAppSid: this.connectAppSid,
|
|
107
|
-
dateCreated: this.dateCreated,
|
|
108
|
-
dateUpdated: this.dateUpdated,
|
|
109
105
|
permissions: this.permissions,
|
|
110
106
|
uri: this.uri,
|
|
111
107
|
};
|
|
@@ -131,6 +131,8 @@ export interface ParticipantListInstanceCreateOptions {
|
|
|
131
131
|
amdStatusCallbackMethod?: string;
|
|
132
132
|
/** Whether to trim any leading and trailing silence from the participant recording. Can be: `trim-silence` or `do-not-trim` and the default is `trim-silence`. */
|
|
133
133
|
trim?: string;
|
|
134
|
+
/** A token string needed to invoke a forwarded call. A call_token is generated when an incoming call is received on a Twilio number. Pass an incoming call\\\'s call_token value to a forwarded call via the call_token parameter when creating a new call. A forwarded call should bear the same CallerID of the original incoming call. */
|
|
135
|
+
callToken?: string;
|
|
134
136
|
}
|
|
135
137
|
/**
|
|
136
138
|
* Options to pass to each
|
|
@@ -319,6 +319,8 @@ function ParticipantListInstance(version, accountSid, conferenceSid) {
|
|
|
319
319
|
data["AmdStatusCallbackMethod"] = params["amdStatusCallbackMethod"];
|
|
320
320
|
if (params["trim"] !== undefined)
|
|
321
321
|
data["Trim"] = params["trim"];
|
|
322
|
+
if (params["callToken"] !== undefined)
|
|
323
|
+
data["CallToken"] = params["callToken"];
|
|
322
324
|
const headers = {};
|
|
323
325
|
headers["Content-Type"] = "application/x-www-form-urlencoded";
|
|
324
326
|
let operationVersion = version, operationPromise = operationVersion.create({
|
|
@@ -49,7 +49,7 @@ export interface MessageListInstanceCreateOptions {
|
|
|
49
49
|
smartEncoded?: boolean;
|
|
50
50
|
/** Rich actions for non-SMS/MMS channels. Used for [sending location in WhatsApp messages](https://www.twilio.com/docs/whatsapp/message-features#location-messages-with-whatsapp). */
|
|
51
51
|
persistentAction?: Array<string>;
|
|
52
|
-
/** For Messaging Services with [Link Shortening configured](https://www.twilio.com/docs/messaging/features/
|
|
52
|
+
/** For Messaging Services with [Link Shortening configured](https://www.twilio.com/docs/messaging/features/link-shortening) only: A Boolean indicating whether or not Twilio should shorten links in the `body` of the Message. Default value is `false`. If `true`, the `messaging_service_sid` parameter must also be provided. */
|
|
53
53
|
shortenUrls?: boolean;
|
|
54
54
|
/** */
|
|
55
55
|
scheduleType?: MessageScheduleType;
|
|
@@ -61,13 +61,13 @@ export interface MessageListInstanceCreateOptions {
|
|
|
61
61
|
contentVariables?: string;
|
|
62
62
|
/** */
|
|
63
63
|
riskCheck?: MessageRiskCheck;
|
|
64
|
-
/** The sender\\\'s Twilio phone number (in [E.164](https://en.wikipedia.org/wiki/E.164) format), [alphanumeric sender ID](https://www.twilio.com/docs/sms/
|
|
64
|
+
/** The sender\\\'s Twilio phone number (in [E.164](https://en.wikipedia.org/wiki/E.164) format), [alphanumeric sender ID](https://www.twilio.com/docs/sms/quickstart), [Wireless SIM](https://www.twilio.com/docs/iot/wireless/programmable-wireless-send-machine-machine-sms-commands), [short code](https://www.twilio.com/en-us/messaging/channels/sms/short-codes), or [channel address](https://www.twilio.com/docs/messaging/channels) (e.g., `whatsapp:+15554449999`). The value of the `from` parameter must be a sender that is hosted within Twilio and belongs to the Account creating the Message. If you are using `messaging_service_sid`, this parameter can be empty (Twilio assigns a `from` value from the Messaging Service\\\'s Sender Pool) or you can provide a specific sender from your Sender Pool. */
|
|
65
65
|
from?: string;
|
|
66
66
|
/** The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/services) you want to associate with the Message. When this parameter is provided and the `from` parameter is omitted, Twilio selects the optimal sender from the Messaging Service\\\'s Sender Pool. You may also provide a `from` parameter if you want to use a specific Sender from the Sender Pool. */
|
|
67
67
|
messagingServiceSid?: string;
|
|
68
68
|
/** The text content of the outgoing message. Can be up to 1,600 characters in length. SMS only: If the `body` contains more than 160 [GSM-7](https://www.twilio.com/docs/glossary/what-is-gsm-7-character-encoding) characters (or 70 [UCS-2](https://www.twilio.com/docs/glossary/what-is-ucs-2-character-encoding) characters), the message is segmented and charged accordingly. For long `body` text, consider using the [send_as_mms parameter](https://www.twilio.com/blog/mms-for-long-text-messages). */
|
|
69
69
|
body?: string;
|
|
70
|
-
/** The URL of media to include in the Message content. `jpeg`, `jpg`, `gif`, and `png` file types are fully supported by Twilio and content is formatted for delivery on destination devices. The media size limit is 5 MB for supported file types (`jpeg`, `jpg`, `png`, `gif`) and 500 KB for [other types](https://www.twilio.com/docs/
|
|
70
|
+
/** The URL of media to include in the Message content. `jpeg`, `jpg`, `gif`, and `png` file types are fully supported by Twilio and content is formatted for delivery on destination devices. The media size limit is 5 MB for supported file types (`jpeg`, `jpg`, `png`, `gif`) and 500 KB for [other types](https://www.twilio.com/docs/messaging/guides/accepted-mime-types) of accepted media. To send more than one image in the message, provide multiple `media_url` parameters in the POST request. You can include up to ten `media_url` parameters per message. [International](https://support.twilio.com/hc/en-us/articles/223179808-Sending-and-receiving-MMS-messages) and [carrier](https://support.twilio.com/hc/en-us/articles/223133707-Is-MMS-supported-for-all-carriers-in-US-and-Canada-) limits apply. */
|
|
71
71
|
mediaUrl?: Array<string>;
|
|
72
72
|
/** For [Content Editor/API](https://www.twilio.com/docs/content) only: The SID of the Content Template to be used with the Message, e.g., `HXXXXXXXXXXXXXXXXXXXXXXXXXXXXX`. If this parameter is not provided, a Content Template is not used. Find the SID in the Console on the Content Editor page. For Content API users, the SID is found in Twilio\\\'s response when [creating the Template](https://www.twilio.com/docs/content/content-api-resources#create-templates) or by [fetching your Templates](https://www.twilio.com/docs/content/content-api-resources#fetch-all-content-resources). */
|
|
73
73
|
contentSid?: string;
|
|
@@ -241,7 +241,7 @@ export declare class MessageInstance {
|
|
|
241
241
|
numSegments: string;
|
|
242
242
|
direction: MessageDirection;
|
|
243
243
|
/**
|
|
244
|
-
* The sender\'s phone number (in [E.164](https://en.wikipedia.org/wiki/E.164) format), [alphanumeric sender ID](https://www.twilio.com/docs/sms/
|
|
244
|
+
* The sender\'s phone number (in [E.164](https://en.wikipedia.org/wiki/E.164) format), [alphanumeric sender ID](https://www.twilio.com/docs/sms/quickstart), [Wireless SIM](https://www.twilio.com/docs/iot/wireless/programmable-wireless-send-machine-machine-sms-commands), [short code](https://www.twilio.com/en-us/messaging/channels/sms/short-codes), or [channel address](https://www.twilio.com/docs/messaging/channels) (e.g., `whatsapp:+15554449999`). For incoming messages, this is the number or channel address of the sender. For outgoing messages, this value is a Twilio phone number, alphanumeric sender ID, short code, or channel address from which the message is sent.
|
|
245
245
|
*/
|
|
246
246
|
from: string;
|
|
247
247
|
/**
|
|
@@ -130,7 +130,7 @@ export declare class ContentInstance {
|
|
|
130
130
|
*/
|
|
131
131
|
variables: any;
|
|
132
132
|
/**
|
|
133
|
-
* The [Content types](https://www.twilio.com/docs/content
|
|
133
|
+
* The [Content types](https://www.twilio.com/docs/content/content-types-overview) (e.g. twilio/text) for this Content resource.
|
|
134
134
|
*/
|
|
135
135
|
types: any;
|
|
136
136
|
/**
|
|
@@ -145,7 +145,7 @@ export declare class ContentAndApprovalsInstance {
|
|
|
145
145
|
*/
|
|
146
146
|
variables: any;
|
|
147
147
|
/**
|
|
148
|
-
* The [Content types](https://www.twilio.com/docs/content
|
|
148
|
+
* The [Content types](https://www.twilio.com/docs/content/content-types-overview) (e.g. twilio/text) for this Content resource.
|
|
149
149
|
*/
|
|
150
150
|
types: any;
|
|
151
151
|
/**
|
|
@@ -147,7 +147,7 @@ export declare class LegacyContentInstance {
|
|
|
147
147
|
*/
|
|
148
148
|
variables: any;
|
|
149
149
|
/**
|
|
150
|
-
* The [Content types](https://www.twilio.com/docs/content
|
|
150
|
+
* The [Content types](https://www.twilio.com/docs/content/content-types-overview) (e.g. twilio/text) for this Content resource.
|
|
151
151
|
*/
|
|
152
152
|
types: any;
|
|
153
153
|
/**
|
|
@@ -50,7 +50,7 @@ export interface MessageListInstanceCreateOptions {
|
|
|
50
50
|
attributes?: string;
|
|
51
51
|
/** The Media SID to be attached to the new Message. */
|
|
52
52
|
mediaSid?: string;
|
|
53
|
-
/** The unique ID of the multi-channel [Rich Content](https://www.twilio.com/docs/content
|
|
53
|
+
/** The unique ID of the multi-channel [Rich Content](https://www.twilio.com/docs/content) template, required for template-generated messages. **Note** that if this field is set, `Body` and `MediaSid` parameters are ignored. */
|
|
54
54
|
contentSid?: string;
|
|
55
55
|
/** A structurally valid JSON string that contains values to resolve Rich Content template variables. */
|
|
56
56
|
contentVariables?: string;
|
|
@@ -250,7 +250,7 @@ export declare class MessageInstance {
|
|
|
250
250
|
*/
|
|
251
251
|
links: Record<string, string>;
|
|
252
252
|
/**
|
|
253
|
-
* The unique ID of the multi-channel [Rich Content](https://www.twilio.com/docs/content
|
|
253
|
+
* The unique ID of the multi-channel [Rich Content](https://www.twilio.com/docs/content) template.
|
|
254
254
|
*/
|
|
255
255
|
contentSid: string;
|
|
256
256
|
private get _proxy();
|
|
@@ -50,7 +50,7 @@ export interface MessageListInstanceCreateOptions {
|
|
|
50
50
|
attributes?: string;
|
|
51
51
|
/** The Media SID to be attached to the new Message. */
|
|
52
52
|
mediaSid?: string;
|
|
53
|
-
/** The unique ID of the multi-channel [Rich Content](https://www.twilio.com/docs/content
|
|
53
|
+
/** The unique ID of the multi-channel [Rich Content](https://www.twilio.com/docs/content) template, required for template-generated messages. **Note** that if this field is set, `Body` and `MediaSid` parameters are ignored. */
|
|
54
54
|
contentSid?: string;
|
|
55
55
|
/** A structurally valid JSON string that contains values to resolve Rich Content template variables. */
|
|
56
56
|
contentVariables?: string;
|
|
@@ -256,7 +256,7 @@ export declare class MessageInstance {
|
|
|
256
256
|
*/
|
|
257
257
|
links: Record<string, string>;
|
|
258
258
|
/**
|
|
259
|
-
* The unique ID of the multi-channel [Rich Content](https://www.twilio.com/docs/content
|
|
259
|
+
* The unique ID of the multi-channel [Rich Content](https://www.twilio.com/docs/content) template.
|
|
260
260
|
*/
|
|
261
261
|
contentSid: string;
|
|
262
262
|
private get _proxy();
|
|
@@ -7,7 +7,7 @@ import V1 from "../../V1";
|
|
|
7
7
|
* Options to pass to update a SubscribedEventInstance
|
|
8
8
|
*/
|
|
9
9
|
export interface SubscribedEventContextUpdateOptions {
|
|
10
|
-
/** The schema version that the
|
|
10
|
+
/** The schema version that the Subscription should use. */
|
|
11
11
|
schemaVersion?: number;
|
|
12
12
|
}
|
|
13
13
|
/**
|
|
@@ -16,7 +16,7 @@ export interface SubscribedEventContextUpdateOptions {
|
|
|
16
16
|
export interface SubscribedEventListInstanceCreateOptions {
|
|
17
17
|
/** Type of event being subscribed to. */
|
|
18
18
|
type: string;
|
|
19
|
-
/** The schema version that the
|
|
19
|
+
/** The schema version that the Subscription should use. */
|
|
20
20
|
schemaVersion?: number;
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
@@ -136,7 +136,7 @@ export declare class SubscribedEventInstance {
|
|
|
136
136
|
*/
|
|
137
137
|
type: string;
|
|
138
138
|
/**
|
|
139
|
-
* The schema version that the
|
|
139
|
+
* The schema version that the Subscription should use.
|
|
140
140
|
*/
|
|
141
141
|
schemaVersion: number;
|
|
142
142
|
/**
|
package/lib/rest/flexApi/V1.d.ts
CHANGED
|
@@ -5,6 +5,8 @@ import { ChannelListInstance } from "./v1/channel";
|
|
|
5
5
|
import { ConfigurationListInstance } from "./v1/configuration";
|
|
6
6
|
import { FlexFlowListInstance } from "./v1/flexFlow";
|
|
7
7
|
import { InsightsAssessmentsCommentListInstance } from "./v1/insightsAssessmentsComment";
|
|
8
|
+
import { InsightsConversationalAiListInstance } from "./v1/insightsConversationalAi";
|
|
9
|
+
import { InsightsConversationalAiReportInsightsListInstance } from "./v1/insightsConversationalAiReportInsights";
|
|
8
10
|
import { InsightsConversationsListInstance } from "./v1/insightsConversations";
|
|
9
11
|
import { InsightsQuestionnairesListInstance } from "./v1/insightsQuestionnaires";
|
|
10
12
|
import { InsightsQuestionnairesCategoryListInstance } from "./v1/insightsQuestionnairesCategory";
|
|
@@ -15,6 +17,7 @@ import { InsightsSettingsAnswerSetsListInstance } from "./v1/insightsSettingsAns
|
|
|
15
17
|
import { InsightsSettingsCommentListInstance } from "./v1/insightsSettingsComment";
|
|
16
18
|
import { InsightsUserRolesListInstance } from "./v1/insightsUserRoles";
|
|
17
19
|
import { InteractionListInstance } from "./v1/interaction";
|
|
20
|
+
import { ProvisioningStatusListInstance } from "./v1/provisioningStatus";
|
|
18
21
|
import { WebChannelListInstance } from "./v1/webChannel";
|
|
19
22
|
export default class V1 extends Version {
|
|
20
23
|
/**
|
|
@@ -33,6 +36,10 @@ export default class V1 extends Version {
|
|
|
33
36
|
protected _flexFlow?: FlexFlowListInstance;
|
|
34
37
|
/** insightsAssessmentsComment - { Twilio.FlexApi.V1.InsightsAssessmentsCommentListInstance } resource */
|
|
35
38
|
protected _insightsAssessmentsComment?: InsightsAssessmentsCommentListInstance;
|
|
39
|
+
/** insightsConversationalAi - { Twilio.FlexApi.V1.InsightsConversationalAiListInstance } resource */
|
|
40
|
+
protected _insightsConversationalAi?: InsightsConversationalAiListInstance;
|
|
41
|
+
/** insightsConversationalAiReportInsights - { Twilio.FlexApi.V1.InsightsConversationalAiReportInsightsListInstance } resource */
|
|
42
|
+
protected _insightsConversationalAiReportInsights?: InsightsConversationalAiReportInsightsListInstance;
|
|
36
43
|
/** insightsConversations - { Twilio.FlexApi.V1.InsightsConversationsListInstance } resource */
|
|
37
44
|
protected _insightsConversations?: InsightsConversationsListInstance;
|
|
38
45
|
/** insightsQuestionnaires - { Twilio.FlexApi.V1.InsightsQuestionnairesListInstance } resource */
|
|
@@ -53,6 +60,8 @@ export default class V1 extends Version {
|
|
|
53
60
|
protected _insightsUserRoles?: InsightsUserRolesListInstance;
|
|
54
61
|
/** interaction - { Twilio.FlexApi.V1.InteractionListInstance } resource */
|
|
55
62
|
protected _interaction?: InteractionListInstance;
|
|
63
|
+
/** provisioningStatus - { Twilio.FlexApi.V1.ProvisioningStatusListInstance } resource */
|
|
64
|
+
protected _provisioningStatus?: ProvisioningStatusListInstance;
|
|
56
65
|
/** webChannel - { Twilio.FlexApi.V1.WebChannelListInstance } resource */
|
|
57
66
|
protected _webChannel?: WebChannelListInstance;
|
|
58
67
|
/** Getter for assessments resource */
|
|
@@ -65,6 +74,10 @@ export default class V1 extends Version {
|
|
|
65
74
|
get flexFlow(): FlexFlowListInstance;
|
|
66
75
|
/** Getter for insightsAssessmentsComment resource */
|
|
67
76
|
get insightsAssessmentsComment(): InsightsAssessmentsCommentListInstance;
|
|
77
|
+
/** Getter for insightsConversationalAi resource */
|
|
78
|
+
get insightsConversationalAi(): InsightsConversationalAiListInstance;
|
|
79
|
+
/** Getter for insightsConversationalAiReportInsights resource */
|
|
80
|
+
get insightsConversationalAiReportInsights(): InsightsConversationalAiReportInsightsListInstance;
|
|
68
81
|
/** Getter for insightsConversations resource */
|
|
69
82
|
get insightsConversations(): InsightsConversationsListInstance;
|
|
70
83
|
/** Getter for insightsQuestionnaires resource */
|
|
@@ -85,6 +98,8 @@ export default class V1 extends Version {
|
|
|
85
98
|
get insightsUserRoles(): InsightsUserRolesListInstance;
|
|
86
99
|
/** Getter for interaction resource */
|
|
87
100
|
get interaction(): InteractionListInstance;
|
|
101
|
+
/** Getter for provisioningStatus resource */
|
|
102
|
+
get provisioningStatus(): ProvisioningStatusListInstance;
|
|
88
103
|
/** Getter for webChannel resource */
|
|
89
104
|
get webChannel(): WebChannelListInstance;
|
|
90
105
|
}
|
package/lib/rest/flexApi/V1.js
CHANGED
|
@@ -22,6 +22,8 @@ const channel_1 = require("./v1/channel");
|
|
|
22
22
|
const configuration_1 = require("./v1/configuration");
|
|
23
23
|
const flexFlow_1 = require("./v1/flexFlow");
|
|
24
24
|
const insightsAssessmentsComment_1 = require("./v1/insightsAssessmentsComment");
|
|
25
|
+
const insightsConversationalAi_1 = require("./v1/insightsConversationalAi");
|
|
26
|
+
const insightsConversationalAiReportInsights_1 = require("./v1/insightsConversationalAiReportInsights");
|
|
25
27
|
const insightsConversations_1 = require("./v1/insightsConversations");
|
|
26
28
|
const insightsQuestionnaires_1 = require("./v1/insightsQuestionnaires");
|
|
27
29
|
const insightsQuestionnairesCategory_1 = require("./v1/insightsQuestionnairesCategory");
|
|
@@ -32,6 +34,7 @@ const insightsSettingsAnswerSets_1 = require("./v1/insightsSettingsAnswerSets");
|
|
|
32
34
|
const insightsSettingsComment_1 = require("./v1/insightsSettingsComment");
|
|
33
35
|
const insightsUserRoles_1 = require("./v1/insightsUserRoles");
|
|
34
36
|
const interaction_1 = require("./v1/interaction");
|
|
37
|
+
const provisioningStatus_1 = require("./v1/provisioningStatus");
|
|
35
38
|
const webChannel_1 = require("./v1/webChannel");
|
|
36
39
|
class V1 extends Version_1.default {
|
|
37
40
|
/**
|
|
@@ -70,6 +73,20 @@ class V1 extends Version_1.default {
|
|
|
70
73
|
(0, insightsAssessmentsComment_1.InsightsAssessmentsCommentListInstance)(this);
|
|
71
74
|
return this._insightsAssessmentsComment;
|
|
72
75
|
}
|
|
76
|
+
/** Getter for insightsConversationalAi resource */
|
|
77
|
+
get insightsConversationalAi() {
|
|
78
|
+
this._insightsConversationalAi =
|
|
79
|
+
this._insightsConversationalAi ||
|
|
80
|
+
(0, insightsConversationalAi_1.InsightsConversationalAiListInstance)(this);
|
|
81
|
+
return this._insightsConversationalAi;
|
|
82
|
+
}
|
|
83
|
+
/** Getter for insightsConversationalAiReportInsights resource */
|
|
84
|
+
get insightsConversationalAiReportInsights() {
|
|
85
|
+
this._insightsConversationalAiReportInsights =
|
|
86
|
+
this._insightsConversationalAiReportInsights ||
|
|
87
|
+
(0, insightsConversationalAiReportInsights_1.InsightsConversationalAiReportInsightsListInstance)(this);
|
|
88
|
+
return this._insightsConversationalAiReportInsights;
|
|
89
|
+
}
|
|
73
90
|
/** Getter for insightsConversations resource */
|
|
74
91
|
get insightsConversations() {
|
|
75
92
|
this._insightsConversations =
|
|
@@ -133,6 +150,12 @@ class V1 extends Version_1.default {
|
|
|
133
150
|
this._interaction = this._interaction || (0, interaction_1.InteractionListInstance)(this);
|
|
134
151
|
return this._interaction;
|
|
135
152
|
}
|
|
153
|
+
/** Getter for provisioningStatus resource */
|
|
154
|
+
get provisioningStatus() {
|
|
155
|
+
this._provisioningStatus =
|
|
156
|
+
this._provisioningStatus || (0, provisioningStatus_1.ProvisioningStatusListInstance)(this);
|
|
157
|
+
return this._provisioningStatus;
|
|
158
|
+
}
|
|
136
159
|
/** Getter for webChannel resource */
|
|
137
160
|
get webChannel() {
|
|
138
161
|
this._webChannel = this._webChannel || (0, webChannel_1.WebChannelListInstance)(this);
|
|
@@ -67,6 +67,7 @@ interface ConfigurationResource {
|
|
|
67
67
|
messaging_service_instance_sid: string;
|
|
68
68
|
chat_service_instance_sid: string;
|
|
69
69
|
flex_service_instance_sid: string;
|
|
70
|
+
flex_instance_sid: string;
|
|
70
71
|
ui_language: string;
|
|
71
72
|
ui_attributes: any;
|
|
72
73
|
ui_dependencies: any;
|
|
@@ -97,6 +98,7 @@ interface ConfigurationResource {
|
|
|
97
98
|
flex_ui_status_report: any;
|
|
98
99
|
agent_conv_end_methods: any;
|
|
99
100
|
citrix_voice_vdi: any;
|
|
101
|
+
offline_config: any;
|
|
100
102
|
}
|
|
101
103
|
export declare class ConfigurationInstance {
|
|
102
104
|
protected _version: V1;
|
|
@@ -168,6 +170,10 @@ export declare class ConfigurationInstance {
|
|
|
168
170
|
* The SID of the Flex service instance.
|
|
169
171
|
*/
|
|
170
172
|
flexServiceInstanceSid: string;
|
|
173
|
+
/**
|
|
174
|
+
* The SID of the Flex instance.
|
|
175
|
+
*/
|
|
176
|
+
flexInstanceSid: string;
|
|
171
177
|
/**
|
|
172
178
|
* The primary language of the Flex UI.
|
|
173
179
|
*/
|
|
@@ -288,6 +294,10 @@ export declare class ConfigurationInstance {
|
|
|
288
294
|
* Citrix voice vdi configuration and settings.
|
|
289
295
|
*/
|
|
290
296
|
citrixVoiceVdi: any;
|
|
297
|
+
/**
|
|
298
|
+
* Presence and presence ttl configuration
|
|
299
|
+
*/
|
|
300
|
+
offlineConfig: any;
|
|
291
301
|
private get _proxy();
|
|
292
302
|
/**
|
|
293
303
|
* Fetch a ConfigurationInstance
|
|
@@ -329,6 +339,7 @@ export declare class ConfigurationInstance {
|
|
|
329
339
|
messagingServiceInstanceSid: string;
|
|
330
340
|
chatServiceInstanceSid: string;
|
|
331
341
|
flexServiceInstanceSid: string;
|
|
342
|
+
flexInstanceSid: string;
|
|
332
343
|
uiLanguage: string;
|
|
333
344
|
uiAttributes: any;
|
|
334
345
|
uiDependencies: any;
|
|
@@ -359,6 +370,7 @@ export declare class ConfigurationInstance {
|
|
|
359
370
|
flexUiStatusReport: any;
|
|
360
371
|
agentConvEndMethods: any;
|
|
361
372
|
citrixVoiceVdi: any;
|
|
373
|
+
offlineConfig: any;
|
|
362
374
|
};
|
|
363
375
|
[inspect.custom](_depth: any, options: InspectOptions): string;
|
|
364
376
|
}
|
|
@@ -79,6 +79,7 @@ class ConfigurationInstance {
|
|
|
79
79
|
this.messagingServiceInstanceSid = payload.messaging_service_instance_sid;
|
|
80
80
|
this.chatServiceInstanceSid = payload.chat_service_instance_sid;
|
|
81
81
|
this.flexServiceInstanceSid = payload.flex_service_instance_sid;
|
|
82
|
+
this.flexInstanceSid = payload.flex_instance_sid;
|
|
82
83
|
this.uiLanguage = payload.ui_language;
|
|
83
84
|
this.uiAttributes = payload.ui_attributes;
|
|
84
85
|
this.uiDependencies = payload.ui_dependencies;
|
|
@@ -109,6 +110,7 @@ class ConfigurationInstance {
|
|
|
109
110
|
this.flexUiStatusReport = payload.flex_ui_status_report;
|
|
110
111
|
this.agentConvEndMethods = payload.agent_conv_end_methods;
|
|
111
112
|
this.citrixVoiceVdi = payload.citrix_voice_vdi;
|
|
113
|
+
this.offlineConfig = payload.offline_config;
|
|
112
114
|
this._solution = {};
|
|
113
115
|
}
|
|
114
116
|
get _proxy() {
|
|
@@ -143,6 +145,7 @@ class ConfigurationInstance {
|
|
|
143
145
|
messagingServiceInstanceSid: this.messagingServiceInstanceSid,
|
|
144
146
|
chatServiceInstanceSid: this.chatServiceInstanceSid,
|
|
145
147
|
flexServiceInstanceSid: this.flexServiceInstanceSid,
|
|
148
|
+
flexInstanceSid: this.flexInstanceSid,
|
|
146
149
|
uiLanguage: this.uiLanguage,
|
|
147
150
|
uiAttributes: this.uiAttributes,
|
|
148
151
|
uiDependencies: this.uiDependencies,
|
|
@@ -173,6 +176,7 @@ class ConfigurationInstance {
|
|
|
173
176
|
flexUiStatusReport: this.flexUiStatusReport,
|
|
174
177
|
agentConvEndMethods: this.agentConvEndMethods,
|
|
175
178
|
citrixVoiceVdi: this.citrixVoiceVdi,
|
|
179
|
+
offlineConfig: this.offlineConfig,
|
|
176
180
|
};
|
|
177
181
|
}
|
|
178
182
|
[util_1.inspect.custom](_depth, options) {
|