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 ArchitectApi {
5
5
  /**
6
6
  * Architect service.
7
7
  * @module purecloud-platform-client-v2/api/ArchitectApi
8
- * @version 135.0.0
8
+ * @version 137.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -34,13 +34,13 @@ class ArchitectApi {
34
34
  return this.apiClient.callApi(
35
35
  '/api/v2/architect/emergencygroups/{emergencyGroupId}',
36
36
  'DELETE',
37
- { 'emergencyGroupId': emergencyGroupId },
38
- { },
39
- { },
40
- { },
37
+ { 'emergencyGroupId': emergencyGroupId },
38
+ { },
39
+ { },
40
+ { },
41
41
  null,
42
42
  ['PureCloud OAuth'],
43
- ['application/json'],
43
+ ['application/json'],
44
44
  ['application/json']
45
45
  );
46
46
  }
@@ -59,13 +59,13 @@ class ArchitectApi {
59
59
  return this.apiClient.callApi(
60
60
  '/api/v2/architect/ivrs/{ivrId}',
61
61
  'DELETE',
62
- { 'ivrId': ivrId },
63
- { },
64
- { },
65
- { },
62
+ { 'ivrId': ivrId },
63
+ { },
64
+ { },
65
+ { },
66
66
  null,
67
67
  ['PureCloud OAuth'],
68
- ['application/json'],
68
+ ['application/json'],
69
69
  ['application/json']
70
70
  );
71
71
  }
@@ -88,13 +88,13 @@ class ArchitectApi {
88
88
  return this.apiClient.callApi(
89
89
  '/api/v2/architect/prompts/{promptId}',
90
90
  'DELETE',
91
- { 'promptId': promptId },
92
- { 'allResources': opts['allResources'] },
93
- { },
94
- { },
91
+ { 'promptId': promptId },
92
+ { 'allResources': opts['allResources'] },
93
+ { },
94
+ { },
95
95
  null,
96
96
  ['PureCloud OAuth'],
97
- ['application/json'],
97
+ ['application/json'],
98
98
  ['application/json']
99
99
  );
100
100
  }
@@ -118,13 +118,13 @@ class ArchitectApi {
118
118
  return this.apiClient.callApi(
119
119
  '/api/v2/architect/prompts/{promptId}/resources/{languageCode}',
120
120
  'DELETE',
121
- { 'promptId': promptId,'languageCode': languageCode },
122
- { },
123
- { },
124
- { },
121
+ { 'promptId': promptId,'languageCode': languageCode },
122
+ { },
123
+ { },
124
+ { },
125
125
  null,
126
126
  ['PureCloud OAuth'],
127
- ['application/json'],
127
+ ['application/json'],
128
128
  ['application/json']
129
129
  );
130
130
  }
@@ -148,13 +148,13 @@ class ArchitectApi {
148
148
  return this.apiClient.callApi(
149
149
  '/api/v2/architect/prompts/{promptId}/resources/{languageCode}/audio',
150
150
  'DELETE',
151
- { 'promptId': promptId,'languageCode': languageCode },
152
- { },
153
- { },
154
- { },
151
+ { 'promptId': promptId,'languageCode': languageCode },
152
+ { },
153
+ { },
154
+ { },
155
155
  null,
156
156
  ['PureCloud OAuth'],
157
- ['application/json'],
157
+ ['application/json'],
158
158
  ['application/json']
159
159
  );
160
160
  }
@@ -173,13 +173,13 @@ class ArchitectApi {
173
173
  return this.apiClient.callApi(
174
174
  '/api/v2/architect/prompts',
175
175
  'DELETE',
176
- { },
177
- { 'id': this.apiClient.buildCollectionParam(id, 'multi') },
178
- { },
179
- { },
176
+ { },
177
+ { 'id': this.apiClient.buildCollectionParam(id, 'multi') },
178
+ { },
179
+ { },
180
180
  null,
181
181
  ['PureCloud OAuth'],
182
- ['application/json'],
182
+ ['application/json'],
183
183
  ['application/json']
184
184
  );
185
185
  }
@@ -198,13 +198,13 @@ class ArchitectApi {
198
198
  return this.apiClient.callApi(
199
199
  '/api/v2/architect/schedules/{scheduleId}',
200
200
  'DELETE',
201
- { 'scheduleId': scheduleId },
202
- { },
203
- { },
204
- { },
201
+ { 'scheduleId': scheduleId },
202
+ { },
203
+ { },
204
+ { },
205
205
  null,
206
206
  ['PureCloud OAuth'],
207
- ['application/json'],
207
+ ['application/json'],
208
208
  ['application/json']
209
209
  );
210
210
  }
@@ -223,13 +223,13 @@ class ArchitectApi {
223
223
  return this.apiClient.callApi(
224
224
  '/api/v2/architect/schedulegroups/{scheduleGroupId}',
225
225
  'DELETE',
226
- { 'scheduleGroupId': scheduleGroupId },
227
- { },
228
- { },
229
- { },
226
+ { 'scheduleGroupId': scheduleGroupId },
227
+ { },
228
+ { },
229
+ { },
230
230
  null,
231
231
  ['PureCloud OAuth'],
232
- ['application/json'],
232
+ ['application/json'],
233
233
  ['application/json']
234
234
  );
235
235
  }
@@ -253,13 +253,13 @@ class ArchitectApi {
253
253
  return this.apiClient.callApi(
254
254
  '/api/v2/architect/systemprompts/{promptId}/resources/{languageCode}',
255
255
  'DELETE',
256
- { 'promptId': promptId,'languageCode': languageCode },
257
- { },
258
- { },
259
- { },
256
+ { 'promptId': promptId,'languageCode': languageCode },
257
+ { },
258
+ { },
259
+ { },
260
260
  null,
261
261
  ['PureCloud OAuth'],
262
- ['application/json'],
262
+ ['application/json'],
263
263
  ['application/json']
264
264
  );
265
265
  }
@@ -278,13 +278,13 @@ class ArchitectApi {
278
278
  return this.apiClient.callApi(
279
279
  '/api/v2/flows/{flowId}',
280
280
  'DELETE',
281
- { 'flowId': flowId },
282
- { },
283
- { },
284
- { },
281
+ { 'flowId': flowId },
282
+ { },
283
+ { },
284
+ { },
285
285
  null,
286
286
  ['PureCloud OAuth'],
287
- ['application/json'],
287
+ ['application/json'],
288
288
  ['application/json']
289
289
  );
290
290
  }
@@ -303,13 +303,13 @@ class ArchitectApi {
303
303
  return this.apiClient.callApi(
304
304
  '/api/v2/flows',
305
305
  'DELETE',
306
- { },
307
- { 'id': this.apiClient.buildCollectionParam(id, 'multi') },
308
- { },
309
- { },
306
+ { },
307
+ { 'id': this.apiClient.buildCollectionParam(id, 'multi') },
308
+ { },
309
+ { },
310
310
  null,
311
311
  ['PureCloud OAuth'],
312
- ['application/json'],
312
+ ['application/json'],
313
313
  ['application/json']
314
314
  );
315
315
  }
@@ -332,13 +332,13 @@ class ArchitectApi {
332
332
  return this.apiClient.callApi(
333
333
  '/api/v2/flows/datatables/{datatableId}',
334
334
  'DELETE',
335
- { 'datatableId': datatableId },
336
- { 'force': opts['force'] },
337
- { },
338
- { },
335
+ { 'datatableId': datatableId },
336
+ { 'force': opts['force'] },
337
+ { },
338
+ { },
339
339
  null,
340
340
  ['PureCloud OAuth'],
341
- ['application/json'],
341
+ ['application/json'],
342
342
  ['application/json']
343
343
  );
344
344
  }
@@ -362,13 +362,13 @@ class ArchitectApi {
362
362
  return this.apiClient.callApi(
363
363
  '/api/v2/flows/datatables/{datatableId}/rows/{rowId}',
364
364
  'DELETE',
365
- { 'datatableId': datatableId,'rowId': rowId },
366
- { },
367
- { },
368
- { },
365
+ { 'datatableId': datatableId,'rowId': rowId },
366
+ { },
367
+ { },
368
+ { },
369
369
  null,
370
370
  ['PureCloud OAuth'],
371
- ['application/json'],
371
+ ['application/json'],
372
372
  ['application/json']
373
373
  );
374
374
  }
@@ -387,13 +387,13 @@ class ArchitectApi {
387
387
  return this.apiClient.callApi(
388
388
  '/api/v2/flows/milestones/{milestoneId}',
389
389
  'DELETE',
390
- { 'milestoneId': milestoneId },
391
- { },
392
- { },
393
- { },
390
+ { 'milestoneId': milestoneId },
391
+ { },
392
+ { },
393
+ { },
394
394
  null,
395
395
  ['PureCloud OAuth'],
396
- ['application/json'],
396
+ ['application/json'],
397
397
  ['application/json']
398
398
  );
399
399
  }
@@ -422,13 +422,13 @@ class ArchitectApi {
422
422
  return this.apiClient.callApi(
423
423
  '/api/v2/architect/dependencytracking',
424
424
  'GET',
425
- { },
426
- { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'name': name,'objectType': this.apiClient.buildCollectionParam(opts['objectType'], 'multi'),'consumedResources': opts['consumedResources'],'consumingResources': opts['consumingResources'],'consumedResourceType': this.apiClient.buildCollectionParam(opts['consumedResourceType'], 'multi'),'consumingResourceType': this.apiClient.buildCollectionParam(opts['consumingResourceType'], 'multi') },
427
- { },
428
- { },
425
+ { },
426
+ { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'name': name,'objectType': this.apiClient.buildCollectionParam(opts['objectType'], 'multi'),'consumedResources': opts['consumedResources'],'consumingResources': opts['consumingResources'],'consumedResourceType': this.apiClient.buildCollectionParam(opts['consumedResourceType'], 'multi'),'consumingResourceType': this.apiClient.buildCollectionParam(opts['consumingResourceType'], 'multi') },
427
+ { },
428
+ { },
429
429
  null,
430
430
  ['PureCloud OAuth'],
431
- ['application/json'],
431
+ ['application/json'],
432
432
  ['application/json']
433
433
  );
434
434
  }
@@ -442,13 +442,13 @@ class ArchitectApi {
442
442
  return this.apiClient.callApi(
443
443
  '/api/v2/architect/dependencytracking/build',
444
444
  'GET',
445
- { },
446
- { },
447
- { },
448
- { },
445
+ { },
446
+ { },
447
+ { },
448
+ { },
449
449
  null,
450
450
  ['PureCloud OAuth'],
451
- ['application/json'],
451
+ ['application/json'],
452
452
  ['application/json']
453
453
  );
454
454
  }
@@ -483,13 +483,13 @@ class ArchitectApi {
483
483
  return this.apiClient.callApi(
484
484
  '/api/v2/architect/dependencytracking/consumedresources',
485
485
  'GET',
486
- { },
487
- { 'id': id,'version': version,'objectType': objectType,'resourceType': this.apiClient.buildCollectionParam(opts['resourceType'], 'multi'),'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'] },
488
- { },
489
- { },
486
+ { },
487
+ { 'id': id,'version': version,'objectType': objectType,'resourceType': this.apiClient.buildCollectionParam(opts['resourceType'], 'multi'),'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'] },
488
+ { },
489
+ { },
490
490
  null,
491
491
  ['PureCloud OAuth'],
492
- ['application/json'],
492
+ ['application/json'],
493
493
  ['application/json']
494
494
  );
495
495
  }
@@ -521,13 +521,13 @@ class ArchitectApi {
521
521
  return this.apiClient.callApi(
522
522
  '/api/v2/architect/dependencytracking/consumingresources',
523
523
  'GET',
524
- { },
525
- { 'id': id,'objectType': objectType,'resourceType': this.apiClient.buildCollectionParam(opts['resourceType'], 'multi'),'version': opts['version'],'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'flowFilter': opts['flowFilter'] },
526
- { },
527
- { },
524
+ { },
525
+ { 'id': id,'objectType': objectType,'resourceType': this.apiClient.buildCollectionParam(opts['resourceType'], 'multi'),'version': opts['version'],'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'flowFilter': opts['flowFilter'] },
526
+ { },
527
+ { },
528
528
  null,
529
529
  ['PureCloud OAuth'],
530
- ['application/json'],
530
+ ['application/json'],
531
531
  ['application/json']
532
532
  );
533
533
  }
@@ -551,13 +551,13 @@ class ArchitectApi {
551
551
  return this.apiClient.callApi(
552
552
  '/api/v2/architect/dependencytracking/deletedresourceconsumers',
553
553
  'GET',
554
- { },
555
- { 'name': opts['name'],'objectType': this.apiClient.buildCollectionParam(opts['objectType'], 'multi'),'flowFilter': opts['flowFilter'],'consumedResources': opts['consumedResources'],'consumedResourceType': this.apiClient.buildCollectionParam(opts['consumedResourceType'], 'multi'),'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'] },
556
- { },
557
- { },
554
+ { },
555
+ { 'name': opts['name'],'objectType': this.apiClient.buildCollectionParam(opts['objectType'], 'multi'),'flowFilter': opts['flowFilter'],'consumedResources': opts['consumedResources'],'consumedResourceType': this.apiClient.buildCollectionParam(opts['consumedResourceType'], 'multi'),'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'] },
556
+ { },
557
+ { },
558
558
  null,
559
559
  ['PureCloud OAuth'],
560
- ['application/json'],
560
+ ['application/json'],
561
561
  ['application/json']
562
562
  );
563
563
  }
@@ -586,13 +586,13 @@ class ArchitectApi {
586
586
  return this.apiClient.callApi(
587
587
  '/api/v2/architect/dependencytracking/object',
588
588
  'GET',
589
- { },
590
- { 'id': id,'version': opts['version'],'objectType': opts['objectType'],'consumedResources': opts['consumedResources'],'consumingResources': opts['consumingResources'],'consumedResourceType': this.apiClient.buildCollectionParam(opts['consumedResourceType'], 'multi'),'consumingResourceType': this.apiClient.buildCollectionParam(opts['consumingResourceType'], 'multi'),'consumedResourceRequest': opts['consumedResourceRequest'] },
591
- { },
592
- { },
589
+ { },
590
+ { 'id': id,'version': opts['version'],'objectType': opts['objectType'],'consumedResources': opts['consumedResources'],'consumingResources': opts['consumingResources'],'consumedResourceType': this.apiClient.buildCollectionParam(opts['consumedResourceType'], 'multi'),'consumingResourceType': this.apiClient.buildCollectionParam(opts['consumingResourceType'], 'multi'),'consumedResourceRequest': opts['consumedResourceRequest'] },
591
+ { },
592
+ { },
593
593
  null,
594
594
  ['PureCloud OAuth'],
595
- ['application/json'],
595
+ ['application/json'],
596
596
  ['application/json']
597
597
  );
598
598
  }
@@ -611,13 +611,13 @@ class ArchitectApi {
611
611
  return this.apiClient.callApi(
612
612
  '/api/v2/architect/dependencytracking/types/{typeId}',
613
613
  'GET',
614
- { 'typeId': typeId },
615
- { },
616
- { },
617
- { },
614
+ { 'typeId': typeId },
615
+ { },
616
+ { },
617
+ { },
618
618
  null,
619
619
  ['PureCloud OAuth'],
620
- ['application/json'],
620
+ ['application/json'],
621
621
  ['application/json']
622
622
  );
623
623
  }
@@ -636,13 +636,13 @@ class ArchitectApi {
636
636
  return this.apiClient.callApi(
637
637
  '/api/v2/architect/dependencytracking/types',
638
638
  'GET',
639
- { },
640
- { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'] },
641
- { },
642
- { },
639
+ { },
640
+ { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'] },
641
+ { },
642
+ { },
643
643
  null,
644
644
  ['PureCloud OAuth'],
645
- ['application/json'],
645
+ ['application/json'],
646
646
  ['application/json']
647
647
  );
648
648
  }
@@ -665,13 +665,13 @@ class ArchitectApi {
665
665
  return this.apiClient.callApi(
666
666
  '/api/v2/architect/dependencytracking/updatedresourceconsumers',
667
667
  'GET',
668
- { },
669
- { 'name': opts['name'],'objectType': this.apiClient.buildCollectionParam(opts['objectType'], 'multi'),'consumedResources': opts['consumedResources'],'consumedResourceType': this.apiClient.buildCollectionParam(opts['consumedResourceType'], 'multi'),'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'] },
670
- { },
671
- { },
668
+ { },
669
+ { 'name': opts['name'],'objectType': this.apiClient.buildCollectionParam(opts['objectType'], 'multi'),'consumedResources': opts['consumedResources'],'consumedResourceType': this.apiClient.buildCollectionParam(opts['consumedResourceType'], 'multi'),'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'] },
670
+ { },
671
+ { },
672
672
  null,
673
673
  ['PureCloud OAuth'],
674
- ['application/json'],
674
+ ['application/json'],
675
675
  ['application/json']
676
676
  );
677
677
  }
@@ -690,13 +690,13 @@ class ArchitectApi {
690
690
  return this.apiClient.callApi(
691
691
  '/api/v2/architect/emergencygroups/{emergencyGroupId}',
692
692
  'GET',
693
- { 'emergencyGroupId': emergencyGroupId },
694
- { },
695
- { },
696
- { },
693
+ { 'emergencyGroupId': emergencyGroupId },
694
+ { },
695
+ { },
696
+ { },
697
697
  null,
698
698
  ['PureCloud OAuth'],
699
- ['application/json'],
699
+ ['application/json'],
700
700
  ['application/json']
701
701
  );
702
702
  }
@@ -718,13 +718,13 @@ class ArchitectApi {
718
718
  return this.apiClient.callApi(
719
719
  '/api/v2/architect/emergencygroups',
720
720
  'GET',
721
- { },
722
- { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'name': opts['name'] },
723
- { },
724
- { },
721
+ { },
722
+ { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'name': opts['name'] },
723
+ { },
724
+ { },
725
725
  null,
726
726
  ['PureCloud OAuth'],
727
- ['application/json'],
727
+ ['application/json'],
728
728
  ['application/json']
729
729
  );
730
730
  }
@@ -743,13 +743,13 @@ class ArchitectApi {
743
743
  return this.apiClient.callApi(
744
744
  '/api/v2/architect/ivrs/{ivrId}',
745
745
  'GET',
746
- { 'ivrId': ivrId },
747
- { },
748
- { },
749
- { },
746
+ { 'ivrId': ivrId },
747
+ { },
748
+ { },
749
+ { },
750
750
  null,
751
751
  ['PureCloud OAuth'],
752
- ['application/json'],
752
+ ['application/json'],
753
753
  ['application/json']
754
754
  );
755
755
  }
@@ -771,13 +771,13 @@ class ArchitectApi {
771
771
  return this.apiClient.callApi(
772
772
  '/api/v2/architect/ivrs',
773
773
  'GET',
774
- { },
775
- { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'name': opts['name'] },
776
- { },
777
- { },
774
+ { },
775
+ { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'name': opts['name'] },
776
+ { },
777
+ { },
778
778
  null,
779
779
  ['PureCloud OAuth'],
780
- ['application/json'],
780
+ ['application/json'],
781
781
  ['application/json']
782
782
  );
783
783
  }
@@ -796,13 +796,13 @@ class ArchitectApi {
796
796
  return this.apiClient.callApi(
797
797
  '/api/v2/architect/prompts/{promptId}',
798
798
  'GET',
799
- { 'promptId': promptId },
800
- { },
801
- { },
802
- { },
799
+ { 'promptId': promptId },
800
+ { },
801
+ { },
802
+ { },
803
803
  null,
804
804
  ['PureCloud OAuth'],
805
- ['application/json'],
805
+ ['application/json'],
806
806
  ['application/json']
807
807
  );
808
808
  }
@@ -834,13 +834,13 @@ class ArchitectApi {
834
834
  return this.apiClient.callApi(
835
835
  '/api/v2/architect/prompts/{promptId}/history/{historyId}',
836
836
  'GET',
837
- { 'promptId': promptId,'historyId': historyId },
838
- { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'sortOrder': opts['sortOrder'],'sortBy': opts['sortBy'],'action': this.apiClient.buildCollectionParam(opts['action'], 'multi') },
839
- { },
840
- { },
837
+ { 'promptId': promptId,'historyId': historyId },
838
+ { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'sortOrder': opts['sortOrder'],'sortBy': opts['sortBy'],'action': this.apiClient.buildCollectionParam(opts['action'], 'multi') },
839
+ { },
840
+ { },
841
841
  null,
842
842
  ['PureCloud OAuth'],
843
- ['application/json'],
843
+ ['application/json'],
844
844
  ['application/json']
845
845
  );
846
846
  }
@@ -864,13 +864,13 @@ class ArchitectApi {
864
864
  return this.apiClient.callApi(
865
865
  '/api/v2/architect/prompts/{promptId}/resources/{languageCode}',
866
866
  'GET',
867
- { 'promptId': promptId,'languageCode': languageCode },
868
- { },
869
- { },
870
- { },
867
+ { 'promptId': promptId,'languageCode': languageCode },
868
+ { },
869
+ { },
870
+ { },
871
871
  null,
872
872
  ['PureCloud OAuth'],
873
- ['application/json'],
873
+ ['application/json'],
874
874
  ['application/json']
875
875
  );
876
876
  }
@@ -894,13 +894,13 @@ class ArchitectApi {
894
894
  return this.apiClient.callApi(
895
895
  '/api/v2/architect/prompts/{promptId}/resources',
896
896
  'GET',
897
- { 'promptId': promptId },
898
- { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'] },
899
- { },
900
- { },
897
+ { 'promptId': promptId },
898
+ { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'] },
899
+ { },
900
+ { },
901
901
  null,
902
902
  ['PureCloud OAuth'],
903
- ['application/json'],
903
+ ['application/json'],
904
904
  ['application/json']
905
905
  );
906
906
  }
@@ -924,13 +924,13 @@ class ArchitectApi {
924
924
  return this.apiClient.callApi(
925
925
  '/api/v2/architect/prompts',
926
926
  'GET',
927
- { },
928
- { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'name': this.apiClient.buildCollectionParam(opts['name'], 'multi'),'description': opts['description'],'nameOrDescription': opts['nameOrDescription'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'] },
929
- { },
930
- { },
927
+ { },
928
+ { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'name': this.apiClient.buildCollectionParam(opts['name'], 'multi'),'description': opts['description'],'nameOrDescription': opts['nameOrDescription'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'] },
929
+ { },
930
+ { },
931
931
  null,
932
932
  ['PureCloud OAuth'],
933
- ['application/json'],
933
+ ['application/json'],
934
934
  ['application/json']
935
935
  );
936
936
  }
@@ -949,13 +949,13 @@ class ArchitectApi {
949
949
  return this.apiClient.callApi(
950
950
  '/api/v2/architect/schedules/{scheduleId}',
951
951
  'GET',
952
- { 'scheduleId': scheduleId },
953
- { },
954
- { },
955
- { },
952
+ { 'scheduleId': scheduleId },
953
+ { },
954
+ { },
955
+ { },
956
956
  null,
957
957
  ['PureCloud OAuth'],
958
- ['application/json'],
958
+ ['application/json'],
959
959
  ['application/json']
960
960
  );
961
961
  }
@@ -974,13 +974,13 @@ class ArchitectApi {
974
974
  return this.apiClient.callApi(
975
975
  '/api/v2/architect/schedulegroups/{scheduleGroupId}',
976
976
  'GET',
977
- { 'scheduleGroupId': scheduleGroupId },
978
- { },
979
- { },
980
- { },
977
+ { 'scheduleGroupId': scheduleGroupId },
978
+ { },
979
+ { },
980
+ { },
981
981
  null,
982
982
  ['PureCloud OAuth'],
983
- ['application/json'],
983
+ ['application/json'],
984
984
  ['application/json']
985
985
  );
986
986
  }
@@ -1004,13 +1004,13 @@ class ArchitectApi {
1004
1004
  return this.apiClient.callApi(
1005
1005
  '/api/v2/architect/schedulegroups',
1006
1006
  'GET',
1007
- { },
1008
- { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'name': opts['name'],'scheduleIds': opts['scheduleIds'],'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi') },
1009
- { },
1010
- { },
1007
+ { },
1008
+ { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'name': opts['name'],'scheduleIds': opts['scheduleIds'],'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi') },
1009
+ { },
1010
+ { },
1011
1011
  null,
1012
1012
  ['PureCloud OAuth'],
1013
- ['application/json'],
1013
+ ['application/json'],
1014
1014
  ['application/json']
1015
1015
  );
1016
1016
  }
@@ -1033,13 +1033,13 @@ class ArchitectApi {
1033
1033
  return this.apiClient.callApi(
1034
1034
  '/api/v2/architect/schedules',
1035
1035
  'GET',
1036
- { },
1037
- { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'name': opts['name'],'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi') },
1038
- { },
1039
- { },
1036
+ { },
1037
+ { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'name': opts['name'],'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi') },
1038
+ { },
1039
+ { },
1040
1040
  null,
1041
1041
  ['PureCloud OAuth'],
1042
- ['application/json'],
1042
+ ['application/json'],
1043
1043
  ['application/json']
1044
1044
  );
1045
1045
  }
@@ -1058,13 +1058,13 @@ class ArchitectApi {
1058
1058
  return this.apiClient.callApi(
1059
1059
  '/api/v2/architect/systemprompts/{promptId}',
1060
1060
  'GET',
1061
- { 'promptId': promptId },
1062
- { },
1063
- { },
1064
- { },
1061
+ { 'promptId': promptId },
1062
+ { },
1063
+ { },
1064
+ { },
1065
1065
  null,
1066
1066
  ['PureCloud OAuth'],
1067
- ['application/json'],
1067
+ ['application/json'],
1068
1068
  ['application/json']
1069
1069
  );
1070
1070
  }
@@ -1096,13 +1096,13 @@ class ArchitectApi {
1096
1096
  return this.apiClient.callApi(
1097
1097
  '/api/v2/architect/systemprompts/{promptId}/history/{historyId}',
1098
1098
  'GET',
1099
- { 'promptId': promptId,'historyId': historyId },
1100
- { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'sortOrder': opts['sortOrder'],'sortBy': opts['sortBy'],'action': this.apiClient.buildCollectionParam(opts['action'], 'multi') },
1101
- { },
1102
- { },
1099
+ { 'promptId': promptId,'historyId': historyId },
1100
+ { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'sortOrder': opts['sortOrder'],'sortBy': opts['sortBy'],'action': this.apiClient.buildCollectionParam(opts['action'], 'multi') },
1101
+ { },
1102
+ { },
1103
1103
  null,
1104
1104
  ['PureCloud OAuth'],
1105
- ['application/json'],
1105
+ ['application/json'],
1106
1106
  ['application/json']
1107
1107
  );
1108
1108
  }
@@ -1126,13 +1126,13 @@ class ArchitectApi {
1126
1126
  return this.apiClient.callApi(
1127
1127
  '/api/v2/architect/systemprompts/{promptId}/resources/{languageCode}',
1128
1128
  'GET',
1129
- { 'promptId': promptId,'languageCode': languageCode },
1130
- { },
1131
- { },
1132
- { },
1129
+ { 'promptId': promptId,'languageCode': languageCode },
1130
+ { },
1131
+ { },
1132
+ { },
1133
1133
  null,
1134
1134
  ['PureCloud OAuth'],
1135
- ['application/json'],
1135
+ ['application/json'],
1136
1136
  ['application/json']
1137
1137
  );
1138
1138
  }
@@ -1158,13 +1158,13 @@ class ArchitectApi {
1158
1158
  return this.apiClient.callApi(
1159
1159
  '/api/v2/architect/systemprompts/{promptId}/resources',
1160
1160
  'GET',
1161
- { 'promptId': promptId },
1162
- { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'] },
1163
- { },
1164
- { },
1161
+ { 'promptId': promptId },
1162
+ { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'] },
1163
+ { },
1164
+ { },
1165
1165
  null,
1166
1166
  ['PureCloud OAuth'],
1167
- ['application/json'],
1167
+ ['application/json'],
1168
1168
  ['application/json']
1169
1169
  );
1170
1170
  }
@@ -1188,13 +1188,13 @@ class ArchitectApi {
1188
1188
  return this.apiClient.callApi(
1189
1189
  '/api/v2/architect/systemprompts',
1190
1190
  'GET',
1191
- { },
1192
- { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'name': opts['name'],'description': opts['description'],'nameOrDescription': opts['nameOrDescription'] },
1193
- { },
1194
- { },
1191
+ { },
1192
+ { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'name': opts['name'],'description': opts['description'],'nameOrDescription': opts['nameOrDescription'] },
1193
+ { },
1194
+ { },
1195
1195
  null,
1196
1196
  ['PureCloud OAuth'],
1197
- ['application/json'],
1197
+ ['application/json'],
1198
1198
  ['application/json']
1199
1199
  );
1200
1200
  }
@@ -1217,13 +1217,13 @@ class ArchitectApi {
1217
1217
  return this.apiClient.callApi(
1218
1218
  '/api/v2/flows/{flowId}',
1219
1219
  'GET',
1220
- { 'flowId': flowId },
1221
- { 'deleted': opts['deleted'] },
1222
- { },
1223
- { },
1220
+ { 'flowId': flowId },
1221
+ { 'deleted': opts['deleted'] },
1222
+ { },
1223
+ { },
1224
1224
  null,
1225
1225
  ['PureCloud OAuth'],
1226
- ['application/json'],
1226
+ ['application/json'],
1227
1227
  ['application/json']
1228
1228
  );
1229
1229
  }
@@ -1255,13 +1255,13 @@ class ArchitectApi {
1255
1255
  return this.apiClient.callApi(
1256
1256
  '/api/v2/flows/{flowId}/history/{historyId}',
1257
1257
  'GET',
1258
- { 'flowId': flowId,'historyId': historyId },
1259
- { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'sortOrder': opts['sortOrder'],'sortBy': opts['sortBy'],'action': this.apiClient.buildCollectionParam(opts['action'], 'multi') },
1260
- { },
1261
- { },
1258
+ { 'flowId': flowId,'historyId': historyId },
1259
+ { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'sortOrder': opts['sortOrder'],'sortBy': opts['sortBy'],'action': this.apiClient.buildCollectionParam(opts['action'], 'multi') },
1260
+ { },
1261
+ { },
1262
1262
  null,
1263
1263
  ['PureCloud OAuth'],
1264
- ['application/json'],
1264
+ ['application/json'],
1265
1265
  ['application/json']
1266
1266
  );
1267
1267
  }
@@ -1284,13 +1284,13 @@ class ArchitectApi {
1284
1284
  return this.apiClient.callApi(
1285
1285
  '/api/v2/flows/{flowId}/latestconfiguration',
1286
1286
  'GET',
1287
- { 'flowId': flowId },
1288
- { 'deleted': opts['deleted'] },
1289
- { },
1290
- { },
1287
+ { 'flowId': flowId },
1288
+ { 'deleted': opts['deleted'] },
1289
+ { },
1290
+ { },
1291
1291
  null,
1292
1292
  ['PureCloud OAuth'],
1293
- ['application/json'],
1293
+ ['application/json'],
1294
1294
  ['application/json']
1295
1295
  );
1296
1296
  }
@@ -1318,13 +1318,13 @@ class ArchitectApi {
1318
1318
  return this.apiClient.callApi(
1319
1319
  '/api/v2/flows/{flowId}/versions/{versionId}',
1320
1320
  'GET',
1321
- { 'flowId': flowId,'versionId': versionId },
1322
- { 'deleted': opts['deleted'] },
1323
- { },
1324
- { },
1321
+ { 'flowId': flowId,'versionId': versionId },
1322
+ { 'deleted': opts['deleted'] },
1323
+ { },
1324
+ { },
1325
1325
  null,
1326
1326
  ['PureCloud OAuth'],
1327
- ['application/json'],
1327
+ ['application/json'],
1328
1328
  ['application/json']
1329
1329
  );
1330
1330
  }
@@ -1352,13 +1352,13 @@ class ArchitectApi {
1352
1352
  return this.apiClient.callApi(
1353
1353
  '/api/v2/flows/{flowId}/versions/{versionId}/configuration',
1354
1354
  'GET',
1355
- { 'flowId': flowId,'versionId': versionId },
1356
- { 'deleted': opts['deleted'] },
1357
- { },
1358
- { },
1355
+ { 'flowId': flowId,'versionId': versionId },
1356
+ { 'deleted': opts['deleted'] },
1357
+ { },
1358
+ { },
1359
1359
  null,
1360
1360
  ['PureCloud OAuth'],
1361
- ['application/json'],
1361
+ ['application/json'],
1362
1362
  ['application/json']
1363
1363
  );
1364
1364
  }
@@ -1383,13 +1383,13 @@ class ArchitectApi {
1383
1383
  return this.apiClient.callApi(
1384
1384
  '/api/v2/flows/{flowId}/versions',
1385
1385
  'GET',
1386
- { 'flowId': flowId },
1387
- { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'deleted': opts['deleted'] },
1388
- { },
1389
- { },
1386
+ { 'flowId': flowId },
1387
+ { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'deleted': opts['deleted'] },
1388
+ { },
1389
+ { },
1390
1390
  null,
1391
1391
  ['PureCloud OAuth'],
1392
- ['application/json'],
1392
+ ['application/json'],
1393
1393
  ['application/json']
1394
1394
  );
1395
1395
  }
@@ -1425,13 +1425,13 @@ class ArchitectApi {
1425
1425
  return this.apiClient.callApi(
1426
1426
  '/api/v2/flows',
1427
1427
  'GET',
1428
- { },
1429
- { 'type': this.apiClient.buildCollectionParam(opts['type'], 'multi'),'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi'),'name': opts['name'],'description': opts['description'],'nameOrDescription': opts['nameOrDescription'],'publishVersionId': opts['publishVersionId'],'editableBy': opts['editableBy'],'lockedBy': opts['lockedBy'],'lockedByClientId': opts['lockedByClientId'],'secure': opts['secure'],'deleted': opts['deleted'],'includeSchemas': opts['includeSchemas'],'publishedAfter': opts['publishedAfter'],'publishedBefore': opts['publishedBefore'],'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi') },
1430
- { },
1431
- { },
1428
+ { },
1429
+ { 'type': this.apiClient.buildCollectionParam(opts['type'], 'multi'),'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi'),'name': opts['name'],'description': opts['description'],'nameOrDescription': opts['nameOrDescription'],'publishVersionId': opts['publishVersionId'],'editableBy': opts['editableBy'],'lockedBy': opts['lockedBy'],'lockedByClientId': opts['lockedByClientId'],'secure': opts['secure'],'deleted': opts['deleted'],'includeSchemas': opts['includeSchemas'],'publishedAfter': opts['publishedAfter'],'publishedBefore': opts['publishedBefore'],'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi') },
1430
+ { },
1431
+ { },
1432
1432
  null,
1433
1433
  ['PureCloud OAuth'],
1434
- ['application/json'],
1434
+ ['application/json'],
1435
1435
  ['application/json']
1436
1436
  );
1437
1437
  }
@@ -1454,13 +1454,13 @@ class ArchitectApi {
1454
1454
  return this.apiClient.callApi(
1455
1455
  '/api/v2/flows/datatables/{datatableId}',
1456
1456
  'GET',
1457
- { 'datatableId': datatableId },
1458
- { 'expand': opts['expand'] },
1459
- { },
1460
- { },
1457
+ { 'datatableId': datatableId },
1458
+ { 'expand': opts['expand'] },
1459
+ { },
1460
+ { },
1461
1461
  null,
1462
1462
  ['PureCloud OAuth'],
1463
- ['application/json'],
1463
+ ['application/json'],
1464
1464
  ['application/json']
1465
1465
  );
1466
1466
  }
@@ -1484,13 +1484,13 @@ class ArchitectApi {
1484
1484
  return this.apiClient.callApi(
1485
1485
  '/api/v2/flows/datatables/{datatableId}/export/jobs/{exportJobId}',
1486
1486
  'GET',
1487
- { 'datatableId': datatableId,'exportJobId': exportJobId },
1488
- { },
1489
- { },
1490
- { },
1487
+ { 'datatableId': datatableId,'exportJobId': exportJobId },
1488
+ { },
1489
+ { },
1490
+ { },
1491
1491
  null,
1492
1492
  ['PureCloud OAuth'],
1493
- ['application/json'],
1493
+ ['application/json'],
1494
1494
  ['application/json']
1495
1495
  );
1496
1496
  }
@@ -1514,13 +1514,13 @@ class ArchitectApi {
1514
1514
  return this.apiClient.callApi(
1515
1515
  '/api/v2/flows/datatables/{datatableId}/import/jobs/{importJobId}',
1516
1516
  'GET',
1517
- { 'datatableId': datatableId,'importJobId': importJobId },
1518
- { },
1519
- { },
1520
- { },
1517
+ { 'datatableId': datatableId,'importJobId': importJobId },
1518
+ { },
1519
+ { },
1520
+ { },
1521
1521
  null,
1522
1522
  ['PureCloud OAuth'],
1523
- ['application/json'],
1523
+ ['application/json'],
1524
1524
  ['application/json']
1525
1525
  );
1526
1526
  }
@@ -1544,13 +1544,13 @@ class ArchitectApi {
1544
1544
  return this.apiClient.callApi(
1545
1545
  '/api/v2/flows/datatables/{datatableId}/import/jobs',
1546
1546
  'GET',
1547
- { 'datatableId': datatableId },
1548
- { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'] },
1549
- { },
1550
- { },
1547
+ { 'datatableId': datatableId },
1548
+ { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'] },
1549
+ { },
1550
+ { },
1551
1551
  null,
1552
1552
  ['PureCloud OAuth'],
1553
- ['application/json'],
1553
+ ['application/json'],
1554
1554
  ['application/json']
1555
1555
  );
1556
1556
  }
@@ -1578,13 +1578,13 @@ class ArchitectApi {
1578
1578
  return this.apiClient.callApi(
1579
1579
  '/api/v2/flows/datatables/{datatableId}/rows/{rowId}',
1580
1580
  'GET',
1581
- { 'datatableId': datatableId,'rowId': rowId },
1582
- { 'showbrief': opts['showbrief'] },
1583
- { },
1584
- { },
1581
+ { 'datatableId': datatableId,'rowId': rowId },
1582
+ { 'showbrief': opts['showbrief'] },
1583
+ { },
1584
+ { },
1585
1585
  null,
1586
1586
  ['PureCloud OAuth'],
1587
- ['application/json'],
1587
+ ['application/json'],
1588
1588
  ['application/json']
1589
1589
  );
1590
1590
  }
@@ -1609,13 +1609,13 @@ class ArchitectApi {
1609
1609
  return this.apiClient.callApi(
1610
1610
  '/api/v2/flows/datatables/{datatableId}/rows',
1611
1611
  'GET',
1612
- { 'datatableId': datatableId },
1613
- { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'showbrief': opts['showbrief'] },
1614
- { },
1615
- { },
1612
+ { 'datatableId': datatableId },
1613
+ { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'showbrief': opts['showbrief'] },
1614
+ { },
1615
+ { },
1616
1616
  null,
1617
1617
  ['PureCloud OAuth'],
1618
- ['application/json'],
1618
+ ['application/json'],
1619
1619
  ['application/json']
1620
1620
  );
1621
1621
  }
@@ -1639,13 +1639,13 @@ class ArchitectApi {
1639
1639
  return this.apiClient.callApi(
1640
1640
  '/api/v2/flows/datatables',
1641
1641
  'GET',
1642
- { },
1643
- { 'expand': opts['expand'],'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi'),'name': opts['name'] },
1644
- { },
1645
- { },
1642
+ { },
1643
+ { 'expand': opts['expand'],'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi'),'name': opts['name'] },
1644
+ { },
1645
+ { },
1646
1646
  null,
1647
1647
  ['PureCloud OAuth'],
1648
- ['application/json'],
1648
+ ['application/json'],
1649
1649
  ['application/json']
1650
1650
  );
1651
1651
  }
@@ -1668,13 +1668,13 @@ class ArchitectApi {
1668
1668
  return this.apiClient.callApi(
1669
1669
  '/api/v2/flows/datatables/divisionviews/{datatableId}',
1670
1670
  'GET',
1671
- { 'datatableId': datatableId },
1672
- { 'expand': opts['expand'] },
1673
- { },
1674
- { },
1671
+ { 'datatableId': datatableId },
1672
+ { 'expand': opts['expand'] },
1673
+ { },
1674
+ { },
1675
1675
  null,
1676
1676
  ['PureCloud OAuth'],
1677
- ['application/json'],
1677
+ ['application/json'],
1678
1678
  ['application/json']
1679
1679
  );
1680
1680
  }
@@ -1698,13 +1698,13 @@ class ArchitectApi {
1698
1698
  return this.apiClient.callApi(
1699
1699
  '/api/v2/flows/datatables/divisionviews',
1700
1700
  'GET',
1701
- { },
1702
- { 'expand': opts['expand'],'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi'),'name': opts['name'] },
1703
- { },
1704
- { },
1701
+ { },
1702
+ { 'expand': opts['expand'],'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi'),'name': opts['name'] },
1703
+ { },
1704
+ { },
1705
1705
  null,
1706
1706
  ['PureCloud OAuth'],
1707
- ['application/json'],
1707
+ ['application/json'],
1708
1708
  ['application/json']
1709
1709
  );
1710
1710
  }
@@ -1733,19 +1733,19 @@ class ArchitectApi {
1733
1733
  return this.apiClient.callApi(
1734
1734
  '/api/v2/flows/divisionviews',
1735
1735
  'GET',
1736
- { },
1737
- { 'type': this.apiClient.buildCollectionParam(opts['type'], 'multi'),'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi'),'name': opts['name'],'publishVersionId': opts['publishVersionId'],'publishedAfter': opts['publishedAfter'],'publishedBefore': opts['publishedBefore'],'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi'),'includeSchemas': opts['includeSchemas'] },
1738
- { },
1739
- { },
1736
+ { },
1737
+ { 'type': this.apiClient.buildCollectionParam(opts['type'], 'multi'),'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi'),'name': opts['name'],'publishVersionId': opts['publishVersionId'],'publishedAfter': opts['publishedAfter'],'publishedBefore': opts['publishedBefore'],'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi'),'includeSchemas': opts['includeSchemas'] },
1738
+ { },
1739
+ { },
1740
1740
  null,
1741
1741
  ['PureCloud OAuth'],
1742
- ['application/json'],
1742
+ ['application/json'],
1743
1743
  ['application/json']
1744
1744
  );
1745
1745
  }
1746
1746
 
1747
1747
  /**
1748
- * Get a flow execution's details. Flow execution details are available for several days after the flow is started.
1748
+ * Get a flow execution's details. Flow execution details are available for several days after the flow is started.
1749
1749
  *
1750
1750
  * @param {String} flowExecutionId flow execution ID
1751
1751
  */
@@ -1758,13 +1758,42 @@ class ArchitectApi {
1758
1758
  return this.apiClient.callApi(
1759
1759
  '/api/v2/flows/executions/{flowExecutionId}',
1760
1760
  'GET',
1761
- { 'flowExecutionId': flowExecutionId },
1762
- { },
1763
- { },
1764
- { },
1761
+ { 'flowExecutionId': flowExecutionId },
1762
+ { },
1763
+ { },
1764
+ { },
1765
1765
  null,
1766
1766
  ['PureCloud OAuth'],
1767
- ['application/json'],
1767
+ ['application/json'],
1768
+ ['application/json']
1769
+ );
1770
+ }
1771
+
1772
+ /**
1773
+ * Fetch Architect Job Status
1774
+ *
1775
+ * @param {String} jobId Job ID
1776
+ * @param {Object} opts Optional parameters
1777
+ * @param {Array.<String>} opts.expand Which fields, if any, to expand.
1778
+ */
1779
+ getFlowsJob(jobId, opts) {
1780
+ opts = opts || {};
1781
+
1782
+ // verify the required parameter 'jobId' is set
1783
+ if (jobId === undefined || jobId === null) {
1784
+ throw 'Missing the required parameter "jobId" when calling getFlowsJob';
1785
+ }
1786
+
1787
+ return this.apiClient.callApi(
1788
+ '/api/v2/flows/jobs/{jobId}',
1789
+ 'GET',
1790
+ { 'jobId': jobId },
1791
+ { 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
1792
+ { },
1793
+ { },
1794
+ null,
1795
+ ['PureCloud OAuth'],
1796
+ ['application/json'],
1768
1797
  ['application/json']
1769
1798
  );
1770
1799
  }
@@ -1783,13 +1812,13 @@ class ArchitectApi {
1783
1812
  return this.apiClient.callApi(
1784
1813
  '/api/v2/flows/milestones/{milestoneId}',
1785
1814
  'GET',
1786
- { 'milestoneId': milestoneId },
1787
- { },
1788
- { },
1789
- { },
1815
+ { 'milestoneId': milestoneId },
1816
+ { },
1817
+ { },
1818
+ { },
1790
1819
  null,
1791
1820
  ['PureCloud OAuth'],
1792
- ['application/json'],
1821
+ ['application/json'],
1793
1822
  ['application/json']
1794
1823
  );
1795
1824
  }
@@ -1815,13 +1844,13 @@ class ArchitectApi {
1815
1844
  return this.apiClient.callApi(
1816
1845
  '/api/v2/flows/milestones',
1817
1846
  'GET',
1818
- { },
1819
- { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi'),'name': opts['name'],'description': opts['description'],'nameOrDescription': opts['nameOrDescription'],'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi') },
1820
- { },
1821
- { },
1847
+ { },
1848
+ { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi'),'name': opts['name'],'description': opts['description'],'nameOrDescription': opts['nameOrDescription'],'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi') },
1849
+ { },
1850
+ { },
1822
1851
  null,
1823
1852
  ['PureCloud OAuth'],
1824
- ['application/json'],
1853
+ ['application/json'],
1825
1854
  ['application/json']
1826
1855
  );
1827
1856
  }
@@ -1845,13 +1874,13 @@ class ArchitectApi {
1845
1874
  return this.apiClient.callApi(
1846
1875
  '/api/v2/flows/milestones/divisionviews',
1847
1876
  'GET',
1848
- { },
1849
- { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi'),'name': opts['name'],'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi') },
1850
- { },
1851
- { },
1877
+ { },
1878
+ { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi'),'name': opts['name'],'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi') },
1879
+ { },
1880
+ { },
1852
1881
  null,
1853
1882
  ['PureCloud OAuth'],
1854
- ['application/json'],
1883
+ ['application/json'],
1855
1884
  ['application/json']
1856
1885
  );
1857
1886
  }
@@ -1870,13 +1899,13 @@ class ArchitectApi {
1870
1899
  return this.apiClient.callApi(
1871
1900
  '/api/v2/flows/outcomes/{flowOutcomeId}',
1872
1901
  'GET',
1873
- { 'flowOutcomeId': flowOutcomeId },
1874
- { },
1875
- { },
1876
- { },
1902
+ { 'flowOutcomeId': flowOutcomeId },
1903
+ { },
1904
+ { },
1905
+ { },
1877
1906
  null,
1878
1907
  ['PureCloud OAuth'],
1879
- ['application/json'],
1908
+ ['application/json'],
1880
1909
  ['application/json']
1881
1910
  );
1882
1911
  }
@@ -1902,13 +1931,13 @@ class ArchitectApi {
1902
1931
  return this.apiClient.callApi(
1903
1932
  '/api/v2/flows/outcomes',
1904
1933
  'GET',
1905
- { },
1906
- { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi'),'name': opts['name'],'description': opts['description'],'nameOrDescription': opts['nameOrDescription'],'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi') },
1907
- { },
1908
- { },
1934
+ { },
1935
+ { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi'),'name': opts['name'],'description': opts['description'],'nameOrDescription': opts['nameOrDescription'],'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi') },
1936
+ { },
1937
+ { },
1909
1938
  null,
1910
1939
  ['PureCloud OAuth'],
1911
- ['application/json'],
1940
+ ['application/json'],
1912
1941
  ['application/json']
1913
1942
  );
1914
1943
  }
@@ -1932,13 +1961,13 @@ class ArchitectApi {
1932
1961
  return this.apiClient.callApi(
1933
1962
  '/api/v2/flows/outcomes/divisionviews',
1934
1963
  'GET',
1935
- { },
1936
- { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi'),'name': opts['name'],'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi') },
1937
- { },
1938
- { },
1964
+ { },
1965
+ { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi'),'name': opts['name'],'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi') },
1966
+ { },
1967
+ { },
1939
1968
  null,
1940
1969
  ['PureCloud OAuth'],
1941
- ['application/json'],
1970
+ ['application/json'],
1942
1971
  ['application/json']
1943
1972
  );
1944
1973
  }
@@ -1952,13 +1981,13 @@ class ArchitectApi {
1952
1981
  return this.apiClient.callApi(
1953
1982
  '/api/v2/architect/dependencytracking/build',
1954
1983
  'POST',
1955
- { },
1956
- { },
1957
- { },
1958
- { },
1984
+ { },
1985
+ { },
1986
+ { },
1987
+ { },
1959
1988
  null,
1960
1989
  ['PureCloud OAuth'],
1961
- ['application/json'],
1990
+ ['application/json'],
1962
1991
  ['application/json']
1963
1992
  );
1964
1993
  }
@@ -1977,13 +2006,13 @@ class ArchitectApi {
1977
2006
  return this.apiClient.callApi(
1978
2007
  '/api/v2/architect/emergencygroups',
1979
2008
  'POST',
1980
- { },
1981
- { },
1982
- { },
1983
- { },
2009
+ { },
2010
+ { },
2011
+ { },
2012
+ { },
1984
2013
  body,
1985
2014
  ['PureCloud OAuth'],
1986
- ['application/json'],
2015
+ ['application/json'],
1987
2016
  ['application/json']
1988
2017
  );
1989
2018
  }
@@ -2002,13 +2031,13 @@ class ArchitectApi {
2002
2031
  return this.apiClient.callApi(
2003
2032
  '/api/v2/architect/ivrs',
2004
2033
  'POST',
2005
- { },
2006
- { },
2007
- { },
2008
- { },
2034
+ { },
2035
+ { },
2036
+ { },
2037
+ { },
2009
2038
  body,
2010
2039
  ['PureCloud OAuth'],
2011
- ['application/json'],
2040
+ ['application/json'],
2012
2041
  ['application/json']
2013
2042
  );
2014
2043
  }
@@ -2027,13 +2056,13 @@ class ArchitectApi {
2027
2056
  return this.apiClient.callApi(
2028
2057
  '/api/v2/architect/prompts/{promptId}/history',
2029
2058
  'POST',
2030
- { 'promptId': promptId },
2031
- { },
2032
- { },
2033
- { },
2059
+ { 'promptId': promptId },
2060
+ { },
2061
+ { },
2062
+ { },
2034
2063
  null,
2035
2064
  ['PureCloud OAuth'],
2036
- ['application/json'],
2065
+ ['application/json'],
2037
2066
  ['application/json']
2038
2067
  );
2039
2068
  }
@@ -2057,13 +2086,13 @@ class ArchitectApi {
2057
2086
  return this.apiClient.callApi(
2058
2087
  '/api/v2/architect/prompts/{promptId}/resources',
2059
2088
  'POST',
2060
- { 'promptId': promptId },
2061
- { },
2062
- { },
2063
- { },
2089
+ { 'promptId': promptId },
2090
+ { },
2091
+ { },
2092
+ { },
2064
2093
  body,
2065
2094
  ['PureCloud OAuth'],
2066
- ['application/json'],
2095
+ ['application/json'],
2067
2096
  ['application/json']
2068
2097
  );
2069
2098
  }
@@ -2082,13 +2111,13 @@ class ArchitectApi {
2082
2111
  return this.apiClient.callApi(
2083
2112
  '/api/v2/architect/prompts',
2084
2113
  'POST',
2085
- { },
2086
- { },
2087
- { },
2088
- { },
2114
+ { },
2115
+ { },
2116
+ { },
2117
+ { },
2089
2118
  body,
2090
2119
  ['PureCloud OAuth'],
2091
- ['application/json'],
2120
+ ['application/json'],
2092
2121
  ['application/json']
2093
2122
  );
2094
2123
  }
@@ -2107,13 +2136,13 @@ class ArchitectApi {
2107
2136
  return this.apiClient.callApi(
2108
2137
  '/api/v2/architect/schedulegroups',
2109
2138
  'POST',
2110
- { },
2111
- { },
2112
- { },
2113
- { },
2139
+ { },
2140
+ { },
2141
+ { },
2142
+ { },
2114
2143
  body,
2115
2144
  ['PureCloud OAuth'],
2116
- ['application/json'],
2145
+ ['application/json'],
2117
2146
  ['application/json']
2118
2147
  );
2119
2148
  }
@@ -2132,13 +2161,13 @@ class ArchitectApi {
2132
2161
  return this.apiClient.callApi(
2133
2162
  '/api/v2/architect/schedules',
2134
2163
  'POST',
2135
- { },
2136
- { },
2137
- { },
2138
- { },
2164
+ { },
2165
+ { },
2166
+ { },
2167
+ { },
2139
2168
  body,
2140
2169
  ['PureCloud OAuth'],
2141
- ['application/json'],
2170
+ ['application/json'],
2142
2171
  ['application/json']
2143
2172
  );
2144
2173
  }
@@ -2157,13 +2186,13 @@ class ArchitectApi {
2157
2186
  return this.apiClient.callApi(
2158
2187
  '/api/v2/architect/systemprompts/{promptId}/history',
2159
2188
  'POST',
2160
- { 'promptId': promptId },
2161
- { },
2162
- { },
2163
- { },
2189
+ { 'promptId': promptId },
2190
+ { },
2191
+ { },
2192
+ { },
2164
2193
  null,
2165
2194
  ['PureCloud OAuth'],
2166
- ['application/json'],
2195
+ ['application/json'],
2167
2196
  ['application/json']
2168
2197
  );
2169
2198
  }
@@ -2187,13 +2216,13 @@ class ArchitectApi {
2187
2216
  return this.apiClient.callApi(
2188
2217
  '/api/v2/architect/systemprompts/{promptId}/resources',
2189
2218
  'POST',
2190
- { 'promptId': promptId },
2191
- { },
2192
- { },
2193
- { },
2219
+ { 'promptId': promptId },
2220
+ { },
2221
+ { },
2222
+ { },
2194
2223
  body,
2195
2224
  ['PureCloud OAuth'],
2196
- ['application/json'],
2225
+ ['application/json'],
2197
2226
  ['application/json']
2198
2227
  );
2199
2228
  }
@@ -2212,13 +2241,13 @@ class ArchitectApi {
2212
2241
  return this.apiClient.callApi(
2213
2242
  '/api/v2/flows/{flowId}/history',
2214
2243
  'POST',
2215
- { 'flowId': flowId },
2216
- { },
2217
- { },
2218
- { },
2244
+ { 'flowId': flowId },
2245
+ { },
2246
+ { },
2247
+ { },
2219
2248
  null,
2220
2249
  ['PureCloud OAuth'],
2221
- ['application/json'],
2250
+ ['application/json'],
2222
2251
  ['application/json']
2223
2252
  );
2224
2253
  }
@@ -2227,7 +2256,7 @@ class ArchitectApi {
2227
2256
  * Create flow version
2228
2257
  *
2229
2258
  * @param {String} flowId Flow ID
2230
- * @param {Object} body
2259
+ * @param {Object.<String, {String: Object}>} body
2231
2260
  */
2232
2261
  postFlowVersions(flowId, body) {
2233
2262
  // verify the required parameter 'flowId' is set
@@ -2242,13 +2271,13 @@ class ArchitectApi {
2242
2271
  return this.apiClient.callApi(
2243
2272
  '/api/v2/flows/{flowId}/versions',
2244
2273
  'POST',
2245
- { 'flowId': flowId },
2246
- { },
2247
- { },
2248
- { },
2274
+ { 'flowId': flowId },
2275
+ { },
2276
+ { },
2277
+ { },
2249
2278
  body,
2250
2279
  ['PureCloud OAuth'],
2251
- ['application/json'],
2280
+ ['application/json'],
2252
2281
  ['application/json']
2253
2282
  );
2254
2283
  }
@@ -2271,13 +2300,13 @@ class ArchitectApi {
2271
2300
  return this.apiClient.callApi(
2272
2301
  '/api/v2/flows',
2273
2302
  'POST',
2274
- { },
2275
- { 'language': opts['language'] },
2276
- { },
2277
- { },
2303
+ { },
2304
+ { 'language': opts['language'] },
2305
+ { },
2306
+ { },
2278
2307
  body,
2279
2308
  ['PureCloud OAuth'],
2280
- ['application/json'],
2309
+ ['application/json'],
2281
2310
  ['application/json']
2282
2311
  );
2283
2312
  }
@@ -2296,13 +2325,13 @@ class ArchitectApi {
2296
2325
  return this.apiClient.callApi(
2297
2326
  '/api/v2/flows/actions/checkin',
2298
2327
  'POST',
2299
- { },
2300
- { 'flow': flow },
2301
- { },
2302
- { },
2328
+ { },
2329
+ { 'flow': flow },
2330
+ { },
2331
+ { },
2303
2332
  null,
2304
2333
  ['PureCloud OAuth'],
2305
- ['application/json'],
2334
+ ['application/json'],
2306
2335
  ['application/json']
2307
2336
  );
2308
2337
  }
@@ -2321,13 +2350,13 @@ class ArchitectApi {
2321
2350
  return this.apiClient.callApi(
2322
2351
  '/api/v2/flows/actions/checkout',
2323
2352
  'POST',
2324
- { },
2325
- { 'flow': flow },
2326
- { },
2327
- { },
2353
+ { },
2354
+ { 'flow': flow },
2355
+ { },
2356
+ { },
2328
2357
  null,
2329
2358
  ['PureCloud OAuth'],
2330
- ['application/json'],
2359
+ ['application/json'],
2331
2360
  ['application/json']
2332
2361
  );
2333
2362
  }
@@ -2346,13 +2375,13 @@ class ArchitectApi {
2346
2375
  return this.apiClient.callApi(
2347
2376
  '/api/v2/flows/actions/deactivate',
2348
2377
  'POST',
2349
- { },
2350
- { 'flow': flow },
2351
- { },
2352
- { },
2378
+ { },
2379
+ { 'flow': flow },
2380
+ { },
2381
+ { },
2353
2382
  null,
2354
2383
  ['PureCloud OAuth'],
2355
- ['application/json'],
2384
+ ['application/json'],
2356
2385
  ['application/json']
2357
2386
  );
2358
2387
  }
@@ -2375,13 +2404,13 @@ class ArchitectApi {
2375
2404
  return this.apiClient.callApi(
2376
2405
  '/api/v2/flows/actions/publish',
2377
2406
  'POST',
2378
- { },
2379
- { 'flow': flow,'version': opts['version'] },
2380
- { },
2381
- { },
2407
+ { },
2408
+ { 'flow': flow,'version': opts['version'] },
2409
+ { },
2410
+ { },
2382
2411
  null,
2383
2412
  ['PureCloud OAuth'],
2384
- ['application/json'],
2413
+ ['application/json'],
2385
2414
  ['application/json']
2386
2415
  );
2387
2416
  }
@@ -2400,13 +2429,13 @@ class ArchitectApi {
2400
2429
  return this.apiClient.callApi(
2401
2430
  '/api/v2/flows/actions/revert',
2402
2431
  'POST',
2403
- { },
2404
- { 'flow': flow },
2405
- { },
2406
- { },
2432
+ { },
2433
+ { 'flow': flow },
2434
+ { },
2435
+ { },
2407
2436
  null,
2408
2437
  ['PureCloud OAuth'],
2409
- ['application/json'],
2438
+ ['application/json'],
2410
2439
  ['application/json']
2411
2440
  );
2412
2441
  }
@@ -2425,13 +2454,13 @@ class ArchitectApi {
2425
2454
  return this.apiClient.callApi(
2426
2455
  '/api/v2/flows/actions/unlock',
2427
2456
  'POST',
2428
- { },
2429
- { 'flow': flow },
2430
- { },
2431
- { },
2457
+ { },
2458
+ { 'flow': flow },
2459
+ { },
2460
+ { },
2432
2461
  null,
2433
2462
  ['PureCloud OAuth'],
2434
- ['application/json'],
2463
+ ['application/json'],
2435
2464
  ['application/json']
2436
2465
  );
2437
2466
  }
@@ -2450,13 +2479,13 @@ class ArchitectApi {
2450
2479
  return this.apiClient.callApi(
2451
2480
  '/api/v2/flows/datatables/{datatableId}/export/jobs',
2452
2481
  'POST',
2453
- { 'datatableId': datatableId },
2454
- { },
2455
- { },
2456
- { },
2482
+ { 'datatableId': datatableId },
2483
+ { },
2484
+ { },
2485
+ { },
2457
2486
  null,
2458
2487
  ['PureCloud OAuth'],
2459
- ['application/json'],
2488
+ ['application/json'],
2460
2489
  ['application/json']
2461
2490
  );
2462
2491
  }
@@ -2480,22 +2509,22 @@ class ArchitectApi {
2480
2509
  return this.apiClient.callApi(
2481
2510
  '/api/v2/flows/datatables/{datatableId}/import/jobs',
2482
2511
  'POST',
2483
- { 'datatableId': datatableId },
2484
- { },
2485
- { },
2486
- { },
2512
+ { 'datatableId': datatableId },
2513
+ { },
2514
+ { },
2515
+ { },
2487
2516
  body,
2488
2517
  ['PureCloud OAuth'],
2489
- ['application/json'],
2518
+ ['application/json'],
2490
2519
  ['application/json']
2491
2520
  );
2492
2521
  }
2493
2522
 
2494
2523
  /**
2495
2524
  * Create a new row entry for the datatable.
2496
- * Will add the passed in row entry to the datatable with the given datatableId after verifying it against the schema. The DataTableRow should be a json-ized&#39; stream of key -&gt; value pairs { \&quot;Field1\&quot;: \&quot;XYZZY\&quot;, \&quot;Field2\&quot;: false, \&quot;KEY\&quot;: \&quot;27272\&quot; }
2525
+ * Will add the passed in row entry to the datatable with the given datatableId after verifying it against the schema. The DataTableRow should be a json-ized stream of key -> value pairs { "Field1": "XYZZY", "Field2": false, "KEY": "27272" }
2497
2526
  * @param {String} datatableId id of datatable
2498
- * @param {Object} dataTableRow
2527
+ * @param {Object.<String, {String: Object}>} dataTableRow
2499
2528
  */
2500
2529
  postFlowsDatatableRows(datatableId, dataTableRow) {
2501
2530
  // verify the required parameter 'datatableId' is set
@@ -2510,20 +2539,20 @@ class ArchitectApi {
2510
2539
  return this.apiClient.callApi(
2511
2540
  '/api/v2/flows/datatables/{datatableId}/rows',
2512
2541
  'POST',
2513
- { 'datatableId': datatableId },
2514
- { },
2515
- { },
2516
- { },
2542
+ { 'datatableId': datatableId },
2543
+ { },
2544
+ { },
2545
+ { },
2517
2546
  dataTableRow,
2518
2547
  ['PureCloud OAuth'],
2519
- ['application/json'],
2548
+ ['application/json'],
2520
2549
  ['application/json']
2521
2550
  );
2522
2551
  }
2523
2552
 
2524
2553
  /**
2525
2554
  * Create a new datatable with the specified json-schema definition
2526
- * This will create a new datatable with fields that match the property definitions in the JSON schema. The schema&#39;s title field will be overridden by the name field in the DataTable object. See also http://json-schema.org/
2555
+ * This will create a new datatable with fields that match the property definitions in the JSON schema. The schemas title field will be overridden by the name field in the DataTable object. See also http://json-schema.org/
2527
2556
  * @param {Object} body datatable json-schema
2528
2557
  */
2529
2558
  postFlowsDatatables(body) {
@@ -2535,19 +2564,19 @@ class ArchitectApi {
2535
2564
  return this.apiClient.callApi(
2536
2565
  '/api/v2/flows/datatables',
2537
2566
  'POST',
2538
- { },
2539
- { },
2540
- { },
2541
- { },
2567
+ { },
2568
+ { },
2569
+ { },
2570
+ { },
2542
2571
  body,
2543
2572
  ['PureCloud OAuth'],
2544
- ['application/json'],
2573
+ ['application/json'],
2545
2574
  ['application/json']
2546
2575
  );
2547
2576
  }
2548
2577
 
2549
2578
  /**
2550
- * Launch an instance of a flow definition, for flow types that support it such as the &#39;workflow&#39; type.
2579
+ * Launch an instance of a flow definition, for flow types that support it such as the 'workflow' type.
2551
2580
  * The launch is asynchronous, it returns as soon as the flow starts. You can use the returned ID to query its status if you need.
2552
2581
  * @param {Object} flowLaunchRequest
2553
2582
  */
@@ -2560,13 +2589,33 @@ class ArchitectApi {
2560
2589
  return this.apiClient.callApi(
2561
2590
  '/api/v2/flows/executions',
2562
2591
  'POST',
2563
- { },
2564
- { },
2565
- { },
2566
- { },
2592
+ { },
2593
+ { },
2594
+ { },
2595
+ { },
2567
2596
  flowLaunchRequest,
2568
2597
  ['PureCloud OAuth'],
2569
- ['application/json'],
2598
+ ['application/json'],
2599
+ ['application/json']
2600
+ );
2601
+ }
2602
+
2603
+ /**
2604
+ * Register Architect Job. Returns a URL where a file, such as an Architect flow YAML file, can be PUT which will then initiate the job.
2605
+ *
2606
+ */
2607
+ postFlowsJobs() {
2608
+
2609
+ return this.apiClient.callApi(
2610
+ '/api/v2/flows/jobs',
2611
+ 'POST',
2612
+ { },
2613
+ { },
2614
+ { },
2615
+ { },
2616
+ null,
2617
+ ['PureCloud OAuth'],
2618
+ ['application/json'],
2570
2619
  ['application/json']
2571
2620
  );
2572
2621
  }
@@ -2584,13 +2633,13 @@ class ArchitectApi {
2584
2633
  return this.apiClient.callApi(
2585
2634
  '/api/v2/flows/milestones',
2586
2635
  'POST',
2587
- { },
2588
- { },
2589
- { },
2590
- { },
2636
+ { },
2637
+ { },
2638
+ { },
2639
+ { },
2591
2640
  opts['body'],
2592
2641
  ['PureCloud OAuth'],
2593
- ['application/json'],
2642
+ ['application/json'],
2594
2643
  ['application/json']
2595
2644
  );
2596
2645
  }
@@ -2608,13 +2657,13 @@ class ArchitectApi {
2608
2657
  return this.apiClient.callApi(
2609
2658
  '/api/v2/flows/outcomes',
2610
2659
  'POST',
2611
- { },
2612
- { },
2613
- { },
2614
- { },
2660
+ { },
2661
+ { },
2662
+ { },
2663
+ { },
2615
2664
  opts['body'],
2616
2665
  ['PureCloud OAuth'],
2617
- ['application/json'],
2666
+ ['application/json'],
2618
2667
  ['application/json']
2619
2668
  );
2620
2669
  }
@@ -2638,13 +2687,13 @@ class ArchitectApi {
2638
2687
  return this.apiClient.callApi(
2639
2688
  '/api/v2/architect/emergencygroups/{emergencyGroupId}',
2640
2689
  'PUT',
2641
- { 'emergencyGroupId': emergencyGroupId },
2642
- { },
2643
- { },
2644
- { },
2690
+ { 'emergencyGroupId': emergencyGroupId },
2691
+ { },
2692
+ { },
2693
+ { },
2645
2694
  body,
2646
2695
  ['PureCloud OAuth'],
2647
- ['application/json'],
2696
+ ['application/json'],
2648
2697
  ['application/json']
2649
2698
  );
2650
2699
  }
@@ -2668,13 +2717,13 @@ class ArchitectApi {
2668
2717
  return this.apiClient.callApi(
2669
2718
  '/api/v2/architect/ivrs/{ivrId}',
2670
2719
  'PUT',
2671
- { 'ivrId': ivrId },
2672
- { },
2673
- { },
2674
- { },
2720
+ { 'ivrId': ivrId },
2721
+ { },
2722
+ { },
2723
+ { },
2675
2724
  body,
2676
2725
  ['PureCloud OAuth'],
2677
- ['application/json'],
2726
+ ['application/json'],
2678
2727
  ['application/json']
2679
2728
  );
2680
2729
  }
@@ -2698,13 +2747,13 @@ class ArchitectApi {
2698
2747
  return this.apiClient.callApi(
2699
2748
  '/api/v2/architect/prompts/{promptId}',
2700
2749
  'PUT',
2701
- { 'promptId': promptId },
2702
- { },
2703
- { },
2704
- { },
2750
+ { 'promptId': promptId },
2751
+ { },
2752
+ { },
2753
+ { },
2705
2754
  body,
2706
2755
  ['PureCloud OAuth'],
2707
- ['application/json'],
2756
+ ['application/json'],
2708
2757
  ['application/json']
2709
2758
  );
2710
2759
  }
@@ -2733,13 +2782,13 @@ class ArchitectApi {
2733
2782
  return this.apiClient.callApi(
2734
2783
  '/api/v2/architect/prompts/{promptId}/resources/{languageCode}',
2735
2784
  'PUT',
2736
- { 'promptId': promptId,'languageCode': languageCode },
2737
- { },
2738
- { },
2739
- { },
2785
+ { 'promptId': promptId,'languageCode': languageCode },
2786
+ { },
2787
+ { },
2788
+ { },
2740
2789
  body,
2741
2790
  ['PureCloud OAuth'],
2742
- ['application/json'],
2791
+ ['application/json'],
2743
2792
  ['application/json']
2744
2793
  );
2745
2794
  }
@@ -2763,13 +2812,13 @@ class ArchitectApi {
2763
2812
  return this.apiClient.callApi(
2764
2813
  '/api/v2/architect/schedules/{scheduleId}',
2765
2814
  'PUT',
2766
- { 'scheduleId': scheduleId },
2767
- { },
2768
- { },
2769
- { },
2815
+ { 'scheduleId': scheduleId },
2816
+ { },
2817
+ { },
2818
+ { },
2770
2819
  body,
2771
2820
  ['PureCloud OAuth'],
2772
- ['application/json'],
2821
+ ['application/json'],
2773
2822
  ['application/json']
2774
2823
  );
2775
2824
  }
@@ -2793,13 +2842,13 @@ class ArchitectApi {
2793
2842
  return this.apiClient.callApi(
2794
2843
  '/api/v2/architect/schedulegroups/{scheduleGroupId}',
2795
2844
  'PUT',
2796
- { 'scheduleGroupId': scheduleGroupId },
2797
- { },
2798
- { },
2799
- { },
2845
+ { 'scheduleGroupId': scheduleGroupId },
2846
+ { },
2847
+ { },
2848
+ { },
2800
2849
  body,
2801
2850
  ['PureCloud OAuth'],
2802
- ['application/json'],
2851
+ ['application/json'],
2803
2852
  ['application/json']
2804
2853
  );
2805
2854
  }
@@ -2828,13 +2877,13 @@ class ArchitectApi {
2828
2877
  return this.apiClient.callApi(
2829
2878
  '/api/v2/architect/systemprompts/{promptId}/resources/{languageCode}',
2830
2879
  'PUT',
2831
- { 'promptId': promptId,'languageCode': languageCode },
2832
- { },
2833
- { },
2834
- { },
2880
+ { 'promptId': promptId,'languageCode': languageCode },
2881
+ { },
2882
+ { },
2883
+ { },
2835
2884
  body,
2836
2885
  ['PureCloud OAuth'],
2837
- ['application/json'],
2886
+ ['application/json'],
2838
2887
  ['application/json']
2839
2888
  );
2840
2889
  }
@@ -2858,13 +2907,13 @@ class ArchitectApi {
2858
2907
  return this.apiClient.callApi(
2859
2908
  '/api/v2/flows/{flowId}',
2860
2909
  'PUT',
2861
- { 'flowId': flowId },
2862
- { },
2863
- { },
2864
- { },
2910
+ { 'flowId': flowId },
2911
+ { },
2912
+ { },
2913
+ { },
2865
2914
  body,
2866
2915
  ['PureCloud OAuth'],
2867
- ['application/json'],
2916
+ ['application/json'],
2868
2917
  ['application/json']
2869
2918
  );
2870
2919
  }
@@ -2892,24 +2941,24 @@ class ArchitectApi {
2892
2941
  return this.apiClient.callApi(
2893
2942
  '/api/v2/flows/datatables/{datatableId}',
2894
2943
  'PUT',
2895
- { 'datatableId': datatableId },
2896
- { 'expand': opts['expand'] },
2897
- { },
2898
- { },
2944
+ { 'datatableId': datatableId },
2945
+ { 'expand': opts['expand'] },
2946
+ { },
2947
+ { },
2899
2948
  body,
2900
2949
  ['PureCloud OAuth'],
2901
- ['application/json'],
2950
+ ['application/json'],
2902
2951
  ['application/json']
2903
2952
  );
2904
2953
  }
2905
2954
 
2906
2955
  /**
2907
2956
  * Update a row entry
2908
- * Updates a row with the given rowId (the value of the key field) to the new values. The DataTableRow should be a json-ized&#39; stream of key -&gt; value pairs { \&quot;Field1\&quot;: \&quot;XYZZY\&quot;, \&quot;Field2\&quot;: false, \&quot;KEY\&quot;: \&quot;27272\&quot; }
2957
+ * Updates a row with the given rowId (the value of the key field) to the new values. The DataTableRow should be a json-ized stream of key -> value pairs { "Field1": "XYZZY", "Field2": false, "KEY": "27272" }
2909
2958
  * @param {String} datatableId id of datatable
2910
2959
  * @param {String} rowId the key for the row
2911
2960
  * @param {Object} opts Optional parameters
2912
- * @param {Object} opts.body datatable row
2961
+ * @param {Object.<String, {String: Object}>} opts.body datatable row
2913
2962
  */
2914
2963
  putFlowsDatatableRow(datatableId, rowId, opts) {
2915
2964
  opts = opts || {};
@@ -2926,13 +2975,13 @@ class ArchitectApi {
2926
2975
  return this.apiClient.callApi(
2927
2976
  '/api/v2/flows/datatables/{datatableId}/rows/{rowId}',
2928
2977
  'PUT',
2929
- { 'datatableId': datatableId,'rowId': rowId },
2930
- { },
2931
- { },
2932
- { },
2978
+ { 'datatableId': datatableId,'rowId': rowId },
2979
+ { },
2980
+ { },
2981
+ { },
2933
2982
  opts['body'],
2934
2983
  ['PureCloud OAuth'],
2935
- ['application/json'],
2984
+ ['application/json'],
2936
2985
  ['application/json']
2937
2986
  );
2938
2987
  }
@@ -2955,13 +3004,13 @@ class ArchitectApi {
2955
3004
  return this.apiClient.callApi(
2956
3005
  '/api/v2/flows/milestones/{milestoneId}',
2957
3006
  'PUT',
2958
- { 'milestoneId': milestoneId },
2959
- { },
2960
- { },
2961
- { },
3007
+ { 'milestoneId': milestoneId },
3008
+ { },
3009
+ { },
3010
+ { },
2962
3011
  opts['body'],
2963
3012
  ['PureCloud OAuth'],
2964
- ['application/json'],
3013
+ ['application/json'],
2965
3014
  ['application/json']
2966
3015
  );
2967
3016
  }
@@ -2984,13 +3033,13 @@ class ArchitectApi {
2984
3033
  return this.apiClient.callApi(
2985
3034
  '/api/v2/flows/outcomes/{flowOutcomeId}',
2986
3035
  'PUT',
2987
- { 'flowOutcomeId': flowOutcomeId },
2988
- { },
2989
- { },
2990
- { },
3036
+ { 'flowOutcomeId': flowOutcomeId },
3037
+ { },
3038
+ { },
3039
+ { },
2991
3040
  opts['body'],
2992
3041
  ['PureCloud OAuth'],
2993
- ['application/json'],
3042
+ ['application/json'],
2994
3043
  ['application/json']
2995
3044
  );
2996
3045
  }