purecloud-platform-client-v2 157.0.0 → 159.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 (77) hide show
  1. package/README.md +2 -2
  2. package/dist/node/purecloud-platform-client-v2.js +631 -80
  3. package/dist/web-amd/purecloud-platform-client-v2.js +631 -80
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +631 -80
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +641 -80
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +214 -3
  9. package/package.json +1 -1
  10. package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
  11. package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
  12. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
  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 +26 -1
  21. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  22. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/JourneyApi.js +95 -1
  35. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +2 -3
  36. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +3 -2
  37. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/LearningApi.js +3 -3
  39. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +371 -1
  48. package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/QualityApi.js +5 -4
  52. package/src/purecloud-platform-client-v2/api/RecordingApi.js +2 -2
  53. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/StationsApi.js +3 -3
  60. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +3 -2
  64. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +61 -1
  74. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
  77. 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 157.0.0
8
+ * @version 159.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -75,6 +75,66 @@ class OrganizationAuthorizationApi {
75
75
  );
76
76
  }
77
77
 
78
+ /**
79
+ * Delete Trustee Group
80
+ *
81
+ * @param {String} trusteeOrgId Trustee Organization Id
82
+ * @param {String} trusteeGroupId Trustee Group Id
83
+ */
84
+ deleteOrgauthorizationTrusteeGroup(trusteeOrgId, trusteeGroupId) {
85
+ // verify the required parameter 'trusteeOrgId' is set
86
+ if (trusteeOrgId === undefined || trusteeOrgId === null) {
87
+ throw 'Missing the required parameter "trusteeOrgId" when calling deleteOrgauthorizationTrusteeGroup';
88
+ }
89
+ // verify the required parameter 'trusteeGroupId' is set
90
+ if (trusteeGroupId === undefined || trusteeGroupId === null) {
91
+ throw 'Missing the required parameter "trusteeGroupId" when calling deleteOrgauthorizationTrusteeGroup';
92
+ }
93
+
94
+ return this.apiClient.callApi(
95
+ '/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups/{trusteeGroupId}',
96
+ 'DELETE',
97
+ { 'trusteeOrgId': trusteeOrgId,'trusteeGroupId': trusteeGroupId },
98
+ { },
99
+ { },
100
+ { },
101
+ null,
102
+ ['PureCloud OAuth'],
103
+ ['application/json'],
104
+ ['application/json']
105
+ );
106
+ }
107
+
108
+ /**
109
+ * Delete Trustee Group Roles
110
+ *
111
+ * @param {String} trusteeOrgId Trustee Organization Id
112
+ * @param {String} trusteeGroupId Trustee Group Id
113
+ */
114
+ deleteOrgauthorizationTrusteeGroupRoles(trusteeOrgId, trusteeGroupId) {
115
+ // verify the required parameter 'trusteeOrgId' is set
116
+ if (trusteeOrgId === undefined || trusteeOrgId === null) {
117
+ throw 'Missing the required parameter "trusteeOrgId" when calling deleteOrgauthorizationTrusteeGroupRoles';
118
+ }
119
+ // verify the required parameter 'trusteeGroupId' is set
120
+ if (trusteeGroupId === undefined || trusteeGroupId === null) {
121
+ throw 'Missing the required parameter "trusteeGroupId" when calling deleteOrgauthorizationTrusteeGroupRoles';
122
+ }
123
+
124
+ return this.apiClient.callApi(
125
+ '/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups/{trusteeGroupId}/roles',
126
+ 'DELETE',
127
+ { 'trusteeOrgId': trusteeOrgId,'trusteeGroupId': trusteeGroupId },
128
+ { },
129
+ { },
130
+ { },
131
+ null,
132
+ ['PureCloud OAuth'],
133
+ ['application/json'],
134
+ ['application/json']
135
+ );
136
+ }
137
+
78
138
  /**
79
139
  * Delete Trustee User
80
140
  *
@@ -190,6 +250,36 @@ class OrganizationAuthorizationApi {
190
250
  );
191
251
  }
192
252
 
253
+ /**
254
+ * Delete Trustee Group
255
+ *
256
+ * @param {String} trustorOrgId Trustor Organization Id
257
+ * @param {String} trustorGroupId Trustor Group Id
258
+ */
259
+ deleteOrgauthorizationTrustorGroup(trustorOrgId, trustorGroupId) {
260
+ // verify the required parameter 'trustorOrgId' is set
261
+ if (trustorOrgId === undefined || trustorOrgId === null) {
262
+ throw 'Missing the required parameter "trustorOrgId" when calling deleteOrgauthorizationTrustorGroup';
263
+ }
264
+ // verify the required parameter 'trustorGroupId' is set
265
+ if (trustorGroupId === undefined || trustorGroupId === null) {
266
+ throw 'Missing the required parameter "trustorGroupId" when calling deleteOrgauthorizationTrustorGroup';
267
+ }
268
+
269
+ return this.apiClient.callApi(
270
+ '/api/v2/orgauthorization/trustors/{trustorOrgId}/groups/{trustorGroupId}',
271
+ 'DELETE',
272
+ { 'trustorOrgId': trustorOrgId,'trustorGroupId': trustorGroupId },
273
+ { },
274
+ { },
275
+ { },
276
+ null,
277
+ ['PureCloud OAuth'],
278
+ ['application/json'],
279
+ ['application/json']
280
+ );
281
+ }
282
+
193
283
  /**
194
284
  * Delete Trustee User
195
285
  *
@@ -295,6 +385,96 @@ class OrganizationAuthorizationApi {
295
385
  );
296
386
  }
297
387
 
388
+ /**
389
+ * Get Trustee Group
390
+ *
391
+ * @param {String} trusteeOrgId Trustee Organization Id
392
+ * @param {String} trusteeGroupId Trustee Group Id
393
+ */
394
+ getOrgauthorizationTrusteeGroup(trusteeOrgId, trusteeGroupId) {
395
+ // verify the required parameter 'trusteeOrgId' is set
396
+ if (trusteeOrgId === undefined || trusteeOrgId === null) {
397
+ throw 'Missing the required parameter "trusteeOrgId" when calling getOrgauthorizationTrusteeGroup';
398
+ }
399
+ // verify the required parameter 'trusteeGroupId' is set
400
+ if (trusteeGroupId === undefined || trusteeGroupId === null) {
401
+ throw 'Missing the required parameter "trusteeGroupId" when calling getOrgauthorizationTrusteeGroup';
402
+ }
403
+
404
+ return this.apiClient.callApi(
405
+ '/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups/{trusteeGroupId}',
406
+ 'GET',
407
+ { 'trusteeOrgId': trusteeOrgId,'trusteeGroupId': trusteeGroupId },
408
+ { },
409
+ { },
410
+ { },
411
+ null,
412
+ ['PureCloud OAuth'],
413
+ ['application/json'],
414
+ ['application/json']
415
+ );
416
+ }
417
+
418
+ /**
419
+ * Get Trustee Group Roles
420
+ *
421
+ * @param {String} trusteeOrgId Trustee Organization Id
422
+ * @param {String} trusteeGroupId Trustee Group Id
423
+ */
424
+ getOrgauthorizationTrusteeGroupRoles(trusteeOrgId, trusteeGroupId) {
425
+ // verify the required parameter 'trusteeOrgId' is set
426
+ if (trusteeOrgId === undefined || trusteeOrgId === null) {
427
+ throw 'Missing the required parameter "trusteeOrgId" when calling getOrgauthorizationTrusteeGroupRoles';
428
+ }
429
+ // verify the required parameter 'trusteeGroupId' is set
430
+ if (trusteeGroupId === undefined || trusteeGroupId === null) {
431
+ throw 'Missing the required parameter "trusteeGroupId" when calling getOrgauthorizationTrusteeGroupRoles';
432
+ }
433
+
434
+ return this.apiClient.callApi(
435
+ '/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups/{trusteeGroupId}/roles',
436
+ 'GET',
437
+ { 'trusteeOrgId': trusteeOrgId,'trusteeGroupId': trusteeGroupId },
438
+ { },
439
+ { },
440
+ { },
441
+ null,
442
+ ['PureCloud OAuth'],
443
+ ['application/json'],
444
+ ['application/json']
445
+ );
446
+ }
447
+
448
+ /**
449
+ * The list of trustee groups for this organization (i.e. groups granted access to this organization).
450
+ *
451
+ * @param {String} trusteeOrgId Trustee Organization Id
452
+ * @param {Object} opts Optional parameters
453
+ * @param {Number} opts.pageSize Page size (default to 25)
454
+ * @param {Number} opts.pageNumber Page number (default to 1)
455
+ */
456
+ getOrgauthorizationTrusteeGroups(trusteeOrgId, opts) {
457
+ opts = opts || {};
458
+
459
+ // verify the required parameter 'trusteeOrgId' is set
460
+ if (trusteeOrgId === undefined || trusteeOrgId === null) {
461
+ throw 'Missing the required parameter "trusteeOrgId" when calling getOrgauthorizationTrusteeGroups';
462
+ }
463
+
464
+ return this.apiClient.callApi(
465
+ '/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups',
466
+ 'GET',
467
+ { 'trusteeOrgId': trusteeOrgId },
468
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
469
+ { },
470
+ { },
471
+ null,
472
+ ['PureCloud OAuth'],
473
+ ['application/json'],
474
+ ['application/json']
475
+ );
476
+ }
477
+
298
478
  /**
299
479
  * Get Trustee User
300
480
  *
@@ -510,6 +690,66 @@ class OrganizationAuthorizationApi {
510
690
  );
511
691
  }
512
692
 
693
+ /**
694
+ * Get Trustee Group
695
+ *
696
+ * @param {String} trustorOrgId Trustor Organization Id
697
+ * @param {String} trustorGroupId Trustor Group Id
698
+ */
699
+ getOrgauthorizationTrustorGroup(trustorOrgId, trustorGroupId) {
700
+ // verify the required parameter 'trustorOrgId' is set
701
+ if (trustorOrgId === undefined || trustorOrgId === null) {
702
+ throw 'Missing the required parameter "trustorOrgId" when calling getOrgauthorizationTrustorGroup';
703
+ }
704
+ // verify the required parameter 'trustorGroupId' is set
705
+ if (trustorGroupId === undefined || trustorGroupId === null) {
706
+ throw 'Missing the required parameter "trustorGroupId" when calling getOrgauthorizationTrustorGroup';
707
+ }
708
+
709
+ return this.apiClient.callApi(
710
+ '/api/v2/orgauthorization/trustors/{trustorOrgId}/groups/{trustorGroupId}',
711
+ 'GET',
712
+ { 'trustorOrgId': trustorOrgId,'trustorGroupId': trustorGroupId },
713
+ { },
714
+ { },
715
+ { },
716
+ null,
717
+ ['PureCloud OAuth'],
718
+ ['application/json'],
719
+ ['application/json']
720
+ );
721
+ }
722
+
723
+ /**
724
+ * The list of groups in the trustor organization (i.e. groups granted access).
725
+ *
726
+ * @param {String} trustorOrgId Trustee Organization Id
727
+ * @param {Object} opts Optional parameters
728
+ * @param {Number} opts.pageSize Page size (default to 25)
729
+ * @param {Number} opts.pageNumber Page number (default to 1)
730
+ */
731
+ getOrgauthorizationTrustorGroups(trustorOrgId, opts) {
732
+ opts = opts || {};
733
+
734
+ // verify the required parameter 'trustorOrgId' is set
735
+ if (trustorOrgId === undefined || trustorOrgId === null) {
736
+ throw 'Missing the required parameter "trustorOrgId" when calling getOrgauthorizationTrustorGroups';
737
+ }
738
+
739
+ return this.apiClient.callApi(
740
+ '/api/v2/orgauthorization/trustors/{trustorOrgId}/groups',
741
+ 'GET',
742
+ { 'trustorOrgId': trustorOrgId },
743
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
744
+ { },
745
+ { },
746
+ null,
747
+ ['PureCloud OAuth'],
748
+ ['application/json'],
749
+ ['application/json']
750
+ );
751
+ }
752
+
513
753
  /**
514
754
  * Get Trustee User
515
755
  *
@@ -620,6 +860,36 @@ class OrganizationAuthorizationApi {
620
860
  );
621
861
  }
622
862
 
863
+ /**
864
+ * Add a group to the trust.
865
+ *
866
+ * @param {String} trusteeOrgId Trustee Organization Id
867
+ * @param {Object} body Trust
868
+ */
869
+ postOrgauthorizationTrusteeGroups(trusteeOrgId, body) {
870
+ // verify the required parameter 'trusteeOrgId' is set
871
+ if (trusteeOrgId === undefined || trusteeOrgId === null) {
872
+ throw 'Missing the required parameter "trusteeOrgId" when calling postOrgauthorizationTrusteeGroups';
873
+ }
874
+ // verify the required parameter 'body' is set
875
+ if (body === undefined || body === null) {
876
+ throw 'Missing the required parameter "body" when calling postOrgauthorizationTrusteeGroups';
877
+ }
878
+
879
+ return this.apiClient.callApi(
880
+ '/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups',
881
+ 'POST',
882
+ { 'trusteeOrgId': trusteeOrgId },
883
+ { },
884
+ { },
885
+ { },
886
+ body,
887
+ ['PureCloud OAuth'],
888
+ ['application/json'],
889
+ ['application/json']
890
+ );
891
+ }
892
+
623
893
  /**
624
894
  * Add a user to the trust.
625
895
  *
@@ -794,6 +1064,76 @@ class OrganizationAuthorizationApi {
794
1064
  );
795
1065
  }
796
1066
 
1067
+ /**
1068
+ * Update Trustee Group Roles
1069
+ *
1070
+ * @param {String} trusteeOrgId Trustee Organization Id
1071
+ * @param {String} trusteeGroupId Trustee Group Id
1072
+ * @param {Object} body Set of roles with corresponding divisions to apply
1073
+ */
1074
+ putOrgauthorizationTrusteeGroupRoledivisions(trusteeOrgId, trusteeGroupId, body) {
1075
+ // verify the required parameter 'trusteeOrgId' is set
1076
+ if (trusteeOrgId === undefined || trusteeOrgId === null) {
1077
+ throw 'Missing the required parameter "trusteeOrgId" when calling putOrgauthorizationTrusteeGroupRoledivisions';
1078
+ }
1079
+ // verify the required parameter 'trusteeGroupId' is set
1080
+ if (trusteeGroupId === undefined || trusteeGroupId === null) {
1081
+ throw 'Missing the required parameter "trusteeGroupId" when calling putOrgauthorizationTrusteeGroupRoledivisions';
1082
+ }
1083
+ // verify the required parameter 'body' is set
1084
+ if (body === undefined || body === null) {
1085
+ throw 'Missing the required parameter "body" when calling putOrgauthorizationTrusteeGroupRoledivisions';
1086
+ }
1087
+
1088
+ return this.apiClient.callApi(
1089
+ '/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups/{trusteeGroupId}/roledivisions',
1090
+ 'PUT',
1091
+ { 'trusteeOrgId': trusteeOrgId,'trusteeGroupId': trusteeGroupId },
1092
+ { },
1093
+ { },
1094
+ { },
1095
+ body,
1096
+ ['PureCloud OAuth'],
1097
+ ['application/json'],
1098
+ ['application/json']
1099
+ );
1100
+ }
1101
+
1102
+ /**
1103
+ * Update Trustee Group Roles
1104
+ *
1105
+ * @param {String} trusteeOrgId Trustee Organization Id
1106
+ * @param {String} trusteeGroupId Trustee Group Id
1107
+ * @param {Array.<String>} body List of roles
1108
+ */
1109
+ putOrgauthorizationTrusteeGroupRoles(trusteeOrgId, trusteeGroupId, body) {
1110
+ // verify the required parameter 'trusteeOrgId' is set
1111
+ if (trusteeOrgId === undefined || trusteeOrgId === null) {
1112
+ throw 'Missing the required parameter "trusteeOrgId" when calling putOrgauthorizationTrusteeGroupRoles';
1113
+ }
1114
+ // verify the required parameter 'trusteeGroupId' is set
1115
+ if (trusteeGroupId === undefined || trusteeGroupId === null) {
1116
+ throw 'Missing the required parameter "trusteeGroupId" when calling putOrgauthorizationTrusteeGroupRoles';
1117
+ }
1118
+ // verify the required parameter 'body' is set
1119
+ if (body === undefined || body === null) {
1120
+ throw 'Missing the required parameter "body" when calling putOrgauthorizationTrusteeGroupRoles';
1121
+ }
1122
+
1123
+ return this.apiClient.callApi(
1124
+ '/api/v2/orgauthorization/trustees/{trusteeOrgId}/groups/{trusteeGroupId}/roles',
1125
+ 'PUT',
1126
+ { 'trusteeOrgId': trusteeOrgId,'trusteeGroupId': trusteeGroupId },
1127
+ { },
1128
+ { },
1129
+ { },
1130
+ body,
1131
+ ['PureCloud OAuth'],
1132
+ ['application/json'],
1133
+ ['application/json']
1134
+ );
1135
+ }
1136
+
797
1137
  /**
798
1138
  * Update Trustee User Roles
799
1139
  *
@@ -894,6 +1234,36 @@ class OrganizationAuthorizationApi {
894
1234
  );
895
1235
  }
896
1236
 
1237
+ /**
1238
+ * Add a Trustee Group to the trust.
1239
+ *
1240
+ * @param {String} trustorOrgId Trustor Organization Id
1241
+ * @param {String} trustorGroupId Trustor Group Id
1242
+ */
1243
+ putOrgauthorizationTrustorGroup(trustorOrgId, trustorGroupId) {
1244
+ // verify the required parameter 'trustorOrgId' is set
1245
+ if (trustorOrgId === undefined || trustorOrgId === null) {
1246
+ throw 'Missing the required parameter "trustorOrgId" when calling putOrgauthorizationTrustorGroup';
1247
+ }
1248
+ // verify the required parameter 'trustorGroupId' is set
1249
+ if (trustorGroupId === undefined || trustorGroupId === null) {
1250
+ throw 'Missing the required parameter "trustorGroupId" when calling putOrgauthorizationTrustorGroup';
1251
+ }
1252
+
1253
+ return this.apiClient.callApi(
1254
+ '/api/v2/orgauthorization/trustors/{trustorOrgId}/groups/{trustorGroupId}',
1255
+ 'PUT',
1256
+ { 'trustorOrgId': trustorOrgId,'trustorGroupId': trustorGroupId },
1257
+ { },
1258
+ { },
1259
+ { },
1260
+ null,
1261
+ ['PureCloud OAuth'],
1262
+ ['application/json'],
1263
+ ['application/json']
1264
+ );
1265
+ }
1266
+
897
1267
  /**
898
1268
  * Add a Trustee user to the trust.
899
1269
  *
@@ -5,7 +5,7 @@ class OutboundApi {
5
5
  /**
6
6
  * Outbound service.
7
7
  * @module purecloud-platform-client-v2/api/OutboundApi
8
- * @version 157.0.0
8
+ * @version 159.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 157.0.0
8
+ * @version 159.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ProcessAutomationApi {
5
5
  /**
6
6
  * ProcessAutomation service.
7
7
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
8
- * @version 157.0.0
8
+ * @version 159.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 157.0.0
8
+ * @version 159.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -267,7 +267,7 @@ class QualityApi {
267
267
  * @param {String} conversationId conversationId
268
268
  * @param {String} evaluationId evaluationId
269
269
  * @param {Object} opts Optional parameters
270
- * @param {String} opts.expand agent, evaluator, evaluationForm
270
+ * @param {String} opts.expand agent, assignee, evaluator, evaluationForm
271
271
  */
