purecloud-platform-client-v2 135.0.0 → 137.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 (73) hide show
  1. package/README.md +32 -29
  2. package/dist/node/purecloud-platform-client-v2.js +9882 -9496
  3. package/dist/web-amd/purecloud-platform-client-v2.js +9882 -9496
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +9882 -9496
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +9892 -9507
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +5771 -301
  9. package/package.json +1 -1
  10. package/src/purecloud-platform-client-v2/ApiClient.js +14 -5
  11. package/src/purecloud-platform-client-v2/api/AlertingApi.js +56 -56
  12. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +231 -231
  13. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +573 -524
  14. package/src/purecloud-platform-client-v2/api/AuditApi.js +31 -31
  15. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +212 -212
  16. package/src/purecloud-platform-client-v2/api/BillingApi.js +12 -12
  17. package/src/purecloud-platform-client-v2/api/ChatApi.js +16 -16
  18. package/src/purecloud-platform-client-v2/api/CoachingApi.js +96 -96
  19. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +192 -192
  20. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +810 -810
  21. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +17 -17
  22. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +337 -337
  23. package/src/purecloud-platform-client-v2/api/FaxApi.js +31 -31
  24. package/src/purecloud-platform-client-v2/api/FlowsApi.js +11 -11
  25. package/src/purecloud-platform-client-v2/api/GamificationApi.js +270 -270
  26. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +21 -21
  27. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +26 -26
  28. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +88 -88
  29. package/src/purecloud-platform-client-v2/api/GroupsApi.js +72 -72
  30. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +171 -171
  31. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +317 -315
  32. package/src/purecloud-platform-client-v2/api/JourneyApi.js +146 -146
  33. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +131 -131
  34. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +151 -151
  35. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +51 -51
  36. package/src/purecloud-platform-client-v2/api/LearningApi.js +107 -107
  37. package/src/purecloud-platform-client-v2/api/LicenseApi.js +49 -49
  38. package/src/purecloud-platform-client-v2/api/LocationsApi.js +41 -41
  39. package/src/purecloud-platform-client-v2/api/MessagingApi.js +26 -26
  40. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +26 -26
  41. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +43 -43
  42. package/src/purecloud-platform-client-v2/api/OAuthApi.js +67 -67
  43. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +50 -50
  44. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +81 -81
  45. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +162 -162
  46. package/src/purecloud-platform-client-v2/api/OutboundApi.js +768 -568
  47. package/src/purecloud-platform-client-v2/api/PresenceApi.js +64 -64
  48. package/src/purecloud-platform-client-v2/api/QualityApi.js +285 -285
  49. package/src/purecloud-platform-client-v2/api/RecordingApi.js +404 -279
  50. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +86 -86
  51. package/src/purecloud-platform-client-v2/api/RoutingApi.js +541 -537
  52. package/src/purecloud-platform-client-v2/api/SCIMApi.js +195 -195
  53. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +66 -66
  54. package/src/purecloud-platform-client-v2/api/SearchApi.js +96 -96
  55. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +194 -194
  56. package/src/purecloud-platform-client-v2/api/StationsApi.js +28 -28
  57. package/src/purecloud-platform-client-v2/api/SuggestApi.js +21 -21
  58. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +16 -16
  59. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +657 -657
  60. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +23 -23
  61. package/src/purecloud-platform-client-v2/api/TokensApi.js +21 -21
  62. package/src/purecloud-platform-client-v2/api/UploadsApi.js +26 -26
  63. package/src/purecloud-platform-client-v2/api/UsageApi.js +11 -11
  64. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +31 -31
  65. package/src/purecloud-platform-client-v2/api/UsersApi.js +413 -413
  66. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +21 -21
  67. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +140 -140
  68. package/src/purecloud-platform-client-v2/api/WebChatApi.js +97 -97
  69. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +66 -66
  70. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +6 -6
  71. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +26 -26
  72. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +765 -765
  73. package/src/purecloud-platform-client-v2/index.js +145 -149
