purecloud-platform-client-v2 249.0.0 → 250.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (97) hide show
  1. package/README.md +34 -3
  2. package/dist/node/purecloud-platform-client-v2.js +20042 -5569
  3. package/dist/web-amd/purecloud-platform-client-v2.js +20042 -5569
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +11159 -5369
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +11159 -5369
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +10600 -2242
  9. package/package.json +1 -1
  10. package/src/purecloud-platform-client-v2/ApiClient.js +26 -2
  11. package/src/purecloud-platform-client-v2/api/AIStudioApi.js +136 -40
  12. package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +130 -39
  13. package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +18 -6
  14. package/src/purecloud-platform-client-v2/api/AgentUIApi.js +29 -9
  15. package/src/purecloud-platform-client-v2/api/AlertingApi.js +86 -26
  16. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +917 -224
  17. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +754 -226
  18. package/src/purecloud-platform-client-v2/api/AssistantCopilotVariationsApi.js +36 -11
  19. package/src/purecloud-platform-client-v2/api/AuditApi.js +38 -12
  20. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +302 -91
  21. package/src/purecloud-platform-client-v2/api/BackgroundAssistantApi.js +7 -3
  22. package/src/purecloud-platform-client-v2/api/BillingApi.js +41 -13
  23. package/src/purecloud-platform-client-v2/api/BusinessRulesApi.js +180 -53
  24. package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +11 -4
  25. package/src/purecloud-platform-client-v2/api/CaseManagementApi.js +187 -56
  26. package/src/purecloud-platform-client-v2/api/ChatApi.js +223 -65
  27. package/src/purecloud-platform-client-v2/api/CoachingApi.js +124 -37
  28. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +165 -51
  29. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +1992 -578
  30. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +22 -7
  31. package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +39 -12
  32. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +4 -2
  33. package/src/purecloud-platform-client-v2/api/EmailsApi.js +28 -9
  34. package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +35 -11
  35. package/src/purecloud-platform-client-v2/api/EventsApi.js +22 -7
  36. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +700 -206
  37. package/src/purecloud-platform-client-v2/api/FaxApi.js +49 -15
  38. package/src/purecloud-platform-client-v2/api/FlowsApi.js +42 -13
  39. package/src/purecloud-platform-client-v2/api/GamificationApi.js +419 -125
  40. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +21 -7
  41. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +29 -9
  42. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +106 -32
  43. package/src/purecloud-platform-client-v2/api/GroupsApi.js +103 -31
  44. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +267 -77
  45. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +20 -7
  46. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +461 -139
  47. package/src/purecloud-platform-client-v2/api/IntentsApi.js +93 -28
  48. package/src/purecloud-platform-client-v2/api/JourneyApi.js +872 -120
  49. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +618 -185
  50. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +221 -66
  51. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +53 -16
  52. package/src/purecloud-platform-client-v2/api/LearningApi.js +199 -60
  53. package/src/purecloud-platform-client-v2/api/LicenseApi.js +51 -16
  54. package/src/purecloud-platform-client-v2/api/LocationsApi.js +45 -14
  55. package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +34 -11
  56. package/src/purecloud-platform-client-v2/api/MessagingApi.js +84 -25
  57. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +28 -9
  58. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +41 -13
  59. package/src/purecloud-platform-client-v2/api/OAuthApi.js +72 -22
  60. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +58 -18
  61. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +21 -7
  62. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +122 -36
  63. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +297 -87
  64. package/src/purecloud-platform-client-v2/api/OutboundApi.js +1066 -312
  65. package/src/purecloud-platform-client-v2/api/PresenceApi.js +162 -48
  66. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +41 -13
  67. package/src/purecloud-platform-client-v2/api/QualityApi.js +409 -121
  68. package/src/purecloud-platform-client-v2/api/RecordingApi.js +351 -108
  69. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +113 -34
  70. package/src/purecloud-platform-client-v2/api/RoutingApi.js +964 -284
  71. package/src/purecloud-platform-client-v2/api/SCIMApi.js +123 -39
  72. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +50 -17
  73. package/src/purecloud-platform-client-v2/api/SearchApi.js +147 -44
  74. package/src/purecloud-platform-client-v2/api/SettingsApi.js +87 -26
  75. package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +208 -67
  76. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +389 -114
  77. package/src/purecloud-platform-client-v2/api/StationsApi.js +18 -6
  78. package/src/purecloud-platform-client-v2/api/SuggestApi.js +13 -5
  79. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +473 -138
  80. package/src/purecloud-platform-client-v2/api/TeamsApi.js +55 -17
  81. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +80 -24
  82. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +751 -220
  83. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +25 -8
  84. package/src/purecloud-platform-client-v2/api/TokensApi.js +35 -11
  85. package/src/purecloud-platform-client-v2/api/UploadsApi.js +78 -23
  86. package/src/purecloud-platform-client-v2/api/UsageApi.js +62 -19
  87. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +27 -9
  88. package/src/purecloud-platform-client-v2/api/UsersApi.js +717 -228
  89. package/src/purecloud-platform-client-v2/api/UsersRulesApi.js +52 -16
  90. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +25 -8
  91. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +154 -46
  92. package/src/purecloud-platform-client-v2/api/WebChatApi.js +126 -37
  93. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +120 -36
  94. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +25 -8
  95. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +36 -11
  96. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +2475 -577
  97. package/src/purecloud-platform-client-v2/index.js +1 -1
