purecloud-platform-client-v2 219.0.0 → 221.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 (92) hide show
  1. package/README.md +4 -4
  2. package/dist/node/purecloud-platform-client-v2.js +1378 -144
  3. package/dist/web-amd/purecloud-platform-client-v2.js +1378 -144
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +495 -184
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +495 -184
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +1596 -766
  9. package/package.json +2 -2
  10. package/src/purecloud-platform-client-v2/ApiClient.js +2 -2
  11. package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +1 -1
  12. package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +1 -1
  13. package/src/purecloud-platform-client-v2/api/AgentUIApi.js +1 -1
  14. package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
  15. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
  16. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +4 -5
  17. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
  19. package/src/purecloud-platform-client-v2/api/BillingApi.js +177 -1
  20. package/src/purecloud-platform-client-v2/api/BusinessRulesApi.js +919 -0
  21. package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
  22. package/src/purecloud-platform-client-v2/api/ChatApi.js +7 -3
  23. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +71 -8
  26. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +4 -19
  33. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/RecordingApi.js +3 -3
  64. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/RoutingApi.js +19 -14
  66. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +33 -1
  69. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/SettingsApi.js +65 -1
  71. package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -3
  73. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  74. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -10
  76. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  78. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
  79. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +3 -3
  80. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  81. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  82. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  83. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  84. package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
  85. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  86. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  87. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  88. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -3
  89. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  90. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  91. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
  92. package/src/purecloud-platform-client-v2/index.js +7 -1
@@ -687,7 +687,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
687
687
 
688
688
  /**
689
689
  * @module purecloud-platform-client-v2/ApiClient
690
- * @version 219.0.0
690
+ * @version 221.0.0
691
691
  */
