purecloud-platform-client-v2 249.0.0 → 250.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 (97) hide show
  1. package/README.md +34 -3
  2. package/dist/node/purecloud-platform-client-v2.js +20042 -5569
  3. package/dist/web-amd/purecloud-platform-client-v2.js +20042 -5569
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +11159 -5369
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +11159 -5369
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +10600 -2242
  9. package/package.json +1 -1
  10. package/src/purecloud-platform-client-v2/ApiClient.js +26 -2
  11. package/src/purecloud-platform-client-v2/api/AIStudioApi.js +136 -40
  12. package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +130 -39
  13. package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +18 -6
  14. package/src/purecloud-platform-client-v2/api/AgentUIApi.js +29 -9
  15. package/src/purecloud-platform-client-v2/api/AlertingApi.js +86 -26
  16. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +917 -224
  17. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +754 -226
  18. package/src/purecloud-platform-client-v2/api/AssistantCopilotVariationsApi.js +36 -11
  19. package/src/purecloud-platform-client-v2/api/AuditApi.js +38 -12
  20. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +302 -91
  21. package/src/purecloud-platform-client-v2/api/BackgroundAssistantApi.js +7 -3
  22. package/src/purecloud-platform-client-v2/api/BillingApi.js +41 -13
  23. package/src/purecloud-platform-client-v2/api/BusinessRulesApi.js +180 -53
  24. package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +11 -4
  25. package/src/purecloud-platform-client-v2/api/CaseManagementApi.js +187 -56
  26. package/src/purecloud-platform-client-v2/api/ChatApi.js +223 -65
  27. package/src/purecloud-platform-client-v2/api/CoachingApi.js +124 -37
  28. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +165 -51
  29. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +1992 -578
  30. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +22 -7
  31. package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +39 -12
  32. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +4 -2
  33. package/src/purecloud-platform-client-v2/api/EmailsApi.js +28 -9
  34. package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +35 -11
  35. package/src/purecloud-platform-client-v2/api/EventsApi.js +22 -7
  36. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +700 -206
  37. package/src/purecloud-platform-client-v2/api/FaxApi.js +49 -15
  38. package/src/purecloud-platform-client-v2/api/FlowsApi.js +42 -13
  39. package/src/purecloud-platform-client-v2/api/GamificationApi.js +419 -125
  40. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +21 -7
  41. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +29 -9
  42. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +106 -32
  43. package/src/purecloud-platform-client-v2/api/GroupsApi.js +103 -31
  44. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +267 -77
  45. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +20 -7
  46. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +461 -139
  47. package/src/purecloud-platform-client-v2/api/IntentsApi.js +93 -28
  48. package/src/purecloud-platform-client-v2/api/JourneyApi.js +872 -120
  49. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +618 -185
  50. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +221 -66
  51. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +53 -16
  52. package/src/purecloud-platform-client-v2/api/LearningApi.js +199 -60
  53. package/src/purecloud-platform-client-v2/api/LicenseApi.js +51 -16
  54. package/src/purecloud-platform-client-v2/api/LocationsApi.js +45 -14
  55. package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +34 -11
  56. package/src/purecloud-platform-client-v2/api/MessagingApi.js +84 -25
  57. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +28 -9
  58. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +41 -13
  59. package/src/purecloud-platform-client-v2/api/OAuthApi.js +72 -22
  60. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +58 -18
  61. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +21 -7
  62. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +122 -36
  63. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +297 -87
  64. package/src/purecloud-platform-client-v2/api/OutboundApi.js +1066 -312
  65. package/src/purecloud-platform-client-v2/api/PresenceApi.js +162 -48
  66. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +41 -13
  67. package/src/purecloud-platform-client-v2/api/QualityApi.js +409 -121
  68. package/src/purecloud-platform-client-v2/api/RecordingApi.js +351 -108
  69. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +113 -34
  70. package/src/purecloud-platform-client-v2/api/RoutingApi.js +964 -284
  71. package/src/purecloud-platform-client-v2/api/SCIMApi.js +123 -39
  72. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +50 -17
  73. package/src/purecloud-platform-client-v2/api/SearchApi.js +147 -44
  74. package/src/purecloud-platform-client-v2/api/SettingsApi.js +87 -26
  75. package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +208 -67
  76. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +389 -114
  77. package/src/purecloud-platform-client-v2/api/StationsApi.js +18 -6
  78. package/src/purecloud-platform-client-v2/api/SuggestApi.js +13 -5
  79. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +473 -138
  80. package/src/purecloud-platform-client-v2/api/TeamsApi.js +55 -17
  81. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +80 -24
  82. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +751 -220
  83. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +25 -8
  84. package/src/purecloud-platform-client-v2/api/TokensApi.js +35 -11
  85. package/src/purecloud-platform-client-v2/api/UploadsApi.js +78 -23
  86. package/src/purecloud-platform-client-v2/api/UsageApi.js +62 -19
  87. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +27 -9
  88. package/src/purecloud-platform-client-v2/api/UsersApi.js +717 -228
  89. package/src/purecloud-platform-client-v2/api/UsersRulesApi.js +52 -16
  90. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +25 -8
  91. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +154 -46
  92. package/src/purecloud-platform-client-v2/api/WebChatApi.js +126 -37
  93. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +120 -36
  94. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +25 -8
  95. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +36 -11
  96. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +2475 -577
  97. 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 249.0.0
