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 BusinessRulesApi {
5
5
  /**
6
6
  * BusinessRules service.
7
7
  * @module purecloud-platform-client-v2/api/BusinessRulesApi
8
- * @version 249.0.0
8
+ * @version 250.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -26,6 +26,7 @@ class BusinessRulesApi {
26
26
  * @param {String} tableId Table ID
27
27
  * @param {Object} opts Optional parameters
28
28
  * @param {Boolean} opts.forceDelete Force delete decision table (under certain conditions) (default to false)
29
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
29
30
  */
30
31
  deleteBusinessrulesDecisiontable(tableId, opts) {
31
32
  opts = opts || {};
@@ -45,7 +46,8 @@ class BusinessRulesApi {
45
46
  null,
46
47
  ['PureCloud OAuth'],
47
48
  ['application/json'],
48
- ['application/json']
49
+ ['application/json'],
50
+ opts['customHeaders']
49
51
  );
50
52
  }
51
53
 
@@ -54,8 +56,12 @@ class BusinessRulesApi {
54
56
  *
55
57
  * @param {String} tableId Table ID
56
58
  * @param {Number} tableVersion Table Version
59
+ * @param {Object} opts Optional parameters
60
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
57
61
  */
58
- deleteBusinessrulesDecisiontableVersion(tableId, tableVersion) {
62
+ deleteBusinessrulesDecisiontableVersion(tableId, tableVersion, opts) {
63
+ opts = opts || {};
64
+
59
65
  // verify the required parameter 'tableId' is set
60
66
  if (tableId === undefined || tableId === null || tableId === '') {
61
67
  throw 'Missing the required parameter "tableId" when calling deleteBusinessrulesDecisiontableVersion';
@@ -75,7 +81,8 @@ class BusinessRulesApi {
75
81
  null,
76
82
  ['PureCloud OAuth'],
77
83
  ['application/json'],
78
- ['application/json']
84
+ ['application/json'],
85
+ opts['customHeaders']
79
86
  );
80
87
  }
81
88
 
@@ -85,8 +92,12 @@ class BusinessRulesApi {
85
92
  * @param {String} tableId Table ID
86
93
  * @param {Number} tableVersion Table Version
87
94
  * @param {String} rowId Row ID
95
+ * @param {Object} opts Optional parameters
96
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
88
97
  */
89
- deleteBusinessrulesDecisiontableVersionRow(tableId, tableVersion, rowId) {
98
+ deleteBusinessrulesDecisiontableVersionRow(tableId, tableVersion, rowId, opts) {
99
+ opts = opts || {};
100
+
90
101
  // verify the required parameter 'tableId' is set
91
102
  if (tableId === undefined || tableId === null || tableId === '') {
92
103
  throw 'Missing the required parameter "tableId" when calling deleteBusinessrulesDecisiontableVersionRow';
@@ -110,7 +121,8 @@ class BusinessRulesApi {
110
121
  null,
111
122
  ['PureCloud OAuth'],
112
123
  ['application/json'],
113
- ['application/json']
124
+ ['application/json'],
125
+ opts['customHeaders']
114
126
  );
115
127
  }
116
128
 
@@ -118,8 +130,12 @@ class BusinessRulesApi {
118
130
  * Delete a schema
119
131
  *
120
132
  * @param {String} schemaId Schema ID
133
+ * @param {Object} opts Optional parameters
134
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
121
135
  */
122
- deleteBusinessrulesSchema(schemaId) {
136
+ deleteBusinessrulesSchema(schemaId, opts) {
137
+ opts = opts || {};
138
+
123
139
  // verify the required parameter 'schemaId' is set
124
140
  if (schemaId === undefined || schemaId === null || schemaId === '') {
125
141
  throw 'Missing the required parameter "schemaId" when calling deleteBusinessrulesSchema';
@@ -135,7 +151,8 @@ class BusinessRulesApi {
135
151
  null,
136
152
  ['PureCloud OAuth'],
137
153
  ['application/json'],
138
- ['application/json']
154
+ ['application/json'],
155
+ opts['customHeaders']
139
156
  );
140
157
  }
141
158
 
@@ -143,8 +160,12 @@ class BusinessRulesApi {
143
160
  * Get a decision table
144
161
  *
145
162
  * @param {String} tableId Table ID
163
+ * @param {Object} opts Optional parameters
164
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
146
165
  */
147
- getBusinessrulesDecisiontable(tableId) {
166
+ getBusinessrulesDecisiontable(tableId, opts) {
167
+ opts = opts || {};
168
+
148
169
  // verify the required parameter 'tableId' is set
149
170
  if (tableId === undefined || tableId === null || tableId === '') {
150
171
  throw 'Missing the required parameter "tableId" when calling getBusinessrulesDecisiontable';
@@ -160,7 +181,8 @@ class BusinessRulesApi {
160
181
  null,
161
182
  ['PureCloud OAuth'],
162
183
  ['application/json'],
163
- ['application/json']
184
+ ['application/json'],
185
+ opts['customHeaders']
164
186
  );
165
187
  }
166
188
 
@@ -169,8 +191,12 @@ class BusinessRulesApi {
169
191
  *
170
192
  * @param {String} tableId Table ID
171
193
  * @param {Number} tableVersion Table Version
194
+ * @param {Object} opts Optional parameters
195
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
172
196
  */
173
- getBusinessrulesDecisiontableVersion(tableId, tableVersion) {
197
+ getBusinessrulesDecisiontableVersion(tableId, tableVersion, opts) {
198
+ opts = opts || {};
199
+
174
200
  // verify the required parameter 'tableId' is set
175
201
  if (tableId === undefined || tableId === null || tableId === '') {
176
202
  throw 'Missing the required parameter "tableId" when calling getBusinessrulesDecisiontableVersion';
@@ -190,7 +216,8 @@ class BusinessRulesApi {
190
216
  null,
191
217
  ['PureCloud OAuth'],
192
218
  ['application/json'],
193
- ['application/json']
219
+ ['application/json'],
220
+ opts['customHeaders']
194
221
  );
195
222
  }
196
223
 
@@ -200,8 +227,12 @@ class BusinessRulesApi {
200
227
  * @param {String} tableId Table ID
201
228
  * @param {Number} tableVersion Table Version
202
229
  * @param {String} rowId Row ID
230
+ * @param {Object} opts Optional parameters
231
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
203
232
  */
204
- getBusinessrulesDecisiontableVersionRow(tableId, tableVersion, rowId) {
233
+ getBusinessrulesDecisiontableVersionRow(tableId, tableVersion, rowId, opts) {
234
+ opts = opts || {};
235
+
205
236
  // verify the required parameter 'tableId' is set
206
237
  if (tableId === undefined || tableId === null || tableId === '') {
207
238
  throw 'Missing the required parameter "tableId" when calling getBusinessrulesDecisiontableVersionRow';
@@ -225,7 +256,8 @@ class BusinessRulesApi {
225
256
  null,
226
257
  ['PureCloud OAuth'],
227
258
  ['application/json'],
228
- ['application/json']
259
+ ['application/json'],
260
+ opts['customHeaders']
229
261
  );
230
262
  }
231
263
 
@@ -237,6 +269,7 @@ class BusinessRulesApi {
237
269
  * @param {Object} opts Optional parameters
238
270
  * @param {String} opts.pageNumber Page number of the entities to return. Defaults to 1.
239
271
  * @param {String} opts.pageSize Number of entities to return. Maximum of 100. Defaults to 25.
272
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
240
273
  */
241
274
  getBusinessrulesDecisiontableVersionRows(tableId, tableVersion, opts) {
242
275
  opts = opts || {};
@@ -260,7 +293,8 @@ class BusinessRulesApi {
260
293
  null,
261
294
  ['PureCloud OAuth'],
262
295
  ['application/json'],
263
- ['application/json']
296
+ ['application/json'],
297
+ opts['customHeaders']
264
298
  );
265
299
  }
266
300
 
@@ -271,6 +305,7 @@ class BusinessRulesApi {
271
305
  * @param {Object} opts Optional parameters
272
306
  * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
273
307
  * @param {String} opts.pageSize Number of entities to return. Maximum of 100.
308
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
274
309
  */
275
310
  getBusinessrulesDecisiontableVersions(tableId, opts) {
276
311
  opts = opts || {};
@@ -290,7 +325,8 @@ class BusinessRulesApi {
290
325
  null,
291
326
  ['PureCloud OAuth'],
292
327
  ['application/json'],
293
- ['application/json']
328
+ ['application/json'],
329
+ opts['customHeaders']
294
330
  );
295
331
  }
296
332
 
@@ -302,6 +338,7 @@ class BusinessRulesApi {
302
338
  * @param {String} opts.pageSize Number of entities to return. Maximum of 100.
303
339
  * @param {Array.<String>} opts.divisionIds One or more comma separated divisions to filters decision tables by. If nothing is provided, the decision tables associated with the list of divisions that the user has access to will be returned.
304
340
  * @param {String} opts.name Search for decision tables with a name that contains the given search string. Search is case insensitive and will match any table that contains this string in any part of the name.
341
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
305
342
  */
306
343
  getBusinessrulesDecisiontables(opts) {
307
344
  opts = opts || {};
@@ -317,7 +354,8 @@ class BusinessRulesApi {
317
354
  null,
318
355
  ['PureCloud OAuth'],
319
356
  ['application/json'],
320
- ['application/json']
357
+ ['application/json'],
358
+ opts['customHeaders']
321
359
  );
322
360
  }
323
361
 
@@ -332,6 +370,7 @@ class BusinessRulesApi {
332
370
  * @param {Boolean} opts.withPublishedVersion Filters results to only decision tables that have at least one version in Published status
333
371
  * @param {Array.<String>} opts.expand Fields to expand in response
334
372
  * @param {Array.<String>} opts.ids Decision table IDs to search for
373
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
335
374
  */
336
375
  getBusinessrulesDecisiontablesSearch(opts) {
337
376
  opts = opts || {};
@@ -347,7 +386,8 @@ class BusinessRulesApi {
347
386
  null,
348
387
  ['PureCloud OAuth'],
349
388
  ['application/json'],
350
- ['application/json']
389
+ ['application/json'],
390
+ opts['customHeaders']
351
391
  );
352
392
  }
353
393
 
@@ -355,8 +395,12 @@ class BusinessRulesApi {
355
395
  * Get a schema
356
396
  *
357
397
  * @param {String} schemaId Schema ID
398
+ * @param {Object} opts Optional parameters
399
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
358
400
  */
359
- getBusinessrulesSchema(schemaId) {
401
+ getBusinessrulesSchema(schemaId, opts) {
402
+ opts = opts || {};
403
+
360
404
  // verify the required parameter 'schemaId' is set
361
405
  if (schemaId === undefined || schemaId === null || schemaId === '') {
362
406
  throw 'Missing the required parameter "schemaId" when calling getBusinessrulesSchema';
@@ -372,15 +416,20 @@ class BusinessRulesApi {
372
416
  null,
373
417
  ['PureCloud OAuth'],
374
418
  ['application/json'],
375
- ['application/json']
419
+ ['application/json'],
420
+ opts['customHeaders']
376
421
  );
377
422
  }
378
423
 
379
424
  /**
380
425
  * Get a list of schemas.
381
426
  *
427
+ * @param {Object} opts Optional parameters
428
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
382
429
  */
383
- getBusinessrulesSchemas() {
430
+ getBusinessrulesSchemas(opts) {
431
+ opts = opts || {};
432
+
384
433
 
385
434
  return this.apiClient.callApi(
386
435
  '/api/v2/businessrules/schemas',
@@ -392,7 +441,8 @@ class BusinessRulesApi {
392
441
  null,
393
442
  ['PureCloud OAuth'],
394
443
  ['application/json'],
395
- ['application/json']
444
+ ['application/json'],
445
+ opts['customHeaders']
396
446
  );
397
447
  }
398
448
 
@@ -400,8 +450,12 @@ class BusinessRulesApi {
400
450
  * Get a specific named core type.
401
451
  *
402
452
  * @param {String} coreTypeName The core type's name
453
+ * @param {Object} opts Optional parameters
454
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
403
455
  */
404
- getBusinessrulesSchemasCoretype(coreTypeName) {
456
+ getBusinessrulesSchemasCoretype(coreTypeName, opts) {
457
+ opts = opts || {};
458
+
405
459
  // verify the required parameter 'coreTypeName' is set
406
460
  if (coreTypeName === undefined || coreTypeName === null || coreTypeName === '') {
407
461
  throw 'Missing the required parameter "coreTypeName" when calling getBusinessrulesSchemasCoretype';
@@ -417,15 +471,20 @@ class BusinessRulesApi {
417
471
  null,
418
472
  ['PureCloud OAuth'],
419
473
  ['application/json'],
420
- ['application/json']
474
+ ['application/json'],
475
+ opts['customHeaders']
421
476
  );
422
477
  }
423
478
 
424
479
  /**
425
480
  * Get the core types from which all schemas are built.
426
481
  *
482
+ * @param {Object} opts Optional parameters
483
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
427
484
  */
428
- getBusinessrulesSchemasCoretypes() {
485
+ getBusinessrulesSchemasCoretypes(opts) {
486
+ opts = opts || {};
487
+
429
488
 
430
489
  return this.apiClient.callApi(
431
490
  '/api/v2/businessrules/schemas/coretypes',
@@ -437,7 +496,8 @@ class BusinessRulesApi {
437
496
  null,
438
497
  ['PureCloud OAuth'],
439
498
  ['application/json'],
440
- ['application/json']
499
+ ['application/json'],
500
+ opts['customHeaders']
441
501
  );
442
502
  }
443
503
 
@@ -446,8 +506,12 @@ class BusinessRulesApi {
446
506
  * Required permissions depend on table content: if the table or row contains queue references, routing:queue:view is required in each queues division. Future platform objects will require their associated permissions in the relevant divisions when the table or row contains references to them.
447
507
  * @param {String} tableId Table ID
448
508
  * @param {Object} body Decision Table
509
+ * @param {Object} opts Optional parameters
510
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
449
511
  */
450
- patchBusinessrulesDecisiontable(tableId, body) {
512
+ patchBusinessrulesDecisiontable(tableId, body, opts) {
513
+ opts = opts || {};
514
+
451
515
  // verify the required parameter 'tableId' is set
452
516
  if (tableId === undefined || tableId === null || tableId === '') {
453
517
  throw 'Missing the required parameter "tableId" when calling patchBusinessrulesDecisiontable';
@@ -467,7 +531,8 @@ class BusinessRulesApi {
467
531
  body,
468
532
  ['PureCloud OAuth'],
469
533
  ['application/json'],
470
- ['application/json']
534
+ ['application/json'],
535
+ opts['customHeaders']
471
536
  );
472
537
  }
473
538
 
@@ -477,8 +542,12 @@ class BusinessRulesApi {
477
542
  * @param {String} tableId Table ID
478
543
  * @param {Number} tableVersion Table Version
479
544
  * @param {Object} body Decision Table
545
+ * @param {Object} opts Optional parameters
546
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
480
547
  */
481
- patchBusinessrulesDecisiontableVersion(tableId, tableVersion, body) {
548
+ patchBusinessrulesDecisiontableVersion(tableId, tableVersion, body, opts) {
549
+ opts = opts || {};
550
+
482
551
  // verify the required parameter 'tableId' is set
483
552
  if (tableId === undefined || tableId === null || tableId === '') {
484
553
  throw 'Missing the required parameter "tableId" when calling patchBusinessrulesDecisiontableVersion';
@@ -502,7 +571,8 @@ class BusinessRulesApi {
502
571
  body,
503
572
  ['PureCloud OAuth'],
504
573
  ['application/json'],
505
- ['application/json']
574
+ ['application/json'],
575
+ opts['customHeaders']
506
576
  );
507
577
  }
508
578
 
@@ -511,8 +581,12 @@ class BusinessRulesApi {
511
581
  *
512
582
  * @param {String} tableId Table ID
513
583
  * @param {Object} body Decision Table
584
+ * @param {Object} opts Optional parameters
585
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
514
586
  */
515
- postBusinessrulesDecisiontableExecute(tableId, body) {
587
+ postBusinessrulesDecisiontableExecute(tableId, body, opts) {
588
+ opts = opts || {};
589
+
516
590
  // verify the required parameter 'tableId' is set
517
591
  if (tableId === undefined || tableId === null || tableId === '') {
518
592
  throw 'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableExecute';
@@ -532,7 +606,8 @@ class BusinessRulesApi {
532
606
  body,
533
607
  ['PureCloud OAuth'],
534
608
  ['application/json'],
535
- ['application/json']
609
+ ['application/json'],
610
+ opts['customHeaders']
536
611
  );
537
612
  }
538
613
 
@@ -542,8 +617,12 @@ class BusinessRulesApi {
542
617
  * @param {String} tableId Table ID
543
618
  * @param {Number} tableVersion Table Version
544
619
  * @param {Object} body Decision Table
620
+ * @param {Object} opts Optional parameters
621
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
545
622
  */
546
- postBusinessrulesDecisiontableVersionCopy(tableId, tableVersion, body) {
623
+ postBusinessrulesDecisiontableVersionCopy(tableId, tableVersion, body, opts) {
624
+ opts = opts || {};
625
+
547
626
  // verify the required parameter 'tableId' is set
548
627
  if (tableId === undefined || tableId === null || tableId === '') {
549
628
  throw 'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableVersionCopy';
@@ -567,7 +646,8 @@ class BusinessRulesApi {
567
646
  body,
568
647
  ['PureCloud OAuth'],
569
648
  ['application/json'],
570
- ['application/json']
649
+ ['application/json'],
650
+ opts['customHeaders']
571
651
  );
572
652
  }
573
653
 
@@ -577,8 +657,12 @@ class BusinessRulesApi {
577
657
  * @param {String} tableId Table ID
578
658
  * @param {Number} tableVersion Table Version
579
659
  * @param {Object} body Decision Table
660
+ * @param {Object} opts Optional parameters
661
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
580
662
  */
581
- postBusinessrulesDecisiontableVersionExecute(tableId, tableVersion, body) {
663
+ postBusinessrulesDecisiontableVersionExecute(tableId, tableVersion, body, opts) {
664
+ opts = opts || {};
665
+
582
666
  // verify the required parameter 'tableId' is set
583
667
  if (tableId === undefined || tableId === null || tableId === '') {
584
668
  throw 'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableVersionExecute';
@@ -602,7 +686,8 @@ class BusinessRulesApi {
602
686
  body,
603
687
  ['PureCloud OAuth'],
604
688
  ['application/json'],
605
- ['application/json']
689
+ ['application/json'],
690
+ opts['customHeaders']
606
691
  );
607
692
  }
608
693
 
@@ -612,8 +697,12 @@ class BusinessRulesApi {
612
697
  * @param {String} tableId Table ID
613
698
  * @param {Number} tableVersion Table Version
614
699
  * @param {Object} body Create decision table row request
700
+ * @param {Object} opts Optional parameters
701
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
615
702
  */
616
- postBusinessrulesDecisiontableVersionRows(tableId, tableVersion, body) {
703
+ postBusinessrulesDecisiontableVersionRows(tableId, tableVersion, body, opts) {
704
+ opts = opts || {};
705
+
617
706
  // verify the required parameter 'tableId' is set
618
707
  if (tableId === undefined || tableId === null || tableId === '') {
619
708
  throw 'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableVersionRows';
@@ -637,7 +726,8 @@ class BusinessRulesApi {
637
726
  body,
638
727
  ['PureCloud OAuth'],
639
728
  ['application/json'],
640
- ['application/json']
729
+ ['application/json'],
730
+ opts['customHeaders']
641
731
  );
642
732
  }
643
733
 
@@ -650,6 +740,7 @@ class BusinessRulesApi {
650
740
  * @param {Object} opts Optional parameters
651
741
  * @param {String} opts.pageNumber Page number of the entities to return. Defaults to 1.
652
742
  * @param {String} opts.pageSize Number of entities to return. Maximum of 100. Defaults to 25.
743
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
653
744
  */
654
745
  postBusinessrulesDecisiontableVersionRowsSearch(tableId, tableVersion, body, opts) {
655
746
  opts = opts || {};
@@ -677,7 +768,8 @@ class BusinessRulesApi {
677
768
  body,
678
769
  ['PureCloud OAuth'],
679
770
  ['application/json'],
680
- ['application/json']
771
+ ['application/json'],
772
+ opts['customHeaders']
681
773
  );
682
774
  }
683
775
 
@@ -686,8 +778,12 @@ class BusinessRulesApi {
686
778
  *
687
779
  * @param {String} tableId Table ID
688
780
  * @param {Number} tableVersion Table Version
781
+ * @param {Object} opts Optional parameters
782
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
689
783
  */
690
- postBusinessrulesDecisiontableVersionSync(tableId, tableVersion) {
784
+ postBusinessrulesDecisiontableVersionSync(tableId, tableVersion, opts) {
785
+ opts = opts || {};
786
+
691
787
  // verify the required parameter 'tableId' is set
692
788
  if (tableId === undefined || tableId === null || tableId === '') {
693
789
  throw 'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableVersionSync';
@@ -707,7 +803,8 @@ class BusinessRulesApi {
707
803
  null,
708
804
  ['PureCloud OAuth'],
709
805
  ['application/json'],
710
- ['application/json']
806
+ ['application/json'],
807
+ opts['customHeaders']
711
808
  );
712
809
  }
713
810
 
@@ -715,8 +812,12 @@ class BusinessRulesApi {
715
812
  * Create a new decision table version
716
813
  *
717
814
  * @param {String} tableId Table ID
815
+ * @param {Object} opts Optional parameters
816
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
718
817
  */
719
- postBusinessrulesDecisiontableVersions(tableId) {
818
+ postBusinessrulesDecisiontableVersions(tableId, opts) {
819
+ opts = opts || {};
820
+
720
821
  // verify the required parameter 'tableId' is set
721
822
  if (tableId === undefined || tableId === null || tableId === '') {
722
823
  throw 'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableVersions';
@@ -732,7 +833,8 @@ class BusinessRulesApi {
732
833
  null,
733
834
  ['PureCloud OAuth'],
734
835
  ['application/json'],
735
- ['application/json']
836
+ ['application/json'],
837
+ opts['customHeaders']
736
838
  );
737
839
  }
738
840
 
@@ -740,8 +842,12 @@ class BusinessRulesApi {
740
842
  * Create a decision table
741
843
  * Required permissions depend on table content: if the table or row contains queue references, routing:queue:view is required in each queues division. Future platform objects will require their associated permissions in the relevant divisions when the table or row contains references to them.
742
844
  * @param {Object} body Decision Table
845
+ * @param {Object} opts Optional parameters
846
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
743
847
  */
744
- postBusinessrulesDecisiontables(body) {
848
+ postBusinessrulesDecisiontables(body, opts) {
849
+ opts = opts || {};
850
+
745
851
  // verify the required parameter 'body' is set
746
852
  if (body === undefined || body === null) {
747
853
  throw 'Missing the required parameter "body" when calling postBusinessrulesDecisiontables';
@@ -757,7 +863,8 @@ class BusinessRulesApi {
757
863
  body,
758
864
  ['PureCloud OAuth'],
759
865
  ['application/json'],
760
- ['application/json']
866
+ ['application/json'],
867
+ opts['customHeaders']
761
868
  );
762
869
  }
763
870
 
@@ -765,8 +872,12 @@ class BusinessRulesApi {
765
872
  * Create a schema
766
873
  *
767
874
  * @param {Object} body Business Rules Schema Create Request
875
+ * @param {Object} opts Optional parameters
876
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
768
877
  */
769
- postBusinessrulesSchemas(body) {
878
+ postBusinessrulesSchemas(body, opts) {
879
+ opts = opts || {};
880
+
770
881
  // verify the required parameter 'body' is set
771
882
  if (body === undefined || body === null) {
772
883
  throw 'Missing the required parameter "body" when calling postBusinessrulesSchemas';
@@ -782,7 +893,8 @@ class BusinessRulesApi {
782
893
  body,
783
894
  ['PureCloud OAuth'],
784
895
  ['application/json'],
785
- ['application/json']
896
+ ['application/json'],
897
+ opts['customHeaders']
786
898
  );
787
899
  }
788
900
 
@@ -791,8 +903,12 @@ class BusinessRulesApi {
791
903
  *
792
904
  * @param {String} tableId Table ID
793
905
  * @param {Number} tableVersion Table Version
906
+ * @param {Object} opts Optional parameters
907
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
794
908
  */
795
- putBusinessrulesDecisiontableVersionPublish(tableId, tableVersion) {
909
+ putBusinessrulesDecisiontableVersionPublish(tableId, tableVersion, opts) {
910
+ opts = opts || {};
911
+
796
912
  // verify the required parameter 'tableId' is set
797
913
  if (tableId === undefined || tableId === null || tableId === '') {
798
914
  throw 'Missing the required parameter "tableId" when calling putBusinessrulesDecisiontableVersionPublish';
@@ -812,7 +928,8 @@ class BusinessRulesApi {
812
928
  null,
813
929
  ['PureCloud OAuth'],
814
930
  ['application/json'],
815
- ['application/json']
931
+ ['application/json'],
932
+ opts['customHeaders']
816
933
  );
817
934
  }
818
935
 
@@ -823,8 +940,12 @@ class BusinessRulesApi {
823
940
  * @param {Number} tableVersion Table Version
824
941
  * @param {String} rowId Row ID
825
942
  * @param {Object} body Full update decision table row request
943
+ * @param {Object} opts Optional parameters
944
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
826
945
  */
827
- putBusinessrulesDecisiontableVersionRow(tableId, tableVersion, rowId, body) {
946
+ putBusinessrulesDecisiontableVersionRow(tableId, tableVersion, rowId, body, opts) {
947
+ opts = opts || {};
948
+
828
949
  // verify the required parameter 'tableId' is set
829
950
  if (tableId === undefined || tableId === null || tableId === '') {
830
951
  throw 'Missing the required parameter "tableId" when calling putBusinessrulesDecisiontableVersionRow';
@@ -852,7 +973,8 @@ class BusinessRulesApi {
852
973
  body,
853
974
  ['PureCloud OAuth'],
854
975
  ['application/json'],
855
- ['application/json']
976
+ ['application/json'],
977
+ opts['customHeaders']
856
978
  );
857
979
  }
858
980
 
@@ -861,8 +983,12 @@ class BusinessRulesApi {
861
983
  *
862
984
  * @param {String} schemaId Schema ID
863
985
  * @param {Object} body Business Rules Schema Update Request
986
+ * @param {Object} opts Optional parameters
987
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
864
988
  */
865
- putBusinessrulesSchema(schemaId, body) {
989
+ putBusinessrulesSchema(schemaId, body, opts) {
990
+ opts = opts || {};
991
+
866
992
  // verify the required parameter 'schemaId' is set
867
993
  if (schemaId === undefined || schemaId === null || schemaId === '') {
868
994
  throw 'Missing the required parameter "schemaId" when calling putBusinessrulesSchema';
@@ -882,7 +1008,8 @@ class BusinessRulesApi {
882
1008
  body,
883
1009
  ['PureCloud OAuth'],
884
1010
  ['application/json'],
885
- ['application/json']
1011
+ ['application/json'],
1012
+ opts['customHeaders']
886
1013
  );
887
1014
  }
888
1015
 
@@ -5,7 +5,7 @@ class CarrierServicesApi {
5
5
  /**
6
6
  * CarrierServices service.
7
7
  * @module purecloud-platform-client-v2/api/CarrierServicesApi
8
- * @version 249.0.0
8
+ * @version 250.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -24,8 +24,12 @@ class CarrierServicesApi {
24
24
  * Get location for the logged in user
25
25
  *
26
26
  * @param {String} phoneNumber Phone number in E164 format
27
+ * @param {Object} opts Optional parameters
28
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
27
29
  */
28
- getCarrierservicesIntegrationsEmergencylocationsMe(phoneNumber) {
30
+ getCarrierservicesIntegrationsEmergencylocationsMe(phoneNumber, opts) {
31
+ opts = opts || {};
32
+
29
33
  // verify the required parameter 'phoneNumber' is set
30
34
  if (phoneNumber === undefined || phoneNumber === null) {
31
35
  throw 'Missing the required parameter "phoneNumber" when calling getCarrierservicesIntegrationsEmergencylocationsMe';
@@ -41,7 +45,8 @@ class CarrierServicesApi {
41
45
  null,
42
46
  ['PureCloud OAuth'],
43
47
  ['application/json'],
44
- ['application/json']
48
+ ['application/json'],
49
+ opts['customHeaders']
45
50
  );
46
51
  }
47
52
 
@@ -50,6 +55,7 @@ class CarrierServicesApi {
50
55
  *
51
56
  * @param {Object} opts Optional parameters
52
57
  * @param {Object} opts.body
58
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
53
59
  */
54
60
  postCarrierservicesIntegrationsEmergencylocationsMe(opts) {
55
61
  opts = opts || {};
@@ -65,7 +71,8 @@ class CarrierServicesApi {
65
71
  opts['body'],
66
72
  ['PureCloud OAuth'],
67
73
  ['application/json'],
68
- ['application/json']
74
+ ['application/json'],
75
+ opts['customHeaders']
69
76
  );
70
77
  }
71
78