272
272
  getQualityConversationEvaluation(conversationId, evaluationId, opts) {
273
273
  opts = opts || {};
@@ -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. 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.
381
+ * Query params must include one of conversationId, evaluatorUserId, agentUserId or assigneeUserId. 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)
@@ -389,6 +389,7 @@ class QualityApi {
389
389
  * @param {String} opts.conversationId conversationId specified
390
390
  * @param {String} opts.agentUserId user id of the agent
391
391
  * @param {String} opts.evaluatorUserId evaluator user id
392
+ * @param {String} opts.assigneeUserId assignee user id
392
393
  * @param {String} opts.queueId queue id
393
394
  * @param {String} opts.startTime start time of the evaluation query
394
395
  * @param {String} opts.endTime end time of the evaluation query
@@ -407,7 +408,7 @@ class QualityApi {
407
408
  '/api/v2/quality/evaluations/query',
408
409
  'GET',
409
410
  { },
410
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'],'conversationId': opts['conversationId'],'agentUserId': opts['agentUserId'],'evaluatorUserId': opts['evaluatorUserId'],'queueId': opts['queueId'],'startTime': opts['startTime'],'endTime': opts['endTime'],'evaluationState': this.apiClient.buildCollectionParam(opts['evaluationState'], 'multi'),'isReleased': opts['isReleased'],'agentHasRead': opts['agentHasRead'],'expandAnswerTotalScores': opts['expandAnswerTotalScores'],'maximum': opts['maximum'],'sortOrder': opts['sortOrder'] },
411
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'],'conversationId': opts['conversationId'],'agentUserId': opts['agentUserId'],'evaluatorUserId': opts['evaluatorUserId'],'assigneeUserId': opts['assigneeUserId'],'queueId': opts['queueId'],'startTime': opts['startTime'],'endTime': opts['endTime'],'evaluationState': this.apiClient.buildCollectionParam(opts['evaluationState'], 'multi'),'isReleased': opts['isReleased'],'agentHasRead': opts['agentHasRead'],'expandAnswerTotalScores': opts['expandAnswerTotalScores'],'maximum': opts['maximum'],'sortOrder': opts['sortOrder'] },
411
412
  { },
412
413
  { },
413
414
  null,
@@ -5,7 +5,7 @@ class RecordingApi {
5
5
  /**
6
6
  * Recording service.
7
7
  * @module purecloud-platform-client-v2/api/RecordingApi
8
- * @version 157.0.0
8
+ * @version 159.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -1135,7 +1135,7 @@ class RecordingApi {
1135
1135
 
1136
1136
  /**
1137
1137
  * Create a recording bulk job.
1138
- * Each organization can run up to a maximum of two concurrent jobs that are either in pending or processing state. Furthermore, the recording:recording:viewSensitiveData permission is required to access recordings with PCI DSS and/or PII data. If the requester does not have that permission and includeRecordingsWithSensitiveData is set to true, then their request will be rejected.
1138
+ * Each organization can run up to a maximum of two concurrent jobs that are either in pending or processing state. Furthermore, the recording:recording:viewSensitiveData permission is required to access recordings with PCI DSS and/or PII data when redaction is enabled for their organization. If the requester does not have that permission and includeRecordingsWithSensitiveData is set to true, then their request will be rejected.
1139
1139
  * @param {Object} body query
1140
1140
  */
1141
1141
  postRecordingJobs(body) {
@@ -5,7 +5,7 @@ class ResponseManagementApi {
5
5
  /**
6
6
  * ResponseManagement service.
7
7
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
8
- * @version 157.0.0
8
+ * @version 159.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 157.0.0
8
+ * @version 159.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class SCIMApi {
5
5
  /**
6
6
  * SCIM service.
7
7
  * @module purecloud-platform-client-v2/api/SCIMApi
8
- * @version 157.0.0
8
+ * @version 159.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 157.0.0
8
+ * @version 159.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 157.0.0
8
+ * @version 159.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 157.0.0
8
+ * @version 159.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class StationsApi {
5
5
  /**
6
6
  * Stations service.
7
7
  * @module purecloud-platform-client-v2/api/StationsApi
8
- * @version 157.0.0
8
+ * @version 159.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -103,7 +103,7 @@ class StationsApi {
103
103
 
104
104
  /**
105
105
  * Get an organization's StationSettings
106
- *
106
+ * This route is deprecated as the FreeSeatingConfiguration feature it references has been removed
107
107
  */
108
108
  getStationsSettings() {
109
109
 
@@ -123,7 +123,7 @@ class StationsApi {
123
123
 
124
124
  /**
125
125
  * Patch an organization's StationSettings
126
- *
126
+ * This route is deprecated as the FreeSeatingConfiguration feature it references has been removed
127
127
  * @param {Object} body Station settings
128
128
  */
129
129
  patchStationsSettings(body) {
@@ -5,7 +5,7 @@ class SuggestApi {
5
5
  /**
6
6
  * Suggest service.
7
7
  * @module purecloud-platform-client-v2/api/SuggestApi
8
- * @version 157.0.0
8
+ * @version 159.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class TeamsApi {
5
5
  /**
6
6
  * Teams service.
7
7
  * @module purecloud-platform-client-v2/api/TeamsApi
8
- * @version 157.0.0
8
+ * @version 159.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 157.0.0
8
+ * @version 159.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 157.0.0
8
+ * @version 159.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -1011,6 +1011,7 @@ class TelephonyProvidersEdgeApi {
1011
1011
  * @param {String} opts.edgeGroupId Filter by edgeGroup.id
1012
1012
  * @param {String} opts.sortBy Sort by (default to name)
1013
1013
  * @param {Boolean} opts.managed Filter by managed
1014
+ * @param {Boolean} opts.showCloudMedia True to show the cloud media devices in the result. (default to true)
1014
1015
  */
1015
1016
  getTelephonyProvidersEdges(opts) {
1016
1017
  opts = opts || {};
@@ -1020,7 +1021,7 @@ class TelephonyProvidersEdgeApi {
1020
1021
  '/api/v2/telephony/providers/edges',
1021
1022
  'GET',
1022
1023
  { },
1023
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'name': opts['name'],'site.id': opts['siteId'],'edgeGroup.id': opts['edgeGroupId'],'sortBy': opts['sortBy'],'managed': opts['managed'] },
1024
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'name': opts['name'],'site.id': opts['siteId'],'edgeGroup.id': opts['edgeGroupId'],'sortBy': opts['sortBy'],'managed': opts['managed'],'showCloudMedia': opts['showCloudMedia'] },
1024
1025
  { },
1025
1026
  { },
1026
1027
  null,
@@ -5,7 +5,7 @@ class TextbotsApi {
5
5
  /**
6
6
  * Textbots service.
7
7
  * @module purecloud-platform-client-v2/api/TextbotsApi
8
- * @version 157.0.0
8
+ * @version 159.0.0
9
9
  */
10
10
 
11
11
  /**