8
+ * @version 250.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -24,8 +24,12 @@ class OrganizationAuthorizationApi {
24
24
  * Delete Org Trust
25
25
  *
26
26
  * @param {String} trusteeOrgId Trustee Organization Id
27
+ * @param {Object} opts Optional parameters
28
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
27
29
  */
28
- deleteOrgauthorizationTrustee(trusteeOrgId) {
30
+ deleteOrgauthorizationTrustee(trusteeOrgId, opts) {
31
+ opts = opts || {};
32
+
29
33
  // verify the required parameter 'trusteeOrgId' is set
30
34
  if (trusteeOrgId === undefined || trusteeOrgId === null || trusteeOrgId === '') {
31
35
  throw 'Missing the required parameter "trusteeOrgId" when calling deleteOrgauthorizationTrustee';
@@ -41,7 +45,8 @@ class OrganizationAuthorizationApi {
41
45
  null,
42
46
  ['PureCloud OAuth'],
43
47
  ['application/json'],
44
- ['application/json']
48
+ ['application/json'],
49
+ opts['customHeaders']
45
50
  );
46
51
  }
47
52
 
@@ -50,8 +55,12 @@ class OrganizationAuthorizationApi {
50
55
  *
51
56
  * @param {String} trusteeOrgId Trustee Organization Id
52
57
  * @param {String} trusteeUserId Id of the cloned user to delete
58
+ * @param {Object} opts Optional parameters
59
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
53
60
  */
54
- deleteOrgauthorizationTrusteeCloneduser(trusteeOrgId, trusteeUserId) {
61
+ deleteOrgauthorizationTrusteeCloneduser(trusteeOrgId, trusteeUserId, opts) {
62
+ opts = opts || {};
63
+
55
64
  // verify the required parameter 'trusteeOrgId' is set
56
65
  if (trusteeOrgId === undefined || trusteeOrgId === null || trusteeOrgId === '') {
57
66
  throw 'Missing the required parameter "trusteeOrgId" when calling deleteOrgauthorizationTrusteeCloneduser';
@@ -71,7 +80,8 @@ class OrganizationAuthorizationApi {
71
80
  null,
72
81
  ['PureCloud OAuth'],
73
82
  ['application/json'],
74
- ['application/json']
83
+ ['application/json'],
84
+ opts['customHeaders']
75
85
  );
76
86
  }
77
87
 
@@ -80,8 +90,12 @@ class OrganizationAuthorizationApi {
80
90
  *
81
91
  * @param {String} trusteeOrgId Trustee Organization Id
82
92
  * @param {String} trusteeGroupId Trustee Group Id
93
+ * @param {Object} opts Optional parameters
94
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
83
95
  */
84
- deleteOrgauthorizationTrusteeGroup(trusteeOrgId, trusteeGroupId) {
96
+ deleteOrgauthorizationTrusteeGroup(trusteeOrgId, trusteeGroupId, opts) {
97
+ opts = opts || {};
98
+
85
99
  // verify the required parameter 'trusteeOrgId' is set
86
100
  if (trusteeOrgId === undefined || trusteeOrgId === null || trusteeOrgId === '') {
87
101
  throw 'Missing the required parameter "trusteeOrgId" when calling deleteOrgauthorizationTrusteeGroup';
@@ -101,7 +115,8 @@ class OrganizationAuthorizationApi {
101
115
  null,
102
116
  ['PureCloud OAuth'],
103
117
  ['application/json'],
104
- ['application/json']
118
+ ['application/json'],
119
+ opts['customHeaders']
105
120
  );
106
121
  }
107
122
 
@@ -110,8 +125,12 @@ class OrganizationAuthorizationApi {
110
125
  *
111
126
  * @param {String} trusteeOrgId Trustee Organization Id
112
127
  * @param {String} trusteeGroupId Trustee Group Id
128
+ * @param {Object} opts Optional parameters
129
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
113
130
  */
114
- deleteOrgauthorizationTrusteeGroupRoles(trusteeOrgId, trusteeGroupId) {
131
+ deleteOrgauthorizationTrusteeGroupRoles(trusteeOrgId, trusteeGroupId, opts) {
132
+ opts = opts || {};
133
+
115
134
  // verify the required parameter 'trusteeOrgId' is set
116
135
  if (trusteeOrgId === undefined || trusteeOrgId === null || trusteeOrgId === '') {
117
136
  throw 'Missing the required parameter "trusteeOrgId" when calling deleteOrgauthorizationTrusteeGroupRoles';
@@ -131,7 +150,8 @@ class OrganizationAuthorizationApi {
131
150
  null,
132
151
  ['PureCloud OAuth'],
133
152
  ['application/json'],
134
- ['application/json']
153
+ ['application/json'],
154
+ opts['customHeaders']
135
155
  );
136
156
  }
137
157
 
@@ -140,8 +160,12 @@ class OrganizationAuthorizationApi {
140
160
  *
141
161
  * @param {String} trusteeOrgId Trustee Organization Id
142
162
  * @param {String} trusteeUserId Trustee User Id
163
+ * @param {Object} opts Optional parameters
164
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
143
165
  */
144
- deleteOrgauthorizationTrusteeUser(trusteeOrgId, trusteeUserId) {
166
+ deleteOrgauthorizationTrusteeUser(trusteeOrgId, trusteeUserId, opts) {
167
+ opts = opts || {};
168
+
145
169
  // verify the required parameter 'trusteeOrgId' is set
146
170
  if (trusteeOrgId === undefined || trusteeOrgId === null || trusteeOrgId === '') {
147
171
  throw 'Missing the required parameter "trusteeOrgId" when calling deleteOrgauthorizationTrusteeUser';
@@ -161,7 +185,8 @@ class OrganizationAuthorizationApi {
161
185
  null,
162
186
  ['PureCloud OAuth'],
163
187
  ['application/json'],
164
- ['application/json']
188
+ ['application/json'],
189
+ opts['customHeaders']
165
190
  );
166
191
  }
167
192
 
@@ -170,8 +195,12 @@ class OrganizationAuthorizationApi {
170
195
  *
171
196
  * @param {String} trusteeOrgId Trustee Organization Id
172
197
  * @param {String} trusteeUserId Trustee User Id
198
+ * @param {Object} opts Optional parameters
199
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
173
200
  */
174
- deleteOrgauthorizationTrusteeUserRoles(trusteeOrgId, trusteeUserId) {
201
+ deleteOrgauthorizationTrusteeUserRoles(trusteeOrgId, trusteeUserId, opts) {
202
+ opts = opts || {};
203
+
175
204
  // verify the required parameter 'trusteeOrgId' is set
176
205
  if (trusteeOrgId === undefined || trusteeOrgId === null || trusteeOrgId === '') {
177
206
  throw 'Missing the required parameter "trusteeOrgId" when calling deleteOrgauthorizationTrusteeUserRoles';
@@ -191,7 +220,8 @@ class OrganizationAuthorizationApi {
191
220
  null,
192
221
  ['PureCloud OAuth'],
193
222
  ['application/json'],
194
- ['application/json']
223
+ ['application/json'],
224
+ opts['customHeaders']
195
225
  );
196
226
  }
197
227
 
@@ -199,9 +229,13 @@ class OrganizationAuthorizationApi {
199
229
  * Delete Bulk Org Trustees
200
230
  *
201
231
  * @param {Array.<String>} id Comma separated list of trustee ids to remove
232
+ * @param {Object} opts Optional parameters
233
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
202
234
  * deleteOrgauthorizationTrustees is a preview method and is subject to both breaking and non-breaking changes at any time without notice
203
235
  */
204
- deleteOrgauthorizationTrustees(id) {
236
+ deleteOrgauthorizationTrustees(id, opts) {
237
+ opts = opts || {};
238
+
205
239
  // verify the required parameter 'id' is set
206
240
  if (id === undefined || id === null) {
207
241
  throw 'Missing the required parameter "id" when calling deleteOrgauthorizationTrustees';
@@ -217,7 +251,8 @@ class OrganizationAuthorizationApi {
217
251
  null,
218
252
  ['PureCloud OAuth'],
219
253
  ['application/json'],
220
- ['application/json']
254
+ ['application/json'],
255
+ opts['customHeaders']
221
256
  );
222
257
  }
223
258
 
@@ -225,8 +260,12 @@ class OrganizationAuthorizationApi {
225
260
  * Delete Org Trust
226
261
  *
227
262
  * @param {String} trustorOrgId Trustor Organization Id
263
+ * @param {Object} opts Optional parameters
264
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
228
265
  */
229
- deleteOrgauthorizationTrustor(trustorOrgId) {
266
+ deleteOrgauthorizationTrustor(trustorOrgId, opts) {
267
+ opts = opts || {};
268
+
230
269
  // verify the required parameter 'trustorOrgId' is set
231
270
  if (trustorOrgId === undefined || trustorOrgId === null || trustorOrgId === '') {
232
271
  throw 'Missing the required parameter "trustorOrgId" when calling deleteOrgauthorizationTrustor';
@@ -242,7 +281,8 @@ class OrganizationAuthorizationApi {
242
281
  null,
243
282
  ['PureCloud OAuth'],
244
283
  ['application/json'],
245
- ['application/json']
284
+ ['application/json'],
285
+ opts['customHeaders']
246
286
  );
247
287
  }
248
288
 
@@ -251,8 +291,12 @@ class OrganizationAuthorizationApi {
251
291
  *
252
292
  * @param {String} trustorOrgId Trustor Organization Id
253
293
  * @param {String} trusteeUserId Trustee User Id
294
+ * @param {Object} opts Optional parameters
295
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
254
296
  */
255
- deleteOrgauthorizationTrustorCloneduser(trustorOrgId, trusteeUserId) {
297
+ deleteOrgauthorizationTrustorCloneduser(trustorOrgId, trusteeUserId, opts) {
298
+ opts = opts || {};
299
+
256
300
  // verify the required parameter 'trustorOrgId' is set
257
301
  if (trustorOrgId === undefined || trustorOrgId === null || trustorOrgId === '') {
258
302
  throw 'Missing the required parameter "trustorOrgId" when calling deleteOrgauthorizationTrustorCloneduser';
@@ -272,7 +316,8 @@ class OrganizationAuthorizationApi {
272
316
  null,
273
317
  ['PureCloud OAuth'],
274
318
  ['application/json'],
275
- ['application/json']
319
+ ['application/json'],
320
+ opts['customHeaders']
276
321
  );
277
322
  }
278
323
 
@@ -281,8 +326,12 @@ class OrganizationAuthorizationApi {
281
326
  *
282
327
  * @param {String} trustorOrgId Trustor Organization Id
283
328
  * @param {String} trustorGroupId Trustor Group Id
329
+ * @param {Object} opts Optional parameters
330
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
284
331
  */
285
- deleteOrgauthorizationTrustorGroup(trustorOrgId, trustorGroupId) {
332
+ deleteOrgauthorizationTrustorGroup(trustorOrgId, trustorGroupId, opts) {
333
+ opts = opts || {};
334
+
286
335
  // verify the required parameter 'trustorOrgId' is set
287
336
  if (trustorOrgId === undefined || trustorOrgId === null || trustorOrgId === '') {
288
337
  throw 'Missing the required parameter "trustorOrgId" when calling deleteOrgauthorizationTrustorGroup';
@@ -302,7 +351,8 @@ class OrganizationAuthorizationApi {
302
351
  null,
303
352
  ['PureCloud OAuth'],
304
353
  ['application/json'],
305
- ['application/json']
354
+ ['application/json'],
355
+ opts['customHeaders']
306
356
  );
307
357
  }
308
358
 
@@ -311,8 +361,12 @@ class OrganizationAuthorizationApi {
311
361
  *
312
362
  * @param {String} trustorOrgId Trustor Organization Id
313
363
  * @param {String} trusteeUserId Trustee User Id
364
+ * @param {Object} opts Optional parameters
365
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
314
366
  */
315
- deleteOrgauthorizationTrustorUser(trustorOrgId, trusteeUserId) {
367
+ deleteOrgauthorizationTrustorUser(trustorOrgId, trusteeUserId, opts) {
368
+ opts = opts || {};
369
+
316
370
  // verify the required parameter 'trustorOrgId' is set
317
371
  if (trustorOrgId === undefined || trustorOrgId === null || trustorOrgId === '') {
318
372
  throw 'Missing the required parameter "trustorOrgId" when calling deleteOrgauthorizationTrustorUser';
@@ -332,7 +386,8 @@ class OrganizationAuthorizationApi {
332
386
  null,
333
387
  ['PureCloud OAuth'],
334
388
  ['application/json'],
335
- ['application/json']
389
+ ['application/json'],
390
+ opts['customHeaders']
336
391
  );
337
392
  }
338
393
 
@@ -340,9 +395,13 @@ class OrganizationAuthorizationApi {
340
395
  * Delete Bulk Org Trustors
341
396
  *
342
397
  * @param {Array.<String>} id Comma separated list of trustor ids to remove
398
+ * @param {Object} opts Optional parameters
399
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
343
400
  * deleteOrgauthorizationTrustors is a preview method and is subject to both breaking and non-breaking changes at any time without notice
344
401
  */
345
- deleteOrgauthorizationTrustors(id) {
402
+ deleteOrgauthorizationTrustors(id, opts) {
403
+ opts = opts || {};
404
+
346
405
  // verify the required parameter 'id' is set
347
406
  if (id === undefined || id === null) {
348
407
  throw 'Missing the required parameter "id" when calling deleteOrgauthorizationTrustors';
@@ -358,7 +417,8 @@ class OrganizationAuthorizationApi {
358
417
  null,
359
418
  ['PureCloud OAuth'],
360
419
  ['application/json'],
361
- ['application/json']
420
+ ['application/json'],
421
+ opts['customHeaders']
362
422
  );
363
423
  }
364
424
 
@@ -366,8 +426,12 @@ class OrganizationAuthorizationApi {
366
426
  * Get Pairing Info
367
427
  *
368
428
  * @param {String} pairingId Pairing Id
429
+ * @param {Object} opts Optional parameters
430
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
369
431
  */
370
- getOrgauthorizationPairing(pairingId) {
432
+ getOrgauthorizationPairing(pairingId, opts) {
433
+ opts = opts || {};
434
+
371
435
  // verify the required parameter 'pairingId' is set
372
436
  if (pairingId === undefined || pairingId === null || pairingId === '') {
373
437
  throw 'Missing the required parameter "pairingId" when calling getOrgauthorizationPairing';
@@ -383,7 +447,8 @@ class OrganizationAuthorizationApi {
383
447
  null,
384
448
  ['PureCloud OAuth'],
385
449
  ['application/json'],
386
- ['application/json']
450
+ ['application/json'],
451
+ opts['customHeaders']
387
452
  );
388
453
  }
389
454
 
@@ -391,8 +456,12 @@ class OrganizationAuthorizationApi {
391
456
  * Get Org Trust
392
457
  *
393
458
  * @param {String} trusteeOrgId Trustee Organization Id
459
+ * @param {Object} opts Optional parameters
460
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
394
461
  */
395
- getOrgauthorizationTrustee(trusteeOrgId) {
462
+ getOrgauthorizationTrustee(trusteeOrgId, opts) {
463
+ opts = opts || {};
464
+
396
465
  // verify the required parameter 'trusteeOrgId' is set
397
466
  if (trusteeOrgId === undefined || trusteeOrgId === null || trusteeOrgId === '') {
398
467
  throw 'Missing the required parameter "trusteeOrgId" when calling getOrgauthorizationTrustee';
@@ -408,7 +477,8 @@ class OrganizationAuthorizationApi {
408
477
  null,
409
478
  ['PureCloud OAuth'],
410
479
  ['application/json'],
411
- ['application/json']
480
+ ['application/json'],
481
+ opts['customHeaders']
412
482
  );
413
483
  }
414
484
 
@@ -416,8 +486,12 @@ class OrganizationAuthorizationApi {
416
486
  * The list of cloned users from the trustee organization (i.e. users with a native user record).
417
487
  * There can be no more than 5 cloned users per organization, so results are represented as simple list and not paged
418
488
  * @param {String} trusteeOrgId Trustee Organization Id
489
+ * @param {Object} opts Optional parameters
490
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
419
491
  */
420
- getOrgauthorizationTrusteeClonedusers(trusteeOrgId) {
492
+ getOrgauthorizationTrusteeClonedusers(trusteeOrgId, opts) {
493
+ opts = opts || {};
494
+
421
495
  // verify the required parameter 'trusteeOrgId' is set
422
496
  if (trusteeOrgId === undefined || trusteeOrgId === null || trusteeOrgId === '') {
423
497
  throw 'Missing the required parameter "trusteeOrgId" when calling getOrgauthorizationTrusteeClonedusers';
@@ -433,7 +507,8 @@ class OrganizationAuthorizationApi {
433
507
  null,
434
508
  ['PureCloud OAuth'],
435
509
  ['application/json'],
436
- ['application/json']
510
+ ['application/json'],
511
+ opts['customHeaders']
437
512
  );
438
513
  }
439
514
 
@@ -442,8 +517,12 @@ class OrganizationAuthorizationApi {
442
517
  *
443
518
  * @param {String} trusteeOrgId Trustee Organization Id
444
519
  * @param {String} trusteeGroupId Trustee Group Id
520
+ * @param {Object} opts Optional parameters
521
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
445
522
  */
446
- getOrgauthorizationTrusteeGroup(trusteeOrgId, trusteeGroupId) {
523
+ getOrgauthorizationTrusteeGroup(trusteeOrgId, trusteeGroupId, opts) {
524
+ opts = opts || {};
525
+
447
526
  // verify the required parameter 'trusteeOrgId' is set
448
527
  if (trusteeOrgId === undefined || trusteeOrgId === null || trusteeOrgId === '') {
449
528
  throw 'Missing the required parameter "trusteeOrgId" when calling getOrgauthorizationTrusteeGroup';
@@ -463,7 +542,8 @@ class OrganizationAuthorizationApi {
463
542
  null,
464
543
  ['PureCloud OAuth'],
465
544
  ['application/json'],
466
- ['application/json']
545
+ ['application/json'],
546
+ opts['customHeaders']
467
547
  );
468
548
  }
469
549
 
@@ -472,8 +552,12 @@ class OrganizationAuthorizationApi {
472
552
  *
473
553
  * @param {String} trusteeOrgId Trustee Organization Id
474
554
  * @param {String} trusteeGroupId Trustee Group Id
555
+ * @param {Object} opts Optional parameters
556
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
475
557
  */
476
- getOrgauthorizationTrusteeGroupRoles(trusteeOrgId, trusteeGroupId) {
558
+ getOrgauthorizationTrusteeGroupRoles(trusteeOrgId, trusteeGroupId, opts) {
559
+ opts = opts || {};
560
+
477
561
  // verify the required parameter 'trusteeOrgId' is set
478
562
  if (trusteeOrgId === undefined || trusteeOrgId === null || trusteeOrgId === '') {
479
563
  throw 'Missing the required parameter "trusteeOrgId" when calling getOrgauthorizationTrusteeGroupRoles';
@@ -493,7 +577,8 @@ class OrganizationAuthorizationApi {
493
577
  null,
494
578
  ['PureCloud OAuth'],
495
579
  ['application/json'],
496
- ['application/json']
580
+ ['application/json'],
581
+ opts['customHeaders']
497
582
  );
498
583
  }
499
584
 
@@ -504,6 +589,7 @@ class OrganizationAuthorizationApi {
504
589
  * @param {Object} opts Optional parameters
505
590
  * @param {Number} opts.pageSize Page size (default to 25)
506
591
  * @param {Number} opts.pageNumber Page number (default to 1)
592
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
507
593
  */
508
594
  getOrgauthorizationTrusteeGroups(trusteeOrgId, opts) {
509
595
  opts = opts || {};
@@ -523,7 +609,8 @@ class OrganizationAuthorizationApi {
523
609
  null,
524
610
  ['PureCloud OAuth'],
525
611
  ['application/json'],
526
- ['application/json']
612
+ ['application/json'],
613
+ opts['customHeaders']
527
614
  );
528
615
  }
529
616
 
@@ -532,8 +619,12 @@ class OrganizationAuthorizationApi {
532
619
  *
533
620
  * @param {String} trusteeOrgId Trustee Organization Id
534
621
  * @param {String} trusteeUserId Trustee User Id
622
+ * @param {Object} opts Optional parameters
623
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
535
624
  */
536
- getOrgauthorizationTrusteeUser(trusteeOrgId, trusteeUserId) {
625
+ getOrgauthorizationTrusteeUser(trusteeOrgId, trusteeUserId, opts) {
626
+ opts = opts || {};
627
+
537
628
  // verify the required parameter 'trusteeOrgId' is set
538
629
  if (trusteeOrgId === undefined || trusteeOrgId === null || trusteeOrgId === '') {
539
630
  throw 'Missing the required parameter "trusteeOrgId" when calling getOrgauthorizationTrusteeUser';
@@ -553,7 +644,8 @@ class OrganizationAuthorizationApi {
553
644
  null,
554
645
  ['PureCloud OAuth'],
555
646
  ['application/json'],
556
- ['application/json']
647
+ ['application/json'],
648
+ opts['customHeaders']
557
649
  );
558
650
  }
559
651
 
@@ -562,8 +654,12 @@ class OrganizationAuthorizationApi {
562
654
  *
563
655
  * @param {String} trusteeOrgId Trustee Organization Id
564
656
  * @param {String} trusteeUserId Trustee User Id
657
+ * @param {Object} opts Optional parameters
658
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
565
659
  */
566
- getOrgauthorizationTrusteeUserRoles(trusteeOrgId, trusteeUserId) {
660
+ getOrgauthorizationTrusteeUserRoles(trusteeOrgId, trusteeUserId, opts) {
661
+ opts = opts || {};
662
+
567
663
  // verify the required parameter 'trusteeOrgId' is set
568
664
  if (trusteeOrgId === undefined || trusteeOrgId === null || trusteeOrgId === '') {
569
665
  throw 'Missing the required parameter "trusteeOrgId" when calling getOrgauthorizationTrusteeUserRoles';
@@ -583,7 +679,8 @@ class OrganizationAuthorizationApi {
583
679
  null,
584
680
  ['PureCloud OAuth'],
585
681
  ['application/json'],
586
- ['application/json']
682
+ ['application/json'],
683
+ opts['customHeaders']
587
684
  );
588
685
  }
589
686
 
@@ -594,6 +691,7 @@ class OrganizationAuthorizationApi {
594
691
  * @param {Object} opts Optional parameters
595
692
  * @param {Number} opts.pageSize Page size (default to 25)
596
693
  * @param {Number} opts.pageNumber Page number (default to 1)
694
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
597
695
  */
598
696
  getOrgauthorizationTrusteeUsers(trusteeOrgId, opts) {
599
697
  opts = opts || {};
@@ -613,7 +711,8 @@ class OrganizationAuthorizationApi {
613
711
  null,
614
712
  ['PureCloud OAuth'],
615
713
  ['application/json'],
616
- ['application/json']
714
+ ['application/json'],
715
+ opts['customHeaders']
617
716
  );
618
717
  }
619
718
 
@@ -623,6 +722,7 @@ class OrganizationAuthorizationApi {
623
722
  * @param {Object} opts Optional parameters
624
723
  * @param {Number} opts.pageSize Page size (default to 25)
625
724
  * @param {Number} opts.pageNumber Page number (default to 1)
725
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
626
726
  */
627
727
  getOrgauthorizationTrustees(opts) {
628
728
  opts = opts || {};
@@ -638,15 +738,20 @@ class OrganizationAuthorizationApi {
638
738
  null,
639
739
  ['PureCloud OAuth'],
640
740
  ['application/json'],
641
- ['application/json']
741
+ ['application/json'],
742
+ opts['customHeaders']
642
743
  );
643
744
  }
644
745
 
645
746
  /**
646
747
  * Get Customer Care organization ids.
647
748
  *
749
+ * @param {Object} opts Optional parameters
750
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
648
751
  */
649
- getOrgauthorizationTrusteesCare() {
752
+ getOrgauthorizationTrusteesCare(opts) {
753
+ opts = opts || {};
754
+
650
755
 
651
756
  return this.apiClient.callApi(
652
757
  '/api/v2/orgauthorization/trustees/care',
@@ -658,15 +763,20 @@ class OrganizationAuthorizationApi {
658
763
  null,
659
764
  ['PureCloud OAuth'],
660
765
  ['application/json'],
661
- ['application/json']
766
+ ['application/json'],
767
+ opts['customHeaders']
662
768
  );
663
769
  }
664
770
 
665
771
  /**
666
772
  * Get organization authorization trust with Customer Care, if one exists.
667
773
  *
774
+ * @param {Object} opts Optional parameters
775
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
668
776
  */
669
- getOrgauthorizationTrusteesDefault() {
777
+ getOrgauthorizationTrusteesDefault(opts) {
778
+ opts = opts || {};
779
+
670
780
 
671
781
  return this.apiClient.callApi(
672
782
  '/api/v2/orgauthorization/trustees/default',
@@ -678,7 +788,8 @@ class OrganizationAuthorizationApi {
678
788
  null,
679
789
  ['PureCloud OAuth'],
680
790
  ['application/json'],
681
- ['application/json']
791
+ ['application/json'],
792
+ opts['customHeaders']
682
793
  );
683
794
  }
684
795
 
@@ -686,8 +797,12 @@ class OrganizationAuthorizationApi {
686
797
  * Get Org Trust
687
798
  *
688
799
  * @param {String} trustorOrgId Trustor Organization Id
800
+ * @param {Object} opts Optional parameters
801
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
689
802
  */
690
- getOrgauthorizationTrustor(trustorOrgId) {
803
+ getOrgauthorizationTrustor(trustorOrgId, opts) {
804
+ opts = opts || {};
805
+
691
806
  // verify the required parameter 'trustorOrgId' is set
692
807
  if (trustorOrgId === undefined || trustorOrgId === null || trustorOrgId === '') {
693
808
  throw 'Missing the required parameter "trustorOrgId" when calling getOrgauthorizationTrustor';
@@ -703,7 +818,8 @@ class OrganizationAuthorizationApi {
703
818
  null,
704
819
  ['PureCloud OAuth'],
705
820
  ['application/json'],
706
- ['application/json']
821
+ ['application/json'],
822
+ opts['customHeaders']
707
823
  );
708
824
  }
709
825
 
@@ -712,8 +828,12 @@ class OrganizationAuthorizationApi {
712
828
  *
713
829
  * @param {String} trustorOrgId Trustor Organization Id
714
830
  * @param {String} trusteeUserId Trustee User Id
831
+ * @param {Object} opts Optional parameters
832
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
715
833
  */
716
- getOrgauthorizationTrustorCloneduser(trustorOrgId, trusteeUserId) {
834
+ getOrgauthorizationTrustorCloneduser(trustorOrgId, trusteeUserId, opts) {
835
+ opts = opts || {};
836
+
717
837
  // verify the required parameter 'trustorOrgId' is set
718
838
  if (trustorOrgId === undefined || trustorOrgId === null || trustorOrgId === '') {
719
839
  throw 'Missing the required parameter "trustorOrgId" when calling getOrgauthorizationTrustorCloneduser';
@@ -733,7 +853,8 @@ class OrganizationAuthorizationApi {
733
853
  null,
734
854
  ['PureCloud OAuth'],
735
855
  ['application/json'],
736
- ['application/json']
856
+ ['application/json'],
857
+ opts['customHeaders']
737
858
  );
738
859
  }
739
860
 
@@ -741,8 +862,12 @@ class OrganizationAuthorizationApi {
741
862
  * The list of cloned users in the trustor organization (i.e. users with a native user record).
742
863
  *
743
864
  * @param {String} trustorOrgId Trustor Organization Id
865
+ * @param {Object} opts Optional parameters
866
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
744
867
  */
745
- getOrgauthorizationTrustorClonedusers(trustorOrgId) {
868
+ getOrgauthorizationTrustorClonedusers(trustorOrgId, opts) {
869
+ opts = opts || {};
870
+
746
871
  // verify the required parameter 'trustorOrgId' is set
747
872
  if (trustorOrgId === undefined || trustorOrgId === null || trustorOrgId === '') {
748
873
  throw 'Missing the required parameter "trustorOrgId" when calling getOrgauthorizationTrustorClonedusers';
@@ -758,7 +883,8 @@ class OrganizationAuthorizationApi {
758
883
  null,
759
884
  ['PureCloud OAuth'],
760
885
  ['application/json'],
761
- ['application/json']
886
+ ['application/json'],
887
+ opts['customHeaders']
762
888
  );
763
889
  }
764
890
 
@@ -767,8 +893,12 @@ class OrganizationAuthorizationApi {
767
893
  *
768
894
  * @param {String} trustorOrgId Trustor Organization Id
769
895
  * @param {String} trustorGroupId Trustor Group Id
896
+ * @param {Object} opts Optional parameters
897
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
770
898
  */
771
- getOrgauthorizationTrustorGroup(trustorOrgId, trustorGroupId) {
899
+ getOrgauthorizationTrustorGroup(trustorOrgId, trustorGroupId, opts) {
900
+ opts = opts || {};
901
+
772
902
  // verify the required parameter 'trustorOrgId' is set
773
903
  if (trustorOrgId === undefined || trustorOrgId === null || trustorOrgId === '') {
774
904
  throw 'Missing the required parameter "trustorOrgId" when calling getOrgauthorizationTrustorGroup';
@@ -788,7 +918,8 @@ class OrganizationAuthorizationApi {
788
918
  null,
789
919
  ['PureCloud OAuth'],
790
920
  ['application/json'],
791
- ['application/json']
921
+ ['application/json'],
922
+ opts['customHeaders']
792
923
  );
793
924
  }
794
925
 
@@ -799,6 +930,7 @@ class OrganizationAuthorizationApi {
799
930
  * @param {Object} opts Optional parameters
800
931
  * @param {Number} opts.pageSize Page size (default to 25)
801
932
  * @param {Number} opts.pageNumber Page number (default to 1)
933
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
802
934
  */
803
935
  getOrgauthorizationTrustorGroups(trustorOrgId, opts) {
804
936
  opts = opts || {};
@@ -818,7 +950,8 @@ class OrganizationAuthorizationApi {
818
950
  null,
819
951
  ['PureCloud OAuth'],
820
952
  ['application/json'],
821
- ['application/json']
953
+ ['application/json'],
954
+ opts['customHeaders']
822
955
  );
823
956
  }
824
957
 
@@ -827,8 +960,12 @@ class OrganizationAuthorizationApi {
827
960
  *
828
961
  * @param {String} trustorOrgId Trustor Organization Id
829
962
  * @param {String} trusteeUserId Trustee User Id
963
+ * @param {Object} opts Optional parameters
964
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
830
965
  */
831
- getOrgauthorizationTrustorUser(trustorOrgId, trusteeUserId) {
966
+ getOrgauthorizationTrustorUser(trustorOrgId, trusteeUserId, opts) {
967
+ opts = opts || {};
968
+
832
969
  // verify the required parameter 'trustorOrgId' is set
833
970
  if (trustorOrgId === undefined || trustorOrgId === null || trustorOrgId === '') {
834
971
  throw 'Missing the required parameter "trustorOrgId" when calling getOrgauthorizationTrustorUser';
@@ -848,7 +985,8 @@ class OrganizationAuthorizationApi {
848
985
  null,
849
986
  ['PureCloud OAuth'],
850
987
  ['application/json'],
851
- ['application/json']
988
+ ['application/json'],
989
+ opts['customHeaders']
852
990
  );
853
991
  }
854
992
 
@@ -859,6 +997,7 @@ class OrganizationAuthorizationApi {
859
997
  * @param {Object} opts Optional parameters
860
998
  * @param {Number} opts.pageSize Page size (default to 25)
861
999
  * @param {Number} opts.pageNumber Page number (default to 1)
1000
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
862
1001
  */
863
1002
  getOrgauthorizationTrustorUsers(trustorOrgId, opts) {
864
1003
  opts = opts || {};
@@ -878,7 +1017,8 @@ class OrganizationAuthorizationApi {
878
1017
  null,
879
1018
  ['PureCloud OAuth'],
880
1019
  ['application/json'],
881
- ['application/json']
1020
+ ['application/json'],
1021
+ opts['customHeaders']
882
1022
  );
883
1023
  }
884
1024
 
@@ -888,6 +1028,7 @@ class OrganizationAuthorizationApi {
888
1028
  * @param {Object} opts Optional parameters
889
1029
  * @param {Number} opts.pageSize Page size (default to 25)
890
1030
  * @param {Number} opts.pageNumber Page number (default to 1)
1031
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
891
1032
  */
892
1033
  getOrgauthorizationTrustors(opts) {
893
1034
  opts = opts || {};
@@ -903,7 +1044,8 @@ class OrganizationAuthorizationApi {
903
1044
  null,
904
1045
  ['PureCloud OAuth'],
905
1046
  ['application/json'],
906
- ['application/json']
1047
+ ['application/json'],
1048
+ opts['customHeaders']
907
1049
  );
908
1050
  }
909
1051
 
@@ -911,8 +1053,12 @@ class OrganizationAuthorizationApi {
911
1053
  * A pairing id is created by the trustee and given to the trustor to create a trust.
912
1054
  *
913
1055
  * @param {Object} body Pairing Info
1056
+ * @param {Object} opts Optional parameters
1057
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
914
1058
  */
915
- postOrgauthorizationPairings(body) {
1059
+ postOrgauthorizationPairings(body, opts) {
1060
+ opts = opts || {};
1061
+
916
1062
  // verify the required parameter 'body' is set
917
1063
  if (body === undefined || body === null) {
918
1064
  throw 'Missing the required parameter "body" when calling postOrgauthorizationPairings';
@@ -928,7 +1074,8 @@ class OrganizationAuthorizationApi {
928
1074
  body,
929
1075
  ['PureCloud OAuth'],
930
1076
  ['application/json'],
931
- ['application/json']
1077
+ ['application/json'],
1078
+ opts['customHeaders']
932
1079
  );
933
1080
  }
934
1081
 
@@ -937,8 +1084,12 @@ class OrganizationAuthorizationApi {
937
1084
  *
938
1085
  * @param {String} trusteeOrgId Trustee Organization Id
939
1086
  * @param {Object} body Trust
1087
+ * @param {Object} opts Optional parameters
1088
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
940
1089
  */
941
- postOrgauthorizationTrusteeGroups(trusteeOrgId, body) {
1090
+ postOrgauthorizationTrusteeGroups(trusteeOrgId, body, opts) {
1091
+ opts = opts || {};
1092
+
942
1093
  // verify the required parameter 'trusteeOrgId' is set
943
1094
  if (trusteeOrgId === undefined || trusteeOrgId === null || trusteeOrgId === '') {
944
1095
  throw 'Missing the required parameter "trusteeOrgId" when calling postOrgauthorizationTrusteeGroups';
@@ -958,7 +1109,8 @@ class OrganizationAuthorizationApi {
958
1109
  body,
959
1110
  ['PureCloud OAuth'],
960
1111
  ['application/json'],
961
- ['application/json']
1112
+ ['application/json'],
1113
+ opts['customHeaders']
962
1114
  );
963
1115
  }
964
1116
 
@@ -967,8 +1119,12 @@ class OrganizationAuthorizationApi {
967
1119
  *
968
1120
  * @param {String} trusteeOrgId Trustee Organization Id
969
1121
  * @param {Object} body Trust
1122
+ * @param {Object} opts Optional parameters
1123
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
970
1124
  */
971
- postOrgauthorizationTrusteeUsers(trusteeOrgId, body) {
1125
+ postOrgauthorizationTrusteeUsers(trusteeOrgId, body, opts) {
1126
+ opts = opts || {};
1127
+
972
1128
  // verify the required parameter 'trusteeOrgId' is set
973
1129
  if (trusteeOrgId === undefined || trusteeOrgId === null || trusteeOrgId === '') {
974
1130
  throw 'Missing the required parameter "trusteeOrgId" when calling postOrgauthorizationTrusteeUsers';
@@ -988,7 +1144,8 @@ class OrganizationAuthorizationApi {
988
1144
  body,
989
1145
  ['PureCloud OAuth'],
990
1146
  ['application/json'],
991
- ['application/json']
1147
+ ['application/json'],
1148
+ opts['customHeaders']
992
1149
  );
993
1150
  }
994
1151
 
@@ -996,8 +1153,12 @@ class OrganizationAuthorizationApi {
996
1153
  * Create a new organization authorization trust. This is required to grant other organizations access to your organization.
997
1154
  *
998
1155
  * @param {Object} body Trust
1156
+ * @param {Object} opts Optional parameters
1157
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
999
1158
  */
1000
- postOrgauthorizationTrustees(body) {
1159
+ postOrgauthorizationTrustees(body, opts) {
1160
+ opts = opts || {};
1161
+
1001
1162
  // verify the required parameter 'body' is set
1002
1163
  if (body === undefined || body === null) {
1003
1164
  throw 'Missing the required parameter "body" when calling postOrgauthorizationTrustees';
@@ -1013,7 +1174,8 @@ class OrganizationAuthorizationApi {
1013
1174
  body,
1014
1175
  ['PureCloud OAuth'],
1015
1176
  ['application/json'],
1016
- ['application/json']
1177
+ ['application/json'],
1178
+ opts['customHeaders']
1017
1179
  );
1018
1180
  }
1019
1181
 
@@ -1026,6 +1188,7 @@ class OrganizationAuthorizationApi {
1026
1188
  * @param {Number} opts.pageNumber Page number (default to 1)
1027
1189
  * @param {String} opts.sortBy Sort by (default to timestamp)
1028
1190
  * @param {String} opts.sortOrder Sort order (default to descending)
1191
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1029
1192
  */
1030
1193
  postOrgauthorizationTrusteesAudits(body, opts) {
1031
1194
  opts = opts || {};
@@ -1045,7 +1208,8 @@ class OrganizationAuthorizationApi {
1045
1208
  body,
1046
1209
  ['PureCloud OAuth'],
1047
1210
  ['application/json'],
1048
- ['application/json']
1211
+ ['application/json'],
1212
+ opts['customHeaders']
1049
1213
  );
1050
1214
  }
1051
1215
 
@@ -1057,6 +1221,7 @@ class OrganizationAuthorizationApi {
1057
1221
  * @param {Boolean} opts.autoExpire Automatically expire pairing after 30 days
1058
1222
  * @param {Boolean} opts.assignFullAccess Grant Customer Care full access to the organization
1059
1223
  * @param {Boolean} opts.allowTrustedUserAccess Make Customer Care a Trusted User
1224
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1060
1225
  */
1061
1226
  postOrgauthorizationTrusteesCare(opts) {
1062
1227
  opts = opts || {};
@@ -1072,7 +1237,8 @@ class OrganizationAuthorizationApi {
1072
1237
  null,
1073
1238
  ['PureCloud OAuth'],
1074
1239
  ['application/json'],
1075
- ['application/json']
1240
+ ['application/json'],
1241
+ opts['customHeaders']
1076
1242
  );
1077
1243
  }
1078
1244
 
@@ -1082,6 +1248,7 @@ class OrganizationAuthorizationApi {
1082
1248
  * @param {Object} opts Optional parameters
1083
1249
  * @param {Boolean} opts.assignDefaultRole Assign Admin role to default pairing with Customer Care
1084
1250
  * @param {Boolean} opts.autoExpire Automatically expire pairing after 30 days
1251
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1085
1252
  */
1086
1253
  postOrgauthorizationTrusteesDefault(opts) {
1087
1254
  opts = opts || {};
@@ -1097,7 +1264,8 @@ class OrganizationAuthorizationApi {
1097
1264
  null,
1098
1265
  ['PureCloud OAuth'],
1099
1266
  ['application/json'],
1100
- ['application/json']
1267
+ ['application/json'],
1268
+ opts['customHeaders']
1101
1269
  );
1102
1270
  }
1103
1271
 
@@ -1110,6 +1278,7 @@ class OrganizationAuthorizationApi {
1110
1278
  * @param {Number} opts.pageNumber Page number (default to 1)
1111
1279
  * @param {String} opts.sortBy Sort by (default to timestamp)
1112
1280
  * @param {String} opts.sortOrder Sort order (default to descending)
1281
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1113
1282
  */
1114
1283
  postOrgauthorizationTrustorAudits(body, opts) {
1115
1284
  opts = opts || {};
@@ -1129,7 +1298,8 @@ class OrganizationAuthorizationApi {
1129
1298
  body,
1130
1299
  ['PureCloud OAuth'],
1131
1300
  ['application/json'],
1132
- ['application/json']
1301
+ ['application/json'],
1302
+ opts['customHeaders']
1133
1303
  );
1134
1304
  }
1135
1305
 
@@ -1138,8 +1308,12 @@ class OrganizationAuthorizationApi {
1138
1308
  *
1139
1309
  * @param {String} trusteeOrgId Trustee Organization Id
1140
1310
  * @param {Object} body Client
1311
+ * @param {Object} opts Optional parameters
1312
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1141
1313
  */
1142
- putOrgauthorizationTrustee(trusteeOrgId, body) {
1314
+ putOrgauthorizationTrustee(trusteeOrgId, body, opts) {
1315
+ opts = opts || {};
1316
+
1143
1317
  // verify the required parameter 'trusteeOrgId' is set
1144
1318
  if (trusteeOrgId === undefined || trusteeOrgId === null || trusteeOrgId === '') {
1145
1319
  throw 'Missing the required parameter "trusteeOrgId" when calling putOrgauthorizationTrustee';
@@ -1159,7 +1333,8 @@ class OrganizationAuthorizationApi {
1159
1333
  body,
1160
1334
  ['PureCloud OAuth'],
1161
1335
  ['application/json'],
1162
- ['application/json']
1336
+ ['application/json'],
1337
+ opts['customHeaders']
1163
1338
  );
1164
1339
  }
1165
1340
 
@@ -1169,8 +1344,12 @@ class OrganizationAuthorizationApi {
1169
1344
  * @param {String} trusteeOrgId Trustee Organization Id
1170
1345
  * @param {String} trusteeGroupId Trustee Group Id
1171
1346
  * @param {Object} body Set of roles with corresponding divisions to apply
1347
+ * @param {Object} opts Optional parameters
1348
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1172
1349
  */
1173
- putOrgauthorizationTrusteeGroupRoledivisions(trusteeOrgId, trusteeGroupId, body) {
1350
+ putOrgauthorizationTrusteeGroupRoledivisions(trusteeOrgId, trusteeGroupId, body, opts) {
1351
+ opts = opts || {};
1352
+
1174
1353
  // verify the required parameter 'trusteeOrgId' is set
1175
1354
  if (trusteeOrgId === undefined || trusteeOrgId === null || trusteeOrgId === '') {
1176
1355
  throw 'Missing the required parameter "trusteeOrgId" when calling putOrgauthorizationTrusteeGroupRoledivisions';
@@ -1194,7 +1373,8 @@ class OrganizationAuthorizationApi {
1194
1373
  body,
1195
1374
  ['PureCloud OAuth'],
1196
1375
  ['application/json'],
1197
- ['application/json']
1376
+ ['application/json'],
1377
+ opts['customHeaders']
1198
1378
  );
1199
1379
  }
1200
1380
 
@@ -1204,8 +1384,12 @@ class OrganizationAuthorizationApi {
1204
1384
  * @param {String} trusteeOrgId Trustee Organization Id
1205
1385
  * @param {String} trusteeGroupId Trustee Group Id
1206
1386
  * @param {Array.<String>} body List of roles
1387
+ * @param {Object} opts Optional parameters
1388
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1207
1389
  */
1208
- putOrgauthorizationTrusteeGroupRoles(trusteeOrgId, trusteeGroupId, body) {
1390
+ putOrgauthorizationTrusteeGroupRoles(trusteeOrgId, trusteeGroupId, body, opts) {
1391
+ opts = opts || {};
1392
+
1209
1393
  // verify the required parameter 'trusteeOrgId' is set
1210
1394
  if (trusteeOrgId === undefined || trusteeOrgId === null || trusteeOrgId === '') {
1211
1395
  throw 'Missing the required parameter "trusteeOrgId" when calling putOrgauthorizationTrusteeGroupRoles';
@@ -1229,7 +1413,8 @@ class OrganizationAuthorizationApi {
1229
1413
  body,
1230
1414
  ['PureCloud OAuth'],
1231
1415
  ['application/json'],
1232
- ['application/json']
1416
+ ['application/json'],
1417
+ opts['customHeaders']
1233
1418
  );
1234
1419
  }
1235
1420
 
@@ -1239,8 +1424,12 @@ class OrganizationAuthorizationApi {
1239
1424
  * @param {String} trusteeOrgId Trustee Organization Id
1240
1425
  * @param {String} trusteeUserId Trustee User Id
1241
1426
  * @param {Object} body Set of roles with corresponding divisions to apply
1427
+ * @param {Object} opts Optional parameters
1428
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1242
1429
  */
1243
- putOrgauthorizationTrusteeUserRoledivisions(trusteeOrgId, trusteeUserId, body) {
1430
+ putOrgauthorizationTrusteeUserRoledivisions(trusteeOrgId, trusteeUserId, body, opts) {
1431
+ opts = opts || {};
1432
+
1244
1433
  // verify the required parameter 'trusteeOrgId' is set
1245
1434
  if (trusteeOrgId === undefined || trusteeOrgId === null || trusteeOrgId === '') {
1246
1435
  throw 'Missing the required parameter "trusteeOrgId" when calling putOrgauthorizationTrusteeUserRoledivisions';
@@ -1264,7 +1453,8 @@ class OrganizationAuthorizationApi {
1264
1453
  body,
1265
1454
  ['PureCloud OAuth'],
1266
1455
  ['application/json'],
1267
- ['application/json']
1456
+ ['application/json'],
1457
+ opts['customHeaders']
1268
1458
  );
1269
1459
  }
1270
1460
 
@@ -1274,8 +1464,12 @@ class OrganizationAuthorizationApi {
1274
1464
  * @param {String} trusteeOrgId Trustee Organization Id
1275
1465
  * @param {String} trusteeUserId Trustee User Id
1276
1466
  * @param {Array.<String>} body List of roles
1467
+ * @param {Object} opts Optional parameters
1468
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1277
1469
  */
1278
- putOrgauthorizationTrusteeUserRoles(trusteeOrgId, trusteeUserId, body) {
1470
+ putOrgauthorizationTrusteeUserRoles(trusteeOrgId, trusteeUserId, body, opts) {
1471
+ opts = opts || {};
1472
+
1279
1473
  // verify the required parameter 'trusteeOrgId' is set
1280
1474
  if (trusteeOrgId === undefined || trusteeOrgId === null || trusteeOrgId === '') {
1281
1475
  throw 'Missing the required parameter "trusteeOrgId" when calling putOrgauthorizationTrusteeUserRoles';
@@ -1299,7 +1493,8 @@ class OrganizationAuthorizationApi {
1299
1493
  body,
1300
1494
  ['PureCloud OAuth'],
1301
1495
  ['application/json'],
1302
- ['application/json']
1496
+ ['application/json'],
1497
+ opts['customHeaders']
1303
1498
  );
1304
1499
  }
1305
1500
 
@@ -1308,8 +1503,12 @@ class OrganizationAuthorizationApi {
1308
1503
  *
1309
1504
  * @param {String} trustorOrgId Trustor Organization Id
1310
1505
  * @param {String} trusteeUserId Trustee User Id
1506
+ * @param {Object} opts Optional parameters
1507
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1311
1508
  */
1312
- putOrgauthorizationTrustorCloneduser(trustorOrgId, trusteeUserId) {
1509
+ putOrgauthorizationTrustorCloneduser(trustorOrgId, trusteeUserId, opts) {
1510
+ opts = opts || {};
1511
+
1313
1512
  // verify the required parameter 'trustorOrgId' is set
1314
1513
  if (trustorOrgId === undefined || trustorOrgId === null || trustorOrgId === '') {
1315
1514
  throw 'Missing the required parameter "trustorOrgId" when calling putOrgauthorizationTrustorCloneduser';
@@ -1329,7 +1528,8 @@ class OrganizationAuthorizationApi {
1329
1528
  null,
1330
1529
  ['PureCloud OAuth'],
1331
1530
  ['application/json'],
1332
- ['application/json']
1531
+ ['application/json'],
1532
+ opts['customHeaders']
1333
1533
  );
1334
1534
  }
1335
1535
 
@@ -1338,8 +1538,12 @@ class OrganizationAuthorizationApi {
1338
1538
  *
1339
1539
  * @param {String} trustorOrgId Trustor Organization Id
1340
1540
  * @param {String} trustorGroupId Trustor Group Id
1541
+ * @param {Object} opts Optional parameters
1542
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1341
1543
  */
1342
- putOrgauthorizationTrustorGroup(trustorOrgId, trustorGroupId) {
1544
+ putOrgauthorizationTrustorGroup(trustorOrgId, trustorGroupId, opts) {
1545
+ opts = opts || {};
1546
+
1343
1547
  // verify the required parameter 'trustorOrgId' is set
1344
1548
  if (trustorOrgId === undefined || trustorOrgId === null || trustorOrgId === '') {
1345
1549
  throw 'Missing the required parameter "trustorOrgId" when calling putOrgauthorizationTrustorGroup';
@@ -1359,7 +1563,8 @@ class OrganizationAuthorizationApi {
1359
1563
  null,
1360
1564
  ['PureCloud OAuth'],
1361
1565
  ['application/json'],
1362
- ['application/json']
1566
+ ['application/json'],
1567
+ opts['customHeaders']
1363
1568
  );
1364
1569
  }
1365
1570
 
@@ -1368,8 +1573,12 @@ class OrganizationAuthorizationApi {
1368
1573
  *
1369
1574
  * @param {String} trustorOrgId Trustor Organization Id
1370
1575
  * @param {String} trusteeUserId Trustee User Id
1576
+ * @param {Object} opts Optional parameters
1577
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1371
1578
  */
1372
- putOrgauthorizationTrustorUser(trustorOrgId, trusteeUserId) {
1579
+ putOrgauthorizationTrustorUser(trustorOrgId, trusteeUserId, opts) {
1580
+ opts = opts || {};
1581
+
1373
1582
  // verify the required parameter 'trustorOrgId' is set
1374
1583
  if (trustorOrgId === undefined || trustorOrgId === null || trustorOrgId === '') {
1375
1584
  throw 'Missing the required parameter "trustorOrgId" when calling putOrgauthorizationTrustorUser';
@@ -1389,7 +1598,8 @@ class OrganizationAuthorizationApi {
1389
1598
  null,
1390
1599
  ['PureCloud OAuth'],
1391
1600
  ['application/json'],
1392
- ['application/json']
1601
+ ['application/json'],
1602
+ opts['customHeaders']
1393
1603
  );
1394
1604
  }
1395
1605