purecloud-platform-client-v2 245.1.0 → 247.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 +1255 -104
- package/dist/web-amd/purecloud-platform-client-v2.js +1255 -104
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +485 -149
- package/dist/web-cjs/purecloud-platform-client-v2.js +539 -168
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +738 -285
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +6 -1
- package/src/purecloud-platform-client-v2/api/AIStudioApi.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 +1 -1
- package/src/purecloud-platform-client-v2/api/AssistantCopilotVariationsApi.js +1 -1
- 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/BackgroundAssistantApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BusinessRulesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
- 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 +661 -3
- 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 -1
- 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/IntentsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +159 -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 +3 -2
- 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 +31 -1
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +26 -1
- package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +248 -1
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
- 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 +25 -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/UsersRulesApi.js +1 -10
- 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 +18 -6
- 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 +1 -1
|
@@ -745,7 +745,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
745
745
|
|
|
746
746
|
/**
|
|
747
747
|
* @module purecloud-platform-client-v2/ApiClient
|
|
748
|
-
* @version
|
|
748
|
+
* @version 247.0.0
|
|
749
749
|
*/
|
|
750
750
|
class ApiClient {
|
|
751
751
|
/**
|
|
@@ -2257,12 +2257,17 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
2257
2257
|
request.headers = this.addHeaders(request.headers, data);
|
|
2258
2258
|
} else {
|
|
2259
2259
|
request.setParams(this.serialize(data));
|
|
2260
|
+
request.headers = this.addHeaders(request.headers, {});
|
|
2260
2261
|
}
|
|
2262
|
+
} else {
|
|
2263
|
+
request.headers = this.addHeaders(request.headers, {});
|
|
2261
2264
|
}
|
|
2262
2265
|
break;
|
|
2263
2266
|
case 'oauth2':
|
|
2264
2267
|
if (auth.accessToken) {
|
|
2265
2268
|
request.headers = this.addHeaders(request.headers, {'Authorization': `Bearer ${auth.accessToken}`});
|
|
2269
|
+
} else {
|
|
2270
|
+
request.headers = this.addHeaders(request.headers, {});
|
|
2266
2271
|
}
|
|
2267
2272
|
break;
|
|
2268
2273
|
default:
|
|
@@ -2404,7 +2409,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
2404
2409
|
/**
|
|
2405
2410
|
* AIStudio service.
|
|
2406
2411
|
* @module purecloud-platform-client-v2/api/AIStudioApi
|
|
2407
|
-
* @version
|
|
2412
|
+
* @version 247.0.0
|
|
2408
2413
|
*/
|
|
2409
2414
|
|
|
2410
2415
|
/**
|
|
@@ -3023,7 +3028,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
3023
3028
|
/**
|
|
3024
3029
|
* AgentAssistants service.
|
|
3025
3030
|
* @module purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
3026
|
-
* @version
|
|
3031
|
+
* @version 247.0.0
|
|
3027
3032
|
*/
|
|
3028
3033
|
|
|
3029
3034
|
/**
|
|
@@ -3736,7 +3741,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
3736
3741
|
/**
|
|
3737
3742
|
* AgentCopilot service.
|
|
3738
3743
|
* @module purecloud-platform-client-v2/api/AgentCopilotApi
|
|
3739
|
-
* @version
|
|
3744
|
+
* @version 247.0.0
|
|
3740
3745
|
*/
|
|
3741
3746
|
|
|
3742
3747
|
/**
|
|
@@ -3836,7 +3841,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
3836
3841
|
/**
|
|
3837
3842
|
* AgentUI service.
|
|
3838
3843
|
* @module purecloud-platform-client-v2/api/AgentUIApi
|
|
3839
|
-
* @version
|
|
3844
|
+
* @version 247.0.0
|
|
3840
3845
|
*/
|
|
3841
3846
|
|
|
3842
3847
|
/**
|
|
@@ -3967,7 +3972,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
3967
3972
|
/**
|
|
3968
3973
|
* Alerting service.
|
|
3969
3974
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
3970
|
-
* @version
|
|
3975
|
+
* @version 247.0.0
|
|
3971
3976
|
*/
|
|
3972
3977
|
|
|
3973
3978
|
/**
|
|
@@ -4368,7 +4373,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
4368
4373
|
/**
|
|
4369
4374
|
* Analytics service.
|
|
4370
4375
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
4371
|
-
* @version
|
|
4376
|
+
* @version 247.0.0
|
|
4372
4377
|
*/
|
|
4373
4378
|
|
|
4374
4379
|
/**
|
|
@@ -7805,7 +7810,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
7805
7810
|
/**
|
|
7806
7811
|
* Architect service.
|
|
7807
7812
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
7808
|
-
* @version
|
|
7813
|
+
* @version 247.0.0
|
|
7809
7814
|
*/
|
|
7810
7815
|
|
|
7811
7816
|
/**
|
|
@@ -12100,7 +12105,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
12100
12105
|
/**
|
|
12101
12106
|
* AssistantCopilotVariations service.
|
|
12102
12107
|
* @module purecloud-platform-client-v2/api/AssistantCopilotVariationsApi
|
|
12103
|
-
* @version
|
|
12108
|
+
* @version 247.0.0
|
|
12104
12109
|
*/
|
|
12105
12110
|
|
|
12106
12111
|
/**
|
|
@@ -12271,7 +12276,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
12271
12276
|
/**
|
|
12272
12277
|
* Audit service.
|
|
12273
12278
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
12274
|
-
* @version
|
|
12279
|
+
* @version 247.0.0
|
|
12275
12280
|
*/
|
|
12276
12281
|
|
|
12277
12282
|
/**
|
|
@@ -12472,7 +12477,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
12472
12477
|
/**
|
|
12473
12478
|
* Authorization service.
|
|
12474
12479
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
12475
|
-
* @version
|
|
12480
|
+
* @version 247.0.0
|
|
12476
12481
|
*/
|
|
12477
12482
|
|
|
12478
12483
|
/**
|
|
@@ -14186,7 +14191,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
14186
14191
|
/**
|
|
14187
14192
|
* BackgroundAssistant service.
|
|
14188
14193
|
* @module purecloud-platform-client-v2/api/BackgroundAssistantApi
|
|
14189
|
-
* @version
|
|
14194
|
+
* @version 247.0.0
|
|
14190
14195
|
*/
|
|
14191
14196
|
|
|
14192
14197
|
/**
|
|
@@ -14256,7 +14261,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
14256
14261
|
/**
|
|
14257
14262
|
* Billing service.
|
|
14258
14263
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
14259
|
-
* @version
|
|
14264
|
+
* @version 247.0.0
|
|
14260
14265
|
*/
|
|
14261
14266
|
|
|
14262
14267
|
/**
|
|
@@ -14512,7 +14517,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
14512
14517
|
/**
|
|
14513
14518
|
* BusinessRules service.
|
|
14514
14519
|
* @module purecloud-platform-client-v2/api/BusinessRulesApi
|
|
14515
|
-
* @version
|
|
14520
|
+
* @version 247.0.0
|
|
14516
14521
|
*/
|
|
14517
14522
|
|
|
14518
14523
|
/**
|
|
@@ -15399,7 +15404,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
15399
15404
|
/**
|
|
15400
15405
|
* CarrierServices service.
|
|
15401
15406
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
15402
|
-
* @version
|
|
15407
|
+
* @version 247.0.0
|
|
15403
15408
|
*/
|
|
15404
15409
|
|
|
15405
15410
|
/**
|
|
@@ -15469,7 +15474,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
15469
15474
|
/**
|
|
15470
15475
|
* Chat service.
|
|
15471
15476
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
15472
|
-
* @version
|
|
15477
|
+
* @version 247.0.0
|
|
15473
15478
|
*/
|
|
15474
15479
|
|
|
15475
15480
|
/**
|
|
@@ -16450,7 +16455,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
16450
16455
|
/**
|
|
16451
16456
|
* Coaching service.
|
|
16452
16457
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
16453
|
-
* @version
|
|
16458
|
+
* @version 247.0.0
|
|
16454
16459
|
*/
|
|
16455
16460
|
|
|
16456
16461
|
/**
|
|
@@ -17077,7 +17082,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
17077
17082
|
/**
|
|
17078
17083
|
* ContentManagement service.
|
|
17079
17084
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
17080
|
-
* @version
|
|
17085
|
+
* @version 247.0.0
|
|
17081
17086
|
*/
|
|
17082
17087
|
|
|
17083
17088
|
/**
|
|
@@ -18158,7 +18163,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
18158
18163
|
/**
|
|
18159
18164
|
* Conversations service.
|
|
18160
18165
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
18161
|
-
* @version
|
|
18166
|
+
* @version 247.0.0
|
|
18162
18167
|
*/
|
|
18163
18168
|
|
|
18164
18169
|
/**
|
|
@@ -18249,6 +18254,36 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
18249
18254
|
);
|
|
18250
18255
|
}
|
|
18251
18256
|
|
|
18257
|
+
/**
|
|
18258
|
+
* Delete a custom attributes record.
|
|
18259
|
+
*
|
|
18260
|
+
* @param {String} conversationId conversation ID
|
|
18261
|
+
* @param {String} attributesId attributesId
|
|
18262
|
+
*/
|
|
18263
|
+
deleteConversationCustomattribute(conversationId, attributesId) {
|
|
18264
|
+
// verify the required parameter 'conversationId' is set
|
|
18265
|
+
if (conversationId === undefined || conversationId === null || conversationId === '') {
|
|
18266
|
+
throw 'Missing the required parameter "conversationId" when calling deleteConversationCustomattribute';
|
|
18267
|
+
}
|
|
18268
|
+
// verify the required parameter 'attributesId' is set
|
|
18269
|
+
if (attributesId === undefined || attributesId === null || attributesId === '') {
|
|
18270
|
+
throw 'Missing the required parameter "attributesId" when calling deleteConversationCustomattribute';
|
|
18271
|
+
}
|
|
18272
|
+
|
|
18273
|
+
return this.apiClient.callApi(
|
|
18274
|
+
'/api/v2/conversations/{conversationId}/customattributes/{attributesId}',
|
|
18275
|
+
'DELETE',
|
|
18276
|
+
{ 'conversationId': conversationId,'attributesId': attributesId },
|
|
18277
|
+
{ },
|
|
18278
|
+
{ },
|
|
18279
|
+
{ },
|
|
18280
|
+
null,
|
|
18281
|
+
['PureCloud OAuth'],
|
|
18282
|
+
['application/json'],
|
|
18283
|
+
['application/json']
|
|
18284
|
+
);
|
|
18285
|
+
}
|
|
18286
|
+
|
|
18252
18287
|
/**
|
|
18253
18288
|
* Delete a code used to add a communication to this participant
|
|
18254
18289
|
*
|
|
@@ -18509,6 +18544,32 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
18509
18544
|
);
|
|
18510
18545
|
}
|
|
18511
18546
|
|
|
18547
|
+
/**
|
|
18548
|
+
* Delete an Open messaging integration with the Google Business Profile extension
|
|
18549
|
+
* See https://developer.genesys.cloud/api/digital/openmessaging/ for more information.
|
|
18550
|
+
* @param {String} integrationId Integration ID
|
|
18551
|
+
* deleteConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
18552
|
+
*/
|
|
18553
|
+
deleteConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileIntegrationId(integrationId) {
|
|
18554
|
+
// verify the required parameter 'integrationId' is set
|
|
18555
|
+
if (integrationId === undefined || integrationId === null || integrationId === '') {
|
|
18556
|
+
throw 'Missing the required parameter "integrationId" when calling deleteConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileIntegrationId';
|
|
18557
|
+
}
|
|
18558
|
+
|
|
18559
|
+
return this.apiClient.callApi(
|
|
18560
|
+
'/api/v2/conversations/messaging/integrations/open/extensions/googlebusinessprofile/{integrationId}',
|
|
18561
|
+
'DELETE',
|
|
18562
|
+
{ 'integrationId': integrationId },
|
|
18563
|
+
{ },
|
|
18564
|
+
{ },
|
|
18565
|
+
{ },
|
|
18566
|
+
null,
|
|
18567
|
+
['PureCloud OAuth'],
|
|
18568
|
+
['application/json'],
|
|
18569
|
+
['application/json']
|
|
18570
|
+
);
|
|
18571
|
+
}
|
|
18572
|
+
|
|
18512
18573
|
/**
|
|
18513
18574
|
* Delete an Open messaging integration
|
|
18514
18575
|
* See https://developer.genesys.cloud/api/digital/openmessaging/ for more information.
|
|
@@ -19034,6 +19095,61 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
19034
19095
|
);
|
|
19035
19096
|
}
|
|
19036
19097
|
|
|
19098
|
+
/**
|
|
19099
|
+
* Get custom attributes by id
|
|
19100
|
+
*
|
|
19101
|
+
* @param {String} conversationId conversation ID
|
|
19102
|
+
* @param {String} attributesId attributesId
|
|
19103
|
+
*/
|
|
19104
|
+
getConversationCustomattribute(conversationId, attributesId) {
|
|
19105
|
+
// verify the required parameter 'conversationId' is set
|
|
19106
|
+
if (conversationId === undefined || conversationId === null || conversationId === '') {
|
|
19107
|
+
throw 'Missing the required parameter "conversationId" when calling getConversationCustomattribute';
|
|
19108
|
+
}
|
|
19109
|
+
// verify the required parameter 'attributesId' is set
|
|
19110
|
+
if (attributesId === undefined || attributesId === null || attributesId === '') {
|
|
19111
|
+
throw 'Missing the required parameter "attributesId" when calling getConversationCustomattribute';
|
|
19112
|
+
}
|
|
19113
|
+
|
|
19114
|
+
return this.apiClient.callApi(
|
|
19115
|
+
'/api/v2/conversations/{conversationId}/customattributes/{attributesId}',
|
|
19116
|
+
'GET',
|
|
19117
|
+
{ 'conversationId': conversationId,'attributesId': attributesId },
|
|
19118
|
+
{ },
|
|
19119
|
+
{ },
|
|
19120
|
+
{ },
|
|
19121
|
+
null,
|
|
19122
|
+
['PureCloud OAuth'],
|
|
19123
|
+
['application/json'],
|
|
19124
|
+
['application/json']
|
|
19125
|
+
);
|
|
19126
|
+
}
|
|
19127
|
+
|
|
19128
|
+
/**
|
|
19129
|
+
* Get a list of custom attributes for a conversation.
|
|
19130
|
+
*
|
|
19131
|
+
* @param {String} conversationId conversation ID
|
|
19132
|
+
*/
|
|
19133
|
+
getConversationCustomattributes(conversationId) {
|
|
19134
|
+
// verify the required parameter 'conversationId' is set
|
|
19135
|
+
if (conversationId === undefined || conversationId === null || conversationId === '') {
|
|
19136
|
+
throw 'Missing the required parameter "conversationId" when calling getConversationCustomattributes';
|
|
19137
|
+
}
|
|
19138
|
+
|
|
19139
|
+
return this.apiClient.callApi(
|
|
19140
|
+
'/api/v2/conversations/{conversationId}/customattributes',
|
|
19141
|
+
'GET',
|
|
19142
|
+
{ 'conversationId': conversationId },
|
|
19143
|
+
{ },
|
|
19144
|
+
{ },
|
|
19145
|
+
{ },
|
|
19146
|
+
null,
|
|
19147
|
+
['PureCloud OAuth'],
|
|
19148
|
+
['application/json'],
|
|
19149
|
+
['application/json']
|
|
19150
|
+
);
|
|
19151
|
+
}
|
|
19152
|
+
|
|
19037
19153
|
/**
|
|
19038
19154
|
* Fetch info on a secure session
|
|
19039
19155
|
*
|
|
@@ -20011,6 +20127,171 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
20011
20127
|
);
|
|
20012
20128
|
}
|
|
20013
20129
|
|
|
20130
|
+
/**
|
|
20131
|
+
* Get a schema
|
|
20132
|
+
*
|
|
20133
|
+
* @param {String} schemaId Schema ID
|
|
20134
|
+
*/
|
|
20135
|
+
getConversationsCustomattributesSchema(schemaId) {
|
|
20136
|
+
// verify the required parameter 'schemaId' is set
|
|
20137
|
+
if (schemaId === undefined || schemaId === null || schemaId === '') {
|
|
20138
|
+
throw 'Missing the required parameter "schemaId" when calling getConversationsCustomattributesSchema';
|
|
20139
|
+
}
|
|
20140
|
+
|
|
20141
|
+
return this.apiClient.callApi(
|
|
20142
|
+
'/api/v2/conversations/customattributes/schemas/{schemaId}',
|
|
20143
|
+
'GET',
|
|
20144
|
+
{ 'schemaId': schemaId },
|
|
20145
|
+
{ },
|
|
20146
|
+
{ },
|
|
20147
|
+
{ },
|
|
20148
|
+
null,
|
|
20149
|
+
['PureCloud OAuth'],
|
|
20150
|
+
['application/json'],
|
|
20151
|
+
['application/json']
|
|
20152
|
+
);
|
|
20153
|
+
}
|
|
20154
|
+
|
|
20155
|
+
/**
|
|
20156
|
+
* Get a specific version of a schema
|
|
20157
|
+
*
|
|
20158
|
+
* @param {String} schemaId Schema ID
|
|
20159
|
+
* @param {String} versionId Schema version
|
|
20160
|
+
*/
|
|
20161
|
+
getConversationsCustomattributesSchemaVersion(schemaId, versionId) {
|
|
20162
|
+
// verify the required parameter 'schemaId' is set
|
|
20163
|
+
if (schemaId === undefined || schemaId === null || schemaId === '') {
|
|
20164
|
+
throw 'Missing the required parameter "schemaId" when calling getConversationsCustomattributesSchemaVersion';
|
|
20165
|
+
}
|
|
20166
|
+
// verify the required parameter 'versionId' is set
|
|
20167
|
+
if (versionId === undefined || versionId === null || versionId === '') {
|
|
20168
|
+
throw 'Missing the required parameter "versionId" when calling getConversationsCustomattributesSchemaVersion';
|
|
20169
|
+
}
|
|
20170
|
+
|
|
20171
|
+
return this.apiClient.callApi(
|
|
20172
|
+
'/api/v2/conversations/customattributes/schemas/{schemaId}/versions/{versionId}',
|
|
20173
|
+
'GET',
|
|
20174
|
+
{ 'schemaId': schemaId,'versionId': versionId },
|
|
20175
|
+
{ },
|
|
20176
|
+
{ },
|
|
20177
|
+
{ },
|
|
20178
|
+
null,
|
|
20179
|
+
['PureCloud OAuth'],
|
|
20180
|
+
['application/json'],
|
|
20181
|
+
['application/json']
|
|
20182
|
+
);
|
|
20183
|
+
}
|
|
20184
|
+
|
|
20185
|
+
/**
|
|
20186
|
+
* Get all versions of a CCA schema
|
|
20187
|
+
*
|
|
20188
|
+
* @param {String} schemaId Schema ID
|
|
20189
|
+
*/
|
|
20190
|
+
getConversationsCustomattributesSchemaVersions(schemaId) {
|
|
20191
|
+
// verify the required parameter 'schemaId' is set
|
|
20192
|
+
if (schemaId === undefined || schemaId === null || schemaId === '') {
|
|
20193
|
+
throw 'Missing the required parameter "schemaId" when calling getConversationsCustomattributesSchemaVersions';
|
|
20194
|
+
}
|
|
20195
|
+
|
|
20196
|
+
return this.apiClient.callApi(
|
|
20197
|
+
'/api/v2/conversations/customattributes/schemas/{schemaId}/versions',
|
|
20198
|
+
'GET',
|
|
20199
|
+
{ 'schemaId': schemaId },
|
|
20200
|
+
{ },
|
|
20201
|
+
{ },
|
|
20202
|
+
{ },
|
|
20203
|
+
null,
|
|
20204
|
+
['PureCloud OAuth'],
|
|
20205
|
+
['application/json'],
|
|
20206
|
+
['application/json']
|
|
20207
|
+
);
|
|
20208
|
+
}
|
|
20209
|
+
|
|
20210
|
+
/**
|
|
20211
|
+
* Get a list of schemas.
|
|
20212
|
+
*
|
|
20213
|
+
*/
|
|
20214
|
+
getConversationsCustomattributesSchemas() {
|
|
20215
|
+
|
|
20216
|
+
return this.apiClient.callApi(
|
|
20217
|
+
'/api/v2/conversations/customattributes/schemas',
|
|
20218
|
+
'GET',
|
|
20219
|
+
{ },
|
|
20220
|
+
{ },
|
|
20221
|
+
{ },
|
|
20222
|
+
{ },
|
|
20223
|
+
null,
|
|
20224
|
+
['PureCloud OAuth'],
|
|
20225
|
+
['application/json'],
|
|
20226
|
+
['application/json']
|
|
20227
|
+
);
|
|
20228
|
+
}
|
|
20229
|
+
|
|
20230
|
+
/**
|
|
20231
|
+
* Get the core types from which all schemas are built.
|
|
20232
|
+
*
|
|
20233
|
+
* @param {String} coreTypeName Name of the core type
|
|
20234
|
+
*/
|
|
20235
|
+
getConversationsCustomattributesSchemasCoretype(coreTypeName) {
|
|
20236
|
+
// verify the required parameter 'coreTypeName' is set
|
|
20237
|
+
if (coreTypeName === undefined || coreTypeName === null || coreTypeName === '') {
|
|
20238
|
+
throw 'Missing the required parameter "coreTypeName" when calling getConversationsCustomattributesSchemasCoretype';
|
|
20239
|
+
}
|
|
20240
|
+
|
|
20241
|
+
return this.apiClient.callApi(
|
|
20242
|
+
'/api/v2/conversations/customattributes/schemas/coretypes/{coreTypeName}',
|
|
20243
|
+
'GET',
|
|
20244
|
+
{ 'coreTypeName': coreTypeName },
|
|
20245
|
+
{ },
|
|
20246
|
+
{ },
|
|
20247
|
+
{ },
|
|
20248
|
+
null,
|
|
20249
|
+
['PureCloud OAuth'],
|
|
20250
|
+
['application/json'],
|
|
20251
|
+
['application/json']
|
|
20252
|
+
);
|
|
20253
|
+
}
|
|
20254
|
+
|
|
20255
|
+
/**
|
|
20256
|
+
* Get the list of core types enabled for a specific namespace.
|
|
20257
|
+
*
|
|
20258
|
+
*/
|
|
20259
|
+
getConversationsCustomattributesSchemasCoretypes() {
|
|
20260
|
+
|
|
20261
|
+
return this.apiClient.callApi(
|
|
20262
|
+
'/api/v2/conversations/customattributes/schemas/coretypes',
|
|
20263
|
+
'GET',
|
|
20264
|
+
{ },
|
|
20265
|
+
{ },
|
|
20266
|
+
{ },
|
|
20267
|
+
{ },
|
|
20268
|
+
null,
|
|
20269
|
+
['PureCloud OAuth'],
|
|
20270
|
+
['application/json'],
|
|
20271
|
+
['application/json']
|
|
20272
|
+
);
|
|
20273
|
+
}
|
|
20274
|
+
|
|
20275
|
+
/**
|
|
20276
|
+
* Get quantitative limits on schemas
|
|
20277
|
+
*
|
|
20278
|
+
*/
|
|
20279
|
+
getConversationsCustomattributesSchemasLimits() {
|
|
20280
|
+
|
|
20281
|
+
return this.apiClient.callApi(
|
|
20282
|
+
'/api/v2/conversations/customattributes/schemas/limits',
|
|
20283
|
+
'GET',
|
|
20284
|
+
{ },
|
|
20285
|
+
{ },
|
|
20286
|
+
{ },
|
|
20287
|
+
{ },
|
|
20288
|
+
null,
|
|
20289
|
+
['PureCloud OAuth'],
|
|
20290
|
+
['application/json'],
|
|
20291
|
+
['application/json']
|
|
20292
|
+
);
|
|
20293
|
+
}
|
|
20294
|
+
|
|
20014
20295
|
/**
|
|
20015
20296
|
* Get email conversation
|
|
20016
20297
|
*
|
|
@@ -20417,7 +20698,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
20417
20698
|
|
|
20418
20699
|
/**
|
|
20419
20700
|
* Get media
|
|
20420
|
-
* See https://developer.genesys.cloud/
|
|
20701
|
+
* See https://developer.genesys.cloud/commdigital/digital/messagemediaupload/ for example usage.
|
|
20421
20702
|
* @param {String} conversationId conversationId
|
|
20422
20703
|
* @param {String} communicationId communicationId
|
|
20423
20704
|
* @param {String} mediaId mediaId
|
|
@@ -21129,6 +21410,109 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
21129
21410
|
);
|
|
21130
21411
|
}
|
|
21131
21412
|
|
|
21413
|
+
/**
|
|
21414
|
+
* Get an Open messaging integration with the Google Business Profile extension
|
|
21415
|
+
* See https://developer.genesys.cloud/api/digital/openmessaging/ for more information.
|
|
21416
|
+
* @param {String} integrationId Integration ID
|
|
21417
|
+
* @param {Object} opts Optional parameters
|
|
21418
|
+
* @param {Object} opts.expand Expand instructions for the return value.
|
|
21419
|
+
* getConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
21420
|
+
*/
|
|
21421
|
+
getConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileIntegrationId(integrationId, opts) {
|
|
21422
|
+
opts = opts || {};
|
|
21423
|
+
|
|
21424
|
+
// verify the required parameter 'integrationId' is set
|
|
21425
|
+
if (integrationId === undefined || integrationId === null || integrationId === '') {
|
|
21426
|
+
throw 'Missing the required parameter "integrationId" when calling getConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileIntegrationId';
|
|
21427
|
+
}
|
|
21428
|
+
|
|
21429
|
+
return this.apiClient.callApi(
|
|
21430
|
+
'/api/v2/conversations/messaging/integrations/open/extensions/googlebusinessprofile/{integrationId}',
|
|
21431
|
+
'GET',
|
|
21432
|
+
{ 'integrationId': integrationId },
|
|
21433
|
+
{ 'expand': opts['expand'] },
|
|
21434
|
+
{ },
|
|
21435
|
+
{ },
|
|
21436
|
+
null,
|
|
21437
|
+
['PureCloud OAuth'],
|
|
21438
|
+
['application/json'],
|
|
21439
|
+
['application/json']
|
|
21440
|
+
);
|
|
21441
|
+
}
|
|
21442
|
+
|
|
21443
|
+
/**
|
|
21444
|
+
* Get Google Business Profile OAuth 2 settings
|
|
21445
|
+
* See https://developer.genesys.cloud/api/digital/openmessaging/ for more information.
|
|
21446
|
+
* getConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileOauthSettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
21447
|
+
*/
|
|
21448
|
+
getConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileOauthSettings() {
|
|
21449
|
+
|
|
21450
|
+
return this.apiClient.callApi(
|
|
21451
|
+
'/api/v2/conversations/messaging/integrations/open/extensions/googlebusinessprofile/oauth/settings',
|
|
21452
|
+
'GET',
|
|
21453
|
+
{ },
|
|
21454
|
+
{ },
|
|
21455
|
+
{ },
|
|
21456
|
+
{ },
|
|
21457
|
+
null,
|
|
21458
|
+
['PureCloud OAuth'],
|
|
21459
|
+
['application/json'],
|
|
21460
|
+
['application/json']
|
|
21461
|
+
);
|
|
21462
|
+
}
|
|
21463
|
+
|
|
21464
|
+
/**
|
|
21465
|
+
* Get a Google Auth Token
|
|
21466
|
+
* See https://developer.genesys.cloud/api/digital/openmessaging/ for more information.
|
|
21467
|
+
* @param {String} tokenId Token ID
|
|
21468
|
+
* getConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileToken is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
21469
|
+
*/
|
|
21470
|
+
getConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileToken(tokenId) {
|
|
21471
|
+
// verify the required parameter 'tokenId' is set
|
|
21472
|
+
if (tokenId === undefined || tokenId === null || tokenId === '') {
|
|
21473
|
+
throw 'Missing the required parameter "tokenId" when calling getConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileToken';
|
|
21474
|
+
}
|
|
21475
|
+
|
|
21476
|
+
return this.apiClient.callApi(
|
|
21477
|
+
'/api/v2/conversations/messaging/integrations/open/extensions/googlebusinessprofile/tokens/{tokenId}',
|
|
21478
|
+
'GET',
|
|
21479
|
+
{ 'tokenId': tokenId },
|
|
21480
|
+
{ },
|
|
21481
|
+
{ },
|
|
21482
|
+
{ },
|
|
21483
|
+
null,
|
|
21484
|
+
['PureCloud OAuth'],
|
|
21485
|
+
['application/json'],
|
|
21486
|
+
['application/json']
|
|
21487
|
+
);
|
|
21488
|
+
}
|
|
21489
|
+
|
|
21490
|
+
/**
|
|
21491
|
+
* Get Google Business Profile accounts
|
|
21492
|
+
* See https://developer.genesys.cloud/api/digital/openmessaging/ for more information.
|
|
21493
|
+
* @param {String} tokenId Token ID
|
|
21494
|
+
* getConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileTokenAccounts is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
21495
|
+
*/
|
|
21496
|
+
getConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileTokenAccounts(tokenId) {
|
|
21497
|
+
// verify the required parameter 'tokenId' is set
|
|
21498
|
+
if (tokenId === undefined || tokenId === null || tokenId === '') {
|
|
21499
|
+
throw 'Missing the required parameter "tokenId" when calling getConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileTokenAccounts';
|
|
21500
|
+
}
|
|
21501
|
+
|
|
21502
|
+
return this.apiClient.callApi(
|
|
21503
|
+
'/api/v2/conversations/messaging/integrations/open/extensions/googlebusinessprofile/tokens/{tokenId}/accounts',
|
|
21504
|
+
'GET',
|
|
21505
|
+
{ 'tokenId': tokenId },
|
|
21506
|
+
{ },
|
|
21507
|
+
{ },
|
|
21508
|
+
{ },
|
|
21509
|
+
null,
|
|
21510
|
+
['PureCloud OAuth'],
|
|
21511
|
+
['application/json'],
|
|
21512
|
+
['application/json']
|
|
21513
|
+
);
|
|
21514
|
+
}
|
|
21515
|
+
|
|
21132
21516
|
/**
|
|
21133
21517
|
* Get an Open messaging integration
|
|
21134
21518
|
* See https://developer.genesys.cloud/api/digital/openmessaging/ for more information.
|
|
@@ -21675,6 +22059,64 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
21675
22059
|
);
|
|
21676
22060
|
}
|
|
21677
22061
|
|
|
22062
|
+
/**
|
|
22063
|
+
* Update a single custom attributes record by amending the data with only the provided fields.
|
|
22064
|
+
*
|
|
22065
|
+
* @param {String} conversationId conversation ID
|
|
22066
|
+
* @param {Object} opts Optional parameters
|
|
22067
|
+
* @param {Object} opts.body
|
|
22068
|
+
*/
|
|
22069
|
+
patchConversationCustomattributes(conversationId, opts) {
|
|
22070
|
+
opts = opts || {};
|
|
22071
|
+
|
|
22072
|
+
// verify the required parameter 'conversationId' is set
|
|
22073
|
+
if (conversationId === undefined || conversationId === null || conversationId === '') {
|
|
22074
|
+
throw 'Missing the required parameter "conversationId" when calling patchConversationCustomattributes';
|
|
22075
|
+
}
|
|
22076
|
+
|
|
22077
|
+
return this.apiClient.callApi(
|
|
22078
|
+
'/api/v2/conversations/{conversationId}/customattributes',
|
|
22079
|
+
'PATCH',
|
|
22080
|
+
{ 'conversationId': conversationId },
|
|
22081
|
+
{ },
|
|
22082
|
+
{ },
|
|
22083
|
+
{ },
|
|
22084
|
+
opts['body'],
|
|
22085
|
+
['PureCloud OAuth'],
|
|
22086
|
+
['application/json'],
|
|
22087
|
+
['application/json']
|
|
22088
|
+
);
|
|
22089
|
+
}
|
|
22090
|
+
|
|
22091
|
+
/**
|
|
22092
|
+
* Update a list of custom attributes record by amending the data with only the provided fields.
|
|
22093
|
+
*
|
|
22094
|
+
* @param {String} conversationId conversation ID
|
|
22095
|
+
* @param {Object} opts Optional parameters
|
|
22096
|
+
* @param {Array.<Object>} opts.body
|
|
22097
|
+
*/
|
|
22098
|
+
patchConversationCustomattributesBulk(conversationId, opts) {
|
|
22099
|
+
opts = opts || {};
|
|
22100
|
+
|
|
22101
|
+
// verify the required parameter 'conversationId' is set
|
|
22102
|
+
if (conversationId === undefined || conversationId === null || conversationId === '') {
|
|
22103
|
+
throw 'Missing the required parameter "conversationId" when calling patchConversationCustomattributesBulk';
|
|
22104
|
+
}
|
|
22105
|
+
|
|
22106
|
+
return this.apiClient.callApi(
|
|
22107
|
+
'/api/v2/conversations/{conversationId}/customattributes/bulk',
|
|
22108
|
+
'PATCH',
|
|
22109
|
+
{ 'conversationId': conversationId },
|
|
22110
|
+
{ },
|
|
22111
|
+
{ },
|
|
22112
|
+
{ },
|
|
22113
|
+
opts['body'],
|
|
22114
|
+
['PureCloud OAuth'],
|
|
22115
|
+
['application/json'],
|
|
22116
|
+
['application/json']
|
|
22117
|
+
);
|
|
22118
|
+
}
|
|
22119
|
+
|
|
21678
22120
|
/**
|
|
21679
22121
|
* Update a participant.
|
|
21680
22122
|
* Update conversation participant.
|
|
@@ -23112,6 +23554,37 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
23112
23554
|
);
|
|
23113
23555
|
}
|
|
23114
23556
|
|
|
23557
|
+
/**
|
|
23558
|
+
* Update an Open messaging integration with the Google Business Profile extension
|
|
23559
|
+
* See https://developer.genesys.cloud/api/digital/openmessaging/ for more information.
|
|
23560
|
+
* @param {String} integrationId Integration ID
|
|
23561
|
+
* @param {Object} body GoogleBusinessProfileOpenIntegrationUpdateRequest
|
|
23562
|
+
* patchConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
23563
|
+
*/
|
|
23564
|
+
patchConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileIntegrationId(integrationId, body) {
|
|
23565
|
+
// verify the required parameter 'integrationId' is set
|
|
23566
|
+
if (integrationId === undefined || integrationId === null || integrationId === '') {
|
|
23567
|
+
throw 'Missing the required parameter "integrationId" when calling patchConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileIntegrationId';
|
|
23568
|
+
}
|
|
23569
|
+
// verify the required parameter 'body' is set
|
|
23570
|
+
if (body === undefined || body === null) {
|
|
23571
|
+
throw 'Missing the required parameter "body" when calling patchConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileIntegrationId';
|
|
23572
|
+
}
|
|
23573
|
+
|
|
23574
|
+
return this.apiClient.callApi(
|
|
23575
|
+
'/api/v2/conversations/messaging/integrations/open/extensions/googlebusinessprofile/{integrationId}',
|
|
23576
|
+
'PATCH',
|
|
23577
|
+
{ 'integrationId': integrationId },
|
|
23578
|
+
{ },
|
|
23579
|
+
{ },
|
|
23580
|
+
{ },
|
|
23581
|
+
body,
|
|
23582
|
+
['PureCloud OAuth'],
|
|
23583
|
+
['application/json'],
|
|
23584
|
+
['application/json']
|
|
23585
|
+
);
|
|
23586
|
+
}
|
|
23587
|
+
|
|
23115
23588
|
/**
|
|
23116
23589
|
* Update an Open messaging integration
|
|
23117
23590
|
* See https://developer.genesys.cloud/api/digital/openmessaging/ for more information.
|
|
@@ -25141,6 +25614,56 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
25141
25614
|
);
|
|
25142
25615
|
}
|
|
25143
25616
|
|
|
25617
|
+
/**
|
|
25618
|
+
* Create a schema
|
|
25619
|
+
*
|
|
25620
|
+
* @param {Object} body Schema create request body
|
|
25621
|
+
*/
|
|
25622
|
+
postConversationsCustomattributesSchemas(body) {
|
|
25623
|
+
// verify the required parameter 'body' is set
|
|
25624
|
+
if (body === undefined || body === null) {
|
|
25625
|
+
throw 'Missing the required parameter "body" when calling postConversationsCustomattributesSchemas';
|
|
25626
|
+
}
|
|
25627
|
+
|
|
25628
|
+
return this.apiClient.callApi(
|
|
25629
|
+
'/api/v2/conversations/customattributes/schemas',
|
|
25630
|
+
'POST',
|
|
25631
|
+
{ },
|
|
25632
|
+
{ },
|
|
25633
|
+
{ },
|
|
25634
|
+
{ },
|
|
25635
|
+
body,
|
|
25636
|
+
['PureCloud OAuth'],
|
|
25637
|
+
['application/json'],
|
|
25638
|
+
['application/json']
|
|
25639
|
+
);
|
|
25640
|
+
}
|
|
25641
|
+
|
|
25642
|
+
/**
|
|
25643
|
+
* Search resources.
|
|
25644
|
+
*
|
|
25645
|
+
* @param {Object} body Search request options
|
|
25646
|
+
*/
|
|
25647
|
+
postConversationsCustomattributesSearch(body) {
|
|
25648
|
+
// verify the required parameter 'body' is set
|
|
25649
|
+
if (body === undefined || body === null) {
|
|
25650
|
+
throw 'Missing the required parameter "body" when calling postConversationsCustomattributesSearch';
|
|
25651
|
+
}
|
|
25652
|
+
|
|
25653
|
+
return this.apiClient.callApi(
|
|
25654
|
+
'/api/v2/conversations/customattributes/search',
|
|
25655
|
+
'POST',
|
|
25656
|
+
{ },
|
|
25657
|
+
{ },
|
|
25658
|
+
{ },
|
|
25659
|
+
{ },
|
|
25660
|
+
body,
|
|
25661
|
+
['PureCloud OAuth'],
|
|
25662
|
+
['application/json'],
|
|
25663
|
+
['application/json']
|
|
25664
|
+
);
|
|
25665
|
+
}
|
|
25666
|
+
|
|
25144
25667
|
/**
|
|
25145
25668
|
* Send an email to an external conversation. An external conversation is one where the provider is not PureCloud based. This endpoint allows the sender of the external email to reply or send a new message to the existing conversation. The new message will be treated as part of the existing conversation and chained to it.
|
|
25146
25669
|
*
|
|
@@ -25527,7 +26050,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
25527
26050
|
|
|
25528
26051
|
/**
|
|
25529
26052
|
* Create a URL to upload a message media file
|
|
25530
|
-
* See https://developer.genesys.cloud/
|
|
26053
|
+
* See https://developer.genesys.cloud/commdigital/digital/messagemediaupload/ for example usage.
|
|
25531
26054
|
* @param {String} conversationId conversationId
|
|
25532
26055
|
* @param {String} communicationId communicationId
|
|
25533
26056
|
* @param {Object} body request
|
|
@@ -26068,6 +26591,58 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
26068
26591
|
);
|
|
26069
26592
|
}
|
|
26070
26593
|
|
|
26594
|
+
/**
|
|
26595
|
+
* Create an Open messaging integration with the Google Business Profile extension
|
|
26596
|
+
* See https://developer.genesys.cloud/api/digital/openmessaging/ for more information.
|
|
26597
|
+
* @param {Object} body GoogleBusinessProfileOpenIntegrationRequest
|
|
26598
|
+
* postConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofile is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
26599
|
+
*/
|
|
26600
|
+
postConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofile(body) {
|
|
26601
|
+
// verify the required parameter 'body' is set
|
|
26602
|
+
if (body === undefined || body === null) {
|
|
26603
|
+
throw 'Missing the required parameter "body" when calling postConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofile';
|
|
26604
|
+
}
|
|
26605
|
+
|
|
26606
|
+
return this.apiClient.callApi(
|
|
26607
|
+
'/api/v2/conversations/messaging/integrations/open/extensions/googlebusinessprofile',
|
|
26608
|
+
'POST',
|
|
26609
|
+
{ },
|
|
26610
|
+
{ },
|
|
26611
|
+
{ },
|
|
26612
|
+
{ },
|
|
26613
|
+
body,
|
|
26614
|
+
['PureCloud OAuth'],
|
|
26615
|
+
['application/json'],
|
|
26616
|
+
['application/json']
|
|
26617
|
+
);
|
|
26618
|
+
}
|
|
26619
|
+
|
|
26620
|
+
/**
|
|
26621
|
+
* Create a Google Auth Token by exchanging the one-time auth code retrieved from Google
|
|
26622
|
+
* See https://developer.genesys.cloud/api/digital/openmessaging/ for more information.
|
|
26623
|
+
* @param {Object} body GoogleAuthTokenRequest
|
|
26624
|
+
* postConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileTokens is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
26625
|
+
*/
|
|
26626
|
+
postConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileTokens(body) {
|
|
26627
|
+
// verify the required parameter 'body' is set
|
|
26628
|
+
if (body === undefined || body === null) {
|
|
26629
|
+
throw 'Missing the required parameter "body" when calling postConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileTokens';
|
|
26630
|
+
}
|
|
26631
|
+
|
|
26632
|
+
return this.apiClient.callApi(
|
|
26633
|
+
'/api/v2/conversations/messaging/integrations/open/extensions/googlebusinessprofile/tokens',
|
|
26634
|
+
'POST',
|
|
26635
|
+
{ },
|
|
26636
|
+
{ },
|
|
26637
|
+
{ },
|
|
26638
|
+
{ },
|
|
26639
|
+
body,
|
|
26640
|
+
['PureCloud OAuth'],
|
|
26641
|
+
['application/json'],
|
|
26642
|
+
['application/json']
|
|
26643
|
+
);
|
|
26644
|
+
}
|
|
26645
|
+
|
|
26071
26646
|
/**
|
|
26072
26647
|
* Create Twitter Integration
|
|
26073
26648
|
*
|
|
@@ -26393,6 +26968,64 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
26393
26968
|
);
|
|
26394
26969
|
}
|
|
26395
26970
|
|
|
26971
|
+
/**
|
|
26972
|
+
* Create or update a single custom attributes record. Updating replaces all data with the provided fields.
|
|
26973
|
+
*
|
|
26974
|
+
* @param {String} conversationId conversation ID
|
|
26975
|
+
* @param {Object} opts Optional parameters
|
|
26976
|
+
* @param {Object} opts.body
|
|
26977
|
+
*/
|
|
26978
|
+
putConversationCustomattributes(conversationId, opts) {
|
|
26979
|
+
opts = opts || {};
|
|
26980
|
+
|
|
26981
|
+
// verify the required parameter 'conversationId' is set
|
|
26982
|
+
if (conversationId === undefined || conversationId === null || conversationId === '') {
|
|
26983
|
+
throw 'Missing the required parameter "conversationId" when calling putConversationCustomattributes';
|
|
26984
|
+
}
|
|
26985
|
+
|
|
26986
|
+
return this.apiClient.callApi(
|
|
26987
|
+
'/api/v2/conversations/{conversationId}/customattributes',
|
|
26988
|
+
'PUT',
|
|
26989
|
+
{ 'conversationId': conversationId },
|
|
26990
|
+
{ },
|
|
26991
|
+
{ },
|
|
26992
|
+
{ },
|
|
26993
|
+
opts['body'],
|
|
26994
|
+
['PureCloud OAuth'],
|
|
26995
|
+
['application/json'],
|
|
26996
|
+
['application/json']
|
|
26997
|
+
);
|
|
26998
|
+
}
|
|
26999
|
+
|
|
27000
|
+
/**
|
|
27001
|
+
* Create or update a list of custom attributes records. Updating replaces all data with the provided fields.
|
|
27002
|
+
*
|
|
27003
|
+
* @param {String} conversationId conversation ID
|
|
27004
|
+
* @param {Object} opts Optional parameters
|
|
27005
|
+
* @param {Array.<Object>} opts.body
|
|
27006
|
+
*/
|
|
27007
|
+
putConversationCustomattributesBulk(conversationId, opts) {
|
|
27008
|
+
opts = opts || {};
|
|
27009
|
+
|
|
27010
|
+
// verify the required parameter 'conversationId' is set
|
|
27011
|
+
if (conversationId === undefined || conversationId === null || conversationId === '') {
|
|
27012
|
+
throw 'Missing the required parameter "conversationId" when calling putConversationCustomattributesBulk';
|
|
27013
|
+
}
|
|
27014
|
+
|
|
27015
|
+
return this.apiClient.callApi(
|
|
27016
|
+
'/api/v2/conversations/{conversationId}/customattributes/bulk',
|
|
27017
|
+
'PUT',
|
|
27018
|
+
{ 'conversationId': conversationId },
|
|
27019
|
+
{ },
|
|
27020
|
+
{ },
|
|
27021
|
+
{ },
|
|
27022
|
+
opts['body'],
|
|
27023
|
+
['PureCloud OAuth'],
|
|
27024
|
+
['application/json'],
|
|
27025
|
+
['application/json']
|
|
27026
|
+
);
|
|
27027
|
+
}
|
|
27028
|
+
|
|
26396
27029
|
/**
|
|
26397
27030
|
* Set flagged reason on conversation participant to indicate bad conversation quality.
|
|
26398
27031
|
*
|
|
@@ -26645,6 +27278,36 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
26645
27278
|
);
|
|
26646
27279
|
}
|
|
26647
27280
|
|
|
27281
|
+
/**
|
|
27282
|
+
* Update a schema
|
|
27283
|
+
*
|
|
27284
|
+
* @param {String} schemaId Schema ID
|
|
27285
|
+
* @param {Object} body Schema update request body
|
|
27286
|
+
*/
|
|
27287
|
+
putConversationsCustomattributesSchema(schemaId, body) {
|
|
27288
|
+
// verify the required parameter 'schemaId' is set
|
|
27289
|
+
if (schemaId === undefined || schemaId === null || schemaId === '') {
|
|
27290
|
+
throw 'Missing the required parameter "schemaId" when calling putConversationsCustomattributesSchema';
|
|
27291
|
+
}
|
|
27292
|
+
// verify the required parameter 'body' is set
|
|
27293
|
+
if (body === undefined || body === null) {
|
|
27294
|
+
throw 'Missing the required parameter "body" when calling putConversationsCustomattributesSchema';
|
|
27295
|
+
}
|
|
27296
|
+
|
|
27297
|
+
return this.apiClient.callApi(
|
|
27298
|
+
'/api/v2/conversations/customattributes/schemas/{schemaId}',
|
|
27299
|
+
'PUT',
|
|
27300
|
+
{ 'schemaId': schemaId },
|
|
27301
|
+
{ },
|
|
27302
|
+
{ },
|
|
27303
|
+
{ },
|
|
27304
|
+
body,
|
|
27305
|
+
['PureCloud OAuth'],
|
|
27306
|
+
['application/json'],
|
|
27307
|
+
['application/json']
|
|
27308
|
+
);
|
|
27309
|
+
}
|
|
27310
|
+
|
|
26648
27311
|
/**
|
|
26649
27312
|
* Update conversation draft reply
|
|
26650
27313
|
*
|
|
@@ -27117,7 +27780,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
27117
27780
|
/**
|
|
27118
27781
|
* DataExtensions service.
|
|
27119
27782
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
27120
|
-
* @version
|
|
27783
|
+
* @version 247.0.0
|
|
27121
27784
|
*/
|
|
27122
27785
|
|
|
27123
27786
|
/**
|
|
@@ -27203,7 +27866,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
27203
27866
|
/**
|
|
27204
27867
|
* DataPrivacy service.
|
|
27205
27868
|
* @module purecloud-platform-client-v2/api/DataPrivacyApi
|
|
27206
|
-
* @version
|
|
27869
|
+
* @version 247.0.0
|
|
27207
27870
|
*/
|
|
27208
27871
|
|
|
27209
27872
|
/**
|
|
@@ -27373,7 +28036,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
27373
28036
|
/**
|
|
27374
28037
|
* Downloads service.
|
|
27375
28038
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
27376
|
-
* @version
|
|
28039
|
+
* @version 247.0.0
|
|
27377
28040
|
*/
|
|
27378
28041
|
|
|
27379
28042
|
/**
|
|
@@ -27425,7 +28088,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
27425
28088
|
/**
|
|
27426
28089
|
* Emails service.
|
|
27427
28090
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
27428
|
-
* @version
|
|
28091
|
+
* @version 247.0.0
|
|
27429
28092
|
*/
|
|
27430
28093
|
|
|
27431
28094
|
/**
|
|
@@ -27554,7 +28217,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
27554
28217
|
/**
|
|
27555
28218
|
* EmployeeEngagement service.
|
|
27556
28219
|
* @module purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
27557
|
-
* @version
|
|
28220
|
+
* @version 247.0.0
|
|
27558
28221
|
*/
|
|
27559
28222
|
|
|
27560
28223
|
/**
|
|
@@ -27734,7 +28397,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
27734
28397
|
/**
|
|
27735
28398
|
* Events service.
|
|
27736
28399
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
27737
|
-
* @version
|
|
28400
|
+
* @version 247.0.0
|
|
27738
28401
|
*/
|
|
27739
28402
|
|
|
27740
28403
|
/**
|
|
@@ -27830,7 +28493,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
27830
28493
|
/**
|
|
27831
28494
|
* ExternalContacts service.
|
|
27832
28495
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
27833
|
-
* @version
|
|
28496
|
+
* @version 247.0.0
|
|
27834
28497
|
*/
|
|
27835
28498
|
|
|
27836
28499
|
/**
|
|
@@ -31077,7 +31740,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
31077
31740
|
/**
|
|
31078
31741
|
* Fax service.
|
|
31079
31742
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
31080
|
-
* @version
|
|
31743
|
+
* @version 247.0.0
|
|
31081
31744
|
*/
|
|
31082
31745
|
|
|
31083
31746
|
/**
|
|
@@ -31292,7 +31955,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
31292
31955
|
/**
|
|
31293
31956
|
* Flows service.
|
|
31294
31957
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
31295
|
-
* @version
|
|
31958
|
+
* @version 247.0.0
|
|
31296
31959
|
*/
|
|
31297
31960
|
|
|
31298
31961
|
/**
|
|
@@ -31501,7 +32164,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
31501
32164
|
/**
|
|
31502
32165
|
* Gamification service.
|
|
31503
32166
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
31504
|
-
* @version
|
|
32167
|
+
* @version 247.0.0
|
|
31505
32168
|
*/
|
|
31506
32169
|
|
|
31507
32170
|
/**
|
|
@@ -34059,7 +34722,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
34059
34722
|
/**
|
|
34060
34723
|
* GeneralDataProtectionRegulation service.
|
|
34061
34724
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
34062
|
-
* @version
|
|
34725
|
+
* @version 247.0.0
|
|
34063
34726
|
*/
|
|
34064
34727
|
|
|
34065
34728
|
/**
|
|
@@ -34189,7 +34852,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
34189
34852
|
/**
|
|
34190
34853
|
* Geolocation service.
|
|
34191
34854
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
34192
|
-
* @version
|
|
34855
|
+
* @version 247.0.0
|
|
34193
34856
|
*/
|
|
34194
34857
|
|
|
34195
34858
|
/**
|
|
@@ -34320,7 +34983,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
34320
34983
|
/**
|
|
34321
34984
|
* Greetings service.
|
|
34322
34985
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
34323
|
-
* @version
|
|
34986
|
+
* @version 247.0.0
|
|
34324
34987
|
*/
|
|
34325
34988
|
|
|
34326
34989
|
/**
|
|
@@ -34862,7 +35525,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
34862
35525
|
/**
|
|
34863
35526
|
* Groups service.
|
|
34864
35527
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
34865
|
-
* @version
|
|
35528
|
+
* @version 247.0.0
|
|
34866
35529
|
*/
|
|
34867
35530
|
|
|
34868
35531
|
/**
|
|
@@ -35381,7 +36044,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
35381
36044
|
/**
|
|
35382
36045
|
* IdentityProvider service.
|
|
35383
36046
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
35384
|
-
* @version
|
|
36047
|
+
* @version 247.0.0
|
|
35385
36048
|
*/
|
|
35386
36049
|
|
|
35387
36050
|
/**
|
|
@@ -36242,7 +36905,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
36242
36905
|
/**
|
|
36243
36906
|
* InfrastructureAsCode service.
|
|
36244
36907
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
36245
|
-
* @version
|
|
36908
|
+
* @version 247.0.0
|
|
36246
36909
|
*/
|
|
36247
36910
|
|
|
36248
36911
|
/**
|
|
@@ -36409,7 +37072,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
36409
37072
|
/**
|
|
36410
37073
|
* Integrations service.
|
|
36411
37074
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
36412
|
-
* @version
|
|
37075
|
+
* @version 247.0.0
|
|
36413
37076
|
*/
|
|
36414
37077
|
|
|
36415
37078
|
/**
|
|
@@ -39059,7 +39722,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
39059
39722
|
/**
|
|
39060
39723
|
* Intents service.
|
|
39061
39724
|
* @module purecloud-platform-client-v2/api/IntentsApi
|
|
39062
|
-
* @version
|
|
39725
|
+
* @version 247.0.0
|
|
39063
39726
|
*/
|
|
39064
39727
|
|
|
39065
39728
|
/**
|
|
@@ -39526,7 +40189,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
39526
40189
|
/**
|
|
39527
40190
|
* Journey service.
|
|
39528
40191
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
39529
|
-
* @version
|
|
40192
|
+
* @version 247.0.0
|
|
39530
40193
|
*/
|
|
39531
40194
|
|
|
39532
40195
|
/**
|
|
@@ -41623,7 +42286,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
41623
42286
|
/**
|
|
41624
42287
|
* Knowledge service.
|
|
41625
42288
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
41626
|
-
* @version
|
|
42289
|
+
* @version 247.0.0
|
|
41627
42290
|
*/
|
|
41628
42291
|
|
|
41629
42292
|
/**
|
|
@@ -41938,6 +42601,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
41938
42601
|
);
|
|
41939
42602
|
}
|
|
41940
42603
|
|
|
42604
|
+
/**
|
|
42605
|
+
* Delete Knowledge setting.
|
|
42606
|
+
*
|
|
42607
|
+
* @param {String} knowledgeSettingId Knowledge Setting ID.
|
|
42608
|
+
*/
|
|
42609
|
+
deleteKnowledgeSetting(knowledgeSettingId) {
|
|
42610
|
+
// verify the required parameter 'knowledgeSettingId' is set
|
|
42611
|
+
if (knowledgeSettingId === undefined || knowledgeSettingId === null || knowledgeSettingId === '') {
|
|
42612
|
+
throw 'Missing the required parameter "knowledgeSettingId" when calling deleteKnowledgeSetting';
|
|
42613
|
+
}
|
|
42614
|
+
|
|
42615
|
+
return this.apiClient.callApi(
|
|
42616
|
+
'/api/v2/knowledge/settings/{knowledgeSettingId}',
|
|
42617
|
+
'DELETE',
|
|
42618
|
+
{ 'knowledgeSettingId': knowledgeSettingId },
|
|
42619
|
+
{ },
|
|
42620
|
+
{ },
|
|
42621
|
+
{ },
|
|
42622
|
+
null,
|
|
42623
|
+
['PureCloud OAuth'],
|
|
42624
|
+
['application/json'],
|
|
42625
|
+
['application/json']
|
|
42626
|
+
);
|
|
42627
|
+
}
|
|
42628
|
+
|
|
41941
42629
|
/**
|
|
41942
42630
|
* Get categories
|
|
41943
42631
|
*
|
|
@@ -43065,6 +43753,61 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
43065
43753
|
);
|
|
43066
43754
|
}
|
|
43067
43755
|
|
|
43756
|
+
/**
|
|
43757
|
+
* Get Knowledge setting.
|
|
43758
|
+
*
|
|
43759
|
+
* @param {String} knowledgeSettingId Knowledge Setting ID.
|
|
43760
|
+
*/
|
|
43761
|
+
getKnowledgeSetting(knowledgeSettingId) {
|
|
43762
|
+
// verify the required parameter 'knowledgeSettingId' is set
|
|
43763
|
+
if (knowledgeSettingId === undefined || knowledgeSettingId === null || knowledgeSettingId === '') {
|
|
43764
|
+
throw 'Missing the required parameter "knowledgeSettingId" when calling getKnowledgeSetting';
|
|
43765
|
+
}
|
|
43766
|
+
|
|
43767
|
+
return this.apiClient.callApi(
|
|
43768
|
+
'/api/v2/knowledge/settings/{knowledgeSettingId}',
|
|
43769
|
+
'GET',
|
|
43770
|
+
{ 'knowledgeSettingId': knowledgeSettingId },
|
|
43771
|
+
{ },
|
|
43772
|
+
{ },
|
|
43773
|
+
{ },
|
|
43774
|
+
null,
|
|
43775
|
+
['PureCloud OAuth'],
|
|
43776
|
+
['application/json'],
|
|
43777
|
+
['application/json']
|
|
43778
|
+
);
|
|
43779
|
+
}
|
|
43780
|
+
|
|
43781
|
+
/**
|
|
43782
|
+
* Get Knowledge settings.
|
|
43783
|
+
*
|
|
43784
|
+
* @param {Object} opts Optional parameters
|
|
43785
|
+
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
43786
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
43787
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
43788
|
+
* @param {String} opts.name Knowledge setting name to search upon.
|
|
43789
|
+
* @param {String} opts.sourceId Source ID to filter knowledge settings by.
|
|
43790
|
+
* @param {Object} opts.sortBy Field to sort the knowledge settings on.
|
|
43791
|
+
* @param {Object} opts.sortOrder Sorting order for knowledge settings.
|
|
43792
|
+
*/
|
|
43793
|
+
getKnowledgeSettings(opts) {
|
|
43794
|
+
opts = opts || {};
|
|
43795
|
+
|
|
43796
|
+
|
|
43797
|
+
return this.apiClient.callApi(
|
|
43798
|
+
'/api/v2/knowledge/settings',
|
|
43799
|
+
'GET',
|
|
43800
|
+
{ },
|
|
43801
|
+
{ 'before': opts['before'],'after': opts['after'],'pageSize': opts['pageSize'],'name': opts['name'],'sourceId': opts['sourceId'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'] },
|
|
43802
|
+
{ },
|
|
43803
|
+
{ },
|
|
43804
|
+
null,
|
|
43805
|
+
['PureCloud OAuth'],
|
|
43806
|
+
['application/json'],
|
|
43807
|
+
['application/json']
|
|
43808
|
+
);
|
|
43809
|
+
}
|
|
43810
|
+
|
|
43068
43811
|
/**
|
|
43069
43812
|
* Update search result.
|
|
43070
43813
|
*
|
|
@@ -43527,6 +44270,36 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
43527
44270
|
);
|
|
43528
44271
|
}
|
|
43529
44272
|
|
|
44273
|
+
/**
|
|
44274
|
+
* Update Knowledge setting.
|
|
44275
|
+
*
|
|
44276
|
+
* @param {String} knowledgeSettingId Knowledge Setting ID.
|
|
44277
|
+
* @param {Object} body
|
|
44278
|
+
*/
|
|
44279
|
+
patchKnowledgeSetting(knowledgeSettingId, body) {
|
|
44280
|
+
// verify the required parameter 'knowledgeSettingId' is set
|
|
44281
|
+
if (knowledgeSettingId === undefined || knowledgeSettingId === null || knowledgeSettingId === '') {
|
|
44282
|
+
throw 'Missing the required parameter "knowledgeSettingId" when calling patchKnowledgeSetting';
|
|
44283
|
+
}
|
|
44284
|
+
// verify the required parameter 'body' is set
|
|
44285
|
+
if (body === undefined || body === null) {
|
|
44286
|
+
throw 'Missing the required parameter "body" when calling patchKnowledgeSetting';
|
|
44287
|
+
}
|
|
44288
|
+
|
|
44289
|
+
return this.apiClient.callApi(
|
|
44290
|
+
'/api/v2/knowledge/settings/{knowledgeSettingId}',
|
|
44291
|
+
'PATCH',
|
|
44292
|
+
{ 'knowledgeSettingId': knowledgeSettingId },
|
|
44293
|
+
{ },
|
|
44294
|
+
{ },
|
|
44295
|
+
{ },
|
|
44296
|
+
body,
|
|
44297
|
+
['PureCloud OAuth'],
|
|
44298
|
+
['application/json'],
|
|
44299
|
+
['application/json']
|
|
44300
|
+
);
|
|
44301
|
+
}
|
|
44302
|
+
|
|
43530
44303
|
/**
|
|
43531
44304
|
* Creates a presigned URL for uploading a knowledge import file with a set of documents
|
|
43532
44305
|
*
|
|
@@ -44664,6 +45437,54 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
44664
45437
|
);
|
|
44665
45438
|
}
|
|
44666
45439
|
|
|
45440
|
+
/**
|
|
45441
|
+
* Get Knowledge Search Preview
|
|
45442
|
+
*
|
|
45443
|
+
* @param {Object} opts Optional parameters
|
|
45444
|
+
* @param {Object} opts.body
|
|
45445
|
+
*/
|
|
45446
|
+
postKnowledgeSearchPreview(opts) {
|
|
45447
|
+
opts = opts || {};
|
|
45448
|
+
|
|
45449
|
+
|
|
45450
|
+
return this.apiClient.callApi(
|
|
45451
|
+
'/api/v2/knowledge/search/preview',
|
|
45452
|
+
'POST',
|
|
45453
|
+
{ },
|
|
45454
|
+
{ },
|
|
45455
|
+
{ },
|
|
45456
|
+
{ },
|
|
45457
|
+
opts['body'],
|
|
45458
|
+
['PureCloud OAuth'],
|
|
45459
|
+
['application/json'],
|
|
45460
|
+
['application/json']
|
|
45461
|
+
);
|
|
45462
|
+
}
|
|
45463
|
+
|
|
45464
|
+
/**
|
|
45465
|
+
* Create Knowledge setting.
|
|
45466
|
+
*
|
|
45467
|
+
* @param {Object} opts Optional parameters
|
|
45468
|
+
* @param {Object} opts.body
|
|
45469
|
+
*/
|
|
45470
|
+
postKnowledgeSettings(opts) {
|
|
45471
|
+
opts = opts || {};
|
|
45472
|
+
|
|
45473
|
+
|
|
45474
|
+
return this.apiClient.callApi(
|
|
45475
|
+
'/api/v2/knowledge/settings',
|
|
45476
|
+
'POST',
|
|
45477
|
+
{ },
|
|
45478
|
+
{ },
|
|
45479
|
+
{ },
|
|
45480
|
+
{ },
|
|
45481
|
+
opts['body'],
|
|
45482
|
+
['PureCloud OAuth'],
|
|
45483
|
+
['application/json'],
|
|
45484
|
+
['application/json']
|
|
45485
|
+
);
|
|
45486
|
+
}
|
|
45487
|
+
|
|
44667
45488
|
/**
|
|
44668
45489
|
* Update Salesforce Knowledge integration source
|
|
44669
45490
|
*
|
|
@@ -44740,7 +45561,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
44740
45561
|
/**
|
|
44741
45562
|
* LanguageUnderstanding service.
|
|
44742
45563
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
44743
|
-
* @version
|
|
45564
|
+
* @version 247.0.0
|
|
44744
45565
|
*/
|
|
44745
45566
|
|
|
44746
45567
|
/**
|
|
@@ -45959,7 +46780,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
45959
46780
|
/**
|
|
45960
46781
|
* Languages service.
|
|
45961
46782
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
45962
|
-
* @version
|
|
46783
|
+
* @version 247.0.0
|
|
45963
46784
|
*/
|
|
45964
46785
|
|
|
45965
46786
|
/**
|
|
@@ -46181,7 +47002,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
46181
47002
|
/**
|
|
46182
47003
|
* Learning service.
|
|
46183
47004
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
46184
|
-
* @version
|
|
47005
|
+
* @version 247.0.0
|
|
46185
47006
|
*/
|
|
46186
47007
|
|
|
46187
47008
|
/**
|
|
@@ -47290,7 +48111,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
47290
48111
|
/**
|
|
47291
48112
|
* License service.
|
|
47292
48113
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
47293
|
-
* @version
|
|
48114
|
+
* @version 247.0.0
|
|
47294
48115
|
*/
|
|
47295
48116
|
|
|
47296
48117
|
/**
|
|
@@ -47528,7 +48349,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
47528
48349
|
/**
|
|
47529
48350
|
* Locations service.
|
|
47530
48351
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
47531
|
-
* @version
|
|
48352
|
+
* @version 247.0.0
|
|
47532
48353
|
*/
|
|
47533
48354
|
|
|
47534
48355
|
/**
|
|
@@ -47764,7 +48585,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
47764
48585
|
/**
|
|
47765
48586
|
* LogCapture service.
|
|
47766
48587
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
47767
|
-
* @version
|
|
48588
|
+
* @version 247.0.0
|
|
47768
48589
|
*/
|
|
47769
48590
|
|
|
47770
48591
|
/**
|
|
@@ -47963,7 +48784,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
47963
48784
|
/**
|
|
47964
48785
|
* Messaging service.
|
|
47965
48786
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
47966
|
-
* @version
|
|
48787
|
+
* @version 247.0.0
|
|
47967
48788
|
*/
|
|
47968
48789
|
|
|
47969
48790
|
/**
|
|
@@ -48322,7 +49143,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
48322
49143
|
/**
|
|
48323
49144
|
* MobileDevices service.
|
|
48324
49145
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
48325
|
-
* @version
|
|
49146
|
+
* @version 247.0.0
|
|
48326
49147
|
*/
|
|
48327
49148
|
|
|
48328
49149
|
/**
|
|
@@ -48473,7 +49294,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
48473
49294
|
/**
|
|
48474
49295
|
* Notifications service.
|
|
48475
49296
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
48476
|
-
* @version
|
|
49297
|
+
* @version 247.0.0
|
|
48477
49298
|
*/
|
|
48478
49299
|
|
|
48479
49300
|
/**
|
|
@@ -48706,7 +49527,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
48706
49527
|
/**
|
|
48707
49528
|
* OAuth service.
|
|
48708
49529
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
48709
|
-
* @version
|
|
49530
|
+
* @version 247.0.0
|
|
48710
49531
|
*/
|
|
48711
49532
|
|
|
48712
49533
|
/**
|
|
@@ -49072,7 +49893,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
49072
49893
|
/**
|
|
49073
49894
|
* Objects service.
|
|
49074
49895
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
49075
|
-
* @version
|
|
49896
|
+
* @version 247.0.0
|
|
49076
49897
|
*/
|
|
49077
49898
|
|
|
49078
49899
|
/**
|
|
@@ -49396,7 +50217,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
49396
50217
|
/**
|
|
49397
50218
|
* OperationalEvents service.
|
|
49398
50219
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
49399
|
-
* @version
|
|
50220
|
+
* @version 247.0.0
|
|
49400
50221
|
*/
|
|
49401
50222
|
|
|
49402
50223
|
/**
|
|
@@ -49513,7 +50334,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
49513
50334
|
/**
|
|
49514
50335
|
* Organization service.
|
|
49515
50336
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
49516
|
-
* @version
|
|
50337
|
+
* @version 247.0.0
|
|
49517
50338
|
*/
|
|
49518
50339
|
|
|
49519
50340
|
/**
|
|
@@ -49988,7 +50809,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
49988
50809
|
/**
|
|
49989
50810
|
* OrganizationAuthorization service.
|
|
49990
50811
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
49991
|
-
* @version
|
|
50812
|
+
* @version 247.0.0
|
|
49992
50813
|
*/
|
|
49993
50814
|
|
|
49994
50815
|
/**
|
|
@@ -51382,7 +52203,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
51382
52203
|
/**
|
|
51383
52204
|
* Outbound service.
|
|
51384
52205
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
51385
|
-
* @version
|
|
52206
|
+
* @version 247.0.0
|
|
51386
52207
|
*/
|
|
51387
52208
|
|
|
51388
52209
|
/**
|
|
@@ -56180,7 +57001,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
56180
57001
|
/**
|
|
56181
57002
|
* Presence service.
|
|
56182
57003
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
56183
|
-
* @version
|
|
57004
|
+
* @version 247.0.0
|
|
56184
57005
|
*/
|
|
56185
57006
|
|
|
56186
57007
|
/**
|
|
@@ -56924,7 +57745,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
56924
57745
|
/**
|
|
56925
57746
|
* ProcessAutomation service.
|
|
56926
57747
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
56927
|
-
* @version
|
|
57748
|
+
* @version 247.0.0
|
|
56928
57749
|
*/
|
|
56929
57750
|
|
|
56930
57751
|
/**
|
|
@@ -57163,7 +57984,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
57163
57984
|
/**
|
|
57164
57985
|
* Quality service.
|
|
57165
57986
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
57166
|
-
* @version
|
|
57987
|
+
* @version 247.0.0
|
|
57167
57988
|
*/
|
|
57168
57989
|
|
|
57169
57990
|
/**
|
|
@@ -58611,6 +59432,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
58611
59432
|
* @param {String} conversationId conversationId
|
|
58612
59433
|
* @param {Object} body evaluation
|
|
58613
59434
|
* @param {Object} opts Optional parameters
|
|
59435
|
+
* @param {String} opts.idempotencyKey Idempotency key for request deduplication
|
|
58614
59436
|
* @param {String} opts.expand evaluatorId
|
|
58615
59437
|
*/
|
|
58616
59438
|
postQualityConversationEvaluations(conversationId, body, opts) {
|
|
@@ -58630,7 +59452,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
58630
59452
|
'POST',
|
|
58631
59453
|
{ 'conversationId': conversationId },
|
|
58632
59454
|
{ 'expand': opts['expand'] },
|
|
58633
|
-
{
|
|
59455
|
+
{ 'Idempotency-Key': opts['idempotencyKey'] },
|
|
58634
59456
|
{ },
|
|
58635
59457
|
body,
|
|
58636
59458
|
['PureCloud OAuth'],
|
|
@@ -59232,7 +60054,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
59232
60054
|
/**
|
|
59233
60055
|
* Recording service.
|
|
59234
60056
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
59235
|
-
* @version
|
|
60057
|
+
* @version 247.0.0
|
|
59236
60058
|
*/
|
|
59237
60059
|
|
|
59238
60060
|
/**
|
|
@@ -60837,7 +61659,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
60837
61659
|
/**
|
|
60838
61660
|
* ResponseManagement service.
|
|
60839
61661
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
60840
|
-
* @version
|
|
61662
|
+
* @version 247.0.0
|
|
60841
61663
|
*/
|
|
60842
61664
|
|
|
60843
61665
|
/**
|
|
@@ -61347,7 +62169,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
61347
62169
|
/**
|
|
61348
62170
|
* Routing service.
|
|
61349
62171
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
61350
|
-
* @version
|
|
62172
|
+
* @version 247.0.0
|
|
61351
62173
|
*/
|
|
61352
62174
|
|
|
61353
62175
|
/**
|
|
@@ -64433,6 +65255,36 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
64433
65255
|
);
|
|
64434
65256
|
}
|
|
64435
65257
|
|
|
65258
|
+
/**
|
|
65259
|
+
* Update Routing Skill Division
|
|
65260
|
+
*
|
|
65261
|
+
* @param {String} skillId Skill ID
|
|
65262
|
+
* @param {Object} body updateSkillDivisionRequest
|
|
65263
|
+
*/
|
|
65264
|
+
patchRoutingSkill(skillId, body) {
|
|
65265
|
+
// verify the required parameter 'skillId' is set
|
|
65266
|
+
if (skillId === undefined || skillId === null || skillId === '') {
|
|
65267
|
+
throw 'Missing the required parameter "skillId" when calling patchRoutingSkill';
|
|
65268
|
+
}
|
|
65269
|
+
// verify the required parameter 'body' is set
|
|
65270
|
+
if (body === undefined || body === null) {
|
|
65271
|
+
throw 'Missing the required parameter "body" when calling patchRoutingSkill';
|
|
65272
|
+
}
|
|
65273
|
+
|
|
65274
|
+
return this.apiClient.callApi(
|
|
65275
|
+
'/api/v2/routing/skills/{skillId}',
|
|
65276
|
+
'PATCH',
|
|
65277
|
+
{ 'skillId': skillId },
|
|
65278
|
+
{ },
|
|
65279
|
+
{ },
|
|
65280
|
+
{ },
|
|
65281
|
+
body,
|
|
65282
|
+
['PureCloud OAuth'],
|
|
65283
|
+
['application/json'],
|
|
65284
|
+
['application/json']
|
|
65285
|
+
);
|
|
65286
|
+
}
|
|
65287
|
+
|
|
64436
65288
|
/**
|
|
64437
65289
|
* Update skill group definition
|
|
64438
65290
|
*
|
|
@@ -66024,7 +66876,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
66024
66876
|
/**
|
|
66025
66877
|
* SCIM service.
|
|
66026
66878
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
66027
|
-
* @version
|
|
66879
|
+
* @version 247.0.0
|
|
66028
66880
|
*/
|
|
66029
66881
|
|
|
66030
66882
|
/**
|
|
@@ -66901,7 +67753,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
66901
67753
|
/**
|
|
66902
67754
|
* Scripts service.
|
|
66903
67755
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
66904
|
-
* @version
|
|
67756
|
+
* @version 247.0.0
|
|
66905
67757
|
*/
|
|
66906
67758
|
|
|
66907
67759
|
/**
|
|
@@ -67377,7 +68229,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
67377
68229
|
/**
|
|
67378
68230
|
* Search service.
|
|
67379
68231
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
67380
|
-
* @version
|
|
68232
|
+
* @version 247.0.0
|
|
67381
68233
|
*/
|
|
67382
68234
|
|
|
67383
68235
|
/**
|
|
@@ -67648,6 +68500,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
67648
68500
|
);
|
|
67649
68501
|
}
|
|
67650
68502
|
|
|
68503
|
+
/**
|
|
68504
|
+
* Search resources.
|
|
68505
|
+
*
|
|
68506
|
+
* @param {Object} body Search request options
|
|
68507
|
+
*/
|
|
68508
|
+
postConversationsCustomattributesSearch(body) {
|
|
68509
|
+
// verify the required parameter 'body' is set
|
|
68510
|
+
if (body === undefined || body === null) {
|
|
68511
|
+
throw 'Missing the required parameter "body" when calling postConversationsCustomattributesSearch';
|
|
68512
|
+
}
|
|
68513
|
+
|
|
68514
|
+
return this.apiClient.callApi(
|
|
68515
|
+
'/api/v2/conversations/customattributes/search',
|
|
68516
|
+
'POST',
|
|
68517
|
+
{ },
|
|
68518
|
+
{ },
|
|
68519
|
+
{ },
|
|
68520
|
+
{ },
|
|
68521
|
+
body,
|
|
68522
|
+
['PureCloud OAuth'],
|
|
68523
|
+
['application/json'],
|
|
68524
|
+
['application/json']
|
|
68525
|
+
);
|
|
68526
|
+
}
|
|
68527
|
+
|
|
67651
68528
|
/**
|
|
67652
68529
|
* Search conversations
|
|
67653
68530
|
*
|
|
@@ -68065,7 +68942,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
68065
68942
|
/**
|
|
68066
68943
|
* Settings service.
|
|
68067
68944
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
68068
|
-
* @version
|
|
68945
|
+
* @version 247.0.0
|
|
68069
68946
|
*/
|
|
68070
68947
|
|
|
68071
68948
|
/**
|
|
@@ -68413,7 +69290,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
68413
69290
|
/**
|
|
68414
69291
|
* SocialMedia service.
|
|
68415
69292
|
* @module purecloud-platform-client-v2/api/SocialMediaApi
|
|
68416
|
-
* @version
|
|
69293
|
+
* @version 247.0.0
|
|
68417
69294
|
*/
|
|
68418
69295
|
|
|
68419
69296
|
/**
|
|
@@ -68542,6 +69419,41 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
68542
69419
|
);
|
|
68543
69420
|
}
|
|
68544
69421
|
|
|
69422
|
+
/**
|
|
69423
|
+
* Delete a Google Business Profile data ingestion rule.
|
|
69424
|
+
*
|
|
69425
|
+
* @param {String} topicId topicId
|
|
69426
|
+
* @param {String} googleBusinessProfileIngestionRuleId googleBusinessProfileIngestionRuleId
|
|
69427
|
+
* @param {Object} opts Optional parameters
|
|
69428
|
+
* @param {Boolean} opts.hardDelete Determines whether a Google Business Profile data ingestion rule should be soft-deleted (have it's state set to deleted) or hard-deleted (permanently removed). Set to false (soft-delete) by default. (default to false)
|
|
69429
|
+
* deleteSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
69430
|
+
*/
|
|
69431
|
+
deleteSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId(topicId, googleBusinessProfileIngestionRuleId, opts) {
|
|
69432
|
+
opts = opts || {};
|
|
69433
|
+
|
|
69434
|
+
// verify the required parameter 'topicId' is set
|
|
69435
|
+
if (topicId === undefined || topicId === null || topicId === '') {
|
|
69436
|
+
throw 'Missing the required parameter "topicId" when calling deleteSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId';
|
|
69437
|
+
}
|
|
69438
|
+
// verify the required parameter 'googleBusinessProfileIngestionRuleId' is set
|
|
69439
|
+
if (googleBusinessProfileIngestionRuleId === undefined || googleBusinessProfileIngestionRuleId === null || googleBusinessProfileIngestionRuleId === '') {
|
|
69440
|
+
throw 'Missing the required parameter "googleBusinessProfileIngestionRuleId" when calling deleteSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId';
|
|
69441
|
+
}
|
|
69442
|
+
|
|
69443
|
+
return this.apiClient.callApi(
|
|
69444
|
+
'/api/v2/socialmedia/topics/{topicId}/dataingestionrules/googlebusinessprofile/{googleBusinessProfileIngestionRuleId}',
|
|
69445
|
+
'DELETE',
|
|
69446
|
+
{ 'topicId': topicId,'googleBusinessProfileIngestionRuleId': googleBusinessProfileIngestionRuleId },
|
|
69447
|
+
{ 'hardDelete': opts['hardDelete'] },
|
|
69448
|
+
{ },
|
|
69449
|
+
{ },
|
|
69450
|
+
null,
|
|
69451
|
+
['PureCloud OAuth'],
|
|
69452
|
+
['application/json'],
|
|
69453
|
+
['application/json']
|
|
69454
|
+
);
|
|
69455
|
+
}
|
|
69456
|
+
|
|
68545
69457
|
/**
|
|
68546
69458
|
* Delete a Instagram data ingestion rule.
|
|
68547
69459
|
*
|
|
@@ -68980,6 +69892,118 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
68980
69892
|
);
|
|
68981
69893
|
}
|
|
68982
69894
|
|
|
69895
|
+
/**
|
|
69896
|
+
* Get a single Google Business Profile data ingestion rule.
|
|
69897
|
+
*
|
|
69898
|
+
* @param {String} topicId topicId
|
|
69899
|
+
* @param {String} googleBusinessProfileIngestionRuleId googleBusinessProfileIngestionRuleId
|
|
69900
|
+
* @param {Object} opts Optional parameters
|
|
69901
|
+
* @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
|
|
69902
|
+
* getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
69903
|
+
*/
|
|
69904
|
+
getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId(topicId, googleBusinessProfileIngestionRuleId, opts) {
|
|
69905
|
+
opts = opts || {};
|
|
69906
|
+
|
|
69907
|
+
// verify the required parameter 'topicId' is set
|
|
69908
|
+
if (topicId === undefined || topicId === null || topicId === '') {
|
|
69909
|
+
throw 'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId';
|
|
69910
|
+
}
|
|
69911
|
+
// verify the required parameter 'googleBusinessProfileIngestionRuleId' is set
|
|
69912
|
+
if (googleBusinessProfileIngestionRuleId === undefined || googleBusinessProfileIngestionRuleId === null || googleBusinessProfileIngestionRuleId === '') {
|
|
69913
|
+
throw 'Missing the required parameter "googleBusinessProfileIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId';
|
|
69914
|
+
}
|
|
69915
|
+
|
|
69916
|
+
return this.apiClient.callApi(
|
|
69917
|
+
'/api/v2/socialmedia/topics/{topicId}/dataingestionrules/googlebusinessprofile/{googleBusinessProfileIngestionRuleId}',
|
|
69918
|
+
'GET',
|
|
69919
|
+
{ 'topicId': topicId,'googleBusinessProfileIngestionRuleId': googleBusinessProfileIngestionRuleId },
|
|
69920
|
+
{ 'includeDeleted': opts['includeDeleted'] },
|
|
69921
|
+
{ },
|
|
69922
|
+
{ },
|
|
69923
|
+
null,
|
|
69924
|
+
['PureCloud OAuth'],
|
|
69925
|
+
['application/json'],
|
|
69926
|
+
['application/json']
|
|
69927
|
+
);
|
|
69928
|
+
}
|
|
69929
|
+
|
|
69930
|
+
/**
|
|
69931
|
+
* Get a single Google Business Profile data ingestion rule version.
|
|
69932
|
+
*
|
|
69933
|
+
* @param {String} topicId topicId
|
|
69934
|
+
* @param {String} googleBusinessProfileIngestionRuleId googleBusinessProfileIngestionRuleId
|
|
69935
|
+
* @param {String} dataIngestionRuleVersion version
|
|
69936
|
+
* @param {Object} opts Optional parameters
|
|
69937
|
+
* @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted item in the result.
|
|
69938
|
+
* getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleIdVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
69939
|
+
*/
|
|
69940
|
+
getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleIdVersion(topicId, googleBusinessProfileIngestionRuleId, dataIngestionRuleVersion, opts) {
|
|
69941
|
+
opts = opts || {};
|
|
69942
|
+
|
|
69943
|
+
// verify the required parameter 'topicId' is set
|
|
69944
|
+
if (topicId === undefined || topicId === null || topicId === '') {
|
|
69945
|
+
throw 'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleIdVersion';
|
|
69946
|
+
}
|
|
69947
|
+
// verify the required parameter 'googleBusinessProfileIngestionRuleId' is set
|
|
69948
|
+
if (googleBusinessProfileIngestionRuleId === undefined || googleBusinessProfileIngestionRuleId === null || googleBusinessProfileIngestionRuleId === '') {
|
|
69949
|
+
throw 'Missing the required parameter "googleBusinessProfileIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleIdVersion';
|
|
69950
|
+
}
|
|
69951
|
+
// verify the required parameter 'dataIngestionRuleVersion' is set
|
|
69952
|
+
if (dataIngestionRuleVersion === undefined || dataIngestionRuleVersion === null || dataIngestionRuleVersion === '') {
|
|
69953
|
+
throw 'Missing the required parameter "dataIngestionRuleVersion" when calling getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleIdVersion';
|
|
69954
|
+
}
|
|
69955
|
+
|
|
69956
|
+
return this.apiClient.callApi(
|
|
69957
|
+
'/api/v2/socialmedia/topics/{topicId}/dataingestionrules/googlebusinessprofile/{googleBusinessProfileIngestionRuleId}/versions/{dataIngestionRuleVersion}',
|
|
69958
|
+
'GET',
|
|
69959
|
+
{ 'topicId': topicId,'googleBusinessProfileIngestionRuleId': googleBusinessProfileIngestionRuleId,'dataIngestionRuleVersion': dataIngestionRuleVersion },
|
|
69960
|
+
{ 'includeDeleted': opts['includeDeleted'] },
|
|
69961
|
+
{ },
|
|
69962
|
+
{ },
|
|
69963
|
+
null,
|
|
69964
|
+
['PureCloud OAuth'],
|
|
69965
|
+
['application/json'],
|
|
69966
|
+
['application/json']
|
|
69967
|
+
);
|
|
69968
|
+
}
|
|
69969
|
+
|
|
69970
|
+
/**
|
|
69971
|
+
* Get the Google Business Profile data ingestion rule versions.
|
|
69972
|
+
*
|
|
69973
|
+
* @param {String} topicId topicId
|
|
69974
|
+
* @param {String} googleBusinessProfileIngestionRuleId googleBusinessProfileIngestionRuleId
|
|
69975
|
+
* @param {Object} opts Optional parameters
|
|
69976
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
69977
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
69978
|
+
* @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
|
|
69979
|
+
* getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleIdVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
69980
|
+
*/
|
|
69981
|
+
getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleIdVersions(topicId, googleBusinessProfileIngestionRuleId, opts) {
|
|
69982
|
+
opts = opts || {};
|
|
69983
|
+
|
|
69984
|
+
// verify the required parameter 'topicId' is set
|
|
69985
|
+
if (topicId === undefined || topicId === null || topicId === '') {
|
|
69986
|
+
throw 'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleIdVersions';
|
|
69987
|
+
}
|
|
69988
|
+
// verify the required parameter 'googleBusinessProfileIngestionRuleId' is set
|
|
69989
|
+
if (googleBusinessProfileIngestionRuleId === undefined || googleBusinessProfileIngestionRuleId === null || googleBusinessProfileIngestionRuleId === '') {
|
|
69990
|
+
throw 'Missing the required parameter "googleBusinessProfileIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleIdVersions';
|
|
69991
|
+
}
|
|
69992
|
+
|
|
69993
|
+
return this.apiClient.callApi(
|
|
69994
|
+
'/api/v2/socialmedia/topics/{topicId}/dataingestionrules/googlebusinessprofile/{googleBusinessProfileIngestionRuleId}/versions',
|
|
69995
|
+
'GET',
|
|
69996
|
+
{ 'topicId': topicId,'googleBusinessProfileIngestionRuleId': googleBusinessProfileIngestionRuleId },
|
|
69997
|
+
{ 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'includeDeleted': opts['includeDeleted'] },
|
|
69998
|
+
{ },
|
|
69999
|
+
{ },
|
|
70000
|
+
null,
|
|
70001
|
+
['PureCloud OAuth'],
|
|
70002
|
+
['application/json'],
|
|
70003
|
+
['application/json']
|
|
70004
|
+
);
|
|
70005
|
+
}
|
|
70006
|
+
|
|
68983
70007
|
/**
|
|
68984
70008
|
* Get a single Instagram data ingestion rule.
|
|
68985
70009
|
*
|
|
@@ -69399,6 +70423,41 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
69399
70423
|
);
|
|
69400
70424
|
}
|
|
69401
70425
|
|
|
70426
|
+
/**
|
|
70427
|
+
* Update the status of a Google Business Profile data ingestion rule.
|
|
70428
|
+
*
|
|
70429
|
+
* @param {String} topicId topicId
|
|
70430
|
+
* @param {String} googleBusinessProfileIngestionRuleId googleBusinessProfileIngestionRuleId
|
|
70431
|
+
* @param {Object} opts Optional parameters
|
|
70432
|
+
* @param {Object} opts.body
|
|
70433
|
+
* patchSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
70434
|
+
*/
|
|
70435
|
+
patchSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId(topicId, googleBusinessProfileIngestionRuleId, opts) {
|
|
70436
|
+
opts = opts || {};
|
|
70437
|
+
|
|
70438
|
+
// verify the required parameter 'topicId' is set
|
|
70439
|
+
if (topicId === undefined || topicId === null || topicId === '') {
|
|
70440
|
+
throw 'Missing the required parameter "topicId" when calling patchSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId';
|
|
70441
|
+
}
|
|
70442
|
+
// verify the required parameter 'googleBusinessProfileIngestionRuleId' is set
|
|
70443
|
+
if (googleBusinessProfileIngestionRuleId === undefined || googleBusinessProfileIngestionRuleId === null || googleBusinessProfileIngestionRuleId === '') {
|
|
70444
|
+
throw 'Missing the required parameter "googleBusinessProfileIngestionRuleId" when calling patchSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId';
|
|
70445
|
+
}
|
|
70446
|
+
|
|
70447
|
+
return this.apiClient.callApi(
|
|
70448
|
+
'/api/v2/socialmedia/topics/{topicId}/dataingestionrules/googlebusinessprofile/{googleBusinessProfileIngestionRuleId}',
|
|
70449
|
+
'PATCH',
|
|
70450
|
+
{ 'topicId': topicId,'googleBusinessProfileIngestionRuleId': googleBusinessProfileIngestionRuleId },
|
|
70451
|
+
{ },
|
|
70452
|
+
{ },
|
|
70453
|
+
{ },
|
|
70454
|
+
opts['body'],
|
|
70455
|
+
['PureCloud OAuth'],
|
|
70456
|
+
['application/json'],
|
|
70457
|
+
['application/json']
|
|
70458
|
+
);
|
|
70459
|
+
}
|
|
70460
|
+
|
|
69402
70461
|
/**
|
|
69403
70462
|
* Update the status of a Instagram data ingestion rule.
|
|
69404
70463
|
*
|
|
@@ -69633,6 +70692,36 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
69633
70692
|
);
|
|
69634
70693
|
}
|
|
69635
70694
|
|
|
70695
|
+
/**
|
|
70696
|
+
* Create a Google Business Profile data ingestion rule.
|
|
70697
|
+
*
|
|
70698
|
+
* @param {String} topicId topicId
|
|
70699
|
+
* @param {Object} opts Optional parameters
|
|
70700
|
+
* @param {Object} opts.body
|
|
70701
|
+
* postSocialmediaTopicDataingestionrulesGooglebusinessprofile is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
70702
|
+
*/
|
|
70703
|
+
postSocialmediaTopicDataingestionrulesGooglebusinessprofile(topicId, opts) {
|
|
70704
|
+
opts = opts || {};
|
|
70705
|
+
|
|
70706
|
+
// verify the required parameter 'topicId' is set
|
|
70707
|
+
if (topicId === undefined || topicId === null || topicId === '') {
|
|
70708
|
+
throw 'Missing the required parameter "topicId" when calling postSocialmediaTopicDataingestionrulesGooglebusinessprofile';
|
|
70709
|
+
}
|
|
70710
|
+
|
|
70711
|
+
return this.apiClient.callApi(
|
|
70712
|
+
'/api/v2/socialmedia/topics/{topicId}/dataingestionrules/googlebusinessprofile',
|
|
70713
|
+
'POST',
|
|
70714
|
+
{ 'topicId': topicId },
|
|
70715
|
+
{ },
|
|
70716
|
+
{ },
|
|
70717
|
+
{ },
|
|
70718
|
+
opts['body'],
|
|
70719
|
+
['PureCloud OAuth'],
|
|
70720
|
+
['application/json'],
|
|
70721
|
+
['application/json']
|
|
70722
|
+
);
|
|
70723
|
+
}
|
|
70724
|
+
|
|
69636
70725
|
/**
|
|
69637
70726
|
* Create an Instagram data ingestion rule.
|
|
69638
70727
|
*
|
|
@@ -69902,6 +70991,41 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
69902
70991
|
);
|
|
69903
70992
|
}
|
|
69904
70993
|
|
|
70994
|
+
/**
|
|
70995
|
+
* Update the Google Business Profile data ingestion rule.
|
|
70996
|
+
*
|
|
70997
|
+
* @param {String} topicId topicId
|
|
70998
|
+
* @param {String} googleBusinessProfileIngestionRuleId googleBusinessProfileIngestionRuleId
|
|
70999
|
+
* @param {Object} opts Optional parameters
|
|
71000
|
+
* @param {Object} opts.body
|
|
71001
|
+
* putSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
71002
|
+
*/
|
|
71003
|
+
putSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId(topicId, googleBusinessProfileIngestionRuleId, opts) {
|
|
71004
|
+
opts = opts || {};
|
|
71005
|
+
|
|
71006
|
+
// verify the required parameter 'topicId' is set
|
|
71007
|
+
if (topicId === undefined || topicId === null || topicId === '') {
|
|
71008
|
+
throw 'Missing the required parameter "topicId" when calling putSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId';
|
|
71009
|
+
}
|
|
71010
|
+
// verify the required parameter 'googleBusinessProfileIngestionRuleId' is set
|
|
71011
|
+
if (googleBusinessProfileIngestionRuleId === undefined || googleBusinessProfileIngestionRuleId === null || googleBusinessProfileIngestionRuleId === '') {
|
|
71012
|
+
throw 'Missing the required parameter "googleBusinessProfileIngestionRuleId" when calling putSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId';
|
|
71013
|
+
}
|
|
71014
|
+
|
|
71015
|
+
return this.apiClient.callApi(
|
|
71016
|
+
'/api/v2/socialmedia/topics/{topicId}/dataingestionrules/googlebusinessprofile/{googleBusinessProfileIngestionRuleId}',
|
|
71017
|
+
'PUT',
|
|
71018
|
+
{ 'topicId': topicId,'googleBusinessProfileIngestionRuleId': googleBusinessProfileIngestionRuleId },
|
|
71019
|
+
{ },
|
|
71020
|
+
{ },
|
|
71021
|
+
{ },
|
|
71022
|
+
opts['body'],
|
|
71023
|
+
['PureCloud OAuth'],
|
|
71024
|
+
['application/json'],
|
|
71025
|
+
['application/json']
|
|
71026
|
+
);
|
|
71027
|
+
}
|
|
71028
|
+
|
|
69905
71029
|
/**
|
|
69906
71030
|
* Update the Instagram data ingestion rule.
|
|
69907
71031
|
*
|
|
@@ -70010,7 +71134,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
70010
71134
|
/**
|
|
70011
71135
|
* SpeechTextAnalytics service.
|
|
70012
71136
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
70013
|
-
* @version
|
|
71137
|
+
* @version 247.0.0
|
|
70014
71138
|
*/
|
|
70015
71139
|
|
|
70016
71140
|
/**
|
|
@@ -71686,7 +72810,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
71686
72810
|
/**
|
|
71687
72811
|
* Stations service.
|
|
71688
72812
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
71689
|
-
* @version
|
|
72813
|
+
* @version 247.0.0
|
|
71690
72814
|
*/
|
|
71691
72815
|
|
|
71692
72816
|
/**
|
|
@@ -71788,7 +72912,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
71788
72912
|
/**
|
|
71789
72913
|
* Suggest service.
|
|
71790
72914
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
71791
|
-
* @version
|
|
72915
|
+
* @version 247.0.0
|
|
71792
72916
|
*/
|
|
71793
72917
|
|
|
71794
72918
|
/**
|
|
@@ -71927,7 +73051,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
71927
73051
|
/**
|
|
71928
73052
|
* TaskManagement service.
|
|
71929
73053
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
71930
|
-
* @version
|
|
73054
|
+
* @version 247.0.0
|
|
71931
73055
|
*/
|
|
71932
73056
|
|
|
71933
73057
|
/**
|
|
@@ -74089,7 +75213,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
74089
75213
|
/**
|
|
74090
75214
|
* Teams service.
|
|
74091
75215
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
74092
|
-
* @version
|
|
75216
|
+
* @version 247.0.0
|
|
74093
75217
|
*/
|
|
74094
75218
|
|
|
74095
75219
|
/**
|
|
@@ -74394,7 +75518,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
74394
75518
|
/**
|
|
74395
75519
|
* Telephony service.
|
|
74396
75520
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
74397
|
-
* @version
|
|
75521
|
+
* @version 247.0.0
|
|
74398
75522
|
*/
|
|
74399
75523
|
|
|
74400
75524
|
/**
|
|
@@ -74454,6 +75578,30 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
74454
75578
|
);
|
|
74455
75579
|
}
|
|
74456
75580
|
|
|
75581
|
+
/**
|
|
75582
|
+
* Get the concurrent call metrics for a given organization.
|
|
75583
|
+
*
|
|
75584
|
+
* @param {Object} opts Optional parameters
|
|
75585
|
+
* @param {Object} opts.metricType Flag to indicate metric type to fetch. (default to cloud)
|
|
75586
|
+
*/
|
|
75587
|
+
getTelephonyCallsMetrics(opts) {
|
|
75588
|
+
opts = opts || {};
|
|
75589
|
+
|
|
75590
|
+
|
|
75591
|
+
return this.apiClient.callApi(
|
|
75592
|
+
'/api/v2/telephony/calls/metrics',
|
|
75593
|
+
'GET',
|
|
75594
|
+
{ },
|
|
75595
|
+
{ 'metricType': opts['metricType'] },
|
|
75596
|
+
{ },
|
|
75597
|
+
{ },
|
|
75598
|
+
null,
|
|
75599
|
+
['PureCloud OAuth'],
|
|
75600
|
+
['application/json'],
|
|
75601
|
+
['application/json']
|
|
75602
|
+
);
|
|
75603
|
+
}
|
|
75604
|
+
|
|
74457
75605
|
/**
|
|
74458
75606
|
* Retrieve the list of AWS regions media can stream through.
|
|
74459
75607
|
*
|
|
@@ -74676,7 +75824,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
74676
75824
|
/**
|
|
74677
75825
|
* TelephonyProvidersEdge service.
|
|
74678
75826
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
74679
|
-
* @version
|
|
75827
|
+
* @version 247.0.0
|
|
74680
75828
|
*/
|
|
74681
75829
|
|
|
74682
75830
|
/**
|
|
@@ -78169,7 +79317,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
78169
79317
|
/**
|
|
78170
79318
|
* Textbots service.
|
|
78171
79319
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
78172
|
-
* @version
|
|
79320
|
+
* @version 247.0.0
|
|
78173
79321
|
*/
|
|
78174
79322
|
|
|
78175
79323
|
/**
|
|
@@ -78298,7 +79446,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
78298
79446
|
/**
|
|
78299
79447
|
* Tokens service.
|
|
78300
79448
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
78301
|
-
* @version
|
|
79449
|
+
* @version 247.0.0
|
|
78302
79450
|
*/
|
|
78303
79451
|
|
|
78304
79452
|
/**
|
|
@@ -78452,7 +79600,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
78452
79600
|
/**
|
|
78453
79601
|
* Uploads service.
|
|
78454
79602
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
78455
|
-
* @version
|
|
79603
|
+
* @version 247.0.0
|
|
78456
79604
|
*/
|
|
78457
79605
|
|
|
78458
79606
|
/**
|
|
@@ -78768,7 +79916,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
78768
79916
|
/**
|
|
78769
79917
|
* Usage service.
|
|
78770
79918
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
78771
|
-
* @version
|
|
79919
|
+
* @version 247.0.0
|
|
78772
79920
|
*/
|
|
78773
79921
|
|
|
78774
79922
|
/**
|
|
@@ -79103,7 +80251,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
79103
80251
|
/**
|
|
79104
80252
|
* UserRecordings service.
|
|
79105
80253
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
79106
|
-
* @version
|
|
80254
|
+
* @version 247.0.0
|
|
79107
80255
|
*/
|
|
79108
80256
|
|
|
79109
80257
|
/**
|
|
@@ -79287,7 +80435,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
79287
80435
|
/**
|
|
79288
80436
|
* Users service.
|
|
79289
80437
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
79290
|
-
* @version
|
|
80438
|
+
* @version 247.0.0
|
|
79291
80439
|
*/
|
|
79292
80440
|
|
|
79293
80441
|
/**
|
|
@@ -82737,7 +83885,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
82737
83885
|
/**
|
|
82738
83886
|
* UsersRules service.
|
|
82739
83887
|
* @module purecloud-platform-client-v2/api/UsersRulesApi
|
|
82740
|
-
* @version
|
|
83888
|
+
* @version 247.0.0
|
|
82741
83889
|
*/
|
|
82742
83890
|
|
|
82743
83891
|
/**
|
|
@@ -82756,7 +83904,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
82756
83904
|
* Delete an existing users rule
|
|
82757
83905
|
*
|
|
82758
83906
|
* @param {String} ruleId The id of the rule
|
|
82759
|
-
* deleteUsersRule is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
82760
83907
|
*/
|
|
82761
83908
|
deleteUsersRule(ruleId) {
|
|
82762
83909
|
// verify the required parameter 'ruleId' is set
|
|
@@ -82782,7 +83929,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
82782
83929
|
* Get a users rule
|
|
82783
83930
|
*
|
|
82784
83931
|
* @param {String} ruleId The ID of the rule to retrieve
|
|
82785
|
-
* getUsersRule is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
82786
83932
|
*/
|
|
82787
83933
|
getUsersRule(ruleId) {
|
|
82788
83934
|
// verify the required parameter 'ruleId' is set
|
|
@@ -82810,7 +83956,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
82810
83956
|
* @param {String} ruleId The ID of the rule for which to retrieve dependents
|
|
82811
83957
|
* @param {Object} ruleType The type of the dependent
|
|
82812
83958
|
* @param {String} typeId The type ID of the dependent
|
|
82813
|
-
* getUsersRuleDependentTypeId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
82814
83959
|
*/
|
|
82815
83960
|
getUsersRuleDependentTypeId(ruleId, ruleType, typeId) {
|
|
82816
83961
|
// verify the required parameter 'ruleId' is set
|
|
@@ -82848,7 +83993,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
82848
83993
|
* @param {Number} opts.pageSize Number of results per page (default to 25)
|
|
82849
83994
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
82850
83995
|
* @param {Object} opts.sortOrder Sort order for dependents (by last run date, then created date) (default to descending)
|
|
82851
|
-
* getUsersRuleDependents is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
82852
83996
|
*/
|
|
82853
83997
|
getUsersRuleDependents(ruleId, opts) {
|
|
82854
83998
|
opts = opts || {};
|
|
@@ -82883,7 +84027,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
82883
84027
|
* @param {Boolean} opts.enabled Whether to list enabled or disabled rules
|
|
82884
84028
|
* @param {String} opts.searchTerm a search term for finding a rule by name
|
|
82885
84029
|
* @param {Object} opts.sortOrder sort rules by name, ascending, descending (default to ascending)
|
|
82886
|
-
* getUsersRules is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
82887
84030
|
*/
|
|
82888
84031
|
getUsersRules(types, opts) {
|
|
82889
84032
|
opts = opts || {};
|
|
@@ -82911,7 +84054,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
82911
84054
|
* Get the settings for a specific users rule type
|
|
82912
84055
|
*
|
|
82913
84056
|
* @param {Object} ruleType The type of the rule
|
|
82914
|
-
* getUsersRulesSetting is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
82915
84057
|
*/
|
|
82916
84058
|
getUsersRulesSetting(ruleType) {
|
|
82917
84059
|
// verify the required parameter 'ruleType' is set
|
|
@@ -82938,7 +84080,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
82938
84080
|
* This will update an existing users rule with the specified fields.
|
|
82939
84081
|
* @param {String} ruleId The ID of the rule to update
|
|
82940
84082
|
* @param {Object} body updateRuleRequest
|
|
82941
|
-
* patchUsersRule is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
82942
84083
|
*/
|
|
82943
84084
|
patchUsersRule(ruleId, body) {
|
|
82944
84085
|
// verify the required parameter 'ruleId' is set
|
|
@@ -82968,7 +84109,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
82968
84109
|
* Create a new rule
|
|
82969
84110
|
* This will create a new rule with the specified fields.
|
|
82970
84111
|
* @param {Object} body usersRulesCreateRuleRequest
|
|
82971
|
-
* postUsersRules is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
82972
84112
|
*/
|
|
82973
84113
|
postUsersRules(body) {
|
|
82974
84114
|
// verify the required parameter 'body' is set
|
|
@@ -82997,7 +84137,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
82997
84137
|
* @param {Object} opts Optional parameters
|
|
82998
84138
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
82999
84139
|
* @param {Number} opts.pageSize Number of results per page (default to 25)
|
|
83000
|
-
* postUsersRulesQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
83001
84140
|
*/
|
|
83002
84141
|
postUsersRulesQuery(body, opts) {
|
|
83003
84142
|
opts = opts || {};
|
|
@@ -83027,7 +84166,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
83027
84166
|
/**
|
|
83028
84167
|
* Utilities service.
|
|
83029
84168
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
83030
|
-
* @version
|
|
84169
|
+
* @version 247.0.0
|
|
83031
84170
|
*/
|
|
83032
84171
|
|
|
83033
84172
|
/**
|
|
@@ -83138,7 +84277,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
83138
84277
|
/**
|
|
83139
84278
|
* Voicemail service.
|
|
83140
84279
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
83141
|
-
* @version
|
|
84280
|
+
* @version 247.0.0
|
|
83142
84281
|
*/
|
|
83143
84282
|
|
|
83144
84283
|
/**
|
|
@@ -83860,7 +84999,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
83860
84999
|
/**
|
|
83861
85000
|
* WebChat service.
|
|
83862
85001
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
83863
|
-
* @version
|
|
85002
|
+
* @version 247.0.0
|
|
83864
85003
|
*/
|
|
83865
85004
|
|
|
83866
85005
|
/**
|
|
@@ -84423,7 +85562,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
84423
85562
|
/**
|
|
84424
85563
|
* WebDeployments service.
|
|
84425
85564
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
84426
|
-
* @version
|
|
85565
|
+
* @version 247.0.0
|
|
84427
85566
|
*/
|
|
84428
85567
|
|
|
84429
85568
|
/**
|
|
@@ -84575,10 +85714,16 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
84575
85714
|
|
|
84576
85715
|
/**
|
|
84577
85716
|
* Get the versions of a configuration
|
|
84578
|
-
*
|
|
85717
|
+
*
|
|
84579
85718
|
* @param {String} configurationId The configuration version ID
|
|
85719
|
+
* @param {Object} opts Optional parameters
|
|
85720
|
+
* @param {String} opts.pageSize Number of entities to return. Defaults to 300.
|
|
85721
|
+
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
85722
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
84580
85723
|
*/
|
|
84581
|
-
getWebdeploymentsConfigurationVersions(configurationId) {
|
|
85724
|
+
getWebdeploymentsConfigurationVersions(configurationId, opts) {
|
|
85725
|
+
opts = opts || {};
|
|
85726
|
+
|
|
84582
85727
|
// verify the required parameter 'configurationId' is set
|
|
84583
85728
|
if (configurationId === undefined || configurationId === null || configurationId === '') {
|
|
84584
85729
|
throw 'Missing the required parameter "configurationId" when calling getWebdeploymentsConfigurationVersions';
|
|
@@ -84588,7 +85733,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
84588
85733
|
'/api/v2/webdeployments/configurations/{configurationId}/versions',
|
|
84589
85734
|
'GET',
|
|
84590
85735
|
{ 'configurationId': configurationId },
|
|
84591
|
-
{
|
|
85736
|
+
{ 'pageSize': opts['pageSize'],'before': opts['before'],'after': opts['after'] },
|
|
84592
85737
|
{ },
|
|
84593
85738
|
{ },
|
|
84594
85739
|
null,
|
|
@@ -84627,6 +85772,9 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
84627
85772
|
* View configuration drafts
|
|
84628
85773
|
*
|
|
84629
85774
|
* @param {Object} opts Optional parameters
|
|
85775
|
+
* @param {String} opts.pageSize Number of entities to return. Defaults to 300.
|
|
85776
|
+
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
85777
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
84630
85778
|
* @param {Boolean} opts.showOnlyPublished Filter by published status.
|
|
84631
85779
|
*/
|
|
84632
85780
|
getWebdeploymentsConfigurations(opts) {
|
|
@@ -84637,7 +85785,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
84637
85785
|
'/api/v2/webdeployments/configurations',
|
|
84638
85786
|
'GET',
|
|
84639
85787
|
{ },
|
|
84640
|
-
{ 'showOnlyPublished': opts['showOnlyPublished'] },
|
|
85788
|
+
{ 'pageSize': opts['pageSize'],'before': opts['before'],'after': opts['after'],'showOnlyPublished': opts['showOnlyPublished'] },
|
|
84641
85789
|
{ },
|
|
84642
85790
|
{ },
|
|
84643
85791
|
null,
|
|
@@ -84765,6 +85913,9 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
84765
85913
|
* Get deployments
|
|
84766
85914
|
*
|
|
84767
85915
|
* @param {Object} opts Optional parameters
|
|
85916
|
+
* @param {String} opts.pageSize Number of entities to return. Defaults to 300.
|
|
85917
|
+
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
85918
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
84768
85919
|
* @param {Array.<String>} opts.expand The specified entity attributes will be filled. Comma separated values expected.
|
|
84769
85920
|
*/
|
|
84770
85921
|
getWebdeploymentsDeployments(opts) {
|
|
@@ -84775,7 +85926,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
84775
85926
|
'/api/v2/webdeployments/deployments',
|
|
84776
85927
|
'GET',
|
|
84777
85928
|
{ },
|
|
84778
|
-
{ 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
85929
|
+
{ 'pageSize': opts['pageSize'],'before': opts['before'],'after': opts['after'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
84779
85930
|
{ },
|
|
84780
85931
|
{ },
|
|
84781
85932
|
null,
|
|
@@ -85005,7 +86156,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
85005
86156
|
/**
|
|
85006
86157
|
* WebMessaging service.
|
|
85007
86158
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
85008
|
-
* @version
|
|
86159
|
+
* @version 247.0.0
|
|
85009
86160
|
*/
|
|
85010
86161
|
|
|
85011
86162
|
/**
|
|
@@ -85151,7 +86302,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
85151
86302
|
/**
|
|
85152
86303
|
* Widgets service.
|
|
85153
86304
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
85154
|
-
* @version
|
|
86305
|
+
* @version 247.0.0
|
|
85155
86306
|
*/
|
|
85156
86307
|
|
|
85157
86308
|
/**
|
|
@@ -85302,7 +86453,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
85302
86453
|
/**
|
|
85303
86454
|
* WorkforceManagement service.
|
|
85304
86455
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
85305
|
-
* @version
|
|
86456
|
+
* @version 247.0.0
|
|
85306
86457
|
*/
|
|
85307
86458
|
|
|
85308
86459
|
/**
|
|
@@ -93593,7 +94744,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
93593
94744
|
* </pre>
|
|
93594
94745
|
* </p>
|
|
93595
94746
|
* @module purecloud-platform-client-v2/index
|
|
93596
|
-
* @version
|
|
94747
|
+
* @version 247.0.0
|
|
93597
94748
|
*/
|
|
93598
94749
|
class platformClient {
|
|
93599
94750
|
constructor() {
|