purecloud-platform-client-v2 128.0.0 → 131.1.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 +681 -100
- package/dist/web-amd/purecloud-platform-client-v2.js +681 -100
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +681 -100
- package/dist/web-cjs/purecloud-platform-client-v2.js +681 -100
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +524 -50
- 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 +46 -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 +3 -3
- 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 +51 -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 +22 -2
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -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
package/dist/web-cjs/bundle.js
CHANGED
|
@@ -2263,7 +2263,7 @@ class Configuration {
|
|
|
2263
2263
|
|
|
2264
2264
|
/**
|
|
2265
2265
|
* @module purecloud-platform-client-v2/ApiClient
|
|
2266
|
-
* @version
|
|
2266
|
+
* @version 131.1.0
|
|
2267
2267
|
*/
|
|
2268
2268
|
class ApiClient {
|
|
2269
2269
|
/**
|
|
@@ -3203,7 +3203,7 @@ class ApiClient {
|
|
|
3203
3203
|
|
|
3204
3204
|
// set header parameters
|
|
3205
3205
|
request.set(that.defaultHeaders).set(that.normalizeParams(headerParams));
|
|
3206
|
-
//request.set({ 'purecloud-sdk': '
|
|
3206
|
+
//request.set({ 'purecloud-sdk': '131.1.0' });
|
|
3207
3207
|
|
|
3208
3208
|
// set request timeout
|
|
3209
3209
|
request.timeout(that.timeout);
|
|
@@ -3303,7 +3303,7 @@ class AlertingApi {
|
|
|
3303
3303
|
/**
|
|
3304
3304
|
* Alerting service.
|
|
3305
3305
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
3306
|
-
* @version
|
|
3306
|
+
* @version 131.1.0
|
|
3307
3307
|
*/
|
|
3308
3308
|
|
|
3309
3309
|
/**
|
|
@@ -3617,7 +3617,7 @@ class AnalyticsApi {
|
|
|
3617
3617
|
/**
|
|
3618
3618
|
* Analytics service.
|
|
3619
3619
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
3620
|
-
* @version
|
|
3620
|
+
* @version 131.1.0
|
|
3621
3621
|
*/
|
|
3622
3622
|
|
|
3623
3623
|
/**
|
|
@@ -4118,6 +4118,26 @@ class AnalyticsApi {
|
|
|
4118
4118
|
);
|
|
4119
4119
|
}
|
|
4120
4120
|
|
|
4121
|
+
/**
|
|
4122
|
+
* Get AnalyticsReportingSettings for an organization
|
|
4123
|
+
*
|
|
4124
|
+
*/
|
|
4125
|
+
getAnalyticsReportingSettings() {
|
|
4126
|
+
|
|
4127
|
+
return this.apiClient.callApi(
|
|
4128
|
+
'/api/v2/analytics/reporting/settings',
|
|
4129
|
+
'GET',
|
|
4130
|
+
{ },
|
|
4131
|
+
{ },
|
|
4132
|
+
{ },
|
|
4133
|
+
{ },
|
|
4134
|
+
null,
|
|
4135
|
+
['PureCloud OAuth'],
|
|
4136
|
+
['application/json'],
|
|
4137
|
+
['application/json']
|
|
4138
|
+
);
|
|
4139
|
+
}
|
|
4140
|
+
|
|
4121
4141
|
/**
|
|
4122
4142
|
* Get a list of report time periods.
|
|
4123
4143
|
*
|
|
@@ -4213,6 +4233,31 @@ class AnalyticsApi {
|
|
|
4213
4233
|
);
|
|
4214
4234
|
}
|
|
4215
4235
|
|
|
4236
|
+
/**
|
|
4237
|
+
* Patch AnalyticsReportingSettings values for an organization
|
|
4238
|
+
*
|
|
4239
|
+
* @param {Object} body AnalyticsReportingSettingsRequest
|
|
4240
|
+
*/
|
|
4241
|
+
patchAnalyticsReportingSettings(body) {
|
|
4242
|
+
// verify the required parameter 'body' is set
|
|
4243
|
+
if (body === undefined || body === null) {
|
|
4244
|
+
throw 'Missing the required parameter "body" when calling patchAnalyticsReportingSettings';
|
|
4245
|
+
}
|
|
4246
|
+
|
|
4247
|
+
return this.apiClient.callApi(
|
|
4248
|
+
'/api/v2/analytics/reporting/settings',
|
|
4249
|
+
'PATCH',
|
|
4250
|
+
{ },
|
|
4251
|
+
{ },
|
|
4252
|
+
{ },
|
|
4253
|
+
{ },
|
|
4254
|
+
body,
|
|
4255
|
+
['PureCloud OAuth'],
|
|
4256
|
+
['application/json'],
|
|
4257
|
+
['application/json']
|
|
4258
|
+
);
|
|
4259
|
+
}
|
|
4260
|
+
|
|
4216
4261
|
/**
|
|
4217
4262
|
* Query for bot aggregates
|
|
4218
4263
|
*
|
|
@@ -4754,7 +4799,7 @@ class ArchitectApi {
|
|
|
4754
4799
|
/**
|
|
4755
4800
|
* Architect service.
|
|
4756
4801
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
4757
|
-
* @version
|
|
4802
|
+
* @version 131.1.0
|
|
4758
4803
|
*/
|
|
4759
4804
|
|
|
4760
4805
|
/**
|
|
@@ -7750,7 +7795,7 @@ class AuditApi {
|
|
|
7750
7795
|
/**
|
|
7751
7796
|
* Audit service.
|
|
7752
7797
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
7753
|
-
* @version
|
|
7798
|
+
* @version 131.1.0
|
|
7754
7799
|
*/
|
|
7755
7800
|
|
|
7756
7801
|
/**
|
|
@@ -7921,7 +7966,7 @@ class AuthorizationApi {
|
|
|
7921
7966
|
/**
|
|
7922
7967
|
* Authorization service.
|
|
7923
7968
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
7924
|
-
* @version
|
|
7969
|
+
* @version 131.1.0
|
|
7925
7970
|
*/
|
|
7926
7971
|
|
|
7927
7972
|
/**
|
|
@@ -9104,7 +9149,7 @@ class BillingApi {
|
|
|
9104
9149
|
/**
|
|
9105
9150
|
* Billing service.
|
|
9106
9151
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
9107
|
-
* @version
|
|
9152
|
+
* @version 131.1.0
|
|
9108
9153
|
*/
|
|
9109
9154
|
|
|
9110
9155
|
/**
|
|
@@ -9184,7 +9229,7 @@ class ChatApi {
|
|
|
9184
9229
|
/**
|
|
9185
9230
|
* Chat service.
|
|
9186
9231
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
9187
|
-
* @version
|
|
9232
|
+
* @version 131.1.0
|
|
9188
9233
|
*/
|
|
9189
9234
|
|
|
9190
9235
|
/**
|
|
@@ -9275,7 +9320,7 @@ class CoachingApi {
|
|
|
9275
9320
|
/**
|
|
9276
9321
|
* Coaching service.
|
|
9277
9322
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
9278
|
-
* @version
|
|
9323
|
+
* @version 131.1.0
|
|
9279
9324
|
*/
|
|
9280
9325
|
|
|
9281
9326
|
/**
|
|
@@ -9474,6 +9519,7 @@ class CoachingApi {
|
|
|
9474
9519
|
* @param {Array.<String>} opts.relationships Relationships to filter by
|
|
9475
9520
|
* @param {String} opts.completionInterval Appointment completion start and end to filter by. End date is not inclusive. Intervals are represented as an ISO-8601 string. For example: YYYY-MM-DDThh:mm:ss/YYYY-MM-DDThh:mm:ss
|
|
9476
9521
|
* @param {Object} opts.overdue Overdue status to filter by
|
|
9522
|
+
* @param {Object} opts.intervalCondition Filter condition for interval
|
|
9477
9523
|
*/
|
|
9478
9524
|
getCoachingAppointments(userIds, opts) {
|
|
9479
9525
|
opts = opts || {};
|
|
@@ -9487,7 +9533,7 @@ class CoachingApi {
|
|
|
9487
9533
|
'/api/v2/coaching/appointments',
|
|
9488
9534
|
'GET',
|
|
9489
9535
|
{ },
|
|
9490
|
-
{ 'userIds': this.apiClient.buildCollectionParam(userIds, 'multi'),'interval': opts['interval'],'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'statuses': this.apiClient.buildCollectionParam(opts['statuses'], 'multi'),'facilitatorIds': this.apiClient.buildCollectionParam(opts['facilitatorIds'], 'multi'),'sortOrder': opts['sortOrder'],'relationships': this.apiClient.buildCollectionParam(opts['relationships'], 'multi'),'completionInterval': opts['completionInterval'],'overdue': opts['overdue'] },
|
|
9536
|
+
{ 'userIds': this.apiClient.buildCollectionParam(userIds, 'multi'),'interval': opts['interval'],'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'statuses': this.apiClient.buildCollectionParam(opts['statuses'], 'multi'),'facilitatorIds': this.apiClient.buildCollectionParam(opts['facilitatorIds'], 'multi'),'sortOrder': opts['sortOrder'],'relationships': this.apiClient.buildCollectionParam(opts['relationships'], 'multi'),'completionInterval': opts['completionInterval'],'overdue': opts['overdue'],'intervalCondition': opts['intervalCondition'] },
|
|
9491
9537
|
{ },
|
|
9492
9538
|
{ },
|
|
9493
9539
|
null,
|
|
@@ -9510,6 +9556,7 @@ class CoachingApi {
|
|
|
9510
9556
|
* @param {Array.<String>} opts.relationships Relationships to filter by
|
|
9511
9557
|
* @param {String} opts.completionInterval Appointment completion start and end to filter by. End date is not inclusive. Intervals are represented as an ISO-8601 string. For example: YYYY-MM-DDThh:mm:ss/YYYY-MM-DDThh:mm:ss
|
|
9512
9558
|
* @param {Object} opts.overdue Overdue status to filter by
|
|
9559
|
+
* @param {Object} opts.intervalCondition Filter condition for interval
|
|
9513
9560
|
*/
|
|
9514
9561
|
getCoachingAppointmentsMe(opts) {
|
|
9515
9562
|
opts = opts || {};
|
|
@@ -9519,7 +9566,7 @@ class CoachingApi {
|
|
|
9519
9566
|
'/api/v2/coaching/appointments/me',
|
|
9520
9567
|
'GET',
|
|
9521
9568
|
{ },
|
|
9522
|
-
{ 'interval': opts['interval'],'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'statuses': this.apiClient.buildCollectionParam(opts['statuses'], 'multi'),'facilitatorIds': this.apiClient.buildCollectionParam(opts['facilitatorIds'], 'multi'),'sortOrder': opts['sortOrder'],'relationships': this.apiClient.buildCollectionParam(opts['relationships'], 'multi'),'completionInterval': opts['completionInterval'],'overdue': opts['overdue'] },
|
|
9569
|
+
{ 'interval': opts['interval'],'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'statuses': this.apiClient.buildCollectionParam(opts['statuses'], 'multi'),'facilitatorIds': this.apiClient.buildCollectionParam(opts['facilitatorIds'], 'multi'),'sortOrder': opts['sortOrder'],'relationships': this.apiClient.buildCollectionParam(opts['relationships'], 'multi'),'completionInterval': opts['completionInterval'],'overdue': opts['overdue'],'intervalCondition': opts['intervalCondition'] },
|
|
9523
9570
|
{ },
|
|
9524
9571
|
{ },
|
|
9525
9572
|
null,
|
|
@@ -9850,7 +9897,7 @@ class ContentManagementApi {
|
|
|
9850
9897
|
/**
|
|
9851
9898
|
* ContentManagement service.
|
|
9852
9899
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
9853
|
-
* @version
|
|
9900
|
+
* @version 131.1.0
|
|
9854
9901
|
*/
|
|
9855
9902
|
|
|
9856
9903
|
/**
|
|
@@ -10990,7 +11037,7 @@ class ConversationsApi {
|
|
|
10990
11037
|
/**
|
|
10991
11038
|
* Conversations service.
|
|
10992
11039
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
10993
|
-
* @version
|
|
11040
|
+
* @version 131.1.0
|
|
10994
11041
|
*/
|
|
10995
11042
|
|
|
10996
11043
|
/**
|
|
@@ -11280,6 +11327,31 @@ class ConversationsApi {
|
|
|
11280
11327
|
);
|
|
11281
11328
|
}
|
|
11282
11329
|
|
|
11330
|
+
/**
|
|
11331
|
+
* Delete a supported content profile
|
|
11332
|
+
*
|
|
11333
|
+
* @param {String} supportedContentId Supported Content ID
|
|
11334
|
+
*/
|
|
11335
|
+
deleteConversationsMessagingSupportedcontentSupportedContentId(supportedContentId) {
|
|
11336
|
+
// verify the required parameter 'supportedContentId' is set
|
|
11337
|
+
if (supportedContentId === undefined || supportedContentId === null) {
|
|
11338
|
+
throw 'Missing the required parameter "supportedContentId" when calling deleteConversationsMessagingSupportedcontentSupportedContentId';
|
|
11339
|
+
}
|
|
11340
|
+
|
|
11341
|
+
return this.apiClient.callApi(
|
|
11342
|
+
'/api/v2/conversations/messaging/supportedcontent/{supportedContentId}',
|
|
11343
|
+
'DELETE',
|
|
11344
|
+
{ 'supportedContentId': supportedContentId },
|
|
11345
|
+
{ },
|
|
11346
|
+
{ },
|
|
11347
|
+
{ },
|
|
11348
|
+
null,
|
|
11349
|
+
['PureCloud OAuth'],
|
|
11350
|
+
['application/json'],
|
|
11351
|
+
['application/json']
|
|
11352
|
+
);
|
|
11353
|
+
}
|
|
11354
|
+
|
|
11283
11355
|
/**
|
|
11284
11356
|
* Get a conversation by id
|
|
11285
11357
|
*
|
|
@@ -12872,6 +12944,76 @@ class ConversationsApi {
|
|
|
12872
12944
|
);
|
|
12873
12945
|
}
|
|
12874
12946
|
|
|
12947
|
+
/**
|
|
12948
|
+
* Get a list of Supported Content profiles
|
|
12949
|
+
*
|
|
12950
|
+
* @param {Object} opts Optional parameters
|
|
12951
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
12952
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
12953
|
+
*/
|
|
12954
|
+
getConversationsMessagingSupportedcontent(opts) {
|
|
12955
|
+
opts = opts || {};
|
|
12956
|
+
|
|
12957
|
+
|
|
12958
|
+
return this.apiClient.callApi(
|
|
12959
|
+
'/api/v2/conversations/messaging/supportedcontent',
|
|
12960
|
+
'GET',
|
|
12961
|
+
{ },
|
|
12962
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
12963
|
+
{ },
|
|
12964
|
+
{ },
|
|
12965
|
+
null,
|
|
12966
|
+
['PureCloud OAuth'],
|
|
12967
|
+
['application/json'],
|
|
12968
|
+
['application/json']
|
|
12969
|
+
);
|
|
12970
|
+
}
|
|
12971
|
+
|
|
12972
|
+
/**
|
|
12973
|
+
* Get the organization's default supported content profile that will be used as the default when creating an integration.
|
|
12974
|
+
* When an integration is created a supported content ID may be assigned to it. If the supported content ID is not supplied, the default supported content profile will be assigned to it.
|
|
12975
|
+
*/
|
|
12976
|
+
getConversationsMessagingSupportedcontentDefault() {
|
|
12977
|
+
|
|
12978
|
+
return this.apiClient.callApi(
|
|
12979
|
+
'/api/v2/conversations/messaging/supportedcontent/default',
|
|
12980
|
+
'GET',
|
|
12981
|
+
{ },
|
|
12982
|
+
{ },
|
|
12983
|
+
{ },
|
|
12984
|
+
{ },
|
|
12985
|
+
null,
|
|
12986
|
+
['PureCloud OAuth'],
|
|
12987
|
+
['application/json'],
|
|
12988
|
+
['application/json']
|
|
12989
|
+
);
|
|
12990
|
+
}
|
|
12991
|
+
|
|
12992
|
+
/**
|
|
12993
|
+
* Get a supported content profile
|
|
12994
|
+
*
|
|
12995
|
+
* @param {String} supportedContentId Supported Content ID
|
|
12996
|
+
*/
|
|
12997
|
+
getConversationsMessagingSupportedcontentSupportedContentId(supportedContentId) {
|
|
12998
|
+
// verify the required parameter 'supportedContentId' is set
|
|
12999
|
+
if (supportedContentId === undefined || supportedContentId === null) {
|
|
13000
|
+
throw 'Missing the required parameter "supportedContentId" when calling getConversationsMessagingSupportedcontentSupportedContentId';
|
|
13001
|
+
}
|
|
13002
|
+
|
|
13003
|
+
return this.apiClient.callApi(
|
|
13004
|
+
'/api/v2/conversations/messaging/supportedcontent/{supportedContentId}',
|
|
13005
|
+
'GET',
|
|
13006
|
+
{ 'supportedContentId': supportedContentId },
|
|
13007
|
+
{ },
|
|
13008
|
+
{ },
|
|
13009
|
+
{ },
|
|
13010
|
+
null,
|
|
13011
|
+
['PureCloud OAuth'],
|
|
13012
|
+
['application/json'],
|
|
13013
|
+
['application/json']
|
|
13014
|
+
);
|
|
13015
|
+
}
|
|
13016
|
+
|
|
12875
13017
|
/**
|
|
12876
13018
|
* Get conversation threading window timeline for each messaging type
|
|
12877
13019
|
* Conversation messaging threading timeline is a setting defined for each messenger type in your organization. This setting will dictate whether a new message is added to the most recent existing conversation, or creates a new Conversation. If the existing Conversation is still in a connected state the threading timeline setting will never play a role. After the conversation is disconnected, if an inbound message is received or an outbound message is sent after the setting for threading timeline expires, a new conversation is created.
|
|
@@ -13953,6 +14095,36 @@ class ConversationsApi {
|
|
|
13953
14095
|
);
|
|
13954
14096
|
}
|
|
13955
14097
|
|
|
14098
|
+
/**
|
|
14099
|
+
* Update a supported content profile
|
|
14100
|
+
*
|
|
14101
|
+
* @param {String} supportedContentId Supported Content ID
|
|
14102
|
+
* @param {Object} body SupportedContent
|
|
14103
|
+
*/
|
|
14104
|
+
patchConversationsMessagingSupportedcontentSupportedContentId(supportedContentId, body) {
|
|
14105
|
+
// verify the required parameter 'supportedContentId' is set
|
|
14106
|
+
if (supportedContentId === undefined || supportedContentId === null) {
|
|
14107
|
+
throw 'Missing the required parameter "supportedContentId" when calling patchConversationsMessagingSupportedcontentSupportedContentId';
|
|
14108
|
+
}
|
|
14109
|
+
// verify the required parameter 'body' is set
|
|
14110
|
+
if (body === undefined || body === null) {
|
|
14111
|
+
throw 'Missing the required parameter "body" when calling patchConversationsMessagingSupportedcontentSupportedContentId';
|
|
14112
|
+
}
|
|
14113
|
+
|
|
14114
|
+
return this.apiClient.callApi(
|
|
14115
|
+
'/api/v2/conversations/messaging/supportedcontent/{supportedContentId}',
|
|
14116
|
+
'PATCH',
|
|
14117
|
+
{ 'supportedContentId': supportedContentId },
|
|
14118
|
+
{ },
|
|
14119
|
+
{ },
|
|
14120
|
+
{ },
|
|
14121
|
+
body,
|
|
14122
|
+
['PureCloud OAuth'],
|
|
14123
|
+
['application/json'],
|
|
14124
|
+
['application/json']
|
|
14125
|
+
);
|
|
14126
|
+
}
|
|
14127
|
+
|
|
13956
14128
|
/**
|
|
13957
14129
|
* Index conversation properties
|
|
13958
14130
|
*
|
|
@@ -15188,6 +15360,31 @@ class ConversationsApi {
|
|
|
15188
15360
|
);
|
|
15189
15361
|
}
|
|
15190
15362
|
|
|
15363
|
+
/**
|
|
15364
|
+
* Create a Supported Content profile
|
|
15365
|
+
*
|
|
15366
|
+
* @param {Object} body SupportedContent
|
|
15367
|
+
*/
|
|
15368
|
+
postConversationsMessagingSupportedcontent(body) {
|
|
15369
|
+
// verify the required parameter 'body' is set
|
|
15370
|
+
if (body === undefined || body === null) {
|
|
15371
|
+
throw 'Missing the required parameter "body" when calling postConversationsMessagingSupportedcontent';
|
|
15372
|
+
}
|
|
15373
|
+
|
|
15374
|
+
return this.apiClient.callApi(
|
|
15375
|
+
'/api/v2/conversations/messaging/supportedcontent',
|
|
15376
|
+
'POST',
|
|
15377
|
+
{ },
|
|
15378
|
+
{ },
|
|
15379
|
+
{ },
|
|
15380
|
+
{ },
|
|
15381
|
+
body,
|
|
15382
|
+
['PureCloud OAuth'],
|
|
15383
|
+
['application/json'],
|
|
15384
|
+
['application/json']
|
|
15385
|
+
);
|
|
15386
|
+
}
|
|
15387
|
+
|
|
15191
15388
|
/**
|
|
15192
15389
|
* Set flagged reason on conversation participant to indicate bad conversation quality.
|
|
15193
15390
|
*
|
|
@@ -15348,6 +15545,31 @@ class ConversationsApi {
|
|
|
15348
15545
|
);
|
|
15349
15546
|
}
|
|
15350
15547
|
|
|
15548
|
+
/**
|
|
15549
|
+
* Set the organization's default supported content profile that may be assigned to an integration when it is created.
|
|
15550
|
+
* When an integration is created a supported content ID may be assigned to it. If the supported content ID is not supplied, the default supported content profile will be assigned to it.
|
|
15551
|
+
* @param {Object} body SupportedContent
|
|
15552
|
+
*/
|
|
15553
|
+
putConversationsMessagingSupportedcontentDefault(body) {
|
|
15554
|
+
// verify the required parameter 'body' is set
|
|
15555
|
+
if (body === undefined || body === null) {
|
|
15556
|
+
throw 'Missing the required parameter "body" when calling putConversationsMessagingSupportedcontentDefault';
|
|
15557
|
+
}
|
|
15558
|
+
|
|
15559
|
+
return this.apiClient.callApi(
|
|
15560
|
+
'/api/v2/conversations/messaging/supportedcontent/default',
|
|
15561
|
+
'PUT',
|
|
15562
|
+
{ },
|
|
15563
|
+
{ },
|
|
15564
|
+
{ },
|
|
15565
|
+
{ },
|
|
15566
|
+
body,
|
|
15567
|
+
['PureCloud OAuth'],
|
|
15568
|
+
['application/json'],
|
|
15569
|
+
['application/json']
|
|
15570
|
+
);
|
|
15571
|
+
}
|
|
15572
|
+
|
|
15351
15573
|
/**
|
|
15352
15574
|
* Update conversation threading window timeline for each messaging type
|
|
15353
15575
|
* PUT Conversation messaging threading timeline is intended to set the conversation threading settings for ALL messengerTypes. If you omit a messengerType in the request body then the setting for that messengerType will use the platform default value. The PUT replaces the existing setting(s) that were previously set for each messengerType.
|
|
@@ -15379,7 +15601,7 @@ class DataExtensionsApi {
|
|
|
15379
15601
|
/**
|
|
15380
15602
|
* DataExtensions service.
|
|
15381
15603
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
15382
|
-
* @version
|
|
15604
|
+
* @version 131.1.0
|
|
15383
15605
|
*/
|
|
15384
15606
|
|
|
15385
15607
|
/**
|
|
@@ -15465,7 +15687,7 @@ class ExternalContactsApi {
|
|
|
15465
15687
|
/**
|
|
15466
15688
|
* ExternalContacts service.
|
|
15467
15689
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
15468
|
-
* @version
|
|
15690
|
+
* @version 131.1.0
|
|
15469
15691
|
*/
|
|
15470
15692
|
|
|
15471
15693
|
/**
|
|
@@ -17208,7 +17430,7 @@ class FaxApi {
|
|
|
17208
17430
|
/**
|
|
17209
17431
|
* Fax service.
|
|
17210
17432
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
17211
|
-
* @version
|
|
17433
|
+
* @version 131.1.0
|
|
17212
17434
|
*/
|
|
17213
17435
|
|
|
17214
17436
|
/**
|
|
@@ -17379,7 +17601,7 @@ class FlowsApi {
|
|
|
17379
17601
|
/**
|
|
17380
17602
|
* Flows service.
|
|
17381
17603
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
17382
|
-
* @version
|
|
17604
|
+
* @version 131.1.0
|
|
17383
17605
|
*/
|
|
17384
17606
|
|
|
17385
17607
|
/**
|
|
@@ -17450,7 +17672,7 @@ class GamificationApi {
|
|
|
17450
17672
|
/**
|
|
17451
17673
|
* Gamification service.
|
|
17452
17674
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
17453
|
-
* @version
|
|
17675
|
+
* @version 131.1.0
|
|
17454
17676
|
*/
|
|
17455
17677
|
|
|
17456
17678
|
/**
|
|
@@ -17718,6 +17940,31 @@ class GamificationApi {
|
|
|
17718
17940
|
);
|
|
17719
17941
|
}
|
|
17720
17942
|
|
|
17943
|
+
/**
|
|
17944
|
+
* Members of a given performance profile
|
|
17945
|
+
*
|
|
17946
|
+
* @param {String} performanceProfileId Performance Profile Id
|
|
17947
|
+
*/
|
|
17948
|
+
getGamificationProfileMembers(performanceProfileId) {
|
|
17949
|
+
// verify the required parameter 'performanceProfileId' is set
|
|
17950
|
+
if (performanceProfileId === undefined || performanceProfileId === null) {
|
|
17951
|
+
throw 'Missing the required parameter "performanceProfileId" when calling getGamificationProfileMembers';
|
|
17952
|
+
}
|
|
17953
|
+
|
|
17954
|
+
return this.apiClient.callApi(
|
|
17955
|
+
'/api/v2/gamification/profiles/{performanceProfileId}/members',
|
|
17956
|
+
'GET',
|
|
17957
|
+
{ 'performanceProfileId': performanceProfileId },
|
|
17958
|
+
{ },
|
|
17959
|
+
{ },
|
|
17960
|
+
{ },
|
|
17961
|
+
null,
|
|
17962
|
+
['PureCloud OAuth'],
|
|
17963
|
+
['application/json'],
|
|
17964
|
+
['application/json']
|
|
17965
|
+
);
|
|
17966
|
+
}
|
|
17967
|
+
|
|
17721
17968
|
/**
|
|
17722
17969
|
* Performance profile gamified metric by id
|
|
17723
17970
|
*
|
|
@@ -18572,6 +18819,101 @@ class GamificationApi {
|
|
|
18572
18819
|
);
|
|
18573
18820
|
}
|
|
18574
18821
|
|
|
18822
|
+
/**
|
|
18823
|
+
* Assign members to a given performance profile
|
|
18824
|
+
*
|
|
18825
|
+
* @param {String} performanceProfileId Performance Profile Id
|
|
18826
|
+
* @param {Object} body assignUsers
|
|
18827
|
+
*/
|
|
18828
|
+
postGamificationProfileMembers(performanceProfileId, body) {
|
|
18829
|
+
// verify the required parameter 'performanceProfileId' is set
|
|
18830
|
+
if (performanceProfileId === undefined || performanceProfileId === null) {
|
|
18831
|
+
throw 'Missing the required parameter "performanceProfileId" when calling postGamificationProfileMembers';
|
|
18832
|
+
}
|
|
18833
|
+
// verify the required parameter 'body' is set
|
|
18834
|
+
if (body === undefined || body === null) {
|
|
18835
|
+
throw 'Missing the required parameter "body" when calling postGamificationProfileMembers';
|
|
18836
|
+
}
|
|
18837
|
+
|
|
18838
|
+
return this.apiClient.callApi(
|
|
18839
|
+
'/api/v2/gamification/profiles/{performanceProfileId}/members',
|
|
18840
|
+
'POST',
|
|
18841
|
+
{ 'performanceProfileId': performanceProfileId },
|
|
18842
|
+
{ },
|
|
18843
|
+
{ },
|
|
18844
|
+
{ },
|
|
18845
|
+
body,
|
|
18846
|
+
['PureCloud OAuth'],
|
|
18847
|
+
['application/json'],
|
|
18848
|
+
['application/json']
|
|
18849
|
+
);
|
|
18850
|
+
}
|
|
18851
|
+
|
|
18852
|
+
/**
|
|
18853
|
+
* Validate member assignment
|
|
18854
|
+
*
|
|
18855
|
+
* @param {String} performanceProfileId Performance Profile Id
|
|
18856
|
+
* @param {Object} body memberAssignments
|
|
18857
|
+
*/
|
|
18858
|
+
postGamificationProfileMembersValidate(performanceProfileId, body) {
|
|
18859
|
+
// verify the required parameter 'performanceProfileId' is set
|
|
18860
|
+
if (performanceProfileId === undefined || performanceProfileId === null) {
|
|
18861
|
+
throw 'Missing the required parameter "performanceProfileId" when calling postGamificationProfileMembersValidate';
|
|
18862
|
+
}
|
|
18863
|
+
// verify the required parameter 'body' is set
|
|
18864
|
+
if (body === undefined || body === null) {
|
|
18865
|
+
throw 'Missing the required parameter "body" when calling postGamificationProfileMembersValidate';
|
|
18866
|
+
}
|
|
18867
|
+
|
|
18868
|
+
return this.apiClient.callApi(
|
|
18869
|
+
'/api/v2/gamification/profiles/{performanceProfileId}/members/validate',
|
|
18870
|
+
'POST',
|
|
18871
|
+
{ 'performanceProfileId': performanceProfileId },
|
|
18872
|
+
{ },
|
|
18873
|
+
{ },
|
|
18874
|
+
{ },
|
|
18875
|
+
body,
|
|
18876
|
+
['PureCloud OAuth'],
|
|
18877
|
+
['application/json'],
|
|
18878
|
+
['application/json']
|
|
18879
|
+
);
|
|
18880
|
+
}
|
|
18881
|
+
|
|
18882
|
+
/**
|
|
18883
|
+
* Creates a linked metric
|
|
18884
|
+
*
|
|
18885
|
+
* @param {String} sourceProfileId Source Performance Profile Id
|
|
18886
|
+
* @param {String} sourceMetricId Source Metric Id
|
|
18887
|
+
* @param {Object} body linkedMetric
|
|
18888
|
+
*/
|
|
18889
|
+
postGamificationProfileMetricLink(sourceProfileId, sourceMetricId, body) {
|
|
18890
|
+
// verify the required parameter 'sourceProfileId' is set
|
|
18891
|
+
if (sourceProfileId === undefined || sourceProfileId === null) {
|
|
18892
|
+
throw 'Missing the required parameter "sourceProfileId" when calling postGamificationProfileMetricLink';
|
|
18893
|
+
}
|
|
18894
|
+
// verify the required parameter 'sourceMetricId' is set
|
|
18895
|
+
if (sourceMetricId === undefined || sourceMetricId === null) {
|
|
18896
|
+
throw 'Missing the required parameter "sourceMetricId" when calling postGamificationProfileMetricLink';
|
|
18897
|
+
}
|
|
18898
|
+
// verify the required parameter 'body' is set
|
|
18899
|
+
if (body === undefined || body === null) {
|
|
18900
|
+
throw 'Missing the required parameter "body" when calling postGamificationProfileMetricLink';
|
|
18901
|
+
}
|
|
18902
|
+
|
|
18903
|
+
return this.apiClient.callApi(
|
|
18904
|
+
'/api/v2/gamification/profiles/{sourceProfileId}/metrics/{sourceMetricId}/link',
|
|
18905
|
+
'POST',
|
|
18906
|
+
{ 'sourceProfileId': sourceProfileId,'sourceMetricId': sourceMetricId },
|
|
18907
|
+
{ },
|
|
18908
|
+
{ },
|
|
18909
|
+
{ },
|
|
18910
|
+
body,
|
|
18911
|
+
['PureCloud OAuth'],
|
|
18912
|
+
['application/json'],
|
|
18913
|
+
['application/json']
|
|
18914
|
+
);
|
|
18915
|
+
}
|
|
18916
|
+
|
|
18575
18917
|
/**
|
|
18576
18918
|
* Creates a gamified metric with a given metric definition and metric objective under in a performance profile
|
|
18577
18919
|
*
|
|
@@ -18756,7 +19098,7 @@ class GeneralDataProtectionRegulationApi {
|
|
|
18756
19098
|
/**
|
|
18757
19099
|
* GeneralDataProtectionRegulation service.
|
|
18758
19100
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
18759
|
-
* @version
|
|
19101
|
+
* @version 131.1.0
|
|
18760
19102
|
*/
|
|
18761
19103
|
|
|
18762
19104
|
/**
|
|
@@ -18886,7 +19228,7 @@ class GeolocationApi {
|
|
|
18886
19228
|
/**
|
|
18887
19229
|
* Geolocation service.
|
|
18888
19230
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
18889
|
-
* @version
|
|
19231
|
+
* @version 131.1.0
|
|
18890
19232
|
*/
|
|
18891
19233
|
|
|
18892
19234
|
/**
|
|
@@ -19017,7 +19359,7 @@ class GreetingsApi {
|
|
|
19017
19359
|
/**
|
|
19018
19360
|
* Greetings service.
|
|
19019
19361
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
19020
|
-
* @version
|
|
19362
|
+
* @version 131.1.0
|
|
19021
19363
|
*/
|
|
19022
19364
|
|
|
19023
19365
|
/**
|
|
@@ -19472,7 +19814,7 @@ class GroupsApi {
|
|
|
19472
19814
|
/**
|
|
19473
19815
|
* Groups service.
|
|
19474
19816
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
19475
|
-
* @version
|
|
19817
|
+
* @version 131.1.0
|
|
19476
19818
|
*/
|
|
19477
19819
|
|
|
19478
19820
|
/**
|
|
@@ -19877,7 +20219,7 @@ class IdentityProviderApi {
|
|
|
19877
20219
|
/**
|
|
19878
20220
|
* IdentityProvider service.
|
|
19879
20221
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
19880
|
-
* @version
|
|
20222
|
+
* @version 131.1.0
|
|
19881
20223
|
*/
|
|
19882
20224
|
|
|
19883
20225
|
/**
|
|
@@ -20633,7 +20975,7 @@ class IntegrationsApi {
|
|
|
20633
20975
|
/**
|
|
20634
20976
|
* Integrations service.
|
|
20635
20977
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
20636
|
-
* @version
|
|
20978
|
+
* @version 131.1.0
|
|
20637
20979
|
*/
|
|
20638
20980
|
|
|
20639
20981
|
/**
|
|
@@ -21290,6 +21632,35 @@ class IntegrationsApi {
|
|
|
21290
21632
|
);
|
|
21291
21633
|
}
|
|
21292
21634
|
|
|
21635
|
+
/**
|
|
21636
|
+
* UC integration client application configuration.
|
|
21637
|
+
* This endpoint returns basic UI configuration data for all Unified Communications integrations client applications enabled for the current organization.
|
|
21638
|
+
* @param {Object} opts Optional parameters
|
|
21639
|
+
* @param {Number} opts.pageSize The total page size requested (default to 25)
|
|
21640
|
+
* @param {Number} opts.pageNumber The page number requested (default to 1)
|
|
21641
|
+
* @param {String} opts.sortBy variable name requested to sort by
|
|
21642
|
+
* @param {Array.<String>} opts.expand variable name requested by expand list
|
|
21643
|
+
* @param {String} opts.nextPage next page token
|
|
21644
|
+
* @param {String} opts.previousPage Previous page token
|
|
21645
|
+
*/
|
|
21646
|
+
getIntegrationsClientappsUnifiedcommunications(opts) {
|
|
21647
|
+
opts = opts || {};
|
|
21648
|
+
|
|
21649
|
+
|
|
21650
|
+
return this.apiClient.callApi(
|
|
21651
|
+
'/api/v2/integrations/clientapps/unifiedcommunications',
|
|
21652
|
+
'GET',
|
|
21653
|
+
{ },
|
|
21654
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'] },
|
|
21655
|
+
{ },
|
|
21656
|
+
{ },
|
|
21657
|
+
null,
|
|
21658
|
+
['PureCloud OAuth'],
|
|
21659
|
+
['application/json'],
|
|
21660
|
+
['application/json']
|
|
21661
|
+
);
|
|
21662
|
+
}
|
|
21663
|
+
|
|
21293
21664
|
/**
|
|
21294
21665
|
* Get a single credential with sensitive fields redacted
|
|
21295
21666
|
*
|
|
@@ -22279,7 +22650,7 @@ class JourneyApi {
|
|
|
22279
22650
|
/**
|
|
22280
22651
|
* Journey service.
|
|
22281
22652
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
22282
|
-
* @version
|
|
22653
|
+
* @version 131.1.0
|
|
22283
22654
|
*/
|
|
22284
22655
|
|
|
22285
22656
|
/**
|
|
@@ -22990,7 +23361,7 @@ class KnowledgeApi {
|
|
|
22990
23361
|
/**
|
|
22991
23362
|
* Knowledge service.
|
|
22992
23363
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
22993
|
-
* @version
|
|
23364
|
+
* @version 131.1.0
|
|
22994
23365
|
*/
|
|
22995
23366
|
|
|
22996
23367
|
/**
|
|
@@ -23890,7 +24261,7 @@ class LanguageUnderstandingApi {
|
|
|
23890
24261
|
/**
|
|
23891
24262
|
* LanguageUnderstanding service.
|
|
23892
24263
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
23893
|
-
* @version
|
|
24264
|
+
* @version 131.1.0
|
|
23894
24265
|
*/
|
|
23895
24266
|
|
|
23896
24267
|
/**
|
|
@@ -24348,7 +24719,7 @@ class LanguageUnderstandingApi {
|
|
|
24348
24719
|
* @param {String} minerId Miner ID
|
|
24349
24720
|
* @param {String} intentId The ID of the intent to be retrieved.
|
|
24350
24721
|
* @param {Object} opts Optional parameters
|
|
24351
|
-
* @param {
|
|
24722
|
+
* @param {Object} opts.expand Option to fetch utterances
|
|
24352
24723
|
*/
|
|
24353
24724
|
getLanguageunderstandingMinerIntent(minerId, intentId, opts) {
|
|
24354
24725
|
opts = opts || {};
|
|
@@ -24381,7 +24752,7 @@ class LanguageUnderstandingApi {
|
|
|
24381
24752
|
*
|
|
24382
24753
|
* @param {String} minerId Miner ID
|
|
24383
24754
|
* @param {Object} opts Optional parameters
|
|
24384
|
-
* @param {
|
|
24755
|
+
* @param {Object} opts.expand Option to fetch utterances.
|
|
24385
24756
|
*/
|
|
24386
24757
|
getLanguageunderstandingMinerIntents(minerId, opts) {
|
|
24387
24758
|
opts = opts || {};
|
|
@@ -24794,7 +25165,7 @@ class LanguagesApi {
|
|
|
24794
25165
|
/**
|
|
24795
25166
|
* Languages service.
|
|
24796
25167
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
24797
|
-
* @version
|
|
25168
|
+
* @version 131.1.0
|
|
24798
25169
|
*/
|
|
24799
25170
|
|
|
24800
25171
|
/**
|
|
@@ -25062,7 +25433,7 @@ class LearningApi {
|
|
|
25062
25433
|
/**
|
|
25063
25434
|
* Learning service.
|
|
25064
25435
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
25065
|
-
* @version
|
|
25436
|
+
* @version 131.1.0
|
|
25066
25437
|
*/
|
|
25067
25438
|
|
|
25068
25439
|
/**
|
|
@@ -25653,7 +26024,7 @@ class LicenseApi {
|
|
|
25653
26024
|
/**
|
|
25654
26025
|
* License service.
|
|
25655
26026
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
25656
|
-
* @version
|
|
26027
|
+
* @version 131.1.0
|
|
25657
26028
|
*/
|
|
25658
26029
|
|
|
25659
26030
|
/**
|
|
@@ -25891,7 +26262,7 @@ class LocationsApi {
|
|
|
25891
26262
|
/**
|
|
25892
26263
|
* Locations service.
|
|
25893
26264
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
25894
|
-
* @version
|
|
26265
|
+
* @version 131.1.0
|
|
25895
26266
|
*/
|
|
25896
26267
|
|
|
25897
26268
|
/**
|
|
@@ -26123,11 +26494,162 @@ class LocationsApi {
|
|
|
26123
26494
|
|
|
26124
26495
|
}
|
|
26125
26496
|
|
|
26497
|
+
class MessagingApi {
|
|
26498
|
+
/**
|
|
26499
|
+
* Messaging service.
|
|
26500
|
+
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
26501
|
+
* @version 131.1.0
|
|
26502
|
+
*/
|
|
26503
|
+
|
|
26504
|
+
/**
|
|
26505
|
+
* Constructs a new MessagingApi.
|
|
26506
|
+
* @alias module:purecloud-platform-client-v2/api/MessagingApi
|
|
26507
|
+
* @class
|
|
26508
|
+
* @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
|
|
26509
|
+
* default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
|
|
26510
|
+
*/
|
|
26511
|
+
constructor(apiClient) {
|
|
26512
|
+
this.apiClient = apiClient || ApiClient.instance;
|
|
26513
|
+
}
|
|
26514
|
+
|
|
26515
|
+
|
|
26516
|
+
/**
|
|
26517
|
+
* Delete a supported content profile
|
|
26518
|
+
*
|
|
26519
|
+
* @param {String} supportedContentId Supported Content ID
|
|
26520
|
+
*/
|
|
26521
|
+
deleteMessagingSupportedcontentSupportedContentId(supportedContentId) {
|
|
26522
|
+
// verify the required parameter 'supportedContentId' is set
|
|
26523
|
+
if (supportedContentId === undefined || supportedContentId === null) {
|
|
26524
|
+
throw 'Missing the required parameter "supportedContentId" when calling deleteMessagingSupportedcontentSupportedContentId';
|
|
26525
|
+
}
|
|
26526
|
+
|
|
26527
|
+
return this.apiClient.callApi(
|
|
26528
|
+
'/api/v2/messaging/supportedcontent/{supportedContentId}',
|
|
26529
|
+
'DELETE',
|
|
26530
|
+
{ 'supportedContentId': supportedContentId },
|
|
26531
|
+
{ },
|
|
26532
|
+
{ },
|
|
26533
|
+
{ },
|
|
26534
|
+
null,
|
|
26535
|
+
['PureCloud OAuth'],
|
|
26536
|
+
['application/json'],
|
|
26537
|
+
['application/json']
|
|
26538
|
+
);
|
|
26539
|
+
}
|
|
26540
|
+
|
|
26541
|
+
/**
|
|
26542
|
+
* Get a list of Supported Content profiles
|
|
26543
|
+
*
|
|
26544
|
+
* @param {Object} opts Optional parameters
|
|
26545
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
26546
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
26547
|
+
*/
|
|
26548
|
+
getMessagingSupportedcontent(opts) {
|
|
26549
|
+
opts = opts || {};
|
|
26550
|
+
|
|
26551
|
+
|
|
26552
|
+
return this.apiClient.callApi(
|
|
26553
|
+
'/api/v2/messaging/supportedcontent',
|
|
26554
|
+
'GET',
|
|
26555
|
+
{ },
|
|
26556
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
26557
|
+
{ },
|
|
26558
|
+
{ },
|
|
26559
|
+
null,
|
|
26560
|
+
['PureCloud OAuth'],
|
|
26561
|
+
['application/json'],
|
|
26562
|
+
['application/json']
|
|
26563
|
+
);
|
|
26564
|
+
}
|
|
26565
|
+
|
|
26566
|
+
/**
|
|
26567
|
+
* Get a supported content profile
|
|
26568
|
+
*
|
|
26569
|
+
* @param {String} supportedContentId Supported Content ID
|
|
26570
|
+
*/
|
|
26571
|
+
getMessagingSupportedcontentSupportedContentId(supportedContentId) {
|
|
26572
|
+
// verify the required parameter 'supportedContentId' is set
|
|
26573
|
+
if (supportedContentId === undefined || supportedContentId === null) {
|
|
26574
|
+
throw 'Missing the required parameter "supportedContentId" when calling getMessagingSupportedcontentSupportedContentId';
|
|
26575
|
+
}
|
|
26576
|
+
|
|
26577
|
+
return this.apiClient.callApi(
|
|
26578
|
+
'/api/v2/messaging/supportedcontent/{supportedContentId}',
|
|
26579
|
+
'GET',
|
|
26580
|
+
{ 'supportedContentId': supportedContentId },
|
|
26581
|
+
{ },
|
|
26582
|
+
{ },
|
|
26583
|
+
{ },
|
|
26584
|
+
null,
|
|
26585
|
+
['PureCloud OAuth'],
|
|
26586
|
+
['application/json'],
|
|
26587
|
+
['application/json']
|
|
26588
|
+
);
|
|
26589
|
+
}
|
|
26590
|
+
|
|
26591
|
+
/**
|
|
26592
|
+
* Update a supported content profile
|
|
26593
|
+
*
|
|
26594
|
+
* @param {String} supportedContentId Supported Content ID
|
|
26595
|
+
* @param {Object} body SupportedContent
|
|
26596
|
+
*/
|
|
26597
|
+
patchMessagingSupportedcontentSupportedContentId(supportedContentId, body) {
|
|
26598
|
+
// verify the required parameter 'supportedContentId' is set
|
|
26599
|
+
if (supportedContentId === undefined || supportedContentId === null) {
|
|
26600
|
+
throw 'Missing the required parameter "supportedContentId" when calling patchMessagingSupportedcontentSupportedContentId';
|
|
26601
|
+
}
|
|
26602
|
+
// verify the required parameter 'body' is set
|
|
26603
|
+
if (body === undefined || body === null) {
|
|
26604
|
+
throw 'Missing the required parameter "body" when calling patchMessagingSupportedcontentSupportedContentId';
|
|
26605
|
+
}
|
|
26606
|
+
|
|
26607
|
+
return this.apiClient.callApi(
|
|
26608
|
+
'/api/v2/messaging/supportedcontent/{supportedContentId}',
|
|
26609
|
+
'PATCH',
|
|
26610
|
+
{ 'supportedContentId': supportedContentId },
|
|
26611
|
+
{ },
|
|
26612
|
+
{ },
|
|
26613
|
+
{ },
|
|
26614
|
+
body,
|
|
26615
|
+
['PureCloud OAuth'],
|
|
26616
|
+
['application/json'],
|
|
26617
|
+
['application/json']
|
|
26618
|
+
);
|
|
26619
|
+
}
|
|
26620
|
+
|
|
26621
|
+
/**
|
|
26622
|
+
* Create a Supported Content profile
|
|
26623
|
+
*
|
|
26624
|
+
* @param {Object} body SupportedContent
|
|
26625
|
+
*/
|
|
26626
|
+
postMessagingSupportedcontent(body) {
|
|
26627
|
+
// verify the required parameter 'body' is set
|
|
26628
|
+
if (body === undefined || body === null) {
|
|
26629
|
+
throw 'Missing the required parameter "body" when calling postMessagingSupportedcontent';
|
|
26630
|
+
}
|
|
26631
|
+
|
|
26632
|
+
return this.apiClient.callApi(
|
|
26633
|
+
'/api/v2/messaging/supportedcontent',
|
|
26634
|
+
'POST',
|
|
26635
|
+
{ },
|
|
26636
|
+
{ },
|
|
26637
|
+
{ },
|
|
26638
|
+
{ },
|
|
26639
|
+
body,
|
|
26640
|
+
['PureCloud OAuth'],
|
|
26641
|
+
['application/json'],
|
|
26642
|
+
['application/json']
|
|
26643
|
+
);
|
|
26644
|
+
}
|
|
26645
|
+
|
|
26646
|
+
}
|
|
26647
|
+
|
|
26126
26648
|
class MobileDevicesApi {
|
|
26127
26649
|
/**
|
|
26128
26650
|
* MobileDevices service.
|
|
26129
26651
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
26130
|
-
* @version
|
|
26652
|
+
* @version 131.1.0
|
|
26131
26653
|
*/
|
|
26132
26654
|
|
|
26133
26655
|
/**
|
|
@@ -26278,7 +26800,7 @@ class NotificationsApi {
|
|
|
26278
26800
|
/**
|
|
26279
26801
|
* Notifications service.
|
|
26280
26802
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
26281
|
-
* @version
|
|
26803
|
+
* @version 131.1.0
|
|
26282
26804
|
*/
|
|
26283
26805
|
|
|
26284
26806
|
/**
|
|
@@ -26503,7 +27025,7 @@ class OAuthApi {
|
|
|
26503
27025
|
/**
|
|
26504
27026
|
* OAuth service.
|
|
26505
27027
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
26506
|
-
* @version
|
|
27028
|
+
* @version 131.1.0
|
|
26507
27029
|
*/
|
|
26508
27030
|
|
|
26509
27031
|
/**
|
|
@@ -26861,7 +27383,7 @@ class ObjectsApi {
|
|
|
26861
27383
|
/**
|
|
26862
27384
|
* Objects service.
|
|
26863
27385
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
26864
|
-
* @version
|
|
27386
|
+
* @version 131.1.0
|
|
26865
27387
|
*/
|
|
26866
27388
|
|
|
26867
27389
|
/**
|
|
@@ -27132,7 +27654,7 @@ class OrganizationApi {
|
|
|
27132
27654
|
/**
|
|
27133
27655
|
* Organization service.
|
|
27134
27656
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
27135
|
-
* @version
|
|
27657
|
+
* @version 131.1.0
|
|
27136
27658
|
*/
|
|
27137
27659
|
|
|
27138
27660
|
/**
|
|
@@ -27535,7 +28057,7 @@ class OrganizationAuthorizationApi {
|
|
|
27535
28057
|
/**
|
|
27536
28058
|
* OrganizationAuthorization service.
|
|
27537
28059
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
27538
|
-
* @version
|
|
28060
|
+
* @version 131.1.0
|
|
27539
28061
|
*/
|
|
27540
28062
|
|
|
27541
28063
|
/**
|
|
@@ -28460,7 +28982,7 @@ class OutboundApi {
|
|
|
28460
28982
|
/**
|
|
28461
28983
|
* Outbound service.
|
|
28462
28984
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
28463
|
-
* @version
|
|
28985
|
+
* @version 131.1.0
|
|
28464
28986
|
*/
|
|
28465
28987
|
|
|
28466
28988
|
/**
|
|
@@ -31486,7 +32008,7 @@ class PresenceApi {
|
|
|
31486
32008
|
/**
|
|
31487
32009
|
* Presence service.
|
|
31488
32010
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
31489
|
-
* @version
|
|
32011
|
+
* @version 131.1.0
|
|
31490
32012
|
*/
|
|
31491
32013
|
|
|
31492
32014
|
/**
|
|
@@ -31858,7 +32380,7 @@ class QualityApi {
|
|
|
31858
32380
|
/**
|
|
31859
32381
|
* Quality service.
|
|
31860
32382
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
31861
|
-
* @version
|
|
32383
|
+
* @version 131.1.0
|
|
31862
32384
|
*/
|
|
31863
32385
|
|
|
31864
32386
|
/**
|
|
@@ -32477,6 +32999,31 @@ class QualityApi {
|
|
|
32477
32999
|
);
|
|
32478
33000
|
}
|
|
32479
33001
|
|
|
33002
|
+
/**
|
|
33003
|
+
* Retrieve a list of the latest published evaluation form versions by context ids
|
|
33004
|
+
*
|
|
33005
|
+
* @param {Array.<String>} contextId A comma-delimited list of valid evaluation form context ids
|
|
33006
|
+
*/
|
|
33007
|
+
getQualityFormsEvaluationsBulkContexts(contextId) {
|
|
33008
|
+
// verify the required parameter 'contextId' is set
|
|
33009
|
+
if (contextId === undefined || contextId === null) {
|
|
33010
|
+
throw 'Missing the required parameter "contextId" when calling getQualityFormsEvaluationsBulkContexts';
|
|
33011
|
+
}
|
|
33012
|
+
|
|
33013
|
+
return this.apiClient.callApi(
|
|
33014
|
+
'/api/v2/quality/forms/evaluations/bulk/contexts',
|
|
33015
|
+
'GET',
|
|
33016
|
+
{ },
|
|
33017
|
+
{ 'contextId': this.apiClient.buildCollectionParam(contextId, 'multi') },
|
|
33018
|
+
{ },
|
|
33019
|
+
{ },
|
|
33020
|
+
null,
|
|
33021
|
+
['PureCloud OAuth'],
|
|
33022
|
+
['application/json'],
|
|
33023
|
+
['application/json']
|
|
33024
|
+
);
|
|
33025
|
+
}
|
|
33026
|
+
|
|
32480
33027
|
/**
|
|
32481
33028
|
* Get a survey form
|
|
32482
33029
|
*
|
|
@@ -32991,6 +33538,31 @@ class QualityApi {
|
|
|
32991
33538
|
);
|
|
32992
33539
|
}
|
|
32993
33540
|
|
|
33541
|
+
/**
|
|
33542
|
+
* Query for evaluation aggregates for the current user
|
|
33543
|
+
*
|
|
33544
|
+
* @param {Object} body query
|
|
33545
|
+
*/
|
|
33546
|
+
postQualityEvaluationsAggregatesQueryMe(body) {
|
|
33547
|
+
// verify the required parameter 'body' is set
|
|
33548
|
+
if (body === undefined || body === null) {
|
|
33549
|
+
throw 'Missing the required parameter "body" when calling postQualityEvaluationsAggregatesQueryMe';
|
|
33550
|
+
}
|
|
33551
|
+
|
|
33552
|
+
return this.apiClient.callApi(
|
|
33553
|
+
'/api/v2/quality/evaluations/aggregates/query/me',
|
|
33554
|
+
'POST',
|
|
33555
|
+
{ },
|
|
33556
|
+
{ },
|
|
33557
|
+
{ },
|
|
33558
|
+
{ },
|
|
33559
|
+
body,
|
|
33560
|
+
['PureCloud OAuth'],
|
|
33561
|
+
['application/json'],
|
|
33562
|
+
['application/json']
|
|
33563
|
+
);
|
|
33564
|
+
}
|
|
33565
|
+
|
|
32994
33566
|
/**
|
|
32995
33567
|
* Score evaluation
|
|
32996
33568
|
*
|
|
@@ -33386,7 +33958,7 @@ class RecordingApi {
|
|
|
33386
33958
|
/**
|
|
33387
33959
|
* Recording service.
|
|
33388
33960
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
33389
|
-
* @version
|
|
33961
|
+
* @version 131.1.0
|
|
33390
33962
|
*/
|
|
33391
33963
|
|
|
33392
33964
|
/**
|
|
@@ -33592,11 +34164,11 @@ class RecordingApi {
|
|
|
33592
34164
|
* @param {String} conversationId Conversation ID
|
|
33593
34165
|
* @param {String} recordingId Recording ID
|
|
33594
34166
|
* @param {Object} opts Optional parameters
|
|
33595
|
-
* @param {Object} opts.formatId The desired media format. (default to WEBM)
|
|
33596
|
-
* @param {Object} opts.emailFormatId The desired media format when downloading an email recording. (default to EML)
|
|
33597
|
-
* @param {Object} opts.chatFormatId The desired media format when downloading a chat recording. (default to ZIP)
|
|
33598
|
-
* @param {Object} opts.messageFormatId The desired media format when downloading a message recording. (default to ZIP)
|
|
33599
|
-
* @param {Boolean} opts.download requesting a download format of the recording (default to false)
|
|
34167
|
+
* @param {Object} opts.formatId The desired media format. Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3,NONE (default to WEBM)
|
|
34168
|
+
* @param {Object} opts.emailFormatId The desired media format when downloading an email recording. Valid values:EML,NONE (default to EML)
|
|
34169
|
+
* @param {Object} opts.chatFormatId The desired media format when downloading a chat recording. Valid values:ZIP,NONE (default to ZIP)
|
|
34170
|
+
* @param {Object} opts.messageFormatId The desired media format when downloading a message recording. Valid values:ZIP,NONE (default to ZIP)
|
|
34171
|
+
* @param {Boolean} opts.download requesting a download format of the recording. Valid values:true,false (default to false)
|
|
33600
34172
|
* @param {String} opts.fileName the name of the downloaded fileName
|
|
33601
34173
|
* @param {String} opts.locale The locale for the requested file when downloading, as an ISO 639-1 code
|
|
33602
34174
|
*/
|
|
@@ -33692,7 +34264,7 @@ class RecordingApi {
|
|
|
33692
34264
|
}
|
|
33693
34265
|
|
|
33694
34266
|
/**
|
|
33695
|
-
* Get recording metadata for a conversation. Does not return playable media.
|
|
34267
|
+
* 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.
|
|
33696
34268
|
*
|
|
33697
34269
|
* @param {String} conversationId Conversation ID
|
|
33698
34270
|
*/
|
|
@@ -33752,7 +34324,7 @@ class RecordingApi {
|
|
|
33752
34324
|
* @param {String} conversationId Conversation ID
|
|
33753
34325
|
* @param {Object} opts Optional parameters
|
|
33754
34326
|
* @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)
|
|
33755
|
-
* @param {Object} opts.formatId The desired media format (default to WEBM)
|
|
34327
|
+
* @param {Object} opts.formatId The desired media format . Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3,NONE. (default to WEBM)
|
|
33756
34328
|
*/
|
|
33757
34329
|
getConversationRecordings(conversationId, opts) {
|
|
33758
34330
|
opts = opts || {};
|
|
@@ -34909,7 +35481,7 @@ class ResponseManagementApi {
|
|
|
34909
35481
|
/**
|
|
34910
35482
|
* ResponseManagement service.
|
|
34911
35483
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
34912
|
-
* @version
|
|
35484
|
+
* @version 131.1.0
|
|
34913
35485
|
*/
|
|
34914
35486
|
|
|
34915
35487
|
/**
|
|
@@ -35234,7 +35806,7 @@ class RoutingApi {
|
|
|
35234
35806
|
/**
|
|
35235
35807
|
* Routing service.
|
|
35236
35808
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
35237
|
-
* @version
|
|
35809
|
+
* @version 131.1.0
|
|
35238
35810
|
*/
|
|
35239
35811
|
|
|
35240
35812
|
/**
|
|
@@ -36672,10 +37244,14 @@ class RoutingApi {
|
|
|
36672
37244
|
*
|
|
36673
37245
|
* @param {Object} opts Optional parameters
|
|
36674
37246
|
* @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.
|
|
36675
|
-
* @param {
|
|
36676
|
-
* @param {
|
|
37247
|
+
* @param {Array.<String>} opts.phoneNumberType Filter on phone number type
|
|
37248
|
+
* @param {Array.<String>} opts.phoneNumberStatus Filter on phone number status
|
|
37249
|
+
* @param {Array.<String>} opts.countryCode Filter on country code
|
|
36677
37250
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
36678
37251
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
37252
|
+
* @param {Object} opts.sortBy Optional field to sort results
|
|
37253
|
+
* @param {Object} opts.sortOrder Sort order
|
|
37254
|
+
* @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)
|
|
36679
37255
|
*/
|
|
36680
37256
|
getRoutingSmsPhonenumbers(opts) {
|
|
36681
37257
|
opts = opts || {};
|
|
@@ -36685,7 +37261,7 @@ class RoutingApi {
|
|
|
36685
37261
|
'/api/v2/routing/sms/phonenumbers',
|
|
36686
37262
|
'GET',
|
|
36687
37263
|
{ },
|
|
36688
|
-
{ 'phoneNumber': opts['phoneNumber'],'phoneNumberType': opts['phoneNumberType'],'phoneNumberStatus': opts['phoneNumberStatus'],'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
37264
|
+
{ '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'] },
|
|
36689
37265
|
{ },
|
|
36690
37266
|
{ },
|
|
36691
37267
|
null,
|
|
@@ -38153,7 +38729,7 @@ class SCIMApi {
|
|
|
38153
38729
|
/**
|
|
38154
38730
|
* SCIM service.
|
|
38155
38731
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
38156
|
-
* @version
|
|
38732
|
+
* @version 131.1.0
|
|
38157
38733
|
*/
|
|
38158
38734
|
|
|
38159
38735
|
/**
|
|
@@ -39030,7 +39606,7 @@ class ScriptsApi {
|
|
|
39030
39606
|
/**
|
|
39031
39607
|
* Scripts service.
|
|
39032
39608
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
39033
|
-
* @version
|
|
39609
|
+
* @version 131.1.0
|
|
39034
39610
|
*/
|
|
39035
39611
|
|
|
39036
39612
|
/**
|
|
@@ -39383,7 +39959,7 @@ class SearchApi {
|
|
|
39383
39959
|
/**
|
|
39384
39960
|
* Search service.
|
|
39385
39961
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
39386
|
-
* @version
|
|
39962
|
+
* @version 131.1.0
|
|
39387
39963
|
*/
|
|
39388
39964
|
|
|
39389
39965
|
/**
|
|
@@ -39918,7 +40494,7 @@ class SpeechTextAnalyticsApi {
|
|
|
39918
40494
|
/**
|
|
39919
40495
|
* SpeechTextAnalytics service.
|
|
39920
40496
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
39921
|
-
* @version
|
|
40497
|
+
* @version 131.1.0
|
|
39922
40498
|
*/
|
|
39923
40499
|
|
|
39924
40500
|
/**
|
|
@@ -40087,26 +40663,6 @@ class SpeechTextAnalyticsApi {
|
|
|
40087
40663
|
);
|
|
40088
40664
|
}
|
|
40089
40665
|
|
|
40090
|
-
/**
|
|
40091
|
-
* Get list of supported Speech & Text Analytics dialects
|
|
40092
|
-
* This api has been deprecated. Use api/v2/topics/dialects instead
|
|
40093
|
-
*/
|
|
40094
|
-
getSpeechandtextanalyticsDialects() {
|
|
40095
|
-
|
|
40096
|
-
return this.apiClient.callApi(
|
|
40097
|
-
'/api/v2/speechandtextanalytics/dialects',
|
|
40098
|
-
'GET',
|
|
40099
|
-
{ },
|
|
40100
|
-
{ },
|
|
40101
|
-
{ },
|
|
40102
|
-
{ },
|
|
40103
|
-
null,
|
|
40104
|
-
['PureCloud OAuth'],
|
|
40105
|
-
['application/json'],
|
|
40106
|
-
['application/json']
|
|
40107
|
-
);
|
|
40108
|
-
}
|
|
40109
|
-
|
|
40110
40666
|
/**
|
|
40111
40667
|
* Get a Speech & Text Analytics program by id
|
|
40112
40668
|
*
|
|
@@ -40791,7 +41347,7 @@ class StationsApi {
|
|
|
40791
41347
|
/**
|
|
40792
41348
|
* Stations service.
|
|
40793
41349
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
40794
|
-
* @version
|
|
41350
|
+
* @version 131.1.0
|
|
40795
41351
|
*/
|
|
40796
41352
|
|
|
40797
41353
|
/**
|
|
@@ -40938,7 +41494,7 @@ class SuggestApi {
|
|
|
40938
41494
|
/**
|
|
40939
41495
|
* Suggest service.
|
|
40940
41496
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
40941
|
-
* @version
|
|
41497
|
+
* @version 131.1.0
|
|
40942
41498
|
*/
|
|
40943
41499
|
|
|
40944
41500
|
/**
|
|
@@ -41077,7 +41633,7 @@ class TelephonyApi {
|
|
|
41077
41633
|
/**
|
|
41078
41634
|
* Telephony service.
|
|
41079
41635
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
41080
|
-
* @version
|
|
41636
|
+
* @version 131.1.0
|
|
41081
41637
|
*/
|
|
41082
41638
|
|
|
41083
41639
|
/**
|
|
@@ -41185,7 +41741,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
41185
41741
|
/**
|
|
41186
41742
|
* TelephonyProvidersEdge service.
|
|
41187
41743
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
41188
|
-
* @version
|
|
41744
|
+
* @version 131.1.0
|
|
41189
41745
|
*/
|
|
41190
41746
|
|
|
41191
41747
|
/**
|
|
@@ -42523,6 +43079,26 @@ class TelephonyProvidersEdgeApi {
|
|
|
42523
43079
|
);
|
|
42524
43080
|
}
|
|
42525
43081
|
|
|
43082
|
+
/**
|
|
43083
|
+
* List of edges more than 4 edge versions behind the latest software.
|
|
43084
|
+
*
|
|
43085
|
+
*/
|
|
43086
|
+
getTelephonyProvidersEdgesExpired() {
|
|
43087
|
+
|
|
43088
|
+
return this.apiClient.callApi(
|
|
43089
|
+
'/api/v2/telephony/providers/edges/expired',
|
|
43090
|
+
'GET',
|
|
43091
|
+
{ },
|
|
43092
|
+
{ },
|
|
43093
|
+
{ },
|
|
43094
|
+
{ },
|
|
43095
|
+
null,
|
|
43096
|
+
['PureCloud OAuth'],
|
|
43097
|
+
['application/json'],
|
|
43098
|
+
['application/json']
|
|
43099
|
+
);
|
|
43100
|
+
}
|
|
43101
|
+
|
|
42526
43102
|
/**
|
|
42527
43103
|
* Get an extension by ID.
|
|
42528
43104
|
*
|
|
@@ -42579,7 +43155,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
42579
43155
|
* @param {Object} opts Optional parameters
|
|
42580
43156
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
42581
43157
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
42582
|
-
* @param {String} opts.sortBy Sort by
|
|
43158
|
+
* @param {String} opts.sortBy Sort by
|
|
42583
43159
|
* @param {String} opts._number Number
|
|
42584
43160
|
*/
|
|
42585
43161
|
getTelephonyProvidersEdgesExtensionpools(opts) {
|
|
@@ -44798,7 +45374,7 @@ class TextbotsApi {
|
|
|
44798
45374
|
/**
|
|
44799
45375
|
* Textbots service.
|
|
44800
45376
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
44801
|
-
* @version
|
|
45377
|
+
* @version 131.1.0
|
|
44802
45378
|
*/
|
|
44803
45379
|
|
|
44804
45380
|
/**
|
|
@@ -44926,7 +45502,7 @@ class TokensApi {
|
|
|
44926
45502
|
/**
|
|
44927
45503
|
* Tokens service.
|
|
44928
45504
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
44929
|
-
* @version
|
|
45505
|
+
* @version 131.1.0
|
|
44930
45506
|
*/
|
|
44931
45507
|
|
|
44932
45508
|
/**
|
|
@@ -45032,7 +45608,7 @@ class UploadsApi {
|
|
|
45032
45608
|
/**
|
|
45033
45609
|
* Uploads service.
|
|
45034
45610
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
45035
|
-
* @version
|
|
45611
|
+
* @version 131.1.0
|
|
45036
45612
|
*/
|
|
45037
45613
|
|
|
45038
45614
|
/**
|
|
@@ -45208,7 +45784,7 @@ class UsageApi {
|
|
|
45208
45784
|
/**
|
|
45209
45785
|
* Usage service.
|
|
45210
45786
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
45211
|
-
* @version
|
|
45787
|
+
* @version 131.1.0
|
|
45212
45788
|
*/
|
|
45213
45789
|
|
|
45214
45790
|
/**
|
|
@@ -45279,7 +45855,7 @@ class UserRecordingsApi {
|
|
|
45279
45855
|
/**
|
|
45280
45856
|
* UserRecordings service.
|
|
45281
45857
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
45282
|
-
* @version
|
|
45858
|
+
* @version 131.1.0
|
|
45283
45859
|
*/
|
|
45284
45860
|
|
|
45285
45861
|
/**
|
|
@@ -45463,7 +46039,7 @@ class UsersApi {
|
|
|
45463
46039
|
/**
|
|
45464
46040
|
* Users service.
|
|
45465
46041
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
45466
|
-
* @version
|
|
46042
|
+
* @version 131.1.0
|
|
45467
46043
|
*/
|
|
45468
46044
|
|
|
45469
46045
|
/**
|
|
@@ -47765,7 +48341,7 @@ class UtilitiesApi {
|
|
|
47765
48341
|
/**
|
|
47766
48342
|
* Utilities service.
|
|
47767
48343
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
47768
|
-
* @version
|
|
48344
|
+
* @version 131.1.0
|
|
47769
48345
|
*/
|
|
47770
48346
|
|
|
47771
48347
|
/**
|
|
@@ -47801,7 +48377,7 @@ class UtilitiesApi {
|
|
|
47801
48377
|
}
|
|
47802
48378
|
|
|
47803
48379
|
/**
|
|
47804
|
-
* Get public ip address ranges for
|
|
48380
|
+
* Get public ip address ranges for Genesys Cloud
|
|
47805
48381
|
*
|
|
47806
48382
|
*/
|
|
47807
48383
|
getIpranges() {
|
|
@@ -47876,7 +48452,7 @@ class VoicemailApi {
|
|
|
47876
48452
|
/**
|
|
47877
48453
|
* Voicemail service.
|
|
47878
48454
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
47879
|
-
* @version
|
|
48455
|
+
* @version 131.1.0
|
|
47880
48456
|
*/
|
|
47881
48457
|
|
|
47882
48458
|
/**
|
|
@@ -48543,7 +49119,7 @@ class WebChatApi {
|
|
|
48543
49119
|
/**
|
|
48544
49120
|
* WebChat service.
|
|
48545
49121
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
48546
|
-
* @version
|
|
49122
|
+
* @version 131.1.0
|
|
48547
49123
|
*/
|
|
48548
49124
|
|
|
48549
49125
|
/**
|
|
@@ -49087,7 +49663,7 @@ class WebDeploymentsApi {
|
|
|
49087
49663
|
/**
|
|
49088
49664
|
* WebDeployments service.
|
|
49089
49665
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
49090
|
-
* @version
|
|
49666
|
+
* @version 131.1.0
|
|
49091
49667
|
*/
|
|
49092
49668
|
|
|
49093
49669
|
/**
|
|
@@ -49442,7 +50018,7 @@ class WebMessagingApi {
|
|
|
49442
50018
|
/**
|
|
49443
50019
|
* WebMessaging service.
|
|
49444
50020
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
49445
|
-
* @version
|
|
50021
|
+
* @version 131.1.0
|
|
49446
50022
|
*/
|
|
49447
50023
|
|
|
49448
50024
|
/**
|
|
@@ -49488,7 +50064,7 @@ class WidgetsApi {
|
|
|
49488
50064
|
/**
|
|
49489
50065
|
* Widgets service.
|
|
49490
50066
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
49491
|
-
* @version
|
|
50067
|
+
* @version 131.1.0
|
|
49492
50068
|
*/
|
|
49493
50069
|
|
|
49494
50070
|
/**
|
|
@@ -49634,7 +50210,7 @@ class WorkforceManagementApi {
|
|
|
49634
50210
|
/**
|
|
49635
50211
|
* WorkforceManagement service.
|
|
49636
50212
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
49637
|
-
* @version
|
|
50213
|
+
* @version 131.1.0
|
|
49638
50214
|
*/
|
|
49639
50215
|
|
|
49640
50216
|
/**
|
|
@@ -53665,7 +54241,7 @@ class WorkforceManagementApi {
|
|
|
53665
54241
|
* </pre>
|
|
53666
54242
|
* </p>
|
|
53667
54243
|
* @module purecloud-platform-client-v2/index
|
|
53668
|
-
* @version
|
|
54244
|
+
* @version 131.1.0
|
|
53669
54245
|
*/
|
|
53670
54246
|
class platformClient {
|
|
53671
54247
|
constructor() {
|
|
@@ -53819,6 +54395,11 @@ class platformClient {
|
|
|
53819
54395
|
* @property {module:purecloud-platform-client-v2/api/LocationsApi}
|
|
53820
54396
|
*/
|
|
53821
54397
|
this.LocationsApi = LocationsApi;
|
|
54398
|
+
/**
|
|
54399
|
+
* The MessagingApi service constructor.
|
|
54400
|
+
* @property {module:purecloud-platform-client-v2/api/MessagingApi}
|
|
54401
|
+
*/
|
|
54402
|
+
this.MessagingApi = MessagingApi;
|
|
53822
54403
|
/**
|
|
53823
54404
|
* The MobileDevicesApi service constructor.
|
|
53824
54405
|
* @property {module:purecloud-platform-client-v2/api/MobileDevicesApi}
|