purecloud-platform-client-v2 125.0.0 → 128.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.
Files changed (72) hide show
  1. package/README.md +2 -2
  2. package/dist/node/purecloud-platform-client-v2.js +810 -171
  3. package/dist/web-amd/purecloud-platform-client-v2.js +810 -171
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +810 -171
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +810 -171
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +463 -268
  9. package/package.json +1 -1
  10. package/src/purecloud-platform-client-v2/ApiClient.js +2 -2
  11. package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
  12. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -26
  13. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
  14. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  15. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
  16. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  17. package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  19. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +1 -1
  21. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  22. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -74
  34. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +3 -3
  35. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +216 -1
  45. package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/QualityApi.js +2 -2
  48. package/src/purecloud-platform-client-v2/api/RecordingApi.js +7 -3
  49. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/RoutingApi.js +3 -4
  51. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +22 -2
  55. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +28 -1
  60. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +473 -1
  72. package/src/purecloud-platform-client-v2/index.js +1 -1
@@ -5,7 +5,7 @@ class OrganizationAuthorizationApi {
5
5
  /**
6
6
  * OrganizationAuthorization service.
7
7
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
8
- * @version 125.0.0
8
+ * @version 128.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -45,6 +45,36 @@ class OrganizationAuthorizationApi {
45
45
  );
46
46
  }
47
47
 
48
+ /**
49
+ * Deletes cloned user
50
+ *
51
+ * @param {String} trusteeOrgId Trustee Organization Id
52
+ * @param {String} trusteeUserId Id of the cloned user to delete
53
+ */
54
+ deleteOrgauthorizationTrusteeCloneduser(trusteeOrgId, trusteeUserId) {
55
+ // verify the required parameter 'trusteeOrgId' is set
56
+ if (trusteeOrgId === undefined || trusteeOrgId === null) {
57
+ throw 'Missing the required parameter "trusteeOrgId" when calling deleteOrgauthorizationTrusteeCloneduser';
58
+ }
59
+ // verify the required parameter 'trusteeUserId' is set
60
+ if (trusteeUserId === undefined || trusteeUserId === null) {
61
+ throw 'Missing the required parameter "trusteeUserId" when calling deleteOrgauthorizationTrusteeCloneduser';
62
+ }
63
+
64
+ return this.apiClient.callApi(
65
+ '/api/v2/orgauthorization/trustees/{trusteeOrgId}/clonedusers/{trusteeUserId}',
66
+ 'DELETE',
67
+ { 'trusteeOrgId': trusteeOrgId,'trusteeUserId': trusteeUserId },
68
+ { },
69
+ { },
70
+ { },
71
+ null,
72
+ ['PureCloud OAuth'],
73
+ ['application/json'],
74
+ ['application/json']
75
+ );
76
+ }
77
+
48
78
  /**
49
79
  * Delete Trustee User
50
80
  *
@@ -130,6 +160,36 @@ class OrganizationAuthorizationApi {
130
160
  );
131
161
  }
132
162
 
163
+ /**
164
+ * Delete Cloned User
165
+ *
166
+ * @param {String} trustorOrgId Trustor Organization Id
167
+ * @param {String} trusteeUserId Trustee User Id
168
+ */
169
+ deleteOrgauthorizationTrustorCloneduser(trustorOrgId, trusteeUserId) {
170
+ // verify the required parameter 'trustorOrgId' is set
171
+ if (trustorOrgId === undefined || trustorOrgId === null) {
172
+ throw 'Missing the required parameter "trustorOrgId" when calling deleteOrgauthorizationTrustorCloneduser';
173
+ }
174
+ // verify the required parameter 'trusteeUserId' is set
175
+ if (trusteeUserId === undefined || trusteeUserId === null) {
176
+ throw 'Missing the required parameter "trusteeUserId" when calling deleteOrgauthorizationTrustorCloneduser';
177
+ }
178
+
179
+ return this.apiClient.callApi(
180
+ '/api/v2/orgauthorization/trustors/{trustorOrgId}/clonedusers/{trusteeUserId}',
181
+ 'DELETE',
182
+ { 'trustorOrgId': trustorOrgId,'trusteeUserId': trusteeUserId },
183
+ { },
184
+ { },
185
+ { },
186
+ null,
187
+ ['PureCloud OAuth'],
188
+ ['application/json'],
189
+ ['application/json']
190
+ );
191
+ }
192
+
133
193
  /**
134
194
  * Delete Trustee User
135
195
  *
@@ -210,6 +270,31 @@ class OrganizationAuthorizationApi {
210
270
  );
211
271
  }
212
272
 
273
+ /**
274
+ * The list of cloned users from the trustee organization (i.e. users with a native user record).
275
+ * There can be no more than 5 cloned users per organization, so results are represented as simple list and not paged
276
+ * @param {String} trusteeOrgId Trustee Organization Id
277
+ */
278
+ getOrgauthorizationTrusteeClonedusers(trusteeOrgId) {
279
+ // verify the required parameter 'trusteeOrgId' is set
280
+ if (trusteeOrgId === undefined || trusteeOrgId === null) {
281
+ throw 'Missing the required parameter "trusteeOrgId" when calling getOrgauthorizationTrusteeClonedusers';
282
+ }
283
+
284
+ return this.apiClient.callApi(
285
+ '/api/v2/orgauthorization/trustees/{trusteeOrgId}/clonedusers',
286
+ 'GET',
287
+ { 'trusteeOrgId': trusteeOrgId },
288
+ { },
289
+ { },
290
+ { },
291
+ null,
292
+ ['PureCloud OAuth'],
293
+ ['application/json'],
294
+ ['application/json']
295
+ );
296
+ }
297
+
213
298
  /**
214
299
  * Get Trustee User
215
300
  *
@@ -325,6 +410,26 @@ class OrganizationAuthorizationApi {
325
410
  );
326
411
  }
327
412
 
413
+ /**
414
+ * Get organization authorization trust with Customer Care, if one exists.
415
+ *
416
+ */
417
+ getOrgauthorizationTrusteesDefault() {
418
+
419
+ return this.apiClient.callApi(
420
+ '/api/v2/orgauthorization/trustees/default',
421
+ 'GET',
422
+ { },
423
+ { },
424
+ { },
425
+ { },
426
+ null,
427
+ ['PureCloud OAuth'],
428
+ ['application/json'],
429
+ ['application/json']
430
+ );
431
+ }
432
+
328
433
  /**
329
434
  * Get Org Trust
330
435
  *
@@ -350,6 +455,61 @@ class OrganizationAuthorizationApi {
350
455
  );
351
456
  }
352
457
 
458
+ /**
459
+ * Get Cloned User
460
+ *
461
+ * @param {String} trustorOrgId Trustor Organization Id
462
+ * @param {String} trusteeUserId Trustee User Id
463
+ */
464
+ getOrgauthorizationTrustorCloneduser(trustorOrgId, trusteeUserId) {
465
+ // verify the required parameter 'trustorOrgId' is set
466
+ if (trustorOrgId === undefined || trustorOrgId === null) {
467
+ throw 'Missing the required parameter "trustorOrgId" when calling getOrgauthorizationTrustorCloneduser';
468
+ }
469
+ // verify the required parameter 'trusteeUserId' is set
470
+ if (trusteeUserId === undefined || trusteeUserId === null) {
471
+ throw 'Missing the required parameter "trusteeUserId" when calling getOrgauthorizationTrustorCloneduser';
472
+ }
473
+
474
+ return this.apiClient.callApi(
475
+ '/api/v2/orgauthorization/trustors/{trustorOrgId}/clonedusers/{trusteeUserId}',
476
+ 'GET',
477
+ { 'trustorOrgId': trustorOrgId,'trusteeUserId': trusteeUserId },
478
+ { },
479
+ { },
480
+ { },
481
+ null,
482
+ ['PureCloud OAuth'],
483
+ ['application/json'],
484
+ ['application/json']
485
+ );
486
+ }
487
+
488
+ /**
489
+ * The list of cloned users in the trustor organization (i.e. users with a native user record).
490
+ *
491
+ * @param {String} trustorOrgId Trustor Organization Id
492
+ */
493
+ getOrgauthorizationTrustorClonedusers(trustorOrgId) {
494
+ // verify the required parameter 'trustorOrgId' is set
495
+ if (trustorOrgId === undefined || trustorOrgId === null) {
496
+ throw 'Missing the required parameter "trustorOrgId" when calling getOrgauthorizationTrustorClonedusers';
497
+ }
498
+
499
+ return this.apiClient.callApi(
500
+ '/api/v2/orgauthorization/trustors/{trustorOrgId}/clonedusers',
501
+ 'GET',
502
+ { 'trustorOrgId': trustorOrgId },
503
+ { },
504
+ { },
505
+ { },
506
+ null,
507
+ ['PureCloud OAuth'],
508
+ ['application/json'],
509
+ ['application/json']
510
+ );
511
+ }
512
+
353
513
  /**
354
514
  * Get Trustee User
355
515
  *
@@ -547,6 +707,31 @@ class OrganizationAuthorizationApi {
547
707
  );
548
708
  }
549
709
 
710
+ /**
711
+ * Create a new organization authorization trust with Customer Care. This is required to grant your regional Customer Care organization access to your organization.
712
+ *
713
+ * @param {Object} opts Optional parameters
714
+ * @param {Boolean} opts.assignDefaultRole Assign Admin role to default pairing with Customer Care
715
+ * @param {Boolean} opts.autoExpire Automatically expire pairing after 30 days
716
+ */
717
+ postOrgauthorizationTrusteesDefault(opts) {
718
+ opts = opts || {};
719
+
720
+
721
+ return this.apiClient.callApi(
722
+ '/api/v2/orgauthorization/trustees/default',
723
+ 'POST',
724
+ { },
725
+ { 'assignDefaultRole': opts['assignDefaultRole'],'autoExpire': opts['autoExpire'] },
726
+ { },
727
+ { },
728
+ null,
729
+ ['PureCloud OAuth'],
730
+ ['application/json'],
731
+ ['application/json']
732
+ );
733
+ }
734
+
550
735
  /**
551
736
  * Get Org Trustor Audits
552
737
  *
@@ -679,6 +864,36 @@ class OrganizationAuthorizationApi {
679
864
  );
680
865
  }
681
866
 
867
+ /**
868
+ * Creates a clone of the trustee user in the trustor org.
869
+ *
870
+ * @param {String} trustorOrgId Trustor Organization Id
871
+ * @param {String} trusteeUserId Trustee User Id
872
+ */
873
+ putOrgauthorizationTrustorCloneduser(trustorOrgId, trusteeUserId) {
874
+ // verify the required parameter 'trustorOrgId' is set
875
+ if (trustorOrgId === undefined || trustorOrgId === null) {
876
+ throw 'Missing the required parameter "trustorOrgId" when calling putOrgauthorizationTrustorCloneduser';
877
+ }
878
+ // verify the required parameter 'trusteeUserId' is set
879
+ if (trusteeUserId === undefined || trusteeUserId === null) {
880
+ throw 'Missing the required parameter "trusteeUserId" when calling putOrgauthorizationTrustorCloneduser';
881
+ }
882
+
883
+ return this.apiClient.callApi(
884
+ '/api/v2/orgauthorization/trustors/{trustorOrgId}/clonedusers/{trusteeUserId}',
885
+ 'PUT',
886
+ { 'trustorOrgId': trustorOrgId,'trusteeUserId': trusteeUserId },
887
+ { },
888
+ { },
889
+ { },
890
+ null,
891
+ ['PureCloud OAuth'],
892
+ ['application/json'],
893
+ ['application/json']
894
+ );
895
+ }
896
+
682
897
  /**
683
898
  * Add a Trustee user to the trust.
684
899
  *
@@ -5,7 +5,7 @@ class OutboundApi {
5
5
  /**
6
6
  * Outbound service.
7
7
  * @module purecloud-platform-client-v2/api/OutboundApi
8
- * @version 125.0.0
8
+ * @version 128.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class PresenceApi {
5
5
  /**
6
6
  * Presence service.
7
7
  * @module purecloud-platform-client-v2/api/PresenceApi
8
- * @version 125.0.0
8
+ * @version 128.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class QualityApi {
5
5
  /**
6
6
  * Quality service.
7
7
  * @module purecloud-platform-client-v2/api/QualityApi
8
- * @version 125.0.0
8
+ * @version 128.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -378,7 +378,7 @@ class QualityApi {
378
378
 
379
379
  /**
380
380
  * Queries Evaluations and returns a paged list
381
- * Query params must include one of conversationId, evaluatorUserId, or agentUserId
381
+ * Query params must include one of conversationId, evaluatorUserId, or agentUserId. When querying by agentUserId (and not conversationId or evaluatorUserId), the results are sorted by release date. Evaluations set to 'Never Release' are omitted in this case. When querying by evaluatorUserId or conversationId (including when combined with agentUserId), the results are sorted by assigned date.
382
382
  * @param {Object} opts Optional parameters
383
383
  * @param {Number} opts.pageSize The total page size requested (default to 25)
384
384
  * @param {Number} opts.pageNumber The page number requested (default to 1)
@@ -5,7 +5,7 @@ class RecordingApi {
5
5
  /**
6
6
  * Recording service.
7
7
  * @module purecloud-platform-client-v2/api/RecordingApi
8
- * @version 125.0.0
8
+ * @version 128.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -601,6 +601,8 @@ class RecordingApi {
601
601
  * @param {Object} opts Optional parameters
602
602
  * @param {Number} opts.pageSize Page size. Maximum is 100. (default to 25)
603
603
  * @param {Number} opts.pageNumber Page number (default to 1)
604
+ * @param {Boolean} opts.includeTotal If false, cursor will be used to locate the page instead of pageNumber.
605
+ * @param {String} opts.cursor Indicates where to resume query results (not required for first page)
604
606
  */
605
607
  getRecordingJobFailedrecordings(jobId, opts) {
606
608
  opts = opts || {};
@@ -614,7 +616,7 @@ class RecordingApi {
614
616
  '/api/v2/recording/jobs/{jobId}/failedrecordings',
615
617
  'GET',
616
618
  { 'jobId': jobId },
617
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
619
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'includeTotal': opts['includeTotal'],'cursor': opts['cursor'] },
618
620
  { },
619
621
  { },
620
622
  null,
@@ -634,6 +636,8 @@ class RecordingApi {
634
636
  * @param {Object} opts.state Filter by state
635
637
  * @param {Boolean} opts.showOnlyMyJobs Show only my jobs
636
638
  * @param {Object} opts.jobType Job Type (Can be left empty for both)
639
+ * @param {Boolean} opts.includeTotal If false, cursor will be used to locate the page instead of pageNumber.
640
+ * @param {String} opts.cursor Indicates where to resume query results (not required for first page)
637
641
  */
638
642
  getRecordingJobs(opts) {
639
643
  opts = opts || {};
@@ -643,7 +647,7 @@ class RecordingApi {
643
647
  '/api/v2/recording/jobs',
644
648
  'GET',
645
649
  { },
646
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'state': opts['state'],'showOnlyMyJobs': opts['showOnlyMyJobs'],'jobType': opts['jobType'] },
650
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'state': opts['state'],'showOnlyMyJobs': opts['showOnlyMyJobs'],'jobType': opts['jobType'],'includeTotal': opts['includeTotal'],'cursor': opts['cursor'] },
647
651
  { },
648
652
  { },
649
653
  null,
@@ -5,7 +5,7 @@ class ResponseManagementApi {
5
5
  /**
6
6
  * ResponseManagement service.
7
7
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
8
- * @version 125.0.0
8
+ * @version 128.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class RoutingApi {
5
5
  /**
6
6
  * Routing service.
7
7
  * @module purecloud-platform-client-v2/api/RoutingApi
8
- * @version 125.0.0
8
+ * @version 128.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -1161,12 +1161,11 @@ class RoutingApi {
1161
1161
  }
1162
1162
 
1163
1163
  /**
1164
- * Get a paged listing of simplified queue objects. Can be used to get a digest of all queues in an organization.
1164
+ * Get a paged listing of simplified queue objects, sorted by name. Can be used to get a digest of all queues in an organization.
1165
1165
  *
1166
1166
  * @param {Object} opts Optional parameters
1167
1167
  * @param {Number} opts.pageSize Page size [max value is 500] (default to 25)
1168
1168
  * @param {Number} opts.pageNumber Page number (default to 1)
1169
- * @param {Object} opts.sortBy Sort by (default to name)
1170
1169
  * @param {Object} opts.sortOrder Sort order (default to asc)
1171
1170
  */
1172
1171
  getRoutingQueuesDivisionviewsAll(opts) {
@@ -1177,7 +1176,7 @@ class RoutingApi {
1177
1176
  '/api/v2/routing/queues/divisionviews/all',
1178
1177
  'GET',
1179
1178
  { },
1180
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'] },
1179
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortOrder': opts['sortOrder'] },
1181
1180
  { },
1182
1181
  { },
1183
1182
  null,
@@ -5,7 +5,7 @@ class SCIMApi {
5
5
  /**
6
6
  * SCIM service.
7
7
  * @module purecloud-platform-client-v2/api/SCIMApi
8
- * @version 125.0.0
8
+ * @version 128.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ScriptsApi {
5
5
  /**
6
6
  * Scripts service.
7
7
  * @module purecloud-platform-client-v2/api/ScriptsApi
8
- * @version 125.0.0
8
+ * @version 128.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class SearchApi {
5
5
  /**
6
6
  * Search service.
7
7
  * @module purecloud-platform-client-v2/api/SearchApi
8
- * @version 125.0.0
8
+ * @version 128.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class SpeechTextAnalyticsApi {
5
5
  /**
6
6
  * SpeechTextAnalytics service.
7
7
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
8
- * @version 125.0.0
8
+ * @version 128.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -176,7 +176,7 @@ class SpeechTextAnalyticsApi {
176
176
 
177
177
  /**
178
178
  * Get list of supported Speech & Text Analytics dialects
179
- *
179
+ * This api has been deprecated. Use api/v2/topics/dialects instead
180
180
  */
181
181
  getSpeechandtextanalyticsDialects() {
182
182
 
@@ -369,6 +369,26 @@ class SpeechTextAnalyticsApi {
369
369
  );
370
370
  }
371
371
 
372
+ /**
373
+ * Get the list of Speech & Text Analytics sentiment supported dialects
374
+ *
375
+ */
376
+ getSpeechandtextanalyticsSentimentDialects() {
377
+
378
+ return this.apiClient.callApi(
379
+ '/api/v2/speechandtextanalytics/sentiment/dialects',
380
+ 'GET',
381
+ { },
382
+ { },
383
+ { },
384
+ { },
385
+ null,
386
+ ['PureCloud OAuth'],
387
+ ['application/json'],
388
+ ['application/json']
389
+ );
390
+ }
391
+
372
392
  /**
373
393
  * Get the list of Speech & Text Analytics SentimentFeedback
374
394
  *
@@ -5,7 +5,7 @@ class StationsApi {
5
5
  /**
6
6
  * Stations service.
7
7
  * @module purecloud-platform-client-v2/api/StationsApi
8
- * @version 125.0.0
8
+ * @version 128.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class SuggestApi {
5
5
  /**
6
6
  * Suggest service.
7
7
  * @module purecloud-platform-client-v2/api/SuggestApi
8
- * @version 125.0.0
8
+ * @version 128.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class TelephonyApi {
5
5
  /**
6
6
  * Telephony service.
7
7
  * @module purecloud-platform-client-v2/api/TelephonyApi
8
- * @version 125.0.0
8
+ * @version 128.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class TelephonyProvidersEdgeApi {
5
5
  /**
6
6
  * TelephonyProvidersEdge service.
7
7
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
8
- * @version 125.0.0
8
+ * @version 128.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class TextbotsApi {
5
5
  /**
6
6
  * Textbots service.
7
7
  * @module purecloud-platform-client-v2/api/TextbotsApi
8
- * @version 125.0.0
8
+ * @version 128.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 TokensApi {
5
5
  /**
6
6
  * Tokens service.
7
7
  * @module purecloud-platform-client-v2/api/TokensApi
8
- * @version 125.0.0
8
+ * @version 128.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class UploadsApi {
5
5
  /**
6
6
  * Uploads service.
7
7
  * @module purecloud-platform-client-v2/api/UploadsApi
8
- * @version 125.0.0
8
+ * @version 128.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class UsageApi {
5
5
  /**
6
6
  * Usage service.
7
7
  * @module purecloud-platform-client-v2/api/UsageApi
8
- * @version 125.0.0
8
+ * @version 128.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class UserRecordingsApi {
5
5
  /**
6
6
  * UserRecordings service.
7
7
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
8
- * @version 125.0.0
8
+ * @version 128.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class UsersApi {
5
5
  /**
6
6
  * Users service.
7
7
  * @module purecloud-platform-client-v2/api/UsersApi
8
- * @version 125.0.0
8
+ * @version 128.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class UtilitiesApi {
5
5
  /**
6
6
  * Utilities service.
7
7
  * @module purecloud-platform-client-v2/api/UtilitiesApi
8
- * @version 125.0.0
8
+ * @version 128.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class VoicemailApi {
5
5
  /**
6
6
  * Voicemail service.
7
7
  * @module purecloud-platform-client-v2/api/VoicemailApi
8
- * @version 125.0.0
8
+ * @version 128.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class WebChatApi {
5
5
  /**
6
6
  * WebChat service.
7
7
  * @module purecloud-platform-client-v2/api/WebChatApi
8
- * @version 125.0.0
8
+ * @version 128.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class WebDeploymentsApi {
5
5
  /**
6
6
  * WebDeployments service.
7
7
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
8
- * @version 125.0.0
8
+ * @version 128.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class WebMessagingApi {
5
5
  /**
6
6
  * WebMessaging service.
7
7
  * @module purecloud-platform-client-v2/api/WebMessagingApi
8
- * @version 125.0.0
8
+ * @version 128.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class WidgetsApi {
5
5
  /**
6
6
  * Widgets service.
7
7
  * @module purecloud-platform-client-v2/api/WidgetsApi
8
- * @version 125.0.0
8
+ * @version 128.0.0
9
9
  */
10
10
 
11
11
  /**