692
692
  class ApiClient {
693
693
  /**
@@ -782,7 +782,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
782
782
  /**
783
783
  * The default HTTP timeout for all API calls.
784
784
  * @type {Number}
785
- * @default 60000
785
+ * @default 16000
786
786
  */
787
787
  this.timeout = 16000;
788
788
 
@@ -2231,7 +2231,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
2231
2231
  /**
2232
2232
  * AgentAssistants service.
2233
2233
  * @module purecloud-platform-client-v2/api/AgentAssistantsApi
2234
- * @version 219.0.0
2234
+ * @version 221.0.0
2235
2235
  */
2236
2236
 
2237
2237
  /**
@@ -2607,7 +2607,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
2607
2607
  /**
2608
2608
  * AgentCopilot service.
2609
2609
  * @module purecloud-platform-client-v2/api/AgentCopilotApi
2610
- * @version 219.0.0
2610
+ * @version 221.0.0
2611
2611
  */
2612
2612
 
2613
2613
  /**
@@ -2683,7 +2683,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
2683
2683
  /**
2684
2684
  * AgentUI service.
2685
2685
  * @module purecloud-platform-client-v2/api/AgentUIApi
2686
- * @version 219.0.0
2686
+ * @version 221.0.0
2687
2687
  */
2688
2688
 
2689
2689
  /**
@@ -2814,7 +2814,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
2814
2814
  /**
2815
2815
  * Alerting service.
2816
2816
  * @module purecloud-platform-client-v2/api/AlertingApi
2817
- * @version 219.0.0
2817
+ * @version 221.0.0
2818
2818
  */
2819
2819
 
2820
2820
  /**
@@ -3215,7 +3215,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
3215
3215
  /**
3216
3216
  * Analytics service.
3217
3217
  * @module purecloud-platform-client-v2/api/AnalyticsApi
3218
- * @version 219.0.0
3218
+ * @version 221.0.0
3219
3219
  */
3220
3220
 
3221
3221
  /**
@@ -6036,7 +6036,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
6036
6036
  /**
6037
6037
  * Architect service.
6038
6038
  * @module purecloud-platform-client-v2/api/ArchitectApi
6039
- * @version 219.0.0
6039
+ * @version 221.0.0
6040
6040
  */
6041
6041
 
6042
6042
  /**
@@ -7070,7 +7070,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
7070
7070
  * Get an IVR IdentityResolutionConfig.
7071
7071
  *
7072
7072
  * @param {String} ivrId IVR id
7073
- * getArchitectIvrIdentityresolution is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7074
7073
  */
7075
7074
  getArchitectIvrIdentityresolution(ivrId) {
7076
7075
  // verify the required parameter 'ivrId' is set
@@ -7103,6 +7102,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
7103
7102
  * @param {String} opts.name Name of the IVR to filter by.
7104
7103
  * @param {String} opts.dnis The phone number of the IVR to filter by.
7105
7104
  * @param {String} opts.scheduleGroup The Schedule Group of the IVR to filter by.
7105
+ * @param {Array.<String>} opts.expand Which fields, if any, to expand
7106
7106
  */
7107
7107
  getArchitectIvrs(opts) {
7108
7108
  opts = opts || {};
@@ -7112,7 +7112,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
7112
7112
  '/api/v2/architect/ivrs',
7113
7113
  'GET',
7114
7114
  { },
7115
- { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'name': opts['name'],'dnis': opts['dnis'],'scheduleGroup': opts['scheduleGroup'] },
7115
+ { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'name': opts['name'],'dnis': opts['dnis'],'scheduleGroup': opts['scheduleGroup'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
7116
7116
  { },
7117
7117
  { },
7118
7118
  null,
@@ -7431,7 +7431,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
7431
7431
  * @param {Number} opts.pageNumber Page number (default to 1)
7432
7432
  * @param {Number} opts.pageSize Page size (default to 25)
7433
7433
  * @param {String} opts.sortBy Sort by (default to name)
7434
- * @param {String} opts.sortOrder Sort order (default to ASC)
7434
+ * @param {String} opts.sortOrder Sort order (default to asc)
7435
7435
  * @param {String} opts.name Name of the Schedule to filter by.
7436
7436
  * @param {Array.<String>} opts.divisionId List of divisionIds on which to filter.
7437
7437
  */
@@ -9918,7 +9918,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
9918
9918
  *
9919
9919
  * @param {String} ivrId IVR id
9920
9920
  * @param {Object} body
9921
- * putArchitectIvrIdentityresolution is a preview method and is subject to both breaking and non-breaking changes at any time without notice
9922
9921
  */
9923
9922
  putArchitectIvrIdentityresolution(ivrId, body) {
9924
9923
  // verify the required parameter 'ivrId' is set
@@ -10329,7 +10328,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
10329
10328
  /**
10330
10329
  * Audit service.
10331
10330
  * @module purecloud-platform-client-v2/api/AuditApi
10332
- * @version 219.0.0
10331
+ * @version 221.0.0
10333
10332
  */
10334
10333
 
10335
10334
  /**
@@ -10530,7 +10529,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
10530
10529
  /**
10531
10530
  * Authorization service.
10532
10531
  * @module purecloud-platform-client-v2/api/AuthorizationApi
10533
- * @version 219.0.0
10532
+ * @version 221.0.0
10534
10533
  */
10535
10534
 
10536
10535
  /**
@@ -12245,7 +12244,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
12245
12244
  /**
12246
12245
  * Billing service.
12247
12246
  * @module purecloud-platform-client-v2/api/BillingApi
12248
- * @version 219.0.0
12247
+ * @version 221.0.0
12249
12248
  */
12250
12249
 
12251
12250
  /**
@@ -12260,6 +12259,182 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
12260
12259
  }
12261
12260
 
12262
12261
 
12262
+ /**
12263
+ * Get billing contract
12264
+ * Retrieve a single contract from the system.
12265
+ * @param {String} contractId The contract number.
12266
+ * getBillingContract is a preview method and is subject to both breaking and non-breaking changes at any time without notice
12267
+ */
12268
+ getBillingContract(contractId) {
12269
+ // verify the required parameter 'contractId' is set
12270
+ if (contractId === undefined || contractId === null) {
12271
+ throw 'Missing the required parameter "contractId" when calling getBillingContract';
12272
+ }
12273
+
12274
+ return this.apiClient.callApi(
12275
+ '/api/v2/billing/contracts/{contractId}',
12276
+ 'GET',
12277
+ { 'contractId': contractId },
12278
+ { },
12279
+ { },
12280
+ { },
12281
+ null,
12282
+ ['PureCloud OAuth'],
12283
+ ['application/json'],
12284
+ ['application/json']
12285
+ );
12286
+ }
12287
+
12288
+ /**
12289
+ * Get contract billing period
12290
+ * Fetch the billing information for a given Organization by billing period.
12291
+ * @param {String} contractId The contract number.
12292
+ * @param {String} billingPeriodId The Billing Period Id for the Org.
12293
+ * getBillingContractBillingperiod is a preview method and is subject to both breaking and non-breaking changes at any time without notice
12294
+ */
12295
+ getBillingContractBillingperiod(contractId, billingPeriodId) {
12296
+ // verify the required parameter 'contractId' is set
12297
+ if (contractId === undefined || contractId === null) {
12298
+ throw 'Missing the required parameter "contractId" when calling getBillingContractBillingperiod';
12299
+ }
12300
+ // verify the required parameter 'billingPeriodId' is set
12301
+ if (billingPeriodId === undefined || billingPeriodId === null) {
12302
+ throw 'Missing the required parameter "billingPeriodId" when calling getBillingContractBillingperiod';
12303
+ }
12304
+
12305
+ return this.apiClient.callApi(
12306
+ '/api/v2/billing/contracts/{contractId}/billingperiods/{billingPeriodId}',
12307
+ 'GET',
12308
+ { 'contractId': contractId,'billingPeriodId': billingPeriodId },
12309
+ { },
12310
+ { },
12311
+ { },
12312
+ null,
12313
+ ['PureCloud OAuth'],
12314
+ ['application/json'],
12315
+ ['application/json']
12316
+ );
12317
+ }
12318
+
12319
+ /**
12320
+ * Get billing contracts
12321
+ * Retrieve a list of contracts stored in the system.
12322
+ * @param {Object} opts Optional parameters
12323
+ * @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
12324
+ * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
12325
+ * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
12326
+ * @param {String} opts.dateStart Start date for the query. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
12327
+ * @param {String} opts.dateEnd End date for the query. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
12328
+ * @param {Object} opts.status Filter by the status of contracts
12329
+ * @param {String} opts.externalNumber Filter by the unique external number.
12330
+ * getBillingContracts is a preview method and is subject to both breaking and non-breaking changes at any time without notice
12331
+ */
12332
+ getBillingContracts(opts) {
12333
+ opts = opts || {};
12334
+
12335
+
12336
+ return this.apiClient.callApi(
12337
+ '/api/v2/billing/contracts',
12338
+ 'GET',
12339
+ { },
12340
+ { 'before': opts['before'],'after': opts['after'],'pageSize': opts['pageSize'],'dateStart': opts['dateStart'],'dateEnd': opts['dateEnd'],'status': opts['status'],'externalNumber': opts['externalNumber'] },
12341
+ { },
12342
+ { },
12343
+ null,
12344
+ ['PureCloud OAuth'],
12345
+ ['application/json'],
12346
+ ['application/json']
12347
+ );
12348
+ }
12349
+
12350
+ /**
12351
+ * Get invoice document
12352
+ * Fetch the document for a specific invoice.
12353
+ * @param {String} invoiceId invoiceId
12354
+ * getBillingContractsInvoiceDocument is a preview method and is subject to both breaking and non-breaking changes at any time without notice
12355
+ */
12356
+ getBillingContractsInvoiceDocument(invoiceId) {
12357
+ // verify the required parameter 'invoiceId' is set
12358
+ if (invoiceId === undefined || invoiceId === null) {
12359
+ throw 'Missing the required parameter "invoiceId" when calling getBillingContractsInvoiceDocument';
12360
+ }
12361
+
12362
+ return this.apiClient.callApi(
12363
+ '/api/v2/billing/contracts/invoices/{invoiceId}/document',
12364
+ 'GET',
12365
+ { 'invoiceId': invoiceId },
12366
+ { },
12367
+ { },
12368
+ { },
12369
+ null,
12370
+ ['PureCloud OAuth'],
12371
+ ['application/json'],
12372
+ ['application/json']
12373
+ );
12374
+ }
12375
+
12376
+ /**
12377
+ * Get invoice lines
12378
+ * Fetch a list of all bills for the specified account.
12379
+ * @param {String} invoiceId invoiceId
12380
+ * @param {Object} opts Optional parameters
12381
+ * @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
12382
+ * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
12383
+ * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
12384
+ * getBillingContractsInvoiceLines is a preview method and is subject to both breaking and non-breaking changes at any time without notice
12385
+ */
12386
+ getBillingContractsInvoiceLines(invoiceId, opts) {
12387
+ opts = opts || {};
12388
+
12389
+ // verify the required parameter 'invoiceId' is set
12390
+ if (invoiceId === undefined || invoiceId === null) {
12391
+ throw 'Missing the required parameter "invoiceId" when calling getBillingContractsInvoiceLines';
12392
+ }
12393
+
12394
+ return this.apiClient.callApi(
12395
+ '/api/v2/billing/contracts/invoices/{invoiceId}/lines',
12396
+ 'GET',
12397
+ { 'invoiceId': invoiceId },
12398
+ { 'before': opts['before'],'after': opts['after'],'pageSize': opts['pageSize'] },
12399
+ { },
12400
+ { },
12401
+ null,
12402
+ ['PureCloud OAuth'],
12403
+ ['application/json'],
12404
+ ['application/json']
12405
+ );
12406
+ }
12407
+
12408
+ /**
12409
+ * Get invoices
12410
+ * Retrieve a list of invoices stored in the system.
12411
+ * @param {Object} opts Optional parameters
12412
+ * @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
12413
+ * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
12414
+ * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
12415
+ * @param {String} opts.dateStart Start date for the query. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
12416
+ * @param {String} opts.dateEnd End date for the query. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
12417
+ * @param {Object} opts.paymentStatus Payment Status
12418
+ * getBillingContractsInvoices is a preview method and is subject to both breaking and non-breaking changes at any time without notice
12419
+ */
12420
+ getBillingContractsInvoices(opts) {
12421
+ opts = opts || {};
12422
+
12423
+
12424
+ return this.apiClient.callApi(
12425
+ '/api/v2/billing/contracts/invoices',
12426
+ 'GET',
12427
+ { },
12428
+ { 'before': opts['before'],'after': opts['after'],'pageSize': opts['pageSize'],'dateStart': opts['dateStart'],'dateEnd': opts['dateEnd'],'paymentStatus': opts['paymentStatus'] },
12429
+ { },
12430
+ { },
12431
+ null,
12432
+ ['PureCloud OAuth'],
12433
+ ['application/json'],
12434
+ ['application/json']
12435
+ );
12436
+ }
12437
+
12263
12438
  /**
12264
12439
  * Get a report of the billable license usages
12265
12440
  * Report is of the billable usages (e.g. licenses and devices utilized) for a given period. If responses status is InProgress, wait a few seconds, then try the same request again.
@@ -12321,11 +12496,925 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
12321
12496
 
12322
12497
  }
12323
12498
 
12499
+ class BusinessRulesApi {
12500
+ /**
12501
+ * BusinessRules service.
12502
+ * @module purecloud-platform-client-v2/api/BusinessRulesApi
12503
+ * @version 221.0.0
12504
+ */
12505
+
12506
+ /**
12507
+ * Constructs a new BusinessRulesApi.
12508
+ * @alias module:purecloud-platform-client-v2/api/BusinessRulesApi
12509
+ * @class
12510
+ * @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
12511
+ * default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
12512
+ */
12513
+ constructor(apiClient) {
12514
+ this.apiClient = apiClient || ApiClient.instance;
12515
+ }
12516
+
12517
+
12518
+ /**
12519
+ * Delete a decision table
12520
+ *
12521
+ * @param {String} tableId Table ID
12522
+ * @param {Object} opts Optional parameters
12523
+ * @param {Boolean} opts.forceDelete Force delete decision table (under certain conditions) (default to false)
12524
+ * deleteBusinessrulesDecisiontable is a preview method and is subject to both breaking and non-breaking changes at any time without notice
12525
+ */
12526
+ deleteBusinessrulesDecisiontable(tableId, opts) {
12527
+ opts = opts || {};
12528
+
12529
+ // verify the required parameter 'tableId' is set
12530
+ if (tableId === undefined || tableId === null) {
12531
+ throw 'Missing the required parameter "tableId" when calling deleteBusinessrulesDecisiontable';
12532
+ }
12533
+
12534
+ return this.apiClient.callApi(
12535
+ '/api/v2/businessrules/decisiontables/{tableId}',
12536
+ 'DELETE',
12537
+ { 'tableId': tableId },
12538
+ { 'forceDelete': opts['forceDelete'] },
12539
+ { },
12540
+ { },
12541
+ null,
12542
+ ['PureCloud OAuth'],
12543
+ ['application/json'],
12544
+ ['application/json']
12545
+ );
12546
+ }
12547
+
12548
+ /**
12549
+ * Delete a decision table version
12550
+ *
12551
+ * @param {String} tableId Table ID
12552
+ * @param {Number} tableVersion Table Version
12553
+ * deleteBusinessrulesDecisiontableVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
12554
+ */
12555
+ deleteBusinessrulesDecisiontableVersion(tableId, tableVersion) {
12556
+ // verify the required parameter 'tableId' is set
12557
+ if (tableId === undefined || tableId === null) {
12558
+ throw 'Missing the required parameter "tableId" when calling deleteBusinessrulesDecisiontableVersion';
12559
+ }
12560
+ // verify the required parameter 'tableVersion' is set
12561
+ if (tableVersion === undefined || tableVersion === null) {
12562
+ throw 'Missing the required parameter "tableVersion" when calling deleteBusinessrulesDecisiontableVersion';
12563
+ }
12564
+
12565
+ return this.apiClient.callApi(
12566
+ '/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}',
12567
+ 'DELETE',
12568
+ { 'tableId': tableId,'tableVersion': tableVersion },
12569
+ { },
12570
+ { },
12571
+ { },
12572
+ null,
12573
+ ['PureCloud OAuth'],
12574
+ ['application/json'],
12575
+ ['application/json']
12576
+ );
12577
+ }
12578
+
12579
+ /**
12580
+ * Delete a decision table row
12581
+ *
12582
+ * @param {String} tableId Table ID
12583
+ * @param {Number} tableVersion Table Version
12584
+ * @param {String} rowId Row ID
12585
+ * deleteBusinessrulesDecisiontableVersionRow is a preview method and is subject to both breaking and non-breaking changes at any time without notice
12586
+ */
12587
+ deleteBusinessrulesDecisiontableVersionRow(tableId, tableVersion, rowId) {
12588
+ // verify the required parameter 'tableId' is set
12589
+ if (tableId === undefined || tableId === null) {
12590
+ throw 'Missing the required parameter "tableId" when calling deleteBusinessrulesDecisiontableVersionRow';
12591
+ }
12592
+ // verify the required parameter 'tableVersion' is set
12593
+ if (tableVersion === undefined || tableVersion === null) {
12594
+ throw 'Missing the required parameter "tableVersion" when calling deleteBusinessrulesDecisiontableVersionRow';
12595
+ }
12596
+ // verify the required parameter 'rowId' is set
12597
+ if (rowId === undefined || rowId === null) {
12598
+ throw 'Missing the required parameter "rowId" when calling deleteBusinessrulesDecisiontableVersionRow';
12599
+ }
12600
+
12601
+ return this.apiClient.callApi(
12602
+ '/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}/rows/{rowId}',
12603
+ 'DELETE',
12604
+ { 'tableId': tableId,'tableVersion': tableVersion,'rowId': rowId },
12605
+ { },
12606
+ { },
12607
+ { },
12608
+ null,
12609
+ ['PureCloud OAuth'],
12610
+ ['application/json'],
12611
+ ['application/json']
12612
+ );
12613
+ }
12614
+
12615
+ /**
12616
+ * Delete a schema
12617
+ *
12618
+ * @param {String} schemaId Schema ID
12619
+ * deleteBusinessrulesSchema is a preview method and is subject to both breaking and non-breaking changes at any time without notice
12620
+ */
12621
+ deleteBusinessrulesSchema(schemaId) {
12622
+ // verify the required parameter 'schemaId' is set
12623
+ if (schemaId === undefined || schemaId === null) {
12624
+ throw 'Missing the required parameter "schemaId" when calling deleteBusinessrulesSchema';
12625
+ }
12626
+
12627
+ return this.apiClient.callApi(
12628
+ '/api/v2/businessrules/schemas/{schemaId}',
12629
+ 'DELETE',
12630
+ { 'schemaId': schemaId },
12631
+ { },
12632
+ { },
12633
+ { },
12634
+ null,
12635
+ ['PureCloud OAuth'],
12636
+ ['application/json'],
12637
+ ['application/json']
12638
+ );
12639
+ }
12640
+
12641
+ /**
12642
+ * Get a decision table
12643
+ *
12644
+ * @param {String} tableId Table ID
12645
+ * getBusinessrulesDecisiontable is a preview method and is subject to both breaking and non-breaking changes at any time without notice
12646
+ */
12647
+ getBusinessrulesDecisiontable(tableId) {
12648
+ // verify the required parameter 'tableId' is set
12649
+ if (tableId === undefined || tableId === null) {
12650
+ throw 'Missing the required parameter "tableId" when calling getBusinessrulesDecisiontable';
12651
+ }
12652
+
12653
+ return this.apiClient.callApi(
12654
+ '/api/v2/businessrules/decisiontables/{tableId}',
12655
+ 'GET',
12656
+ { 'tableId': tableId },
12657
+ { },
12658
+ { },
12659
+ { },
12660
+ null,
12661
+ ['PureCloud OAuth'],
12662
+ ['application/json'],
12663
+ ['application/json']
12664
+ );
12665
+ }
12666
+
12667
+ /**
12668
+ * Get a decision table version
12669
+ *
12670
+ * @param {String} tableId Table ID
12671
+ * @param {Number} tableVersion Table Version
12672
+ * getBusinessrulesDecisiontableVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
12673
+ */
12674
+ getBusinessrulesDecisiontableVersion(tableId, tableVersion) {
12675
+ // verify the required parameter 'tableId' is set
12676
+ if (tableId === undefined || tableId === null) {
12677
+ throw 'Missing the required parameter "tableId" when calling getBusinessrulesDecisiontableVersion';
12678
+ }
12679
+ // verify the required parameter 'tableVersion' is set
12680
+ if (tableVersion === undefined || tableVersion === null) {
12681
+ throw 'Missing the required parameter "tableVersion" when calling getBusinessrulesDecisiontableVersion';
12682
+ }
12683
+
12684
+ return this.apiClient.callApi(
12685
+ '/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}',
12686
+ 'GET',
12687
+ { 'tableId': tableId,'tableVersion': tableVersion },
12688
+ { },
12689
+ { },
12690
+ { },
12691
+ null,
12692
+ ['PureCloud OAuth'],
12693
+ ['application/json'],
12694
+ ['application/json']
12695
+ );
12696
+ }
12697
+
12698
+ /**
12699
+ * Get a decision table row
12700
+ *
12701
+ * @param {String} tableId Table ID
12702
+ * @param {Number} tableVersion Table Version
12703
+ * @param {String} rowId Row ID
12704
+ * getBusinessrulesDecisiontableVersionRow is a preview method and is subject to both breaking and non-breaking changes at any time without notice
12705
+ */
12706
+ getBusinessrulesDecisiontableVersionRow(tableId, tableVersion, rowId) {
12707
+ // verify the required parameter 'tableId' is set
12708
+ if (tableId === undefined || tableId === null) {
12709
+ throw 'Missing the required parameter "tableId" when calling getBusinessrulesDecisiontableVersionRow';
12710
+ }
12711
+ // verify the required parameter 'tableVersion' is set
12712
+ if (tableVersion === undefined || tableVersion === null) {
12713
+ throw 'Missing the required parameter "tableVersion" when calling getBusinessrulesDecisiontableVersionRow';
12714
+ }
12715
+ // verify the required parameter 'rowId' is set
12716
+ if (rowId === undefined || rowId === null) {
12717
+ throw 'Missing the required parameter "rowId" when calling getBusinessrulesDecisiontableVersionRow';
12718
+ }
12719
+
12720
+ return this.apiClient.callApi(
12721
+ '/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}/rows/{rowId}',
12722
+ 'GET',
12723
+ { 'tableId': tableId,'tableVersion': tableVersion,'rowId': rowId },
12724
+ { },
12725
+ { },
12726
+ { },
12727
+ null,
12728
+ ['PureCloud OAuth'],
12729
+ ['application/json'],
12730
+ ['application/json']
12731
+ );
12732
+ }
12733
+
12734
+ /**
12735
+ * Get a list of decision table rows.
12736
+ *
12737
+ * @param {String} tableId Table ID
12738
+ * @param {Number} tableVersion Table Version
12739
+ * @param {Object} opts Optional parameters
12740
+ * @param {String} opts.pageNumber Page number of the entities to return. Defaults to 1.
12741
+ * @param {String} opts.pageSize Number of entities to return. Maximum of 100. Defaults to 25.
12742
+ * getBusinessrulesDecisiontableVersionRows is a preview method and is subject to both breaking and non-breaking changes at any time without notice
12743
+ */
12744
+ getBusinessrulesDecisiontableVersionRows(tableId, tableVersion, opts) {
12745
+ opts = opts || {};
12746
+
12747
+ // verify the required parameter 'tableId' is set
12748
+ if (tableId === undefined || tableId === null) {
12749
+ throw 'Missing the required parameter "tableId" when calling getBusinessrulesDecisiontableVersionRows';
12750
+ }
12751
+ // verify the required parameter 'tableVersion' is set
12752
+ if (tableVersion === undefined || tableVersion === null) {
12753
+ throw 'Missing the required parameter "tableVersion" when calling getBusinessrulesDecisiontableVersionRows';
12754
+ }
12755
+
12756
+ return this.apiClient.callApi(
12757
+ '/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}/rows',
12758
+ 'GET',
12759
+ { 'tableId': tableId,'tableVersion': tableVersion },
12760
+ { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'] },
12761
+ { },
12762
+ { },
12763
+ null,
12764
+ ['PureCloud OAuth'],
12765
+ ['application/json'],
12766
+ ['application/json']
12767
+ );
12768
+ }
12769
+
12770
+ /**
12771
+ * Get a list of decision table versions
12772
+ *
12773
+ * @param {String} tableId Table ID
12774
+ * @param {Object} opts Optional parameters
12775
+ * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
12776
+ * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
12777
+ * @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.
12778
+ * getBusinessrulesDecisiontableVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
12779
+ */
12780
+ getBusinessrulesDecisiontableVersions(tableId, opts) {
12781
+ opts = opts || {};
12782
+
12783
+ // verify the required parameter 'tableId' is set
12784
+ if (tableId === undefined || tableId === null) {
12785
+ throw 'Missing the required parameter "tableId" when calling getBusinessrulesDecisiontableVersions';
12786
+ }
12787
+
12788
+ return this.apiClient.callApi(
12789
+ '/api/v2/businessrules/decisiontables/{tableId}/versions',
12790
+ 'GET',
12791
+ { 'tableId': tableId },
12792
+ { 'after': opts['after'],'pageSize': opts['pageSize'],'divisionIds': this.apiClient.buildCollectionParam(opts['divisionIds'], 'multi') },
12793
+ { },
12794
+ { },
12795
+ null,
12796
+ ['PureCloud OAuth'],
12797
+ ['application/json'],
12798
+ ['application/json']
12799
+ );
12800
+ }
12801
+
12802
+ /**
12803
+ * Get a list of decision tables.
12804
+ *
12805
+ * @param {Object} opts Optional parameters
12806
+ * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
12807
+ * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
12808
+ * @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.
12809
+ * getBusinessrulesDecisiontables is a preview method and is subject to both breaking and non-breaking changes at any time without notice
12810
+ */
12811
+ getBusinessrulesDecisiontables(opts) {
12812
+ opts = opts || {};
12813
+
12814
+
12815
+ return this.apiClient.callApi(
12816
+ '/api/v2/businessrules/decisiontables',
12817
+ 'GET',
12818
+ { },
12819
+ { 'after': opts['after'],'pageSize': opts['pageSize'],'divisionIds': this.apiClient.buildCollectionParam(opts['divisionIds'], 'multi') },
12820
+ { },
12821
+ { },
12822
+ null,
12823
+ ['PureCloud OAuth'],
12824
+ ['application/json'],
12825
+ ['application/json']
12826
+ );
12827
+ }
12828
+
12829
+ /**
12830
+ * Search for decision tables.
12831
+ *
12832
+ * @param {Object} opts Optional parameters
12833
+ * @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
12834
+ * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
12835
+ * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
12836
+ * @param {String} opts.schemaId Search for decision tables that use the schema with this ID. Cannot be combined with name search. Search results will not be paginated if used.
12837
+ * @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. Cannot be combined with schema search. Search results will not be paginated if used.
12838
+ * getBusinessrulesDecisiontablesSearch is a preview method and is subject to both breaking and non-breaking changes at any time without notice
12839
+ */
12840
+ getBusinessrulesDecisiontablesSearch(opts) {
12841
+ opts = opts || {};
12842
+
12843
+
12844
+ return this.apiClient.callApi(
12845
+ '/api/v2/businessrules/decisiontables/search',
12846
+ 'GET',
12847
+ { },
12848
+ { 'before': opts['before'],'after': opts['after'],'pageSize': opts['pageSize'],'schemaId': opts['schemaId'],'name': opts['name'] },
12849
+ { },
12850
+ { },
12851
+ null,
12852
+ ['PureCloud OAuth'],
12853
+ ['application/json'],
12854
+ ['application/json']
12855
+ );
12856
+ }
12857
+
12858
+ /**
12859
+ * Get a schema
12860
+ *
12861
+ * @param {String} schemaId Schema ID
12862
+ * getBusinessrulesSchema is a preview method and is subject to both breaking and non-breaking changes at any time without notice
12863
+ */
12864
+ getBusinessrulesSchema(schemaId) {
12865
+ // verify the required parameter 'schemaId' is set
12866
+ if (schemaId === undefined || schemaId === null) {
12867
+ throw 'Missing the required parameter "schemaId" when calling getBusinessrulesSchema';
12868
+ }
12869
+
12870
+ return this.apiClient.callApi(
12871
+ '/api/v2/businessrules/schemas/{schemaId}',
12872
+ 'GET',
12873
+ { 'schemaId': schemaId },
12874
+ { },
12875
+ { },
12876
+ { },
12877
+ null,
12878
+ ['PureCloud OAuth'],
12879
+ ['application/json'],
12880
+ ['application/json']
12881
+ );
12882
+ }
12883
+
12884
+ /**
12885
+ * Get a list of schemas.
12886
+ *
12887
+ * getBusinessrulesSchemas is a preview method and is subject to both breaking and non-breaking changes at any time without notice
12888
+ */
12889
+ getBusinessrulesSchemas() {
12890
+
12891
+ return this.apiClient.callApi(
12892
+ '/api/v2/businessrules/schemas',
12893
+ 'GET',
12894
+ { },
12895
+ { },
12896
+ { },
12897
+ { },
12898
+ null,
12899
+ ['PureCloud OAuth'],
12900
+ ['application/json'],
12901
+ ['application/json']
12902
+ );
12903
+ }
12904
+
12905
+ /**
12906
+ * Get a specific named core type.
12907
+ *
12908
+ * @param {String} coreTypeName The core type's name
12909
+ * getBusinessrulesSchemasCoretype is a preview method and is subject to both breaking and non-breaking changes at any time without notice
12910
+ */
12911
+ getBusinessrulesSchemasCoretype(coreTypeName) {
12912
+ // verify the required parameter 'coreTypeName' is set
12913
+ if (coreTypeName === undefined || coreTypeName === null) {
12914
+ throw 'Missing the required parameter "coreTypeName" when calling getBusinessrulesSchemasCoretype';
12915
+ }
12916
+
12917
+ return this.apiClient.callApi(
12918
+ '/api/v2/businessrules/schemas/coretypes/{coreTypeName}',
12919
+ 'GET',
12920
+ { 'coreTypeName': coreTypeName },
12921
+ { },
12922
+ { },
12923
+ { },
12924
+ null,
12925
+ ['PureCloud OAuth'],
12926
+ ['application/json'],
12927
+ ['application/json']
12928
+ );
12929
+ }
12930
+
12931
+ /**
12932
+ * Get the core types from which all schemas are built.
12933
+ *
12934
+ * getBusinessrulesSchemasCoretypes is a preview method and is subject to both breaking and non-breaking changes at any time without notice
12935
+ */
12936
+ getBusinessrulesSchemasCoretypes() {
12937
+
12938
+ return this.apiClient.callApi(
12939
+ '/api/v2/businessrules/schemas/coretypes',
12940
+ 'GET',
12941
+ { },
12942
+ { },
12943
+ { },
12944
+ { },
12945
+ null,
12946
+ ['PureCloud OAuth'],
12947
+ ['application/json'],
12948
+ ['application/json']
12949
+ );
12950
+ }
12951
+
12952
+ /**
12953
+ * Update a decision table
12954
+ *
12955
+ * @param {String} tableId Table ID
12956
+ * @param {Object} body Decision Table
12957
+ * patchBusinessrulesDecisiontable is a preview method and is subject to both breaking and non-breaking changes at any time without notice
12958
+ */
12959
+ patchBusinessrulesDecisiontable(tableId, body) {
12960
+ // verify the required parameter 'tableId' is set
12961
+ if (tableId === undefined || tableId === null) {
12962
+ throw 'Missing the required parameter "tableId" when calling patchBusinessrulesDecisiontable';
12963
+ }
12964
+ // verify the required parameter 'body' is set
12965
+ if (body === undefined || body === null) {
12966
+ throw 'Missing the required parameter "body" when calling patchBusinessrulesDecisiontable';
12967
+ }
12968
+
12969
+ return this.apiClient.callApi(
12970
+ '/api/v2/businessrules/decisiontables/{tableId}',
12971
+ 'PATCH',
12972
+ { 'tableId': tableId },
12973
+ { },
12974
+ { },
12975
+ { },
12976
+ body,
12977
+ ['PureCloud OAuth'],
12978
+ ['application/json'],
12979
+ ['application/json']
12980
+ );
12981
+ }
12982
+
12983
+ /**
12984
+ * Update a decision table version
12985
+ *
12986
+ * @param {String} tableId Table ID
12987
+ * @param {Number} tableVersion Table Version
12988
+ * @param {Object} body Decision Table
12989
+ * patchBusinessrulesDecisiontableVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
12990
+ */
12991
+ patchBusinessrulesDecisiontableVersion(tableId, tableVersion, body) {
12992
+ // verify the required parameter 'tableId' is set
12993
+ if (tableId === undefined || tableId === null) {
12994
+ throw 'Missing the required parameter "tableId" when calling patchBusinessrulesDecisiontableVersion';
12995
+ }
12996
+ // verify the required parameter 'tableVersion' is set
12997
+ if (tableVersion === undefined || tableVersion === null) {
12998
+ throw 'Missing the required parameter "tableVersion" when calling patchBusinessrulesDecisiontableVersion';
12999
+ }
13000
+ // verify the required parameter 'body' is set
13001
+ if (body === undefined || body === null) {
13002
+ throw 'Missing the required parameter "body" when calling patchBusinessrulesDecisiontableVersion';
13003
+ }
13004
+
13005
+ return this.apiClient.callApi(
13006
+ '/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}',
13007
+ 'PATCH',
13008
+ { 'tableId': tableId,'tableVersion': tableVersion },
13009
+ { },
13010
+ { },
13011
+ { },
13012
+ body,
13013
+ ['PureCloud OAuth'],
13014
+ ['application/json'],
13015
+ ['application/json']
13016
+ );
13017
+ }
13018
+
13019
+ /**
13020
+ * Update a decision table row
13021
+ *
13022
+ * @param {String} tableId Table ID
13023
+ * @param {Number} tableVersion Table Version
13024
+ * @param {String} rowId Row ID
13025
+ * @param {Object} body Update decision table row request
13026
+ * patchBusinessrulesDecisiontableVersionRow is a preview method and is subject to both breaking and non-breaking changes at any time without notice
13027
+ */
13028
+ patchBusinessrulesDecisiontableVersionRow(tableId, tableVersion, rowId, body) {
13029
+ // verify the required parameter 'tableId' is set
13030
+ if (tableId === undefined || tableId === null) {
13031
+ throw 'Missing the required parameter "tableId" when calling patchBusinessrulesDecisiontableVersionRow';
13032
+ }
13033
+ // verify the required parameter 'tableVersion' is set
13034
+ if (tableVersion === undefined || tableVersion === null) {
13035
+ throw 'Missing the required parameter "tableVersion" when calling patchBusinessrulesDecisiontableVersionRow';
13036
+ }
13037
+ // verify the required parameter 'rowId' is set
13038
+ if (rowId === undefined || rowId === null) {
13039
+ throw 'Missing the required parameter "rowId" when calling patchBusinessrulesDecisiontableVersionRow';
13040
+ }
13041
+ // verify the required parameter 'body' is set
13042
+ if (body === undefined || body === null) {
13043
+ throw 'Missing the required parameter "body" when calling patchBusinessrulesDecisiontableVersionRow';
13044
+ }
13045
+
13046
+ return this.apiClient.callApi(
13047
+ '/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}/rows/{rowId}',
13048
+ 'PATCH',
13049
+ { 'tableId': tableId,'tableVersion': tableVersion,'rowId': rowId },
13050
+ { },
13051
+ { },
13052
+ { },
13053
+ body,
13054
+ ['PureCloud OAuth'],
13055
+ ['application/json'],
13056
+ ['application/json']
13057
+ );
13058
+ }
13059
+
13060
+ /**
13061
+ * Execute a published decision table
13062
+ *
13063
+ * @param {String} tableId Table ID
13064
+ * @param {Object} body Decision Table
13065
+ * postBusinessrulesDecisiontableExecute is a preview method and is subject to both breaking and non-breaking changes at any time without notice
13066
+ */
13067
+ postBusinessrulesDecisiontableExecute(tableId, body) {
13068
+ // verify the required parameter 'tableId' is set
13069
+ if (tableId === undefined || tableId === null) {
13070
+ throw 'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableExecute';
13071
+ }
13072
+ // verify the required parameter 'body' is set
13073
+ if (body === undefined || body === null) {
13074
+ throw 'Missing the required parameter "body" when calling postBusinessrulesDecisiontableExecute';
13075
+ }
13076
+
13077
+ return this.apiClient.callApi(
13078
+ '/api/v2/businessrules/decisiontables/{tableId}/execute',
13079
+ 'POST',
13080
+ { 'tableId': tableId },
13081
+ { },
13082
+ { },
13083
+ { },
13084
+ body,
13085
+ ['PureCloud OAuth'],
13086
+ ['application/json'],
13087
+ ['application/json']
13088
+ );
13089
+ }
13090
+
13091
+ /**
13092
+ * Copy a decision table version
13093
+ *
13094
+ * @param {String} tableId Table ID
13095
+ * @param {Number} tableVersion Table Version
13096
+ * @param {Object} body Decision Table
13097
+ * postBusinessrulesDecisiontableVersionCopy is a preview method and is subject to both breaking and non-breaking changes at any time without notice
13098
+ */
13099
+ postBusinessrulesDecisiontableVersionCopy(tableId, tableVersion, body) {
13100
+ // verify the required parameter 'tableId' is set
13101
+ if (tableId === undefined || tableId === null) {
13102
+ throw 'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableVersionCopy';
13103
+ }
13104
+ // verify the required parameter 'tableVersion' is set
13105
+ if (tableVersion === undefined || tableVersion === null) {
13106
+ throw 'Missing the required parameter "tableVersion" when calling postBusinessrulesDecisiontableVersionCopy';
13107
+ }
13108
+ // verify the required parameter 'body' is set
13109
+ if (body === undefined || body === null) {
13110
+ throw 'Missing the required parameter "body" when calling postBusinessrulesDecisiontableVersionCopy';
13111
+ }
13112
+
13113
+ return this.apiClient.callApi(
13114
+ '/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}/copy',
13115
+ 'POST',
13116
+ { 'tableId': tableId,'tableVersion': tableVersion },
13117
+ { },
13118
+ { },
13119
+ { },
13120
+ body,
13121
+ ['PureCloud OAuth'],
13122
+ ['application/json'],
13123
+ ['application/json']
13124
+ );
13125
+ }
13126
+
13127
+ /**
13128
+ * Execute a decision table version
13129
+ *
13130
+ * @param {String} tableId Table ID
13131
+ * @param {Number} tableVersion Table Version
13132
+ * @param {Object} body Decision Table
13133
+ * postBusinessrulesDecisiontableVersionExecute is a preview method and is subject to both breaking and non-breaking changes at any time without notice
13134
+ */
13135
+ postBusinessrulesDecisiontableVersionExecute(tableId, tableVersion, body) {
13136
+ // verify the required parameter 'tableId' is set
13137
+ if (tableId === undefined || tableId === null) {
13138
+ throw 'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableVersionExecute';
13139
+ }
13140
+ // verify the required parameter 'tableVersion' is set
13141
+ if (tableVersion === undefined || tableVersion === null) {
13142
+ throw 'Missing the required parameter "tableVersion" when calling postBusinessrulesDecisiontableVersionExecute';
13143
+ }
13144
+ // verify the required parameter 'body' is set
13145
+ if (body === undefined || body === null) {
13146
+ throw 'Missing the required parameter "body" when calling postBusinessrulesDecisiontableVersionExecute';
13147
+ }
13148
+
13149
+ return this.apiClient.callApi(
13150
+ '/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}/execute',
13151
+ 'POST',
13152
+ { 'tableId': tableId,'tableVersion': tableVersion },
13153
+ { },
13154
+ { },
13155
+ { },
13156
+ body,
13157
+ ['PureCloud OAuth'],
13158
+ ['application/json'],
13159
+ ['application/json']
13160
+ );
13161
+ }
13162
+
13163
+ /**
13164
+ * Create a decision table row
13165
+ *
13166
+ * @param {String} tableId Table ID
13167
+ * @param {Number} tableVersion Table Version
13168
+ * @param {Object} body Create decision table row request
13169
+ * postBusinessrulesDecisiontableVersionRows is a preview method and is subject to both breaking and non-breaking changes at any time without notice
13170
+ */
13171
+ postBusinessrulesDecisiontableVersionRows(tableId, tableVersion, body) {
13172
+ // verify the required parameter 'tableId' is set
13173
+ if (tableId === undefined || tableId === null) {
13174
+ throw 'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableVersionRows';
13175
+ }
13176
+ // verify the required parameter 'tableVersion' is set
13177
+ if (tableVersion === undefined || tableVersion === null) {
13178
+ throw 'Missing the required parameter "tableVersion" when calling postBusinessrulesDecisiontableVersionRows';
13179
+ }
13180
+ // verify the required parameter 'body' is set
13181
+ if (body === undefined || body === null) {
13182
+ throw 'Missing the required parameter "body" when calling postBusinessrulesDecisiontableVersionRows';
13183
+ }
13184
+
13185
+ return this.apiClient.callApi(
13186
+ '/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}/rows',
13187
+ 'POST',
13188
+ { 'tableId': tableId,'tableVersion': tableVersion },
13189
+ { },
13190
+ { },
13191
+ { },
13192
+ body,
13193
+ ['PureCloud OAuth'],
13194
+ ['application/json'],
13195
+ ['application/json']
13196
+ );
13197
+ }
13198
+
13199
+ /**
13200
+ * Search for decision table rows
13201
+ *
13202
+ * @param {String} tableId Table ID
13203
+ * @param {Number} tableVersion Table Version
13204
+ * @param {Object} body Search decision table rows request
13205
+ * @param {Object} opts Optional parameters
13206
+ * @param {String} opts.pageNumber Page number of the entities to return. Defaults to 1.
13207
+ * @param {String} opts.pageSize Number of entities to return. Maximum of 100. Defaults to 25.
13208
+ * postBusinessrulesDecisiontableVersionRowsSearch is a preview method and is subject to both breaking and non-breaking changes at any time without notice
13209
+ */
13210
+ postBusinessrulesDecisiontableVersionRowsSearch(tableId, tableVersion, body, opts) {
13211
+ opts = opts || {};
13212
+
13213
+ // verify the required parameter 'tableId' is set
13214
+ if (tableId === undefined || tableId === null) {
13215
+ throw 'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableVersionRowsSearch';
13216
+ }
13217
+ // verify the required parameter 'tableVersion' is set
13218
+ if (tableVersion === undefined || tableVersion === null) {
13219
+ throw 'Missing the required parameter "tableVersion" when calling postBusinessrulesDecisiontableVersionRowsSearch';
13220
+ }
13221
+ // verify the required parameter 'body' is set
13222
+ if (body === undefined || body === null) {
13223
+ throw 'Missing the required parameter "body" when calling postBusinessrulesDecisiontableVersionRowsSearch';
13224
+ }
13225
+
13226
+ return this.apiClient.callApi(
13227
+ '/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}/rows/search',
13228
+ 'POST',
13229
+ { 'tableId': tableId,'tableVersion': tableVersion },
13230
+ { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'] },
13231
+ { },
13232
+ { },
13233
+ body,
13234
+ ['PureCloud OAuth'],
13235
+ ['application/json'],
13236
+ ['application/json']
13237
+ );
13238
+ }
13239
+
13240
+ /**
13241
+ * Update the Business Rules Schema to the latest version for a given decision table version
13242
+ *
13243
+ * @param {String} tableId Table ID
13244
+ * @param {Number} tableVersion Table Version
13245
+ * postBusinessrulesDecisiontableVersionSync is a preview method and is subject to both breaking and non-breaking changes at any time without notice
13246
+ */
13247
+ postBusinessrulesDecisiontableVersionSync(tableId, tableVersion) {
13248
+ // verify the required parameter 'tableId' is set
13249
+ if (tableId === undefined || tableId === null) {
13250
+ throw 'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableVersionSync';
13251
+ }
13252
+ // verify the required parameter 'tableVersion' is set
13253
+ if (tableVersion === undefined || tableVersion === null) {
13254
+ throw 'Missing the required parameter "tableVersion" when calling postBusinessrulesDecisiontableVersionSync';
13255
+ }
13256
+
13257
+ return this.apiClient.callApi(
13258
+ '/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}/sync',
13259
+ 'POST',
13260
+ { 'tableId': tableId,'tableVersion': tableVersion },
13261
+ { },
13262
+ { },
13263
+ { },
13264
+ null,
13265
+ ['PureCloud OAuth'],
13266
+ ['application/json'],
13267
+ ['application/json']
13268
+ );
13269
+ }
13270
+
13271
+ /**
13272
+ * Create a new decision table version
13273
+ *
13274
+ * @param {String} tableId Table ID
13275
+ * postBusinessrulesDecisiontableVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
13276
+ */
13277
+ postBusinessrulesDecisiontableVersions(tableId) {
13278
+ // verify the required parameter 'tableId' is set
13279
+ if (tableId === undefined || tableId === null) {
13280
+ throw 'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableVersions';
13281
+ }
13282
+
13283
+ return this.apiClient.callApi(
13284
+ '/api/v2/businessrules/decisiontables/{tableId}/versions',
13285
+ 'POST',
13286
+ { 'tableId': tableId },
13287
+ { },
13288
+ { },
13289
+ { },
13290
+ null,
13291
+ ['PureCloud OAuth'],
13292
+ ['application/json'],
13293
+ ['application/json']
13294
+ );
13295
+ }
13296
+
13297
+ /**
13298
+ * Create a decision table
13299
+ *
13300
+ * @param {Object} body Decision Table
13301
+ * postBusinessrulesDecisiontables is a preview method and is subject to both breaking and non-breaking changes at any time without notice
13302
+ */
13303
+ postBusinessrulesDecisiontables(body) {
13304
+ // verify the required parameter 'body' is set
13305
+ if (body === undefined || body === null) {
13306
+ throw 'Missing the required parameter "body" when calling postBusinessrulesDecisiontables';
13307
+ }
13308
+
13309
+ return this.apiClient.callApi(
13310
+ '/api/v2/businessrules/decisiontables',
13311
+ 'POST',
13312
+ { },
13313
+ { },
13314
+ { },
13315
+ { },
13316
+ body,
13317
+ ['PureCloud OAuth'],
13318
+ ['application/json'],
13319
+ ['application/json']
13320
+ );
13321
+ }
13322
+
13323
+ /**
13324
+ * Create a schema
13325
+ *
13326
+ * @param {Object} body Schema
13327
+ * postBusinessrulesSchemas is a preview method and is subject to both breaking and non-breaking changes at any time without notice
13328
+ */
13329
+ postBusinessrulesSchemas(body) {
13330
+ // verify the required parameter 'body' is set
13331
+ if (body === undefined || body === null) {
13332
+ throw 'Missing the required parameter "body" when calling postBusinessrulesSchemas';
13333
+ }
13334
+
13335
+ return this.apiClient.callApi(
13336
+ '/api/v2/businessrules/schemas',
13337
+ 'POST',
13338
+ { },
13339
+ { },
13340
+ { },
13341
+ { },
13342
+ body,
13343
+ ['PureCloud OAuth'],
13344
+ ['application/json'],
13345
+ ['application/json']
13346
+ );
13347
+ }
13348
+
13349
+ /**
13350
+ * Publish a decision table version
13351
+ *
13352
+ * @param {String} tableId Table ID
13353
+ * @param {Number} tableVersion Table Version
13354
+ * putBusinessrulesDecisiontableVersionPublish is a preview method and is subject to both breaking and non-breaking changes at any time without notice
13355
+ */
13356
+ putBusinessrulesDecisiontableVersionPublish(tableId, tableVersion) {
13357
+ // verify the required parameter 'tableId' is set
13358
+ if (tableId === undefined || tableId === null) {
13359
+ throw 'Missing the required parameter "tableId" when calling putBusinessrulesDecisiontableVersionPublish';
13360
+ }
13361
+ // verify the required parameter 'tableVersion' is set
13362
+ if (tableVersion === undefined || tableVersion === null) {
13363
+ throw 'Missing the required parameter "tableVersion" when calling putBusinessrulesDecisiontableVersionPublish';
13364
+ }
13365
+
13366
+ return this.apiClient.callApi(
13367
+ '/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}/publish',
13368
+ 'PUT',
13369
+ { 'tableId': tableId,'tableVersion': tableVersion },
13370
+ { },
13371
+ { },
13372
+ { },
13373
+ null,
13374
+ ['PureCloud OAuth'],
13375
+ ['application/json'],
13376
+ ['application/json']
13377
+ );
13378
+ }
13379
+
13380
+ /**
13381
+ * Update a schema
13382
+ *
13383
+ * @param {String} schemaId Schema ID
13384
+ * @param {Object} body Data Schema
13385
+ * putBusinessrulesSchema is a preview method and is subject to both breaking and non-breaking changes at any time without notice
13386
+ */
13387
+ putBusinessrulesSchema(schemaId, body) {
13388
+ // verify the required parameter 'schemaId' is set
13389
+ if (schemaId === undefined || schemaId === null) {
13390
+ throw 'Missing the required parameter "schemaId" when calling putBusinessrulesSchema';
13391
+ }
13392
+ // verify the required parameter 'body' is set
13393
+ if (body === undefined || body === null) {
13394
+ throw 'Missing the required parameter "body" when calling putBusinessrulesSchema';
13395
+ }
13396
+
13397
+ return this.apiClient.callApi(
13398
+ '/api/v2/businessrules/schemas/{schemaId}',
13399
+ 'PUT',
13400
+ { 'schemaId': schemaId },
13401
+ { },
13402
+ { },
13403
+ { },
13404
+ body,
13405
+ ['PureCloud OAuth'],
13406
+ ['application/json'],
13407
+ ['application/json']
13408
+ );
13409
+ }
13410
+
13411
+ }
13412
+
12324
13413
  class CarrierServicesApi {
12325
13414
  /**
12326
13415
  * CarrierServices service.
12327
13416
  * @module purecloud-platform-client-v2/api/CarrierServicesApi
12328
- * @version 219.0.0
13417
+ * @version 221.0.0
12329
13418
  */
12330
13419
 
12331
13420
  /**
@@ -12395,7 +13484,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
12395
13484
  /**
12396
13485
  * Chat service.
12397
13486
  * @module purecloud-platform-client-v2/api/ChatApi
12398
- * @version 219.0.0
13487
+ * @version 221.0.0
12399
13488
  */
12400
13489
 
12401
13490
  /**
@@ -12705,8 +13794,12 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
12705
13794
  * Get room participants in a room
12706
13795
  *
12707
13796
  * @param {String} roomJid roomJid
13797
+ * @param {Object} opts Optional parameters
13798
+ * @param {Boolean} opts.notify Whether to get users to notify
12708
13799
  */
12709
- getChatsRoomParticipants(roomJid) {
13800
+ getChatsRoomParticipants(roomJid, opts) {
13801
+ opts = opts || {};
13802
+
12710
13803
  // verify the required parameter 'roomJid' is set
12711
13804
  if (roomJid === undefined || roomJid === null) {
12712
13805
  throw 'Missing the required parameter "roomJid" when calling getChatsRoomParticipants';
@@ -12716,7 +13809,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
12716
13809
  '/api/v2/chats/rooms/{roomJid}/participants',
12717
13810
  'GET',
12718
13811
  { 'roomJid': roomJid },
12719
- { },
13812
+ { 'notify': opts['notify'] },
12720
13813
  { },
12721
13814
  { },
12722
13815
  null,
@@ -13324,7 +14417,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
13324
14417
  /**
13325
14418
  * Coaching service.
13326
14419
  * @module purecloud-platform-client-v2/api/CoachingApi
13327
- * @version 219.0.0
14420
+ * @version 221.0.0
13328
14421
  */
13329
14422
 
13330
14423
  /**
@@ -13901,7 +14994,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
13901
14994
  /**
13902
14995
  * ContentManagement service.
13903
14996
  * @module purecloud-platform-client-v2/api/ContentManagementApi
13904
- * @version 219.0.0
14997
+ * @version 221.0.0
13905
14998
  */
13906
14999
 
13907
15000
  /**
@@ -14982,7 +16075,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
14982
16075
  /**
14983
16076
  * Conversations service.
14984
16077
  * @module purecloud-platform-client-v2/api/ConversationsApi
14985
- * @version 219.0.0
16078
+ * @version 221.0.0
14986
16079
  */
14987
16080
 
14988
16081
  /**
@@ -17188,7 +18281,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
17188
18281
  * Get Facebook messaging integration identity resolution settings
17189
18282
  *
17190
18283
  * @param {String} integrationId Integration ID
17191
- * getConversationsMessagingIdentityresolutionIntegrationsFacebookIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
17192
18284
  */
17193
18285
  getConversationsMessagingIdentityresolutionIntegrationsFacebookIntegrationId(integrationId) {
17194
18286
  // verify the required parameter 'integrationId' is set
@@ -17214,7 +18306,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
17214
18306
  * Get an open messaging integration Identity Resolution settings
17215
18307
  *
17216
18308
  * @param {String} integrationId Integration ID
17217
- * getConversationsMessagingIdentityresolutionIntegrationsOpenIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
17218
18309
  */
17219
18310
  getConversationsMessagingIdentityresolutionIntegrationsOpenIntegrationId(integrationId) {
17220
18311
  // verify the required parameter 'integrationId' is set
@@ -17240,7 +18331,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
17240
18331
  * Get a whatsApp integration Identity Resolution settings
17241
18332
  *
17242
18333
  * @param {String} integrationId Integration ID
17243
- * getConversationsMessagingIdentityresolutionIntegrationsWhatsappIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
17244
18334
  */
17245
18335
  getConversationsMessagingIdentityresolutionIntegrationsWhatsappIntegrationId(integrationId) {
17246
18336
  // verify the required parameter 'integrationId' is set
@@ -18070,6 +19160,40 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
18070
19160
  );
18071
19161
  }
18072
19162
 
19163
+ /**
19164
+ * Update agent's engagement for the summary.
19165
+ *
19166
+ * @param {String} conversationId Conversation ID
19167
+ * @param {String} summaryId Summary ID
19168
+ * @param {Object} opts Optional parameters
19169
+ * @param {Object} opts.body
19170
+ */
19171
+ patchConversationSummaryEngagements(conversationId, summaryId, opts) {
19172
+ opts = opts || {};
19173
+
19174
+ // verify the required parameter 'conversationId' is set
19175
+ if (conversationId === undefined || conversationId === null) {
19176
+ throw 'Missing the required parameter "conversationId" when calling patchConversationSummaryEngagements';
19177
+ }
19178
+ // verify the required parameter 'summaryId' is set
19179
+ if (summaryId === undefined || summaryId === null) {
19180
+ throw 'Missing the required parameter "summaryId" when calling patchConversationSummaryEngagements';
19181
+ }
19182
+
19183
+ return this.apiClient.callApi(
19184
+ '/api/v2/conversations/{conversationId}/summaries/{summaryId}/engagements',
19185
+ 'PATCH',
19186
+ { 'conversationId': conversationId,'summaryId': summaryId },
19187
+ { },
19188
+ { },
19189
+ { },
19190
+ opts['body'],
19191
+ ['PureCloud OAuth'],
19192
+ ['application/json'],
19193
+ ['application/json']
19194
+ );
19195
+ }
19196
+
18073
19197
  /**
18074
19198
  * Update the feedback for the summary.
18075
19199
  *
@@ -18077,7 +19201,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
18077
19201
  * @param {String} summaryId Summary ID
18078
19202
  * @param {Object} opts Optional parameters
18079
19203
  * @param {Object} opts.body
18080
- * patchConversationSummaryFeedback is a preview method and is subject to both breaking and non-breaking changes at any time without notice
18081
19204
  */
18082
19205
  patchConversationSummaryFeedback(conversationId, summaryId, opts) {
18083
19206
  opts = opts || {};
@@ -21158,6 +22281,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
21158
22281
  * See https://developer.genesys.cloud/api/rest/v2/conversations/messaging-media-upload for example usage.
21159
22282
  * @param {String} conversationId conversationId
21160
22283
  * @param {String} communicationId communicationId
22284
+ * @deprecated
21161
22285
  */
21162
22286
  postConversationsMessageCommunicationMessagesMedia(conversationId, communicationId) {
21163
22287
  // verify the required parameter 'conversationId' is set
@@ -21183,6 +22307,41 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
21183
22307
  );
21184
22308
  }
21185
22309
 
22310
+ /**
22311
+ * Create a URL to upload a message media file
22312
+ * See https://developer.genesys.cloud/api/rest/v2/conversations/messaging-media-upload for example usage.
22313
+ * @param {String} conversationId conversationId
22314
+ * @param {String} communicationId communicationId
22315
+ * @param {Object} body request
22316
+ */
22317
+ postConversationsMessageCommunicationMessagesMediaUploads(conversationId, communicationId, body) {
22318
+ // verify the required parameter 'conversationId' is set
22319
+ if (conversationId === undefined || conversationId === null) {
22320
+ throw 'Missing the required parameter "conversationId" when calling postConversationsMessageCommunicationMessagesMediaUploads';
22321
+ }
22322
+ // verify the required parameter 'communicationId' is set
22323
+ if (communicationId === undefined || communicationId === null) {
22324
+ throw 'Missing the required parameter "communicationId" when calling postConversationsMessageCommunicationMessagesMediaUploads';
22325
+ }
22326
+ // verify the required parameter 'body' is set
22327
+ if (body === undefined || body === null) {
22328
+ throw 'Missing the required parameter "body" when calling postConversationsMessageCommunicationMessagesMediaUploads';
22329
+ }
22330
+
22331
+ return this.apiClient.callApi(
22332
+ '/api/v2/conversations/messages/{conversationId}/communications/{communicationId}/messages/media/uploads',
22333
+ 'POST',
22334
+ { 'conversationId': conversationId,'communicationId': communicationId },
22335
+ { },
22336
+ { },
22337
+ { },
22338
+ body,
22339
+ ['PureCloud OAuth'],
22340
+ ['application/json'],
22341
+ ['application/json']
22342
+ );
22343
+ }
22344
+
21186
22345
  /**
21187
22346
  * Send message typing event
21188
22347
  * Send message typing event for existing conversation/communication.
@@ -22304,7 +23463,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
22304
23463
  *
22305
23464
  * @param {String} integrationId Integration ID
22306
23465
  * @param {Object} body IdentityResolutionConfig
22307
- * putConversationsMessagingIdentityresolutionIntegrationsFacebookIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
22308
23466
  */
22309
23467
  putConversationsMessagingIdentityresolutionIntegrationsFacebookIntegrationId(integrationId, body) {
22310
23468
  // verify the required parameter 'integrationId' is set
@@ -22335,7 +23493,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
22335
23493
  *
22336
23494
  * @param {String} integrationId Integration ID
22337
23495
  * @param {Object} body
22338
- * putConversationsMessagingIdentityresolutionIntegrationsOpenIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
22339
23496
  */
22340
23497
  putConversationsMessagingIdentityresolutionIntegrationsOpenIntegrationId(integrationId, body) {
22341
23498
  // verify the required parameter 'integrationId' is set
@@ -22366,7 +23523,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
22366
23523
  *
22367
23524
  * @param {String} integrationId Integration ID
22368
23525
  * @param {Object} body
22369
- * putConversationsMessagingIdentityresolutionIntegrationsWhatsappIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
22370
23526
  */
22371
23527
  putConversationsMessagingIdentityresolutionIntegrationsWhatsappIntegrationId(integrationId, body) {
22372
23528
  // verify the required parameter 'integrationId' is set
@@ -22564,7 +23720,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
22564
23720
  /**
22565
23721
  * DataExtensions service.
22566
23722
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
22567
- * @version 219.0.0
23723
+ * @version 221.0.0
22568
23724
  */
22569
23725
 
22570
23726
  /**
@@ -22650,7 +23806,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
22650
23806
  /**
22651
23807
  * DataPrivacy service.
22652
23808
  * @module purecloud-platform-client-v2/api/DataPrivacyApi
22653
- * @version 219.0.0
23809
+ * @version 221.0.0
22654
23810
  */
22655
23811
 
22656
23812
  /**
@@ -22820,7 +23976,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
22820
23976
  /**
22821
23977
  * Downloads service.
22822
23978
  * @module purecloud-platform-client-v2/api/DownloadsApi
22823
- * @version 219.0.0
23979
+ * @version 221.0.0
22824
23980
  */
22825
23981
 
22826
23982
  /**
@@ -22872,7 +24028,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
22872
24028
  /**
22873
24029
  * Emails service.
22874
24030
  * @module purecloud-platform-client-v2/api/EmailsApi
22875
- * @version 219.0.0
24031
+ * @version 221.0.0
22876
24032
  */
22877
24033
 
22878
24034
  /**
@@ -23001,7 +24157,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
23001
24157
  /**
23002
24158
  * EmployeeEngagement service.
23003
24159
  * @module purecloud-platform-client-v2/api/EmployeeEngagementApi
23004
- * @version 219.0.0
24160
+ * @version 221.0.0
23005
24161
  */
23006
24162
 
23007
24163
  /**
@@ -23152,7 +24308,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
23152
24308
  /**
23153
24309
  * Events service.
23154
24310
  * @module purecloud-platform-client-v2/api/EventsApi
23155
- * @version 219.0.0
24311
+ * @version 221.0.0
23156
24312
  */
23157
24313
 
23158
24314
  /**
@@ -23248,7 +24404,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
23248
24404
  /**
23249
24405
  * ExternalContacts service.
23250
24406
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
23251
- * @version 219.0.0
24407
+ * @version 221.0.0
23252
24408
  */
23253
24409
 
23254
24410
  /**
@@ -24277,7 +25433,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24277
25433
  * List the identifiers for an external organization
24278
25434
  *
24279
25435
  * @param {String} externalOrganizationId External Organization ID
24280
- * getExternalcontactsOrganizationIdentifiers is a preview method and is subject to both breaking and non-breaking changes at any time without notice
24281
25436
  */
24282
25437
  getExternalcontactsOrganizationIdentifiers(externalOrganizationId) {
24283
25438
  // verify the required parameter 'externalOrganizationId' is set
@@ -24623,12 +25778,12 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24623
25778
  }
24624
25779
 
24625
25780
  /**
24626
- * Look up contacts and externalOrganizations based on an attribute. Maximum of 25 values returned.
25781
+ * Look up contacts based on an attribute. Maximum of 25 values returned.
24627
25782
  *
24628
- * @param {String} lookupVal User supplied value to lookup contacts/externalOrganizations (supports email addresses, e164 phone numbers, Twitter screen names)
25783
+ * @param {String} lookupVal User supplied value to lookup contacts (supports email addresses, e164 phone numbers, Twitter screen names)
24629
25784
  * @param {Object} opts Optional parameters
24630
25785
  * @param {Array.<String>} opts.expand which field, if any, to expand
24631
- * @param {String} opts.divisionId Specifies which division to lookup contacts/externalOrganizations in, for the given lookup value (default to *)
25786
+ * @param {String} opts.divisionId Specifies which division to lookup contacts in, for the given lookup value (default to *)
24632
25787
  */
24633
25788
  getExternalcontactsReversewhitepageslookup(lookupVal, opts) {
24634
25789
  opts = opts || {};
@@ -24684,7 +25839,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24684
25839
  * @param {Object} opts Optional parameters
24685
25840
  * @param {Number} opts.limit The number of contacts per page; must be between 10 and 200, default is 100
24686
25841
  * @param {String} opts.cursor Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL
24687
- * getExternalcontactsScanContactsDivisionviewsAll is a preview method and is subject to both breaking and non-breaking changes at any time without notice
24688
25842
  */
24689
25843
  getExternalcontactsScanContactsDivisionviewsAll(opts) {
24690
25844
  opts = opts || {};
@@ -24736,7 +25890,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24736
25890
  * @param {Object} opts Optional parameters
24737
25891
  * @param {Number} opts.limit The number of notes per page; must be between 10 and 200, default is 100
24738
25892
  * @param {String} opts.cursor Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL
24739
- * getExternalcontactsScanNotesDivisionviewsAll is a preview method and is subject to both breaking and non-breaking changes at any time without notice
24740
25893
  */
24741
25894
  getExternalcontactsScanNotesDivisionviewsAll(opts) {
24742
25895
  opts = opts || {};
@@ -24788,7 +25941,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24788
25941
  * @param {Object} opts Optional parameters
24789
25942
  * @param {Number} opts.limit The number of organizations per page; must be between 10 and 200, default is 100
24790
25943
  * @param {String} opts.cursor Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL
24791
- * getExternalcontactsScanOrganizationsDivisionviewsAll is a preview method and is subject to both breaking and non-breaking changes at any time without notice
24792
25944
  */
24793
25945
  getExternalcontactsScanOrganizationsDivisionviewsAll(opts) {
24794
25946
  opts = opts || {};
@@ -24840,7 +25992,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24840
25992
  * @param {Object} opts Optional parameters
24841
25993
  * @param {Number} opts.limit The number of relationships per page; must be between 10 and 200, default is 100
24842
25994
  * @param {String} opts.cursor Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL
24843
- * getExternalcontactsScanRelationshipsDivisionviewsAll is a preview method and is subject to both breaking and non-breaking changes at any time without notice
24844
25995
  */
24845
25996
  getExternalcontactsScanRelationshipsDivisionviewsAll(opts) {
24846
25997
  opts = opts || {};
@@ -24895,7 +26046,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24895
26046
  *
24896
26047
  * @param {String} externalOrganizationId External Organization ID
24897
26048
  * @param {Object} body ClaimRequest
24898
- * patchExternalcontactsOrganizationIdentifiers is a preview method and is subject to both breaking and non-breaking changes at any time without notice
24899
26049
  */
24900
26050
  patchExternalcontactsOrganizationIdentifiers(externalOrganizationId, body) {
24901
26051
  // verify the required parameter 'externalOrganizationId' is set
@@ -24975,7 +26125,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24975
26125
  * Bulk fetch contacts across divisions
24976
26126
  *
24977
26127
  * @param {Object} body Contact ids
24978
- * postExternalcontactsBulkContactsDivisionviews is a preview method and is subject to both breaking and non-breaking changes at any time without notice
24979
26128
  */
24980
26129
  postExternalcontactsBulkContactsDivisionviews(body) {
24981
26130
  // verify the required parameter 'body' is set
@@ -25003,7 +26152,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25003
26152
  * @param {Object} body Contact Enrich Requests
25004
26153
  * @param {Object} opts Optional parameters
25005
26154
  * @param {Boolean} opts.dryRun If true, the request will not make any modifications, but will show you what the end result *would* be.
25006
- * postExternalcontactsBulkContactsEnrich is a preview method and is subject to both breaking and non-breaking changes at any time without notice
25007
26155
  */
25008
26156
  postExternalcontactsBulkContactsEnrich(body, opts) {
25009
26157
  opts = opts || {};
@@ -25256,7 +26404,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25256
26404
  * Bulk fetch organizations across divisions
25257
26405
  *
25258
26406
  * @param {Object} body Organizations ids
25259
- * postExternalcontactsBulkOrganizationsDivisionviews is a preview method and is subject to both breaking and non-breaking changes at any time without notice
25260
26407
  */
25261
26408
  postExternalcontactsBulkOrganizationsDivisionviews(body) {
25262
26409
  // verify the required parameter 'body' is set
@@ -25284,7 +26431,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25284
26431
  * @param {Object} body External Organization Enrich Requests
25285
26432
  * @param {Object} opts Optional parameters
25286
26433
  * @param {Boolean} opts.dryRun If true, the request will not make any modifications, but will show you what the end result *would* be.
25287
- * postExternalcontactsBulkOrganizationsEnrich is a preview method and is subject to both breaking and non-breaking changes at any time without notice
25288
26434
  */
25289
26435
  postExternalcontactsBulkOrganizationsEnrich(body, opts) {
25290
26436
  opts = opts || {};
@@ -25544,7 +26690,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25544
26690
  * @param {Object} body ContactEnrichRequest
25545
26691
  * @param {Object} opts Optional parameters
25546
26692
  * @param {Boolean} opts.dryRun If true, the request will not make any modifications, but will show you what the end result *would* be.
25547
- * postExternalcontactsContactsEnrich is a preview method and is subject to both breaking and non-breaking changes at any time without notice
25548
26693
  */
25549
26694
  postExternalcontactsContactsEnrich(body, opts) {
25550
26695
  opts = opts || {};
@@ -25597,7 +26742,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25597
26742
  * Merge up to 25 contacts into a new contact record
25598
26743
  * Merge operation may fail if the resulting mergeset exceeds our default limit of 52. The valueOverride field lets you override any of the Contact fields post-merge. If any Contact field is left null in `valueOverride`, it will be taken from the most recently-modified contact in the merge set. Exception for *phone/*email fields: Conflicting data will be moved to any other available phone/email fields in the merged contact.
25599
26744
  * @param {Object} body MergeRequest
25600
- * postExternalcontactsContactsMerge is a preview method and is subject to both breaking and non-breaking changes at any time without notice
25601
26745
  */
25602
26746
  postExternalcontactsContactsMerge(body) {
25603
26747
  // verify the required parameter 'body' is set
@@ -25705,7 +26849,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25705
26849
  * @param {Object} identifier
25706
26850
  * @param {Object} opts Optional parameters
25707
26851
  * @param {Array.<String>} opts.expand which field, if any, to expand
25708
- * postExternalcontactsIdentifierlookupContacts is a preview method and is subject to both breaking and non-breaking changes at any time without notice
25709
26852
  */
25710
26853
  postExternalcontactsIdentifierlookupContacts(identifier, opts) {
25711
26854
  opts = opts || {};
@@ -25735,7 +26878,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25735
26878
  * @param {Object} identifier
25736
26879
  * @param {Object} opts Optional parameters
25737
26880
  * @param {Array.<String>} opts.expand which field, if any, to expand
25738
- * postExternalcontactsIdentifierlookupOrganizations is a preview method and is subject to both breaking and non-breaking changes at any time without notice
25739
26881
  */
25740
26882
  postExternalcontactsIdentifierlookupOrganizations(identifier, opts) {
25741
26883
  opts = opts || {};
@@ -25971,7 +27113,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25971
27113
  * @param {Object} body ExternalOrgEnrichRequest
25972
27114
  * @param {Object} opts Optional parameters
25973
27115
  * @param {Boolean} opts.dryRun If true, the request will not make any modifications, but will show you what the end result *would* be.
25974
- * postExternalcontactsOrganizationsEnrich is a preview method and is subject to both breaking and non-breaking changes at any time without notice
25975
27116
  */
25976
27117
  postExternalcontactsOrganizationsEnrich(body, opts) {
25977
27118
  opts = opts || {};
@@ -26451,7 +27592,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
26451
27592
  /**
26452
27593
  * Fax service.
26453
27594
  * @module purecloud-platform-client-v2/api/FaxApi
26454
- * @version 219.0.0
27595
+ * @version 221.0.0
26455
27596
  */
26456
27597
 
26457
27598
  /**
@@ -26666,7 +27807,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
26666
27807
  /**
26667
27808
  * Flows service.
26668
27809
  * @module purecloud-platform-client-v2/api/FlowsApi
26669
- * @version 219.0.0
27810
+ * @version 221.0.0
26670
27811
  */
26671
27812
 
26672
27813
  /**
@@ -26849,7 +27990,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
26849
27990
  /**
26850
27991
  * Gamification service.
26851
27992
  * @module purecloud-platform-client-v2/api/GamificationApi
26852
- * @version 219.0.0
27993
+ * @version 221.0.0
26853
27994
  */
26854
27995
 
26855
27996
  /**
@@ -29356,7 +30497,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
29356
30497
  /**
29357
30498
  * GeneralDataProtectionRegulation service.
29358
30499
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
29359
- * @version 219.0.0
30500
+ * @version 221.0.0
29360
30501
  */
29361
30502
 
29362
30503
  /**
@@ -29486,7 +30627,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
29486
30627
  /**
29487
30628
  * Geolocation service.
29488
30629
  * @module purecloud-platform-client-v2/api/GeolocationApi
29489
- * @version 219.0.0
30630
+ * @version 221.0.0
29490
30631
  */
29491
30632
 
29492
30633
  /**
@@ -29617,7 +30758,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
29617
30758
  /**
29618
30759
  * Greetings service.
29619
30760
  * @module purecloud-platform-client-v2/api/GreetingsApi
29620
- * @version 219.0.0
30761
+ * @version 221.0.0
29621
30762
  */
29622
30763
 
29623
30764
  /**
@@ -30072,7 +31213,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
30072
31213
  /**
30073
31214
  * Groups service.
30074
31215
  * @module purecloud-platform-client-v2/api/GroupsApi
30075
- * @version 219.0.0
31216
+ * @version 221.0.0
30076
31217
  */
30077
31218
 
30078
31219
  /**
@@ -30591,7 +31732,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
30591
31732
  /**
30592
31733
  * IdentityProvider service.
30593
31734
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
30594
- * @version 219.0.0
31735
+ * @version 221.0.0
30595
31736
  */
30596
31737
 
30597
31738
  /**
@@ -31452,7 +32593,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
31452
32593
  /**
31453
32594
  * InfrastructureAsCode service.
31454
32595
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
31455
- * @version 219.0.0
32596
+ * @version 221.0.0
31456
32597
  */
31457
32598
 
31458
32599
  /**
@@ -31619,7 +32760,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
31619
32760
  /**
31620
32761
  * Integrations service.
31621
32762
  * @module purecloud-platform-client-v2/api/IntegrationsApi
31622
- * @version 219.0.0
32763
+ * @version 221.0.0
31623
32764
  */
31624
32765
 
31625
32766
  /**
@@ -34088,7 +35229,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
34088
35229
  /**
34089
35230
  * Journey service.
34090
35231
  * @module purecloud-platform-client-v2/api/JourneyApi
34091
- * @version 219.0.0
35232
+ * @version 221.0.0
34092
35233
  */
34093
35234
 
34094
35235
  /**
@@ -36073,7 +37214,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
36073
37214
  /**
36074
37215
  * Knowledge service.
36075
37216
  * @module purecloud-platform-client-v2/api/KnowledgeApi
36076
- * @version 219.0.0
37217
+ * @version 221.0.0
36077
37218
  */
36078
37219
 
36079
37220
  /**
@@ -39946,7 +41087,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
39946
41087
  /**
39947
41088
  * LanguageUnderstanding service.
39948
41089
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
39949
- * @version 219.0.0
41090
+ * @version 221.0.0
39950
41091
  */
39951
41092
 
39952
41093
  /**
@@ -40979,7 +42120,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
40979
42120
  /**
40980
42121
  * Languages service.
40981
42122
  * @module purecloud-platform-client-v2/api/LanguagesApi
40982
- * @version 219.0.0
42123
+ * @version 221.0.0
40983
42124
  */
40984
42125
 
40985
42126
  /**
@@ -41201,7 +42342,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
41201
42342
  /**
41202
42343
  * Learning service.
41203
42344
  * @module purecloud-platform-client-v2/api/LearningApi
41204
- * @version 219.0.0
42345
+ * @version 221.0.0
41205
42346
  */
41206
42347
 
41207
42348
  /**
@@ -42230,7 +43371,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
42230
43371
  /**
42231
43372
  * License service.
42232
43373
  * @module purecloud-platform-client-v2/api/LicenseApi
42233
- * @version 219.0.0
43374
+ * @version 221.0.0
42234
43375
  */
42235
43376
 
42236
43377
  /**
@@ -42468,7 +43609,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
42468
43609
  /**
42469
43610
  * Locations service.
42470
43611
  * @module purecloud-platform-client-v2/api/LocationsApi
42471
- * @version 219.0.0
43612
+ * @version 221.0.0
42472
43613
  */
42473
43614
 
42474
43615
  /**
@@ -42704,7 +43845,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
42704
43845
  /**
42705
43846
  * LogCapture service.
42706
43847
  * @module purecloud-platform-client-v2/api/LogCaptureApi
42707
- * @version 219.0.0
43848
+ * @version 221.0.0
42708
43849
  */
42709
43850
 
42710
43851
  /**
@@ -42904,7 +44045,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
42904
44045
  /**
42905
44046
  * Messaging service.
42906
44047
  * @module purecloud-platform-client-v2/api/MessagingApi
42907
- * @version 219.0.0
44048
+ * @version 221.0.0
42908
44049
  */
42909
44050
 
42910
44051
  /**
@@ -43263,7 +44404,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
43263
44404
  /**
43264
44405
  * MobileDevices service.
43265
44406
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
43266
- * @version 219.0.0
44407
+ * @version 221.0.0
43267
44408
  */
43268
44409
 
43269
44410
  /**
@@ -43414,7 +44555,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
43414
44555
  /**
43415
44556
  * Notifications service.
43416
44557
  * @module purecloud-platform-client-v2/api/NotificationsApi
43417
- * @version 219.0.0
44558
+ * @version 221.0.0
43418
44559
  */
43419
44560
 
43420
44561
  /**
@@ -43647,7 +44788,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
43647
44788
  /**
43648
44789
  * OAuth service.
43649
44790
  * @module purecloud-platform-client-v2/api/OAuthApi
43650
- * @version 219.0.0
44791
+ * @version 221.0.0
43651
44792
  */
43652
44793
 
43653
44794
  /**
@@ -44013,7 +45154,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
44013
45154
  /**
44014
45155
  * Objects service.
44015
45156
  * @module purecloud-platform-client-v2/api/ObjectsApi
44016
- * @version 219.0.0
45157
+ * @version 221.0.0
44017
45158
  */
44018
45159
 
44019
45160
  /**
@@ -44337,7 +45478,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
44337
45478
  /**
44338
45479
  * OperationalEvents service.
44339
45480
  * @module purecloud-platform-client-v2/api/OperationalEventsApi
44340
- * @version 219.0.0
45481
+ * @version 221.0.0
44341
45482
  */
44342
45483
 
44343
45484
  /**
@@ -44454,7 +45595,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
44454
45595
  /**
44455
45596
  * Organization service.
44456
45597
  * @module purecloud-platform-client-v2/api/OrganizationApi
44457
- * @version 219.0.0
45598
+ * @version 221.0.0
44458
45599
  */
44459
45600
 
44460
45601
  /**
@@ -44929,7 +46070,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
44929
46070
  /**
44930
46071
  * OrganizationAuthorization service.
44931
46072
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
44932
- * @version 219.0.0
46073
+ * @version 221.0.0
44933
46074
  */
44934
46075
 
44935
46076
  /**
@@ -46323,7 +47464,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
46323
47464
  /**
46324
47465
  * Outbound service.
46325
47466
  * @module purecloud-platform-client-v2/api/OutboundApi
46326
- * @version 219.0.0
47467
+ * @version 221.0.0
46327
47468
  */
46328
47469
 
46329
47470
  /**
@@ -50945,7 +52086,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
50945
52086
  /**
50946
52087
  * Presence service.
50947
52088
  * @module purecloud-platform-client-v2/api/PresenceApi
50948
- * @version 219.0.0
52089
+ * @version 221.0.0
50949
52090
  */
50950
52091
 
50951
52092
  /**
@@ -51689,7 +52830,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
51689
52830
  /**
51690
52831
  * ProcessAutomation service.
51691
52832
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
51692
- * @version 219.0.0
52833
+ * @version 221.0.0
51693
52834
  */
51694
52835
 
51695
52836
  /**
@@ -51928,7 +53069,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
51928
53069
  /**
51929
53070
  * Quality service.
51930
53071
  * @module purecloud-platform-client-v2/api/QualityApi
51931
- * @version 219.0.0
53072
+ * @version 221.0.0
51932
53073
  */
51933
53074
 
51934
53075
  /**
@@ -53715,7 +54856,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
53715
54856
  /**
53716
54857
  * Recording service.
53717
54858
  * @module purecloud-platform-client-v2/api/RecordingApi
53718
- * @version 219.0.0
54859
+ * @version 221.0.0
53719
54860
  */
53720
54861
 
53721
54862
  /**
@@ -54317,7 +55458,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
54317
55458
  * @param {Object} opts Optional parameters
54318
55459
  * @param {Number} opts.pageSize Page size. Maximum is 100. (default to 25)
54319
55460
  * @param {Number} opts.pageNumber Page number (default to 1)
54320
- * @param {Boolean} opts.includeTotal If false, cursor will be used to locate the page instead of pageNumber.
55461
+ * @param {Boolean} opts.includeTotal If false, cursor will be used to locate the page instead of pageNumber. It is recommended to set it to false for improved performance.
54321
55462
  * @param {String} opts.cursor Indicates where to resume query results (not required for first page)
54322
55463
  */
54323
55464
  getRecordingJobFailedrecordings(jobId, opts) {
@@ -54352,7 +55493,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
54352
55493
  * @param {Object} opts.state Filter by state
54353
55494
  * @param {Boolean} opts.showOnlyMyJobs Show only my jobs
54354
55495
  * @param {Object} opts.jobType Job Type (Can be left empty for both)
54355
- * @param {Boolean} opts.includeTotal If false, cursor will be used to locate the page instead of pageNumber.
55496
+ * @param {Boolean} opts.includeTotal If false, cursor will be used to locate the page instead of pageNumber. It is recommended to set it to false for improved performance.
54356
55497
  * @param {String} opts.cursor Indicates where to resume query results (not required for first page)
54357
55498
  */
54358
55499
  getRecordingJobs(opts) {
@@ -55320,7 +56461,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
55320
56461
  /**
55321
56462
  * ResponseManagement service.
55322
56463
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
55323
- * @version 219.0.0
56464
+ * @version 221.0.0
55324
56465
  */
55325
56466
 
55326
56467
  /**
@@ -55830,7 +56971,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
55830
56971
  /**
55831
56972
  * Routing service.
55832
56973
  * @module purecloud-platform-client-v2/api/RoutingApi
55833
- * @version 219.0.0
56974
+ * @version 221.0.0
55834
56975
  */
55835
56976
 
55836
56977
  /**
@@ -56646,8 +57787,12 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
56646
57787
  *
56647
57788
  * @param {String} domainName email domain
56648
57789
  * @param {String} routeId route ID
57790
+ * @param {Object} opts Optional parameters
57791
+ * @param {Array.<String>} opts.expand Which fields, if any, to expand
56649
57792
  */
56650
- getRoutingEmailDomainRoute(domainName, routeId) {
57793
+ getRoutingEmailDomainRoute(domainName, routeId, opts) {
57794
+ opts = opts || {};
57795
+
56651
57796
  // verify the required parameter 'domainName' is set
56652
57797
  if (domainName === undefined || domainName === null) {
56653
57798
  throw 'Missing the required parameter "domainName" when calling getRoutingEmailDomainRoute';
@@ -56661,7 +57806,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
56661
57806
  '/api/v2/routing/email/domains/{domainName}/routes/{routeId}',
56662
57807
  'GET',
56663
57808
  { 'domainName': domainName,'routeId': routeId },
56664
- { },
57809
+ { 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
56665
57810
  { },
56666
57811
  { },
56667
57812
  null,
@@ -56676,7 +57821,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
56676
57821
  *
56677
57822
  * @param {String} domainName email domain
56678
57823
  * @param {String} routeId route ID
56679
- * getRoutingEmailDomainRouteIdentityresolution is a preview method and is subject to both breaking and non-breaking changes at any time without notice
56680
57824
  */
56681
57825
  getRoutingEmailDomainRouteIdentityresolution(domainName, routeId) {
56682
57826
  // verify the required parameter 'domainName' is set
@@ -56710,6 +57854,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
56710
57854
  * @param {Number} opts.pageSize Page size (default to 25)
56711
57855
  * @param {Number} opts.pageNumber Page number (default to 1)
56712
57856
  * @param {String} opts.pattern Filter routes by the route's pattern property
57857
+ * @param {Array.<String>} opts.expand Which fields, if any, to expand
56713
57858
  */
56714
57859
  getRoutingEmailDomainRoutes(domainName, opts) {
56715
57860
  opts = opts || {};
@@ -56723,7 +57868,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
56723
57868
  '/api/v2/routing/email/domains/{domainName}/routes',
56724
57869
  'GET',
56725
57870
  { 'domainName': domainName },
56726
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'pattern': opts['pattern'] },
57871
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'pattern': opts['pattern'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
56727
57872
  { },
56728
57873
  { },
56729
57874
  null,
@@ -57123,8 +58268,12 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
57123
58268
  * Get details about this queue.
57124
58269
  *
57125
58270
  * @param {String} queueId Queue ID
58271
+ * @param {Object} opts Optional parameters
58272
+ * @param {Array.<String>} opts.expand Which fields, if any, to expand
57126
58273
  */
57127
- getRoutingQueue(queueId) {
58274
+ getRoutingQueue(queueId, opts) {
58275
+ opts = opts || {};
58276
+
57128
58277
  // verify the required parameter 'queueId' is set
57129
58278
  if (queueId === undefined || queueId === null) {
57130
58279
  throw 'Missing the required parameter "queueId" when calling getRoutingQueue';
@@ -57134,7 +58283,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
57134
58283
  '/api/v2/routing/queues/{queueId}',
57135
58284
  'GET',
57136
58285
  { 'queueId': queueId },
57137
- { },
58286
+ { 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
57138
58287
  { },
57139
58288
  { },
57140
58289
  null,
@@ -57261,7 +58410,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
57261
58410
  * Get Queue IdentityResolution Settings.
57262
58411
  *
57263
58412
  * @param {String} queueId Queue ID
57264
- * getRoutingQueueIdentityresolution is a preview method and is subject to both breaking and non-breaking changes at any time without notice
57265
58413
  */
57266
58414
  getRoutingQueueIdentityresolution(queueId) {
57267
58415
  // verify the required parameter 'queueId' is set
@@ -57440,6 +58588,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
57440
58588
  * @param {Array.<String>} opts.peerId Include only queues with the specified peer ID(s)
57441
58589
  * @param {String} opts.cannedResponseLibraryId Include only queues explicitly associated with the specified canned response library ID
57442
58590
  * @param {Boolean} opts.hasPeer Include only queues with a peer ID
58591
+ * @param {Array.<String>} opts.expand Which fields, if any, to expand
57443
58592
  */
57444
58593
  getRoutingQueues(opts) {
57445
58594
  opts = opts || {};
@@ -57449,7 +58598,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
57449
58598
  '/api/v2/routing/queues',
57450
58599
  'GET',
57451
58600
  { },
57452
- { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'sortOrder': opts['sortOrder'],'name': opts['name'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi'),'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi'),'peerId': this.apiClient.buildCollectionParam(opts['peerId'], 'multi'),'cannedResponseLibraryId': opts['cannedResponseLibraryId'],'hasPeer': opts['hasPeer'] },
58601
+ { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'sortOrder': opts['sortOrder'],'name': opts['name'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi'),'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi'),'peerId': this.apiClient.buildCollectionParam(opts['peerId'], 'multi'),'cannedResponseLibraryId': opts['cannedResponseLibraryId'],'hasPeer': opts['hasPeer'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
57453
58602
  { },
57454
58603
  { },
57455
58604
  null,
@@ -57859,7 +59008,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
57859
59008
  * Get a SMS identity resolution settings.
57860
59009
  *
57861
59010
  * @param {String} addressId Address ID
57862
- * getRoutingSmsIdentityresolutionPhonenumber is a preview method and is subject to both breaking and non-breaking changes at any time without notice
57863
59011
  */
57864
59012
  getRoutingSmsIdentityresolutionPhonenumber(addressId) {
57865
59013
  // verify the required parameter 'addressId' is set
@@ -57925,6 +59073,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
57925
59073
  * @param {String} opts.language A language tag (which is sometimes referred to as a locale identifier) to use to localize country field and sort operations (default to en-US)
57926
59074
  * @param {String} opts.integrationId Filter on the Genesys Cloud integration id to which the phone number belongs to
57927
59075
  * @param {String} opts.supportedContentId Filter based on the supported content ID
59076
+ * @param {Array.<String>} opts.expand Which fields, if any, to expand
57928
59077
  */
57929
59078
  getRoutingSmsPhonenumbers(opts) {
57930
59079
  opts = opts || {};
@@ -57934,7 +59083,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
57934
59083
  '/api/v2/routing/sms/phonenumbers',
57935
59084
  'GET',
57936
59085
  { },
57937
- { 'phoneNumber': opts['phoneNumber'],'phoneNumberType': this.apiClient.buildCollectionParam(opts['phoneNumberType'], 'multi'),'phoneNumberStatus': this.apiClient.buildCollectionParam(opts['phoneNumberStatus'], 'multi'),'countryCode': this.apiClient.buildCollectionParam(opts['countryCode'], 'multi'),'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'language': opts['language'],'integration.id': opts['integrationId'],'supportedContent.id': opts['supportedContentId'] },
59086
+ { 'phoneNumber': opts['phoneNumber'],'phoneNumberType': this.apiClient.buildCollectionParam(opts['phoneNumberType'], 'multi'),'phoneNumberStatus': this.apiClient.buildCollectionParam(opts['phoneNumberStatus'], 'multi'),'countryCode': this.apiClient.buildCollectionParam(opts['countryCode'], 'multi'),'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'language': opts['language'],'integration.id': opts['integrationId'],'supportedContent.id': opts['supportedContentId'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
57938
59087
  { },
57939
59088
  { },
57940
59089
  null,
@@ -59692,7 +60841,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
59692
60841
  * @param {String} domainName email domain
59693
60842
  * @param {String} routeId route ID
59694
60843
  * @param {Object} body
59695
- * putRoutingEmailDomainRouteIdentityresolution is a preview method and is subject to both breaking and non-breaking changes at any time without notice
59696
60844
  */
59697
60845
  putRoutingEmailDomainRouteIdentityresolution(domainName, routeId, body) {
59698
60846
  // verify the required parameter 'domainName' is set
@@ -59812,7 +60960,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
59812
60960
  *
59813
60961
  * @param {String} queueId Queue ID
59814
60962
  * @param {Object} body
59815
- * putRoutingQueueIdentityresolution is a preview method and is subject to both breaking and non-breaking changes at any time without notice
59816
60963
  */
59817
60964
  putRoutingQueueIdentityresolution(queueId, body) {
59818
60965
  // verify the required parameter 'queueId' is set
@@ -59893,7 +61040,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
59893
61040
  *
59894
61041
  * @param {String} addressId Address ID
59895
61042
  * @param {Object} body
59896
- * putRoutingSmsIdentityresolutionPhonenumber is a preview method and is subject to both breaking and non-breaking changes at any time without notice
59897
61043
  */
59898
61044
  putRoutingSmsIdentityresolutionPhonenumber(addressId, body) {
59899
61045
  // verify the required parameter 'addressId' is set
@@ -60135,7 +61281,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
60135
61281
  /**
60136
61282
  * SCIM service.
60137
61283
  * @module purecloud-platform-client-v2/api/SCIMApi
60138
- * @version 219.0.0
61284
+ * @version 221.0.0
60139
61285
  */
60140
61286
 
60141
61287
  /**
@@ -61012,7 +62158,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
61012
62158
  /**
61013
62159
  * ScreenRecording service.
61014
62160
  * @module purecloud-platform-client-v2/api/ScreenRecordingApi
61015
- * @version 219.0.0
62161
+ * @version 221.0.0
61016
62162
  */
61017
62163
 
61018
62164
  /**
@@ -61057,7 +62203,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
61057
62203
  /**
61058
62204
  * Scripts service.
61059
62205
  * @module purecloud-platform-client-v2/api/ScriptsApi
61060
- * @version 219.0.0
62206
+ * @version 221.0.0
61061
62207
  */
61062
62208
 
61063
62209
  /**
@@ -61257,6 +62403,38 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
61257
62403
  );
61258
62404
  }
61259
62405
 
62406
+ /**
62407
+ * Get the published variables
62408
+ *
62409
+ * @param {String} scriptId Script ID
62410
+ * @param {Object} opts Optional parameters
62411
+ * @param {Object} opts.input input
62412
+ * @param {Object} opts.output output
62413
+ * @param {Object} opts.type type
62414
+ * @param {String} opts.scriptDataVersion Advanced usage - controls the data version of the script
62415
+ */
62416
+ getScriptsPublishedDivisionviewVariables(scriptId, opts) {
62417
+ opts = opts || {};
62418
+
62419
+ // verify the required parameter 'scriptId' is set
62420
+ if (scriptId === undefined || scriptId === null) {
62421
+ throw 'Missing the required parameter "scriptId" when calling getScriptsPublishedDivisionviewVariables';
62422
+ }
62423
+
62424
+ return this.apiClient.callApi(
62425
+ '/api/v2/scripts/published/divisionviews/{scriptId}/variables',
62426
+ 'GET',
62427
+ { 'scriptId': scriptId },
62428
+ { 'input': opts['input'],'output': opts['output'],'type': opts['type'],'scriptDataVersion': opts['scriptDataVersion'] },
62429
+ { },
62430
+ { },
62431
+ null,
62432
+ ['PureCloud OAuth'],
62433
+ ['application/json'],
62434
+ ['application/json']
62435
+ );
62436
+ }
62437
+
61260
62438
  /**
61261
62439
  * Get the published scripts metadata.
61262
62440
  *
@@ -61501,7 +62679,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
61501
62679
  /**
61502
62680
  * Search service.
61503
62681
  * @module purecloud-platform-client-v2/api/SearchApi
61504
- * @version 219.0.0
62682
+ * @version 221.0.0
61505
62683
  */
61506
62684
 
61507
62685
  /**
@@ -62244,7 +63422,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
62244
63422
  /**
62245
63423
  * Settings service.
62246
63424
  * @module purecloud-platform-client-v2/api/SettingsApi
62247
- * @version 219.0.0
63425
+ * @version 221.0.0
62248
63426
  */
62249
63427
 
62250
63428
  /**
@@ -62279,6 +63457,26 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
62279
63457
  );
62280
63458
  }
62281
63459
 
63460
+ /**
63461
+ * Delete settings
63462
+ *
63463
+ */
63464
+ deleteExternalcontactsSettings() {
63465
+
63466
+ return this.apiClient.callApi(
63467
+ '/api/v2/externalcontacts/settings',
63468
+ 'DELETE',
63469
+ { },
63470
+ { },
63471
+ { },
63472
+ { },
63473
+ null,
63474
+ ['PureCloud OAuth'],
63475
+ ['application/json'],
63476
+ ['application/json']
63477
+ );
63478
+ }
63479
+
62282
63480
  /**
62283
63481
  * Delete agent auto answer settings
62284
63482
  *
@@ -62344,6 +63542,26 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
62344
63542
  );
62345
63543
  }
62346
63544
 
63545
+ /**
63546
+ * Get settings
63547
+ *
63548
+ */
63549
+ getExternalcontactsSettings() {
63550
+
63551
+ return this.apiClient.callApi(
63552
+ '/api/v2/externalcontacts/settings',
63553
+ 'GET',
63554
+ { },
63555
+ { },
63556
+ { },
63557
+ { },
63558
+ null,
63559
+ ['PureCloud OAuth'],
63560
+ ['application/json'],
63561
+ ['application/json']
63562
+ );
63563
+ }
63564
+
62347
63565
  /**
62348
63566
  * Get the execution history enabled setting.
62349
63567
  * Get the execution history enabled setting.
@@ -62492,6 +63710,30 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
62492
63710
  );
62493
63711
  }
62494
63712
 
63713
+ /**
63714
+ * Set settings
63715
+ *
63716
+ * @param {Object} opts Optional parameters
63717
+ * @param {Object} opts.body
63718
+ */
63719
+ putExternalcontactsSettings(opts) {
63720
+ opts = opts || {};
63721
+
63722
+
63723
+ return this.apiClient.callApi(
63724
+ '/api/v2/externalcontacts/settings',
63725
+ 'PUT',
63726
+ { },
63727
+ { },
63728
+ { },
63729
+ { },
63730
+ opts['body'],
63731
+ ['PureCloud OAuth'],
63732
+ ['application/json'],
63733
+ ['application/json']
63734
+ );
63735
+ }
63736
+
62495
63737
  /**
62496
63738
  * Set agent auto answer settings
62497
63739
  *
@@ -62528,7 +63770,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
62528
63770
  /**
62529
63771
  * SocialMedia service.
62530
63772
  * @module purecloud-platform-client-v2/api/SocialMediaApi
62531
- * @version 219.0.0
63773
+ * @version 221.0.0
62532
63774
  */
62533
63775
 
62534
63776
  /**
@@ -63816,7 +65058,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
63816
65058
  /**
63817
65059
  * SpeechTextAnalytics service.
63818
65060
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
63819
- * @version 219.0.0
65061
+ * @version 221.0.0
63820
65062
  */
63821
65063
 
63822
65064
  /**
@@ -64718,7 +65960,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
64718
65960
  * @param {Object} opts Optional parameters
64719
65961
  * @param {String} opts.communicationId Communication id associated with the conversation. Please provide a valid communicationId when requesting non-email interactions.
64720
65962
  * @param {String} opts.recordingId Recording id associated with the communication. Please provide a valid recordingId when requesting voice interactions.
64721
- * getSpeechandtextanalyticsTranslationsLanguageConversation is a preview method and is subject to both breaking and non-breaking changes at any time without notice
64722
65963
  */
64723
65964
  getSpeechandtextanalyticsTranslationsLanguageConversation(languageId, conversationId, opts) {
64724
65965
  opts = opts || {};
@@ -64749,7 +65990,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
64749
65990
  /**
64750
65991
  * Get supported translation languages
64751
65992
  *
64752
- * getSpeechandtextanalyticsTranslationsLanguages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
64753
65993
  */
64754
65994
  getSpeechandtextanalyticsTranslationsLanguages() {
64755
65995
 
@@ -65257,7 +66497,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
65257
66497
  /**
65258
66498
  * Stations service.
65259
66499
  * @module purecloud-platform-client-v2/api/StationsApi
65260
- * @version 219.0.0
66500
+ * @version 221.0.0
65261
66501
  */
65262
66502
 
65263
66503
  /**
@@ -65359,7 +66599,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
65359
66599
  /**
65360
66600
  * Suggest service.
65361
66601
  * @module purecloud-platform-client-v2/api/SuggestApi
65362
- * @version 219.0.0
66602
+ * @version 221.0.0
65363
66603
  */
65364
66604
 
65365
66605
  /**
@@ -65498,7 +66738,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
65498
66738
  /**
65499
66739
  * TaskManagement service.
65500
66740
  * @module purecloud-platform-client-v2/api/TaskManagementApi
65501
- * @version 219.0.0
66741
+ * @version 221.0.0
65502
66742
  */
65503
66743
 
65504
66744
  /**
@@ -65816,7 +67056,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
65816
67056
  * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
65817
67057
  * @param {Number} opts.pageSize Limit the number of entities to return. It is not guaranteed that the requested number of entities will be filled in a single request. If an `after` key is returned as part of the response it is possible that more entities that match the filter criteria exist. Maximum of 200. (default to 25)
65818
67058
  * @param {Object} opts.sortOrder Ascending or descending sort order (default to descending)
65819
- * getTaskmanagementWorkbinHistory is a preview method and is subject to both breaking and non-breaking changes at any time without notice
65820
67059
  */
65821
67060
  getTaskmanagementWorkbinHistory(workbinId, opts) {
65822
67061
  opts = opts || {};
@@ -65845,7 +67084,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
65845
67084
  *
65846
67085
  * @param {String} workbinId Workbin ID
65847
67086
  * @param {Number} entityVersion Workbin version
65848
- * getTaskmanagementWorkbinVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
65849
67087
  */
65850
67088
  getTaskmanagementWorkbinVersion(workbinId, entityVersion) {
65851
67089
  // verify the required parameter 'workbinId' is set
@@ -65879,7 +67117,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
65879
67117
  * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
65880
67118
  * @param {Number} opts.pageSize Limit the number of entities to return. It is not guaranteed that the requested number of entities will be filled in a single request. If an `after` key is returned as part of the response it is possible that more entities that match the filter criteria exist. Maximum of 200. (default to 25)
65881
67119
  * @param {Object} opts.sortOrder Ascending or descending sort order (default to descending)
65882
- * getTaskmanagementWorkbinVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
65883
67120
  */
65884
67121
  getTaskmanagementWorkbinVersions(workbinId, opts) {
65885
67122
  opts = opts || {};
@@ -65940,7 +67177,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
65940
67177
  * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
65941
67178
  * @param {Number} opts.pageSize Limit the number of entities to return. It is not guaranteed that the requested number of entities will be filled in a single request. If an `after` key is returned as part of the response it is possible that more entities that match the filter criteria exist. Maximum of 200. (default to 25)
65942
67179
  * @param {Object} opts.sortOrder Ascending or descending sort order (default to descending)
65943
- * getTaskmanagementWorkitemHistory is a preview method and is subject to both breaking and non-breaking changes at any time without notice
65944
67180
  */
65945
67181
  getTaskmanagementWorkitemHistory(workitemId, opts) {
65946
67182
  opts = opts || {};
@@ -66006,7 +67242,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
66006
67242
  *
66007
67243
  * @param {String} workitemId Workitem ID
66008
67244
  * @param {Number} entityVersion Workitem version
66009
- * getTaskmanagementWorkitemVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
66010
67245
  */
66011
67246
  getTaskmanagementWorkitemVersion(workitemId, entityVersion) {
66012
67247
  // verify the required parameter 'workitemId' is set
@@ -66040,7 +67275,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
66040
67275
  * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
66041
67276
  * @param {Number} opts.pageSize Limit the number of entities to return. It is not guaranteed that the requested number of entities will be filled in a single request. If an `after` key is returned as part of the response it is possible that more entities that match the filter criteria exist. Maximum of 200. (default to 25)
66042
67277
  * @param {Object} opts.sortOrder Ascending or descending sort order (default to descending)
66043
- * getTaskmanagementWorkitemVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
66044
67278
  */
66045
67279
  getTaskmanagementWorkitemVersions(workitemId, opts) {
66046
67280
  opts = opts || {};
@@ -66656,7 +67890,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
66656
67890
  * @param {Number} opts.pageSize Limit the number of entities to return. It is not guaranteed that the requested number of entities will be filled in a single request. If an `after` key is returned as part of the response it is possible that more entities that match the filter criteria exist. Maximum of 200. (default to 25)
66657
67891
  * @param {Object} opts.sortOrder Ascending or descending sort order (default to descending)
66658
67892
  * @param {Array.<String>} opts.fields Comma-separated list of fields. The response will contain only versions created as a result of changes to these fields.
66659
- * getTaskmanagementWorktypeHistory is a preview method and is subject to both breaking and non-breaking changes at any time without notice
66660
67893
  */
66661
67894
  getTaskmanagementWorktypeHistory(worktypeId, opts) {
66662
67895
  opts = opts || {};
@@ -66740,7 +67973,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
66740
67973
  *
66741
67974
  * @param {String} worktypeId Worktype id
66742
67975
  * @param {Number} entityVersion Worktype version
66743
- * getTaskmanagementWorktypeVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
66744
67976
  */
66745
67977
  getTaskmanagementWorktypeVersion(worktypeId, entityVersion) {
66746
67978
  // verify the required parameter 'worktypeId' is set
@@ -66774,7 +68006,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
66774
68006
  * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
66775
68007
  * @param {Number} opts.pageSize Limit the number of entities to return. It is not guaranteed that the requested number of entities will be filled in a single request. If an `after` key is returned as part of the response it is possible that more entities that match the filter criteria exist. Maximum of 200. (default to 25)
66776
68008
  * @param {Object} opts.sortOrder Ascending or descending sort order (default to descending)
66777
- * getTaskmanagementWorktypeVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
66778
68009
  */
66779
68010
  getTaskmanagementWorktypeVersions(worktypeId, opts) {
66780
68011
  opts = opts || {};
@@ -67669,7 +68900,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
67669
68900
  /**
67670
68901
  * Teams service.
67671
68902
  * @module purecloud-platform-client-v2/api/TeamsApi
67672
- * @version 219.0.0
68903
+ * @version 221.0.0
67673
68904
  */
67674
68905
 
67675
68906
  /**
@@ -67974,7 +69205,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
67974
69205
  /**
67975
69206
  * Telephony service.
67976
69207
  * @module purecloud-platform-client-v2/api/TelephonyApi
67977
- * @version 219.0.0
69208
+ * @version 221.0.0
67978
69209
  */
67979
69210
 
67980
69211
  /**
@@ -68156,7 +69387,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
68156
69387
  /**
68157
69388
  * TelephonyProvidersEdge service.
68158
69389
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
68159
- * @version 219.0.0
69390
+ * @version 221.0.0
68160
69391
  */
68161
69392
 
68162
69393
  /**
@@ -71608,7 +72839,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
71608
72839
  /**
71609
72840
  * Textbots service.
71610
72841
  * @module purecloud-platform-client-v2/api/TextbotsApi
71611
- * @version 219.0.0
72842
+ * @version 221.0.0
71612
72843
  */
71613
72844
 
71614
72845
  /**
@@ -71629,8 +72860,8 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
71629
72860
  * @param {Object} opts Optional parameters
71630
72861
  * @param {Array.<String>} opts.botType Bot types
71631
72862
  * @param {String} opts.botName Bot name
71632
- * @param {Array.<String>} opts.botId Bot IDs
71633
- * @param {Number} opts.pageSize The maximum results to return (default to 25)
72863
+ * @param {Array.<String>} opts.botId Bot IDs. Maximum of 50
72864
+ * @param {Number} opts.pageSize The maximum results to return. Maximum of 100 (default to 25)
71634
72865
  */
71635
72866
  getTextbotsBotsSearch(opts) {
71636
72867
  opts = opts || {};
@@ -71736,7 +72967,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
71736
72967
  /**
71737
72968
  * Tokens service.
71738
72969
  * @module purecloud-platform-client-v2/api/TokensApi
71739
- * @version 219.0.0
72970
+ * @version 221.0.0
71740
72971
  */
71741
72972
 
71742
72973
  /**
@@ -71890,7 +73121,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
71890
73121
  /**
71891
73122
  * Uploads service.
71892
73123
  * @module purecloud-platform-client-v2/api/UploadsApi
71893
- * @version 219.0.0
73124
+ * @version 221.0.0
71894
73125
  */
71895
73126
 
71896
73127
  /**
@@ -72181,7 +73412,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
72181
73412
  /**
72182
73413
  * Usage service.
72183
73414
  * @module purecloud-platform-client-v2/api/UsageApi
72184
- * @version 219.0.0
73415
+ * @version 221.0.0
72185
73416
  */
72186
73417
 
72187
73418
  /**
@@ -72396,7 +73627,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
72396
73627
  /**
72397
73628
  * UserRecordings service.
72398
73629
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
72399
- * @version 219.0.0
73630
+ * @version 221.0.0
72400
73631
  */
72401
73632
 
72402
73633
  /**
@@ -72611,7 +73842,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
72611
73842
  /**
72612
73843
  * Users service.
72613
73844
  * @module purecloud-platform-client-v2/api/UsersApi
72614
- * @version 219.0.0
73845
+ * @version 221.0.0
72615
73846
  */
72616
73847
 
72617
73848
  /**
@@ -75564,7 +76795,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
75564
76795
  /**
75565
76796
  * Utilities service.
75566
76797
  * @module purecloud-platform-client-v2/api/UtilitiesApi
75567
- * @version 219.0.0
76798
+ * @version 221.0.0
75568
76799
  */
75569
76800
 
75570
76801
  /**
@@ -75675,7 +76906,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
75675
76906
  /**
75676
76907
  * Voicemail service.
75677
76908
  * @module purecloud-platform-client-v2/api/VoicemailApi
75678
- * @version 219.0.0
76909
+ * @version 221.0.0
75679
76910
  */
75680
76911
 
75681
76912
  /**
@@ -76397,7 +77628,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
76397
77628
  /**
76398
77629
  * WebChat service.
76399
77630
  * @module purecloud-platform-client-v2/api/WebChatApi
76400
- * @version 219.0.0
77631
+ * @version 221.0.0
76401
77632
  */
76402
77633
 
76403
77634
  /**
@@ -76957,7 +78188,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
76957
78188
  /**
76958
78189
  * WebDeployments service.
76959
78190
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
76960
- * @version 219.0.0
78191
+ * @version 221.0.0
76961
78192
  */
76962
78193
 
76963
78194
  /**
@@ -77274,7 +78505,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
77274
78505
  * Get a deployment identity resolution setting.
77275
78506
  *
77276
78507
  * @param {String} deploymentId The deployment ID
77277
- * getWebdeploymentsDeploymentIdentityresolution is a preview method and is subject to both breaking and non-breaking changes at any time without notice
77278
78508
  */
77279
78509
  getWebdeploymentsDeploymentIdentityresolution(deploymentId) {
77280
78510
  // verify the required parameter 'deploymentId' is set
@@ -77509,7 +78739,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
77509
78739
  *
77510
78740
  * @param {String} deploymentId The deployment ID
77511
78741
  * @param {Object} body
77512
- * putWebdeploymentsDeploymentIdentityresolution is a preview method and is subject to both breaking and non-breaking changes at any time without notice
77513
78742
  */
77514
78743
  putWebdeploymentsDeploymentIdentityresolution(deploymentId, body) {
77515
78744
  // verify the required parameter 'deploymentId' is set
@@ -77541,7 +78770,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
77541
78770
  /**
77542
78771
  * WebMessaging service.
77543
78772
  * @module purecloud-platform-client-v2/api/WebMessagingApi
77544
- * @version 219.0.0
78773
+ * @version 221.0.0
77545
78774
  */
77546
78775
 
77547
78776
  /**
@@ -77587,7 +78816,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
77587
78816
  /**
77588
78817
  * Widgets service.
77589
78818
  * @module purecloud-platform-client-v2/api/WidgetsApi
77590
- * @version 219.0.0
78819
+ * @version 221.0.0
77591
78820
  */
77592
78821
 
77593
78822
  /**
@@ -77738,7 +78967,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
77738
78967
  /**
77739
78968
  * WorkforceManagement service.
77740
78969
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
77741
- * @version 219.0.0
78970
+ * @version 221.0.0
77742
78971
  */
77743
78972
 
77744
78973
  /**
@@ -85133,7 +86362,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
85133
86362
  * </pre>
85134
86363
  * </p>
85135
86364
  * @module purecloud-platform-client-v2/index
85136
- * @version 219.0.0
86365
+ * @version 221.0.0
85137
86366
  */
85138
86367
  class platformClient {
85139
86368
  constructor() {
@@ -85192,6 +86421,11 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
85192
86421
  * @property {module:purecloud-platform-client-v2/api/BillingApi}
85193
86422
  */
85194
86423
  this.BillingApi = BillingApi;
86424
+ /**
86425
+ * The BusinessRulesApi service constructor.
86426
+ * @property {module:purecloud-platform-client-v2/api/BusinessRulesApi}
86427
+ */
86428
+ this.BusinessRulesApi = BusinessRulesApi;
85195
86429
  /**
85196
86430
  * The CarrierServicesApi service constructor.
85197
86431
  * @property {module:purecloud-platform-client-v2/api/CarrierServicesApi}