@@ -5,7 +5,7 @@ class ArchitectApi {
5
5
  /**
6
6
  * Architect service.
7
7
  * @module purecloud-platform-client-v2/api/ArchitectApi
8
- * @version 249.0.0
8
+ * @version 250.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -24,8 +24,12 @@ class ArchitectApi {
24
24
  * Deletes a emergency group by ID
25
25
  *
26
26
  * @param {String} emergencyGroupId Emergency group ID
27
+ * @param {Object} opts Optional parameters
28
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
27
29
  */
28
- deleteArchitectEmergencygroup(emergencyGroupId) {
30
+ deleteArchitectEmergencygroup(emergencyGroupId, opts) {
31
+ opts = opts || {};
32
+
29
33
  // verify the required parameter 'emergencyGroupId' is set
30
34
  if (emergencyGroupId === undefined || emergencyGroupId === null || emergencyGroupId === '') {
31
35
  throw 'Missing the required parameter "emergencyGroupId" when calling deleteArchitectEmergencygroup';
@@ -41,7 +45,8 @@ class ArchitectApi {
41
45
  null,
42
46
  ['PureCloud OAuth'],
43
47
  ['application/json'],
44
- ['application/json']
48
+ ['application/json'],
49
+ opts['customHeaders']
45
50
  );
46
51
  }
47
52
 
@@ -49,8 +54,12 @@ class ArchitectApi {
49
54
  * Delete a grammar.
50
55
  *
51
56
  * @param {String} grammarId grammar ID
57
+ * @param {Object} opts Optional parameters
58
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
52
59
  */
53
- deleteArchitectGrammar(grammarId) {
60
+ deleteArchitectGrammar(grammarId, opts) {
61
+ opts = opts || {};
62
+
54
63
  // verify the required parameter 'grammarId' is set
55
64
  if (grammarId === undefined || grammarId === null || grammarId === '') {
56
65
  throw 'Missing the required parameter "grammarId" when calling deleteArchitectGrammar';
@@ -66,7 +75,8 @@ class ArchitectApi {
66
75
  null,
67
76
  ['PureCloud OAuth'],
68
77
  ['application/json'],
69
- ['application/json']
78
+ ['application/json'],
79
+ opts['customHeaders']
70
80
  );
71
81
  }
72
82
 
@@ -75,8 +85,12 @@ class ArchitectApi {
75
85
  *
76
86
  * @param {String} grammarId Grammar ID
77
87
  * @param {String} languageCode Language
88
+ * @param {Object} opts Optional parameters
89
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
78
90
  */
79
- deleteArchitectGrammarLanguage(grammarId, languageCode) {
91
+ deleteArchitectGrammarLanguage(grammarId, languageCode, opts) {
92
+ opts = opts || {};
93
+
80
94
  // verify the required parameter 'grammarId' is set
81
95
  if (grammarId === undefined || grammarId === null || grammarId === '') {
82
96
  throw 'Missing the required parameter "grammarId" when calling deleteArchitectGrammarLanguage';
@@ -96,7 +110,8 @@ class ArchitectApi {
96
110
  null,
97
111
  ['PureCloud OAuth'],
98
112
  ['application/json'],
99
- ['application/json']
113
+ ['application/json'],
114
+ opts['customHeaders']
100
115
  );
101
116
  }
102
117
 
@@ -105,8 +120,12 @@ class ArchitectApi {
105
120
  *
106
121
  * @param {String} grammarId Grammar ID
107
122
  * @param {String} languageCode Language
123
+ * @param {Object} opts Optional parameters
124
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
108
125
  */
109
- deleteArchitectGrammarLanguageFilesDtmf(grammarId, languageCode) {
126
+ deleteArchitectGrammarLanguageFilesDtmf(grammarId, languageCode, opts) {
127
+ opts = opts || {};
128
+
110
129
  // verify the required parameter 'grammarId' is set
111
130
  if (grammarId === undefined || grammarId === null || grammarId === '') {
112
131
  throw 'Missing the required parameter "grammarId" when calling deleteArchitectGrammarLanguageFilesDtmf';
@@ -126,7 +145,8 @@ class ArchitectApi {
126
145
  null,
127
146
  ['PureCloud OAuth'],
128
147
  ['application/json'],
129
- ['application/json']
148
+ ['application/json'],
149
+ opts['customHeaders']
130
150
  );
131
151
  }
132
152
 
@@ -135,8 +155,12 @@ class ArchitectApi {
135
155
  *
136
156
  * @param {String} grammarId Grammar ID
137
157
  * @param {String} languageCode Language
158
+ * @param {Object} opts Optional parameters
159
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
138
160
  */
139
- deleteArchitectGrammarLanguageFilesVoice(grammarId, languageCode) {
161
+ deleteArchitectGrammarLanguageFilesVoice(grammarId, languageCode, opts) {
162
+ opts = opts || {};
163
+
140
164
  // verify the required parameter 'grammarId' is set
141
165
  if (grammarId === undefined || grammarId === null || grammarId === '') {
142
166
  throw 'Missing the required parameter "grammarId" when calling deleteArchitectGrammarLanguageFilesVoice';
@@ -156,7 +180,8 @@ class ArchitectApi {
156
180
  null,
157
181
  ['PureCloud OAuth'],
158
182
  ['application/json'],
159
- ['application/json']
183
+ ['application/json'],
184
+ opts['customHeaders']
160
185
  );
161
186
  }
162
187
 
@@ -164,8 +189,12 @@ class ArchitectApi {
164
189
  * Delete an IVR Config.
165
190
  *
166
191
  * @param {String} ivrId IVR id
192
+ * @param {Object} opts Optional parameters
193
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
167
194
  */
168
- deleteArchitectIvr(ivrId) {
195
+ deleteArchitectIvr(ivrId, opts) {
196
+ opts = opts || {};
197
+
169
198
  // verify the required parameter 'ivrId' is set
170
199
  if (ivrId === undefined || ivrId === null || ivrId === '') {
171
200
  throw 'Missing the required parameter "ivrId" when calling deleteArchitectIvr';
@@ -181,7 +210,8 @@ class ArchitectApi {
181
210
  null,
182
211
  ['PureCloud OAuth'],
183
212
  ['application/json'],
184
- ['application/json']
213
+ ['application/json'],
214
+ opts['customHeaders']
185
215
  );
186
216
  }
187
217
 
@@ -191,6 +221,7 @@ class ArchitectApi {
191
221
  * @param {String} promptId Prompt ID
192
222
  * @param {Object} opts Optional parameters
193
223
  * @param {Boolean} opts.allResources Whether or not to delete all the prompt resources
224
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
194
225
  */
195
226
  deleteArchitectPrompt(promptId, opts) {
196
227
  opts = opts || {};
@@ -210,7 +241,8 @@ class ArchitectApi {
210
241
  null,
211
242
  ['PureCloud OAuth'],
212
243
  ['application/json'],
213
- ['application/json']
244
+ ['application/json'],
245
+ opts['customHeaders']
214
246
  );
215
247
  }
216
248
 
@@ -219,8 +251,12 @@ class ArchitectApi {
219
251
  *
220
252
  * @param {String} promptId Prompt ID
221
253
  * @param {String} languageCode Language
254
+ * @param {Object} opts Optional parameters
255
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
222
256
  */
223
- deleteArchitectPromptResource(promptId, languageCode) {
257
+ deleteArchitectPromptResource(promptId, languageCode, opts) {
258
+ opts = opts || {};
259
+
224
260
  // verify the required parameter 'promptId' is set
225
261
  if (promptId === undefined || promptId === null || promptId === '') {
226
262
  throw 'Missing the required parameter "promptId" when calling deleteArchitectPromptResource';
@@ -240,7 +276,8 @@ class ArchitectApi {
240
276
  null,
241
277
  ['PureCloud OAuth'],
242
278
  ['application/json'],
243
- ['application/json']
279
+ ['application/json'],
280
+ opts['customHeaders']
244
281
  );
245
282
  }
246
283
 
@@ -249,8 +286,12 @@ class ArchitectApi {
249
286
  *
250
287
  * @param {String} promptId Prompt ID
251
288
  * @param {String} languageCode Language
289
+ * @param {Object} opts Optional parameters
290
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
252
291
  */
253
- deleteArchitectPromptResourceAudio(promptId, languageCode) {
292
+ deleteArchitectPromptResourceAudio(promptId, languageCode, opts) {
293
+ opts = opts || {};
294
+
254
295
  // verify the required parameter 'promptId' is set
255
296
  if (promptId === undefined || promptId === null || promptId === '') {
256
297
  throw 'Missing the required parameter "promptId" when calling deleteArchitectPromptResourceAudio';
@@ -270,7 +311,8 @@ class ArchitectApi {
270
311
  null,
271
312
  ['PureCloud OAuth'],
272
313
  ['application/json'],
273
- ['application/json']
314
+ ['application/json'],
315
+ opts['customHeaders']
274
316
  );
275
317
  }
276
318
 
@@ -278,8 +320,12 @@ class ArchitectApi {
278
320
  * Batch-delete a list of prompts
279
321
  * Multiple IDs can be specified, in which case all specified prompts will be deleted. Asynchronous. Notification topic: v2.architect.prompts.{promptId}
280
322
  * @param {Array.<String>} id List of Prompt IDs
323
+ * @param {Object} opts Optional parameters
324
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
281
325
  */
282
- deleteArchitectPrompts(id) {
326
+ deleteArchitectPrompts(id, opts) {
327
+ opts = opts || {};
328
+
283
329
  // verify the required parameter 'id' is set
284
330
  if (id === undefined || id === null) {
285
331
  throw 'Missing the required parameter "id" when calling deleteArchitectPrompts';
@@ -295,7 +341,8 @@ class ArchitectApi {
295
341
  null,
296
342
  ['PureCloud OAuth'],
297
343
  ['application/json'],
298
- ['application/json']
344
+ ['application/json'],
345
+ opts['customHeaders']
299
346
  );
300
347
  }
301
348
 
@@ -303,8 +350,12 @@ class ArchitectApi {
303
350
  * Delete a schedule by id
304
351
  *
305
352
  * @param {String} scheduleId Schedule ID
353
+ * @param {Object} opts Optional parameters
354
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
306
355
  */
307
- deleteArchitectSchedule(scheduleId) {
356
+ deleteArchitectSchedule(scheduleId, opts) {
357
+ opts = opts || {};
358
+
308
359
  // verify the required parameter 'scheduleId' is set
309
360
  if (scheduleId === undefined || scheduleId === null || scheduleId === '') {
310
361
  throw 'Missing the required parameter "scheduleId" when calling deleteArchitectSchedule';
@@ -320,7 +371,8 @@ class ArchitectApi {
320
371
  null,
321
372
  ['PureCloud OAuth'],
322
373
  ['application/json'],
323
- ['application/json']
374
+ ['application/json'],
375
+ opts['customHeaders']
324
376
  );
325
377
  }
326
378
 
@@ -328,8 +380,12 @@ class ArchitectApi {
328
380
  * Deletes a schedule group by ID
329
381
  *
330
382
  * @param {String} scheduleGroupId Schedule group ID
383
+ * @param {Object} opts Optional parameters
384
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
331
385
  */
332
- deleteArchitectSchedulegroup(scheduleGroupId) {
386
+ deleteArchitectSchedulegroup(scheduleGroupId, opts) {
387
+ opts = opts || {};
388
+
333
389
  // verify the required parameter 'scheduleGroupId' is set
334
390
  if (scheduleGroupId === undefined || scheduleGroupId === null || scheduleGroupId === '') {
335
391
  throw 'Missing the required parameter "scheduleGroupId" when calling deleteArchitectSchedulegroup';
@@ -345,7 +401,8 @@ class ArchitectApi {
345
401
  null,
346
402
  ['PureCloud OAuth'],
347
403
  ['application/json'],
348
- ['application/json']
404
+ ['application/json'],
405
+ opts['customHeaders']
349
406
  );
350
407
  }
351
408
 
@@ -354,8 +411,12 @@ class ArchitectApi {
354
411
  *
355
412
  * @param {String} promptId Prompt ID
356
413
  * @param {String} languageCode Language
414
+ * @param {Object} opts Optional parameters
415
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
357
416
  */
358
- deleteArchitectSystempromptResource(promptId, languageCode) {
417
+ deleteArchitectSystempromptResource(promptId, languageCode, opts) {
418
+ opts = opts || {};
419
+
359
420
  // verify the required parameter 'promptId' is set
360
421
  if (promptId === undefined || promptId === null || promptId === '') {
361
422
  throw 'Missing the required parameter "promptId" when calling deleteArchitectSystempromptResource';
@@ -375,7 +436,8 @@ class ArchitectApi {
375
436
  null,
376
437
  ['PureCloud OAuth'],
377
438
  ['application/json'],
378
- ['application/json']
439
+ ['application/json'],
440
+ opts['customHeaders']
379
441
  );
380
442
  }
381
443
 
@@ -383,8 +445,12 @@ class ArchitectApi {
383
445
  * Delete flow
384
446
  *
385
447
  * @param {String} flowId Flow ID
448
+ * @param {Object} opts Optional parameters
449
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
386
450
  */
387
- deleteFlow(flowId) {
451
+ deleteFlow(flowId, opts) {
452
+ opts = opts || {};
453
+
388
454
  // verify the required parameter 'flowId' is set
389
455
  if (flowId === undefined || flowId === null || flowId === '') {
390
456
  throw 'Missing the required parameter "flowId" when calling deleteFlow';
@@ -400,7 +466,8 @@ class ArchitectApi {
400
466
  null,
401
467
  ['PureCloud OAuth'],
402
468
  ['application/json'],
403
- ['application/json']
469
+ ['application/json'],
470
+ opts['customHeaders']
404
471
  );
405
472
  }
406
473
 
@@ -408,8 +475,12 @@ class ArchitectApi {
408
475
  * Deletes a log level for a flow by flow id.
409
476
  * Deletes the associated log level for a flow by flow id
410
477
  * @param {String} flowId The flow id to delete the loglevel for
478
+ * @param {Object} opts Optional parameters
479
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
411
480
  */
412
- deleteFlowInstancesSettingsLoglevels(flowId) {
481
+ deleteFlowInstancesSettingsLoglevels(flowId, opts) {
482
+ opts = opts || {};
483
+
413
484
  // verify the required parameter 'flowId' is set
414
485
  if (flowId === undefined || flowId === null || flowId === '') {
415
486
  throw 'Missing the required parameter "flowId" when calling deleteFlowInstancesSettingsLoglevels';
@@ -425,7 +496,8 @@ class ArchitectApi {
425
496
  null,
426
497
  ['PureCloud OAuth'],
427
498
  ['application/json'],
428
- ['application/json']
499
+ ['application/json'],
500
+ opts['customHeaders']
429
501
  );
430
502
  }
431
503
 
@@ -433,8 +505,12 @@ class ArchitectApi {
433
505
  * Batch-delete a list of flows
434
506
  * Multiple IDs can be specified, in which case all specified flows will be deleted. Asynchronous. Notification topic: v2.flows.{flowId}
435
507
  * @param {Array.<String>} id List of Flow IDs
508
+ * @param {Object} opts Optional parameters
509
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
436
510
  */
437
- deleteFlows(id) {
511
+ deleteFlows(id, opts) {
512
+ opts = opts || {};
513
+
438
514
  // verify the required parameter 'id' is set
439
515
  if (id === undefined || id === null) {
440
516
  throw 'Missing the required parameter "id" when calling deleteFlows';
@@ -450,7 +526,8 @@ class ArchitectApi {
450
526
  null,
451
527
  ['PureCloud OAuth'],
452
528
  ['application/json'],
453
- ['application/json']
529
+ ['application/json'],
530
+ opts['customHeaders']
454
531
  );
455
532
  }
456
533
 
@@ -460,6 +537,7 @@ class ArchitectApi {
460
537
  * @param {String} datatableId id of datatable
461
538
  * @param {Object} opts Optional parameters
462
539
  * @param {Boolean} opts.force force delete, even if in use (default to false)
540
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
463
541
  */
464
542
  deleteFlowsDatatable(datatableId, opts) {
465
543
  opts = opts || {};
@@ -479,7 +557,8 @@ class ArchitectApi {
479
557
  null,
480
558
  ['PureCloud OAuth'],
481
559
  ['application/json'],
482
- ['application/json']
560
+ ['application/json'],
561
+ opts['customHeaders']
483
562
  );
484
563
  }
485
564
 
@@ -488,8 +567,12 @@ class ArchitectApi {
488
567
  * Deletes a row with a given rowId (the value of the key field).
489
568
  * @param {String} datatableId id of datatable
490
569
  * @param {String} rowId the key for the row
570
+ * @param {Object} opts Optional parameters
571
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
491
572
  */
492
- deleteFlowsDatatableRow(datatableId, rowId) {
573
+ deleteFlowsDatatableRow(datatableId, rowId, opts) {
574
+ opts = opts || {};
575
+
493
576
  // verify the required parameter 'datatableId' is set
494
577
  if (datatableId === undefined || datatableId === null || datatableId === '') {
495
578
  throw 'Missing the required parameter "datatableId" when calling deleteFlowsDatatableRow';
@@ -509,15 +592,20 @@ class ArchitectApi {
509
592
  null,
510
593
  ['PureCloud OAuth'],
511
594
  ['application/json'],
512
- ['application/json']
595
+ ['application/json'],
596
+ opts['customHeaders']
513
597
  );
514
598
  }
515
599
 
516
600
  /**
517
601
  * Resets the org log level to default, base
518
602
  * Resets the org log level to default, base
603
+ * @param {Object} opts Optional parameters
604
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
519
605
  */
520
- deleteFlowsInstancesSettingsLoglevelsDefault() {
606
+ deleteFlowsInstancesSettingsLoglevelsDefault(opts) {
607
+ opts = opts || {};
608
+
521
609
 
522
610
  return this.apiClient.callApi(
523
611
  '/api/v2/flows/instances/settings/loglevels/default',
@@ -529,7 +617,8 @@ class ArchitectApi {
529
617
  null,
530
618
  ['PureCloud OAuth'],
531
619
  ['application/json'],
532
- ['application/json']
620
+ ['application/json'],
621
+ opts['customHeaders']
533
622
  );
534
623
  }
535
624
 
@@ -537,8 +626,12 @@ class ArchitectApi {
537
626
  * Delete a flow milestone.
538
627
  *
539
628
  * @param {String} milestoneId flow milestone ID
629
+ * @param {Object} opts Optional parameters
630
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
540
631
  */
541
- deleteFlowsMilestone(milestoneId) {
632
+ deleteFlowsMilestone(milestoneId, opts) {
633
+ opts = opts || {};
634
+
542
635
  // verify the required parameter 'milestoneId' is set
543
636
  if (milestoneId === undefined || milestoneId === null || milestoneId === '') {
544
637
  throw 'Missing the required parameter "milestoneId" when calling deleteFlowsMilestone';
@@ -554,7 +647,8 @@ class ArchitectApi {
554
647
  null,
555
648
  ['PureCloud OAuth'],
556
649
  ['application/json'],
557
- ['application/json']
650
+ ['application/json'],
651
+ opts['customHeaders']
558
652
  );
559
653
  }
560
654
 
@@ -570,6 +664,7 @@ class ArchitectApi {
570
664
  * @param {Boolean} opts.consumingResources Include resources that consume each result item
571
665
  * @param {Array.<String>} opts.consumedResourceType Types of consumed resources to return, if consumed resources are requested
572
666
  * @param {Array.<String>} opts.consumingResourceType Types of consuming resources to return, if consuming resources are requested
667
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
573
668
  */
574
669
  getArchitectDependencytracking(name, opts) {
575
670
  opts = opts || {};
@@ -589,15 +684,20 @@ class ArchitectApi {
589
684
  null,
590
685
  ['PureCloud OAuth'],
591
686
  ['application/json'],
592
- ['application/json']
687
+ ['application/json'],
688
+ opts['customHeaders']
593
689
  );
594
690
  }
595
691
 
596
692
  /**
597
693
  * Get Dependency Tracking build status for an organization
598
694
  *
695
+ * @param {Object} opts Optional parameters
696
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
599
697
  */
600
- getArchitectDependencytrackingBuild() {
698
+ getArchitectDependencytrackingBuild(opts) {
699
+ opts = opts || {};
700
+
601
701
 
602
702
  return this.apiClient.callApi(
603
703
  '/api/v2/architect/dependencytracking/build',
@@ -609,7 +709,8 @@ class ArchitectApi {
609
709
  null,
610
710
  ['PureCloud OAuth'],
611
711
  ['application/json'],
612
- ['application/json']
712
+ ['application/json'],
713
+ opts['customHeaders']
613
714
  );
614
715
  }
615
716
 
@@ -623,6 +724,7 @@ class ArchitectApi {
623
724
  * @param {Array.<String>} opts.resourceType Types of consumed resources to show.
624
725
  * @param {Number} opts.pageNumber Page number (default to 1)
625
726
  * @param {Number} opts.pageSize Page size (default to 25)
727
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
626
728
  */
627
729
  getArchitectDependencytrackingConsumedresources(id, version, objectType, opts) {
628
730
  opts = opts || {};
@@ -650,7 +752,8 @@ class ArchitectApi {
650
752
  null,
651
753
  ['PureCloud OAuth'],
652
754
  ['application/json'],
653
- ['application/json']
755
+ ['application/json'],
756
+ opts['customHeaders']
654
757
  );
655
758
  }
656
759
 
@@ -665,6 +768,7 @@ class ArchitectApi {
665
768
  * @param {Number} opts.pageNumber Page number (default to 1)
666
769
  * @param {Number} opts.pageSize Page size (default to 25)
667
770
  * @param {Object} opts.flowFilter Show only checkedIn or published flows
771
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
668
772
  */
669
773
  getArchitectDependencytrackingConsumingresources(id, objectType, opts) {
670
774
  opts = opts || {};
@@ -688,7 +792,8 @@ class ArchitectApi {
688
792
  null,
689
793
  ['PureCloud OAuth'],
690
794
  ['application/json'],
691
- ['application/json']
795
+ ['application/json'],
796
+ opts['customHeaders']
692
797
  );
693
798
  }
694
799
 
@@ -703,6 +808,7 @@ class ArchitectApi {
703
808
  * @param {Array.<String>} opts.consumedResourceType Resource type(s) to return
704
809
  * @param {Number} opts.pageNumber Page number (default to 1)
705
810
  * @param {Number} opts.pageSize Page size (default to 25)
811
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
706
812
  */
707
813
  getArchitectDependencytrackingDeletedresourceconsumers(opts) {
708
814
  opts = opts || {};
@@ -718,7 +824,8 @@ class ArchitectApi {
718
824
  null,
719
825
  ['PureCloud OAuth'],
720
826
  ['application/json'],
721
- ['application/json']
827
+ ['application/json'],
828
+ opts['customHeaders']
722
829
  );
723
830
  }
724
831
 
@@ -734,6 +841,7 @@ class ArchitectApi {
734
841
  * @param {Array.<String>} opts.consumedResourceType Types of consumed resources to return, if consumed resources are requested
735
842
  * @param {Array.<String>} opts.consumingResourceType Types of consuming resources to return, if consuming resources are requested
736
843
  * @param {Boolean} opts.consumedResourceRequest Indicate that this is going to look up a consumed resource object
844
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
737
845
  */
738
846
  getArchitectDependencytrackingObject(id, opts) {
739
847
  opts = opts || {};
@@ -753,7 +861,8 @@ class ArchitectApi {
753
861
  null,
754
862
  ['PureCloud OAuth'],
755
863
  ['application/json'],
756
- ['application/json']
864
+ ['application/json'],
865
+ opts['customHeaders']
757
866
  );
758
867
  }
759
868
 
@@ -761,8 +870,12 @@ class ArchitectApi {
761
870
  * Get a Dependency Tracking type.
762
871
  *
763
872
  * @param {String} typeId Type ID
873
+ * @param {Object} opts Optional parameters
874
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
764
875
  */
765
- getArchitectDependencytrackingType(typeId) {
876
+ getArchitectDependencytrackingType(typeId, opts) {
877
+ opts = opts || {};
878
+
766
879
  // verify the required parameter 'typeId' is set
767
880
  if (typeId === undefined || typeId === null || typeId === '') {
768
881
  throw 'Missing the required parameter "typeId" when calling getArchitectDependencytrackingType';
@@ -778,7 +891,8 @@ class ArchitectApi {
778
891
  null,
779
892
  ['PureCloud OAuth'],
780
893
  ['application/json'],
781
- ['application/json']
894
+ ['application/json'],
895
+ opts['customHeaders']
782
896
  );
783
897
  }
784
898
 
@@ -788,6 +902,7 @@ class ArchitectApi {
788
902
  * @param {Object} opts Optional parameters
789
903
  * @param {Number} opts.pageNumber Page number (default to 1)
790
904
  * @param {Number} opts.pageSize Page size (default to 25)
905
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
791
906
  */
792
907
  getArchitectDependencytrackingTypes(opts) {
793
908
  opts = opts || {};
@@ -803,7 +918,8 @@ class ArchitectApi {
803
918
  null,
804
919
  ['PureCloud OAuth'],
805
920
  ['application/json'],
806
- ['application/json']
921
+ ['application/json'],
922
+ opts['customHeaders']
807
923
  );
808
924
  }
809
925
 
@@ -817,6 +933,7 @@ class ArchitectApi {
817
933
  * @param {Array.<String>} opts.consumedResourceType Resource type(s) to return
818
934
  * @param {Number} opts.pageNumber Page number (default to 1)
819
935
  * @param {Number} opts.pageSize Page size (default to 25)
936
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
820
937
  */
821
938
  getArchitectDependencytrackingUpdatedresourceconsumers(opts) {
822
939
  opts = opts || {};
@@ -832,7 +949,8 @@ class ArchitectApi {
832
949
  null,
833
950
  ['PureCloud OAuth'],
834
951
  ['application/json'],
835
- ['application/json']
952
+ ['application/json'],
953
+ opts['customHeaders']
836
954
  );
837
955
  }
838
956
 
@@ -840,8 +958,12 @@ class ArchitectApi {
840
958
  * Gets a emergency group by ID
841
959
  *
842
960
  * @param {String} emergencyGroupId Emergency group ID
961
+ * @param {Object} opts Optional parameters
962
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
843
963
  */
844
- getArchitectEmergencygroup(emergencyGroupId) {
964
+ getArchitectEmergencygroup(emergencyGroupId, opts) {
965
+ opts = opts || {};
966
+
845
967
  // verify the required parameter 'emergencyGroupId' is set
846
968
  if (emergencyGroupId === undefined || emergencyGroupId === null || emergencyGroupId === '') {
847
969
  throw 'Missing the required parameter "emergencyGroupId" when calling getArchitectEmergencygroup';
@@ -857,7 +979,8 @@ class ArchitectApi {
857
979
  null,
858
980
  ['PureCloud OAuth'],
859
981
  ['application/json'],
860
- ['application/json']
982
+ ['application/json'],
983
+ opts['customHeaders']
861
984
  );
862
985
  }
863
986
 
@@ -870,6 +993,7 @@ class ArchitectApi {
870
993
  * @param {String} opts.sortBy Sort by (default to name)
871
994
  * @param {String} opts.sortOrder Sort order (default to ASC)
872
995
  * @param {String} opts.name Name of the Emergency Group to filter by.
996
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
873
997
  */
874
998
  getArchitectEmergencygroups(opts) {
875
999
  opts = opts || {};
@@ -885,7 +1009,8 @@ class ArchitectApi {
885
1009
  null,
886
1010
  ['PureCloud OAuth'],
887
1011
  ['application/json'],
888
- ['application/json']
1012
+ ['application/json'],
1013
+ opts['customHeaders']
889
1014
  );
890
1015
  }
891
1016
 
@@ -900,6 +1025,7 @@ class ArchitectApi {
900
1025
  * @param {Array.<String>} opts.id ID of the Emergency Groups to filter by.
901
1026
  * @param {String} opts.name Name of the Emergency Group to filter by.
902
1027
  * @param {Array.<String>} opts.divisionId List of divisionIds on which to filter.
1028
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
903
1029
  */
904
1030
  getArchitectEmergencygroupsDivisionviews(opts) {
905
1031
  opts = opts || {};
@@ -915,7 +1041,8 @@ class ArchitectApi {
915
1041
  null,
916
1042
  ['PureCloud OAuth'],
917
1043
  ['application/json'],
918
- ['application/json']
1044
+ ['application/json'],
1045
+ opts['customHeaders']
919
1046
  );
920
1047
  }
921
1048
 
@@ -925,6 +1052,7 @@ class ArchitectApi {
925
1052
  * @param {String} grammarId grammar ID
926
1053
  * @param {Object} opts Optional parameters
927
1054
  * @param {Boolean} opts.includeFileUrls Include grammar language file URLs
1055
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
928
1056
  */
929
1057
  getArchitectGrammar(grammarId, opts) {
930
1058
  opts = opts || {};
@@ -944,7 +1072,8 @@ class ArchitectApi {
944
1072
  null,
945
1073
  ['PureCloud OAuth'],
946
1074
  ['application/json'],
947
- ['application/json']
1075
+ ['application/json'],
1076
+ opts['customHeaders']
948
1077
  );
949
1078
  }
950
1079
 
@@ -953,8 +1082,12 @@ class ArchitectApi {
953
1082
  *
954
1083
  * @param {String} grammarId Grammar ID
955
1084
  * @param {String} languageCode Language
1085
+ * @param {Object} opts Optional parameters
1086
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
956
1087
  */
957
- getArchitectGrammarLanguage(grammarId, languageCode) {
1088
+ getArchitectGrammarLanguage(grammarId, languageCode, opts) {
1089
+ opts = opts || {};
1090
+
958
1091
  // verify the required parameter 'grammarId' is set
959
1092
  if (grammarId === undefined || grammarId === null || grammarId === '') {
960
1093
  throw 'Missing the required parameter "grammarId" when calling getArchitectGrammarLanguage';
@@ -974,7 +1107,8 @@ class ArchitectApi {
974
1107
  null,
975
1108
  ['PureCloud OAuth'],
976
1109
  ['application/json'],
977
- ['application/json']
1110
+ ['application/json'],
1111
+ opts['customHeaders']
978
1112
  );
979
1113
  }
980
1114
 
@@ -991,6 +1125,7 @@ class ArchitectApi {
991
1125
  * @param {String} opts.description Description
992
1126
  * @param {String} opts.nameOrDescription Name or description
993
1127
  * @param {Boolean} opts.includeFileUrls Include grammar language file URLs
1128
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
994
1129
  */
995
1130
  getArchitectGrammars(opts) {
996
1131
  opts = opts || {};
@@ -1006,7 +1141,8 @@ class ArchitectApi {
1006
1141
  null,
1007
1142
  ['PureCloud OAuth'],
1008
1143
  ['application/json'],
1009
- ['application/json']
1144
+ ['application/json'],
1145
+ opts['customHeaders']
1010
1146
  );
1011
1147
  }
1012
1148
 
@@ -1014,8 +1150,12 @@ class ArchitectApi {
1014
1150
  * Get an IVR config.
1015
1151
  *
1016
1152
  * @param {String} ivrId IVR id
1153
+ * @param {Object} opts Optional parameters
1154
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1017
1155
  */
1018
- getArchitectIvr(ivrId) {
1156
+ getArchitectIvr(ivrId, opts) {
1157
+ opts = opts || {};
1158
+
1019
1159
  // verify the required parameter 'ivrId' is set
1020
1160
  if (ivrId === undefined || ivrId === null || ivrId === '') {
1021
1161
  throw 'Missing the required parameter "ivrId" when calling getArchitectIvr';
@@ -1031,7 +1171,8 @@ class ArchitectApi {
1031
1171
  null,
1032
1172
  ['PureCloud OAuth'],
1033
1173
  ['application/json'],
1034
- ['application/json']
1174
+ ['application/json'],
1175
+ opts['customHeaders']
1035
1176
  );
1036
1177
  }
1037
1178
 
@@ -1039,8 +1180,12 @@ class ArchitectApi {
1039
1180
  * Get an IVR IdentityResolutionConfig.
1040
1181
  *
1041
1182
  * @param {String} ivrId IVR id
1183
+ * @param {Object} opts Optional parameters
1184
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1042
1185
  */
1043
- getArchitectIvrIdentityresolution(ivrId) {
1186
+ getArchitectIvrIdentityresolution(ivrId, opts) {
1187
+ opts = opts || {};
1188
+
1044
1189
  // verify the required parameter 'ivrId' is set
1045
1190
  if (ivrId === undefined || ivrId === null || ivrId === '') {
1046
1191
  throw 'Missing the required parameter "ivrId" when calling getArchitectIvrIdentityresolution';
@@ -1056,7 +1201,8 @@ class ArchitectApi {
1056
1201
  null,
1057
1202
  ['PureCloud OAuth'],
1058
1203
  ['application/json'],
1059
- ['application/json']
1204
+ ['application/json'],
1205
+ opts['customHeaders']
1060
1206
  );
1061
1207
  }
1062
1208
 
@@ -1072,6 +1218,7 @@ class ArchitectApi {
1072
1218
  * @param {String} opts.dnis The phone number of the IVR to filter by.
1073
1219
  * @param {String} opts.scheduleGroup The Schedule Group of the IVR to filter by.
1074
1220
  * @param {Array.<String>} opts.expand Which fields, if any, to expand
1221
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1075
1222
  */
1076
1223
  getArchitectIvrs(opts) {
1077
1224
  opts = opts || {};
@@ -1087,7 +1234,8 @@ class ArchitectApi {
1087
1234
  null,
1088
1235
  ['PureCloud OAuth'],
1089
1236
  ['application/json'],
1090
- ['application/json']
1237
+ ['application/json'],
1238
+ opts['customHeaders']
1091
1239
  );
1092
1240
  }
1093
1241
 
@@ -1102,6 +1250,7 @@ class ArchitectApi {
1102
1250
  * @param {Array.<String>} opts.id ID of the IVR to filter by.
1103
1251
  * @param {String} opts.name Name of the IVR to filter by.
1104
1252
  * @param {Array.<String>} opts.divisionId List of divisionIds on which to filter.
1253
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1105
1254
  */
1106
1255
  getArchitectIvrsDivisionviews(opts) {
1107
1256
  opts = opts || {};
@@ -1117,7 +1266,8 @@ class ArchitectApi {
1117
1266
  null,
1118
1267
  ['PureCloud OAuth'],
1119
1268
  ['application/json'],
1120
- ['application/json']
1269
+ ['application/json'],
1270
+ opts['customHeaders']
1121
1271
  );
1122
1272
  }
1123
1273
 
@@ -1129,6 +1279,7 @@ class ArchitectApi {
1129
1279
  * @param {Boolean} opts.includeMediaUris Include the media URIs for each resource (default to true)
1130
1280
  * @param {Boolean} opts.includeResources Include the resources for each system prompt (default to true)
1131
1281
  * @param {Array.<String>} opts.language Filter the resources down to the provided languages
1282
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1132
1283
  */
1133
1284
  getArchitectPrompt(promptId, opts) {
1134
1285
  opts = opts || {};
@@ -1148,7 +1299,8 @@ class ArchitectApi {
1148
1299
  null,
1149
1300
  ['PureCloud OAuth'],
1150
1301
  ['application/json'],
1151
- ['application/json']
1302
+ ['application/json'],
1303
+ opts['customHeaders']
1152
1304
  );
1153
1305
  }
1154
1306
 
@@ -1163,6 +1315,7 @@ class ArchitectApi {
1163
1315
  * @param {String} opts.sortOrder Sort order (default to desc)
1164
1316
  * @param {Object} opts.sortBy Sort by (default to timestamp)
1165
1317
  * @param {Array.<String>} opts.action Flow actions to include (omit to include all)
1318
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1166
1319
  */
1167
1320
  getArchitectPromptHistoryHistoryId(promptId, historyId, opts) {
1168
1321
  opts = opts || {};
@@ -1186,7 +1339,8 @@ class ArchitectApi {
1186
1339
  null,
1187
1340
  ['PureCloud OAuth'],
1188
1341
  ['application/json'],
1189
- ['application/json']
1342
+ ['application/json'],
1343
+ opts['customHeaders']
1190
1344
  );
1191
1345
  }
1192
1346
 
@@ -1195,8 +1349,12 @@ class ArchitectApi {
1195
1349
  *
1196
1350
  * @param {String} promptId Prompt ID
1197
1351
  * @param {String} languageCode Language
1352
+ * @param {Object} opts Optional parameters
1353
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1198
1354
  */
1199
- getArchitectPromptResource(promptId, languageCode) {
1355
+ getArchitectPromptResource(promptId, languageCode, opts) {
1356
+ opts = opts || {};
1357
+
1200
1358
  // verify the required parameter 'promptId' is set
1201
1359
  if (promptId === undefined || promptId === null || promptId === '') {
1202
1360
  throw 'Missing the required parameter "promptId" when calling getArchitectPromptResource';
@@ -1216,7 +1374,8 @@ class ArchitectApi {
1216
1374
  null,
1217
1375
  ['PureCloud OAuth'],
1218
1376
  ['application/json'],
1219
- ['application/json']
1377
+ ['application/json'],
1378
+ opts['customHeaders']
1220
1379
  );
1221
1380
  }
1222
1381
 
@@ -1227,6 +1386,7 @@ class ArchitectApi {
1227
1386
  * @param {Object} opts Optional parameters
1228
1387
  * @param {Number} opts.pageNumber Page number (default to 1)
1229
1388
  * @param {Number} opts.pageSize Page size (default to 25)
1389
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1230
1390
  */
1231
1391
  getArchitectPromptResources(promptId, opts) {
1232
1392
  opts = opts || {};
@@ -1246,7 +1406,8 @@ class ArchitectApi {
1246
1406
  null,
1247
1407
  ['PureCloud OAuth'],
1248
1408
  ['application/json'],
1249
- ['application/json']
1409
+ ['application/json'],
1410
+ opts['customHeaders']
1250
1411
  );
1251
1412
  }
1252
1413
 
@@ -1264,6 +1425,7 @@ class ArchitectApi {
1264
1425
  * @param {Boolean} opts.includeMediaUris Include the media URIs for each resource (default to true)
1265
1426
  * @param {Boolean} opts.includeResources Include the resources for each system prompt (default to true)
1266
1427
  * @param {Array.<String>} opts.language Filter the resources down to the provided languages
1428
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1267
1429
  */
1268
1430
  getArchitectPrompts(opts) {
1269
1431
  opts = opts || {};
@@ -1279,7 +1441,8 @@ class ArchitectApi {
1279
1441
  null,
1280
1442
  ['PureCloud OAuth'],
1281
1443
  ['application/json'],
1282
- ['application/json']
1444
+ ['application/json'],
1445
+ opts['customHeaders']
1283
1446
  );
1284
1447
  }
1285
1448
 
@@ -1287,8 +1450,12 @@ class ArchitectApi {
1287
1450
  * Get a schedule by ID
1288
1451
  *
1289
1452
  * @param {String} scheduleId Schedule ID
1453
+ * @param {Object} opts Optional parameters
1454
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1290
1455
  */
1291
- getArchitectSchedule(scheduleId) {
1456
+ getArchitectSchedule(scheduleId, opts) {
1457
+ opts = opts || {};
1458
+
1292
1459
  // verify the required parameter 'scheduleId' is set
1293
1460
  if (scheduleId === undefined || scheduleId === null || scheduleId === '') {
1294
1461
  throw 'Missing the required parameter "scheduleId" when calling getArchitectSchedule';
@@ -1304,7 +1471,8 @@ class ArchitectApi {
1304
1471
  null,
1305
1472
  ['PureCloud OAuth'],
1306
1473
  ['application/json'],
1307
- ['application/json']
1474
+ ['application/json'],
1475
+ opts['customHeaders']
1308
1476
  );
1309
1477
  }
1310
1478
 
@@ -1312,8 +1480,12 @@ class ArchitectApi {
1312
1480
  * Gets a schedule group by ID
1313
1481
  *
1314
1482
  * @param {String} scheduleGroupId Schedule group ID
1483
+ * @param {Object} opts Optional parameters
1484
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1315
1485
  */
1316
- getArchitectSchedulegroup(scheduleGroupId) {
1486
+ getArchitectSchedulegroup(scheduleGroupId, opts) {
1487
+ opts = opts || {};
1488
+
1317
1489
  // verify the required parameter 'scheduleGroupId' is set
1318
1490
  if (scheduleGroupId === undefined || scheduleGroupId === null || scheduleGroupId === '') {
1319
1491
  throw 'Missing the required parameter "scheduleGroupId" when calling getArchitectSchedulegroup';
@@ -1329,7 +1501,8 @@ class ArchitectApi {
1329
1501
  null,
1330
1502
  ['PureCloud OAuth'],
1331
1503
  ['application/json'],
1332
- ['application/json']
1504
+ ['application/json'],
1505
+ opts['customHeaders']
1333
1506
  );
1334
1507
  }
1335
1508
 
@@ -1344,6 +1517,7 @@ class ArchitectApi {
1344
1517
  * @param {String} opts.name Name of the Schedule Group to filter by.
1345
1518
  * @param {String} opts.scheduleIds A comma-delimited list of Schedule IDs to filter by.
1346
1519
  * @param {Array.<String>} opts.divisionId List of divisionIds on which to filter.
1520
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1347
1521
  */
1348
1522
  getArchitectSchedulegroups(opts) {
1349
1523
  opts = opts || {};
@@ -1359,7 +1533,8 @@ class ArchitectApi {
1359
1533
  null,
1360
1534
  ['PureCloud OAuth'],
1361
1535
  ['application/json'],
1362
- ['application/json']
1536
+ ['application/json'],
1537
+ opts['customHeaders']
1363
1538
  );
1364
1539
  }
1365
1540
 
@@ -1374,6 +1549,7 @@ class ArchitectApi {
1374
1549
  * @param {Array.<String>} opts.id ID of the schedule group to filter by.
1375
1550
  * @param {String} opts.name Name of the schedule group to filter by.
1376
1551
  * @param {Array.<String>} opts.divisionId List of divisionIds on which to filter.
1552
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1377
1553
  */
1378
1554
  getArchitectSchedulegroupsDivisionviews(opts) {
1379
1555
  opts = opts || {};
@@ -1389,7 +1565,8 @@ class ArchitectApi {
1389
1565
  null,
1390
1566
  ['PureCloud OAuth'],
1391
1567
  ['application/json'],
1392
- ['application/json']
1568
+ ['application/json'],
1569
+ opts['customHeaders']
1393
1570
  );
1394
1571
  }
1395
1572
 
@@ -1403,6 +1580,7 @@ class ArchitectApi {
1403
1580
  * @param {String} opts.sortOrder Sort order (default to asc)
1404
1581
  * @param {String} opts.name Name of the Schedule to filter by.
1405
1582
  * @param {Array.<String>} opts.divisionId List of divisionIds on which to filter.
1583
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1406
1584
  */
1407
1585
  getArchitectSchedules(opts) {
1408
1586
  opts = opts || {};
@@ -1418,7 +1596,8 @@ class ArchitectApi {
1418
1596
  null,
1419
1597
  ['PureCloud OAuth'],
1420
1598
  ['application/json'],
1421
- ['application/json']
1599
+ ['application/json'],
1600
+ opts['customHeaders']
1422
1601
  );
1423
1602
  }
1424
1603
 
@@ -1433,6 +1612,7 @@ class ArchitectApi {
1433
1612
  * @param {Array.<String>} opts.id ID of the schedule group to filter by.
1434
1613
  * @param {String} opts.name Name of the schedule group to filter by.
1435
1614
  * @param {Array.<String>} opts.divisionId List of divisionIds on which to filter.
1615
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1436
1616
  */
1437
1617
  getArchitectSchedulesDivisionviews(opts) {
1438
1618
  opts = opts || {};
@@ -1448,7 +1628,8 @@ class ArchitectApi {
1448
1628
  null,
1449
1629
  ['PureCloud OAuth'],
1450
1630
  ['application/json'],
1451
- ['application/json']
1631
+ ['application/json'],
1632
+ opts['customHeaders']
1452
1633
  );
1453
1634
  }
1454
1635
 
@@ -1460,6 +1641,7 @@ class ArchitectApi {
1460
1641
  * @param {Boolean} opts.includeMediaUris Include the media URIs for each resource (default to true)
1461
1642
  * @param {Boolean} opts.includeResources Include the resources for each system prompt (default to true)
1462
1643
  * @param {Array.<String>} opts.language Filter the resources down to the provided languages
1644
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1463
1645
  */
1464
1646
  getArchitectSystemprompt(promptId, opts) {
1465
1647
  opts = opts || {};
@@ -1479,7 +1661,8 @@ class ArchitectApi {
1479
1661
  null,
1480
1662
  ['PureCloud OAuth'],
1481
1663
  ['application/json'],
1482
- ['application/json']
1664
+ ['application/json'],
1665
+ opts['customHeaders']
1483
1666
  );
1484
1667
  }
1485
1668
 
@@ -1494,6 +1677,7 @@ class ArchitectApi {
1494
1677
  * @param {String} opts.sortOrder Sort order (default to desc)
1495
1678
  * @param {Object} opts.sortBy Sort by (default to timestamp)
1496
1679
  * @param {Array.<String>} opts.action Flow actions to include (omit to include all)
1680
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1497
1681
  */
1498
1682
  getArchitectSystempromptHistoryHistoryId(promptId, historyId, opts) {
1499
1683
  opts = opts || {};
@@ -1517,7 +1701,8 @@ class ArchitectApi {
1517
1701
  null,
1518
1702
  ['PureCloud OAuth'],
1519
1703
  ['application/json'],
1520
- ['application/json']
1704
+ ['application/json'],
1705
+ opts['customHeaders']
1521
1706
  );
1522
1707
  }
1523
1708
 
@@ -1526,8 +1711,12 @@ class ArchitectApi {
1526
1711
  *
1527
1712
  * @param {String} promptId Prompt ID
1528
1713
  * @param {String} languageCode Language
1714
+ * @param {Object} opts Optional parameters
1715
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1529
1716
  */
1530
- getArchitectSystempromptResource(promptId, languageCode) {
1717
+ getArchitectSystempromptResource(promptId, languageCode, opts) {
1718
+ opts = opts || {};
1719
+
1531
1720
  // verify the required parameter 'promptId' is set
1532
1721
  if (promptId === undefined || promptId === null || promptId === '') {
1533
1722
  throw 'Missing the required parameter "promptId" when calling getArchitectSystempromptResource';
@@ -1547,7 +1736,8 @@ class ArchitectApi {
1547
1736
  null,
1548
1737
  ['PureCloud OAuth'],
1549
1738
  ['application/json'],
1550
- ['application/json']
1739
+ ['application/json'],
1740
+ opts['customHeaders']
1551
1741
  );
1552
1742
  }
1553
1743
 
@@ -1560,6 +1750,7 @@ class ArchitectApi {
1560
1750
  * @param {Number} opts.pageSize Page size (default to 25)
1561
1751
  * @param {String} opts.sortBy Sort by (default to id)
1562
1752
  * @param {String} opts.sortOrder Sort order (default to asc)
1753
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1563
1754
  */
1564
1755
  getArchitectSystempromptResources(promptId, opts) {
1565
1756
  opts = opts || {};
@@ -1579,7 +1770,8 @@ class ArchitectApi {
1579
1770
  null,
1580
1771
  ['PureCloud OAuth'],
1581
1772
  ['application/json'],
1582
- ['application/json']
1773
+ ['application/json'],
1774
+ opts['customHeaders']
1583
1775
  );
1584
1776
  }
1585
1777
 
@@ -1597,6 +1789,7 @@ class ArchitectApi {
1597
1789
  * @param {Boolean} opts.includeMediaUris Include the media URIs for each resource (default to true)
1598
1790
  * @param {Boolean} opts.includeResources Include the resources for each system prompt (default to true)
1599
1791
  * @param {Array.<String>} opts.language Filter the resources down to the provided languages
1792
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1600
1793
  */
1601
1794
  getArchitectSystemprompts(opts) {
1602
1795
  opts = opts || {};
@@ -1612,7 +1805,8 @@ class ArchitectApi {
1612
1805
  null,
1613
1806
  ['PureCloud OAuth'],
1614
1807
  ['application/json'],
1615
- ['application/json']
1808
+ ['application/json'],
1809
+ opts['customHeaders']
1616
1810
  );
1617
1811
  }
1618
1812
 
@@ -1622,6 +1816,7 @@ class ArchitectApi {
1622
1816
  * @param {String} flowId Flow ID
1623
1817
  * @param {Object} opts Optional parameters
1624
1818
  * @param {Boolean} opts.deleted Deleted flows (default to false)
1819
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1625
1820
  */
1626
1821
  getFlow(flowId, opts) {
1627
1822
  opts = opts || {};
@@ -1641,7 +1836,8 @@ class ArchitectApi {
1641
1836
  null,
1642
1837
  ['PureCloud OAuth'],
1643
1838
  ['application/json'],
1644
- ['application/json']
1839
+ ['application/json'],
1840
+ opts['customHeaders']
1645
1841
  );
1646
1842
  }
1647
1843
 
@@ -1656,6 +1852,7 @@ class ArchitectApi {
1656
1852
  * @param {String} opts.sortOrder Sort order (default to desc)
1657
1853
  * @param {Object} opts.sortBy Sort by (default to timestamp)
1658
1854
  * @param {Array.<String>} opts.action Flow actions to include (omit to include all)
1855
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1659
1856
  */
1660
1857
  getFlowHistoryHistoryId(flowId, historyId, opts) {
1661
1858
  opts = opts || {};
@@ -1679,7 +1876,8 @@ class ArchitectApi {
1679
1876
  null,
1680
1877
  ['PureCloud OAuth'],
1681
1878
  ['application/json'],
1682
- ['application/json']
1879
+ ['application/json'],
1880
+ opts['customHeaders']
1683
1881
  );
1684
1882
  }
1685
1883
 
@@ -1689,6 +1887,7 @@ class ArchitectApi {
1689
1887
  * @param {String} flowId The flow id to get the loglevel for
1690
1888
  * @param {Object} opts Optional parameters
1691
1889
  * @param {Array.<String>} opts.expand Expand instructions for the result
1890
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1692
1891
  */
1693
1892
  getFlowInstancesSettingsLoglevels(flowId, opts) {
1694
1893
  opts = opts || {};
@@ -1708,7 +1907,8 @@ class ArchitectApi {
1708
1907
  null,
1709
1908
  ['PureCloud OAuth'],
1710
1909
  ['application/json'],
1711
- ['application/json']
1910
+ ['application/json'],
1911
+ opts['customHeaders']
1712
1912
  );
1713
1913
  }
1714
1914
 
@@ -1718,6 +1918,7 @@ class ArchitectApi {
1718
1918
  * @param {String} flowId Flow ID
1719
1919
  * @param {Object} opts Optional parameters
1720
1920
  * @param {Boolean} opts.deleted Deleted flows (default to false)
1921
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1721
1922
  */
1722
1923
  getFlowLatestconfiguration(flowId, opts) {
1723
1924
  opts = opts || {};
@@ -1737,7 +1938,8 @@ class ArchitectApi {
1737
1938
  null,
1738
1939
  ['PureCloud OAuth'],
1739
1940
  ['application/json'],
1740
- ['application/json']
1941
+ ['application/json'],
1942
+ opts['customHeaders']
1741
1943
  );
1742
1944
  }
1743
1945
 
@@ -1748,6 +1950,7 @@ class ArchitectApi {
1748
1950
  * @param {String} versionId Version ID
1749
1951
  * @param {Object} opts Optional parameters
1750
1952
  * @param {String} opts.deleted Deleted flows
1953
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1751
1954
  */
1752
1955
  getFlowVersion(flowId, versionId, opts) {
1753
1956
  opts = opts || {};
@@ -1771,7 +1974,8 @@ class ArchitectApi {
1771
1974
  null,
1772
1975
  ['PureCloud OAuth'],
1773
1976
  ['application/json'],
1774
- ['application/json']
1977
+ ['application/json'],
1978
+ opts['customHeaders']
1775
1979
  );
1776
1980
  }
1777
1981
 
@@ -1782,6 +1986,7 @@ class ArchitectApi {
1782
1986
  * @param {String} versionId Version ID
1783
1987
  * @param {Object} opts Optional parameters
1784
1988
  * @param {String} opts.deleted Deleted flows
1989
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1785
1990
  */
1786
1991
  getFlowVersionConfiguration(flowId, versionId, opts) {
1787
1992
  opts = opts || {};
@@ -1805,7 +2010,8 @@ class ArchitectApi {
1805
2010
  null,
1806
2011
  ['PureCloud OAuth'],
1807
2012
  ['application/json'],
1808
- ['application/json']
2013
+ ['application/json'],
2014
+ opts['customHeaders']
1809
2015
  );
1810
2016
  }
1811
2017
 
@@ -1816,6 +2022,7 @@ class ArchitectApi {
1816
2022
  * @param {String} versionId Version ID.
1817
2023
  * @param {Object} opts Optional parameters
1818
2024
  * @param {Object} opts.language Language to filter for
2025
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1819
2026
  */
1820
2027
  getFlowVersionHealth(flowId, versionId, opts) {
1821
2028
  opts = opts || {};
@@ -1839,7 +2046,8 @@ class ArchitectApi {
1839
2046
  null,
1840
2047
  ['PureCloud OAuth'],
1841
2048
  ['application/json'],
1842
- ['application/json']
2049
+ ['application/json'],
2050
+ opts['customHeaders']
1843
2051
  );
1844
2052
  }
1845
2053
 
@@ -1850,8 +2058,12 @@ class ArchitectApi {
1850
2058
  * @param {String} versionId Version ID.
1851
2059
  * @param {String} intentId Intent ID.
1852
2060
  * @param {Object} language Language to filter for
2061
+ * @param {Object} opts Optional parameters
2062
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1853
2063
  */
1854
- getFlowVersionIntentHealth(flowId, versionId, intentId, language) {
2064
+ getFlowVersionIntentHealth(flowId, versionId, intentId, language, opts) {
2065
+ opts = opts || {};
2066
+
1855
2067
  // verify the required parameter 'flowId' is set
1856
2068
  if (flowId === undefined || flowId === null || flowId === '') {
1857
2069
  throw 'Missing the required parameter "flowId" when calling getFlowVersionIntentHealth';
@@ -1879,7 +2091,8 @@ class ArchitectApi {
1879
2091
  null,
1880
2092
  ['PureCloud OAuth'],
1881
2093
  ['application/json'],
1882
- ['application/json']
2094
+ ['application/json'],
2095
+ opts['customHeaders']
1883
2096
  );
1884
2097
  }
1885
2098
 
@@ -1891,8 +2104,12 @@ class ArchitectApi {
1891
2104
  * @param {String} intentId Intent ID.
1892
2105
  * @param {String} utteranceId Utterance ID.
1893
2106
  * @param {Object} language Language to filter for
2107
+ * @param {Object} opts Optional parameters
2108
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1894
2109
  */
1895
- getFlowVersionIntentUtteranceHealth(flowId, versionId, intentId, utteranceId, language) {
2110
+ getFlowVersionIntentUtteranceHealth(flowId, versionId, intentId, utteranceId, language, opts) {
2111
+ opts = opts || {};
2112
+
1896
2113
  // verify the required parameter 'flowId' is set
1897
2114
  if (flowId === undefined || flowId === null || flowId === '') {
1898
2115
  throw 'Missing the required parameter "flowId" when calling getFlowVersionIntentUtteranceHealth';
@@ -1924,7 +2141,8 @@ class ArchitectApi {
1924
2141
  null,
1925
2142
  ['PureCloud OAuth'],
1926
2143
  ['application/json'],
1927
- ['application/json']
2144
+ ['application/json'],
2145
+ opts['customHeaders']
1928
2146
  );
1929
2147
  }
1930
2148
 
@@ -1936,6 +2154,7 @@ class ArchitectApi {
1936
2154
  * @param {Number} opts.pageNumber Page number (default to 1)
1937
2155
  * @param {Number} opts.pageSize Page size (default to 25)
1938
2156
  * @param {Boolean} opts.deleted Include Deleted flows
2157
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1939
2158
  */
1940
2159
  getFlowVersions(flowId, opts) {
1941
2160
  opts = opts || {};
@@ -1955,7 +2174,8 @@ class ArchitectApi {
1955
2174
  null,
1956
2175
  ['PureCloud OAuth'],
1957
2176
  ['application/json'],
1958
- ['application/json']
2177
+ ['application/json'],
2178
+ opts['customHeaders']
1959
2179
  );
1960
2180
  }
1961
2181
 
@@ -1983,6 +2203,7 @@ class ArchitectApi {
1983
2203
  * @param {String} opts.publishedAfter Published after
1984
2204
  * @param {String} opts.publishedBefore Published before
1985
2205
  * @param {Array.<String>} opts.divisionId division ID(s)
2206
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1986
2207
  */
1987
2208
  getFlows(opts) {
1988
2209
  opts = opts || {};
@@ -1998,7 +2219,8 @@ class ArchitectApi {
1998
2219
  null,
1999
2220
  ['PureCloud OAuth'],
2000
2221
  ['application/json'],
2001
- ['application/json']
2222
+ ['application/json'],
2223
+ opts['customHeaders']
2002
2224
  );
2003
2225
  }
2004
2226
 
@@ -2008,6 +2230,7 @@ class ArchitectApi {
2008
2230
  * @param {String} datatableId id of datatable
2009
2231
  * @param {Object} opts Optional parameters
2010
2232
  * @param {Object} opts.expand Expand instructions for the result
2233
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2011
2234
  */
2012
2235
  getFlowsDatatable(datatableId, opts) {
2013
2236
  opts = opts || {};
@@ -2027,7 +2250,8 @@ class ArchitectApi {
2027
2250
  null,
2028
2251
  ['PureCloud OAuth'],
2029
2252
  ['application/json'],
2030
- ['application/json']
2253
+ ['application/json'],
2254
+ opts['customHeaders']
2031
2255
  );
2032
2256
  }
2033
2257
 
@@ -2036,8 +2260,12 @@ class ArchitectApi {
2036
2260
  * Returns the state information about an export job.
2037
2261
  * @param {String} datatableId id of datatable
2038
2262
  * @param {String} exportJobId id of export job
2263
+ * @param {Object} opts Optional parameters
2264
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2039
2265
  */
2040
- getFlowsDatatableExportJob(datatableId, exportJobId) {
2266
+ getFlowsDatatableExportJob(datatableId, exportJobId, opts) {
2267
+ opts = opts || {};
2268
+
2041
2269
  // verify the required parameter 'datatableId' is set
2042
2270
  if (datatableId === undefined || datatableId === null || datatableId === '') {
2043
2271
  throw 'Missing the required parameter "datatableId" when calling getFlowsDatatableExportJob';
@@ -2057,7 +2285,8 @@ class ArchitectApi {
2057
2285
  null,
2058
2286
  ['PureCloud OAuth'],
2059
2287
  ['application/json'],
2060
- ['application/json']
2288
+ ['application/json'],
2289
+ opts['customHeaders']
2061
2290
  );
2062
2291
  }
2063
2292
 
@@ -2066,8 +2295,12 @@ class ArchitectApi {
2066
2295
  * Returns the state information about an import job.
2067
2296
  * @param {String} datatableId id of datatable
2068
2297
  * @param {String} importJobId id of import job
2298
+ * @param {Object} opts Optional parameters
2299
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2069
2300
  */
2070
- getFlowsDatatableImportJob(datatableId, importJobId) {
2301
+ getFlowsDatatableImportJob(datatableId, importJobId, opts) {
2302
+ opts = opts || {};
2303
+
2071
2304
  // verify the required parameter 'datatableId' is set
2072
2305
  if (datatableId === undefined || datatableId === null || datatableId === '') {
2073
2306
  throw 'Missing the required parameter "datatableId" when calling getFlowsDatatableImportJob';
@@ -2087,7 +2320,8 @@ class ArchitectApi {
2087
2320
  null,
2088
2321
  ['PureCloud OAuth'],
2089
2322
  ['application/json'],
2090
- ['application/json']
2323
+ ['application/json'],
2324
+ opts['customHeaders']
2091
2325
  );
2092
2326
  }
2093
2327
 
@@ -2098,6 +2332,7 @@ class ArchitectApi {
2098
2332
  * @param {Object} opts Optional parameters
2099
2333
  * @param {Number} opts.pageNumber Page number (default to 1)
2100
2334
  * @param {Number} opts.pageSize Page size (default to 25)
2335
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2101
2336
  */
2102
2337
  getFlowsDatatableImportJobs(datatableId, opts) {
2103
2338
  opts = opts || {};
@@ -2117,7 +2352,8 @@ class ArchitectApi {
2117
2352
  null,
2118
2353
  ['PureCloud OAuth'],
2119
2354
  ['application/json'],
2120
- ['application/json']
2355
+ ['application/json'],
2356
+ opts['customHeaders']
2121
2357
  );
2122
2358
  }
2123
2359
 
@@ -2128,6 +2364,7 @@ class ArchitectApi {
2128
2364
  * @param {String} rowId The key for the row
2129
2365
  * @param {Object} opts Optional parameters
2130
2366
  * @param {Boolean} opts.showbrief if true returns just the key field for the row (default to true)
2367
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2131
2368
  */
2132
2369
  getFlowsDatatableRow(datatableId, rowId, opts) {
2133
2370
  opts = opts || {};
@@ -2151,7 +2388,8 @@ class ArchitectApi {
2151
2388
  null,
2152
2389
  ['PureCloud OAuth'],
2153
2390
  ['application/json'],
2154
- ['application/json']
2391
+ ['application/json'],
2392
+ opts['customHeaders']
2155
2393
  );
2156
2394
  }
2157
2395
 
@@ -2164,6 +2402,7 @@ class ArchitectApi {
2164
2402
  * @param {Number} opts.pageSize Page size (default to 25)
2165
2403
  * @param {Boolean} opts.showbrief If true returns just the key value of the row (default to true)
2166
2404
  * @param {Object} opts.sortOrder Sort order (default to ascending)
2405
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2167
2406
  */
2168
2407
  getFlowsDatatableRows(datatableId, opts) {
2169
2408
  opts = opts || {};
@@ -2183,7 +2422,8 @@ class ArchitectApi {
2183
2422
  null,
2184
2423
  ['PureCloud OAuth'],
2185
2424
  ['application/json'],
2186
- ['application/json']
2425
+ ['application/json'],
2426
+ opts['customHeaders']
2187
2427
  );
2188
2428
  }
2189
2429
 
@@ -2198,6 +2438,7 @@ class ArchitectApi {
2198
2438
  * @param {String} opts.sortOrder Sort order (default to ascending)
2199
2439
  * @param {Array.<String>} opts.divisionId division ID(s)
2200
2440
  * @param {String} opts.name Filter by Name. The wildcard character * is supported within the filter. Matches are case-insensitive.
2441
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2201
2442
  */
2202
2443
  getFlowsDatatables(opts) {
2203
2444
  opts = opts || {};
@@ -2213,7 +2454,8 @@ class ArchitectApi {
2213
2454
  null,
2214
2455
  ['PureCloud OAuth'],
2215
2456
  ['application/json'],
2216
- ['application/json']
2457
+ ['application/json'],
2458
+ opts['customHeaders']
2217
2459
  );
2218
2460
  }
2219
2461
 
@@ -2223,6 +2465,7 @@ class ArchitectApi {
2223
2465
  * @param {String} datatableId id of datatable
2224
2466
  * @param {Object} opts Optional parameters
2225
2467
  * @param {Object} opts.expand Expand instructions for the result
2468
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2226
2469
  */
2227
2470
  getFlowsDatatablesDivisionview(datatableId, opts) {
2228
2471
  opts = opts || {};
@@ -2242,7 +2485,8 @@ class ArchitectApi {
2242
2485
  null,
2243
2486
  ['PureCloud OAuth'],
2244
2487
  ['application/json'],
2245
- ['application/json']
2488
+ ['application/json'],
2489
+ opts['customHeaders']
2246
2490
  );
2247
2491
  }
2248
2492
 
@@ -2257,6 +2501,7 @@ class ArchitectApi {
2257
2501
  * @param {String} opts.sortOrder Sort order (default to ascending)
2258
2502
  * @param {Array.<String>} opts.divisionId division ID(s)
2259
2503
  * @param {String} opts.name Filter by Name. The wildcard character * is supported within the filter. Matches are case-insensitive.
2504
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2260
2505
  */
2261
2506
  getFlowsDatatablesDivisionviews(opts) {
2262
2507
  opts = opts || {};
@@ -2272,7 +2517,8 @@ class ArchitectApi {
2272
2517
  null,
2273
2518
  ['PureCloud OAuth'],
2274
2519
  ['application/json'],
2275
- ['application/json']
2520
+ ['application/json'],
2521
+ opts['customHeaders']
2276
2522
  );
2277
2523
  }
2278
2524
 
@@ -2292,6 +2538,7 @@ class ArchitectApi {
2292
2538
  * @param {String} opts.publishedBefore Published before
2293
2539
  * @param {Array.<String>} opts.divisionId division ID(s)
2294
2540
  * @param {Boolean} opts.includeSchemas Include variable schemas (default to false)
2541
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2295
2542
  */
2296
2543
  getFlowsDivisionviews(opts) {
2297
2544
  opts = opts || {};
@@ -2307,7 +2554,8 @@ class ArchitectApi {
2307
2554
  null,
2308
2555
  ['PureCloud OAuth'],
2309
2556
  ['application/json'],
2310
- ['application/json']
2557
+ ['application/json'],
2558
+ opts['customHeaders']
2311
2559
  );
2312
2560
  }
2313
2561
 
@@ -2315,8 +2563,12 @@ class ArchitectApi {
2315
2563
  * Get a flow execution's details. Flow execution details are available for several days after the flow is started.
2316
2564
  *
2317
2565
  * @param {String} flowExecutionId flow execution ID
2566
+ * @param {Object} opts Optional parameters
2567
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2318
2568
  */
2319
- getFlowsExecution(flowExecutionId) {
2569
+ getFlowsExecution(flowExecutionId, opts) {
2570
+ opts = opts || {};
2571
+
2320
2572
  // verify the required parameter 'flowExecutionId' is set
2321
2573
  if (flowExecutionId === undefined || flowExecutionId === null || flowExecutionId === '') {
2322
2574
  throw 'Missing the required parameter "flowExecutionId" when calling getFlowsExecution';
@@ -2332,7 +2584,8 @@ class ArchitectApi {
2332
2584
  null,
2333
2585
  ['PureCloud OAuth'],
2334
2586
  ['application/json'],
2335
- ['application/json']
2587
+ ['application/json'],
2588
+ opts['customHeaders']
2336
2589
  );
2337
2590
  }
2338
2591
 
@@ -2342,6 +2595,7 @@ class ArchitectApi {
2342
2595
  * @param {String} jobId Job ID
2343
2596
  * @param {Object} opts Optional parameters
2344
2597
  * @param {Array.<String>} opts.expand Which fields, if any, to expand.
2598
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2345
2599
  */
2346
2600
  getFlowsExportJob(jobId, opts) {
2347
2601
  opts = opts || {};
@@ -2361,7 +2615,8 @@ class ArchitectApi {
2361
2615
  null,
2362
2616
  ['PureCloud OAuth'],
2363
2617
  ['application/json'],
2364
- ['application/json']
2618
+ ['application/json'],
2619
+ opts['customHeaders']
2365
2620
  );
2366
2621
  }
2367
2622
 
@@ -2371,6 +2626,7 @@ class ArchitectApi {
2371
2626
  * @param {String} instanceId Instance ID
2372
2627
  * @param {Object} opts Optional parameters
2373
2628
  * @param {Object} opts.expand Expand various details.
2629
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2374
2630
  */
2375
2631
  getFlowsInstance(instanceId, opts) {
2376
2632
  opts = opts || {};
@@ -2390,7 +2646,8 @@ class ArchitectApi {
2390
2646
  null,
2391
2647
  ['PureCloud OAuth'],
2392
2648
  ['application/json'],
2393
- ['application/json']
2649
+ ['application/json'],
2650
+ opts['customHeaders']
2394
2651
  );
2395
2652
  }
2396
2653
 
@@ -2398,8 +2655,12 @@ class ArchitectApi {
2398
2655
  * Get the status and/or results of an asynchronous flow execution data retrieval job
2399
2656
  *
2400
2657
  * @param {String} jobId The asynchronous job ID
2658
+ * @param {Object} opts Optional parameters
2659
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2401
2660
  */
2402
- getFlowsInstancesJob(jobId) {
2661
+ getFlowsInstancesJob(jobId, opts) {
2662
+ opts = opts || {};
2663
+
2403
2664
  // verify the required parameter 'jobId' is set
2404
2665
  if (jobId === undefined || jobId === null || jobId === '') {
2405
2666
  throw 'Missing the required parameter "jobId" when calling getFlowsInstancesJob';
@@ -2415,7 +2676,8 @@ class ArchitectApi {
2415
2676
  null,
2416
2677
  ['PureCloud OAuth'],
2417
2678
  ['application/json'],
2418
- ['application/json']
2679
+ ['application/json'],
2680
+ opts['customHeaders']
2419
2681
  );
2420
2682
  }
2421
2683
 
@@ -2424,6 +2686,7 @@ class ArchitectApi {
2424
2686
  * Returns the queryable parameters that can be used to build a query for execution data.
2425
2687
  * @param {Object} opts Optional parameters
2426
2688
  * @param {Object} opts.expand Expand various query types.
2689
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2427
2690
  */
2428
2691
  getFlowsInstancesQuerycapabilities(opts) {
2429
2692
  opts = opts || {};
@@ -2439,15 +2702,20 @@ class ArchitectApi {
2439
2702
  null,
2440
2703
  ['PureCloud OAuth'],
2441
2704
  ['application/json'],
2442
- ['application/json']
2705
+ ['application/json'],
2706
+ opts['customHeaders']
2443
2707
  );
2444
2708
  }
2445
2709
 
2446
2710
  /**
2447
2711
  * Get the execution history enabled setting.
2448
2712
  * Get the execution history enabled setting.
2713
+ * @param {Object} opts Optional parameters
2714
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2449
2715
  */
2450
- getFlowsInstancesSettingsExecutiondata() {
2716
+ getFlowsInstancesSettingsExecutiondata(opts) {
2717
+ opts = opts || {};
2718
+
2451
2719
 
2452
2720
  return this.apiClient.callApi(
2453
2721
  '/api/v2/flows/instances/settings/executiondata',
@@ -2459,7 +2727,8 @@ class ArchitectApi {
2459
2727
  null,
2460
2728
  ['PureCloud OAuth'],
2461
2729
  ['application/json'],
2462
- ['application/json']
2730
+ ['application/json'],
2731
+ opts['customHeaders']
2463
2732
  );
2464
2733
  }
2465
2734
 
@@ -2470,6 +2739,7 @@ class ArchitectApi {
2470
2739
  * @param {Array.<String>} opts.expand Expand instructions for the result
2471
2740
  * @param {Number} opts.pageNumber Page number (default to 1)
2472
2741
  * @param {Number} opts.pageSize Number of entities to return. Maximum of 200. (default to 25)
2742
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2473
2743
  */
2474
2744
  getFlowsInstancesSettingsLoglevels(opts) {
2475
2745
  opts = opts || {};
@@ -2485,15 +2755,20 @@ class ArchitectApi {
2485
2755
  null,
2486
2756
  ['PureCloud OAuth'],
2487
2757
  ['application/json'],
2488
- ['application/json']
2758
+ ['application/json'],
2759
+ opts['customHeaders']
2489
2760
  );
2490
2761
  }
2491
2762
 
2492
2763
  /**
2493
2764
  * Gets the available flow log level characteristics for this organization.
2494
2765
  * Log levels can be customized and this returns the set of available characteristics that can be enabled/disabled.
2766
+ * @param {Object} opts Optional parameters
2767
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2495
2768
  */
2496
- getFlowsInstancesSettingsLoglevelsCharacteristics() {
2769
+ getFlowsInstancesSettingsLoglevelsCharacteristics(opts) {
2770
+ opts = opts || {};
2771
+
2497
2772
 
2498
2773
  return this.apiClient.callApi(
2499
2774
  '/api/v2/flows/instances/settings/loglevels/characteristics',
@@ -2505,7 +2780,8 @@ class ArchitectApi {
2505
2780
  null,
2506
2781
  ['PureCloud OAuth'],
2507
2782
  ['application/json'],
2508
- ['application/json']
2783
+ ['application/json'],
2784
+ opts['customHeaders']
2509
2785
  );
2510
2786
  }
2511
2787
 
@@ -2514,6 +2790,7 @@ class ArchitectApi {
2514
2790
  * Returns the flow default log level which will be used if no specific flow id log level is found.
2515
2791
  * @param {Object} opts Optional parameters
2516
2792
  * @param {Array.<String>} opts.expand Expand instructions for the result
2793
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2517
2794
  */
2518
2795
  getFlowsInstancesSettingsLoglevelsDefault(opts) {
2519
2796
  opts = opts || {};
@@ -2529,7 +2806,8 @@ class ArchitectApi {
2529
2806
  null,
2530
2807
  ['PureCloud OAuth'],
2531
2808
  ['application/json'],
2532
- ['application/json']
2809
+ ['application/json'],
2810
+ opts['customHeaders']
2533
2811
  );
2534
2812
  }
2535
2813
 
@@ -2539,6 +2817,7 @@ class ArchitectApi {
2539
2817
  * @param {String} jobId Job ID
2540
2818
  * @param {Object} opts Optional parameters
2541
2819
  * @param {Array.<String>} opts.expand Which fields, if any, to expand.
2820
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2542
2821
  */
2543
2822
  getFlowsJob(jobId, opts) {
2544
2823
  opts = opts || {};
@@ -2558,7 +2837,8 @@ class ArchitectApi {
2558
2837
  null,
2559
2838
  ['PureCloud OAuth'],
2560
2839
  ['application/json'],
2561
- ['application/json']
2840
+ ['application/json'],
2841
+ opts['customHeaders']
2562
2842
  );
2563
2843
  }
2564
2844
 
@@ -2566,8 +2846,12 @@ class ArchitectApi {
2566
2846
  * Get a flow milestone
2567
2847
  * Returns a specified flow milestone
2568
2848
  * @param {String} milestoneId flow milestone ID
2849
+ * @param {Object} opts Optional parameters
2850
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2569
2851
  */
2570
- getFlowsMilestone(milestoneId) {
2852
+ getFlowsMilestone(milestoneId, opts) {
2853
+ opts = opts || {};
2854
+
2571
2855
  // verify the required parameter 'milestoneId' is set
2572
2856
  if (milestoneId === undefined || milestoneId === null || milestoneId === '') {
2573
2857
  throw 'Missing the required parameter "milestoneId" when calling getFlowsMilestone';
@@ -2583,7 +2867,8 @@ class ArchitectApi {
2583
2867
  null,
2584
2868
  ['PureCloud OAuth'],
2585
2869
  ['application/json'],
2586
- ['application/json']
2870
+ ['application/json'],
2871
+ opts['customHeaders']
2587
2872
  );
2588
2873
  }
2589
2874
 
@@ -2600,6 +2885,7 @@ class ArchitectApi {
2600
2885
  * @param {String} opts.description Description
2601
2886
  * @param {String} opts.nameOrDescription Name or description
2602
2887
  * @param {Array.<String>} opts.divisionId division ID(s)
2888
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2603
2889
  */
2604
2890
  getFlowsMilestones(opts) {
2605
2891
  opts = opts || {};
@@ -2615,7 +2901,8 @@ class ArchitectApi {
2615
2901
  null,
2616
2902
  ['PureCloud OAuth'],
2617
2903
  ['application/json'],
2618
- ['application/json']
2904
+ ['application/json'],
2905
+ opts['customHeaders']
2619
2906
  );
2620
2907
  }
2621
2908
 
@@ -2630,6 +2917,7 @@ class ArchitectApi {
2630
2917
  * @param {Array.<String>} opts.id ID
2631
2918
  * @param {String} opts.name Name
2632
2919
  * @param {Array.<String>} opts.divisionId division ID(s)
2920
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2633
2921
  */
2634
2922
  getFlowsMilestonesDivisionviews(opts) {
2635
2923
  opts = opts || {};
@@ -2645,7 +2933,8 @@ class ArchitectApi {
2645
2933
  null,
2646
2934
  ['PureCloud OAuth'],
2647
2935
  ['application/json'],
2648
- ['application/json']
2936
+ ['application/json'],
2937
+ opts['customHeaders']
2649
2938
  );
2650
2939
  }
2651
2940
 
@@ -2653,8 +2942,12 @@ class ArchitectApi {
2653
2942
  * Get a flow outcome
2654
2943
  * Returns a specified flow outcome
2655
2944
  * @param {String} flowOutcomeId flow outcome ID
2945
+ * @param {Object} opts Optional parameters
2946
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2656
2947
  */
2657
- getFlowsOutcome(flowOutcomeId) {
2948
+ getFlowsOutcome(flowOutcomeId, opts) {
2949
+ opts = opts || {};
2950
+
2658
2951
  // verify the required parameter 'flowOutcomeId' is set
2659
2952
  if (flowOutcomeId === undefined || flowOutcomeId === null || flowOutcomeId === '') {
2660
2953
  throw 'Missing the required parameter "flowOutcomeId" when calling getFlowsOutcome';
@@ -2670,7 +2963,8 @@ class ArchitectApi {
2670
2963
  null,
2671
2964
  ['PureCloud OAuth'],
2672
2965
  ['application/json'],
2673
- ['application/json']
2966
+ ['application/json'],
2967
+ opts['customHeaders']
2674
2968
  );
2675
2969
  }
2676
2970
 
@@ -2687,6 +2981,7 @@ class ArchitectApi {
2687
2981
  * @param {String} opts.description Description
2688
2982
  * @param {String} opts.nameOrDescription Name or description
2689
2983
  * @param {Array.<String>} opts.divisionId division ID(s)
2984
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2690
2985
  */
2691
2986
  getFlowsOutcomes(opts) {
2692
2987
  opts = opts || {};
@@ -2702,7 +2997,8 @@ class ArchitectApi {
2702
2997
  null,
2703
2998
  ['PureCloud OAuth'],
2704
2999
  ['application/json'],
2705
- ['application/json']
3000
+ ['application/json'],
3001
+ opts['customHeaders']
2706
3002
  );
2707
3003
  }
2708
3004
 
@@ -2717,6 +3013,7 @@ class ArchitectApi {
2717
3013
  * @param {Array.<String>} opts.id ID
2718
3014
  * @param {String} opts.name Name
2719
3015
  * @param {Array.<String>} opts.divisionId division ID(s)
3016
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2720
3017
  */
2721
3018
  getFlowsOutcomesDivisionviews(opts) {
2722
3019
  opts = opts || {};
@@ -2732,7 +3029,8 @@ class ArchitectApi {
2732
3029
  null,
2733
3030
  ['PureCloud OAuth'],
2734
3031
  ['application/json'],
2735
- ['application/json']
3032
+ ['application/json'],
3033
+ opts['customHeaders']
2736
3034
  );
2737
3035
  }
2738
3036
 
@@ -2742,6 +3040,7 @@ class ArchitectApi {
2742
3040
  * @param {String} grammarId grammar ID
2743
3041
  * @param {Object} opts Optional parameters
2744
3042
  * @param {Object} opts.body
3043
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2745
3044
  */
2746
3045
  patchArchitectGrammar(grammarId, opts) {
2747
3046
  opts = opts || {};
@@ -2761,7 +3060,8 @@ class ArchitectApi {
2761
3060
  opts['body'],
2762
3061
  ['PureCloud OAuth'],
2763
3062
  ['application/json'],
2764
- ['application/json']
3063
+ ['application/json'],
3064
+ opts['customHeaders']
2765
3065
  );
2766
3066
  }
2767
3067
 
@@ -2772,6 +3072,7 @@ class ArchitectApi {
2772
3072
  * @param {String} languageCode Language
2773
3073
  * @param {Object} opts Optional parameters
2774
3074
  * @param {Object} opts.body
3075
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2775
3076
  */
2776
3077
  patchArchitectGrammarLanguage(grammarId, languageCode, opts) {
2777
3078
  opts = opts || {};
@@ -2795,7 +3096,8 @@ class ArchitectApi {
2795
3096
  opts['body'],
2796
3097
  ['PureCloud OAuth'],
2797
3098
  ['application/json'],
2798
- ['application/json']
3099
+ ['application/json'],
3100
+ opts['customHeaders']
2799
3101
  );
2800
3102
  }
2801
3103
 
@@ -2803,8 +3105,12 @@ class ArchitectApi {
2803
3105
  * Edit the execution history enabled setting.
2804
3106
  * Edit the execution history enabled setting.
2805
3107
  * @param {Object} body New Execution Data Setting
3108
+ * @param {Object} opts Optional parameters
3109
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2806
3110
  */
2807
- patchFlowsInstancesSettingsExecutiondata(body) {
3111
+ patchFlowsInstancesSettingsExecutiondata(body, opts) {
3112
+ opts = opts || {};
3113
+
2808
3114
  // verify the required parameter 'body' is set
2809
3115
  if (body === undefined || body === null) {
2810
3116
  throw 'Missing the required parameter "body" when calling patchFlowsInstancesSettingsExecutiondata';
@@ -2820,15 +3126,20 @@ class ArchitectApi {
2820
3126
  body,
2821
3127
  ['PureCloud OAuth'],
2822
3128
  ['application/json'],
2823
- ['application/json']
3129
+ ['application/json'],
3130
+ opts['customHeaders']
2824
3131
  );
2825
3132
  }
2826
3133
 
2827
3134
  /**
2828
3135
  * Rebuild Dependency Tracking data for an organization
2829
3136
  * Asynchronous. Notification topic: v2.architect.dependencytracking.build
3137
+ * @param {Object} opts Optional parameters
3138
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2830
3139
  */
2831
- postArchitectDependencytrackingBuild() {
3140
+ postArchitectDependencytrackingBuild(opts) {
3141
+ opts = opts || {};
3142
+
2832
3143
 
2833
3144
  return this.apiClient.callApi(
2834
3145
  '/api/v2/architect/dependencytracking/build',
@@ -2840,7 +3151,8 @@ class ArchitectApi {
2840
3151
  null,
2841
3152
  ['PureCloud OAuth'],
2842
3153
  ['application/json'],
2843
- ['application/json']
3154
+ ['application/json'],
3155
+ opts['customHeaders']
2844
3156
  );
2845
3157
  }
2846
3158
 
@@ -2848,8 +3160,12 @@ class ArchitectApi {
2848
3160
  * Creates a new emergency group
2849
3161
  *
2850
3162
  * @param {Object} body
3163
+ * @param {Object} opts Optional parameters
3164
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2851
3165
  */
2852
- postArchitectEmergencygroups(body) {
3166
+ postArchitectEmergencygroups(body, opts) {
3167
+ opts = opts || {};
3168
+
2853
3169
  // verify the required parameter 'body' is set
2854
3170
  if (body === undefined || body === null) {
2855
3171
  throw 'Missing the required parameter "body" when calling postArchitectEmergencygroups';
@@ -2865,7 +3181,8 @@ class ArchitectApi {
2865
3181
  body,
2866
3182
  ['PureCloud OAuth'],
2867
3183
  ['application/json'],
2868
- ['application/json']
3184
+ ['application/json'],
3185
+ opts['customHeaders']
2869
3186
  );
2870
3187
  }
2871
3188
 
@@ -2875,8 +3192,12 @@ class ArchitectApi {
2875
3192
  * @param {String} grammarId Grammar ID
2876
3193
  * @param {String} languageCode Language
2877
3194
  * @param {Object} body query
3195
+ * @param {Object} opts Optional parameters
3196
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2878
3197
  */
2879
- postArchitectGrammarLanguageFilesDtmf(grammarId, languageCode, body) {
3198
+ postArchitectGrammarLanguageFilesDtmf(grammarId, languageCode, body, opts) {
3199
+ opts = opts || {};
3200
+
2880
3201
  // verify the required parameter 'grammarId' is set
2881
3202
  if (grammarId === undefined || grammarId === null || grammarId === '') {
2882
3203
  throw 'Missing the required parameter "grammarId" when calling postArchitectGrammarLanguageFilesDtmf';
@@ -2900,7 +3221,8 @@ class ArchitectApi {
2900
3221
  body,
2901
3222
  ['PureCloud OAuth'],
2902
3223
  ['application/json'],
2903
- ['application/json']
3224
+ ['application/json'],
3225
+ opts['customHeaders']
2904
3226
  );
2905
3227
  }
2906
3228
 
@@ -2910,8 +3232,12 @@ class ArchitectApi {
2910
3232
  * @param {String} grammarId Grammar ID
2911
3233
  * @param {String} languageCode Language
2912
3234
  * @param {Object} body query
3235
+ * @param {Object} opts Optional parameters
3236
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2913
3237
  */
2914
- postArchitectGrammarLanguageFilesVoice(grammarId, languageCode, body) {
3238
+ postArchitectGrammarLanguageFilesVoice(grammarId, languageCode, body, opts) {
3239
+ opts = opts || {};
3240
+
2915
3241
  // verify the required parameter 'grammarId' is set
2916
3242
  if (grammarId === undefined || grammarId === null || grammarId === '') {
2917
3243
  throw 'Missing the required parameter "grammarId" when calling postArchitectGrammarLanguageFilesVoice';
@@ -2935,7 +3261,8 @@ class ArchitectApi {
2935
3261
  body,
2936
3262
  ['PureCloud OAuth'],
2937
3263
  ['application/json'],
2938
- ['application/json']
3264
+ ['application/json'],
3265
+ opts['customHeaders']
2939
3266
  );
2940
3267
  }
2941
3268
 
@@ -2944,8 +3271,12 @@ class ArchitectApi {
2944
3271
  *
2945
3272
  * @param {String} grammarId Grammar ID
2946
3273
  * @param {Object} body
3274
+ * @param {Object} opts Optional parameters
3275
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2947
3276
  */
2948
- postArchitectGrammarLanguages(grammarId, body) {
3277
+ postArchitectGrammarLanguages(grammarId, body, opts) {
3278
+ opts = opts || {};
3279
+
2949
3280
  // verify the required parameter 'grammarId' is set
2950
3281
  if (grammarId === undefined || grammarId === null || grammarId === '') {
2951
3282
  throw 'Missing the required parameter "grammarId" when calling postArchitectGrammarLanguages';
@@ -2965,7 +3296,8 @@ class ArchitectApi {
2965
3296
  body,
2966
3297
  ['PureCloud OAuth'],
2967
3298
  ['application/json'],
2968
- ['application/json']
3299
+ ['application/json'],
3300
+ opts['customHeaders']
2969
3301
  );
2970
3302
  }
2971
3303
 
@@ -2973,8 +3305,12 @@ class ArchitectApi {
2973
3305
  * Create a new grammar
2974
3306
  *
2975
3307
  * @param {Object} body
3308
+ * @param {Object} opts Optional parameters
3309
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2976
3310
  */
2977
- postArchitectGrammars(body) {
3311
+ postArchitectGrammars(body, opts) {
3312
+ opts = opts || {};
3313
+
2978
3314
  // verify the required parameter 'body' is set
2979
3315
  if (body === undefined || body === null) {
2980
3316
  throw 'Missing the required parameter "body" when calling postArchitectGrammars';
@@ -2990,7 +3326,8 @@ class ArchitectApi {
2990
3326
  body,
2991
3327
  ['PureCloud OAuth'],
2992
3328
  ['application/json'],
2993
- ['application/json']
3329
+ ['application/json'],
3330
+ opts['customHeaders']
2994
3331
  );
2995
3332
  }
2996
3333
 
@@ -2998,8 +3335,12 @@ class ArchitectApi {
2998
3335
  * Create IVR config.
2999
3336
  *
3000
3337
  * @param {Object} body
3338
+ * @param {Object} opts Optional parameters
3339
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
3001
3340
  */
3002
- postArchitectIvrs(body) {
3341
+ postArchitectIvrs(body, opts) {
3342
+ opts = opts || {};
3343
+
3003
3344
  // verify the required parameter 'body' is set
3004
3345
  if (body === undefined || body === null) {
3005
3346
  throw 'Missing the required parameter "body" when calling postArchitectIvrs';
@@ -3015,7 +3356,8 @@ class ArchitectApi {
3015
3356
  body,
3016
3357
  ['PureCloud OAuth'],
3017
3358
  ['application/json'],
3018
- ['application/json']
3359
+ ['application/json'],
3360
+ opts['customHeaders']
3019
3361
  );
3020
3362
  }
3021
3363
 
@@ -3023,8 +3365,12 @@ class ArchitectApi {
3023
3365
  * Generate prompt history
3024
3366
  * Asynchronous. Notification topic: v2.architect.prompts.{promptId}
3025
3367
  * @param {String} promptId Prompt ID
3368
+ * @param {Object} opts Optional parameters
3369
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
3026
3370
  */
3027
- postArchitectPromptHistory(promptId) {
3371
+ postArchitectPromptHistory(promptId, opts) {
3372
+ opts = opts || {};
3373
+
3028
3374
  // verify the required parameter 'promptId' is set
3029
3375
  if (promptId === undefined || promptId === null || promptId === '') {
3030
3376
  throw 'Missing the required parameter "promptId" when calling postArchitectPromptHistory';
@@ -3040,7 +3386,8 @@ class ArchitectApi {
3040
3386
  null,
3041
3387
  ['PureCloud OAuth'],
3042
3388
  ['application/json'],
3043
- ['application/json']
3389
+ ['application/json'],
3390
+ opts['customHeaders']
3044
3391
  );
3045
3392
  }
3046
3393
 
@@ -3049,9 +3396,13 @@ class ArchitectApi {
3049
3396
  *
3050
3397
  * @param {String} promptId Prompt ID
3051
3398
  * @param {String} languageCode Language
3399
+ * @param {Object} opts Optional parameters
3400
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
3052
3401
  * postArchitectPromptResourceUploads is a preview method and is subject to both breaking and non-breaking changes at any time without notice
3053
3402
  */
3054
- postArchitectPromptResourceUploads(promptId, languageCode) {
3403
+ postArchitectPromptResourceUploads(promptId, languageCode, opts) {
3404
+ opts = opts || {};
3405
+
3055
3406
  // verify the required parameter 'promptId' is set
3056
3407
  if (promptId === undefined || promptId === null || promptId === '') {
3057
3408
  throw 'Missing the required parameter "promptId" when calling postArchitectPromptResourceUploads';
@@ -3071,7 +3422,8 @@ class ArchitectApi {
3071
3422
  null,
3072
3423
  ['PureCloud OAuth'],
3073
3424
  ['application/json'],
3074
- ['application/json']
3425
+ ['application/json'],
3426
+ opts['customHeaders']
3075
3427
  );
3076
3428
  }
3077
3429
 
@@ -3080,8 +3432,12 @@ class ArchitectApi {
3080
3432
  *
3081
3433
  * @param {String} promptId Prompt ID
3082
3434
  * @param {Object} body
3435
+ * @param {Object} opts Optional parameters
3436
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
3083
3437
  */
3084
- postArchitectPromptResources(promptId, body) {
3438
+ postArchitectPromptResources(promptId, body, opts) {
3439
+ opts = opts || {};
3440
+
3085
3441
  // verify the required parameter 'promptId' is set
3086
3442
  if (promptId === undefined || promptId === null || promptId === '') {
3087
3443
  throw 'Missing the required parameter "promptId" when calling postArchitectPromptResources';
@@ -3101,7 +3457,8 @@ class ArchitectApi {
3101
3457
  body,
3102
3458
  ['PureCloud OAuth'],
3103
3459
  ['application/json'],
3104
- ['application/json']
3460
+ ['application/json'],
3461
+ opts['customHeaders']
3105
3462
  );
3106
3463
  }
3107
3464
 
@@ -3109,8 +3466,12 @@ class ArchitectApi {
3109
3466
  * Create a new user prompt
3110
3467
  *
3111
3468
  * @param {Object} body
3469
+ * @param {Object} opts Optional parameters
3470
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
3112
3471
  */
3113
- postArchitectPrompts(body) {
3472
+ postArchitectPrompts(body, opts) {
3473
+ opts = opts || {};
3474
+
3114
3475
  // verify the required parameter 'body' is set
3115
3476
  if (body === undefined || body === null) {
3116
3477
  throw 'Missing the required parameter "body" when calling postArchitectPrompts';
@@ -3126,7 +3487,8 @@ class ArchitectApi {
3126
3487
  body,
3127
3488
  ['PureCloud OAuth'],
3128
3489
  ['application/json'],
3129
- ['application/json']
3490
+ ['application/json'],
3491
+ opts['customHeaders']
3130
3492
  );
3131
3493
  }
3132
3494
 
@@ -3134,8 +3496,12 @@ class ArchitectApi {
3134
3496
  * Creates a new schedule group
3135
3497
  *
3136
3498
  * @param {Object} body
3499
+ * @param {Object} opts Optional parameters
3500
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
3137
3501
  */
3138
- postArchitectSchedulegroups(body) {
3502
+ postArchitectSchedulegroups(body, opts) {
3503
+ opts = opts || {};
3504
+
3139
3505
  // verify the required parameter 'body' is set
3140
3506
  if (body === undefined || body === null) {
3141
3507
  throw 'Missing the required parameter "body" when calling postArchitectSchedulegroups';
@@ -3151,7 +3517,8 @@ class ArchitectApi {
3151
3517
  body,
3152
3518
  ['PureCloud OAuth'],
3153
3519
  ['application/json'],
3154
- ['application/json']
3520
+ ['application/json'],
3521
+ opts['customHeaders']
3155
3522
  );
3156
3523
  }
3157
3524
 
@@ -3159,8 +3526,12 @@ class ArchitectApi {
3159
3526
  * Create a new schedule.
3160
3527
  *
3161
3528
  * @param {Object} body
3529
+ * @param {Object} opts Optional parameters
3530
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
3162
3531
  */
3163
- postArchitectSchedules(body) {
3532
+ postArchitectSchedules(body, opts) {
3533
+ opts = opts || {};
3534
+
3164
3535
  // verify the required parameter 'body' is set
3165
3536
  if (body === undefined || body === null) {
3166
3537
  throw 'Missing the required parameter "body" when calling postArchitectSchedules';
@@ -3176,7 +3547,8 @@ class ArchitectApi {
3176
3547
  body,
3177
3548
  ['PureCloud OAuth'],
3178
3549
  ['application/json'],
3179
- ['application/json']
3550
+ ['application/json'],
3551
+ opts['customHeaders']
3180
3552
  );
3181
3553
  }
3182
3554
 
@@ -3184,8 +3556,12 @@ class ArchitectApi {
3184
3556
  * Generate system prompt history
3185
3557
  * Asynchronous. Notification topic: v2.architect.systemprompts.{systemPromptId}
3186
3558
  * @param {String} promptId promptId
3559
+ * @param {Object} opts Optional parameters
3560
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
3187
3561
  */
3188
- postArchitectSystempromptHistory(promptId) {
3562
+ postArchitectSystempromptHistory(promptId, opts) {
3563
+ opts = opts || {};
3564
+
3189
3565
  // verify the required parameter 'promptId' is set
3190
3566
  if (promptId === undefined || promptId === null || promptId === '') {
3191
3567
  throw 'Missing the required parameter "promptId" when calling postArchitectSystempromptHistory';
@@ -3201,7 +3577,8 @@ class ArchitectApi {
3201
3577
  null,
3202
3578
  ['PureCloud OAuth'],
3203
3579
  ['application/json'],
3204
- ['application/json']
3580
+ ['application/json'],
3581
+ opts['customHeaders']
3205
3582
  );
3206
3583
  }
3207
3584
 
@@ -3210,9 +3587,13 @@ class ArchitectApi {
3210
3587
  *
3211
3588
  * @param {String} promptId Prompt ID
3212
3589
  * @param {String} languageCode Language
3590
+ * @param {Object} opts Optional parameters
3591
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
3213
3592
  * postArchitectSystempromptResourceUploads is a preview method and is subject to both breaking and non-breaking changes at any time without notice
3214
3593
  */
3215
- postArchitectSystempromptResourceUploads(promptId, languageCode) {
3594
+ postArchitectSystempromptResourceUploads(promptId, languageCode, opts) {
3595
+ opts = opts || {};
3596
+
3216
3597
  // verify the required parameter 'promptId' is set
3217
3598
  if (promptId === undefined || promptId === null || promptId === '') {
3218
3599
  throw 'Missing the required parameter "promptId" when calling postArchitectSystempromptResourceUploads';
@@ -3232,7 +3613,8 @@ class ArchitectApi {
3232
3613
  null,
3233
3614
  ['PureCloud OAuth'],
3234
3615
  ['application/json'],
3235
- ['application/json']
3616
+ ['application/json'],
3617
+ opts['customHeaders']
3236
3618
  );
3237
3619
  }
3238
3620
 
@@ -3241,8 +3623,12 @@ class ArchitectApi {
3241
3623
  *
3242
3624
  * @param {String} promptId Prompt ID
3243
3625
  * @param {Object} body
3626
+ * @param {Object} opts Optional parameters
3627
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
3244
3628
  */
3245
- postArchitectSystempromptResources(promptId, body) {
3629
+ postArchitectSystempromptResources(promptId, body, opts) {
3630
+ opts = opts || {};
3631
+
3246
3632
  // verify the required parameter 'promptId' is set
3247
3633
  if (promptId === undefined || promptId === null || promptId === '') {
3248
3634
  throw 'Missing the required parameter "promptId" when calling postArchitectSystempromptResources';
@@ -3262,7 +3648,8 @@ class ArchitectApi {
3262
3648
  body,
3263
3649
  ['PureCloud OAuth'],
3264
3650
  ['application/json'],
3265
- ['application/json']
3651
+ ['application/json'],
3652
+ opts['customHeaders']
3266
3653
  );
3267
3654
  }
3268
3655
 
@@ -3270,8 +3657,12 @@ class ArchitectApi {
3270
3657
  * Generate flow history
3271
3658
  * Asynchronous. Notification topic: v2.flows.{flowId}
3272
3659
  * @param {String} flowId Flow ID
3660
+ * @param {Object} opts Optional parameters
3661
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
3273
3662
  */
3274
- postFlowHistory(flowId) {
3663
+ postFlowHistory(flowId, opts) {
3664
+ opts = opts || {};
3665
+
3275
3666
  // verify the required parameter 'flowId' is set
3276
3667
  if (flowId === undefined || flowId === null || flowId === '') {
3277
3668
  throw 'Missing the required parameter "flowId" when calling postFlowHistory';
@@ -3287,7 +3678,8 @@ class ArchitectApi {
3287
3678
  null,
3288
3679
  ['PureCloud OAuth'],
3289
3680
  ['application/json'],
3290
- ['application/json']
3681
+ ['application/json'],
3682
+ opts['customHeaders']
3291
3683
  );
3292
3684
  }
3293
3685
 
@@ -3298,6 +3690,7 @@ class ArchitectApi {
3298
3690
  * @param {Object} body New LogLevel settings
3299
3691
  * @param {Object} opts Optional parameters
3300
3692
  * @param {Array.<String>} opts.expand Expand instructions for the result
3693
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
3301
3694
  */
3302
3695
  postFlowInstancesSettingsLoglevels(flowId, body, opts) {
3303
3696
  opts = opts || {};
@@ -3321,7 +3714,8 @@ class ArchitectApi {
3321
3714
  body,
3322
3715
  ['PureCloud OAuth'],
3323
3716
  ['application/json'],
3324
- ['application/json']
3717
+ ['application/json'],
3718
+ opts['customHeaders']
3325
3719
  );
3326
3720
  }
3327
3721
 
@@ -3330,8 +3724,12 @@ class ArchitectApi {
3330
3724
  *
3331
3725
  * @param {String} flowId Flow ID
3332
3726
  * @param {Object.<String, {String: Object}>} body
3727
+ * @param {Object} opts Optional parameters
3728
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
3333
3729
  */
3334
- postFlowVersions(flowId, body) {
3730
+ postFlowVersions(flowId, body, opts) {
3731
+ opts = opts || {};
3732
+
3335
3733
  // verify the required parameter 'flowId' is set
3336
3734
  if (flowId === undefined || flowId === null || flowId === '') {
3337
3735
  throw 'Missing the required parameter "flowId" when calling postFlowVersions';
@@ -3351,7 +3749,8 @@ class ArchitectApi {
3351
3749
  body,
3352
3750
  ['PureCloud OAuth'],
3353
3751
  ['application/json'],
3354
- ['application/json']
3752
+ ['application/json'],
3753
+ opts['customHeaders']
3355
3754
  );
3356
3755
  }
3357
3756
 
@@ -3361,6 +3760,7 @@ class ArchitectApi {
3361
3760
  * @param {Object} body
3362
3761
  * @param {Object} opts Optional parameters
3363
3762
  * @param {String} opts.language Language
3763
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
3364
3764
  */
3365
3765
  postFlows(body, opts) {
3366
3766
  opts = opts || {};
@@ -3380,7 +3780,8 @@ class ArchitectApi {
3380
3780
  body,
3381
3781
  ['PureCloud OAuth'],
3382
3782
  ['application/json'],
3383
- ['application/json']
3783
+ ['application/json'],
3784
+ opts['customHeaders']
3384
3785
  );
3385
3786
  }
3386
3787
 
@@ -3388,8 +3789,12 @@ class ArchitectApi {
3388
3789
  * Check-in flow
3389
3790
  * Asynchronous. Notification topic: v2.flows.{flowId}
3390
3791
  * @param {String} flow Flow ID
3792
+ * @param {Object} opts Optional parameters
3793
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
3391
3794
  */
3392
- postFlowsActionsCheckin(flow) {
3795
+ postFlowsActionsCheckin(flow, opts) {
3796
+ opts = opts || {};
3797
+
3393
3798
  // verify the required parameter 'flow' is set
3394
3799
  if (flow === undefined || flow === null) {
3395
3800
  throw 'Missing the required parameter "flow" when calling postFlowsActionsCheckin';
@@ -3405,7 +3810,8 @@ class ArchitectApi {
3405
3810
  null,
3406
3811
  ['PureCloud OAuth'],
3407
3812
  ['application/json'],
3408
- ['application/json']
3813
+ ['application/json'],
3814
+ opts['customHeaders']
3409
3815
  );
3410
3816
  }
3411
3817
 
@@ -3413,8 +3819,12 @@ class ArchitectApi {
3413
3819
  * Check-out flow
3414
3820
  *
3415
3821
  * @param {String} flow Flow ID
3822
+ * @param {Object} opts Optional parameters
3823
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
3416
3824
  */
3417
- postFlowsActionsCheckout(flow) {
3825
+ postFlowsActionsCheckout(flow, opts) {
3826
+ opts = opts || {};
3827
+
3418
3828
  // verify the required parameter 'flow' is set
3419
3829
  if (flow === undefined || flow === null) {
3420
3830
  throw 'Missing the required parameter "flow" when calling postFlowsActionsCheckout';
@@ -3430,7 +3840,8 @@ class ArchitectApi {
3430
3840
  null,
3431
3841
  ['PureCloud OAuth'],
3432
3842
  ['application/json'],
3433
- ['application/json']
3843
+ ['application/json'],
3844
+ opts['customHeaders']
3434
3845
  );
3435
3846
  }
3436
3847
 
@@ -3438,8 +3849,12 @@ class ArchitectApi {
3438
3849
  * Deactivate flow
3439
3850
  *
3440
3851
  * @param {String} flow Flow ID
3852
+ * @param {Object} opts Optional parameters
3853
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
3441
3854
  */
3442
- postFlowsActionsDeactivate(flow) {
3855
+ postFlowsActionsDeactivate(flow, opts) {
3856
+ opts = opts || {};
3857
+
3443
3858
  // verify the required parameter 'flow' is set
3444
3859
  if (flow === undefined || flow === null) {
3445
3860
  throw 'Missing the required parameter "flow" when calling postFlowsActionsDeactivate';
@@ -3455,7 +3870,8 @@ class ArchitectApi {
3455
3870
  null,
3456
3871
  ['PureCloud OAuth'],
3457
3872
  ['application/json'],
3458
- ['application/json']
3873
+ ['application/json'],
3874
+ opts['customHeaders']
3459
3875
  );
3460
3876
  }
3461
3877
 
@@ -3465,6 +3881,7 @@ class ArchitectApi {
3465
3881
  * @param {String} flow Flow ID
3466
3882
  * @param {Object} opts Optional parameters
3467
3883
  * @param {String} opts.version version
3884
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
3468
3885
  */
3469
3886
  postFlowsActionsPublish(flow, opts) {
3470
3887
  opts = opts || {};
@@ -3484,7 +3901,8 @@ class ArchitectApi {
3484
3901
  null,
3485
3902
  ['PureCloud OAuth'],
3486
3903
  ['application/json'],
3487
- ['application/json']
3904
+ ['application/json'],
3905
+ opts['customHeaders']
3488
3906
  );
3489
3907
  }
3490
3908
 
@@ -3492,8 +3910,12 @@ class ArchitectApi {
3492
3910
  * Revert flow
3493
3911
  *
3494
3912
  * @param {String} flow Flow ID
3913
+ * @param {Object} opts Optional parameters
3914
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
3495
3915
  */
3496
- postFlowsActionsRevert(flow) {
3916
+ postFlowsActionsRevert(flow, opts) {
3917
+ opts = opts || {};
3918
+
3497
3919
  // verify the required parameter 'flow' is set
3498
3920
  if (flow === undefined || flow === null) {
3499
3921
  throw 'Missing the required parameter "flow" when calling postFlowsActionsRevert';
@@ -3509,7 +3931,8 @@ class ArchitectApi {
3509
3931
  null,
3510
3932
  ['PureCloud OAuth'],
3511
3933
  ['application/json'],
3512
- ['application/json']
3934
+ ['application/json'],
3935
+ opts['customHeaders']
3513
3936
  );
3514
3937
  }
3515
3938
 
@@ -3517,8 +3940,12 @@ class ArchitectApi {
3517
3940
  * Unlock flow
3518
3941
  * Allows for unlocking a flow in the case where there is no flow configuration available, and thus a check-in will not unlock the flow. The user must have Architect Admin permissions to perform this action.
3519
3942
  * @param {String} flow Flow ID
3943
+ * @param {Object} opts Optional parameters
3944
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
3520
3945
  */
3521
- postFlowsActionsUnlock(flow) {
3946
+ postFlowsActionsUnlock(flow, opts) {
3947
+ opts = opts || {};
3948
+
3522
3949
  // verify the required parameter 'flow' is set
3523
3950
  if (flow === undefined || flow === null) {
3524
3951
  throw 'Missing the required parameter "flow" when calling postFlowsActionsUnlock';
@@ -3534,7 +3961,8 @@ class ArchitectApi {
3534
3961
  null,
3535
3962
  ['PureCloud OAuth'],
3536
3963
  ['application/json'],
3537
- ['application/json']
3964
+ ['application/json'],
3965
+ opts['customHeaders']
3538
3966
  );
3539
3967
  }
3540
3968
 
@@ -3542,8 +3970,12 @@ class ArchitectApi {
3542
3970
  * Begin an export process for exporting all rows from a datatable
3543
3971
  * Create an export job for exporting rows. The caller can then poll for status of the export using the token returned in the response
3544
3972
  * @param {String} datatableId id of datatable
3973
+ * @param {Object} opts Optional parameters
3974
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
3545
3975
  */
3546
- postFlowsDatatableExportJobs(datatableId) {
3976
+ postFlowsDatatableExportJobs(datatableId, opts) {
3977
+ opts = opts || {};
3978
+
3547
3979
  // verify the required parameter 'datatableId' is set
3548
3980
  if (datatableId === undefined || datatableId === null || datatableId === '') {
3549
3981
  throw 'Missing the required parameter "datatableId" when calling postFlowsDatatableExportJobs';
@@ -3559,7 +3991,8 @@ class ArchitectApi {
3559
3991
  null,
3560
3992
  ['PureCloud OAuth'],
3561
3993
  ['application/json'],
3562
- ['application/json']
3994
+ ['application/json'],
3995
+ opts['customHeaders']
3563
3996
  );
3564
3997
  }
3565
3998
 
@@ -3568,8 +4001,12 @@ class ArchitectApi {
3568
4001
  * Create an import job for importing rows. The caller can then poll for status of the import using the token returned in the response
3569
4002
  * @param {String} datatableId id of datatable
3570
4003
  * @param {Object} body import job information
4004
+ * @param {Object} opts Optional parameters
4005
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
3571
4006
  */
3572
- postFlowsDatatableImportJobs(datatableId, body) {
4007
+ postFlowsDatatableImportJobs(datatableId, body, opts) {
4008
+ opts = opts || {};
4009
+
3573
4010
  // verify the required parameter 'datatableId' is set
3574
4011
  if (datatableId === undefined || datatableId === null || datatableId === '') {
3575
4012
  throw 'Missing the required parameter "datatableId" when calling postFlowsDatatableImportJobs';
@@ -3589,7 +4026,8 @@ class ArchitectApi {
3589
4026
  body,
3590
4027
  ['PureCloud OAuth'],
3591
4028
  ['application/json'],
3592
- ['application/json']
4029
+ ['application/json'],
4030
+ opts['customHeaders']
3593
4031
  );
3594
4032
  }
3595
4033
 
@@ -3598,8 +4036,12 @@ class ArchitectApi {
3598
4036
  * Will add the passed in row entry to the datatable with the given datatableId after verifying it against the schema. When building the request body within API Explorer, Pro mode should be used. The DataTableRow should be a json-ized stream of key -> value pairs { "Field1": "XYZZY", "Field2": false, "KEY": "27272" }
3599
4037
  * @param {String} datatableId id of datatable
3600
4038
  * @param {Object.<String, {String: Object}>} dataTableRow
4039
+ * @param {Object} opts Optional parameters
4040
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
3601
4041
  */
3602
- postFlowsDatatableRows(datatableId, dataTableRow) {
4042
+ postFlowsDatatableRows(datatableId, dataTableRow, opts) {
4043
+ opts = opts || {};
4044
+
3603
4045
  // verify the required parameter 'datatableId' is set
3604
4046
  if (datatableId === undefined || datatableId === null || datatableId === '') {
3605
4047
  throw 'Missing the required parameter "datatableId" when calling postFlowsDatatableRows';
@@ -3619,7 +4061,8 @@ class ArchitectApi {
3619
4061
  dataTableRow,
3620
4062
  ['PureCloud OAuth'],
3621
4063
  ['application/json'],
3622
- ['application/json']
4064
+ ['application/json'],
4065
+ opts['customHeaders']
3623
4066
  );
3624
4067
  }
3625
4068
 
@@ -3627,8 +4070,12 @@ class ArchitectApi {
3627
4070
  * Create a new datatable with the specified json-schema definition
3628
4071
  * 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/
3629
4072
  * @param {Object} body datatable json-schema
4073
+ * @param {Object} opts Optional parameters
4074
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
3630
4075
  */
3631
- postFlowsDatatables(body) {
4076
+ postFlowsDatatables(body, opts) {
4077
+ opts = opts || {};
4078
+
3632
4079
  // verify the required parameter 'body' is set
3633
4080
  if (body === undefined || body === null) {
3634
4081
  throw 'Missing the required parameter "body" when calling postFlowsDatatables';
@@ -3644,7 +4091,8 @@ class ArchitectApi {
3644
4091
  body,
3645
4092
  ['PureCloud OAuth'],
3646
4093
  ['application/json'],
3647
- ['application/json']
4094
+ ['application/json'],
4095
+ opts['customHeaders']
3648
4096
  );
3649
4097
  }
3650
4098
 
@@ -3652,8 +4100,12 @@ class ArchitectApi {
3652
4100
  * Launch an instance of a flow definition, for flow types that support it such as the 'workflow' type.
3653
4101
  * 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.
3654
4102
  * @param {Object} flowLaunchRequest
4103
+ * @param {Object} opts Optional parameters
4104
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
3655
4105
  */
3656
- postFlowsExecutions(flowLaunchRequest) {
4106
+ postFlowsExecutions(flowLaunchRequest, opts) {
4107
+ opts = opts || {};
4108
+
3657
4109
  // verify the required parameter 'flowLaunchRequest' is set
3658
4110
  if (flowLaunchRequest === undefined || flowLaunchRequest === null) {
3659
4111
  throw 'Missing the required parameter "flowLaunchRequest" when calling postFlowsExecutions';
@@ -3669,7 +4121,8 @@ class ArchitectApi {
3669
4121
  flowLaunchRequest,
3670
4122
  ['PureCloud OAuth'],
3671
4123
  ['application/json'],
3672
- ['application/json']
4124
+ ['application/json'],
4125
+ opts['customHeaders']
3673
4126
  );
3674
4127
  }
3675
4128
 
@@ -3677,8 +4130,12 @@ class ArchitectApi {
3677
4130
  * Register Architect Export Job
3678
4131
  *
3679
4132
  * @param {Object} body
4133
+ * @param {Object} opts Optional parameters
4134
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
3680
4135
  */
3681
- postFlowsExportJobs(body) {
4136
+ postFlowsExportJobs(body, opts) {
4137
+ opts = opts || {};
4138
+
3682
4139
  // verify the required parameter 'body' is set
3683
4140
  if (body === undefined || body === null) {
3684
4141
  throw 'Missing the required parameter "body" when calling postFlowsExportJobs';
@@ -3694,7 +4151,8 @@ class ArchitectApi {
3694
4151
  body,
3695
4152
  ['PureCloud OAuth'],
3696
4153
  ['application/json'],
3697
- ['application/json']
4154
+ ['application/json'],
4155
+ opts['customHeaders']
3698
4156
  );
3699
4157
  }
3700
4158
 
@@ -3704,6 +4162,7 @@ class ArchitectApi {
3704
4162
  * @param {Object} body Requested Flow Ids
3705
4163
  * @param {Object} opts Optional parameters
3706
4164
  * @param {Object} opts.expand Expand various query types.
4165
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
3707
4166
  */
3708
4167
  postFlowsInstancesJobs(body, opts) {
3709
4168
  opts = opts || {};
@@ -3723,7 +4182,8 @@ class ArchitectApi {
3723
4182
  body,
3724
4183
  ['PureCloud OAuth'],
3725
4184
  ['application/json'],
3726
- ['application/json']
4185
+ ['application/json'],
4186
+ opts['customHeaders']
3727
4187
  );
3728
4188
  }
3729
4189
 
@@ -3734,6 +4194,7 @@ class ArchitectApi {
3734
4194
  * @param {Object} opts Optional parameters
3735
4195
  * @param {Boolean} opts.indexOnly indexes only
3736
4196
  * @param {Number} opts.pageSize number of results to return (default to 50)
4197
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
3737
4198
  */
3738
4199
  postFlowsInstancesQuery(body, opts) {
3739
4200
  opts = opts || {};
@@ -3753,15 +4214,20 @@ class ArchitectApi {
3753
4214
  body,
3754
4215
  ['PureCloud OAuth'],
3755
4216
  ['application/json'],
3756
- ['application/json']
4217
+ ['application/json'],
4218
+ opts['customHeaders']
3757
4219
  );
3758
4220
  }
3759
4221
 
3760
4222
  /**
3761
4223
  * 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.
3762
4224
  *
4225
+ * @param {Object} opts Optional parameters
4226
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
3763
4227
  */
3764
- postFlowsJobs() {
4228
+ postFlowsJobs(opts) {
4229
+ opts = opts || {};
4230
+
3765
4231
 
3766
4232
  return this.apiClient.callApi(
3767
4233
  '/api/v2/flows/jobs',
@@ -3773,7 +4239,8 @@ class ArchitectApi {
3773
4239
  null,
3774
4240
  ['PureCloud OAuth'],
3775
4241
  ['application/json'],
3776
- ['application/json']
4242
+ ['application/json'],
4243
+ opts['customHeaders']
3777
4244
  );
3778
4245
  }
3779
4246
 
@@ -3782,6 +4249,7 @@ class ArchitectApi {
3782
4249
  *
3783
4250
  * @param {Object} opts Optional parameters
3784
4251
  * @param {Object} opts.body
4252
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
3785
4253
  */
3786
4254
  postFlowsMilestones(opts) {
3787
4255
  opts = opts || {};
@@ -3797,7 +4265,8 @@ class ArchitectApi {
3797
4265
  opts['body'],
3798
4266
  ['PureCloud OAuth'],
3799
4267
  ['application/json'],
3800
- ['application/json']
4268
+ ['application/json'],
4269
+ opts['customHeaders']
3801
4270
  );
3802
4271
  }
3803
4272
 
@@ -3806,6 +4275,7 @@ class ArchitectApi {
3806
4275
  * Asynchronous. Notification topic: v2.flows.outcomes.{flowOutcomeId}
3807
4276
  * @param {Object} opts Optional parameters
3808
4277
  * @param {Object} opts.body
4278
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
3809
4279
  */
3810
4280
  postFlowsOutcomes(opts) {
3811
4281
  opts = opts || {};
@@ -3821,7 +4291,8 @@ class ArchitectApi {
3821
4291
  opts['body'],
3822
4292
  ['PureCloud OAuth'],
3823
4293
  ['application/json'],
3824
- ['application/json']
4294
+ ['application/json'],
4295
+ opts['customHeaders']
3825
4296
  );
3826
4297
  }
3827
4298
 
@@ -3830,8 +4301,12 @@ class ArchitectApi {
3830
4301
  *
3831
4302
  * @param {String} emergencyGroupId Emergency group ID
3832
4303
  * @param {Object} body
4304
+ * @param {Object} opts Optional parameters
4305
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
3833
4306
  */
3834
- putArchitectEmergencygroup(emergencyGroupId, body) {
4307
+ putArchitectEmergencygroup(emergencyGroupId, body, opts) {
4308
+ opts = opts || {};
4309
+
3835
4310
  // verify the required parameter 'emergencyGroupId' is set
3836
4311
  if (emergencyGroupId === undefined || emergencyGroupId === null || emergencyGroupId === '') {
3837
4312
  throw 'Missing the required parameter "emergencyGroupId" when calling putArchitectEmergencygroup';
@@ -3851,7 +4326,8 @@ class ArchitectApi {
3851
4326
  body,
3852
4327
  ['PureCloud OAuth'],
3853
4328
  ['application/json'],
3854
- ['application/json']
4329
+ ['application/json'],
4330
+ opts['customHeaders']
3855
4331
  );
3856
4332
  }
3857
4333
 
@@ -3860,8 +4336,12 @@ class ArchitectApi {
3860
4336
  *
3861
4337
  * @param {String} ivrId IVR id
3862
4338
  * @param {Object} body
4339
+ * @param {Object} opts Optional parameters
4340
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
3863
4341
  */
3864
- putArchitectIvr(ivrId, body) {
4342
+ putArchitectIvr(ivrId, body, opts) {
4343
+ opts = opts || {};
4344
+
3865
4345
  // verify the required parameter 'ivrId' is set
3866
4346
  if (ivrId === undefined || ivrId === null || ivrId === '') {
3867
4347
  throw 'Missing the required parameter "ivrId" when calling putArchitectIvr';
@@ -3881,7 +4361,8 @@ class ArchitectApi {
3881
4361
  body,
3882
4362
  ['PureCloud OAuth'],
3883
4363
  ['application/json'],
3884
- ['application/json']
4364
+ ['application/json'],
4365
+ opts['customHeaders']
3885
4366
  );
3886
4367
  }
3887
4368
 
@@ -3890,8 +4371,12 @@ class ArchitectApi {
3890
4371
  *
3891
4372
  * @param {String} ivrId IVR id
3892
4373
  * @param {Object} body
4374
+ * @param {Object} opts Optional parameters
4375
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
3893
4376
  */
3894
- putArchitectIvrIdentityresolution(ivrId, body) {
4377
+ putArchitectIvrIdentityresolution(ivrId, body, opts) {
4378
+ opts = opts || {};
4379
+
3895
4380
  // verify the required parameter 'ivrId' is set
3896
4381
  if (ivrId === undefined || ivrId === null || ivrId === '') {
3897
4382
  throw 'Missing the required parameter "ivrId" when calling putArchitectIvrIdentityresolution';
@@ -3911,7 +4396,8 @@ class ArchitectApi {
3911
4396
  body,
3912
4397
  ['PureCloud OAuth'],
3913
4398
  ['application/json'],
3914
- ['application/json']
4399
+ ['application/json'],
4400
+ opts['customHeaders']
3915
4401
  );
3916
4402
  }
3917
4403
 
@@ -3920,8 +4406,12 @@ class ArchitectApi {
3920
4406
  *
3921
4407
  * @param {String} promptId Prompt ID
3922
4408
  * @param {Object} body
4409
+ * @param {Object} opts Optional parameters
4410
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
3923
4411
  */
3924
- putArchitectPrompt(promptId, body) {
4412
+ putArchitectPrompt(promptId, body, opts) {
4413
+ opts = opts || {};
4414
+
3925
4415
  // verify the required parameter 'promptId' is set
3926
4416
  if (promptId === undefined || promptId === null || promptId === '') {
3927
4417
  throw 'Missing the required parameter "promptId" when calling putArchitectPrompt';
@@ -3941,7 +4431,8 @@ class ArchitectApi {
3941
4431
  body,
3942
4432
  ['PureCloud OAuth'],
3943
4433
  ['application/json'],
3944
- ['application/json']
4434
+ ['application/json'],
4435
+ opts['customHeaders']
3945
4436
  );
3946
4437
  }
3947
4438
 
@@ -3951,8 +4442,12 @@ class ArchitectApi {
3951
4442
  * @param {String} promptId Prompt ID
3952
4443
  * @param {String} languageCode Language
3953
4444
  * @param {Object} body
4445
+ * @param {Object} opts Optional parameters
4446
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
3954
4447
  */
3955
- putArchitectPromptResource(promptId, languageCode, body) {
4448
+ putArchitectPromptResource(promptId, languageCode, body, opts) {
4449
+ opts = opts || {};
4450
+
3956
4451
  // verify the required parameter 'promptId' is set
3957
4452
  if (promptId === undefined || promptId === null || promptId === '') {
3958
4453
  throw 'Missing the required parameter "promptId" when calling putArchitectPromptResource';
@@ -3976,7 +4471,8 @@ class ArchitectApi {
3976
4471
  body,
3977
4472
  ['PureCloud OAuth'],
3978
4473
  ['application/json'],
3979
- ['application/json']
4474
+ ['application/json'],
4475
+ opts['customHeaders']
3980
4476
  );
3981
4477
  }
3982
4478
 
@@ -3985,8 +4481,12 @@ class ArchitectApi {
3985
4481
  *
3986
4482
  * @param {String} scheduleId Schedule ID
3987
4483
  * @param {Object} body
4484
+ * @param {Object} opts Optional parameters
4485
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
3988
4486
  */
3989
- putArchitectSchedule(scheduleId, body) {
4487
+ putArchitectSchedule(scheduleId, body, opts) {
4488
+ opts = opts || {};
4489
+
3990
4490
  // verify the required parameter 'scheduleId' is set
3991
4491
  if (scheduleId === undefined || scheduleId === null || scheduleId === '') {
3992
4492
  throw 'Missing the required parameter "scheduleId" when calling putArchitectSchedule';
@@ -4006,7 +4506,8 @@ class ArchitectApi {
4006
4506
  body,
4007
4507
  ['PureCloud OAuth'],
4008
4508
  ['application/json'],
4009
- ['application/json']
4509
+ ['application/json'],
4510
+ opts['customHeaders']
4010
4511
  );
4011
4512
  }
4012
4513
 
@@ -4015,8 +4516,12 @@ class ArchitectApi {
4015
4516
  *
4016
4517
  * @param {String} scheduleGroupId Schedule group ID
4017
4518
  * @param {Object} body
4519
+ * @param {Object} opts Optional parameters
4520
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
4018
4521
  */
4019
- putArchitectSchedulegroup(scheduleGroupId, body) {
4522
+ putArchitectSchedulegroup(scheduleGroupId, body, opts) {
4523
+ opts = opts || {};
4524
+
4020
4525
  // verify the required parameter 'scheduleGroupId' is set
4021
4526
  if (scheduleGroupId === undefined || scheduleGroupId === null || scheduleGroupId === '') {
4022
4527
  throw 'Missing the required parameter "scheduleGroupId" when calling putArchitectSchedulegroup';
@@ -4036,7 +4541,8 @@ class ArchitectApi {
4036
4541
  body,
4037
4542
  ['PureCloud OAuth'],
4038
4543
  ['application/json'],
4039
- ['application/json']
4544
+ ['application/json'],
4545
+ opts['customHeaders']
4040
4546
  );
4041
4547
  }
4042
4548
 
@@ -4046,8 +4552,12 @@ class ArchitectApi {
4046
4552
  * @param {String} promptId Prompt ID
4047
4553
  * @param {String} languageCode Language
4048
4554
  * @param {Object} body
4555
+ * @param {Object} opts Optional parameters
4556
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
4049
4557
  */
4050
- putArchitectSystempromptResource(promptId, languageCode, body) {
4558
+ putArchitectSystempromptResource(promptId, languageCode, body, opts) {
4559
+ opts = opts || {};
4560
+
4051
4561
  // verify the required parameter 'promptId' is set
4052
4562
  if (promptId === undefined || promptId === null || promptId === '') {
4053
4563
  throw 'Missing the required parameter "promptId" when calling putArchitectSystempromptResource';
@@ -4071,7 +4581,8 @@ class ArchitectApi {
4071
4581
  body,
4072
4582
  ['PureCloud OAuth'],
4073
4583
  ['application/json'],
4074
- ['application/json']
4584
+ ['application/json'],
4585
+ opts['customHeaders']
4075
4586
  );
4076
4587
  }
4077
4588
 
@@ -4080,8 +4591,12 @@ class ArchitectApi {
4080
4591
  *
4081
4592
  * @param {String} flowId Flow ID
4082
4593
  * @param {Object} body
4594
+ * @param {Object} opts Optional parameters
4595
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
4083
4596
  */
4084
- putFlow(flowId, body) {
4597
+ putFlow(flowId, body, opts) {
4598
+ opts = opts || {};
4599
+
4085
4600
  // verify the required parameter 'flowId' is set
4086
4601
  if (flowId === undefined || flowId === null || flowId === '') {
4087
4602
  throw 'Missing the required parameter "flowId" when calling putFlow';
@@ -4101,7 +4616,8 @@ class ArchitectApi {
4101
4616
  body,
4102
4617
  ['PureCloud OAuth'],
4103
4618
  ['application/json'],
4104
- ['application/json']
4619
+ ['application/json'],
4620
+ opts['customHeaders']
4105
4621
  );
4106
4622
  }
4107
4623
 
@@ -4112,6 +4628,7 @@ class ArchitectApi {
4112
4628
  * @param {Object} body New LogLevel settings
4113
4629
  * @param {Object} opts Optional parameters
4114
4630
  * @param {Array.<String>} opts.expand Expand instructions for the result
4631
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
4115
4632
  */
4116
4633
  putFlowInstancesSettingsLoglevels(flowId, body, opts) {
4117
4634
  opts = opts || {};
@@ -4135,7 +4652,8 @@ class ArchitectApi {
4135
4652
  body,
4136
4653
  ['PureCloud OAuth'],
4137
4654
  ['application/json'],
4138
- ['application/json']
4655
+ ['application/json'],
4656
+ opts['customHeaders']
4139
4657
  );
4140
4658
  }
4141
4659
 
@@ -4146,6 +4664,7 @@ class ArchitectApi {
4146
4664
  * @param {Object} body datatable json-schema
4147
4665
  * @param {Object} opts Optional parameters
4148
4666
  * @param {Object} opts.expand Expand instructions for the result
4667
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
4149
4668
  */
4150
4669
  putFlowsDatatable(datatableId, body, opts) {
4151
4670
  opts = opts || {};
@@ -4169,7 +4688,8 @@ class ArchitectApi {
4169
4688
  body,
4170
4689
  ['PureCloud OAuth'],
4171
4690
  ['application/json'],
4172
- ['application/json']
4691
+ ['application/json'],
4692
+ opts['customHeaders']
4173
4693
  );
4174
4694
  }
4175
4695
 
@@ -4180,6 +4700,7 @@ class ArchitectApi {
4180
4700
  * @param {String} rowId the key for the row
4181
4701
  * @param {Object} opts Optional parameters
4182
4702
  * @param {Object.<String, {String: Object}>} opts.body datatable row
4703
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
4183
4704
  */
4184
4705
  putFlowsDatatableRow(datatableId, rowId, opts) {
4185
4706
  opts = opts || {};
@@ -4203,7 +4724,8 @@ class ArchitectApi {
4203
4724
  opts['body'],
4204
4725
  ['PureCloud OAuth'],
4205
4726
  ['application/json'],
4206
- ['application/json']
4727
+ ['application/json'],
4728
+ opts['customHeaders']
4207
4729
  );
4208
4730
  }
4209
4731
 
@@ -4213,6 +4735,7 @@ class ArchitectApi {
4213
4735
  * @param {Object} body New LogLevel settings
4214
4736
  * @param {Object} opts Optional parameters
4215
4737
  * @param {Array.<String>} opts.expand Expand instructions for the result
4738
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
4216
4739
  */
4217
4740
  putFlowsInstancesSettingsLoglevelsDefault(body, opts) {
4218
4741
  opts = opts || {};
@@ -4232,7 +4755,8 @@ class ArchitectApi {
4232
4755
  body,
4233
4756
  ['PureCloud OAuth'],
4234
4757
  ['application/json'],
4235
- ['application/json']
4758
+ ['application/json'],
4759
+ opts['customHeaders']
4236
4760
  );
4237
4761
  }
4238
4762
 
@@ -4242,6 +4766,7 @@ class ArchitectApi {
4242
4766
  * @param {String} milestoneId flow milestone ID
4243
4767
  * @param {Object} opts Optional parameters
4244
4768
  * @param {Object} opts.body
4769
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
4245
4770
  */
4246
4771
  putFlowsMilestone(milestoneId, opts) {
4247
4772
  opts = opts || {};
@@ -4261,7 +4786,8 @@ class ArchitectApi {
4261
4786
  opts['body'],
4262
4787
  ['PureCloud OAuth'],
4263
4788
  ['application/json'],
4264
- ['application/json']
4789
+ ['application/json'],
4790
+ opts['customHeaders']
4265
4791
  );
4266
4792
  }
4267
4793
 
@@ -4271,6 +4797,7 @@ class ArchitectApi {
4271
4797
  * @param {String} flowOutcomeId flow outcome ID
4272
4798
  * @param {Object} opts Optional parameters
4273
4799
  * @param {Object} opts.body
4800
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
4274
4801
  */
4275
4802
  putFlowsOutcome(flowOutcomeId, opts) {
4276
4803
  opts = opts || {};
@@ -4290,7 +4817,8 @@ class ArchitectApi {
4290
4817
  opts['body'],
4291
4818
  ['PureCloud OAuth'],
4292
4819
  ['application/json'],
4293
- ['application/json']
4820
+ ['application/json'],
4821
+ opts['customHeaders']
4294
4822
  );
4295
4823
  }
4296
4824