purecloud-platform-client-v2 245.0.0 → 246.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 +1071 -103
- package/dist/web-amd/purecloud-platform-client-v2.js +1071 -103
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +334 -104
- package/dist/web-cjs/purecloud-platform-client-v2.js +388 -123
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +623 -263
- package/package.json +2 -2
- 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 +1 -1
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +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 +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/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
|
@@ -5,7 +5,7 @@ class SocialMediaApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* SocialMedia service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/SocialMediaApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 246.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -134,6 +134,41 @@ class SocialMediaApi {
|
|
|
134
134
|
);
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
+
/**
|
|
138
|
+
* Delete a Google Business Profile data ingestion rule.
|
|
139
|
+
*
|
|
140
|
+
* @param {String} topicId topicId
|
|
141
|
+
* @param {String} googleBusinessProfileIngestionRuleId googleBusinessProfileIngestionRuleId
|
|
142
|
+
* @param {Object} opts Optional parameters
|
|
143
|
+
* @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)
|
|
144
|
+
* deleteSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
145
|
+
*/
|
|
146
|
+
deleteSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId(topicId, googleBusinessProfileIngestionRuleId, opts) {
|
|
147
|
+
opts = opts || {};
|
|
148
|
+
|
|
149
|
+
// verify the required parameter 'topicId' is set
|
|
150
|
+
if (topicId === undefined || topicId === null || topicId === '') {
|
|
151
|
+
throw 'Missing the required parameter "topicId" when calling deleteSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId';
|
|
152
|
+
}
|
|
153
|
+
// verify the required parameter 'googleBusinessProfileIngestionRuleId' is set
|
|
154
|
+
if (googleBusinessProfileIngestionRuleId === undefined || googleBusinessProfileIngestionRuleId === null || googleBusinessProfileIngestionRuleId === '') {
|
|
155
|
+
throw 'Missing the required parameter "googleBusinessProfileIngestionRuleId" when calling deleteSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId';
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
return this.apiClient.callApi(
|
|
159
|
+
'/api/v2/socialmedia/topics/{topicId}/dataingestionrules/googlebusinessprofile/{googleBusinessProfileIngestionRuleId}',
|
|
160
|
+
'DELETE',
|
|
161
|
+
{ 'topicId': topicId,'googleBusinessProfileIngestionRuleId': googleBusinessProfileIngestionRuleId },
|
|
162
|
+
{ 'hardDelete': opts['hardDelete'] },
|
|
163
|
+
{ },
|
|
164
|
+
{ },
|
|
165
|
+
null,
|
|
166
|
+
['PureCloud OAuth'],
|
|
167
|
+
['application/json'],
|
|
168
|
+
['application/json']
|
|
169
|
+
);
|
|
170
|
+
}
|
|
171
|
+
|
|
137
172
|
/**
|
|
138
173
|
* Delete a Instagram data ingestion rule.
|
|
139
174
|
*
|
|
@@ -572,6 +607,118 @@ class SocialMediaApi {
|
|
|
572
607
|
);
|
|
573
608
|
}
|
|
574
609
|
|
|
610
|
+
/**
|
|
611
|
+
* Get a single Google Business Profile data ingestion rule.
|
|
612
|
+
*
|
|
613
|
+
* @param {String} topicId topicId
|
|
614
|
+
* @param {String} googleBusinessProfileIngestionRuleId googleBusinessProfileIngestionRuleId
|
|
615
|
+
* @param {Object} opts Optional parameters
|
|
616
|
+
* @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
|
|
617
|
+
* getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
618
|
+
*/
|
|
619
|
+
getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId(topicId, googleBusinessProfileIngestionRuleId, opts) {
|
|
620
|
+
opts = opts || {};
|
|
621
|
+
|
|
622
|
+
// verify the required parameter 'topicId' is set
|
|
623
|
+
if (topicId === undefined || topicId === null || topicId === '') {
|
|
624
|
+
throw 'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId';
|
|
625
|
+
}
|
|
626
|
+
// verify the required parameter 'googleBusinessProfileIngestionRuleId' is set
|
|
627
|
+
if (googleBusinessProfileIngestionRuleId === undefined || googleBusinessProfileIngestionRuleId === null || googleBusinessProfileIngestionRuleId === '') {
|
|
628
|
+
throw 'Missing the required parameter "googleBusinessProfileIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId';
|
|
629
|
+
}
|
|
630
|
+
|
|
631
|
+
return this.apiClient.callApi(
|
|
632
|
+
'/api/v2/socialmedia/topics/{topicId}/dataingestionrules/googlebusinessprofile/{googleBusinessProfileIngestionRuleId}',
|
|
633
|
+
'GET',
|
|
634
|
+
{ 'topicId': topicId,'googleBusinessProfileIngestionRuleId': googleBusinessProfileIngestionRuleId },
|
|
635
|
+
{ 'includeDeleted': opts['includeDeleted'] },
|
|
636
|
+
{ },
|
|
637
|
+
{ },
|
|
638
|
+
null,
|
|
639
|
+
['PureCloud OAuth'],
|
|
640
|
+
['application/json'],
|
|
641
|
+
['application/json']
|
|
642
|
+
);
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
/**
|
|
646
|
+
* Get a single Google Business Profile data ingestion rule version.
|
|
647
|
+
*
|
|
648
|
+
* @param {String} topicId topicId
|
|
649
|
+
* @param {String} googleBusinessProfileIngestionRuleId googleBusinessProfileIngestionRuleId
|
|
650
|
+
* @param {String} dataIngestionRuleVersion version
|
|
651
|
+
* @param {Object} opts Optional parameters
|
|
652
|
+
* @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted item in the result.
|
|
653
|
+
* getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleIdVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
654
|
+
*/
|
|
655
|
+
getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleIdVersion(topicId, googleBusinessProfileIngestionRuleId, dataIngestionRuleVersion, opts) {
|
|
656
|
+
opts = opts || {};
|
|
657
|
+
|
|
658
|
+
// verify the required parameter 'topicId' is set
|
|
659
|
+
if (topicId === undefined || topicId === null || topicId === '') {
|
|
660
|
+
throw 'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleIdVersion';
|
|
661
|
+
}
|
|
662
|
+
// verify the required parameter 'googleBusinessProfileIngestionRuleId' is set
|
|
663
|
+
if (googleBusinessProfileIngestionRuleId === undefined || googleBusinessProfileIngestionRuleId === null || googleBusinessProfileIngestionRuleId === '') {
|
|
664
|
+
throw 'Missing the required parameter "googleBusinessProfileIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleIdVersion';
|
|
665
|
+
}
|
|
666
|
+
// verify the required parameter 'dataIngestionRuleVersion' is set
|
|
667
|
+
if (dataIngestionRuleVersion === undefined || dataIngestionRuleVersion === null || dataIngestionRuleVersion === '') {
|
|
668
|
+
throw 'Missing the required parameter "dataIngestionRuleVersion" when calling getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleIdVersion';
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
return this.apiClient.callApi(
|
|
672
|
+
'/api/v2/socialmedia/topics/{topicId}/dataingestionrules/googlebusinessprofile/{googleBusinessProfileIngestionRuleId}/versions/{dataIngestionRuleVersion}',
|
|
673
|
+
'GET',
|
|
674
|
+
{ 'topicId': topicId,'googleBusinessProfileIngestionRuleId': googleBusinessProfileIngestionRuleId,'dataIngestionRuleVersion': dataIngestionRuleVersion },
|
|
675
|
+
{ 'includeDeleted': opts['includeDeleted'] },
|
|
676
|
+
{ },
|
|
677
|
+
{ },
|
|
678
|
+
null,
|
|
679
|
+
['PureCloud OAuth'],
|
|
680
|
+
['application/json'],
|
|
681
|
+
['application/json']
|
|
682
|
+
);
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
/**
|
|
686
|
+
* Get the Google Business Profile data ingestion rule versions.
|
|
687
|
+
*
|
|
688
|
+
* @param {String} topicId topicId
|
|
689
|
+
* @param {String} googleBusinessProfileIngestionRuleId googleBusinessProfileIngestionRuleId
|
|
690
|
+
* @param {Object} opts Optional parameters
|
|
691
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
692
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
693
|
+
* @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
|
|
694
|
+
* getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleIdVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
695
|
+
*/
|
|
696
|
+
getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleIdVersions(topicId, googleBusinessProfileIngestionRuleId, opts) {
|
|
697
|
+
opts = opts || {};
|
|
698
|
+
|
|
699
|
+
// verify the required parameter 'topicId' is set
|
|
700
|
+
if (topicId === undefined || topicId === null || topicId === '') {
|
|
701
|
+
throw 'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleIdVersions';
|
|
702
|
+
}
|
|
703
|
+
// verify the required parameter 'googleBusinessProfileIngestionRuleId' is set
|
|
704
|
+
if (googleBusinessProfileIngestionRuleId === undefined || googleBusinessProfileIngestionRuleId === null || googleBusinessProfileIngestionRuleId === '') {
|
|
705
|
+
throw 'Missing the required parameter "googleBusinessProfileIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleIdVersions';
|
|
706
|
+
}
|
|
707
|
+
|
|
708
|
+
return this.apiClient.callApi(
|
|
709
|
+
'/api/v2/socialmedia/topics/{topicId}/dataingestionrules/googlebusinessprofile/{googleBusinessProfileIngestionRuleId}/versions',
|
|
710
|
+
'GET',
|
|
711
|
+
{ 'topicId': topicId,'googleBusinessProfileIngestionRuleId': googleBusinessProfileIngestionRuleId },
|
|
712
|
+
{ 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'includeDeleted': opts['includeDeleted'] },
|
|
713
|
+
{ },
|
|
714
|
+
{ },
|
|
715
|
+
null,
|
|
716
|
+
['PureCloud OAuth'],
|
|
717
|
+
['application/json'],
|
|
718
|
+
['application/json']
|
|
719
|
+
);
|
|
720
|
+
}
|
|
721
|
+
|
|
575
722
|
/**
|
|
576
723
|
* Get a single Instagram data ingestion rule.
|
|
577
724
|
*
|
|
@@ -991,6 +1138,41 @@ class SocialMediaApi {
|
|
|
991
1138
|
);
|
|
992
1139
|
}
|
|
993
1140
|
|
|
1141
|
+
/**
|
|
1142
|
+
* Update the status of a Google Business Profile data ingestion rule.
|
|
1143
|
+
*
|
|
1144
|
+
* @param {String} topicId topicId
|
|
1145
|
+
* @param {String} googleBusinessProfileIngestionRuleId googleBusinessProfileIngestionRuleId
|
|
1146
|
+
* @param {Object} opts Optional parameters
|
|
1147
|
+
* @param {Object} opts.body
|
|
1148
|
+
* patchSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1149
|
+
*/
|
|
1150
|
+
patchSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId(topicId, googleBusinessProfileIngestionRuleId, opts) {
|
|
1151
|
+
opts = opts || {};
|
|
1152
|
+
|
|
1153
|
+
// verify the required parameter 'topicId' is set
|
|
1154
|
+
if (topicId === undefined || topicId === null || topicId === '') {
|
|
1155
|
+
throw 'Missing the required parameter "topicId" when calling patchSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId';
|
|
1156
|
+
}
|
|
1157
|
+
// verify the required parameter 'googleBusinessProfileIngestionRuleId' is set
|
|
1158
|
+
if (googleBusinessProfileIngestionRuleId === undefined || googleBusinessProfileIngestionRuleId === null || googleBusinessProfileIngestionRuleId === '') {
|
|
1159
|
+
throw 'Missing the required parameter "googleBusinessProfileIngestionRuleId" when calling patchSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId';
|
|
1160
|
+
}
|
|
1161
|
+
|
|
1162
|
+
return this.apiClient.callApi(
|
|
1163
|
+
'/api/v2/socialmedia/topics/{topicId}/dataingestionrules/googlebusinessprofile/{googleBusinessProfileIngestionRuleId}',
|
|
1164
|
+
'PATCH',
|
|
1165
|
+
{ 'topicId': topicId,'googleBusinessProfileIngestionRuleId': googleBusinessProfileIngestionRuleId },
|
|
1166
|
+
{ },
|
|
1167
|
+
{ },
|
|
1168
|
+
{ },
|
|
1169
|
+
opts['body'],
|
|
1170
|
+
['PureCloud OAuth'],
|
|
1171
|
+
['application/json'],
|
|
1172
|
+
['application/json']
|
|
1173
|
+
);
|
|
1174
|
+
}
|
|
1175
|
+
|
|
994
1176
|
/**
|
|
995
1177
|
* Update the status of a Instagram data ingestion rule.
|
|
996
1178
|
*
|
|
@@ -1225,6 +1407,36 @@ class SocialMediaApi {
|
|
|
1225
1407
|
);
|
|
1226
1408
|
}
|
|
1227
1409
|
|
|
1410
|
+
/**
|
|
1411
|
+
* Create a Google Business Profile data ingestion rule.
|
|
1412
|
+
*
|
|
1413
|
+
* @param {String} topicId topicId
|
|
1414
|
+
* @param {Object} opts Optional parameters
|
|
1415
|
+
* @param {Object} opts.body
|
|
1416
|
+
* postSocialmediaTopicDataingestionrulesGooglebusinessprofile is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1417
|
+
*/
|
|
1418
|
+
postSocialmediaTopicDataingestionrulesGooglebusinessprofile(topicId, opts) {
|
|
1419
|
+
opts = opts || {};
|
|
1420
|
+
|
|
1421
|
+
// verify the required parameter 'topicId' is set
|
|
1422
|
+
if (topicId === undefined || topicId === null || topicId === '') {
|
|
1423
|
+
throw 'Missing the required parameter "topicId" when calling postSocialmediaTopicDataingestionrulesGooglebusinessprofile';
|
|
1424
|
+
}
|
|
1425
|
+
|
|
1426
|
+
return this.apiClient.callApi(
|
|
1427
|
+
'/api/v2/socialmedia/topics/{topicId}/dataingestionrules/googlebusinessprofile',
|
|
1428
|
+
'POST',
|
|
1429
|
+
{ 'topicId': topicId },
|
|
1430
|
+
{ },
|
|
1431
|
+
{ },
|
|
1432
|
+
{ },
|
|
1433
|
+
opts['body'],
|
|
1434
|
+
['PureCloud OAuth'],
|
|
1435
|
+
['application/json'],
|
|
1436
|
+
['application/json']
|
|
1437
|
+
);
|
|
1438
|
+
}
|
|
1439
|
+
|
|
1228
1440
|
/**
|
|
1229
1441
|
* Create an Instagram data ingestion rule.
|
|
1230
1442
|
*
|
|
@@ -1494,6 +1706,41 @@ class SocialMediaApi {
|
|
|
1494
1706
|
);
|
|
1495
1707
|
}
|
|
1496
1708
|
|
|
1709
|
+
/**
|
|
1710
|
+
* Update the Google Business Profile data ingestion rule.
|
|
1711
|
+
*
|
|
1712
|
+
* @param {String} topicId topicId
|
|
1713
|
+
* @param {String} googleBusinessProfileIngestionRuleId googleBusinessProfileIngestionRuleId
|
|
1714
|
+
* @param {Object} opts Optional parameters
|
|
1715
|
+
* @param {Object} opts.body
|
|
1716
|
+
* putSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1717
|
+
*/
|
|
1718
|
+
putSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId(topicId, googleBusinessProfileIngestionRuleId, opts) {
|
|
1719
|
+
opts = opts || {};
|
|
1720
|
+
|
|
1721
|
+
// verify the required parameter 'topicId' is set
|
|
1722
|
+
if (topicId === undefined || topicId === null || topicId === '') {
|
|
1723
|
+
throw 'Missing the required parameter "topicId" when calling putSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId';
|
|
1724
|
+
}
|
|
1725
|
+
// verify the required parameter 'googleBusinessProfileIngestionRuleId' is set
|
|
1726
|
+
if (googleBusinessProfileIngestionRuleId === undefined || googleBusinessProfileIngestionRuleId === null || googleBusinessProfileIngestionRuleId === '') {
|
|
1727
|
+
throw 'Missing the required parameter "googleBusinessProfileIngestionRuleId" when calling putSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId';
|
|
1728
|
+
}
|
|
1729
|
+
|
|
1730
|
+
return this.apiClient.callApi(
|
|
1731
|
+
'/api/v2/socialmedia/topics/{topicId}/dataingestionrules/googlebusinessprofile/{googleBusinessProfileIngestionRuleId}',
|
|
1732
|
+
'PUT',
|
|
1733
|
+
{ 'topicId': topicId,'googleBusinessProfileIngestionRuleId': googleBusinessProfileIngestionRuleId },
|
|
1734
|
+
{ },
|
|
1735
|
+
{ },
|
|
1736
|
+
{ },
|
|
1737
|
+
opts['body'],
|
|
1738
|
+
['PureCloud OAuth'],
|
|
1739
|
+
['application/json'],
|
|
1740
|
+
['application/json']
|
|
1741
|
+
);
|
|
1742
|
+
}
|
|
1743
|
+
|
|
1497
1744
|
/**
|
|
1498
1745
|
* Update the Instagram data ingestion rule.
|
|
1499
1746
|
*
|
|
@@ -5,7 +5,7 @@ class UsersRulesApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* UsersRules service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/UsersRulesApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 246.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -24,7 +24,6 @@ class UsersRulesApi {
|
|
|
24
24
|
* Delete an existing users rule
|
|
25
25
|
*
|
|
26
26
|
* @param {String} ruleId The id of the rule
|
|
27
|
-
* deleteUsersRule is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
28
27
|
*/
|
|
29
28
|
deleteUsersRule(ruleId) {
|
|
30
29
|
// verify the required parameter 'ruleId' is set
|
|
@@ -50,7 +49,6 @@ class UsersRulesApi {
|
|
|
50
49
|
* Get a users rule
|
|
51
50
|
*
|
|
52
51
|
* @param {String} ruleId The ID of the rule to retrieve
|
|
53
|
-
* getUsersRule is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
54
52
|
*/
|
|
55
53
|
getUsersRule(ruleId) {
|
|
56
54
|
// verify the required parameter 'ruleId' is set
|
|
@@ -78,7 +76,6 @@ class UsersRulesApi {
|
|
|
78
76
|
* @param {String} ruleId The ID of the rule for which to retrieve dependents
|
|
79
77
|
* @param {Object} ruleType The type of the dependent
|
|
80
78
|
* @param {String} typeId The type ID of the dependent
|
|
81
|
-
* getUsersRuleDependentTypeId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
82
79
|
*/
|
|
83
80
|
getUsersRuleDependentTypeId(ruleId, ruleType, typeId) {
|
|
84
81
|
// verify the required parameter 'ruleId' is set
|
|
@@ -116,7 +113,6 @@ class UsersRulesApi {
|
|
|
116
113
|
* @param {Number} opts.pageSize Number of results per page (default to 25)
|
|
117
114
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
118
115
|
* @param {Object} opts.sortOrder Sort order for dependents (by last run date, then created date) (default to descending)
|
|
119
|
-
* getUsersRuleDependents is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
120
116
|
*/
|
|
121
117
|
getUsersRuleDependents(ruleId, opts) {
|
|
122
118
|
opts = opts || {};
|
|
@@ -151,7 +147,6 @@ class UsersRulesApi {
|
|
|
151
147
|
* @param {Boolean} opts.enabled Whether to list enabled or disabled rules
|
|
152
148
|
* @param {String} opts.searchTerm a search term for finding a rule by name
|
|
153
149
|
* @param {Object} opts.sortOrder sort rules by name, ascending, descending (default to ascending)
|
|
154
|
-
* getUsersRules is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
155
150
|
*/
|
|
156
151
|
getUsersRules(types, opts) {
|
|
157
152
|
opts = opts || {};
|
|
@@ -179,7 +174,6 @@ class UsersRulesApi {
|
|
|
179
174
|
* Get the settings for a specific users rule type
|
|
180
175
|
*
|
|
181
176
|
* @param {Object} ruleType The type of the rule
|
|
182
|
-
* getUsersRulesSetting is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
183
177
|
*/
|
|
184
178
|
getUsersRulesSetting(ruleType) {
|
|
185
179
|
// verify the required parameter 'ruleType' is set
|
|
@@ -206,7 +200,6 @@ class UsersRulesApi {
|
|
|
206
200
|
* This will update an existing users rule with the specified fields.
|
|
207
201
|
* @param {String} ruleId The ID of the rule to update
|
|
208
202
|
* @param {Object} body updateRuleRequest
|
|
209
|
-
* patchUsersRule is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
210
203
|
*/
|
|
211
204
|
patchUsersRule(ruleId, body) {
|
|
212
205
|
// verify the required parameter 'ruleId' is set
|
|
@@ -236,7 +229,6 @@ class UsersRulesApi {
|
|
|
236
229
|
* Create a new rule
|
|
237
230
|
* This will create a new rule with the specified fields.
|
|
238
231
|
* @param {Object} body usersRulesCreateRuleRequest
|
|
239
|
-
* postUsersRules is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
240
232
|
*/
|
|
241
233
|
postUsersRules(body) {
|
|
242
234
|
// verify the required parameter 'body' is set
|
|
@@ -265,7 +257,6 @@ class UsersRulesApi {
|
|
|
265
257
|
* @param {Object} opts Optional parameters
|
|
266
258
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
267
259
|
* @param {Number} opts.pageSize Number of results per page (default to 25)
|
|
268
|
-
* postUsersRulesQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
269
260
|
*/
|
|
270
261
|
postUsersRulesQuery(body, opts) {
|
|
271
262
|
opts = opts || {};
|
|
@@ -5,7 +5,7 @@ class WebDeploymentsApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* WebDeployments service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 246.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -157,10 +157,16 @@ class WebDeploymentsApi {
|
|
|
157
157
|
|
|
158
158
|
/**
|
|
159
159
|
* Get the versions of a configuration
|
|
160
|
-
*
|
|
160
|
+
*
|
|
161
161
|
* @param {String} configurationId The configuration version ID
|
|
162
|
+
* @param {Object} opts Optional parameters
|
|
163
|
+
* @param {String} opts.pageSize Number of entities to return. Defaults to 300.
|
|
164
|
+
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
165
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
162
166
|
*/
|
|
163
|
-
getWebdeploymentsConfigurationVersions(configurationId) {
|
|
167
|
+
getWebdeploymentsConfigurationVersions(configurationId, opts) {
|
|
168
|
+
opts = opts || {};
|
|
169
|
+
|
|
164
170
|
// verify the required parameter 'configurationId' is set
|
|
165
171
|
if (configurationId === undefined || configurationId === null || configurationId === '') {
|
|
166
172
|
throw 'Missing the required parameter "configurationId" when calling getWebdeploymentsConfigurationVersions';
|
|
@@ -170,7 +176,7 @@ class WebDeploymentsApi {
|
|
|
170
176
|
'/api/v2/webdeployments/configurations/{configurationId}/versions',
|
|
171
177
|
'GET',
|
|
172
178
|
{ 'configurationId': configurationId },
|
|
173
|
-
{
|
|
179
|
+
{ 'pageSize': opts['pageSize'],'before': opts['before'],'after': opts['after'] },
|
|
174
180
|
{ },
|
|
175
181
|
{ },
|
|
176
182
|
null,
|
|
@@ -209,6 +215,9 @@ class WebDeploymentsApi {
|
|
|
209
215
|
* View configuration drafts
|
|
210
216
|
*
|
|
211
217
|
* @param {Object} opts Optional parameters
|
|
218
|
+
* @param {String} opts.pageSize Number of entities to return. Defaults to 300.
|
|
219
|
+
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
220
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
212
221
|
* @param {Boolean} opts.showOnlyPublished Filter by published status.
|
|
213
222
|
*/
|
|
214
223
|
getWebdeploymentsConfigurations(opts) {
|
|
@@ -219,7 +228,7 @@ class WebDeploymentsApi {
|
|
|
219
228
|
'/api/v2/webdeployments/configurations',
|
|
220
229
|
'GET',
|
|
221
230
|
{ },
|
|
222
|
-
{ 'showOnlyPublished': opts['showOnlyPublished'] },
|
|
231
|
+
{ 'pageSize': opts['pageSize'],'before': opts['before'],'after': opts['after'],'showOnlyPublished': opts['showOnlyPublished'] },
|
|
223
232
|
{ },
|
|
224
233
|
{ },
|
|
225
234
|
null,
|
|
@@ -347,6 +356,9 @@ class WebDeploymentsApi {
|
|
|
347
356
|
* Get deployments
|
|
348
357
|
*
|
|
349
358
|
* @param {Object} opts Optional parameters
|
|
359
|
+
* @param {String} opts.pageSize Number of entities to return. Defaults to 300.
|
|
360
|
+
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
361
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
350
362
|
* @param {Array.<String>} opts.expand The specified entity attributes will be filled. Comma separated values expected.
|
|
351
363
|
*/
|
|
352
364
|
getWebdeploymentsDeployments(opts) {
|
|
@@ -357,7 +369,7 @@ class WebDeploymentsApi {
|
|
|
357
369
|
'/api/v2/webdeployments/deployments',
|
|
358
370
|
'GET',
|
|
359
371
|
{ },
|
|
360
|
-
{ 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
372
|
+
{ 'pageSize': opts['pageSize'],'before': opts['before'],'after': opts['after'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
361
373
|
{ },
|
|
362
374
|
{ },
|
|
363
375
|
null,
|