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.
- package/README.md +3 -3
- package/dist/node/purecloud-platform-client-v2.js +1301 -126
- package/dist/web-amd/purecloud-platform-client-v2.js +1301 -126
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +456 -156
- package/dist/web-cjs/purecloud-platform-client-v2.js +456 -156
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +600 -10
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentUIApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +3 -4
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BillingApi.js +177 -1
- package/src/purecloud-platform-client-v2/api/BusinessRulesApi.js +919 -0
- package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ChatApi.js +7 -3
- package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +35 -8
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -16
- package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +19 -14
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SettingsApi.js +65 -1
- package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -3
- package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -3
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/index.js +7 -1
|
@@ -690,7 +690,7 @@ class Configuration {
|
|
|
690
690
|
|
|
691
691
|
/**
|
|
692
692
|
* @module purecloud-platform-client-v2/ApiClient
|
|
693
|
-
* @version
|
|
693
|
+
* @version 221.0.0
|
|
694
694
|
*/
|
|
695
695
|
class ApiClient {
|
|
696
696
|
/**
|
|
@@ -2234,7 +2234,7 @@ class AgentAssistantsApi {
|
|
|
2234
2234
|
/**
|
|
2235
2235
|
* AgentAssistants service.
|
|
2236
2236
|
* @module purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
2237
|
-
* @version
|
|
2237
|
+
* @version 221.0.0
|
|
2238
2238
|
*/
|
|
2239
2239
|
|
|
2240
2240
|
/**
|
|
@@ -2610,7 +2610,7 @@ class AgentCopilotApi {
|
|
|
2610
2610
|
/**
|
|
2611
2611
|
* AgentCopilot service.
|
|
2612
2612
|
* @module purecloud-platform-client-v2/api/AgentCopilotApi
|
|
2613
|
-
* @version
|
|
2613
|
+
* @version 221.0.0
|
|
2614
2614
|
*/
|
|
2615
2615
|
|
|
2616
2616
|
/**
|
|
@@ -2686,7 +2686,7 @@ class AgentUIApi {
|
|
|
2686
2686
|
/**
|
|
2687
2687
|
* AgentUI service.
|
|
2688
2688
|
* @module purecloud-platform-client-v2/api/AgentUIApi
|
|
2689
|
-
* @version
|
|
2689
|
+
* @version 221.0.0
|
|
2690
2690
|
*/
|
|
2691
2691
|
|
|
2692
2692
|
/**
|
|
@@ -2817,7 +2817,7 @@ class AlertingApi {
|
|
|
2817
2817
|
/**
|
|
2818
2818
|
* Alerting service.
|
|
2819
2819
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
2820
|
-
* @version
|
|
2820
|
+
* @version 221.0.0
|
|
2821
2821
|
*/
|
|
2822
2822
|
|
|
2823
2823
|
/**
|
|
@@ -3218,7 +3218,7 @@ class AnalyticsApi {
|
|
|
3218
3218
|
/**
|
|
3219
3219
|
* Analytics service.
|
|
3220
3220
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
3221
|
-
* @version
|
|
3221
|
+
* @version 221.0.0
|
|
3222
3222
|
*/
|
|
3223
3223
|
|
|
3224
3224
|
/**
|
|
@@ -6039,7 +6039,7 @@ class ArchitectApi {
|
|
|
6039
6039
|
/**
|
|
6040
6040
|
* Architect service.
|
|
6041
6041
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
6042
|
-
* @version
|
|
6042
|
+
* @version 221.0.0
|
|
6043
6043
|
*/
|
|
6044
6044
|
|
|
6045
6045
|
/**
|
|
@@ -7073,7 +7073,6 @@ class ArchitectApi {
|
|
|
7073
7073
|
* Get an IVR IdentityResolutionConfig.
|
|
7074
7074
|
*
|
|
7075
7075
|
* @param {String} ivrId IVR id
|
|
7076
|
-
* getArchitectIvrIdentityresolution is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
7077
7076
|
*/
|
|
7078
7077
|
getArchitectIvrIdentityresolution(ivrId) {
|
|
7079
7078
|
// verify the required parameter 'ivrId' is set
|
|
@@ -7106,6 +7105,7 @@ class ArchitectApi {
|
|
|
7106
7105
|
* @param {String} opts.name Name of the IVR to filter by.
|
|
7107
7106
|
* @param {String} opts.dnis The phone number of the IVR to filter by.
|
|
7108
7107
|
* @param {String} opts.scheduleGroup The Schedule Group of the IVR to filter by.
|
|
7108
|
+
* @param {Array.<String>} opts.expand Which fields, if any, to expand
|
|
7109
7109
|
*/
|
|
7110
7110
|
getArchitectIvrs(opts) {
|
|
7111
7111
|
opts = opts || {};
|
|
@@ -7115,7 +7115,7 @@ class ArchitectApi {
|
|
|
7115
7115
|
'/api/v2/architect/ivrs',
|
|
7116
7116
|
'GET',
|
|
7117
7117
|
{ },
|
|
7118
|
-
{ 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'name': opts['name'],'dnis': opts['dnis'],'scheduleGroup': opts['scheduleGroup'] },
|
|
7118
|
+
{ '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') },
|
|
7119
7119
|
{ },
|
|
7120
7120
|
{ },
|
|
7121
7121
|
null,
|
|
@@ -9921,7 +9921,6 @@ class ArchitectApi {
|
|
|
9921
9921
|
*
|
|
9922
9922
|
* @param {String} ivrId IVR id
|
|
9923
9923
|
* @param {Object} body
|
|
9924
|
-
* putArchitectIvrIdentityresolution is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
9925
9924
|
*/
|
|
9926
9925
|
putArchitectIvrIdentityresolution(ivrId, body) {
|
|
9927
9926
|
// verify the required parameter 'ivrId' is set
|
|
@@ -10332,7 +10331,7 @@ class AuditApi {
|
|
|
10332
10331
|
/**
|
|
10333
10332
|
* Audit service.
|
|
10334
10333
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
10335
|
-
* @version
|
|
10334
|
+
* @version 221.0.0
|
|
10336
10335
|
*/
|
|
10337
10336
|
|
|
10338
10337
|
/**
|
|
@@ -10533,7 +10532,7 @@ class AuthorizationApi {
|
|
|
10533
10532
|
/**
|
|
10534
10533
|
* Authorization service.
|
|
10535
10534
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
10536
|
-
* @version
|
|
10535
|
+
* @version 221.0.0
|
|
10537
10536
|
*/
|
|
10538
10537
|
|
|
10539
10538
|
/**
|
|
@@ -12248,7 +12247,7 @@ class BillingApi {
|
|
|
12248
12247
|
/**
|
|
12249
12248
|
* Billing service.
|
|
12250
12249
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
12251
|
-
* @version
|
|
12250
|
+
* @version 221.0.0
|
|
12252
12251
|
*/
|
|
12253
12252
|
|
|
12254
12253
|
/**
|
|
@@ -12263,6 +12262,182 @@ class BillingApi {
|
|
|
12263
12262
|
}
|
|
12264
12263
|
|
|
12265
12264
|
|
|
12265
|
+
/**
|
|
12266
|
+
* Get billing contract
|
|
12267
|
+
* Retrieve a single contract from the system.
|
|
12268
|
+
* @param {String} contractId The contract number.
|
|
12269
|
+
* getBillingContract is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12270
|
+
*/
|
|
12271
|
+
getBillingContract(contractId) {
|
|
12272
|
+
// verify the required parameter 'contractId' is set
|
|
12273
|
+
if (contractId === undefined || contractId === null) {
|
|
12274
|
+
throw 'Missing the required parameter "contractId" when calling getBillingContract';
|
|
12275
|
+
}
|
|
12276
|
+
|
|
12277
|
+
return this.apiClient.callApi(
|
|
12278
|
+
'/api/v2/billing/contracts/{contractId}',
|
|
12279
|
+
'GET',
|
|
12280
|
+
{ 'contractId': contractId },
|
|
12281
|
+
{ },
|
|
12282
|
+
{ },
|
|
12283
|
+
{ },
|
|
12284
|
+
null,
|
|
12285
|
+
['PureCloud OAuth'],
|
|
12286
|
+
['application/json'],
|
|
12287
|
+
['application/json']
|
|
12288
|
+
);
|
|
12289
|
+
}
|
|
12290
|
+
|
|
12291
|
+
/**
|
|
12292
|
+
* Get contract billing period
|
|
12293
|
+
* Fetch the billing information for a given Organization by billing period.
|
|
12294
|
+
* @param {String} contractId The contract number.
|
|
12295
|
+
* @param {String} billingPeriodId The Billing Period Id for the Org.
|
|
12296
|
+
* getBillingContractBillingperiod is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12297
|
+
*/
|
|
12298
|
+
getBillingContractBillingperiod(contractId, billingPeriodId) {
|
|
12299
|
+
// verify the required parameter 'contractId' is set
|
|
12300
|
+
if (contractId === undefined || contractId === null) {
|
|
12301
|
+
throw 'Missing the required parameter "contractId" when calling getBillingContractBillingperiod';
|
|
12302
|
+
}
|
|
12303
|
+
// verify the required parameter 'billingPeriodId' is set
|
|
12304
|
+
if (billingPeriodId === undefined || billingPeriodId === null) {
|
|
12305
|
+
throw 'Missing the required parameter "billingPeriodId" when calling getBillingContractBillingperiod';
|
|
12306
|
+
}
|
|
12307
|
+
|
|
12308
|
+
return this.apiClient.callApi(
|
|
12309
|
+
'/api/v2/billing/contracts/{contractId}/billingperiods/{billingPeriodId}',
|
|
12310
|
+
'GET',
|
|
12311
|
+
{ 'contractId': contractId,'billingPeriodId': billingPeriodId },
|
|
12312
|
+
{ },
|
|
12313
|
+
{ },
|
|
12314
|
+
{ },
|
|
12315
|
+
null,
|
|
12316
|
+
['PureCloud OAuth'],
|
|
12317
|
+
['application/json'],
|
|
12318
|
+
['application/json']
|
|
12319
|
+
);
|
|
12320
|
+
}
|
|
12321
|
+
|
|
12322
|
+
/**
|
|
12323
|
+
* Get billing contracts
|
|
12324
|
+
* Retrieve a list of contracts stored in the system.
|
|
12325
|
+
* @param {Object} opts Optional parameters
|
|
12326
|
+
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
12327
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
12328
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
12329
|
+
* @param {String} opts.dateStart Start date for the query. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
12330
|
+
* @param {String} opts.dateEnd End date for the query. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
12331
|
+
* @param {Object} opts.status Filter by the status of contracts
|
|
12332
|
+
* @param {String} opts.externalNumber Filter by the unique external number.
|
|
12333
|
+
* getBillingContracts is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12334
|
+
*/
|
|
12335
|
+
getBillingContracts(opts) {
|
|
12336
|
+
opts = opts || {};
|
|
12337
|
+
|
|
12338
|
+
|
|
12339
|
+
return this.apiClient.callApi(
|
|
12340
|
+
'/api/v2/billing/contracts',
|
|
12341
|
+
'GET',
|
|
12342
|
+
{ },
|
|
12343
|
+
{ 'before': opts['before'],'after': opts['after'],'pageSize': opts['pageSize'],'dateStart': opts['dateStart'],'dateEnd': opts['dateEnd'],'status': opts['status'],'externalNumber': opts['externalNumber'] },
|
|
12344
|
+
{ },
|
|
12345
|
+
{ },
|
|
12346
|
+
null,
|
|
12347
|
+
['PureCloud OAuth'],
|
|
12348
|
+
['application/json'],
|
|
12349
|
+
['application/json']
|
|
12350
|
+
);
|
|
12351
|
+
}
|
|
12352
|
+
|
|
12353
|
+
/**
|
|
12354
|
+
* Get invoice document
|
|
12355
|
+
* Fetch the document for a specific invoice.
|
|
12356
|
+
* @param {String} invoiceId invoiceId
|
|
12357
|
+
* getBillingContractsInvoiceDocument is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12358
|
+
*/
|
|
12359
|
+
getBillingContractsInvoiceDocument(invoiceId) {
|
|
12360
|
+
// verify the required parameter 'invoiceId' is set
|
|
12361
|
+
if (invoiceId === undefined || invoiceId === null) {
|
|
12362
|
+
throw 'Missing the required parameter "invoiceId" when calling getBillingContractsInvoiceDocument';
|
|
12363
|
+
}
|
|
12364
|
+
|
|
12365
|
+
return this.apiClient.callApi(
|
|
12366
|
+
'/api/v2/billing/contracts/invoices/{invoiceId}/document',
|
|
12367
|
+
'GET',
|
|
12368
|
+
{ 'invoiceId': invoiceId },
|
|
12369
|
+
{ },
|
|
12370
|
+
{ },
|
|
12371
|
+
{ },
|
|
12372
|
+
null,
|
|
12373
|
+
['PureCloud OAuth'],
|
|
12374
|
+
['application/json'],
|
|
12375
|
+
['application/json']
|
|
12376
|
+
);
|
|
12377
|
+
}
|
|
12378
|
+
|
|
12379
|
+
/**
|
|
12380
|
+
* Get invoice lines
|
|
12381
|
+
* Fetch a list of all bills for the specified account.
|
|
12382
|
+
* @param {String} invoiceId invoiceId
|
|
12383
|
+
* @param {Object} opts Optional parameters
|
|
12384
|
+
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
12385
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
12386
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
12387
|
+
* getBillingContractsInvoiceLines is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12388
|
+
*/
|
|
12389
|
+
getBillingContractsInvoiceLines(invoiceId, opts) {
|
|
12390
|
+
opts = opts || {};
|
|
12391
|
+
|
|
12392
|
+
// verify the required parameter 'invoiceId' is set
|
|
12393
|
+
if (invoiceId === undefined || invoiceId === null) {
|
|
12394
|
+
throw 'Missing the required parameter "invoiceId" when calling getBillingContractsInvoiceLines';
|
|
12395
|
+
}
|
|
12396
|
+
|
|
12397
|
+
return this.apiClient.callApi(
|
|
12398
|
+
'/api/v2/billing/contracts/invoices/{invoiceId}/lines',
|
|
12399
|
+
'GET',
|
|
12400
|
+
{ 'invoiceId': invoiceId },
|
|
12401
|
+
{ 'before': opts['before'],'after': opts['after'],'pageSize': opts['pageSize'] },
|
|
12402
|
+
{ },
|
|
12403
|
+
{ },
|
|
12404
|
+
null,
|
|
12405
|
+
['PureCloud OAuth'],
|
|
12406
|
+
['application/json'],
|
|
12407
|
+
['application/json']
|
|
12408
|
+
);
|
|
12409
|
+
}
|
|
12410
|
+
|
|
12411
|
+
/**
|
|
12412
|
+
* Get invoices
|
|
12413
|
+
* Retrieve a list of invoices stored in the system.
|
|
12414
|
+
* @param {Object} opts Optional parameters
|
|
12415
|
+
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
12416
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
12417
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
12418
|
+
* @param {String} opts.dateStart Start date for the query. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
12419
|
+
* @param {String} opts.dateEnd End date for the query. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
12420
|
+
* @param {Object} opts.paymentStatus Payment Status
|
|
12421
|
+
* getBillingContractsInvoices is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12422
|
+
*/
|
|
12423
|
+
getBillingContractsInvoices(opts) {
|
|
12424
|
+
opts = opts || {};
|
|
12425
|
+
|
|
12426
|
+
|
|
12427
|
+
return this.apiClient.callApi(
|
|
12428
|
+
'/api/v2/billing/contracts/invoices',
|
|
12429
|
+
'GET',
|
|
12430
|
+
{ },
|
|
12431
|
+
{ 'before': opts['before'],'after': opts['after'],'pageSize': opts['pageSize'],'dateStart': opts['dateStart'],'dateEnd': opts['dateEnd'],'paymentStatus': opts['paymentStatus'] },
|
|
12432
|
+
{ },
|
|
12433
|
+
{ },
|
|
12434
|
+
null,
|
|
12435
|
+
['PureCloud OAuth'],
|
|
12436
|
+
['application/json'],
|
|
12437
|
+
['application/json']
|
|
12438
|
+
);
|
|
12439
|
+
}
|
|
12440
|
+
|
|
12266
12441
|
/**
|
|
12267
12442
|
* Get a report of the billable license usages
|
|
12268
12443
|
* 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.
|
|
@@ -12324,11 +12499,925 @@ class BillingApi {
|
|
|
12324
12499
|
|
|
12325
12500
|
}
|
|
12326
12501
|
|
|
12502
|
+
class BusinessRulesApi {
|
|
12503
|
+
/**
|
|
12504
|
+
* BusinessRules service.
|
|
12505
|
+
* @module purecloud-platform-client-v2/api/BusinessRulesApi
|
|
12506
|
+
* @version 221.0.0
|
|
12507
|
+
*/
|
|
12508
|
+
|
|
12509
|
+
/**
|
|
12510
|
+
* Constructs a new BusinessRulesApi.
|
|
12511
|
+
* @alias module:purecloud-platform-client-v2/api/BusinessRulesApi
|
|
12512
|
+
* @class
|
|
12513
|
+
* @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
|
|
12514
|
+
* default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
|
|
12515
|
+
*/
|
|
12516
|
+
constructor(apiClient) {
|
|
12517
|
+
this.apiClient = apiClient || ApiClient.instance;
|
|
12518
|
+
}
|
|
12519
|
+
|
|
12520
|
+
|
|
12521
|
+
/**
|
|
12522
|
+
* Delete a decision table
|
|
12523
|
+
*
|
|
12524
|
+
* @param {String} tableId Table ID
|
|
12525
|
+
* @param {Object} opts Optional parameters
|
|
12526
|
+
* @param {Boolean} opts.forceDelete Force delete decision table (under certain conditions) (default to false)
|
|
12527
|
+
* deleteBusinessrulesDecisiontable is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12528
|
+
*/
|
|
12529
|
+
deleteBusinessrulesDecisiontable(tableId, opts) {
|
|
12530
|
+
opts = opts || {};
|
|
12531
|
+
|
|
12532
|
+
// verify the required parameter 'tableId' is set
|
|
12533
|
+
if (tableId === undefined || tableId === null) {
|
|
12534
|
+
throw 'Missing the required parameter "tableId" when calling deleteBusinessrulesDecisiontable';
|
|
12535
|
+
}
|
|
12536
|
+
|
|
12537
|
+
return this.apiClient.callApi(
|
|
12538
|
+
'/api/v2/businessrules/decisiontables/{tableId}',
|
|
12539
|
+
'DELETE',
|
|
12540
|
+
{ 'tableId': tableId },
|
|
12541
|
+
{ 'forceDelete': opts['forceDelete'] },
|
|
12542
|
+
{ },
|
|
12543
|
+
{ },
|
|
12544
|
+
null,
|
|
12545
|
+
['PureCloud OAuth'],
|
|
12546
|
+
['application/json'],
|
|
12547
|
+
['application/json']
|
|
12548
|
+
);
|
|
12549
|
+
}
|
|
12550
|
+
|
|
12551
|
+
/**
|
|
12552
|
+
* Delete a decision table version
|
|
12553
|
+
*
|
|
12554
|
+
* @param {String} tableId Table ID
|
|
12555
|
+
* @param {Number} tableVersion Table Version
|
|
12556
|
+
* deleteBusinessrulesDecisiontableVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12557
|
+
*/
|
|
12558
|
+
deleteBusinessrulesDecisiontableVersion(tableId, tableVersion) {
|
|
12559
|
+
// verify the required parameter 'tableId' is set
|
|
12560
|
+
if (tableId === undefined || tableId === null) {
|
|
12561
|
+
throw 'Missing the required parameter "tableId" when calling deleteBusinessrulesDecisiontableVersion';
|
|
12562
|
+
}
|
|
12563
|
+
// verify the required parameter 'tableVersion' is set
|
|
12564
|
+
if (tableVersion === undefined || tableVersion === null) {
|
|
12565
|
+
throw 'Missing the required parameter "tableVersion" when calling deleteBusinessrulesDecisiontableVersion';
|
|
12566
|
+
}
|
|
12567
|
+
|
|
12568
|
+
return this.apiClient.callApi(
|
|
12569
|
+
'/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}',
|
|
12570
|
+
'DELETE',
|
|
12571
|
+
{ 'tableId': tableId,'tableVersion': tableVersion },
|
|
12572
|
+
{ },
|
|
12573
|
+
{ },
|
|
12574
|
+
{ },
|
|
12575
|
+
null,
|
|
12576
|
+
['PureCloud OAuth'],
|
|
12577
|
+
['application/json'],
|
|
12578
|
+
['application/json']
|
|
12579
|
+
);
|
|
12580
|
+
}
|
|
12581
|
+
|
|
12582
|
+
/**
|
|
12583
|
+
* Delete a decision table row
|
|
12584
|
+
*
|
|
12585
|
+
* @param {String} tableId Table ID
|
|
12586
|
+
* @param {Number} tableVersion Table Version
|
|
12587
|
+
* @param {String} rowId Row ID
|
|
12588
|
+
* deleteBusinessrulesDecisiontableVersionRow is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12589
|
+
*/
|
|
12590
|
+
deleteBusinessrulesDecisiontableVersionRow(tableId, tableVersion, rowId) {
|
|
12591
|
+
// verify the required parameter 'tableId' is set
|
|
12592
|
+
if (tableId === undefined || tableId === null) {
|
|
12593
|
+
throw 'Missing the required parameter "tableId" when calling deleteBusinessrulesDecisiontableVersionRow';
|
|
12594
|
+
}
|
|
12595
|
+
// verify the required parameter 'tableVersion' is set
|
|
12596
|
+
if (tableVersion === undefined || tableVersion === null) {
|
|
12597
|
+
throw 'Missing the required parameter "tableVersion" when calling deleteBusinessrulesDecisiontableVersionRow';
|
|
12598
|
+
}
|
|
12599
|
+
// verify the required parameter 'rowId' is set
|
|
12600
|
+
if (rowId === undefined || rowId === null) {
|
|
12601
|
+
throw 'Missing the required parameter "rowId" when calling deleteBusinessrulesDecisiontableVersionRow';
|
|
12602
|
+
}
|
|
12603
|
+
|
|
12604
|
+
return this.apiClient.callApi(
|
|
12605
|
+
'/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}/rows/{rowId}',
|
|
12606
|
+
'DELETE',
|
|
12607
|
+
{ 'tableId': tableId,'tableVersion': tableVersion,'rowId': rowId },
|
|
12608
|
+
{ },
|
|
12609
|
+
{ },
|
|
12610
|
+
{ },
|
|
12611
|
+
null,
|
|
12612
|
+
['PureCloud OAuth'],
|
|
12613
|
+
['application/json'],
|
|
12614
|
+
['application/json']
|
|
12615
|
+
);
|
|
12616
|
+
}
|
|
12617
|
+
|
|
12618
|
+
/**
|
|
12619
|
+
* Delete a schema
|
|
12620
|
+
*
|
|
12621
|
+
* @param {String} schemaId Schema ID
|
|
12622
|
+
* deleteBusinessrulesSchema is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12623
|
+
*/
|
|
12624
|
+
deleteBusinessrulesSchema(schemaId) {
|
|
12625
|
+
// verify the required parameter 'schemaId' is set
|
|
12626
|
+
if (schemaId === undefined || schemaId === null) {
|
|
12627
|
+
throw 'Missing the required parameter "schemaId" when calling deleteBusinessrulesSchema';
|
|
12628
|
+
}
|
|
12629
|
+
|
|
12630
|
+
return this.apiClient.callApi(
|
|
12631
|
+
'/api/v2/businessrules/schemas/{schemaId}',
|
|
12632
|
+
'DELETE',
|
|
12633
|
+
{ 'schemaId': schemaId },
|
|
12634
|
+
{ },
|
|
12635
|
+
{ },
|
|
12636
|
+
{ },
|
|
12637
|
+
null,
|
|
12638
|
+
['PureCloud OAuth'],
|
|
12639
|
+
['application/json'],
|
|
12640
|
+
['application/json']
|
|
12641
|
+
);
|
|
12642
|
+
}
|
|
12643
|
+
|
|
12644
|
+
/**
|
|
12645
|
+
* Get a decision table
|
|
12646
|
+
*
|
|
12647
|
+
* @param {String} tableId Table ID
|
|
12648
|
+
* getBusinessrulesDecisiontable is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12649
|
+
*/
|
|
12650
|
+
getBusinessrulesDecisiontable(tableId) {
|
|
12651
|
+
// verify the required parameter 'tableId' is set
|
|
12652
|
+
if (tableId === undefined || tableId === null) {
|
|
12653
|
+
throw 'Missing the required parameter "tableId" when calling getBusinessrulesDecisiontable';
|
|
12654
|
+
}
|
|
12655
|
+
|
|
12656
|
+
return this.apiClient.callApi(
|
|
12657
|
+
'/api/v2/businessrules/decisiontables/{tableId}',
|
|
12658
|
+
'GET',
|
|
12659
|
+
{ 'tableId': tableId },
|
|
12660
|
+
{ },
|
|
12661
|
+
{ },
|
|
12662
|
+
{ },
|
|
12663
|
+
null,
|
|
12664
|
+
['PureCloud OAuth'],
|
|
12665
|
+
['application/json'],
|
|
12666
|
+
['application/json']
|
|
12667
|
+
);
|
|
12668
|
+
}
|
|
12669
|
+
|
|
12670
|
+
/**
|
|
12671
|
+
* Get a decision table version
|
|
12672
|
+
*
|
|
12673
|
+
* @param {String} tableId Table ID
|
|
12674
|
+
* @param {Number} tableVersion Table Version
|
|
12675
|
+
* getBusinessrulesDecisiontableVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12676
|
+
*/
|
|
12677
|
+
getBusinessrulesDecisiontableVersion(tableId, tableVersion) {
|
|
12678
|
+
// verify the required parameter 'tableId' is set
|
|
12679
|
+
if (tableId === undefined || tableId === null) {
|
|
12680
|
+
throw 'Missing the required parameter "tableId" when calling getBusinessrulesDecisiontableVersion';
|
|
12681
|
+
}
|
|
12682
|
+
// verify the required parameter 'tableVersion' is set
|
|
12683
|
+
if (tableVersion === undefined || tableVersion === null) {
|
|
12684
|
+
throw 'Missing the required parameter "tableVersion" when calling getBusinessrulesDecisiontableVersion';
|
|
12685
|
+
}
|
|
12686
|
+
|
|
12687
|
+
return this.apiClient.callApi(
|
|
12688
|
+
'/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}',
|
|
12689
|
+
'GET',
|
|
12690
|
+
{ 'tableId': tableId,'tableVersion': tableVersion },
|
|
12691
|
+
{ },
|
|
12692
|
+
{ },
|
|
12693
|
+
{ },
|
|
12694
|
+
null,
|
|
12695
|
+
['PureCloud OAuth'],
|
|
12696
|
+
['application/json'],
|
|
12697
|
+
['application/json']
|
|
12698
|
+
);
|
|
12699
|
+
}
|
|
12700
|
+
|
|
12701
|
+
/**
|
|
12702
|
+
* Get a decision table row
|
|
12703
|
+
*
|
|
12704
|
+
* @param {String} tableId Table ID
|
|
12705
|
+
* @param {Number} tableVersion Table Version
|
|
12706
|
+
* @param {String} rowId Row ID
|
|
12707
|
+
* getBusinessrulesDecisiontableVersionRow is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12708
|
+
*/
|
|
12709
|
+
getBusinessrulesDecisiontableVersionRow(tableId, tableVersion, rowId) {
|
|
12710
|
+
// verify the required parameter 'tableId' is set
|
|
12711
|
+
if (tableId === undefined || tableId === null) {
|
|
12712
|
+
throw 'Missing the required parameter "tableId" when calling getBusinessrulesDecisiontableVersionRow';
|
|
12713
|
+
}
|
|
12714
|
+
// verify the required parameter 'tableVersion' is set
|
|
12715
|
+
if (tableVersion === undefined || tableVersion === null) {
|
|
12716
|
+
throw 'Missing the required parameter "tableVersion" when calling getBusinessrulesDecisiontableVersionRow';
|
|
12717
|
+
}
|
|
12718
|
+
// verify the required parameter 'rowId' is set
|
|
12719
|
+
if (rowId === undefined || rowId === null) {
|
|
12720
|
+
throw 'Missing the required parameter "rowId" when calling getBusinessrulesDecisiontableVersionRow';
|
|
12721
|
+
}
|
|
12722
|
+
|
|
12723
|
+
return this.apiClient.callApi(
|
|
12724
|
+
'/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}/rows/{rowId}',
|
|
12725
|
+
'GET',
|
|
12726
|
+
{ 'tableId': tableId,'tableVersion': tableVersion,'rowId': rowId },
|
|
12727
|
+
{ },
|
|
12728
|
+
{ },
|
|
12729
|
+
{ },
|
|
12730
|
+
null,
|
|
12731
|
+
['PureCloud OAuth'],
|
|
12732
|
+
['application/json'],
|
|
12733
|
+
['application/json']
|
|
12734
|
+
);
|
|
12735
|
+
}
|
|
12736
|
+
|
|
12737
|
+
/**
|
|
12738
|
+
* Get a list of decision table rows.
|
|
12739
|
+
*
|
|
12740
|
+
* @param {String} tableId Table ID
|
|
12741
|
+
* @param {Number} tableVersion Table Version
|
|
12742
|
+
* @param {Object} opts Optional parameters
|
|
12743
|
+
* @param {String} opts.pageNumber Page number of the entities to return. Defaults to 1.
|
|
12744
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 100. Defaults to 25.
|
|
12745
|
+
* getBusinessrulesDecisiontableVersionRows is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12746
|
+
*/
|
|
12747
|
+
getBusinessrulesDecisiontableVersionRows(tableId, tableVersion, opts) {
|
|
12748
|
+
opts = opts || {};
|
|
12749
|
+
|
|
12750
|
+
// verify the required parameter 'tableId' is set
|
|
12751
|
+
if (tableId === undefined || tableId === null) {
|
|
12752
|
+
throw 'Missing the required parameter "tableId" when calling getBusinessrulesDecisiontableVersionRows';
|
|
12753
|
+
}
|
|
12754
|
+
// verify the required parameter 'tableVersion' is set
|
|
12755
|
+
if (tableVersion === undefined || tableVersion === null) {
|
|
12756
|
+
throw 'Missing the required parameter "tableVersion" when calling getBusinessrulesDecisiontableVersionRows';
|
|
12757
|
+
}
|
|
12758
|
+
|
|
12759
|
+
return this.apiClient.callApi(
|
|
12760
|
+
'/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}/rows',
|
|
12761
|
+
'GET',
|
|
12762
|
+
{ 'tableId': tableId,'tableVersion': tableVersion },
|
|
12763
|
+
{ 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'] },
|
|
12764
|
+
{ },
|
|
12765
|
+
{ },
|
|
12766
|
+
null,
|
|
12767
|
+
['PureCloud OAuth'],
|
|
12768
|
+
['application/json'],
|
|
12769
|
+
['application/json']
|
|
12770
|
+
);
|
|
12771
|
+
}
|
|
12772
|
+
|
|
12773
|
+
/**
|
|
12774
|
+
* Get a list of decision table versions
|
|
12775
|
+
*
|
|
12776
|
+
* @param {String} tableId Table ID
|
|
12777
|
+
* @param {Object} opts Optional parameters
|
|
12778
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
12779
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
12780
|
+
* @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.
|
|
12781
|
+
* getBusinessrulesDecisiontableVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12782
|
+
*/
|
|
12783
|
+
getBusinessrulesDecisiontableVersions(tableId, opts) {
|
|
12784
|
+
opts = opts || {};
|
|
12785
|
+
|
|
12786
|
+
// verify the required parameter 'tableId' is set
|
|
12787
|
+
if (tableId === undefined || tableId === null) {
|
|
12788
|
+
throw 'Missing the required parameter "tableId" when calling getBusinessrulesDecisiontableVersions';
|
|
12789
|
+
}
|
|
12790
|
+
|
|
12791
|
+
return this.apiClient.callApi(
|
|
12792
|
+
'/api/v2/businessrules/decisiontables/{tableId}/versions',
|
|
12793
|
+
'GET',
|
|
12794
|
+
{ 'tableId': tableId },
|
|
12795
|
+
{ 'after': opts['after'],'pageSize': opts['pageSize'],'divisionIds': this.apiClient.buildCollectionParam(opts['divisionIds'], 'multi') },
|
|
12796
|
+
{ },
|
|
12797
|
+
{ },
|
|
12798
|
+
null,
|
|
12799
|
+
['PureCloud OAuth'],
|
|
12800
|
+
['application/json'],
|
|
12801
|
+
['application/json']
|
|
12802
|
+
);
|
|
12803
|
+
}
|
|
12804
|
+
|
|
12805
|
+
/**
|
|
12806
|
+
* Get a list of decision tables.
|
|
12807
|
+
*
|
|
12808
|
+
* @param {Object} opts Optional parameters
|
|
12809
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
12810
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
12811
|
+
* @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.
|
|
12812
|
+
* getBusinessrulesDecisiontables is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12813
|
+
*/
|
|
12814
|
+
getBusinessrulesDecisiontables(opts) {
|
|
12815
|
+
opts = opts || {};
|
|
12816
|
+
|
|
12817
|
+
|
|
12818
|
+
return this.apiClient.callApi(
|
|
12819
|
+
'/api/v2/businessrules/decisiontables',
|
|
12820
|
+
'GET',
|
|
12821
|
+
{ },
|
|
12822
|
+
{ 'after': opts['after'],'pageSize': opts['pageSize'],'divisionIds': this.apiClient.buildCollectionParam(opts['divisionIds'], 'multi') },
|
|
12823
|
+
{ },
|
|
12824
|
+
{ },
|
|
12825
|
+
null,
|
|
12826
|
+
['PureCloud OAuth'],
|
|
12827
|
+
['application/json'],
|
|
12828
|
+
['application/json']
|
|
12829
|
+
);
|
|
12830
|
+
}
|
|
12831
|
+
|
|
12832
|
+
/**
|
|
12833
|
+
* Search for decision tables.
|
|
12834
|
+
*
|
|
12835
|
+
* @param {Object} opts Optional parameters
|
|
12836
|
+
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
12837
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
12838
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
12839
|
+
* @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.
|
|
12840
|
+
* @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.
|
|
12841
|
+
* getBusinessrulesDecisiontablesSearch is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12842
|
+
*/
|
|
12843
|
+
getBusinessrulesDecisiontablesSearch(opts) {
|
|
12844
|
+
opts = opts || {};
|
|
12845
|
+
|
|
12846
|
+
|
|
12847
|
+
return this.apiClient.callApi(
|
|
12848
|
+
'/api/v2/businessrules/decisiontables/search',
|
|
12849
|
+
'GET',
|
|
12850
|
+
{ },
|
|
12851
|
+
{ 'before': opts['before'],'after': opts['after'],'pageSize': opts['pageSize'],'schemaId': opts['schemaId'],'name': opts['name'] },
|
|
12852
|
+
{ },
|
|
12853
|
+
{ },
|
|
12854
|
+
null,
|
|
12855
|
+
['PureCloud OAuth'],
|
|
12856
|
+
['application/json'],
|
|
12857
|
+
['application/json']
|
|
12858
|
+
);
|
|
12859
|
+
}
|
|
12860
|
+
|
|
12861
|
+
/**
|
|
12862
|
+
* Get a schema
|
|
12863
|
+
*
|
|
12864
|
+
* @param {String} schemaId Schema ID
|
|
12865
|
+
* getBusinessrulesSchema is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12866
|
+
*/
|
|
12867
|
+
getBusinessrulesSchema(schemaId) {
|
|
12868
|
+
// verify the required parameter 'schemaId' is set
|
|
12869
|
+
if (schemaId === undefined || schemaId === null) {
|
|
12870
|
+
throw 'Missing the required parameter "schemaId" when calling getBusinessrulesSchema';
|
|
12871
|
+
}
|
|
12872
|
+
|
|
12873
|
+
return this.apiClient.callApi(
|
|
12874
|
+
'/api/v2/businessrules/schemas/{schemaId}',
|
|
12875
|
+
'GET',
|
|
12876
|
+
{ 'schemaId': schemaId },
|
|
12877
|
+
{ },
|
|
12878
|
+
{ },
|
|
12879
|
+
{ },
|
|
12880
|
+
null,
|
|
12881
|
+
['PureCloud OAuth'],
|
|
12882
|
+
['application/json'],
|
|
12883
|
+
['application/json']
|
|
12884
|
+
);
|
|
12885
|
+
}
|
|
12886
|
+
|
|
12887
|
+
/**
|
|
12888
|
+
* Get a list of schemas.
|
|
12889
|
+
*
|
|
12890
|
+
* getBusinessrulesSchemas is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12891
|
+
*/
|
|
12892
|
+
getBusinessrulesSchemas() {
|
|
12893
|
+
|
|
12894
|
+
return this.apiClient.callApi(
|
|
12895
|
+
'/api/v2/businessrules/schemas',
|
|
12896
|
+
'GET',
|
|
12897
|
+
{ },
|
|
12898
|
+
{ },
|
|
12899
|
+
{ },
|
|
12900
|
+
{ },
|
|
12901
|
+
null,
|
|
12902
|
+
['PureCloud OAuth'],
|
|
12903
|
+
['application/json'],
|
|
12904
|
+
['application/json']
|
|
12905
|
+
);
|
|
12906
|
+
}
|
|
12907
|
+
|
|
12908
|
+
/**
|
|
12909
|
+
* Get a specific named core type.
|
|
12910
|
+
*
|
|
12911
|
+
* @param {String} coreTypeName The core type's name
|
|
12912
|
+
* getBusinessrulesSchemasCoretype is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12913
|
+
*/
|
|
12914
|
+
getBusinessrulesSchemasCoretype(coreTypeName) {
|
|
12915
|
+
// verify the required parameter 'coreTypeName' is set
|
|
12916
|
+
if (coreTypeName === undefined || coreTypeName === null) {
|
|
12917
|
+
throw 'Missing the required parameter "coreTypeName" when calling getBusinessrulesSchemasCoretype';
|
|
12918
|
+
}
|
|
12919
|
+
|
|
12920
|
+
return this.apiClient.callApi(
|
|
12921
|
+
'/api/v2/businessrules/schemas/coretypes/{coreTypeName}',
|
|
12922
|
+
'GET',
|
|
12923
|
+
{ 'coreTypeName': coreTypeName },
|
|
12924
|
+
{ },
|
|
12925
|
+
{ },
|
|
12926
|
+
{ },
|
|
12927
|
+
null,
|
|
12928
|
+
['PureCloud OAuth'],
|
|
12929
|
+
['application/json'],
|
|
12930
|
+
['application/json']
|
|
12931
|
+
);
|
|
12932
|
+
}
|
|
12933
|
+
|
|
12934
|
+
/**
|
|
12935
|
+
* Get the core types from which all schemas are built.
|
|
12936
|
+
*
|
|
12937
|
+
* getBusinessrulesSchemasCoretypes is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12938
|
+
*/
|
|
12939
|
+
getBusinessrulesSchemasCoretypes() {
|
|
12940
|
+
|
|
12941
|
+
return this.apiClient.callApi(
|
|
12942
|
+
'/api/v2/businessrules/schemas/coretypes',
|
|
12943
|
+
'GET',
|
|
12944
|
+
{ },
|
|
12945
|
+
{ },
|
|
12946
|
+
{ },
|
|
12947
|
+
{ },
|
|
12948
|
+
null,
|
|
12949
|
+
['PureCloud OAuth'],
|
|
12950
|
+
['application/json'],
|
|
12951
|
+
['application/json']
|
|
12952
|
+
);
|
|
12953
|
+
}
|
|
12954
|
+
|
|
12955
|
+
/**
|
|
12956
|
+
* Update a decision table
|
|
12957
|
+
*
|
|
12958
|
+
* @param {String} tableId Table ID
|
|
12959
|
+
* @param {Object} body Decision Table
|
|
12960
|
+
* patchBusinessrulesDecisiontable is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12961
|
+
*/
|
|
12962
|
+
patchBusinessrulesDecisiontable(tableId, body) {
|
|
12963
|
+
// verify the required parameter 'tableId' is set
|
|
12964
|
+
if (tableId === undefined || tableId === null) {
|
|
12965
|
+
throw 'Missing the required parameter "tableId" when calling patchBusinessrulesDecisiontable';
|
|
12966
|
+
}
|
|
12967
|
+
// verify the required parameter 'body' is set
|
|
12968
|
+
if (body === undefined || body === null) {
|
|
12969
|
+
throw 'Missing the required parameter "body" when calling patchBusinessrulesDecisiontable';
|
|
12970
|
+
}
|
|
12971
|
+
|
|
12972
|
+
return this.apiClient.callApi(
|
|
12973
|
+
'/api/v2/businessrules/decisiontables/{tableId}',
|
|
12974
|
+
'PATCH',
|
|
12975
|
+
{ 'tableId': tableId },
|
|
12976
|
+
{ },
|
|
12977
|
+
{ },
|
|
12978
|
+
{ },
|
|
12979
|
+
body,
|
|
12980
|
+
['PureCloud OAuth'],
|
|
12981
|
+
['application/json'],
|
|
12982
|
+
['application/json']
|
|
12983
|
+
);
|
|
12984
|
+
}
|
|
12985
|
+
|
|
12986
|
+
/**
|
|
12987
|
+
* Update a decision table version
|
|
12988
|
+
*
|
|
12989
|
+
* @param {String} tableId Table ID
|
|
12990
|
+
* @param {Number} tableVersion Table Version
|
|
12991
|
+
* @param {Object} body Decision Table
|
|
12992
|
+
* patchBusinessrulesDecisiontableVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12993
|
+
*/
|
|
12994
|
+
patchBusinessrulesDecisiontableVersion(tableId, tableVersion, body) {
|
|
12995
|
+
// verify the required parameter 'tableId' is set
|
|
12996
|
+
if (tableId === undefined || tableId === null) {
|
|
12997
|
+
throw 'Missing the required parameter "tableId" when calling patchBusinessrulesDecisiontableVersion';
|
|
12998
|
+
}
|
|
12999
|
+
// verify the required parameter 'tableVersion' is set
|
|
13000
|
+
if (tableVersion === undefined || tableVersion === null) {
|
|
13001
|
+
throw 'Missing the required parameter "tableVersion" when calling patchBusinessrulesDecisiontableVersion';
|
|
13002
|
+
}
|
|
13003
|
+
// verify the required parameter 'body' is set
|
|
13004
|
+
if (body === undefined || body === null) {
|
|
13005
|
+
throw 'Missing the required parameter "body" when calling patchBusinessrulesDecisiontableVersion';
|
|
13006
|
+
}
|
|
13007
|
+
|
|
13008
|
+
return this.apiClient.callApi(
|
|
13009
|
+
'/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}',
|
|
13010
|
+
'PATCH',
|
|
13011
|
+
{ 'tableId': tableId,'tableVersion': tableVersion },
|
|
13012
|
+
{ },
|
|
13013
|
+
{ },
|
|
13014
|
+
{ },
|
|
13015
|
+
body,
|
|
13016
|
+
['PureCloud OAuth'],
|
|
13017
|
+
['application/json'],
|
|
13018
|
+
['application/json']
|
|
13019
|
+
);
|
|
13020
|
+
}
|
|
13021
|
+
|
|
13022
|
+
/**
|
|
13023
|
+
* Update a decision table row
|
|
13024
|
+
*
|
|
13025
|
+
* @param {String} tableId Table ID
|
|
13026
|
+
* @param {Number} tableVersion Table Version
|
|
13027
|
+
* @param {String} rowId Row ID
|
|
13028
|
+
* @param {Object} body Update decision table row request
|
|
13029
|
+
* patchBusinessrulesDecisiontableVersionRow is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13030
|
+
*/
|
|
13031
|
+
patchBusinessrulesDecisiontableVersionRow(tableId, tableVersion, rowId, body) {
|
|
13032
|
+
// verify the required parameter 'tableId' is set
|
|
13033
|
+
if (tableId === undefined || tableId === null) {
|
|
13034
|
+
throw 'Missing the required parameter "tableId" when calling patchBusinessrulesDecisiontableVersionRow';
|
|
13035
|
+
}
|
|
13036
|
+
// verify the required parameter 'tableVersion' is set
|
|
13037
|
+
if (tableVersion === undefined || tableVersion === null) {
|
|
13038
|
+
throw 'Missing the required parameter "tableVersion" when calling patchBusinessrulesDecisiontableVersionRow';
|
|
13039
|
+
}
|
|
13040
|
+
// verify the required parameter 'rowId' is set
|
|
13041
|
+
if (rowId === undefined || rowId === null) {
|
|
13042
|
+
throw 'Missing the required parameter "rowId" when calling patchBusinessrulesDecisiontableVersionRow';
|
|
13043
|
+
}
|
|
13044
|
+
// verify the required parameter 'body' is set
|
|
13045
|
+
if (body === undefined || body === null) {
|
|
13046
|
+
throw 'Missing the required parameter "body" when calling patchBusinessrulesDecisiontableVersionRow';
|
|
13047
|
+
}
|
|
13048
|
+
|
|
13049
|
+
return this.apiClient.callApi(
|
|
13050
|
+
'/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}/rows/{rowId}',
|
|
13051
|
+
'PATCH',
|
|
13052
|
+
{ 'tableId': tableId,'tableVersion': tableVersion,'rowId': rowId },
|
|
13053
|
+
{ },
|
|
13054
|
+
{ },
|
|
13055
|
+
{ },
|
|
13056
|
+
body,
|
|
13057
|
+
['PureCloud OAuth'],
|
|
13058
|
+
['application/json'],
|
|
13059
|
+
['application/json']
|
|
13060
|
+
);
|
|
13061
|
+
}
|
|
13062
|
+
|
|
13063
|
+
/**
|
|
13064
|
+
* Execute a published decision table
|
|
13065
|
+
*
|
|
13066
|
+
* @param {String} tableId Table ID
|
|
13067
|
+
* @param {Object} body Decision Table
|
|
13068
|
+
* postBusinessrulesDecisiontableExecute is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13069
|
+
*/
|
|
13070
|
+
postBusinessrulesDecisiontableExecute(tableId, body) {
|
|
13071
|
+
// verify the required parameter 'tableId' is set
|
|
13072
|
+
if (tableId === undefined || tableId === null) {
|
|
13073
|
+
throw 'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableExecute';
|
|
13074
|
+
}
|
|
13075
|
+
// verify the required parameter 'body' is set
|
|
13076
|
+
if (body === undefined || body === null) {
|
|
13077
|
+
throw 'Missing the required parameter "body" when calling postBusinessrulesDecisiontableExecute';
|
|
13078
|
+
}
|
|
13079
|
+
|
|
13080
|
+
return this.apiClient.callApi(
|
|
13081
|
+
'/api/v2/businessrules/decisiontables/{tableId}/execute',
|
|
13082
|
+
'POST',
|
|
13083
|
+
{ 'tableId': tableId },
|
|
13084
|
+
{ },
|
|
13085
|
+
{ },
|
|
13086
|
+
{ },
|
|
13087
|
+
body,
|
|
13088
|
+
['PureCloud OAuth'],
|
|
13089
|
+
['application/json'],
|
|
13090
|
+
['application/json']
|
|
13091
|
+
);
|
|
13092
|
+
}
|
|
13093
|
+
|
|
13094
|
+
/**
|
|
13095
|
+
* Copy a decision table version
|
|
13096
|
+
*
|
|
13097
|
+
* @param {String} tableId Table ID
|
|
13098
|
+
* @param {Number} tableVersion Table Version
|
|
13099
|
+
* @param {Object} body Decision Table
|
|
13100
|
+
* postBusinessrulesDecisiontableVersionCopy is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13101
|
+
*/
|
|
13102
|
+
postBusinessrulesDecisiontableVersionCopy(tableId, tableVersion, body) {
|
|
13103
|
+
// verify the required parameter 'tableId' is set
|
|
13104
|
+
if (tableId === undefined || tableId === null) {
|
|
13105
|
+
throw 'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableVersionCopy';
|
|
13106
|
+
}
|
|
13107
|
+
// verify the required parameter 'tableVersion' is set
|
|
13108
|
+
if (tableVersion === undefined || tableVersion === null) {
|
|
13109
|
+
throw 'Missing the required parameter "tableVersion" when calling postBusinessrulesDecisiontableVersionCopy';
|
|
13110
|
+
}
|
|
13111
|
+
// verify the required parameter 'body' is set
|
|
13112
|
+
if (body === undefined || body === null) {
|
|
13113
|
+
throw 'Missing the required parameter "body" when calling postBusinessrulesDecisiontableVersionCopy';
|
|
13114
|
+
}
|
|
13115
|
+
|
|
13116
|
+
return this.apiClient.callApi(
|
|
13117
|
+
'/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}/copy',
|
|
13118
|
+
'POST',
|
|
13119
|
+
{ 'tableId': tableId,'tableVersion': tableVersion },
|
|
13120
|
+
{ },
|
|
13121
|
+
{ },
|
|
13122
|
+
{ },
|
|
13123
|
+
body,
|
|
13124
|
+
['PureCloud OAuth'],
|
|
13125
|
+
['application/json'],
|
|
13126
|
+
['application/json']
|
|
13127
|
+
);
|
|
13128
|
+
}
|
|
13129
|
+
|
|
13130
|
+
/**
|
|
13131
|
+
* Execute a decision table version
|
|
13132
|
+
*
|
|
13133
|
+
* @param {String} tableId Table ID
|
|
13134
|
+
* @param {Number} tableVersion Table Version
|
|
13135
|
+
* @param {Object} body Decision Table
|
|
13136
|
+
* postBusinessrulesDecisiontableVersionExecute is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13137
|
+
*/
|
|
13138
|
+
postBusinessrulesDecisiontableVersionExecute(tableId, tableVersion, body) {
|
|
13139
|
+
// verify the required parameter 'tableId' is set
|
|
13140
|
+
if (tableId === undefined || tableId === null) {
|
|
13141
|
+
throw 'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableVersionExecute';
|
|
13142
|
+
}
|
|
13143
|
+
// verify the required parameter 'tableVersion' is set
|
|
13144
|
+
if (tableVersion === undefined || tableVersion === null) {
|
|
13145
|
+
throw 'Missing the required parameter "tableVersion" when calling postBusinessrulesDecisiontableVersionExecute';
|
|
13146
|
+
}
|
|
13147
|
+
// verify the required parameter 'body' is set
|
|
13148
|
+
if (body === undefined || body === null) {
|
|
13149
|
+
throw 'Missing the required parameter "body" when calling postBusinessrulesDecisiontableVersionExecute';
|
|
13150
|
+
}
|
|
13151
|
+
|
|
13152
|
+
return this.apiClient.callApi(
|
|
13153
|
+
'/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}/execute',
|
|
13154
|
+
'POST',
|
|
13155
|
+
{ 'tableId': tableId,'tableVersion': tableVersion },
|
|
13156
|
+
{ },
|
|
13157
|
+
{ },
|
|
13158
|
+
{ },
|
|
13159
|
+
body,
|
|
13160
|
+
['PureCloud OAuth'],
|
|
13161
|
+
['application/json'],
|
|
13162
|
+
['application/json']
|
|
13163
|
+
);
|
|
13164
|
+
}
|
|
13165
|
+
|
|
13166
|
+
/**
|
|
13167
|
+
* Create a decision table row
|
|
13168
|
+
*
|
|
13169
|
+
* @param {String} tableId Table ID
|
|
13170
|
+
* @param {Number} tableVersion Table Version
|
|
13171
|
+
* @param {Object} body Create decision table row request
|
|
13172
|
+
* postBusinessrulesDecisiontableVersionRows is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13173
|
+
*/
|
|
13174
|
+
postBusinessrulesDecisiontableVersionRows(tableId, tableVersion, body) {
|
|
13175
|
+
// verify the required parameter 'tableId' is set
|
|
13176
|
+
if (tableId === undefined || tableId === null) {
|
|
13177
|
+
throw 'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableVersionRows';
|
|
13178
|
+
}
|
|
13179
|
+
// verify the required parameter 'tableVersion' is set
|
|
13180
|
+
if (tableVersion === undefined || tableVersion === null) {
|
|
13181
|
+
throw 'Missing the required parameter "tableVersion" when calling postBusinessrulesDecisiontableVersionRows';
|
|
13182
|
+
}
|
|
13183
|
+
// verify the required parameter 'body' is set
|
|
13184
|
+
if (body === undefined || body === null) {
|
|
13185
|
+
throw 'Missing the required parameter "body" when calling postBusinessrulesDecisiontableVersionRows';
|
|
13186
|
+
}
|
|
13187
|
+
|
|
13188
|
+
return this.apiClient.callApi(
|
|
13189
|
+
'/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}/rows',
|
|
13190
|
+
'POST',
|
|
13191
|
+
{ 'tableId': tableId,'tableVersion': tableVersion },
|
|
13192
|
+
{ },
|
|
13193
|
+
{ },
|
|
13194
|
+
{ },
|
|
13195
|
+
body,
|
|
13196
|
+
['PureCloud OAuth'],
|
|
13197
|
+
['application/json'],
|
|
13198
|
+
['application/json']
|
|
13199
|
+
);
|
|
13200
|
+
}
|
|
13201
|
+
|
|
13202
|
+
/**
|
|
13203
|
+
* Search for decision table rows
|
|
13204
|
+
*
|
|
13205
|
+
* @param {String} tableId Table ID
|
|
13206
|
+
* @param {Number} tableVersion Table Version
|
|
13207
|
+
* @param {Object} body Search decision table rows request
|
|
13208
|
+
* @param {Object} opts Optional parameters
|
|
13209
|
+
* @param {String} opts.pageNumber Page number of the entities to return. Defaults to 1.
|
|
13210
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 100. Defaults to 25.
|
|
13211
|
+
* postBusinessrulesDecisiontableVersionRowsSearch is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13212
|
+
*/
|
|
13213
|
+
postBusinessrulesDecisiontableVersionRowsSearch(tableId, tableVersion, body, opts) {
|
|
13214
|
+
opts = opts || {};
|
|
13215
|
+
|
|
13216
|
+
// verify the required parameter 'tableId' is set
|
|
13217
|
+
if (tableId === undefined || tableId === null) {
|
|
13218
|
+
throw 'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableVersionRowsSearch';
|
|
13219
|
+
}
|
|
13220
|
+
// verify the required parameter 'tableVersion' is set
|
|
13221
|
+
if (tableVersion === undefined || tableVersion === null) {
|
|
13222
|
+
throw 'Missing the required parameter "tableVersion" when calling postBusinessrulesDecisiontableVersionRowsSearch';
|
|
13223
|
+
}
|
|
13224
|
+
// verify the required parameter 'body' is set
|
|
13225
|
+
if (body === undefined || body === null) {
|
|
13226
|
+
throw 'Missing the required parameter "body" when calling postBusinessrulesDecisiontableVersionRowsSearch';
|
|
13227
|
+
}
|
|
13228
|
+
|
|
13229
|
+
return this.apiClient.callApi(
|
|
13230
|
+
'/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}/rows/search',
|
|
13231
|
+
'POST',
|
|
13232
|
+
{ 'tableId': tableId,'tableVersion': tableVersion },
|
|
13233
|
+
{ 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'] },
|
|
13234
|
+
{ },
|
|
13235
|
+
{ },
|
|
13236
|
+
body,
|
|
13237
|
+
['PureCloud OAuth'],
|
|
13238
|
+
['application/json'],
|
|
13239
|
+
['application/json']
|
|
13240
|
+
);
|
|
13241
|
+
}
|
|
13242
|
+
|
|
13243
|
+
/**
|
|
13244
|
+
* Update the Business Rules Schema to the latest version for a given decision table version
|
|
13245
|
+
*
|
|
13246
|
+
* @param {String} tableId Table ID
|
|
13247
|
+
* @param {Number} tableVersion Table Version
|
|
13248
|
+
* postBusinessrulesDecisiontableVersionSync is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13249
|
+
*/
|
|
13250
|
+
postBusinessrulesDecisiontableVersionSync(tableId, tableVersion) {
|
|
13251
|
+
// verify the required parameter 'tableId' is set
|
|
13252
|
+
if (tableId === undefined || tableId === null) {
|
|
13253
|
+
throw 'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableVersionSync';
|
|
13254
|
+
}
|
|
13255
|
+
// verify the required parameter 'tableVersion' is set
|
|
13256
|
+
if (tableVersion === undefined || tableVersion === null) {
|
|
13257
|
+
throw 'Missing the required parameter "tableVersion" when calling postBusinessrulesDecisiontableVersionSync';
|
|
13258
|
+
}
|
|
13259
|
+
|
|
13260
|
+
return this.apiClient.callApi(
|
|
13261
|
+
'/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}/sync',
|
|
13262
|
+
'POST',
|
|
13263
|
+
{ 'tableId': tableId,'tableVersion': tableVersion },
|
|
13264
|
+
{ },
|
|
13265
|
+
{ },
|
|
13266
|
+
{ },
|
|
13267
|
+
null,
|
|
13268
|
+
['PureCloud OAuth'],
|
|
13269
|
+
['application/json'],
|
|
13270
|
+
['application/json']
|
|
13271
|
+
);
|
|
13272
|
+
}
|
|
13273
|
+
|
|
13274
|
+
/**
|
|
13275
|
+
* Create a new decision table version
|
|
13276
|
+
*
|
|
13277
|
+
* @param {String} tableId Table ID
|
|
13278
|
+
* postBusinessrulesDecisiontableVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13279
|
+
*/
|
|
13280
|
+
postBusinessrulesDecisiontableVersions(tableId) {
|
|
13281
|
+
// verify the required parameter 'tableId' is set
|
|
13282
|
+
if (tableId === undefined || tableId === null) {
|
|
13283
|
+
throw 'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableVersions';
|
|
13284
|
+
}
|
|
13285
|
+
|
|
13286
|
+
return this.apiClient.callApi(
|
|
13287
|
+
'/api/v2/businessrules/decisiontables/{tableId}/versions',
|
|
13288
|
+
'POST',
|
|
13289
|
+
{ 'tableId': tableId },
|
|
13290
|
+
{ },
|
|
13291
|
+
{ },
|
|
13292
|
+
{ },
|
|
13293
|
+
null,
|
|
13294
|
+
['PureCloud OAuth'],
|
|
13295
|
+
['application/json'],
|
|
13296
|
+
['application/json']
|
|
13297
|
+
);
|
|
13298
|
+
}
|
|
13299
|
+
|
|
13300
|
+
/**
|
|
13301
|
+
* Create a decision table
|
|
13302
|
+
*
|
|
13303
|
+
* @param {Object} body Decision Table
|
|
13304
|
+
* postBusinessrulesDecisiontables is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13305
|
+
*/
|
|
13306
|
+
postBusinessrulesDecisiontables(body) {
|
|
13307
|
+
// verify the required parameter 'body' is set
|
|
13308
|
+
if (body === undefined || body === null) {
|
|
13309
|
+
throw 'Missing the required parameter "body" when calling postBusinessrulesDecisiontables';
|
|
13310
|
+
}
|
|
13311
|
+
|
|
13312
|
+
return this.apiClient.callApi(
|
|
13313
|
+
'/api/v2/businessrules/decisiontables',
|
|
13314
|
+
'POST',
|
|
13315
|
+
{ },
|
|
13316
|
+
{ },
|
|
13317
|
+
{ },
|
|
13318
|
+
{ },
|
|
13319
|
+
body,
|
|
13320
|
+
['PureCloud OAuth'],
|
|
13321
|
+
['application/json'],
|
|
13322
|
+
['application/json']
|
|
13323
|
+
);
|
|
13324
|
+
}
|
|
13325
|
+
|
|
13326
|
+
/**
|
|
13327
|
+
* Create a schema
|
|
13328
|
+
*
|
|
13329
|
+
* @param {Object} body Schema
|
|
13330
|
+
* postBusinessrulesSchemas is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13331
|
+
*/
|
|
13332
|
+
postBusinessrulesSchemas(body) {
|
|
13333
|
+
// verify the required parameter 'body' is set
|
|
13334
|
+
if (body === undefined || body === null) {
|
|
13335
|
+
throw 'Missing the required parameter "body" when calling postBusinessrulesSchemas';
|
|
13336
|
+
}
|
|
13337
|
+
|
|
13338
|
+
return this.apiClient.callApi(
|
|
13339
|
+
'/api/v2/businessrules/schemas',
|
|
13340
|
+
'POST',
|
|
13341
|
+
{ },
|
|
13342
|
+
{ },
|
|
13343
|
+
{ },
|
|
13344
|
+
{ },
|
|
13345
|
+
body,
|
|
13346
|
+
['PureCloud OAuth'],
|
|
13347
|
+
['application/json'],
|
|
13348
|
+
['application/json']
|
|
13349
|
+
);
|
|
13350
|
+
}
|
|
13351
|
+
|
|
13352
|
+
/**
|
|
13353
|
+
* Publish a decision table version
|
|
13354
|
+
*
|
|
13355
|
+
* @param {String} tableId Table ID
|
|
13356
|
+
* @param {Number} tableVersion Table Version
|
|
13357
|
+
* putBusinessrulesDecisiontableVersionPublish is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13358
|
+
*/
|
|
13359
|
+
putBusinessrulesDecisiontableVersionPublish(tableId, tableVersion) {
|
|
13360
|
+
// verify the required parameter 'tableId' is set
|
|
13361
|
+
if (tableId === undefined || tableId === null) {
|
|
13362
|
+
throw 'Missing the required parameter "tableId" when calling putBusinessrulesDecisiontableVersionPublish';
|
|
13363
|
+
}
|
|
13364
|
+
// verify the required parameter 'tableVersion' is set
|
|
13365
|
+
if (tableVersion === undefined || tableVersion === null) {
|
|
13366
|
+
throw 'Missing the required parameter "tableVersion" when calling putBusinessrulesDecisiontableVersionPublish';
|
|
13367
|
+
}
|
|
13368
|
+
|
|
13369
|
+
return this.apiClient.callApi(
|
|
13370
|
+
'/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}/publish',
|
|
13371
|
+
'PUT',
|
|
13372
|
+
{ 'tableId': tableId,'tableVersion': tableVersion },
|
|
13373
|
+
{ },
|
|
13374
|
+
{ },
|
|
13375
|
+
{ },
|
|
13376
|
+
null,
|
|
13377
|
+
['PureCloud OAuth'],
|
|
13378
|
+
['application/json'],
|
|
13379
|
+
['application/json']
|
|
13380
|
+
);
|
|
13381
|
+
}
|
|
13382
|
+
|
|
13383
|
+
/**
|
|
13384
|
+
* Update a schema
|
|
13385
|
+
*
|
|
13386
|
+
* @param {String} schemaId Schema ID
|
|
13387
|
+
* @param {Object} body Data Schema
|
|
13388
|
+
* putBusinessrulesSchema is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13389
|
+
*/
|
|
13390
|
+
putBusinessrulesSchema(schemaId, body) {
|
|
13391
|
+
// verify the required parameter 'schemaId' is set
|
|
13392
|
+
if (schemaId === undefined || schemaId === null) {
|
|
13393
|
+
throw 'Missing the required parameter "schemaId" when calling putBusinessrulesSchema';
|
|
13394
|
+
}
|
|
13395
|
+
// verify the required parameter 'body' is set
|
|
13396
|
+
if (body === undefined || body === null) {
|
|
13397
|
+
throw 'Missing the required parameter "body" when calling putBusinessrulesSchema';
|
|
13398
|
+
}
|
|
13399
|
+
|
|
13400
|
+
return this.apiClient.callApi(
|
|
13401
|
+
'/api/v2/businessrules/schemas/{schemaId}',
|
|
13402
|
+
'PUT',
|
|
13403
|
+
{ 'schemaId': schemaId },
|
|
13404
|
+
{ },
|
|
13405
|
+
{ },
|
|
13406
|
+
{ },
|
|
13407
|
+
body,
|
|
13408
|
+
['PureCloud OAuth'],
|
|
13409
|
+
['application/json'],
|
|
13410
|
+
['application/json']
|
|
13411
|
+
);
|
|
13412
|
+
}
|
|
13413
|
+
|
|
13414
|
+
}
|
|
13415
|
+
|
|
12327
13416
|
class CarrierServicesApi {
|
|
12328
13417
|
/**
|
|
12329
13418
|
* CarrierServices service.
|
|
12330
13419
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
12331
|
-
* @version
|
|
13420
|
+
* @version 221.0.0
|
|
12332
13421
|
*/
|
|
12333
13422
|
|
|
12334
13423
|
/**
|
|
@@ -12398,7 +13487,7 @@ class ChatApi {
|
|
|
12398
13487
|
/**
|
|
12399
13488
|
* Chat service.
|
|
12400
13489
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
12401
|
-
* @version
|
|
13490
|
+
* @version 221.0.0
|
|
12402
13491
|
*/
|
|
12403
13492
|
|
|
12404
13493
|
/**
|
|
@@ -12708,8 +13797,12 @@ class ChatApi {
|
|
|
12708
13797
|
* Get room participants in a room
|
|
12709
13798
|
*
|
|
12710
13799
|
* @param {String} roomJid roomJid
|
|
13800
|
+
* @param {Object} opts Optional parameters
|
|
13801
|
+
* @param {Boolean} opts.notify Whether to get users to notify
|
|
12711
13802
|
*/
|
|
12712
|
-
getChatsRoomParticipants(roomJid) {
|
|
13803
|
+
getChatsRoomParticipants(roomJid, opts) {
|
|
13804
|
+
opts = opts || {};
|
|
13805
|
+
|
|
12713
13806
|
// verify the required parameter 'roomJid' is set
|
|
12714
13807
|
if (roomJid === undefined || roomJid === null) {
|
|
12715
13808
|
throw 'Missing the required parameter "roomJid" when calling getChatsRoomParticipants';
|
|
@@ -12719,7 +13812,7 @@ class ChatApi {
|
|
|
12719
13812
|
'/api/v2/chats/rooms/{roomJid}/participants',
|
|
12720
13813
|
'GET',
|
|
12721
13814
|
{ 'roomJid': roomJid },
|
|
12722
|
-
{
|
|
13815
|
+
{ 'notify': opts['notify'] },
|
|
12723
13816
|
{ },
|
|
12724
13817
|
{ },
|
|
12725
13818
|
null,
|
|
@@ -13327,7 +14420,7 @@ class CoachingApi {
|
|
|
13327
14420
|
/**
|
|
13328
14421
|
* Coaching service.
|
|
13329
14422
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
13330
|
-
* @version
|
|
14423
|
+
* @version 221.0.0
|
|
13331
14424
|
*/
|
|
13332
14425
|
|
|
13333
14426
|
/**
|
|
@@ -13904,7 +14997,7 @@ class ContentManagementApi {
|
|
|
13904
14997
|
/**
|
|
13905
14998
|
* ContentManagement service.
|
|
13906
14999
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
13907
|
-
* @version
|
|
15000
|
+
* @version 221.0.0
|
|
13908
15001
|
*/
|
|
13909
15002
|
|
|
13910
15003
|
/**
|
|
@@ -14985,7 +16078,7 @@ class ConversationsApi {
|
|
|
14985
16078
|
/**
|
|
14986
16079
|
* Conversations service.
|
|
14987
16080
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
14988
|
-
* @version
|
|
16081
|
+
* @version 221.0.0
|
|
14989
16082
|
*/
|
|
14990
16083
|
|
|
14991
16084
|
/**
|
|
@@ -17191,7 +18284,6 @@ class ConversationsApi {
|
|
|
17191
18284
|
* Get Facebook messaging integration identity resolution settings
|
|
17192
18285
|
*
|
|
17193
18286
|
* @param {String} integrationId Integration ID
|
|
17194
|
-
* getConversationsMessagingIdentityresolutionIntegrationsFacebookIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
17195
18287
|
*/
|
|
17196
18288
|
getConversationsMessagingIdentityresolutionIntegrationsFacebookIntegrationId(integrationId) {
|
|
17197
18289
|
// verify the required parameter 'integrationId' is set
|
|
@@ -17217,7 +18309,6 @@ class ConversationsApi {
|
|
|
17217
18309
|
* Get an open messaging integration Identity Resolution settings
|
|
17218
18310
|
*
|
|
17219
18311
|
* @param {String} integrationId Integration ID
|
|
17220
|
-
* getConversationsMessagingIdentityresolutionIntegrationsOpenIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
17221
18312
|
*/
|
|
17222
18313
|
getConversationsMessagingIdentityresolutionIntegrationsOpenIntegrationId(integrationId) {
|
|
17223
18314
|
// verify the required parameter 'integrationId' is set
|
|
@@ -17243,7 +18334,6 @@ class ConversationsApi {
|
|
|
17243
18334
|
* Get a whatsApp integration Identity Resolution settings
|
|
17244
18335
|
*
|
|
17245
18336
|
* @param {String} integrationId Integration ID
|
|
17246
|
-
* getConversationsMessagingIdentityresolutionIntegrationsWhatsappIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
17247
18337
|
*/
|
|
17248
18338
|
getConversationsMessagingIdentityresolutionIntegrationsWhatsappIntegrationId(integrationId) {
|
|
17249
18339
|
// verify the required parameter 'integrationId' is set
|
|
@@ -18073,6 +19163,40 @@ class ConversationsApi {
|
|
|
18073
19163
|
);
|
|
18074
19164
|
}
|
|
18075
19165
|
|
|
19166
|
+
/**
|
|
19167
|
+
* Update agent's engagement for the summary.
|
|
19168
|
+
*
|
|
19169
|
+
* @param {String} conversationId Conversation ID
|
|
19170
|
+
* @param {String} summaryId Summary ID
|
|
19171
|
+
* @param {Object} opts Optional parameters
|
|
19172
|
+
* @param {Object} opts.body
|
|
19173
|
+
*/
|
|
19174
|
+
patchConversationSummaryEngagements(conversationId, summaryId, opts) {
|
|
19175
|
+
opts = opts || {};
|
|
19176
|
+
|
|
19177
|
+
// verify the required parameter 'conversationId' is set
|
|
19178
|
+
if (conversationId === undefined || conversationId === null) {
|
|
19179
|
+
throw 'Missing the required parameter "conversationId" when calling patchConversationSummaryEngagements';
|
|
19180
|
+
}
|
|
19181
|
+
// verify the required parameter 'summaryId' is set
|
|
19182
|
+
if (summaryId === undefined || summaryId === null) {
|
|
19183
|
+
throw 'Missing the required parameter "summaryId" when calling patchConversationSummaryEngagements';
|
|
19184
|
+
}
|
|
19185
|
+
|
|
19186
|
+
return this.apiClient.callApi(
|
|
19187
|
+
'/api/v2/conversations/{conversationId}/summaries/{summaryId}/engagements',
|
|
19188
|
+
'PATCH',
|
|
19189
|
+
{ 'conversationId': conversationId,'summaryId': summaryId },
|
|
19190
|
+
{ },
|
|
19191
|
+
{ },
|
|
19192
|
+
{ },
|
|
19193
|
+
opts['body'],
|
|
19194
|
+
['PureCloud OAuth'],
|
|
19195
|
+
['application/json'],
|
|
19196
|
+
['application/json']
|
|
19197
|
+
);
|
|
19198
|
+
}
|
|
19199
|
+
|
|
18076
19200
|
/**
|
|
18077
19201
|
* Update the feedback for the summary.
|
|
18078
19202
|
*
|
|
@@ -18080,7 +19204,6 @@ class ConversationsApi {
|
|
|
18080
19204
|
* @param {String} summaryId Summary ID
|
|
18081
19205
|
* @param {Object} opts Optional parameters
|
|
18082
19206
|
* @param {Object} opts.body
|
|
18083
|
-
* patchConversationSummaryFeedback is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
18084
19207
|
*/
|
|
18085
19208
|
patchConversationSummaryFeedback(conversationId, summaryId, opts) {
|
|
18086
19209
|
opts = opts || {};
|
|
@@ -22343,7 +23466,6 @@ class ConversationsApi {
|
|
|
22343
23466
|
*
|
|
22344
23467
|
* @param {String} integrationId Integration ID
|
|
22345
23468
|
* @param {Object} body IdentityResolutionConfig
|
|
22346
|
-
* putConversationsMessagingIdentityresolutionIntegrationsFacebookIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
22347
23469
|
*/
|
|
22348
23470
|
putConversationsMessagingIdentityresolutionIntegrationsFacebookIntegrationId(integrationId, body) {
|
|
22349
23471
|
// verify the required parameter 'integrationId' is set
|
|
@@ -22374,7 +23496,6 @@ class ConversationsApi {
|
|
|
22374
23496
|
*
|
|
22375
23497
|
* @param {String} integrationId Integration ID
|
|
22376
23498
|
* @param {Object} body
|
|
22377
|
-
* putConversationsMessagingIdentityresolutionIntegrationsOpenIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
22378
23499
|
*/
|
|
22379
23500
|
putConversationsMessagingIdentityresolutionIntegrationsOpenIntegrationId(integrationId, body) {
|
|
22380
23501
|
// verify the required parameter 'integrationId' is set
|
|
@@ -22405,7 +23526,6 @@ class ConversationsApi {
|
|
|
22405
23526
|
*
|
|
22406
23527
|
* @param {String} integrationId Integration ID
|
|
22407
23528
|
* @param {Object} body
|
|
22408
|
-
* putConversationsMessagingIdentityresolutionIntegrationsWhatsappIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
22409
23529
|
*/
|
|
22410
23530
|
putConversationsMessagingIdentityresolutionIntegrationsWhatsappIntegrationId(integrationId, body) {
|
|
22411
23531
|
// verify the required parameter 'integrationId' is set
|
|
@@ -22603,7 +23723,7 @@ class DataExtensionsApi {
|
|
|
22603
23723
|
/**
|
|
22604
23724
|
* DataExtensions service.
|
|
22605
23725
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
22606
|
-
* @version
|
|
23726
|
+
* @version 221.0.0
|
|
22607
23727
|
*/
|
|
22608
23728
|
|
|
22609
23729
|
/**
|
|
@@ -22689,7 +23809,7 @@ class DataPrivacyApi {
|
|
|
22689
23809
|
/**
|
|
22690
23810
|
* DataPrivacy service.
|
|
22691
23811
|
* @module purecloud-platform-client-v2/api/DataPrivacyApi
|
|
22692
|
-
* @version
|
|
23812
|
+
* @version 221.0.0
|
|
22693
23813
|
*/
|
|
22694
23814
|
|
|
22695
23815
|
/**
|
|
@@ -22859,7 +23979,7 @@ class DownloadsApi {
|
|
|
22859
23979
|
/**
|
|
22860
23980
|
* Downloads service.
|
|
22861
23981
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
22862
|
-
* @version
|
|
23982
|
+
* @version 221.0.0
|
|
22863
23983
|
*/
|
|
22864
23984
|
|
|
22865
23985
|
/**
|
|
@@ -22911,7 +24031,7 @@ class EmailsApi {
|
|
|
22911
24031
|
/**
|
|
22912
24032
|
* Emails service.
|
|
22913
24033
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
22914
|
-
* @version
|
|
24034
|
+
* @version 221.0.0
|
|
22915
24035
|
*/
|
|
22916
24036
|
|
|
22917
24037
|
/**
|
|
@@ -23040,7 +24160,7 @@ class EmployeeEngagementApi {
|
|
|
23040
24160
|
/**
|
|
23041
24161
|
* EmployeeEngagement service.
|
|
23042
24162
|
* @module purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
23043
|
-
* @version
|
|
24163
|
+
* @version 221.0.0
|
|
23044
24164
|
*/
|
|
23045
24165
|
|
|
23046
24166
|
/**
|
|
@@ -23191,7 +24311,7 @@ class EventsApi {
|
|
|
23191
24311
|
/**
|
|
23192
24312
|
* Events service.
|
|
23193
24313
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
23194
|
-
* @version
|
|
24314
|
+
* @version 221.0.0
|
|
23195
24315
|
*/
|
|
23196
24316
|
|
|
23197
24317
|
/**
|
|
@@ -23287,7 +24407,7 @@ class ExternalContactsApi {
|
|
|
23287
24407
|
/**
|
|
23288
24408
|
* ExternalContacts service.
|
|
23289
24409
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
23290
|
-
* @version
|
|
24410
|
+
* @version 221.0.0
|
|
23291
24411
|
*/
|
|
23292
24412
|
|
|
23293
24413
|
/**
|
|
@@ -24316,7 +25436,6 @@ class ExternalContactsApi {
|
|
|
24316
25436
|
* List the identifiers for an external organization
|
|
24317
25437
|
*
|
|
24318
25438
|
* @param {String} externalOrganizationId External Organization ID
|
|
24319
|
-
* getExternalcontactsOrganizationIdentifiers is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
24320
25439
|
*/
|
|
24321
25440
|
getExternalcontactsOrganizationIdentifiers(externalOrganizationId) {
|
|
24322
25441
|
// verify the required parameter 'externalOrganizationId' is set
|
|
@@ -24723,7 +25842,6 @@ class ExternalContactsApi {
|
|
|
24723
25842
|
* @param {Object} opts Optional parameters
|
|
24724
25843
|
* @param {Number} opts.limit The number of contacts per page; must be between 10 and 200, default is 100
|
|
24725
25844
|
* @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
|
|
24726
|
-
* getExternalcontactsScanContactsDivisionviewsAll is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
24727
25845
|
*/
|
|
24728
25846
|
getExternalcontactsScanContactsDivisionviewsAll(opts) {
|
|
24729
25847
|
opts = opts || {};
|
|
@@ -24775,7 +25893,6 @@ class ExternalContactsApi {
|
|
|
24775
25893
|
* @param {Object} opts Optional parameters
|
|
24776
25894
|
* @param {Number} opts.limit The number of notes per page; must be between 10 and 200, default is 100
|
|
24777
25895
|
* @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
|
|
24778
|
-
* getExternalcontactsScanNotesDivisionviewsAll is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
24779
25896
|
*/
|
|
24780
25897
|
getExternalcontactsScanNotesDivisionviewsAll(opts) {
|
|
24781
25898
|
opts = opts || {};
|
|
@@ -24827,7 +25944,6 @@ class ExternalContactsApi {
|
|
|
24827
25944
|
* @param {Object} opts Optional parameters
|
|
24828
25945
|
* @param {Number} opts.limit The number of organizations per page; must be between 10 and 200, default is 100
|
|
24829
25946
|
* @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
|
|
24830
|
-
* getExternalcontactsScanOrganizationsDivisionviewsAll is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
24831
25947
|
*/
|
|
24832
25948
|
getExternalcontactsScanOrganizationsDivisionviewsAll(opts) {
|
|
24833
25949
|
opts = opts || {};
|
|
@@ -24879,7 +25995,6 @@ class ExternalContactsApi {
|
|
|
24879
25995
|
* @param {Object} opts Optional parameters
|
|
24880
25996
|
* @param {Number} opts.limit The number of relationships per page; must be between 10 and 200, default is 100
|
|
24881
25997
|
* @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
|
|
24882
|
-
* getExternalcontactsScanRelationshipsDivisionviewsAll is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
24883
25998
|
*/
|
|
24884
25999
|
getExternalcontactsScanRelationshipsDivisionviewsAll(opts) {
|
|
24885
26000
|
opts = opts || {};
|
|
@@ -24934,7 +26049,6 @@ class ExternalContactsApi {
|
|
|
24934
26049
|
*
|
|
24935
26050
|
* @param {String} externalOrganizationId External Organization ID
|
|
24936
26051
|
* @param {Object} body ClaimRequest
|
|
24937
|
-
* patchExternalcontactsOrganizationIdentifiers is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
24938
26052
|
*/
|
|
24939
26053
|
patchExternalcontactsOrganizationIdentifiers(externalOrganizationId, body) {
|
|
24940
26054
|
// verify the required parameter 'externalOrganizationId' is set
|
|
@@ -25014,7 +26128,6 @@ class ExternalContactsApi {
|
|
|
25014
26128
|
* Bulk fetch contacts across divisions
|
|
25015
26129
|
*
|
|
25016
26130
|
* @param {Object} body Contact ids
|
|
25017
|
-
* postExternalcontactsBulkContactsDivisionviews is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
25018
26131
|
*/
|
|
25019
26132
|
postExternalcontactsBulkContactsDivisionviews(body) {
|
|
25020
26133
|
// verify the required parameter 'body' is set
|
|
@@ -25042,7 +26155,6 @@ class ExternalContactsApi {
|
|
|
25042
26155
|
* @param {Object} body Contact Enrich Requests
|
|
25043
26156
|
* @param {Object} opts Optional parameters
|
|
25044
26157
|
* @param {Boolean} opts.dryRun If true, the request will not make any modifications, but will show you what the end result *would* be.
|
|
25045
|
-
* postExternalcontactsBulkContactsEnrich is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
25046
26158
|
*/
|
|
25047
26159
|
postExternalcontactsBulkContactsEnrich(body, opts) {
|
|
25048
26160
|
opts = opts || {};
|
|
@@ -25295,7 +26407,6 @@ class ExternalContactsApi {
|
|
|
25295
26407
|
* Bulk fetch organizations across divisions
|
|
25296
26408
|
*
|
|
25297
26409
|
* @param {Object} body Organizations ids
|
|
25298
|
-
* postExternalcontactsBulkOrganizationsDivisionviews is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
25299
26410
|
*/
|
|
25300
26411
|
postExternalcontactsBulkOrganizationsDivisionviews(body) {
|
|
25301
26412
|
// verify the required parameter 'body' is set
|
|
@@ -25323,7 +26434,6 @@ class ExternalContactsApi {
|
|
|
25323
26434
|
* @param {Object} body External Organization Enrich Requests
|
|
25324
26435
|
* @param {Object} opts Optional parameters
|
|
25325
26436
|
* @param {Boolean} opts.dryRun If true, the request will not make any modifications, but will show you what the end result *would* be.
|
|
25326
|
-
* postExternalcontactsBulkOrganizationsEnrich is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
25327
26437
|
*/
|
|
25328
26438
|
postExternalcontactsBulkOrganizationsEnrich(body, opts) {
|
|
25329
26439
|
opts = opts || {};
|
|
@@ -25583,7 +26693,6 @@ class ExternalContactsApi {
|
|
|
25583
26693
|
* @param {Object} body ContactEnrichRequest
|
|
25584
26694
|
* @param {Object} opts Optional parameters
|
|
25585
26695
|
* @param {Boolean} opts.dryRun If true, the request will not make any modifications, but will show you what the end result *would* be.
|
|
25586
|
-
* postExternalcontactsContactsEnrich is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
25587
26696
|
*/
|
|
25588
26697
|
postExternalcontactsContactsEnrich(body, opts) {
|
|
25589
26698
|
opts = opts || {};
|
|
@@ -25636,7 +26745,6 @@ class ExternalContactsApi {
|
|
|
25636
26745
|
* Merge up to 25 contacts into a new contact record
|
|
25637
26746
|
* 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.
|
|
25638
26747
|
* @param {Object} body MergeRequest
|
|
25639
|
-
* postExternalcontactsContactsMerge is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
25640
26748
|
*/
|
|
25641
26749
|
postExternalcontactsContactsMerge(body) {
|
|
25642
26750
|
// verify the required parameter 'body' is set
|
|
@@ -25744,7 +26852,6 @@ class ExternalContactsApi {
|
|
|
25744
26852
|
* @param {Object} identifier
|
|
25745
26853
|
* @param {Object} opts Optional parameters
|
|
25746
26854
|
* @param {Array.<String>} opts.expand which field, if any, to expand
|
|
25747
|
-
* postExternalcontactsIdentifierlookupContacts is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
25748
26855
|
*/
|
|
25749
26856
|
postExternalcontactsIdentifierlookupContacts(identifier, opts) {
|
|
25750
26857
|
opts = opts || {};
|
|
@@ -25774,7 +26881,6 @@ class ExternalContactsApi {
|
|
|
25774
26881
|
* @param {Object} identifier
|
|
25775
26882
|
* @param {Object} opts Optional parameters
|
|
25776
26883
|
* @param {Array.<String>} opts.expand which field, if any, to expand
|
|
25777
|
-
* postExternalcontactsIdentifierlookupOrganizations is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
25778
26884
|
*/
|
|
25779
26885
|
postExternalcontactsIdentifierlookupOrganizations(identifier, opts) {
|
|
25780
26886
|
opts = opts || {};
|
|
@@ -26010,7 +27116,6 @@ class ExternalContactsApi {
|
|
|
26010
27116
|
* @param {Object} body ExternalOrgEnrichRequest
|
|
26011
27117
|
* @param {Object} opts Optional parameters
|
|
26012
27118
|
* @param {Boolean} opts.dryRun If true, the request will not make any modifications, but will show you what the end result *would* be.
|
|
26013
|
-
* postExternalcontactsOrganizationsEnrich is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
26014
27119
|
*/
|
|
26015
27120
|
postExternalcontactsOrganizationsEnrich(body, opts) {
|
|
26016
27121
|
opts = opts || {};
|
|
@@ -26490,7 +27595,7 @@ class FaxApi {
|
|
|
26490
27595
|
/**
|
|
26491
27596
|
* Fax service.
|
|
26492
27597
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
26493
|
-
* @version
|
|
27598
|
+
* @version 221.0.0
|
|
26494
27599
|
*/
|
|
26495
27600
|
|
|
26496
27601
|
/**
|
|
@@ -26705,7 +27810,7 @@ class FlowsApi {
|
|
|
26705
27810
|
/**
|
|
26706
27811
|
* Flows service.
|
|
26707
27812
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
26708
|
-
* @version
|
|
27813
|
+
* @version 221.0.0
|
|
26709
27814
|
*/
|
|
26710
27815
|
|
|
26711
27816
|
/**
|
|
@@ -26888,7 +27993,7 @@ class GamificationApi {
|
|
|
26888
27993
|
/**
|
|
26889
27994
|
* Gamification service.
|
|
26890
27995
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
26891
|
-
* @version
|
|
27996
|
+
* @version 221.0.0
|
|
26892
27997
|
*/
|
|
26893
27998
|
|
|
26894
27999
|
/**
|
|
@@ -29395,7 +30500,7 @@ class GeneralDataProtectionRegulationApi {
|
|
|
29395
30500
|
/**
|
|
29396
30501
|
* GeneralDataProtectionRegulation service.
|
|
29397
30502
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
29398
|
-
* @version
|
|
30503
|
+
* @version 221.0.0
|
|
29399
30504
|
*/
|
|
29400
30505
|
|
|
29401
30506
|
/**
|
|
@@ -29525,7 +30630,7 @@ class GeolocationApi {
|
|
|
29525
30630
|
/**
|
|
29526
30631
|
* Geolocation service.
|
|
29527
30632
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
29528
|
-
* @version
|
|
30633
|
+
* @version 221.0.0
|
|
29529
30634
|
*/
|
|
29530
30635
|
|
|
29531
30636
|
/**
|
|
@@ -29656,7 +30761,7 @@ class GreetingsApi {
|
|
|
29656
30761
|
/**
|
|
29657
30762
|
* Greetings service.
|
|
29658
30763
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
29659
|
-
* @version
|
|
30764
|
+
* @version 221.0.0
|
|
29660
30765
|
*/
|
|
29661
30766
|
|
|
29662
30767
|
/**
|
|
@@ -30111,7 +31216,7 @@ class GroupsApi {
|
|
|
30111
31216
|
/**
|
|
30112
31217
|
* Groups service.
|
|
30113
31218
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
30114
|
-
* @version
|
|
31219
|
+
* @version 221.0.0
|
|
30115
31220
|
*/
|
|
30116
31221
|
|
|
30117
31222
|
/**
|
|
@@ -30630,7 +31735,7 @@ class IdentityProviderApi {
|
|
|
30630
31735
|
/**
|
|
30631
31736
|
* IdentityProvider service.
|
|
30632
31737
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
30633
|
-
* @version
|
|
31738
|
+
* @version 221.0.0
|
|
30634
31739
|
*/
|
|
30635
31740
|
|
|
30636
31741
|
/**
|
|
@@ -31491,7 +32596,7 @@ class InfrastructureAsCodeApi {
|
|
|
31491
32596
|
/**
|
|
31492
32597
|
* InfrastructureAsCode service.
|
|
31493
32598
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
31494
|
-
* @version
|
|
32599
|
+
* @version 221.0.0
|
|
31495
32600
|
*/
|
|
31496
32601
|
|
|
31497
32602
|
/**
|
|
@@ -31658,7 +32763,7 @@ class IntegrationsApi {
|
|
|
31658
32763
|
/**
|
|
31659
32764
|
* Integrations service.
|
|
31660
32765
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
31661
|
-
* @version
|
|
32766
|
+
* @version 221.0.0
|
|
31662
32767
|
*/
|
|
31663
32768
|
|
|
31664
32769
|
/**
|
|
@@ -34127,7 +35232,7 @@ class JourneyApi {
|
|
|
34127
35232
|
/**
|
|
34128
35233
|
* Journey service.
|
|
34129
35234
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
34130
|
-
* @version
|
|
35235
|
+
* @version 221.0.0
|
|
34131
35236
|
*/
|
|
34132
35237
|
|
|
34133
35238
|
/**
|
|
@@ -36112,7 +37217,7 @@ class KnowledgeApi {
|
|
|
36112
37217
|
/**
|
|
36113
37218
|
* Knowledge service.
|
|
36114
37219
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
36115
|
-
* @version
|
|
37220
|
+
* @version 221.0.0
|
|
36116
37221
|
*/
|
|
36117
37222
|
|
|
36118
37223
|
/**
|
|
@@ -39985,7 +41090,7 @@ class LanguageUnderstandingApi {
|
|
|
39985
41090
|
/**
|
|
39986
41091
|
* LanguageUnderstanding service.
|
|
39987
41092
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
39988
|
-
* @version
|
|
41093
|
+
* @version 221.0.0
|
|
39989
41094
|
*/
|
|
39990
41095
|
|
|
39991
41096
|
/**
|
|
@@ -41018,7 +42123,7 @@ class LanguagesApi {
|
|
|
41018
42123
|
/**
|
|
41019
42124
|
* Languages service.
|
|
41020
42125
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
41021
|
-
* @version
|
|
42126
|
+
* @version 221.0.0
|
|
41022
42127
|
*/
|
|
41023
42128
|
|
|
41024
42129
|
/**
|
|
@@ -41240,7 +42345,7 @@ class LearningApi {
|
|
|
41240
42345
|
/**
|
|
41241
42346
|
* Learning service.
|
|
41242
42347
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
41243
|
-
* @version
|
|
42348
|
+
* @version 221.0.0
|
|
41244
42349
|
*/
|
|
41245
42350
|
|
|
41246
42351
|
/**
|
|
@@ -42269,7 +43374,7 @@ class LicenseApi {
|
|
|
42269
43374
|
/**
|
|
42270
43375
|
* License service.
|
|
42271
43376
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
42272
|
-
* @version
|
|
43377
|
+
* @version 221.0.0
|
|
42273
43378
|
*/
|
|
42274
43379
|
|
|
42275
43380
|
/**
|
|
@@ -42507,7 +43612,7 @@ class LocationsApi {
|
|
|
42507
43612
|
/**
|
|
42508
43613
|
* Locations service.
|
|
42509
43614
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
42510
|
-
* @version
|
|
43615
|
+
* @version 221.0.0
|
|
42511
43616
|
*/
|
|
42512
43617
|
|
|
42513
43618
|
/**
|
|
@@ -42743,7 +43848,7 @@ class LogCaptureApi {
|
|
|
42743
43848
|
/**
|
|
42744
43849
|
* LogCapture service.
|
|
42745
43850
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
42746
|
-
* @version
|
|
43851
|
+
* @version 221.0.0
|
|
42747
43852
|
*/
|
|
42748
43853
|
|
|
42749
43854
|
/**
|
|
@@ -42943,7 +44048,7 @@ class MessagingApi {
|
|
|
42943
44048
|
/**
|
|
42944
44049
|
* Messaging service.
|
|
42945
44050
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
42946
|
-
* @version
|
|
44051
|
+
* @version 221.0.0
|
|
42947
44052
|
*/
|
|
42948
44053
|
|
|
42949
44054
|
/**
|
|
@@ -43302,7 +44407,7 @@ class MobileDevicesApi {
|
|
|
43302
44407
|
/**
|
|
43303
44408
|
* MobileDevices service.
|
|
43304
44409
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
43305
|
-
* @version
|
|
44410
|
+
* @version 221.0.0
|
|
43306
44411
|
*/
|
|
43307
44412
|
|
|
43308
44413
|
/**
|
|
@@ -43453,7 +44558,7 @@ class NotificationsApi {
|
|
|
43453
44558
|
/**
|
|
43454
44559
|
* Notifications service.
|
|
43455
44560
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
43456
|
-
* @version
|
|
44561
|
+
* @version 221.0.0
|
|
43457
44562
|
*/
|
|
43458
44563
|
|
|
43459
44564
|
/**
|
|
@@ -43686,7 +44791,7 @@ class OAuthApi {
|
|
|
43686
44791
|
/**
|
|
43687
44792
|
* OAuth service.
|
|
43688
44793
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
43689
|
-
* @version
|
|
44794
|
+
* @version 221.0.0
|
|
43690
44795
|
*/
|
|
43691
44796
|
|
|
43692
44797
|
/**
|
|
@@ -44052,7 +45157,7 @@ class ObjectsApi {
|
|
|
44052
45157
|
/**
|
|
44053
45158
|
* Objects service.
|
|
44054
45159
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
44055
|
-
* @version
|
|
45160
|
+
* @version 221.0.0
|
|
44056
45161
|
*/
|
|
44057
45162
|
|
|
44058
45163
|
/**
|
|
@@ -44376,7 +45481,7 @@ class OperationalEventsApi {
|
|
|
44376
45481
|
/**
|
|
44377
45482
|
* OperationalEvents service.
|
|
44378
45483
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
44379
|
-
* @version
|
|
45484
|
+
* @version 221.0.0
|
|
44380
45485
|
*/
|
|
44381
45486
|
|
|
44382
45487
|
/**
|
|
@@ -44493,7 +45598,7 @@ class OrganizationApi {
|
|
|
44493
45598
|
/**
|
|
44494
45599
|
* Organization service.
|
|
44495
45600
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
44496
|
-
* @version
|
|
45601
|
+
* @version 221.0.0
|
|
44497
45602
|
*/
|
|
44498
45603
|
|
|
44499
45604
|
/**
|
|
@@ -44968,7 +46073,7 @@ class OrganizationAuthorizationApi {
|
|
|
44968
46073
|
/**
|
|
44969
46074
|
* OrganizationAuthorization service.
|
|
44970
46075
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
44971
|
-
* @version
|
|
46076
|
+
* @version 221.0.0
|
|
44972
46077
|
*/
|
|
44973
46078
|
|
|
44974
46079
|
/**
|
|
@@ -46362,7 +47467,7 @@ class OutboundApi {
|
|
|
46362
47467
|
/**
|
|
46363
47468
|
* Outbound service.
|
|
46364
47469
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
46365
|
-
* @version
|
|
47470
|
+
* @version 221.0.0
|
|
46366
47471
|
*/
|
|
46367
47472
|
|
|
46368
47473
|
/**
|
|
@@ -50984,7 +52089,7 @@ class PresenceApi {
|
|
|
50984
52089
|
/**
|
|
50985
52090
|
* Presence service.
|
|
50986
52091
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
50987
|
-
* @version
|
|
52092
|
+
* @version 221.0.0
|
|
50988
52093
|
*/
|
|
50989
52094
|
|
|
50990
52095
|
/**
|
|
@@ -51728,7 +52833,7 @@ class ProcessAutomationApi {
|
|
|
51728
52833
|
/**
|
|
51729
52834
|
* ProcessAutomation service.
|
|
51730
52835
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
51731
|
-
* @version
|
|
52836
|
+
* @version 221.0.0
|
|
51732
52837
|
*/
|
|
51733
52838
|
|
|
51734
52839
|
/**
|
|
@@ -51967,7 +53072,7 @@ class QualityApi {
|
|
|
51967
53072
|
/**
|
|
51968
53073
|
* Quality service.
|
|
51969
53074
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
51970
|
-
* @version
|
|
53075
|
+
* @version 221.0.0
|
|
51971
53076
|
*/
|
|
51972
53077
|
|
|
51973
53078
|
/**
|
|
@@ -53754,7 +54859,7 @@ class RecordingApi {
|
|
|
53754
54859
|
/**
|
|
53755
54860
|
* Recording service.
|
|
53756
54861
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
53757
|
-
* @version
|
|
54862
|
+
* @version 221.0.0
|
|
53758
54863
|
*/
|
|
53759
54864
|
|
|
53760
54865
|
/**
|
|
@@ -55359,7 +56464,7 @@ class ResponseManagementApi {
|
|
|
55359
56464
|
/**
|
|
55360
56465
|
* ResponseManagement service.
|
|
55361
56466
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
55362
|
-
* @version
|
|
56467
|
+
* @version 221.0.0
|
|
55363
56468
|
*/
|
|
55364
56469
|
|
|
55365
56470
|
/**
|
|
@@ -55869,7 +56974,7 @@ class RoutingApi {
|
|
|
55869
56974
|
/**
|
|
55870
56975
|
* Routing service.
|
|
55871
56976
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
55872
|
-
* @version
|
|
56977
|
+
* @version 221.0.0
|
|
55873
56978
|
*/
|
|
55874
56979
|
|
|
55875
56980
|
/**
|
|
@@ -56685,8 +57790,12 @@ class RoutingApi {
|
|
|
56685
57790
|
*
|
|
56686
57791
|
* @param {String} domainName email domain
|
|
56687
57792
|
* @param {String} routeId route ID
|
|
57793
|
+
* @param {Object} opts Optional parameters
|
|
57794
|
+
* @param {Array.<String>} opts.expand Which fields, if any, to expand
|
|
56688
57795
|
*/
|
|
56689
|
-
getRoutingEmailDomainRoute(domainName, routeId) {
|
|
57796
|
+
getRoutingEmailDomainRoute(domainName, routeId, opts) {
|
|
57797
|
+
opts = opts || {};
|
|
57798
|
+
|
|
56690
57799
|
// verify the required parameter 'domainName' is set
|
|
56691
57800
|
if (domainName === undefined || domainName === null) {
|
|
56692
57801
|
throw 'Missing the required parameter "domainName" when calling getRoutingEmailDomainRoute';
|
|
@@ -56700,7 +57809,7 @@ class RoutingApi {
|
|
|
56700
57809
|
'/api/v2/routing/email/domains/{domainName}/routes/{routeId}',
|
|
56701
57810
|
'GET',
|
|
56702
57811
|
{ 'domainName': domainName,'routeId': routeId },
|
|
56703
|
-
{
|
|
57812
|
+
{ 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
56704
57813
|
{ },
|
|
56705
57814
|
{ },
|
|
56706
57815
|
null,
|
|
@@ -56715,7 +57824,6 @@ class RoutingApi {
|
|
|
56715
57824
|
*
|
|
56716
57825
|
* @param {String} domainName email domain
|
|
56717
57826
|
* @param {String} routeId route ID
|
|
56718
|
-
* getRoutingEmailDomainRouteIdentityresolution is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
56719
57827
|
*/
|
|
56720
57828
|
getRoutingEmailDomainRouteIdentityresolution(domainName, routeId) {
|
|
56721
57829
|
// verify the required parameter 'domainName' is set
|
|
@@ -56749,6 +57857,7 @@ class RoutingApi {
|
|
|
56749
57857
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
56750
57858
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
56751
57859
|
* @param {String} opts.pattern Filter routes by the route's pattern property
|
|
57860
|
+
* @param {Array.<String>} opts.expand Which fields, if any, to expand
|
|
56752
57861
|
*/
|
|
56753
57862
|
getRoutingEmailDomainRoutes(domainName, opts) {
|
|
56754
57863
|
opts = opts || {};
|
|
@@ -56762,7 +57871,7 @@ class RoutingApi {
|
|
|
56762
57871
|
'/api/v2/routing/email/domains/{domainName}/routes',
|
|
56763
57872
|
'GET',
|
|
56764
57873
|
{ 'domainName': domainName },
|
|
56765
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'pattern': opts['pattern'] },
|
|
57874
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'pattern': opts['pattern'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
56766
57875
|
{ },
|
|
56767
57876
|
{ },
|
|
56768
57877
|
null,
|
|
@@ -57162,8 +58271,12 @@ class RoutingApi {
|
|
|
57162
58271
|
* Get details about this queue.
|
|
57163
58272
|
*
|
|
57164
58273
|
* @param {String} queueId Queue ID
|
|
58274
|
+
* @param {Object} opts Optional parameters
|
|
58275
|
+
* @param {Array.<String>} opts.expand Which fields, if any, to expand
|
|
57165
58276
|
*/
|
|
57166
|
-
getRoutingQueue(queueId) {
|
|
58277
|
+
getRoutingQueue(queueId, opts) {
|
|
58278
|
+
opts = opts || {};
|
|
58279
|
+
|
|
57167
58280
|
// verify the required parameter 'queueId' is set
|
|
57168
58281
|
if (queueId === undefined || queueId === null) {
|
|
57169
58282
|
throw 'Missing the required parameter "queueId" when calling getRoutingQueue';
|
|
@@ -57173,7 +58286,7 @@ class RoutingApi {
|
|
|
57173
58286
|
'/api/v2/routing/queues/{queueId}',
|
|
57174
58287
|
'GET',
|
|
57175
58288
|
{ 'queueId': queueId },
|
|
57176
|
-
{
|
|
58289
|
+
{ 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
57177
58290
|
{ },
|
|
57178
58291
|
{ },
|
|
57179
58292
|
null,
|
|
@@ -57300,7 +58413,6 @@ class RoutingApi {
|
|
|
57300
58413
|
* Get Queue IdentityResolution Settings.
|
|
57301
58414
|
*
|
|
57302
58415
|
* @param {String} queueId Queue ID
|
|
57303
|
-
* getRoutingQueueIdentityresolution is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
57304
58416
|
*/
|
|
57305
58417
|
getRoutingQueueIdentityresolution(queueId) {
|
|
57306
58418
|
// verify the required parameter 'queueId' is set
|
|
@@ -57479,6 +58591,7 @@ class RoutingApi {
|
|
|
57479
58591
|
* @param {Array.<String>} opts.peerId Include only queues with the specified peer ID(s)
|
|
57480
58592
|
* @param {String} opts.cannedResponseLibraryId Include only queues explicitly associated with the specified canned response library ID
|
|
57481
58593
|
* @param {Boolean} opts.hasPeer Include only queues with a peer ID
|
|
58594
|
+
* @param {Array.<String>} opts.expand Which fields, if any, to expand
|
|
57482
58595
|
*/
|
|
57483
58596
|
getRoutingQueues(opts) {
|
|
57484
58597
|
opts = opts || {};
|
|
@@ -57488,7 +58601,7 @@ class RoutingApi {
|
|
|
57488
58601
|
'/api/v2/routing/queues',
|
|
57489
58602
|
'GET',
|
|
57490
58603
|
{ },
|
|
57491
|
-
{ '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'] },
|
|
58604
|
+
{ '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') },
|
|
57492
58605
|
{ },
|
|
57493
58606
|
{ },
|
|
57494
58607
|
null,
|
|
@@ -57898,7 +59011,6 @@ class RoutingApi {
|
|
|
57898
59011
|
* Get a SMS identity resolution settings.
|
|
57899
59012
|
*
|
|
57900
59013
|
* @param {String} addressId Address ID
|
|
57901
|
-
* getRoutingSmsIdentityresolutionPhonenumber is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
57902
59014
|
*/
|
|
57903
59015
|
getRoutingSmsIdentityresolutionPhonenumber(addressId) {
|
|
57904
59016
|
// verify the required parameter 'addressId' is set
|
|
@@ -57964,6 +59076,7 @@ class RoutingApi {
|
|
|
57964
59076
|
* @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)
|
|
57965
59077
|
* @param {String} opts.integrationId Filter on the Genesys Cloud integration id to which the phone number belongs to
|
|
57966
59078
|
* @param {String} opts.supportedContentId Filter based on the supported content ID
|
|
59079
|
+
* @param {Array.<String>} opts.expand Which fields, if any, to expand
|
|
57967
59080
|
*/
|
|
57968
59081
|
getRoutingSmsPhonenumbers(opts) {
|
|
57969
59082
|
opts = opts || {};
|
|
@@ -57973,7 +59086,7 @@ class RoutingApi {
|
|
|
57973
59086
|
'/api/v2/routing/sms/phonenumbers',
|
|
57974
59087
|
'GET',
|
|
57975
59088
|
{ },
|
|
57976
|
-
{ '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'] },
|
|
59089
|
+
{ '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') },
|
|
57977
59090
|
{ },
|
|
57978
59091
|
{ },
|
|
57979
59092
|
null,
|
|
@@ -59731,7 +60844,6 @@ class RoutingApi {
|
|
|
59731
60844
|
* @param {String} domainName email domain
|
|
59732
60845
|
* @param {String} routeId route ID
|
|
59733
60846
|
* @param {Object} body
|
|
59734
|
-
* putRoutingEmailDomainRouteIdentityresolution is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
59735
60847
|
*/
|
|
59736
60848
|
putRoutingEmailDomainRouteIdentityresolution(domainName, routeId, body) {
|
|
59737
60849
|
// verify the required parameter 'domainName' is set
|
|
@@ -59851,7 +60963,6 @@ class RoutingApi {
|
|
|
59851
60963
|
*
|
|
59852
60964
|
* @param {String} queueId Queue ID
|
|
59853
60965
|
* @param {Object} body
|
|
59854
|
-
* putRoutingQueueIdentityresolution is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
59855
60966
|
*/
|
|
59856
60967
|
putRoutingQueueIdentityresolution(queueId, body) {
|
|
59857
60968
|
// verify the required parameter 'queueId' is set
|
|
@@ -59932,7 +61043,6 @@ class RoutingApi {
|
|
|
59932
61043
|
*
|
|
59933
61044
|
* @param {String} addressId Address ID
|
|
59934
61045
|
* @param {Object} body
|
|
59935
|
-
* putRoutingSmsIdentityresolutionPhonenumber is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
59936
61046
|
*/
|
|
59937
61047
|
putRoutingSmsIdentityresolutionPhonenumber(addressId, body) {
|
|
59938
61048
|
// verify the required parameter 'addressId' is set
|
|
@@ -60174,7 +61284,7 @@ class SCIMApi {
|
|
|
60174
61284
|
/**
|
|
60175
61285
|
* SCIM service.
|
|
60176
61286
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
60177
|
-
* @version
|
|
61287
|
+
* @version 221.0.0
|
|
60178
61288
|
*/
|
|
60179
61289
|
|
|
60180
61290
|
/**
|
|
@@ -61051,7 +62161,7 @@ class ScreenRecordingApi {
|
|
|
61051
62161
|
/**
|
|
61052
62162
|
* ScreenRecording service.
|
|
61053
62163
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
61054
|
-
* @version
|
|
62164
|
+
* @version 221.0.0
|
|
61055
62165
|
*/
|
|
61056
62166
|
|
|
61057
62167
|
/**
|
|
@@ -61096,7 +62206,7 @@ class ScriptsApi {
|
|
|
61096
62206
|
/**
|
|
61097
62207
|
* Scripts service.
|
|
61098
62208
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
61099
|
-
* @version
|
|
62209
|
+
* @version 221.0.0
|
|
61100
62210
|
*/
|
|
61101
62211
|
|
|
61102
62212
|
/**
|
|
@@ -61572,7 +62682,7 @@ class SearchApi {
|
|
|
61572
62682
|
/**
|
|
61573
62683
|
* Search service.
|
|
61574
62684
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
61575
|
-
* @version
|
|
62685
|
+
* @version 221.0.0
|
|
61576
62686
|
*/
|
|
61577
62687
|
|
|
61578
62688
|
/**
|
|
@@ -62315,7 +63425,7 @@ class SettingsApi {
|
|
|
62315
63425
|
/**
|
|
62316
63426
|
* Settings service.
|
|
62317
63427
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
62318
|
-
* @version
|
|
63428
|
+
* @version 221.0.0
|
|
62319
63429
|
*/
|
|
62320
63430
|
|
|
62321
63431
|
/**
|
|
@@ -62350,6 +63460,26 @@ class SettingsApi {
|
|
|
62350
63460
|
);
|
|
62351
63461
|
}
|
|
62352
63462
|
|
|
63463
|
+
/**
|
|
63464
|
+
* Delete settings
|
|
63465
|
+
*
|
|
63466
|
+
*/
|
|
63467
|
+
deleteExternalcontactsSettings() {
|
|
63468
|
+
|
|
63469
|
+
return this.apiClient.callApi(
|
|
63470
|
+
'/api/v2/externalcontacts/settings',
|
|
63471
|
+
'DELETE',
|
|
63472
|
+
{ },
|
|
63473
|
+
{ },
|
|
63474
|
+
{ },
|
|
63475
|
+
{ },
|
|
63476
|
+
null,
|
|
63477
|
+
['PureCloud OAuth'],
|
|
63478
|
+
['application/json'],
|
|
63479
|
+
['application/json']
|
|
63480
|
+
);
|
|
63481
|
+
}
|
|
63482
|
+
|
|
62353
63483
|
/**
|
|
62354
63484
|
* Delete agent auto answer settings
|
|
62355
63485
|
*
|
|
@@ -62415,6 +63545,26 @@ class SettingsApi {
|
|
|
62415
63545
|
);
|
|
62416
63546
|
}
|
|
62417
63547
|
|
|
63548
|
+
/**
|
|
63549
|
+
* Get settings
|
|
63550
|
+
*
|
|
63551
|
+
*/
|
|
63552
|
+
getExternalcontactsSettings() {
|
|
63553
|
+
|
|
63554
|
+
return this.apiClient.callApi(
|
|
63555
|
+
'/api/v2/externalcontacts/settings',
|
|
63556
|
+
'GET',
|
|
63557
|
+
{ },
|
|
63558
|
+
{ },
|
|
63559
|
+
{ },
|
|
63560
|
+
{ },
|
|
63561
|
+
null,
|
|
63562
|
+
['PureCloud OAuth'],
|
|
63563
|
+
['application/json'],
|
|
63564
|
+
['application/json']
|
|
63565
|
+
);
|
|
63566
|
+
}
|
|
63567
|
+
|
|
62418
63568
|
/**
|
|
62419
63569
|
* Get the execution history enabled setting.
|
|
62420
63570
|
* Get the execution history enabled setting.
|
|
@@ -62563,6 +63713,30 @@ class SettingsApi {
|
|
|
62563
63713
|
);
|
|
62564
63714
|
}
|
|
62565
63715
|
|
|
63716
|
+
/**
|
|
63717
|
+
* Set settings
|
|
63718
|
+
*
|
|
63719
|
+
* @param {Object} opts Optional parameters
|
|
63720
|
+
* @param {Object} opts.body
|
|
63721
|
+
*/
|
|
63722
|
+
putExternalcontactsSettings(opts) {
|
|
63723
|
+
opts = opts || {};
|
|
63724
|
+
|
|
63725
|
+
|
|
63726
|
+
return this.apiClient.callApi(
|
|
63727
|
+
'/api/v2/externalcontacts/settings',
|
|
63728
|
+
'PUT',
|
|
63729
|
+
{ },
|
|
63730
|
+
{ },
|
|
63731
|
+
{ },
|
|
63732
|
+
{ },
|
|
63733
|
+
opts['body'],
|
|
63734
|
+
['PureCloud OAuth'],
|
|
63735
|
+
['application/json'],
|
|
63736
|
+
['application/json']
|
|
63737
|
+
);
|
|
63738
|
+
}
|
|
63739
|
+
|
|
62566
63740
|
/**
|
|
62567
63741
|
* Set agent auto answer settings
|
|
62568
63742
|
*
|
|
@@ -62599,7 +63773,7 @@ class SocialMediaApi {
|
|
|
62599
63773
|
/**
|
|
62600
63774
|
* SocialMedia service.
|
|
62601
63775
|
* @module purecloud-platform-client-v2/api/SocialMediaApi
|
|
62602
|
-
* @version
|
|
63776
|
+
* @version 221.0.0
|
|
62603
63777
|
*/
|
|
62604
63778
|
|
|
62605
63779
|
/**
|
|
@@ -63887,7 +65061,7 @@ class SpeechTextAnalyticsApi {
|
|
|
63887
65061
|
/**
|
|
63888
65062
|
* SpeechTextAnalytics service.
|
|
63889
65063
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
63890
|
-
* @version
|
|
65064
|
+
* @version 221.0.0
|
|
63891
65065
|
*/
|
|
63892
65066
|
|
|
63893
65067
|
/**
|
|
@@ -64789,7 +65963,6 @@ class SpeechTextAnalyticsApi {
|
|
|
64789
65963
|
* @param {Object} opts Optional parameters
|
|
64790
65964
|
* @param {String} opts.communicationId Communication id associated with the conversation. Please provide a valid communicationId when requesting non-email interactions.
|
|
64791
65965
|
* @param {String} opts.recordingId Recording id associated with the communication. Please provide a valid recordingId when requesting voice interactions.
|
|
64792
|
-
* getSpeechandtextanalyticsTranslationsLanguageConversation is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
64793
65966
|
*/
|
|
64794
65967
|
getSpeechandtextanalyticsTranslationsLanguageConversation(languageId, conversationId, opts) {
|
|
64795
65968
|
opts = opts || {};
|
|
@@ -64820,7 +65993,6 @@ class SpeechTextAnalyticsApi {
|
|
|
64820
65993
|
/**
|
|
64821
65994
|
* Get supported translation languages
|
|
64822
65995
|
*
|
|
64823
|
-
* getSpeechandtextanalyticsTranslationsLanguages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
64824
65996
|
*/
|
|
64825
65997
|
getSpeechandtextanalyticsTranslationsLanguages() {
|
|
64826
65998
|
|
|
@@ -65328,7 +66500,7 @@ class StationsApi {
|
|
|
65328
66500
|
/**
|
|
65329
66501
|
* Stations service.
|
|
65330
66502
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
65331
|
-
* @version
|
|
66503
|
+
* @version 221.0.0
|
|
65332
66504
|
*/
|
|
65333
66505
|
|
|
65334
66506
|
/**
|
|
@@ -65430,7 +66602,7 @@ class SuggestApi {
|
|
|
65430
66602
|
/**
|
|
65431
66603
|
* Suggest service.
|
|
65432
66604
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
65433
|
-
* @version
|
|
66605
|
+
* @version 221.0.0
|
|
65434
66606
|
*/
|
|
65435
66607
|
|
|
65436
66608
|
/**
|
|
@@ -65569,7 +66741,7 @@ class TaskManagementApi {
|
|
|
65569
66741
|
/**
|
|
65570
66742
|
* TaskManagement service.
|
|
65571
66743
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
65572
|
-
* @version
|
|
66744
|
+
* @version 221.0.0
|
|
65573
66745
|
*/
|
|
65574
66746
|
|
|
65575
66747
|
/**
|
|
@@ -67731,7 +68903,7 @@ class TeamsApi {
|
|
|
67731
68903
|
/**
|
|
67732
68904
|
* Teams service.
|
|
67733
68905
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
67734
|
-
* @version
|
|
68906
|
+
* @version 221.0.0
|
|
67735
68907
|
*/
|
|
67736
68908
|
|
|
67737
68909
|
/**
|
|
@@ -68036,7 +69208,7 @@ class TelephonyApi {
|
|
|
68036
69208
|
/**
|
|
68037
69209
|
* Telephony service.
|
|
68038
69210
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
68039
|
-
* @version
|
|
69211
|
+
* @version 221.0.0
|
|
68040
69212
|
*/
|
|
68041
69213
|
|
|
68042
69214
|
/**
|
|
@@ -68218,7 +69390,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
68218
69390
|
/**
|
|
68219
69391
|
* TelephonyProvidersEdge service.
|
|
68220
69392
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
68221
|
-
* @version
|
|
69393
|
+
* @version 221.0.0
|
|
68222
69394
|
*/
|
|
68223
69395
|
|
|
68224
69396
|
/**
|
|
@@ -71670,7 +72842,7 @@ class TextbotsApi {
|
|
|
71670
72842
|
/**
|
|
71671
72843
|
* Textbots service.
|
|
71672
72844
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
71673
|
-
* @version
|
|
72845
|
+
* @version 221.0.0
|
|
71674
72846
|
*/
|
|
71675
72847
|
|
|
71676
72848
|
/**
|
|
@@ -71798,7 +72970,7 @@ class TokensApi {
|
|
|
71798
72970
|
/**
|
|
71799
72971
|
* Tokens service.
|
|
71800
72972
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
71801
|
-
* @version
|
|
72973
|
+
* @version 221.0.0
|
|
71802
72974
|
*/
|
|
71803
72975
|
|
|
71804
72976
|
/**
|
|
@@ -71952,7 +73124,7 @@ class UploadsApi {
|
|
|
71952
73124
|
/**
|
|
71953
73125
|
* Uploads service.
|
|
71954
73126
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
71955
|
-
* @version
|
|
73127
|
+
* @version 221.0.0
|
|
71956
73128
|
*/
|
|
71957
73129
|
|
|
71958
73130
|
/**
|
|
@@ -72243,7 +73415,7 @@ class UsageApi {
|
|
|
72243
73415
|
/**
|
|
72244
73416
|
* Usage service.
|
|
72245
73417
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
72246
|
-
* @version
|
|
73418
|
+
* @version 221.0.0
|
|
72247
73419
|
*/
|
|
72248
73420
|
|
|
72249
73421
|
/**
|
|
@@ -72458,7 +73630,7 @@ class UserRecordingsApi {
|
|
|
72458
73630
|
/**
|
|
72459
73631
|
* UserRecordings service.
|
|
72460
73632
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
72461
|
-
* @version
|
|
73633
|
+
* @version 221.0.0
|
|
72462
73634
|
*/
|
|
72463
73635
|
|
|
72464
73636
|
/**
|
|
@@ -72673,7 +73845,7 @@ class UsersApi {
|
|
|
72673
73845
|
/**
|
|
72674
73846
|
* Users service.
|
|
72675
73847
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
72676
|
-
* @version
|
|
73848
|
+
* @version 221.0.0
|
|
72677
73849
|
*/
|
|
72678
73850
|
|
|
72679
73851
|
/**
|
|
@@ -75626,7 +76798,7 @@ class UtilitiesApi {
|
|
|
75626
76798
|
/**
|
|
75627
76799
|
* Utilities service.
|
|
75628
76800
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
75629
|
-
* @version
|
|
76801
|
+
* @version 221.0.0
|
|
75630
76802
|
*/
|
|
75631
76803
|
|
|
75632
76804
|
/**
|
|
@@ -75737,7 +76909,7 @@ class VoicemailApi {
|
|
|
75737
76909
|
/**
|
|
75738
76910
|
* Voicemail service.
|
|
75739
76911
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
75740
|
-
* @version
|
|
76912
|
+
* @version 221.0.0
|
|
75741
76913
|
*/
|
|
75742
76914
|
|
|
75743
76915
|
/**
|
|
@@ -76459,7 +77631,7 @@ class WebChatApi {
|
|
|
76459
77631
|
/**
|
|
76460
77632
|
* WebChat service.
|
|
76461
77633
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
76462
|
-
* @version
|
|
77634
|
+
* @version 221.0.0
|
|
76463
77635
|
*/
|
|
76464
77636
|
|
|
76465
77637
|
/**
|
|
@@ -77019,7 +78191,7 @@ class WebDeploymentsApi {
|
|
|
77019
78191
|
/**
|
|
77020
78192
|
* WebDeployments service.
|
|
77021
78193
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
77022
|
-
* @version
|
|
78194
|
+
* @version 221.0.0
|
|
77023
78195
|
*/
|
|
77024
78196
|
|
|
77025
78197
|
/**
|
|
@@ -77336,7 +78508,6 @@ class WebDeploymentsApi {
|
|
|
77336
78508
|
* Get a deployment identity resolution setting.
|
|
77337
78509
|
*
|
|
77338
78510
|
* @param {String} deploymentId The deployment ID
|
|
77339
|
-
* getWebdeploymentsDeploymentIdentityresolution is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
77340
78511
|
*/
|
|
77341
78512
|
getWebdeploymentsDeploymentIdentityresolution(deploymentId) {
|
|
77342
78513
|
// verify the required parameter 'deploymentId' is set
|
|
@@ -77571,7 +78742,6 @@ class WebDeploymentsApi {
|
|
|
77571
78742
|
*
|
|
77572
78743
|
* @param {String} deploymentId The deployment ID
|
|
77573
78744
|
* @param {Object} body
|
|
77574
|
-
* putWebdeploymentsDeploymentIdentityresolution is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
77575
78745
|
*/
|
|
77576
78746
|
putWebdeploymentsDeploymentIdentityresolution(deploymentId, body) {
|
|
77577
78747
|
// verify the required parameter 'deploymentId' is set
|
|
@@ -77603,7 +78773,7 @@ class WebMessagingApi {
|
|
|
77603
78773
|
/**
|
|
77604
78774
|
* WebMessaging service.
|
|
77605
78775
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
77606
|
-
* @version
|
|
78776
|
+
* @version 221.0.0
|
|
77607
78777
|
*/
|
|
77608
78778
|
|
|
77609
78779
|
/**
|
|
@@ -77649,7 +78819,7 @@ class WidgetsApi {
|
|
|
77649
78819
|
/**
|
|
77650
78820
|
* Widgets service.
|
|
77651
78821
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
77652
|
-
* @version
|
|
78822
|
+
* @version 221.0.0
|
|
77653
78823
|
*/
|
|
77654
78824
|
|
|
77655
78825
|
/**
|
|
@@ -77800,7 +78970,7 @@ class WorkforceManagementApi {
|
|
|
77800
78970
|
/**
|
|
77801
78971
|
* WorkforceManagement service.
|
|
77802
78972
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
77803
|
-
* @version
|
|
78973
|
+
* @version 221.0.0
|
|
77804
78974
|
*/
|
|
77805
78975
|
|
|
77806
78976
|
/**
|
|
@@ -85195,7 +86365,7 @@ class WorkforceManagementApi {
|
|
|
85195
86365
|
* </pre>
|
|
85196
86366
|
* </p>
|
|
85197
86367
|
* @module purecloud-platform-client-v2/index
|
|
85198
|
-
* @version
|
|
86368
|
+
* @version 221.0.0
|
|
85199
86369
|
*/
|
|
85200
86370
|
class platformClient {
|
|
85201
86371
|
constructor() {
|
|
@@ -85254,6 +86424,11 @@ class platformClient {
|
|
|
85254
86424
|
* @property {module:purecloud-platform-client-v2/api/BillingApi}
|
|
85255
86425
|
*/
|
|
85256
86426
|
this.BillingApi = BillingApi;
|
|
86427
|
+
/**
|
|
86428
|
+
* The BusinessRulesApi service constructor.
|
|
86429
|
+
* @property {module:purecloud-platform-client-v2/api/BusinessRulesApi}
|
|
86430
|
+
*/
|
|
86431
|
+
this.BusinessRulesApi = BusinessRulesApi;
|
|
85257
86432
|
/**
|
|
85258
86433
|
* The CarrierServicesApi service constructor.
|
|
85259
86434
|
* @property {module:purecloud-platform-client-v2/api/CarrierServicesApi}
|