purecloud-platform-client-v2 127.0.0 → 131.0.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/README.md +2 -8
- package/dist/node/purecloud-platform-client-v2.js +610 -97
- package/dist/web-amd/purecloud-platform-client-v2.js +610 -97
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +610 -97
- package/dist/web-cjs/purecloud-platform-client-v2.js +610 -97
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +475 -219
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +2 -2
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CoachingApi.js +5 -3
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +176 -1
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GamificationApi.js +121 -1
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +30 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +156 -0
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +8 -8
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +8 -4
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -21
- package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +21 -1
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +28 -1
- package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/index.js +7 -1
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
import ApiClient from '../ApiClient.js';
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
class MessagingApi {
|
|
5
|
+
/**
|
|
6
|
+
* Messaging service.
|
|
7
|
+
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
8
|
+
* @version 131.0.0
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Constructs a new MessagingApi.
|
|
13
|
+
* @alias module:purecloud-platform-client-v2/api/MessagingApi
|
|
14
|
+
* @class
|
|
15
|
+
* @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
|
|
16
|
+
* default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
|
|
17
|
+
*/
|
|
18
|
+
constructor(apiClient) {
|
|
19
|
+
this.apiClient = apiClient || ApiClient.instance;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Delete a supported content profile
|
|
25
|
+
*
|
|
26
|
+
* @param {String} supportedContentId Supported Content ID
|
|
27
|
+
*/
|
|
28
|
+
deleteMessagingSupportedcontentSupportedContentId(supportedContentId) {
|
|
29
|
+
// verify the required parameter 'supportedContentId' is set
|
|
30
|
+
if (supportedContentId === undefined || supportedContentId === null) {
|
|
31
|
+
throw 'Missing the required parameter "supportedContentId" when calling deleteMessagingSupportedcontentSupportedContentId';
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
return this.apiClient.callApi(
|
|
35
|
+
'/api/v2/messaging/supportedcontent/{supportedContentId}',
|
|
36
|
+
'DELETE',
|
|
37
|
+
{ 'supportedContentId': supportedContentId },
|
|
38
|
+
{ },
|
|
39
|
+
{ },
|
|
40
|
+
{ },
|
|
41
|
+
null,
|
|
42
|
+
['PureCloud OAuth'],
|
|
43
|
+
['application/json'],
|
|
44
|
+
['application/json']
|
|
45
|
+
);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Get a list of Supported Content profiles
|
|
50
|
+
*
|
|
51
|
+
* @param {Object} opts Optional parameters
|
|
52
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
53
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
54
|
+
*/
|
|
55
|
+
getMessagingSupportedcontent(opts) {
|
|
56
|
+
opts = opts || {};
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
return this.apiClient.callApi(
|
|
60
|
+
'/api/v2/messaging/supportedcontent',
|
|
61
|
+
'GET',
|
|
62
|
+
{ },
|
|
63
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
64
|
+
{ },
|
|
65
|
+
{ },
|
|
66
|
+
null,
|
|
67
|
+
['PureCloud OAuth'],
|
|
68
|
+
['application/json'],
|
|
69
|
+
['application/json']
|
|
70
|
+
);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* Get a supported content profile
|
|
75
|
+
*
|
|
76
|
+
* @param {String} supportedContentId Supported Content ID
|
|
77
|
+
*/
|
|
78
|
+
getMessagingSupportedcontentSupportedContentId(supportedContentId) {
|
|
79
|
+
// verify the required parameter 'supportedContentId' is set
|
|
80
|
+
if (supportedContentId === undefined || supportedContentId === null) {
|
|
81
|
+
throw 'Missing the required parameter "supportedContentId" when calling getMessagingSupportedcontentSupportedContentId';
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
return this.apiClient.callApi(
|
|
85
|
+
'/api/v2/messaging/supportedcontent/{supportedContentId}',
|
|
86
|
+
'GET',
|
|
87
|
+
{ 'supportedContentId': supportedContentId },
|
|
88
|
+
{ },
|
|
89
|
+
{ },
|
|
90
|
+
{ },
|
|
91
|
+
null,
|
|
92
|
+
['PureCloud OAuth'],
|
|
93
|
+
['application/json'],
|
|
94
|
+
['application/json']
|
|
95
|
+
);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* Update a supported content profile
|
|
100
|
+
*
|
|
101
|
+
* @param {String} supportedContentId Supported Content ID
|
|
102
|
+
* @param {Object} body SupportedContent
|
|
103
|
+
*/
|
|
104
|
+
patchMessagingSupportedcontentSupportedContentId(supportedContentId, body) {
|
|
105
|
+
// verify the required parameter 'supportedContentId' is set
|
|
106
|
+
if (supportedContentId === undefined || supportedContentId === null) {
|
|
107
|
+
throw 'Missing the required parameter "supportedContentId" when calling patchMessagingSupportedcontentSupportedContentId';
|
|
108
|
+
}
|
|
109
|
+
// verify the required parameter 'body' is set
|
|
110
|
+
if (body === undefined || body === null) {
|
|
111
|
+
throw 'Missing the required parameter "body" when calling patchMessagingSupportedcontentSupportedContentId';
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
return this.apiClient.callApi(
|
|
115
|
+
'/api/v2/messaging/supportedcontent/{supportedContentId}',
|
|
116
|
+
'PATCH',
|
|
117
|
+
{ 'supportedContentId': supportedContentId },
|
|
118
|
+
{ },
|
|
119
|
+
{ },
|
|
120
|
+
{ },
|
|
121
|
+
body,
|
|
122
|
+
['PureCloud OAuth'],
|
|
123
|
+
['application/json'],
|
|
124
|
+
['application/json']
|
|
125
|
+
);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* Create a Supported Content profile
|
|
130
|
+
*
|
|
131
|
+
* @param {Object} body SupportedContent
|
|
132
|
+
*/
|
|
133
|
+
postMessagingSupportedcontent(body) {
|
|
134
|
+
// verify the required parameter 'body' is set
|
|
135
|
+
if (body === undefined || body === null) {
|
|
136
|
+
throw 'Missing the required parameter "body" when calling postMessagingSupportedcontent';
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
return this.apiClient.callApi(
|
|
140
|
+
'/api/v2/messaging/supportedcontent',
|
|
141
|
+
'POST',
|
|
142
|
+
{ },
|
|
143
|
+
{ },
|
|
144
|
+
{ },
|
|
145
|
+
{ },
|
|
146
|
+
body,
|
|
147
|
+
['PureCloud OAuth'],
|
|
148
|
+
['application/json'],
|
|
149
|
+
['application/json']
|
|
150
|
+
);
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
export default MessagingApi;
|
|
@@ -5,7 +5,7 @@ class RecordingApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Recording service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 131.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -211,11 +211,11 @@ class RecordingApi {
|
|
|
211
211
|
* @param {String} conversationId Conversation ID
|
|
212
212
|
* @param {String} recordingId Recording ID
|
|
213
213
|
* @param {Object} opts Optional parameters
|
|
214
|
-
* @param {Object} opts.formatId The desired media format. (default to WEBM)
|
|
215
|
-
* @param {Object} opts.emailFormatId The desired media format when downloading an email recording. (default to EML)
|
|
216
|
-
* @param {Object} opts.chatFormatId The desired media format when downloading a chat recording. (default to ZIP)
|
|
217
|
-
* @param {Object} opts.messageFormatId The desired media format when downloading a message recording. (default to ZIP)
|
|
218
|
-
* @param {Boolean} opts.download requesting a download format of the recording (default to false)
|
|
214
|
+
* @param {Object} opts.formatId The desired media format. Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3,NONE (default to WEBM)
|
|
215
|
+
* @param {Object} opts.emailFormatId The desired media format when downloading an email recording. Valid values:EML,NONE (default to EML)
|
|
216
|
+
* @param {Object} opts.chatFormatId The desired media format when downloading a chat recording. Valid values:ZIP,NONE (default to ZIP)
|
|
217
|
+
* @param {Object} opts.messageFormatId The desired media format when downloading a message recording. Valid values:ZIP,NONE (default to ZIP)
|
|
218
|
+
* @param {Boolean} opts.download requesting a download format of the recording. Valid values:true,false (default to false)
|
|
219
219
|
* @param {String} opts.fileName the name of the downloaded fileName
|
|
220
220
|
* @param {String} opts.locale The locale for the requested file when downloading, as an ISO 639-1 code
|
|
221
221
|
*/
|
|
@@ -311,7 +311,7 @@ class RecordingApi {
|
|
|
311
311
|
}
|
|
312
312
|
|
|
313
313
|
/**
|
|
314
|
-
* Get recording metadata for a conversation. Does not return playable media.
|
|
314
|
+
* Get recording metadata for a conversation. Does not return playable media. Annotations won't be included in the response if recording:recording:view permission is missing.
|
|
315
315
|
*
|
|
316
316
|
* @param {String} conversationId Conversation ID
|
|
317
317
|
*/
|
|
@@ -371,7 +371,7 @@ class RecordingApi {
|
|
|
371
371
|
* @param {String} conversationId Conversation ID
|
|
372
372
|
* @param {Object} opts Optional parameters
|
|
373
373
|
* @param {Number} opts.maxWaitMs The maximum number of milliseconds to wait for the recording to be ready. Must be a positive value. (default to 5000)
|
|
374
|
-
* @param {Object} opts.formatId The desired media format (default to WEBM)
|
|
374
|
+
* @param {Object} opts.formatId The desired media format . Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3,NONE. (default to WEBM)
|
|
375
375
|
*/
|
|
376
376
|
getConversationRecordings(conversationId, opts) {
|
|
377
377
|
opts = opts || {};
|
|
@@ -5,7 +5,7 @@ class RoutingApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Routing service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 131.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -1443,10 +1443,14 @@ class RoutingApi {
|
|
|
1443
1443
|
*
|
|
1444
1444
|
* @param {Object} opts Optional parameters
|
|
1445
1445
|
* @param {String} opts.phoneNumber Filter on phone number address. Allowable characters are the digits '0-9' and the wild card character '\\*'. If just digits are present, a contains search is done on the address pattern. For example, '317' could be matched anywhere in the address. An '\\*' will match multiple digits. For example, to match a specific area code within the US a pattern like '1317*' could be used.
|
|
1446
|
-
* @param {
|
|
1447
|
-
* @param {
|
|
1446
|
+
* @param {Array.<String>} opts.phoneNumberType Filter on phone number type
|
|
1447
|
+
* @param {Array.<String>} opts.phoneNumberStatus Filter on phone number status
|
|
1448
|
+
* @param {Array.<String>} opts.countryCode Filter on country code
|
|
1448
1449
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
1449
1450
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
1451
|
+
* @param {Object} opts.sortBy Optional field to sort results
|
|
1452
|
+
* @param {Object} opts.sortOrder Sort order
|
|
1453
|
+
* @param {String} opts.language A language tag (which is sometimes referred to as a \"locale identifier\") to use to localize country field and sort operations (default to en-US)
|
|
1450
1454
|
*/
|
|
1451
1455
|
getRoutingSmsPhonenumbers(opts) {
|
|
1452
1456
|
opts = opts || {};
|
|
@@ -1456,7 +1460,7 @@ class RoutingApi {
|
|
|
1456
1460
|
'/api/v2/routing/sms/phonenumbers',
|
|
1457
1461
|
'GET',
|
|
1458
1462
|
{ },
|
|
1459
|
-
{ 'phoneNumber': opts['phoneNumber'],'phoneNumberType': opts['phoneNumberType'],'phoneNumberStatus': opts['phoneNumberStatus'],'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
1463
|
+
{ 'phoneNumber': opts['phoneNumber'],'phoneNumberType': this.apiClient.buildCollectionParam(opts['phoneNumberType'], 'multi'),'phoneNumberStatus': this.apiClient.buildCollectionParam(opts['phoneNumberStatus'], 'multi'),'countryCode': this.apiClient.buildCollectionParam(opts['countryCode'], 'multi'),'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'language': opts['language'] },
|
|
1460
1464
|
{ },
|
|
1461
1465
|
{ },
|
|
1462
1466
|
null,
|
|
@@ -5,7 +5,7 @@ class SpeechTextAnalyticsApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* SpeechTextAnalytics service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 131.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -174,26 +174,6 @@ class SpeechTextAnalyticsApi {
|
|
|
174
174
|
);
|
|
175
175
|
}
|
|
176
176
|
|
|
177
|
-
/**
|
|
178
|
-
* Get list of supported Speech & Text Analytics dialects
|
|
179
|
-
* This api has been deprecated. Use api/v2/topics/dialects instead
|
|
180
|
-
*/
|
|
181
|
-
getSpeechandtextanalyticsDialects() {
|
|
182
|
-
|
|
183
|
-
return this.apiClient.callApi(
|
|
184
|
-
'/api/v2/speechandtextanalytics/dialects',
|
|
185
|
-
'GET',
|
|
186
|
-
{ },
|
|
187
|
-
{ },
|
|
188
|
-
{ },
|
|
189
|
-
{ },
|
|
190
|
-
null,
|
|
191
|
-
['PureCloud OAuth'],
|
|
192
|
-
['application/json'],
|
|
193
|
-
['application/json']
|
|
194
|
-
);
|
|
195
|
-
}
|
|
196
|
-
|
|
197
177
|
/**
|
|
198
178
|
* Get a Speech & Text Analytics program by id
|
|
199
179
|
*
|
|
@@ -5,7 +5,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* TelephonyProvidersEdge service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 131.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -1343,6 +1343,26 @@ class TelephonyProvidersEdgeApi {
|
|
|
1343
1343
|
);
|
|
1344
1344
|
}
|
|
1345
1345
|
|
|
1346
|
+
/**
|
|
1347
|
+
* List of edges more than 4 edge versions behind the latest software.
|
|
1348
|
+
*
|
|
1349
|
+
*/
|
|
1350
|
+
getTelephonyProvidersEdgesExpired() {
|
|
1351
|
+
|
|
1352
|
+
return this.apiClient.callApi(
|
|
1353
|
+
'/api/v2/telephony/providers/edges/expired',
|
|
1354
|
+
'GET',
|
|
1355
|
+
{ },
|
|
1356
|
+
{ },
|
|
1357
|
+
{ },
|
|
1358
|
+
{ },
|
|
1359
|
+
null,
|
|
1360
|
+
['PureCloud OAuth'],
|
|
1361
|
+
['application/json'],
|
|
1362
|
+
['application/json']
|
|
1363
|
+
);
|
|
1364
|
+
}
|
|
1365
|
+
|
|
1346
1366
|
/**
|
|
1347
1367
|
* Get an extension by ID.
|
|
1348
1368
|
*
|
|
@@ -5,7 +5,7 @@ class TextbotsApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Textbots service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 131.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -20,6 +20,33 @@ class TextbotsApi {
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
|
|
23
|
+
/**
|
|
24
|
+
* Find bots using the currently configured friendly name or ID.
|
|
25
|
+
* The name does allow case-insensitive partial string matches or by IDs (up to 50), but not both at the same time. Optionally you can limit the scope of the search by providing one or more bot types. You can specify the maximum results to return, up to a limit of 100
|
|
26
|
+
* @param {Object} opts Optional parameters
|
|
27
|
+
* @param {Array.<String>} opts.botType Bot types
|
|
28
|
+
* @param {String} opts.botName Bot name
|
|
29
|
+
* @param {Array.<String>} opts.botId Bot IDs
|
|
30
|
+
* @param {Number} opts.pageSize The maximum results to return (default to 25)
|
|
31
|
+
*/
|
|
32
|
+
getTextbotsBotsSearch(opts) {
|
|
33
|
+
opts = opts || {};
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
return this.apiClient.callApi(
|
|
37
|
+
'/api/v2/textbots/bots/search',
|
|
38
|
+
'GET',
|
|
39
|
+
{ },
|
|
40
|
+
{ 'botType': this.apiClient.buildCollectionParam(opts['botType'], 'multi'),'botName': opts['botName'],'botId': this.apiClient.buildCollectionParam(opts['botId'], 'multi'),'pageSize': opts['pageSize'] },
|
|
41
|
+
{ },
|
|
42
|
+
{ },
|
|
43
|
+
null,
|
|
44
|
+
['PureCloud OAuth'],
|
|
45
|
+
['application/json'],
|
|
46
|
+
['application/json']
|
|
47
|
+
);
|
|
48
|
+
}
|
|
49
|
+
|
|
23
50
|
/**
|
|
24
51
|
* Issue a bot flow turn event
|
|
25
52
|
* Send a turn event to an executing bot flow and produce the next action to take.
|
|
@@ -5,7 +5,7 @@ class UtilitiesApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Utilities service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 131.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -41,7 +41,7 @@ class UtilitiesApi {
|
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
/**
|
|
44
|
-
* Get public ip address ranges for
|
|
44
|
+
* Get public ip address ranges for Genesys Cloud
|
|
45
45
|
*
|
|
46
46
|
*/
|
|
47
47
|
getIpranges() {
|