purecloud-platform-client-v2 220.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 +3 -3
  2. package/dist/node/purecloud-platform-client-v2.js +1301 -126
  3. package/dist/web-amd/purecloud-platform-client-v2.js +1301 -126
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +456 -156
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +456 -156
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +600 -10
  9. package/package.json +1 -1
  10. package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
  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 +3 -4
  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 +35 -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 +1 -16
  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 +1 -1
  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 +1 -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 -1
  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 +1 -1
  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 220.0.0
690
+ * @version 221.0.0
691
691
  */
692
692
  class ApiClient {
693
693
  /**
@@ -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 220.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 220.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 220.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 220.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 220.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 220.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,
@@ -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 220.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 220.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 220.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 220.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 220.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 220.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 220.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 220.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 || {};
@@ -22340,7 +23463,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
22340
23463
  *
22341
23464
  * @param {String} integrationId Integration ID
22342
23465
  * @param {Object} body IdentityResolutionConfig
22343
- * putConversationsMessagingIdentityresolutionIntegrationsFacebookIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
22344
23466
  */
22345
23467
  putConversationsMessagingIdentityresolutionIntegrationsFacebookIntegrationId(integrationId, body) {
22346
23468
  // verify the required parameter 'integrationId' is set
@@ -22371,7 +23493,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
22371
23493
  *
22372
23494
  * @param {String} integrationId Integration ID
22373
23495
  * @param {Object} body
22374
- * putConversationsMessagingIdentityresolutionIntegrationsOpenIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
22375
23496
  */
22376
23497
  putConversationsMessagingIdentityresolutionIntegrationsOpenIntegrationId(integrationId, body) {
22377
23498
  // verify the required parameter 'integrationId' is set
@@ -22402,7 +23523,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
22402
23523
  *
22403
23524
  * @param {String} integrationId Integration ID
22404
23525
  * @param {Object} body
22405
- * putConversationsMessagingIdentityresolutionIntegrationsWhatsappIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
22406
23526
  */
22407
23527
  putConversationsMessagingIdentityresolutionIntegrationsWhatsappIntegrationId(integrationId, body) {
22408
23528
  // verify the required parameter 'integrationId' is set
@@ -22600,7 +23720,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
22600
23720
  /**
22601
23721
  * DataExtensions service.
22602
23722
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
22603
- * @version 220.0.0
23723
+ * @version 221.0.0
22604
23724
  */
22605
23725
 
22606
23726
  /**
@@ -22686,7 +23806,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
22686
23806
  /**
22687
23807
  * DataPrivacy service.
22688
23808
  * @module purecloud-platform-client-v2/api/DataPrivacyApi
22689
- * @version 220.0.0
23809
+ * @version 221.0.0
22690
23810
  */
22691
23811
 
22692
23812
  /**
@@ -22856,7 +23976,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
22856
23976
  /**
22857
23977
  * Downloads service.
22858
23978
  * @module purecloud-platform-client-v2/api/DownloadsApi
22859
- * @version 220.0.0
23979
+ * @version 221.0.0
22860
23980
  */
22861
23981
 
22862
23982
  /**
@@ -22908,7 +24028,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
22908
24028
  /**
22909
24029
  * Emails service.
22910
24030
  * @module purecloud-platform-client-v2/api/EmailsApi
22911
- * @version 220.0.0
24031
+ * @version 221.0.0
22912
24032
  */
22913
24033
 
22914
24034
  /**
@@ -23037,7 +24157,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
23037
24157
  /**
23038
24158
  * EmployeeEngagement service.
23039
24159
  * @module purecloud-platform-client-v2/api/EmployeeEngagementApi
23040
- * @version 220.0.0
24160
+ * @version 221.0.0
23041
24161
  */
23042
24162
 
23043
24163
  /**
@@ -23188,7 +24308,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
23188
24308
  /**
23189
24309
  * Events service.
23190
24310
  * @module purecloud-platform-client-v2/api/EventsApi
23191
- * @version 220.0.0
24311
+ * @version 221.0.0
23192
24312
  */
23193
24313
 
23194
24314
  /**
@@ -23284,7 +24404,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
23284
24404
  /**
23285
24405
  * ExternalContacts service.
23286
24406
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
23287
- * @version 220.0.0
24407
+ * @version 221.0.0
23288
24408
  */
23289
24409
 
23290
24410
  /**
@@ -24313,7 +25433,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24313
25433
  * List the identifiers for an external organization
24314
25434
  *
24315
25435
  * @param {String} externalOrganizationId External Organization ID
24316
- * getExternalcontactsOrganizationIdentifiers is a preview method and is subject to both breaking and non-breaking changes at any time without notice
24317
25436
  */
24318
25437
  getExternalcontactsOrganizationIdentifiers(externalOrganizationId) {
24319
25438
  // verify the required parameter 'externalOrganizationId' is set
@@ -24720,7 +25839,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24720
25839
  * @param {Object} opts Optional parameters
24721
25840
  * @param {Number} opts.limit The number of contacts per page; must be between 10 and 200, default is 100
24722
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
24723
- * getExternalcontactsScanContactsDivisionviewsAll is a preview method and is subject to both breaking and non-breaking changes at any time without notice
24724
25842
  */
24725
25843
  getExternalcontactsScanContactsDivisionviewsAll(opts) {
24726
25844
  opts = opts || {};
@@ -24772,7 +25890,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24772
25890
  * @param {Object} opts Optional parameters
24773
25891
  * @param {Number} opts.limit The number of notes per page; must be between 10 and 200, default is 100
24774
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
24775
- * getExternalcontactsScanNotesDivisionviewsAll is a preview method and is subject to both breaking and non-breaking changes at any time without notice
24776
25893
  */
24777
25894
  getExternalcontactsScanNotesDivisionviewsAll(opts) {
24778
25895
  opts = opts || {};
@@ -24824,7 +25941,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24824
25941
  * @param {Object} opts Optional parameters
24825
25942
  * @param {Number} opts.limit The number of organizations per page; must be between 10 and 200, default is 100
24826
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
24827
- * getExternalcontactsScanOrganizationsDivisionviewsAll is a preview method and is subject to both breaking and non-breaking changes at any time without notice
24828
25944
  */
24829
25945
  getExternalcontactsScanOrganizationsDivisionviewsAll(opts) {
24830
25946
  opts = opts || {};
@@ -24876,7 +25992,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24876
25992
  * @param {Object} opts Optional parameters
24877
25993
  * @param {Number} opts.limit The number of relationships per page; must be between 10 and 200, default is 100
24878
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
24879
- * getExternalcontactsScanRelationshipsDivisionviewsAll is a preview method and is subject to both breaking and non-breaking changes at any time without notice
24880
25995
  */
24881
25996
  getExternalcontactsScanRelationshipsDivisionviewsAll(opts) {
24882
25997
  opts = opts || {};
@@ -24931,7 +26046,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24931
26046
  *
24932
26047
  * @param {String} externalOrganizationId External Organization ID
24933
26048
  * @param {Object} body ClaimRequest
24934
- * patchExternalcontactsOrganizationIdentifiers is a preview method and is subject to both breaking and non-breaking changes at any time without notice
24935
26049
  */
24936
26050
  patchExternalcontactsOrganizationIdentifiers(externalOrganizationId, body) {
24937
26051
  // verify the required parameter 'externalOrganizationId' is set
@@ -25011,7 +26125,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25011
26125
  * Bulk fetch contacts across divisions
25012
26126
  *
25013
26127
  * @param {Object} body Contact ids
25014
- * postExternalcontactsBulkContactsDivisionviews is a preview method and is subject to both breaking and non-breaking changes at any time without notice
25015
26128
  */
25016
26129
  postExternalcontactsBulkContactsDivisionviews(body) {
25017
26130
  // verify the required parameter 'body' is set
@@ -25039,7 +26152,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25039
26152
  * @param {Object} body Contact Enrich Requests
25040
26153
  * @param {Object} opts Optional parameters
25041
26154
  * @param {Boolean} opts.dryRun If true, the request will not make any modifications, but will show you what the end result *would* be.
25042
- * postExternalcontactsBulkContactsEnrich is a preview method and is subject to both breaking and non-breaking changes at any time without notice
25043
26155
  */
25044
26156
  postExternalcontactsBulkContactsEnrich(body, opts) {
25045
26157
  opts = opts || {};
@@ -25292,7 +26404,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25292
26404
  * Bulk fetch organizations across divisions
25293
26405
  *
25294
26406
  * @param {Object} body Organizations ids
25295
- * postExternalcontactsBulkOrganizationsDivisionviews is a preview method and is subject to both breaking and non-breaking changes at any time without notice
25296
26407
  */
25297
26408
  postExternalcontactsBulkOrganizationsDivisionviews(body) {
25298
26409
  // verify the required parameter 'body' is set
@@ -25320,7 +26431,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25320
26431
  * @param {Object} body External Organization Enrich Requests
25321
26432
  * @param {Object} opts Optional parameters
25322
26433
  * @param {Boolean} opts.dryRun If true, the request will not make any modifications, but will show you what the end result *would* be.
25323
- * postExternalcontactsBulkOrganizationsEnrich is a preview method and is subject to both breaking and non-breaking changes at any time without notice
25324
26434
  */
25325
26435
  postExternalcontactsBulkOrganizationsEnrich(body, opts) {
25326
26436
  opts = opts || {};
@@ -25580,7 +26690,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25580
26690
  * @param {Object} body ContactEnrichRequest
25581
26691
  * @param {Object} opts Optional parameters
25582
26692
  * @param {Boolean} opts.dryRun If true, the request will not make any modifications, but will show you what the end result *would* be.
25583
- * postExternalcontactsContactsEnrich is a preview method and is subject to both breaking and non-breaking changes at any time without notice
25584
26693
  */
25585
26694
  postExternalcontactsContactsEnrich(body, opts) {
25586
26695
  opts = opts || {};
@@ -25633,7 +26742,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25633
26742
  * Merge up to 25 contacts into a new contact record
25634
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.
25635
26744
  * @param {Object} body MergeRequest
25636
- * postExternalcontactsContactsMerge is a preview method and is subject to both breaking and non-breaking changes at any time without notice
25637
26745
  */
25638
26746
  postExternalcontactsContactsMerge(body) {
25639
26747
  // verify the required parameter 'body' is set
@@ -25741,7 +26849,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25741
26849
  * @param {Object} identifier
25742
26850
  * @param {Object} opts Optional parameters
25743
26851
  * @param {Array.<String>} opts.expand which field, if any, to expand
25744
- * postExternalcontactsIdentifierlookupContacts is a preview method and is subject to both breaking and non-breaking changes at any time without notice
25745
26852
  */
25746
26853
  postExternalcontactsIdentifierlookupContacts(identifier, opts) {
25747
26854
  opts = opts || {};
@@ -25771,7 +26878,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25771
26878
  * @param {Object} identifier
25772
26879
  * @param {Object} opts Optional parameters
25773
26880
  * @param {Array.<String>} opts.expand which field, if any, to expand
25774
- * postExternalcontactsIdentifierlookupOrganizations is a preview method and is subject to both breaking and non-breaking changes at any time without notice
25775
26881
  */
25776
26882
  postExternalcontactsIdentifierlookupOrganizations(identifier, opts) {
25777
26883
  opts = opts || {};
@@ -26007,7 +27113,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
26007
27113
  * @param {Object} body ExternalOrgEnrichRequest
26008
27114
  * @param {Object} opts Optional parameters
26009
27115
  * @param {Boolean} opts.dryRun If true, the request will not make any modifications, but will show you what the end result *would* be.
26010
- * postExternalcontactsOrganizationsEnrich is a preview method and is subject to both breaking and non-breaking changes at any time without notice
26011
27116
  */
26012
27117
  postExternalcontactsOrganizationsEnrich(body, opts) {
26013
27118
  opts = opts || {};
@@ -26487,7 +27592,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
26487
27592
  /**
26488
27593
  * Fax service.
26489
27594
  * @module purecloud-platform-client-v2/api/FaxApi
26490
- * @version 220.0.0
27595
+ * @version 221.0.0
26491
27596
  */
26492
27597
 
26493
27598
  /**
@@ -26702,7 +27807,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
26702
27807
  /**
26703
27808
  * Flows service.
26704
27809
  * @module purecloud-platform-client-v2/api/FlowsApi
26705
- * @version 220.0.0
27810
+ * @version 221.0.0
26706
27811
  */
26707
27812
 
26708
27813
  /**
@@ -26885,7 +27990,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
26885
27990
  /**
26886
27991
  * Gamification service.
26887
27992
  * @module purecloud-platform-client-v2/api/GamificationApi
26888
- * @version 220.0.0
27993
+ * @version 221.0.0
26889
27994
  */
26890
27995
 
26891
27996
  /**
@@ -29392,7 +30497,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
29392
30497
  /**
29393
30498
  * GeneralDataProtectionRegulation service.
29394
30499
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
29395
- * @version 220.0.0
30500
+ * @version 221.0.0
29396
30501
  */
29397
30502
 
29398
30503
  /**
@@ -29522,7 +30627,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
29522
30627
  /**
29523
30628
  * Geolocation service.
29524
30629
  * @module purecloud-platform-client-v2/api/GeolocationApi
29525
- * @version 220.0.0
30630
+ * @version 221.0.0
29526
30631
  */
29527
30632
 
29528
30633
  /**
@@ -29653,7 +30758,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
29653
30758
  /**
29654
30759
  * Greetings service.
29655
30760
  * @module purecloud-platform-client-v2/api/GreetingsApi
29656
- * @version 220.0.0
30761
+ * @version 221.0.0
29657
30762
  */
29658
30763
 
29659
30764
  /**
@@ -30108,7 +31213,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
30108
31213
  /**
30109
31214
  * Groups service.
30110
31215
  * @module purecloud-platform-client-v2/api/GroupsApi
30111
- * @version 220.0.0
31216
+ * @version 221.0.0
30112
31217
  */
30113
31218
 
30114
31219
  /**
@@ -30627,7 +31732,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
30627
31732
  /**
30628
31733
  * IdentityProvider service.
30629
31734
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
30630
- * @version 220.0.0
31735
+ * @version 221.0.0
30631
31736
  */
30632
31737
 
30633
31738
  /**
@@ -31488,7 +32593,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
31488
32593
  /**
31489
32594
  * InfrastructureAsCode service.
31490
32595
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
31491
- * @version 220.0.0
32596
+ * @version 221.0.0
31492
32597
  */
31493
32598
 
31494
32599
  /**
@@ -31655,7 +32760,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
31655
32760
  /**
31656
32761
  * Integrations service.
31657
32762
  * @module purecloud-platform-client-v2/api/IntegrationsApi
31658
- * @version 220.0.0
32763
+ * @version 221.0.0
31659
32764
  */
31660
32765
 
31661
32766
  /**
@@ -34124,7 +35229,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
34124
35229
  /**
34125
35230
  * Journey service.
34126
35231
  * @module purecloud-platform-client-v2/api/JourneyApi
34127
- * @version 220.0.0
35232
+ * @version 221.0.0
34128
35233
  */
34129
35234
 
34130
35235
  /**
@@ -36109,7 +37214,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
36109
37214
  /**
36110
37215
  * Knowledge service.
36111
37216
  * @module purecloud-platform-client-v2/api/KnowledgeApi
36112
- * @version 220.0.0
37217
+ * @version 221.0.0
36113
37218
  */
36114
37219
 
36115
37220
  /**
@@ -39982,7 +41087,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
39982
41087
  /**
39983
41088
  * LanguageUnderstanding service.
39984
41089
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
39985
- * @version 220.0.0
41090
+ * @version 221.0.0
39986
41091
  */
39987
41092
 
39988
41093
  /**
@@ -41015,7 +42120,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
41015
42120
  /**
41016
42121
  * Languages service.
41017
42122
  * @module purecloud-platform-client-v2/api/LanguagesApi
41018
- * @version 220.0.0
42123
+ * @version 221.0.0
41019
42124
  */
41020
42125
 
41021
42126
  /**
@@ -41237,7 +42342,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
41237
42342
  /**
41238
42343
  * Learning service.
41239
42344
  * @module purecloud-platform-client-v2/api/LearningApi
41240
- * @version 220.0.0
42345
+ * @version 221.0.0
41241
42346
  */
41242
42347
 
41243
42348
  /**
@@ -42266,7 +43371,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
42266
43371
  /**
42267
43372
  * License service.
42268
43373
  * @module purecloud-platform-client-v2/api/LicenseApi
42269
- * @version 220.0.0
43374
+ * @version 221.0.0
42270
43375
  */
42271
43376
 
42272
43377
  /**
@@ -42504,7 +43609,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
42504
43609
  /**
42505
43610
  * Locations service.
42506
43611
  * @module purecloud-platform-client-v2/api/LocationsApi
42507
- * @version 220.0.0
43612
+ * @version 221.0.0
42508
43613
  */
42509
43614
 
42510
43615
  /**
@@ -42740,7 +43845,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
42740
43845
  /**
42741
43846
  * LogCapture service.
42742
43847
  * @module purecloud-platform-client-v2/api/LogCaptureApi
42743
- * @version 220.0.0
43848
+ * @version 221.0.0
42744
43849
  */
42745
43850
 
42746
43851
  /**
@@ -42940,7 +44045,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
42940
44045
  /**
42941
44046
  * Messaging service.
42942
44047
  * @module purecloud-platform-client-v2/api/MessagingApi
42943
- * @version 220.0.0
44048
+ * @version 221.0.0
42944
44049
  */
42945
44050
 
42946
44051
  /**
@@ -43299,7 +44404,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
43299
44404
  /**
43300
44405
  * MobileDevices service.
43301
44406
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
43302
- * @version 220.0.0
44407
+ * @version 221.0.0
43303
44408
  */
43304
44409
 
43305
44410
  /**
@@ -43450,7 +44555,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
43450
44555
  /**
43451
44556
  * Notifications service.
43452
44557
  * @module purecloud-platform-client-v2/api/NotificationsApi
43453
- * @version 220.0.0
44558
+ * @version 221.0.0
43454
44559
  */
43455
44560
 
43456
44561
  /**
@@ -43683,7 +44788,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
43683
44788
  /**
43684
44789
  * OAuth service.
43685
44790
  * @module purecloud-platform-client-v2/api/OAuthApi
43686
- * @version 220.0.0
44791
+ * @version 221.0.0
43687
44792
  */
43688
44793
 
43689
44794
  /**
@@ -44049,7 +45154,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
44049
45154
  /**
44050
45155
  * Objects service.
44051
45156
  * @module purecloud-platform-client-v2/api/ObjectsApi
44052
- * @version 220.0.0
45157
+ * @version 221.0.0
44053
45158
  */
44054
45159
 
44055
45160
  /**
@@ -44373,7 +45478,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
44373
45478
  /**
44374
45479
  * OperationalEvents service.
44375
45480
  * @module purecloud-platform-client-v2/api/OperationalEventsApi
44376
- * @version 220.0.0
45481
+ * @version 221.0.0
44377
45482
  */
44378
45483
 
44379
45484
  /**
@@ -44490,7 +45595,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
44490
45595
  /**
44491
45596
  * Organization service.
44492
45597
  * @module purecloud-platform-client-v2/api/OrganizationApi
44493
- * @version 220.0.0
45598
+ * @version 221.0.0
44494
45599
  */
44495
45600
 
44496
45601
  /**
@@ -44965,7 +46070,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
44965
46070
  /**
44966
46071
  * OrganizationAuthorization service.
44967
46072
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
44968
- * @version 220.0.0
46073
+ * @version 221.0.0
44969
46074
  */
44970
46075
 
44971
46076
  /**
@@ -46359,7 +47464,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
46359
47464
  /**
46360
47465
  * Outbound service.
46361
47466
  * @module purecloud-platform-client-v2/api/OutboundApi
46362
- * @version 220.0.0
47467
+ * @version 221.0.0
46363
47468
  */
46364
47469
 
46365
47470
  /**
@@ -50981,7 +52086,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
50981
52086
  /**
50982
52087
  * Presence service.
50983
52088
  * @module purecloud-platform-client-v2/api/PresenceApi
50984
- * @version 220.0.0
52089
+ * @version 221.0.0
50985
52090
  */
50986
52091
 
50987
52092
  /**
@@ -51725,7 +52830,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
51725
52830
  /**
51726
52831
  * ProcessAutomation service.
51727
52832
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
51728
- * @version 220.0.0
52833
+ * @version 221.0.0
51729
52834
  */
51730
52835
 
51731
52836
  /**
@@ -51964,7 +53069,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
51964
53069
  /**
51965
53070
  * Quality service.
51966
53071
  * @module purecloud-platform-client-v2/api/QualityApi
51967
- * @version 220.0.0
53072
+ * @version 221.0.0
51968
53073
  */
51969
53074
 
51970
53075
  /**
@@ -53751,7 +54856,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
53751
54856
  /**
53752
54857
  * Recording service.
53753
54858
  * @module purecloud-platform-client-v2/api/RecordingApi
53754
- * @version 220.0.0
54859
+ * @version 221.0.0
53755
54860
  */
53756
54861
 
53757
54862
  /**
@@ -55356,7 +56461,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
55356
56461
  /**
55357
56462
  * ResponseManagement service.
55358
56463
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
55359
- * @version 220.0.0
56464
+ * @version 221.0.0
55360
56465
  */
55361
56466
 
55362
56467
  /**
@@ -55866,7 +56971,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
55866
56971
  /**
55867
56972
  * Routing service.
55868
56973
  * @module purecloud-platform-client-v2/api/RoutingApi
55869
- * @version 220.0.0
56974
+ * @version 221.0.0
55870
56975
  */
55871
56976
 
55872
56977
  /**
@@ -56682,8 +57787,12 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
56682
57787
  *
56683
57788
  * @param {String} domainName email domain
56684
57789
  * @param {String} routeId route ID
57790
+ * @param {Object} opts Optional parameters
57791
+ * @param {Array.<String>} opts.expand Which fields, if any, to expand
56685
57792
  */
56686
- getRoutingEmailDomainRoute(domainName, routeId) {
57793
+ getRoutingEmailDomainRoute(domainName, routeId, opts) {
57794
+ opts = opts || {};
57795
+
56687
57796
  // verify the required parameter 'domainName' is set
56688
57797
  if (domainName === undefined || domainName === null) {
56689
57798
  throw 'Missing the required parameter "domainName" when calling getRoutingEmailDomainRoute';
@@ -56697,7 +57806,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
56697
57806
  '/api/v2/routing/email/domains/{domainName}/routes/{routeId}',
56698
57807
  'GET',
56699
57808
  { 'domainName': domainName,'routeId': routeId },
56700
- { },
57809
+ { 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
56701
57810
  { },
56702
57811
  { },
56703
57812
  null,
@@ -56712,7 +57821,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
56712
57821
  *
56713
57822
  * @param {String} domainName email domain
56714
57823
  * @param {String} routeId route ID
56715
- * getRoutingEmailDomainRouteIdentityresolution is a preview method and is subject to both breaking and non-breaking changes at any time without notice
56716
57824
  */
56717
57825
  getRoutingEmailDomainRouteIdentityresolution(domainName, routeId) {
56718
57826
  // verify the required parameter 'domainName' is set
@@ -56746,6 +57854,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
56746
57854
  * @param {Number} opts.pageSize Page size (default to 25)
56747
57855
  * @param {Number} opts.pageNumber Page number (default to 1)
56748
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
56749
57858
  */
56750
57859
  getRoutingEmailDomainRoutes(domainName, opts) {
56751
57860
  opts = opts || {};
@@ -56759,7 +57868,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
56759
57868
  '/api/v2/routing/email/domains/{domainName}/routes',
56760
57869
  'GET',
56761
57870
  { 'domainName': domainName },
56762
- { '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') },
56763
57872
  { },
56764
57873
  { },
56765
57874
  null,
@@ -57159,8 +58268,12 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
57159
58268
  * Get details about this queue.
57160
58269
  *
57161
58270
  * @param {String} queueId Queue ID
58271
+ * @param {Object} opts Optional parameters
58272
+ * @param {Array.<String>} opts.expand Which fields, if any, to expand
57162
58273
  */
57163
- getRoutingQueue(queueId) {
58274
+ getRoutingQueue(queueId, opts) {
58275
+ opts = opts || {};
58276
+
57164
58277
  // verify the required parameter 'queueId' is set
57165
58278
  if (queueId === undefined || queueId === null) {
57166
58279
  throw 'Missing the required parameter "queueId" when calling getRoutingQueue';
@@ -57170,7 +58283,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
57170
58283
  '/api/v2/routing/queues/{queueId}',
57171
58284
  'GET',
57172
58285
  { 'queueId': queueId },
57173
- { },
58286
+ { 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
57174
58287
  { },
57175
58288
  { },
57176
58289
  null,
@@ -57297,7 +58410,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
57297
58410
  * Get Queue IdentityResolution Settings.
57298
58411
  *
57299
58412
  * @param {String} queueId Queue ID
57300
- * getRoutingQueueIdentityresolution is a preview method and is subject to both breaking and non-breaking changes at any time without notice
57301
58413
  */
57302
58414
  getRoutingQueueIdentityresolution(queueId) {
57303
58415
  // verify the required parameter 'queueId' is set
@@ -57476,6 +58588,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
57476
58588
  * @param {Array.<String>} opts.peerId Include only queues with the specified peer ID(s)
57477
58589
  * @param {String} opts.cannedResponseLibraryId Include only queues explicitly associated with the specified canned response library ID
57478
58590
  * @param {Boolean} opts.hasPeer Include only queues with a peer ID
58591
+ * @param {Array.<String>} opts.expand Which fields, if any, to expand
57479
58592
  */
57480
58593
  getRoutingQueues(opts) {
57481
58594
  opts = opts || {};
@@ -57485,7 +58598,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
57485
58598
  '/api/v2/routing/queues',
57486
58599
  'GET',
57487
58600
  { },
57488
- { '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') },
57489
58602
  { },
57490
58603
  { },
57491
58604
  null,
@@ -57895,7 +59008,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
57895
59008
  * Get a SMS identity resolution settings.
57896
59009
  *
57897
59010
  * @param {String} addressId Address ID
57898
- * getRoutingSmsIdentityresolutionPhonenumber is a preview method and is subject to both breaking and non-breaking changes at any time without notice
57899
59011
  */
57900
59012
  getRoutingSmsIdentityresolutionPhonenumber(addressId) {
57901
59013
  // verify the required parameter 'addressId' is set
@@ -57961,6 +59073,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
57961
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)
57962
59074
  * @param {String} opts.integrationId Filter on the Genesys Cloud integration id to which the phone number belongs to
57963
59075
  * @param {String} opts.supportedContentId Filter based on the supported content ID
59076
+ * @param {Array.<String>} opts.expand Which fields, if any, to expand
57964
59077
  */
57965
59078
  getRoutingSmsPhonenumbers(opts) {
57966
59079
  opts = opts || {};
@@ -57970,7 +59083,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
57970
59083
  '/api/v2/routing/sms/phonenumbers',
57971
59084
  'GET',
57972
59085
  { },
57973
- { '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') },
57974
59087
  { },
57975
59088
  { },
57976
59089
  null,
@@ -59728,7 +60841,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
59728
60841
  * @param {String} domainName email domain
59729
60842
  * @param {String} routeId route ID
59730
60843
  * @param {Object} body
59731
- * putRoutingEmailDomainRouteIdentityresolution is a preview method and is subject to both breaking and non-breaking changes at any time without notice
59732
60844
  */
59733
60845
  putRoutingEmailDomainRouteIdentityresolution(domainName, routeId, body) {
59734
60846
  // verify the required parameter 'domainName' is set
@@ -59848,7 +60960,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
59848
60960
  *
59849
60961
  * @param {String} queueId Queue ID
59850
60962
  * @param {Object} body
59851
- * putRoutingQueueIdentityresolution is a preview method and is subject to both breaking and non-breaking changes at any time without notice
59852
60963
  */
59853
60964
  putRoutingQueueIdentityresolution(queueId, body) {
59854
60965
  // verify the required parameter 'queueId' is set
@@ -59929,7 +61040,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
59929
61040
  *
59930
61041
  * @param {String} addressId Address ID
59931
61042
  * @param {Object} body
59932
- * putRoutingSmsIdentityresolutionPhonenumber is a preview method and is subject to both breaking and non-breaking changes at any time without notice
59933
61043
  */
59934
61044
  putRoutingSmsIdentityresolutionPhonenumber(addressId, body) {
59935
61045
  // verify the required parameter 'addressId' is set
@@ -60171,7 +61281,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
60171
61281
  /**
60172
61282
  * SCIM service.
60173
61283
  * @module purecloud-platform-client-v2/api/SCIMApi
60174
- * @version 220.0.0
61284
+ * @version 221.0.0
60175
61285
  */
60176
61286
 
60177
61287
  /**
@@ -61048,7 +62158,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
61048
62158
  /**
61049
62159
  * ScreenRecording service.
61050
62160
  * @module purecloud-platform-client-v2/api/ScreenRecordingApi
61051
- * @version 220.0.0
62161
+ * @version 221.0.0
61052
62162
  */
61053
62163
 
61054
62164
  /**
@@ -61093,7 +62203,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
61093
62203
  /**
61094
62204
  * Scripts service.
61095
62205
  * @module purecloud-platform-client-v2/api/ScriptsApi
61096
- * @version 220.0.0
62206
+ * @version 221.0.0
61097
62207
  */
61098
62208
 
61099
62209
  /**
@@ -61569,7 +62679,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
61569
62679
  /**
61570
62680
  * Search service.
61571
62681
  * @module purecloud-platform-client-v2/api/SearchApi
61572
- * @version 220.0.0
62682
+ * @version 221.0.0
61573
62683
  */
61574
62684
 
61575
62685
  /**
@@ -62312,7 +63422,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
62312
63422
  /**
62313
63423
  * Settings service.
62314
63424
  * @module purecloud-platform-client-v2/api/SettingsApi
62315
- * @version 220.0.0
63425
+ * @version 221.0.0
62316
63426
  */
62317
63427
 
62318
63428
  /**
@@ -62347,6 +63457,26 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
62347
63457
  );
62348
63458
  }
62349
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
+
62350
63480
  /**
62351
63481
  * Delete agent auto answer settings
62352
63482
  *
@@ -62412,6 +63542,26 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
62412
63542
  );
62413
63543
  }
62414
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
+
62415
63565
  /**
62416
63566
  * Get the execution history enabled setting.
62417
63567
  * Get the execution history enabled setting.
@@ -62560,6 +63710,30 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
62560
63710
  );
62561
63711
  }
62562
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
+
62563
63737
  /**
62564
63738
  * Set agent auto answer settings
62565
63739
  *
@@ -62596,7 +63770,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
62596
63770
  /**
62597
63771
  * SocialMedia service.
62598
63772
  * @module purecloud-platform-client-v2/api/SocialMediaApi
62599
- * @version 220.0.0
63773
+ * @version 221.0.0
62600
63774
  */
62601
63775
 
62602
63776
  /**
@@ -63884,7 +65058,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
63884
65058
  /**
63885
65059
  * SpeechTextAnalytics service.
63886
65060
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
63887
- * @version 220.0.0
65061
+ * @version 221.0.0
63888
65062
  */
63889
65063
 
63890
65064
  /**
@@ -64786,7 +65960,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
64786
65960
  * @param {Object} opts Optional parameters
64787
65961
  * @param {String} opts.communicationId Communication id associated with the conversation. Please provide a valid communicationId when requesting non-email interactions.
64788
65962
  * @param {String} opts.recordingId Recording id associated with the communication. Please provide a valid recordingId when requesting voice interactions.
64789
- * getSpeechandtextanalyticsTranslationsLanguageConversation is a preview method and is subject to both breaking and non-breaking changes at any time without notice
64790
65963
  */
64791
65964
  getSpeechandtextanalyticsTranslationsLanguageConversation(languageId, conversationId, opts) {
64792
65965
  opts = opts || {};
@@ -64817,7 +65990,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
64817
65990
  /**
64818
65991
  * Get supported translation languages
64819
65992
  *
64820
- * getSpeechandtextanalyticsTranslationsLanguages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
64821
65993
  */
64822
65994
  getSpeechandtextanalyticsTranslationsLanguages() {
64823
65995
 
@@ -65325,7 +66497,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
65325
66497
  /**
65326
66498
  * Stations service.
65327
66499
  * @module purecloud-platform-client-v2/api/StationsApi
65328
- * @version 220.0.0
66500
+ * @version 221.0.0
65329
66501
  */
65330
66502
 
65331
66503
  /**
@@ -65427,7 +66599,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
65427
66599
  /**
65428
66600
  * Suggest service.
65429
66601
  * @module purecloud-platform-client-v2/api/SuggestApi
65430
- * @version 220.0.0
66602
+ * @version 221.0.0
65431
66603
  */
65432
66604
 
65433
66605
  /**
@@ -65566,7 +66738,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
65566
66738
  /**
65567
66739
  * TaskManagement service.
65568
66740
  * @module purecloud-platform-client-v2/api/TaskManagementApi
65569
- * @version 220.0.0
66741
+ * @version 221.0.0
65570
66742
  */
65571
66743
 
65572
66744
  /**
@@ -67728,7 +68900,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
67728
68900
  /**
67729
68901
  * Teams service.
67730
68902
  * @module purecloud-platform-client-v2/api/TeamsApi
67731
- * @version 220.0.0
68903
+ * @version 221.0.0
67732
68904
  */
67733
68905
 
67734
68906
  /**
@@ -68033,7 +69205,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
68033
69205
  /**
68034
69206
  * Telephony service.
68035
69207
  * @module purecloud-platform-client-v2/api/TelephonyApi
68036
- * @version 220.0.0
69208
+ * @version 221.0.0
68037
69209
  */
68038
69210
 
68039
69211
  /**
@@ -68215,7 +69387,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
68215
69387
  /**
68216
69388
  * TelephonyProvidersEdge service.
68217
69389
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
68218
- * @version 220.0.0
69390
+ * @version 221.0.0
68219
69391
  */
68220
69392
 
68221
69393
  /**
@@ -71667,7 +72839,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
71667
72839
  /**
71668
72840
  * Textbots service.
71669
72841
  * @module purecloud-platform-client-v2/api/TextbotsApi
71670
- * @version 220.0.0
72842
+ * @version 221.0.0
71671
72843
  */
71672
72844
 
71673
72845
  /**
@@ -71795,7 +72967,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
71795
72967
  /**
71796
72968
  * Tokens service.
71797
72969
  * @module purecloud-platform-client-v2/api/TokensApi
71798
- * @version 220.0.0
72970
+ * @version 221.0.0
71799
72971
  */
71800
72972
 
71801
72973
  /**
@@ -71949,7 +73121,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
71949
73121
  /**
71950
73122
  * Uploads service.
71951
73123
  * @module purecloud-platform-client-v2/api/UploadsApi
71952
- * @version 220.0.0
73124
+ * @version 221.0.0
71953
73125
  */
71954
73126
 
71955
73127
  /**
@@ -72240,7 +73412,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
72240
73412
  /**
72241
73413
  * Usage service.
72242
73414
  * @module purecloud-platform-client-v2/api/UsageApi
72243
- * @version 220.0.0
73415
+ * @version 221.0.0
72244
73416
  */
72245
73417
 
72246
73418
  /**
@@ -72455,7 +73627,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
72455
73627
  /**
72456
73628
  * UserRecordings service.
72457
73629
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
72458
- * @version 220.0.0
73630
+ * @version 221.0.0
72459
73631
  */
72460
73632
 
72461
73633
  /**
@@ -72670,7 +73842,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
72670
73842
  /**
72671
73843
  * Users service.
72672
73844
  * @module purecloud-platform-client-v2/api/UsersApi
72673
- * @version 220.0.0
73845
+ * @version 221.0.0
72674
73846
  */
72675
73847
 
72676
73848
  /**
@@ -75623,7 +76795,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
75623
76795
  /**
75624
76796
  * Utilities service.
75625
76797
  * @module purecloud-platform-client-v2/api/UtilitiesApi
75626
- * @version 220.0.0
76798
+ * @version 221.0.0
75627
76799
  */
75628
76800
 
75629
76801
  /**
@@ -75734,7 +76906,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
75734
76906
  /**
75735
76907
  * Voicemail service.
75736
76908
  * @module purecloud-platform-client-v2/api/VoicemailApi
75737
- * @version 220.0.0
76909
+ * @version 221.0.0
75738
76910
  */
75739
76911
 
75740
76912
  /**
@@ -76456,7 +77628,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
76456
77628
  /**
76457
77629
  * WebChat service.
76458
77630
  * @module purecloud-platform-client-v2/api/WebChatApi
76459
- * @version 220.0.0
77631
+ * @version 221.0.0
76460
77632
  */
76461
77633
 
76462
77634
  /**
@@ -77016,7 +78188,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
77016
78188
  /**
77017
78189
  * WebDeployments service.
77018
78190
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
77019
- * @version 220.0.0
78191
+ * @version 221.0.0
77020
78192
  */
77021
78193
 
77022
78194
  /**
@@ -77333,7 +78505,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
77333
78505
  * Get a deployment identity resolution setting.
77334
78506
  *
77335
78507
  * @param {String} deploymentId The deployment ID
77336
- * getWebdeploymentsDeploymentIdentityresolution is a preview method and is subject to both breaking and non-breaking changes at any time without notice
77337
78508
  */
77338
78509
  getWebdeploymentsDeploymentIdentityresolution(deploymentId) {
77339
78510
  // verify the required parameter 'deploymentId' is set
@@ -77568,7 +78739,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
77568
78739
  *
77569
78740
  * @param {String} deploymentId The deployment ID
77570
78741
  * @param {Object} body
77571
- * putWebdeploymentsDeploymentIdentityresolution is a preview method and is subject to both breaking and non-breaking changes at any time without notice
77572
78742
  */
77573
78743
  putWebdeploymentsDeploymentIdentityresolution(deploymentId, body) {
77574
78744
  // verify the required parameter 'deploymentId' is set
@@ -77600,7 +78770,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
77600
78770
  /**
77601
78771
  * WebMessaging service.
77602
78772
  * @module purecloud-platform-client-v2/api/WebMessagingApi
77603
- * @version 220.0.0
78773
+ * @version 221.0.0
77604
78774
  */
77605
78775
 
77606
78776
  /**
@@ -77646,7 +78816,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
77646
78816
  /**
77647
78817
  * Widgets service.
77648
78818
  * @module purecloud-platform-client-v2/api/WidgetsApi
77649
- * @version 220.0.0
78819
+ * @version 221.0.0
77650
78820
  */
77651
78821
 
77652
78822
  /**
@@ -77797,7 +78967,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
77797
78967
  /**
77798
78968
  * WorkforceManagement service.
77799
78969
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
77800
- * @version 220.0.0
78970
+ * @version 221.0.0
77801
78971
  */
77802
78972
 
77803
78973
  /**
@@ -85192,7 +86362,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
85192
86362
  * </pre>
85193
86363
  * </p>
85194
86364
  * @module purecloud-platform-client-v2/index
85195
- * @version 220.0.0
86365
+ * @version 221.0.0
85196
86366
  */
85197
86367
  class platformClient {
85198
86368
  constructor() {
@@ -85251,6 +86421,11 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
85251
86421
  * @property {module:purecloud-platform-client-v2/api/BillingApi}
85252
86422
  */
85253
86423
  this.BillingApi = BillingApi;
86424
+ /**
86425
+ * The BusinessRulesApi service constructor.
86426
+ * @property {module:purecloud-platform-client-v2/api/BusinessRulesApi}
86427
+ */
86428
+ this.BusinessRulesApi = BusinessRulesApi;
85254
86429
  /**
85255
86430
  * The CarrierServicesApi service constructor.
85256
86431
  * @property {module:purecloud-platform-client-v2/api/CarrierServicesApi}