@@ -5,7 +5,7 @@ class ExternalContactsApi {
5
5
  /**
6
6
  * ExternalContacts service.
7
7
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
8
- * @version 135.0.0
8
+ * @version 137.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -34,13 +34,13 @@ class ExternalContactsApi {
34
34
  return this.apiClient.callApi(
35
35
  '/api/v2/externalcontacts/contacts/{contactId}',
36
36
  'DELETE',
37
- { 'contactId': contactId },
38
- { },
39
- { },
40
- { },
37
+ { 'contactId': contactId },
38
+ { },
39
+ { },
40
+ { },
41
41
  null,
42
42
  ['PureCloud OAuth'],
43
- ['application/json'],
43
+ ['application/json'],
44
44
  ['application/json']
45
45
  );
46
46
  }
@@ -64,13 +64,13 @@ class ExternalContactsApi {
64
64
  return this.apiClient.callApi(
65
65
  '/api/v2/externalcontacts/contacts/{contactId}/notes/{noteId}',
66
66
  'DELETE',
67
- { 'contactId': contactId,'noteId': noteId },
68
- { },
69
- { },
70
- { },
67
+ { 'contactId': contactId,'noteId': noteId },
68
+ { },
69
+ { },
70
+ { },
71
71
  null,
72
72
  ['PureCloud OAuth'],
73
- ['application/json'],
73
+ ['application/json'],
74
74
  ['application/json']
75
75
  );
76
76
  }
@@ -89,13 +89,13 @@ class ExternalContactsApi {
89
89
  return this.apiClient.callApi(
90
90
  '/api/v2/externalcontacts/contacts/schemas/{schemaId}',
91
91
  'DELETE',
92
- { 'schemaId': schemaId },
93
- { },
94
- { },
95
- { },
92
+ { 'schemaId': schemaId },
93
+ { },
94
+ { },
95
+ { },
96
96
  null,
97
97
  ['PureCloud OAuth'],
98
- ['application/json'],
98
+ ['application/json'],
99
99
  ['application/json']
100
100
  );
101
101
  }
@@ -114,13 +114,13 @@ class ExternalContactsApi {
114
114
  return this.apiClient.callApi(
115
115
  '/api/v2/externalcontacts/organizations/{externalOrganizationId}',
116
116
  'DELETE',
117
- { 'externalOrganizationId': externalOrganizationId },
118
- { },
119
- { },
120
- { },
117
+ { 'externalOrganizationId': externalOrganizationId },
118
+ { },
119
+ { },
120
+ { },
121
121
  null,
122
122
  ['PureCloud OAuth'],
123
- ['application/json'],
123
+ ['application/json'],
124
124
  ['application/json']
125
125
  );
126
126
  }
@@ -144,13 +144,13 @@ class ExternalContactsApi {
144
144
  return this.apiClient.callApi(
145
145
  '/api/v2/externalcontacts/organizations/{externalOrganizationId}/notes/{noteId}',
146
146
  'DELETE',
147
- { 'externalOrganizationId': externalOrganizationId,'noteId': noteId },
148
- { },
149
- { },
150
- { },
147
+ { 'externalOrganizationId': externalOrganizationId,'noteId': noteId },
148
+ { },
149
+ { },
150
+ { },
151
151
  null,
152
152
  ['PureCloud OAuth'],
153
- ['application/json'],
153
+ ['application/json'],
154
154
  ['application/json']
155
155
  );
156
156
  }
@@ -169,13 +169,13 @@ class ExternalContactsApi {
169
169
  return this.apiClient.callApi(
170
170
  '/api/v2/externalcontacts/organizations/{externalOrganizationId}/trustor',
171
171
  'DELETE',
172
- { 'externalOrganizationId': externalOrganizationId },
173
- { },
174
- { },
175
- { },
172
+ { 'externalOrganizationId': externalOrganizationId },
173
+ { },
174
+ { },
175
+ { },
176
176
  null,
177
177
  ['PureCloud OAuth'],
178
- ['application/json'],
178
+ ['application/json'],
179
179
  ['application/json']
180
180
  );
181
181
  }
@@ -194,13 +194,13 @@ class ExternalContactsApi {
194
194
  return this.apiClient.callApi(
195
195
  '/api/v2/externalcontacts/relationships/{relationshipId}',
196
196
  'DELETE',
197
- { 'relationshipId': relationshipId },
198
- { },
199
- { },
200
- { },
197
+ { 'relationshipId': relationshipId },
198
+ { },
199
+ { },
200
+ { },
201
201
  null,
202
202
  ['PureCloud OAuth'],
203
- ['application/json'],
203
+ ['application/json'],
204
204
  ['application/json']
205
205
  );
206
206
  }
@@ -223,13 +223,13 @@ class ExternalContactsApi {
223
223
  return this.apiClient.callApi(
224
224
  '/api/v2/externalcontacts/contacts/{contactId}',
225
225
  'GET',
226
- { 'contactId': contactId },
227
- { 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
228
- { },
229
- { },
226
+ { 'contactId': contactId },
227
+ { 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
228
+ { },
229
+ { },
230
230
  null,
231
231
  ['PureCloud OAuth'],
232
- ['application/json'],
232
+ ['application/json'],
233
233
  ['application/json']
234
234
  );
235
235
  }
@@ -257,13 +257,13 @@ class ExternalContactsApi {
257
257
  return this.apiClient.callApi(
258
258
  '/api/v2/externalcontacts/contacts/{contactId}/notes/{noteId}',
259
259
  'GET',
260
- { 'contactId': contactId,'noteId': noteId },
261
- { 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
262
- { },
263
- { },
260
+ { 'contactId': contactId,'noteId': noteId },
261
+ { 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
262
+ { },
263
+ { },
264
264
  null,
265
265
  ['PureCloud OAuth'],
266
- ['application/json'],
266
+ ['application/json'],
267
267
  ['application/json']
268
268
  );
269
269
  }
@@ -273,8 +273,8 @@ class ExternalContactsApi {
273
273
  *
274
274
  * @param {String} contactId ExternalContact Id
275
275
  * @param {Object} opts Optional parameters
276
- * @param {Number} opts.pageSize Page size (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (default to 20)
277
- * @param {Number} opts.pageNumber Page number (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (default to 1)
276
+ * @param {Number} opts.pageSize Page size (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (default to 20)
277
+ * @param {Number} opts.pageNumber Page number (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (default to 1)
278
278
  * @param {String} opts.sortOrder Sort order
279
279
  * @param {Array.<String>} opts.expand which fields, if any, to expand
280
280
  */
@@ -289,13 +289,13 @@ class ExternalContactsApi {
289
289
  return this.apiClient.callApi(
290
290
  '/api/v2/externalcontacts/contacts/{contactId}/notes',
291
291
  'GET',
292
- { 'contactId': contactId },
293
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortOrder': opts['sortOrder'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
294
- { },
295
- { },
292
+ { 'contactId': contactId },
293
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortOrder': opts['sortOrder'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
294
+ { },
295
+ { },
296
296
  null,
297
297
  ['PureCloud OAuth'],
298
- ['application/json'],
298
+ ['application/json'],
299
299
  ['application/json']
300
300
  );
301
301
  }
@@ -304,8 +304,8 @@ class ExternalContactsApi {
304
304
  * Search for external contacts
305
305
  *
306
306
  * @param {Object} opts Optional parameters
307
- * @param {Number} opts.pageSize Page size (limited to fetching first 1,000 records; pageNumber * pageSize must be &lt;= 1,000) (default to 20)
308
- * @param {Number} opts.pageNumber Page number (limited to fetching first 1,000 records; pageNumber * pageSize must be &lt;= 1,000) (default to 1)
307
+ * @param {Number} opts.pageSize Page size (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (default to 20)
308
+ * @param {Number} opts.pageNumber Page number (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (default to 1)
309
309
  * @param {String} opts.q User supplied search keywords (no special syntax is currently supported)
310
310
  * @param {String} opts.sortOrder Sort order
311
311
  * @param {Array.<String>} opts.expand which fields, if any, to expand
@@ -317,13 +317,13 @@ class ExternalContactsApi {
317
317
  return this.apiClient.callApi(
318
318
  '/api/v2/externalcontacts/contacts',
319
319
  'GET',
320
- { },
321
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'q': opts['q'],'sortOrder': opts['sortOrder'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
322
- { },
323
- { },
320
+ { },
321
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'q': opts['q'],'sortOrder': opts['sortOrder'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
322
+ { },
323
+ { },
324
324
  null,
325
325
  ['PureCloud OAuth'],
326
- ['application/json'],
326
+ ['application/json'],
327
327
  ['application/json']
328
328
  );
329
329
  }
@@ -342,13 +342,13 @@ class ExternalContactsApi {
342
342
  return this.apiClient.callApi(
343
343
  '/api/v2/externalcontacts/contacts/schemas/{schemaId}',
344
344
  'GET',
345
- { 'schemaId': schemaId },
346
- { },
347
- { },
348
- { },
345
+ { 'schemaId': schemaId },
346
+ { },
347
+ { },
348
+ { },
349
349
  null,
350
350
  ['PureCloud OAuth'],
351
- ['application/json'],
351
+ ['application/json'],
352
352
  ['application/json']
353
353
  );
354
354
  }
@@ -372,19 +372,19 @@ class ExternalContactsApi {
372
372
  return this.apiClient.callApi(
373
373
  '/api/v2/externalcontacts/contacts/schemas/{schemaId}/versions/{versionId}',
374
374
  'GET',
375
- { 'schemaId': schemaId,'versionId': versionId },
376
- { },
377
- { },
378
- { },
375
+ { 'schemaId': schemaId,'versionId': versionId },
376
+ { },
377
+ { },
378
+ { },
379
379
  null,
380
380
  ['PureCloud OAuth'],
381
- ['application/json'],
381
+ ['application/json'],
382
382
  ['application/json']
383
383
  );
384
384
  }
385
385
 
386
386
  /**
387
- * Get all versions of an external contact&#39;s schema
387
+ * Get all versions of an external contact's schema
388
388
  *
389
389
  * @param {String} schemaId Schema ID
390
390
  */
@@ -397,13 +397,13 @@ class ExternalContactsApi {
397
397
  return this.apiClient.callApi(
398
398
  '/api/v2/externalcontacts/contacts/schemas/{schemaId}/versions',
399
399
  'GET',
400
- { 'schemaId': schemaId },
401
- { },
402
- { },
403
- { },
400
+ { 'schemaId': schemaId },
401
+ { },
402
+ { },
403
+ { },
404
404
  null,
405
405
  ['PureCloud OAuth'],
406
- ['application/json'],
406
+ ['application/json'],
407
407
  ['application/json']
408
408
  );
409
409
  }
@@ -417,13 +417,13 @@ class ExternalContactsApi {
417
417
  return this.apiClient.callApi(
418
418
  '/api/v2/externalcontacts/contacts/schemas',
419
419
  'GET',
420
- { },
421
- { },
422
- { },
423
- { },
420
+ { },
421
+ { },
422
+ { },
423
+ { },
424
424
  null,
425
425
  ['PureCloud OAuth'],
426
- ['application/json'],
426
+ ['application/json'],
427
427
  ['application/json']
428
428
  );
429
429
  }
@@ -447,13 +447,13 @@ class ExternalContactsApi {
447
447
  return this.apiClient.callApi(
448
448
  '/api/v2/externalcontacts/organizations/{externalOrganizationId}',
449
449
  'GET',
450
- { 'externalOrganizationId': externalOrganizationId },
451
- { 'expand': opts['expand'],'includeTrustors': opts['includeTrustors'] },
452
- { },
453
- { },
450
+ { 'externalOrganizationId': externalOrganizationId },
451
+ { 'expand': opts['expand'],'includeTrustors': opts['includeTrustors'] },
452
+ { },
453
+ { },
454
454
  null,
455
455
  ['PureCloud OAuth'],
456
- ['application/json'],
456
+ ['application/json'],
457
457
  ['application/json']
458
458
  );
459
459
  }
@@ -463,8 +463,8 @@ class ExternalContactsApi {
463
463
  *
464
464
  * @param {String} externalOrganizationId External Organization ID
465
465
  * @param {Object} opts Optional parameters
466
- * @param {Number} opts.pageSize Page size (limited to fetching first 1,000 records; pageNumber * pageSize must be &lt;= 1,000) (default to 20)
467
- * @param {Number} opts.pageNumber Page number (limited to fetching first 1,000 records; pageNumber * pageSize must be &lt;= 1,000) (default to 1)
466
+ * @param {Number} opts.pageSize Page size (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (default to 20)
467
+ * @param {Number} opts.pageNumber Page number (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (default to 1)
468
468
  * @param {String} opts.q User supplied search keywords (no special syntax is currently supported)
469
469
  * @param {String} opts.sortOrder Sort order
470
470
  * @param {Array.<String>} opts.expand which fields, if any, to expand
@@ -480,13 +480,13 @@ class ExternalContactsApi {
480
480
  return this.apiClient.callApi(
481
481
  '/api/v2/externalcontacts/organizations/{externalOrganizationId}/contacts',
482
482
  'GET',
483
- { 'externalOrganizationId': externalOrganizationId },
484
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'q': opts['q'],'sortOrder': opts['sortOrder'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
485
- { },
486
- { },
483
+ { 'externalOrganizationId': externalOrganizationId },
484
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'q': opts['q'],'sortOrder': opts['sortOrder'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
485
+ { },
486
+ { },
487
487
  null,
488
488
  ['PureCloud OAuth'],
489
- ['application/json'],
489
+ ['application/json'],
490
490
  ['application/json']
491
491
  );
492
492
  }
@@ -514,13 +514,13 @@ class ExternalContactsApi {
514
514
  return this.apiClient.callApi(
515
515
  '/api/v2/externalcontacts/organizations/{externalOrganizationId}/notes/{noteId}',
516
516
  'GET',
517
- { 'externalOrganizationId': externalOrganizationId,'noteId': noteId },
518
- { 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
519
- { },
520
- { },
517
+ { 'externalOrganizationId': externalOrganizationId,'noteId': noteId },
518
+ { 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
519
+ { },
520
+ { },
521
521
  null,
522
522
  ['PureCloud OAuth'],
523
- ['application/json'],
523
+ ['application/json'],
524
524
  ['application/json']
525
525
  );
526
526
  }
@@ -530,8 +530,8 @@ class ExternalContactsApi {
530
530
  *
531
531
  * @param {String} externalOrganizationId External Organization Id
532
532
  * @param {Object} opts Optional parameters
533
- * @param {Number} opts.pageSize Page size (limited to fetching first 1,000 records; pageNumber * pageSize must be &lt;= 1,000) (default to 20)
534
- * @param {Number} opts.pageNumber Page number (limited to fetching first 1,000 records; pageNumber * pageSize must be &lt;= 1,000) (default to 1)
533
+ * @param {Number} opts.pageSize Page size (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (default to 20)
534
+ * @param {Number} opts.pageNumber Page number (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (default to 1)
535
535
  * @param {String} opts.sortOrder Sort order
536
536
  * @param {Array.<String>} opts.expand which fields, if any, to expand
537
537
  */
@@ -546,13 +546,13 @@ class ExternalContactsApi {
546
546
  return this.apiClient.callApi(
547
547
  '/api/v2/externalcontacts/organizations/{externalOrganizationId}/notes',
548
548
  'GET',
549
- { 'externalOrganizationId': externalOrganizationId },
550
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortOrder': opts['sortOrder'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
551
- { },
552
- { },
549
+ { 'externalOrganizationId': externalOrganizationId },
550
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortOrder': opts['sortOrder'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
551
+ { },
552
+ { },
553
553
  null,
554
554
  ['PureCloud OAuth'],
555
- ['application/json'],
555
+ ['application/json'],
556
556
  ['application/json']
557
557
  );
558
558
  }
@@ -562,8 +562,8 @@ class ExternalContactsApi {
562
562
  *
563
563
  * @param {String} externalOrganizationId External Organization ID
564
564
  * @param {Object} opts Optional parameters
565
- * @param {Number} opts.pageSize Page size (limited to fetching first 1,000 records; pageNumber * pageSize must be &lt;= 1,000) (default to 20)
566
- * @param {Number} opts.pageNumber Page number (limited to fetching first 1,000 records; pageNumber * pageSize must be &lt;= 1,000) (default to 1)
565
+ * @param {Number} opts.pageSize Page size (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (default to 20)
566
+ * @param {Number} opts.pageNumber Page number (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (default to 1)
567
567
  * @param {Object} opts.expand which fields, if any, to expand
568
568
  * @param {String} opts.sortOrder Sort order
569
569
  */
@@ -578,13 +578,13 @@ class ExternalContactsApi {
578
578
  return this.apiClient.callApi(
579
579
  '/api/v2/externalcontacts/organizations/{externalOrganizationId}/relationships',
580
580
  'GET',
581
- { 'externalOrganizationId': externalOrganizationId },
582
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'expand': opts['expand'],'sortOrder': opts['sortOrder'] },
583
- { },
584
- { },
581
+ { 'externalOrganizationId': externalOrganizationId },
582
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'expand': opts['expand'],'sortOrder': opts['sortOrder'] },
583
+ { },
584
+ { },
585
585
  null,
586
586
  ['PureCloud OAuth'],
587
- ['application/json'],
587
+ ['application/json'],
588
588
  ['application/json']
589
589
  );
590
590
  }
@@ -593,10 +593,10 @@ class ExternalContactsApi {
593
593
  * Search for external organizations
594
594
  *
595
595
  * @param {Object} opts Optional parameters
596
- * @param {Number} opts.pageSize Page size (limited to fetching first 1,000 records; pageNumber * pageSize must be &lt;= 1,000) (default to 20)
597
- * @param {Number} opts.pageNumber Page number (limited to fetching first 1,000 records; pageNumber * pageSize must be &lt;= 1,000) (default to 1)
596
+ * @param {Number} opts.pageSize Page size (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (default to 20)
597
+ * @param {Number} opts.pageNumber Page number (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (default to 1)
598
598
  * @param {String} opts.q Search query
599
- * @param {Array.<String>} opts.trustorId Search for external organizations by trustorIds (limit 25). If supplied, the &#39;q&#39; parameters is ignored. Items are returned in the order requested
599
+ * @param {Array.<String>} opts.trustorId Search for external organizations by trustorIds (limit 25). If supplied, the 'q' parameters is ignored. Items are returned in the order requested
600
600
  * @param {String} opts.sortOrder Sort order
601
601
  * @param {Array.<String>} opts.expand which fields, if any, to expand
602
602
  * @param {Boolean} opts.includeTrustors (true or false) whether or not to include trustor information embedded in the externalOrganization
@@ -608,13 +608,13 @@ class ExternalContactsApi {
608
608
  return this.apiClient.callApi(
609
609
  '/api/v2/externalcontacts/organizations',
610
610
  'GET',
611
- { },
612
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'q': opts['q'],'trustorId': this.apiClient.buildCollectionParam(opts['trustorId'], 'multi'),'sortOrder': opts['sortOrder'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'includeTrustors': opts['includeTrustors'] },
613
- { },
614
- { },
611
+ { },
612
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'q': opts['q'],'trustorId': this.apiClient.buildCollectionParam(opts['trustorId'], 'multi'),'sortOrder': opts['sortOrder'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'includeTrustors': opts['includeTrustors'] },
613
+ { },
614
+ { },
615
615
  null,
616
616
  ['PureCloud OAuth'],
617
- ['application/json'],
617
+ ['application/json'],
618
618
  ['application/json']
619
619
  );
620
620
  }
@@ -633,13 +633,13 @@ class ExternalContactsApi {
633
633
  return this.apiClient.callApi(
634
634
  '/api/v2/externalcontacts/organizations/schemas/{schemaId}',
635
635
  'GET',
636
- { 'schemaId': schemaId },
637
- { },
638
- { },
639
- { },
636
+ { 'schemaId': schemaId },
637
+ { },
638
+ { },
639
+ { },
640
640
  null,
641
641
  ['PureCloud OAuth'],
642
- ['application/json'],
642
+ ['application/json'],
643
643
  ['application/json']
644
644
  );
645
645
  }
@@ -663,19 +663,19 @@ class ExternalContactsApi {
663
663
  return this.apiClient.callApi(
664
664
  '/api/v2/externalcontacts/organizations/schemas/{schemaId}/versions/{versionId}',
665
665
  'GET',
666
- { 'schemaId': schemaId,'versionId': versionId },
667
- { },
668
- { },
669
- { },
666
+ { 'schemaId': schemaId,'versionId': versionId },
667
+ { },
668
+ { },
669
+ { },
670
670
  null,
671
671
  ['PureCloud OAuth'],
672
- ['application/json'],
672
+ ['application/json'],
673
673
  ['application/json']
674
674
  );
675
675
  }
676
676
 
677
677
  /**
678
- * Get all versions of an external organization&#39;s schema
678
+ * Get all versions of an external organization's schema
679
679
  *
680
680
  * @param {String} schemaId Schema ID
681
681
  */
@@ -688,13 +688,13 @@ class ExternalContactsApi {
688
688
  return this.apiClient.callApi(
689
689
  '/api/v2/externalcontacts/organizations/schemas/{schemaId}/versions',
690
690
  'GET',
691
- { 'schemaId': schemaId },
692
- { },
693
- { },
694
- { },
691
+ { 'schemaId': schemaId },
692
+ { },
693
+ { },
694
+ { },
695
695
  null,
696
696
  ['PureCloud OAuth'],
697
- ['application/json'],
697
+ ['application/json'],
698
698
  ['application/json']
699
699
  );
700
700
  }
@@ -708,13 +708,13 @@ class ExternalContactsApi {
708
708
  return this.apiClient.callApi(
709
709
  '/api/v2/externalcontacts/organizations/schemas',
710
710
  'GET',
711
- { },
712
- { },
713
- { },
714
- { },
711
+ { },
712
+ { },
713
+ { },
714
+ { },
715
715
  null,
716
716
  ['PureCloud OAuth'],
717
- ['application/json'],
717
+ ['application/json'],
718
718
  ['application/json']
719
719
  );
720
720
  }
@@ -737,13 +737,13 @@ class ExternalContactsApi {
737
737
  return this.apiClient.callApi(
738
738
  '/api/v2/externalcontacts/relationships/{relationshipId}',
739
739
  'GET',
740
- { 'relationshipId': relationshipId },
741
- { 'expand': opts['expand'] },
742
- { },
743
- { },
740
+ { 'relationshipId': relationshipId },
741
+ { 'expand': opts['expand'] },
742
+ { },
743
+ { },
744
744
  null,
745
745
  ['PureCloud OAuth'],
746
- ['application/json'],
746
+ ['application/json'],
747
747
  ['application/json']
748
748
  );
749
749
  }
@@ -766,13 +766,13 @@ class ExternalContactsApi {
766
766
  return this.apiClient.callApi(
767
767
  '/api/v2/externalcontacts/reversewhitepageslookup',
768
768
  'GET',
769
- { },
770
- { 'lookupVal': lookupVal,'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
771
- { },
772
- { },
769
+ { },
770
+ { 'lookupVal': lookupVal,'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
771
+ { },
772
+ { },
773
773
  null,
774
774
  ['PureCloud OAuth'],
775
- ['application/json'],
775
+ ['application/json'],
776
776
  ['application/json']
777
777
  );
778
778
  }
@@ -791,13 +791,13 @@ class ExternalContactsApi {
791
791
  return this.apiClient.callApi(
792
792
  '/api/v2/externalcontacts/scan/contacts',
793
793
  'GET',
794
- { },
795
- { 'limit': opts['limit'],'cursor': opts['cursor'] },
796
- { },
797
- { },
794
+ { },
795
+ { 'limit': opts['limit'],'cursor': opts['cursor'] },
796
+ { },
797
+ { },
798
798
  null,
799
799
  ['PureCloud OAuth'],
800
- ['application/json'],
800
+ ['application/json'],
801
801
  ['application/json']
802
802
  );
803
803
  }
@@ -816,13 +816,13 @@ class ExternalContactsApi {
816
816
  return this.apiClient.callApi(
817
817
  '/api/v2/externalcontacts/scan/notes',
818
818
  'GET',
819
- { },
820
- { 'limit': opts['limit'],'cursor': opts['cursor'] },
821
- { },
822
- { },
819
+ { },
820
+ { 'limit': opts['limit'],'cursor': opts['cursor'] },
821
+ { },
822
+ { },
823
823
  null,
824
824
  ['PureCloud OAuth'],
825
- ['application/json'],
825
+ ['application/json'],
826
826
  ['application/json']
827
827
  );
828
828
  }
@@ -841,13 +841,13 @@ class ExternalContactsApi {
841
841
  return this.apiClient.callApi(
842
842
  '/api/v2/externalcontacts/scan/organizations',
843
843
  'GET',
844
- { },
845
- { 'limit': opts['limit'],'cursor': opts['cursor'] },
846
- { },
847
- { },
844
+ { },
845
+ { 'limit': opts['limit'],'cursor': opts['cursor'] },
846
+ { },
847
+ { },
848
848
  null,
849
849
  ['PureCloud OAuth'],
850
- ['application/json'],
850
+ ['application/json'],
851
851
  ['application/json']
852
852
  );
853
853
  }
@@ -866,13 +866,13 @@ class ExternalContactsApi {
866
866
  return this.apiClient.callApi(
867
867
  '/api/v2/externalcontacts/scan/relationships',
868
868
  'GET',
869
- { },
870
- { 'limit': opts['limit'],'cursor': opts['cursor'] },
871
- { },
872
- { },
869
+ { },
870
+ { 'limit': opts['limit'],'cursor': opts['cursor'] },
871
+ { },
872
+ { },
873
873
  null,
874
874
  ['PureCloud OAuth'],
875
- ['application/json'],
875
+ ['application/json'],
876
876
  ['application/json']
877
877
  );
878
878
  }
@@ -891,13 +891,13 @@ class ExternalContactsApi {
891
891
  return this.apiClient.callApi(
892
892
  '/api/v2/externalcontacts/bulk/contacts',
893
893
  'POST',
894
- { },
895
- { },
896
- { },
897
- { },
894
+ { },
895
+ { },
896
+ { },
897
+ { },
898
898
  body,
899
899
  ['PureCloud OAuth'],
900
- ['application/json'],
900
+ ['application/json'],
901
901
  ['application/json']
902
902
  );
903
903
  }
@@ -916,13 +916,13 @@ class ExternalContactsApi {
916
916
  return this.apiClient.callApi(
917
917
  '/api/v2/externalcontacts/bulk/contacts/add',
918
918
  'POST',
919
- { },
920
- { },
921
- { },
922
- { },
919
+ { },
920
+ { },
921
+ { },
922
+ { },
923
923
  body,
924
924
  ['PureCloud OAuth'],
925
- ['application/json'],
925
+ ['application/json'],
926
926
  ['application/json']
927
927
  );
928
928
  }
@@ -941,13 +941,13 @@ class ExternalContactsApi {
941
941
  return this.apiClient.callApi(
942
942
  '/api/v2/externalcontacts/bulk/contacts/remove',
943
943
  'POST',
944
- { },
945
- { },
946
- { },
947
- { },
944
+ { },
945
+ { },
946
+ { },
947
+ { },
948
948
  body,
949
949
  ['PureCloud OAuth'],
950
- ['application/json'],
950
+ ['application/json'],
951
951
  ['application/json']
952
952
  );
953
953
  }
@@ -966,13 +966,13 @@ class ExternalContactsApi {
966
966
  return this.apiClient.callApi(
967
967
  '/api/v2/externalcontacts/bulk/contacts/update',
968
968
  'POST',
969
- { },
970
- { },
971
- { },
972
- { },
969
+ { },
970
+ { },
971
+ { },
972
+ { },
973
973
  body,
974
974
  ['PureCloud OAuth'],
975
- ['application/json'],
975
+ ['application/json'],
976
976
  ['application/json']
977
977
  );
978
978
  }
@@ -991,13 +991,13 @@ class ExternalContactsApi {
991
991
  return this.apiClient.callApi(
992
992
  '/api/v2/externalcontacts/bulk/notes',
993
993
  'POST',
994
- { },
995
- { },
996
- { },
997
- { },
994
+ { },
995
+ { },
996
+ { },
997
+ { },
998
998
  body,
999
999
  ['PureCloud OAuth'],
1000
- ['application/json'],
1000
+ ['application/json'],
1001
1001
  ['application/json']
1002
1002
  );
1003
1003
  }
@@ -1016,13 +1016,13 @@ class ExternalContactsApi {
1016
1016
  return this.apiClient.callApi(
1017
1017
  '/api/v2/externalcontacts/bulk/notes/add',
1018
1018
  'POST',
1019
- { },
1020
- { },
1021
- { },
1022
- { },
1019
+ { },
1020
+ { },
1021
+ { },
1022
+ { },
1023
1023
  body,
1024
1024
  ['PureCloud OAuth'],
1025
- ['application/json'],
1025
+ ['application/json'],
1026
1026
  ['application/json']
1027
1027
  );
1028
1028
  }
@@ -1041,13 +1041,13 @@ class ExternalContactsApi {
1041
1041
  return this.apiClient.callApi(
1042
1042
  '/api/v2/externalcontacts/bulk/notes/remove',
1043
1043
  'POST',
1044
- { },
1045
- { },
1046
- { },
1047
- { },
1044
+ { },
1045
+ { },
1046
+ { },
1047
+ { },
1048
1048
  body,
1049
1049
  ['PureCloud OAuth'],
1050
- ['application/json'],
1050
+ ['application/json'],
1051
1051
  ['application/json']
1052
1052
  );
1053
1053
  }
@@ -1066,13 +1066,13 @@ class ExternalContactsApi {
1066
1066
  return this.apiClient.callApi(
1067
1067
  '/api/v2/externalcontacts/bulk/notes/update',
1068
1068
  'POST',
1069
- { },
1070
- { },
1071
- { },
1072
- { },
1069
+ { },
1070
+ { },
1071
+ { },
1072
+ { },
1073
1073
  body,
1074
1074
  ['PureCloud OAuth'],
1075
- ['application/json'],
1075
+ ['application/json'],
1076
1076
  ['application/json']
1077
1077
  );
1078
1078
  }
@@ -1091,13 +1091,13 @@ class ExternalContactsApi {
1091
1091
  return this.apiClient.callApi(
1092
1092
  '/api/v2/externalcontacts/bulk/organizations',
1093
1093
  'POST',
1094
- { },
1095
- { },
1096
- { },
1097
- { },
1094
+ { },
1095
+ { },
1096
+ { },
1097
+ { },
1098
1098
  body,
1099
1099
  ['PureCloud OAuth'],
1100
- ['application/json'],
1100
+ ['application/json'],
1101
1101
  ['application/json']
1102
1102
  );
1103
1103
  }
@@ -1116,13 +1116,13 @@ class ExternalContactsApi {
1116
1116
  return this.apiClient.callApi(
1117
1117
  '/api/v2/externalcontacts/bulk/organizations/add',
1118
1118
  'POST',
1119
- { },
1120
- { },
1121
- { },
1122
- { },
1119
+ { },
1120
+ { },
1121
+ { },
1122
+ { },
1123
1123
  body,
1124
1124
  ['PureCloud OAuth'],
1125
- ['application/json'],
1125
+ ['application/json'],
1126
1126
  ['application/json']
1127
1127
  );
1128
1128
  }
@@ -1141,13 +1141,13 @@ class ExternalContactsApi {
1141
1141
  return this.apiClient.callApi(
1142
1142
  '/api/v2/externalcontacts/bulk/organizations/remove',
1143
1143
  'POST',
1144
- { },
1145
- { },
1146
- { },
1147
- { },
1144
+ { },
1145
+ { },
1146
+ { },
1147
+ { },
1148
1148
  body,
1149
1149
  ['PureCloud OAuth'],
1150
- ['application/json'],
1150
+ ['application/json'],
1151
1151
  ['application/json']
1152
1152
  );
1153
1153
  }
@@ -1166,13 +1166,13 @@ class ExternalContactsApi {
1166
1166
  return this.apiClient.callApi(
1167
1167
  '/api/v2/externalcontacts/bulk/organizations/update',
1168
1168
  'POST',
1169
- { },
1170
- { },
1171
- { },
1172
- { },
1169
+ { },
1170
+ { },
1171
+ { },
1172
+ { },
1173
1173
  body,
1174
1174
  ['PureCloud OAuth'],
1175
- ['application/json'],
1175
+ ['application/json'],
1176
1176
  ['application/json']
1177
1177
  );
1178
1178
  }
@@ -1191,13 +1191,13 @@ class ExternalContactsApi {
1191
1191
  return this.apiClient.callApi(
1192
1192
  '/api/v2/externalcontacts/bulk/relationships',
1193
1193
  'POST',
1194
- { },
1195
- { },
1196
- { },
1197
- { },
1194
+ { },
1195
+ { },
1196
+ { },
1197
+ { },
1198
1198
  body,
1199
1199
  ['PureCloud OAuth'],
1200
- ['application/json'],
1200
+ ['application/json'],
1201
1201
  ['application/json']
1202
1202
  );
1203
1203
  }
@@ -1216,13 +1216,13 @@ class ExternalContactsApi {
1216
1216
  return this.apiClient.callApi(
1217
1217
  '/api/v2/externalcontacts/bulk/relationships/add',
1218
1218
  'POST',
1219
- { },
1220
- { },
1221
- { },
1222
- { },
1219
+ { },
1220
+ { },
1221
+ { },
1222
+ { },
1223
1223
  body,
1224
1224
  ['PureCloud OAuth'],
1225
- ['application/json'],
1225
+ ['application/json'],
1226
1226
  ['application/json']
1227
1227
  );
1228
1228
  }
@@ -1241,13 +1241,13 @@ class ExternalContactsApi {
1241
1241
  return this.apiClient.callApi(
1242
1242
  '/api/v2/externalcontacts/bulk/relationships/remove',
1243
1243
  'POST',
1244
- { },
1245
- { },
1246
- { },
1247
- { },
1244
+ { },
1245
+ { },
1246
+ { },
1247
+ { },
1248
1248
  body,
1249
1249
  ['PureCloud OAuth'],
1250
- ['application/json'],
1250
+ ['application/json'],
1251
1251
  ['application/json']
1252
1252
  );
1253
1253
  }
@@ -1266,13 +1266,13 @@ class ExternalContactsApi {
1266
1266
  return this.apiClient.callApi(
1267
1267
  '/api/v2/externalcontacts/bulk/relationships/update',
1268
1268
  'POST',
1269
- { },
1270
- { },
1271
- { },
1272
- { },
1269
+ { },
1270
+ { },
1271
+ { },
1272
+ { },
1273
1273
  body,
1274
1274
  ['PureCloud OAuth'],
1275
- ['application/json'],
1275
+ ['application/json'],
1276
1276
  ['application/json']
1277
1277
  );
1278
1278
  }
@@ -1296,13 +1296,13 @@ class ExternalContactsApi {
1296
1296
  return this.apiClient.callApi(
1297
1297
  '/api/v2/externalcontacts/contacts/{contactId}/notes',
1298
1298
  'POST',
1299
- { 'contactId': contactId },
1300
- { },
1301
- { },
1302
- { },
1299
+ { 'contactId': contactId },
1300
+ { },
1301
+ { },
1302
+ { },
1303
1303
  body,
1304
1304
  ['PureCloud OAuth'],
1305
- ['application/json'],
1305
+ ['application/json'],
1306
1306
  ['application/json']
1307
1307
  );
1308
1308
  }
@@ -1321,13 +1321,13 @@ class ExternalContactsApi {
1321
1321
  return this.apiClient.callApi(
1322
1322
  '/api/v2/externalcontacts/contacts',
1323
1323
  'POST',
1324
- { },
1325
- { },
1326
- { },
1327
- { },
1324
+ { },
1325
+ { },
1326
+ { },
1327
+ { },
1328
1328
  body,
1329
1329
  ['PureCloud OAuth'],
1330
- ['application/json'],
1330
+ ['application/json'],
1331
1331
  ['application/json']
1332
1332
  );
1333
1333
  }
@@ -1346,13 +1346,13 @@ class ExternalContactsApi {
1346
1346
  return this.apiClient.callApi(
1347
1347
  '/api/v2/externalcontacts/contacts/schemas',
1348
1348
  'POST',
1349
- { },
1350
- { },
1351
- { },
1352
- { },
1349
+ { },
1350
+ { },
1351
+ { },
1352
+ { },
1353
1353
  body,
1354
1354
  ['PureCloud OAuth'],
1355
- ['application/json'],
1355
+ ['application/json'],
1356
1356
  ['application/json']
1357
1357
  );
1358
1358
  }
@@ -1376,13 +1376,13 @@ class ExternalContactsApi {
1376
1376
  return this.apiClient.callApi(
1377
1377
  '/api/v2/externalcontacts/organizations/{externalOrganizationId}/notes',
1378
1378
  'POST',
1379
- { 'externalOrganizationId': externalOrganizationId },
1380
- { },
1381
- { },
1382
- { },
1379
+ { 'externalOrganizationId': externalOrganizationId },
1380
+ { },
1381
+ { },
1382
+ { },
1383
1383
  body,
1384
1384
  ['PureCloud OAuth'],
1385
- ['application/json'],
1385
+ ['application/json'],
1386
1386
  ['application/json']
1387
1387
  );
1388
1388
  }
@@ -1401,13 +1401,13 @@ class ExternalContactsApi {
1401
1401
  return this.apiClient.callApi(
1402
1402
  '/api/v2/externalcontacts/organizations',
1403
1403
  'POST',
1404
- { },
1405
- { },
1406
- { },
1407
- { },
1404
+ { },
1405
+ { },
1406
+ { },
1407
+ { },
1408
1408
  body,
1409
1409
  ['PureCloud OAuth'],
1410
- ['application/json'],
1410
+ ['application/json'],
1411
1411
  ['application/json']
1412
1412
  );
1413
1413
  }
@@ -1426,13 +1426,13 @@ class ExternalContactsApi {
1426
1426
  return this.apiClient.callApi(
1427
1427
  '/api/v2/externalcontacts/organizations/schemas',
1428
1428
  'POST',
1429
- { },
1430
- { },
1431
- { },
1432
- { },
1429
+ { },
1430
+ { },
1431
+ { },
1432
+ { },
1433
1433
  body,
1434
1434
  ['PureCloud OAuth'],
1435
- ['application/json'],
1435
+ ['application/json'],
1436
1436
  ['application/json']
1437
1437
  );
1438
1438
  }
@@ -1451,13 +1451,13 @@ class ExternalContactsApi {
1451
1451
  return this.apiClient.callApi(
1452
1452
  '/api/v2/externalcontacts/relationships',
1453
1453
  'POST',
1454
- { },
1455
- { },
1456
- { },
1457
- { },
1454
+ { },
1455
+ { },
1456
+ { },
1457
+ { },
1458
1458
  body,
1459
1459
  ['PureCloud OAuth'],
1460
- ['application/json'],
1460
+ ['application/json'],
1461
1461
  ['application/json']
1462
1462
  );
1463
1463
  }
@@ -1481,13 +1481,13 @@ class ExternalContactsApi {
1481
1481
  return this.apiClient.callApi(
1482
1482
  '/api/v2/externalcontacts/contacts/{contactId}',
1483
1483
  'PUT',
1484
- { 'contactId': contactId },
1485
- { },
1486
- { },
1487
- { },
1484
+ { 'contactId': contactId },
1485
+ { },
1486
+ { },
1487
+ { },
1488
1488
  body,
1489
1489
  ['PureCloud OAuth'],
1490
- ['application/json'],
1490
+ ['application/json'],
1491
1491
  ['application/json']
1492
1492
  );
1493
1493
  }
@@ -1516,13 +1516,13 @@ class ExternalContactsApi {
1516
1516
  return this.apiClient.callApi(
1517
1517
  '/api/v2/externalcontacts/contacts/{contactId}/notes/{noteId}',
1518
1518
  'PUT',
1519
- { 'contactId': contactId,'noteId': noteId },
1520
- { },
1521
- { },
1522
- { },
1519
+ { 'contactId': contactId,'noteId': noteId },
1520
+ { },
1521
+ { },
1522
+ { },
1523
1523
  body,
1524
1524
  ['PureCloud OAuth'],
1525
- ['application/json'],
1525
+ ['application/json'],
1526
1526
  ['application/json']
1527
1527
  );
1528
1528
  }
@@ -1546,13 +1546,13 @@ class ExternalContactsApi {
1546
1546
  return this.apiClient.callApi(
1547
1547
  '/api/v2/externalcontacts/contacts/schemas/{schemaId}',
1548
1548
  'PUT',
1549
- { 'schemaId': schemaId },
1550
- { },
1551
- { },
1552
- { },
1549
+ { 'schemaId': schemaId },
1550
+ { },
1551
+ { },
1552
+ { },
1553
1553
  body,
1554
1554
  ['PureCloud OAuth'],
1555
- ['application/json'],
1555
+ ['application/json'],
1556
1556
  ['application/json']
1557
1557
  );
1558
1558
  }
@@ -1560,29 +1560,29 @@ class ExternalContactsApi {
1560
1560
  /**
1561
1561
  * Associate/disassociate an external contact with a conversation
1562
1562
  * To associate, supply a value for the externalContactId. To disassociate, do not include the property at all.
1563
- * @param {Object} body ConversationAssociation
1564
1563
  * @param {String} conversationId Conversation ID
1564
+ * @param {Object} body ConversationAssociation
1565
1565
  */
1566
- putExternalcontactsConversation(body, conversationId) {
1567
- // verify the required parameter 'body' is set
1568
- if (body === undefined || body === null) {
1569
- throw 'Missing the required parameter "body" when calling putExternalcontactsConversation';
1570
- }
1566
+ putExternalcontactsConversation(conversationId, body) {
1571
1567
  // verify the required parameter 'conversationId' is set
1572
1568
  if (conversationId === undefined || conversationId === null) {
1573
1569
  throw 'Missing the required parameter "conversationId" when calling putExternalcontactsConversation';
1574
1570
  }
1571
+ // verify the required parameter 'body' is set
1572
+ if (body === undefined || body === null) {
1573
+ throw 'Missing the required parameter "body" when calling putExternalcontactsConversation';
1574
+ }
1575
1575
 
1576
1576
  return this.apiClient.callApi(
1577
1577
  '/api/v2/externalcontacts/conversations/{conversationId}',
1578
1578
  'PUT',
1579
- { 'conversationId': conversationId },
1580
- { },
1581
- { },
1582
- { },
1579
+ { 'conversationId': conversationId },
1580
+ { },
1581
+ { },
1582
+ { },
1583
1583
  body,
1584
1584
  ['PureCloud OAuth'],
1585
- ['application/json'],
1585
+ ['application/json'],
1586
1586
  ['application/json']
1587
1587
  );
1588
1588
  }
@@ -1606,13 +1606,13 @@ class ExternalContactsApi {
1606
1606
  return this.apiClient.callApi(
1607
1607
  '/api/v2/externalcontacts/organizations/{externalOrganizationId}',
1608
1608
  'PUT',
1609
- { 'externalOrganizationId': externalOrganizationId },
1610
- { },
1611
- { },
1612
- { },
1609
+ { 'externalOrganizationId': externalOrganizationId },
1610
+ { },
1611
+ { },
1612
+ { },
1613
1613
  body,
1614
1614
  ['PureCloud OAuth'],
1615
- ['application/json'],
1615
+ ['application/json'],
1616
1616
  ['application/json']
1617
1617
  );
1618
1618
  }
@@ -1641,13 +1641,13 @@ class ExternalContactsApi {
1641
1641
  return this.apiClient.callApi(
1642
1642
  '/api/v2/externalcontacts/organizations/{externalOrganizationId}/notes/{noteId}',
1643
1643
  'PUT',
1644
- { 'externalOrganizationId': externalOrganizationId,'noteId': noteId },
1645
- { },
1646
- { },
1647
- { },
1644
+ { 'externalOrganizationId': externalOrganizationId,'noteId': noteId },
1645
+ { },
1646
+ { },
1647
+ { },
1648
1648
  body,
1649
1649
  ['PureCloud OAuth'],
1650
- ['application/json'],
1650
+ ['application/json'],
1651
1651
  ['application/json']
1652
1652
  );
1653
1653
  }
@@ -1671,13 +1671,13 @@ class ExternalContactsApi {
1671
1671
  return this.apiClient.callApi(
1672
1672
  '/api/v2/externalcontacts/organizations/{externalOrganizationId}/trustor/{trustorId}',
1673
1673
  'PUT',
1674
- { 'externalOrganizationId': externalOrganizationId,'trustorId': trustorId },
1675
- { },
1676
- { },
1677
- { },
1674
+ { 'externalOrganizationId': externalOrganizationId,'trustorId': trustorId },
1675
+ { },
1676
+ { },
1677
+ { },
1678
1678
  null,
1679
1679
  ['PureCloud OAuth'],
1680
- ['application/json'],
1680
+ ['application/json'],
1681
1681
  ['application/json']
1682
1682
  );
1683
1683
  }
@@ -1701,13 +1701,13 @@ class ExternalContactsApi {
1701
1701
  return this.apiClient.callApi(
1702
1702
  '/api/v2/externalcontacts/organizations/schemas/{schemaId}',
1703
1703
  'PUT',
1704
- { 'schemaId': schemaId },
1705
- { },
1706
- { },
1707
- { },
1704
+ { 'schemaId': schemaId },
1705
+ { },
1706
+ { },
1707
+ { },
1708
1708
  body,
1709
1709
  ['PureCloud OAuth'],
1710
- ['application/json'],
1710
+ ['application/json'],
1711
1711
  ['application/json']
1712
1712
  );
1713
1713
  }
@@ -1731,13 +1731,13 @@ class ExternalContactsApi {
1731
1731
  return this.apiClient.callApi(
1732
1732
  '/api/v2/externalcontacts/relationships/{relationshipId}',
1733
1733
  'PUT',
1734
- { 'relationshipId': relationshipId },
1735
- { },
1736
- { },
1737
- { },
1734
+ { 'relationshipId': relationshipId },
1735
+ { },
1736
+ { },
1737
+ { },
1738
1738
  body,
1739
1739
  ['PureCloud OAuth'],
1740
- ['application/json'],
1740
+ ['application/json'],
1741
1741
  ['application/json']
1742
1742
  );
1743
1743
  }