purecloud-platform-client-v2 136.0.0 → 136.1.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 +2 -2
- package/dist/node/purecloud-platform-client-v2.js +314 -65
- package/dist/web-amd/purecloud-platform-client-v2.js +314 -65
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +314 -65
- package/dist/web-cjs/purecloud-platform-client-v2.js +314 -65
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +528 -387
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +2 -2
- 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 +50 -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/BillingApi.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 +1 -1
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.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/IntegrationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/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/OrganizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +201 -1
- package/src/purecloud-platform-client-v2/api/PresenceApi.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 +1 -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 +1 -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/TelephonyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
- 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
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@ import Configuration from './configuration.js';
|
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* @module purecloud-platform-client-v2/ApiClient
|
|
6
|
-
* @version 136.
|
|
6
|
+
* @version 136.1.0
|
|
7
7
|
*/
|
|
8
8
|
class ApiClient {
|
|
9
9
|
/**
|
|
@@ -950,7 +950,7 @@ class ApiClient {
|
|
|
950
950
|
|
|
951
951
|
// set header parameters
|
|
952
952
|
request.set(that.defaultHeaders).set(that.normalizeParams(headerParams));
|
|
953
|
-
//request.set({ 'purecloud-sdk': '136.
|
|
953
|
+
//request.set({ 'purecloud-sdk': '136.1.0' });
|
|
954
954
|
|
|
955
955
|
// set request timeout
|
|
956
956
|
request.timeout(that.timeout);
|
|
@@ -5,7 +5,7 @@ class ArchitectApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Architect service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
8
|
-
* @version 136.
|
|
8
|
+
* @version 136.1.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -1769,6 +1769,35 @@ class ArchitectApi {
|
|
|
1769
1769
|
);
|
|
1770
1770
|
}
|
|
1771
1771
|
|
|
1772
|
+
/**
|
|
1773
|
+
* Fetch Architect Job Status
|
|
1774
|
+
*
|
|
1775
|
+
* @param {String} jobId Job ID
|
|
1776
|
+
* @param {Object} opts Optional parameters
|
|
1777
|
+
* @param {Array.<String>} opts.expand Which fields, if any, to expand.
|
|
1778
|
+
*/
|
|
1779
|
+
getFlowsJob(jobId, opts) {
|
|
1780
|
+
opts = opts || {};
|
|
1781
|
+
|
|
1782
|
+
// verify the required parameter 'jobId' is set
|
|
1783
|
+
if (jobId === undefined || jobId === null) {
|
|
1784
|
+
throw 'Missing the required parameter "jobId" when calling getFlowsJob';
|
|
1785
|
+
}
|
|
1786
|
+
|
|
1787
|
+
return this.apiClient.callApi(
|
|
1788
|
+
'/api/v2/flows/jobs/{jobId}',
|
|
1789
|
+
'GET',
|
|
1790
|
+
{ 'jobId': jobId },
|
|
1791
|
+
{ 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
1792
|
+
{ },
|
|
1793
|
+
{ },
|
|
1794
|
+
null,
|
|
1795
|
+
['PureCloud OAuth'],
|
|
1796
|
+
['application/json'],
|
|
1797
|
+
['application/json']
|
|
1798
|
+
);
|
|
1799
|
+
}
|
|
1800
|
+
|
|
1772
1801
|
/**
|
|
1773
1802
|
* Get a flow milestone
|
|
1774
1803
|
* Returns a specified flow milestone
|
|
@@ -2571,6 +2600,26 @@ class ArchitectApi {
|
|
|
2571
2600
|
);
|
|
2572
2601
|
}
|
|
2573
2602
|
|
|
2603
|
+
/**
|
|
2604
|
+
* Register Architect Job. Returns a URL where a file, such as an Architect flow YAML file, can be PUT which will then initiate the job.
|
|
2605
|
+
*
|
|
2606
|
+
*/
|
|
2607
|
+
postFlowsJobs() {
|
|
2608
|
+
|
|
2609
|
+
return this.apiClient.callApi(
|
|
2610
|
+
'/api/v2/flows/jobs',
|
|
2611
|
+
'POST',
|
|
2612
|
+
{ },
|
|
2613
|
+
{ },
|
|
2614
|
+
{ },
|
|
2615
|
+
{ },
|
|
2616
|
+
null,
|
|
2617
|
+
['PureCloud OAuth'],
|
|
2618
|
+
['application/json'],
|
|
2619
|
+
['application/json']
|
|
2620
|
+
);
|
|
2621
|
+
}
|
|
2622
|
+
|
|
2574
2623
|
/**
|
|
2575
2624
|
* Create a flow milestone
|
|
2576
2625
|
*
|
|
@@ -5,7 +5,7 @@ class OutboundApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Outbound service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
8
|
-
* @version 136.
|
|
8
|
+
* @version 136.1.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -430,6 +430,56 @@ class OutboundApi {
|
|
|
430
430
|
);
|
|
431
431
|
}
|
|
432
432
|
|
|
433
|
+
/**
|
|
434
|
+
* Delete an email campaign schedule.
|
|
435
|
+
*
|
|
436
|
+
* @param {String} emailCampaignId Email Campaign ID
|
|
437
|
+
*/
|
|
438
|
+
deleteOutboundSchedulesEmailcampaign(emailCampaignId) {
|
|
439
|
+
// verify the required parameter 'emailCampaignId' is set
|
|
440
|
+
if (emailCampaignId === undefined || emailCampaignId === null) {
|
|
441
|
+
throw 'Missing the required parameter "emailCampaignId" when calling deleteOutboundSchedulesEmailcampaign';
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
return this.apiClient.callApi(
|
|
445
|
+
'/api/v2/outbound/schedules/emailcampaigns/{emailCampaignId}',
|
|
446
|
+
'DELETE',
|
|
447
|
+
{ 'emailCampaignId': emailCampaignId },
|
|
448
|
+
{ },
|
|
449
|
+
{ },
|
|
450
|
+
{ },
|
|
451
|
+
null,
|
|
452
|
+
['PureCloud OAuth'],
|
|
453
|
+
['application/json'],
|
|
454
|
+
['application/json']
|
|
455
|
+
);
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
/**
|
|
459
|
+
* Delete a messaging campaign schedule.
|
|
460
|
+
*
|
|
461
|
+
* @param {String} messagingCampaignId Messaging Campaign ID
|
|
462
|
+
*/
|
|
463
|
+
deleteOutboundSchedulesMessagingcampaign(messagingCampaignId) {
|
|
464
|
+
// verify the required parameter 'messagingCampaignId' is set
|
|
465
|
+
if (messagingCampaignId === undefined || messagingCampaignId === null) {
|
|
466
|
+
throw 'Missing the required parameter "messagingCampaignId" when calling deleteOutboundSchedulesMessagingcampaign';
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
return this.apiClient.callApi(
|
|
470
|
+
'/api/v2/outbound/schedules/messagingcampaigns/{messagingCampaignId}',
|
|
471
|
+
'DELETE',
|
|
472
|
+
{ 'messagingCampaignId': messagingCampaignId },
|
|
473
|
+
{ },
|
|
474
|
+
{ },
|
|
475
|
+
{ },
|
|
476
|
+
null,
|
|
477
|
+
['PureCloud OAuth'],
|
|
478
|
+
['application/json'],
|
|
479
|
+
['application/json']
|
|
480
|
+
);
|
|
481
|
+
}
|
|
482
|
+
|
|
433
483
|
/**
|
|
434
484
|
* Delete a dialer sequence schedule.
|
|
435
485
|
*
|
|
@@ -1766,6 +1816,96 @@ class OutboundApi {
|
|
|
1766
1816
|
);
|
|
1767
1817
|
}
|
|
1768
1818
|
|
|
1819
|
+
/**
|
|
1820
|
+
* Get an email campaign schedule.
|
|
1821
|
+
*
|
|
1822
|
+
* @param {String} emailCampaignId Email Campaign ID
|
|
1823
|
+
*/
|
|
1824
|
+
getOutboundSchedulesEmailcampaign(emailCampaignId) {
|
|
1825
|
+
// verify the required parameter 'emailCampaignId' is set
|
|
1826
|
+
if (emailCampaignId === undefined || emailCampaignId === null) {
|
|
1827
|
+
throw 'Missing the required parameter "emailCampaignId" when calling getOutboundSchedulesEmailcampaign';
|
|
1828
|
+
}
|
|
1829
|
+
|
|
1830
|
+
return this.apiClient.callApi(
|
|
1831
|
+
'/api/v2/outbound/schedules/emailcampaigns/{emailCampaignId}',
|
|
1832
|
+
'GET',
|
|
1833
|
+
{ 'emailCampaignId': emailCampaignId },
|
|
1834
|
+
{ },
|
|
1835
|
+
{ },
|
|
1836
|
+
{ },
|
|
1837
|
+
null,
|
|
1838
|
+
['PureCloud OAuth'],
|
|
1839
|
+
['application/json'],
|
|
1840
|
+
['application/json']
|
|
1841
|
+
);
|
|
1842
|
+
}
|
|
1843
|
+
|
|
1844
|
+
/**
|
|
1845
|
+
* Query for a list of email campaign schedules.
|
|
1846
|
+
*
|
|
1847
|
+
*/
|
|
1848
|
+
getOutboundSchedulesEmailcampaigns() {
|
|
1849
|
+
|
|
1850
|
+
return this.apiClient.callApi(
|
|
1851
|
+
'/api/v2/outbound/schedules/emailcampaigns',
|
|
1852
|
+
'GET',
|
|
1853
|
+
{ },
|
|
1854
|
+
{ },
|
|
1855
|
+
{ },
|
|
1856
|
+
{ },
|
|
1857
|
+
null,
|
|
1858
|
+
['PureCloud OAuth'],
|
|
1859
|
+
['application/json'],
|
|
1860
|
+
['application/json']
|
|
1861
|
+
);
|
|
1862
|
+
}
|
|
1863
|
+
|
|
1864
|
+
/**
|
|
1865
|
+
* Get a messaging campaign schedule.
|
|
1866
|
+
*
|
|
1867
|
+
* @param {String} messagingCampaignId Messaging Campaign ID
|
|
1868
|
+
*/
|
|
1869
|
+
getOutboundSchedulesMessagingcampaign(messagingCampaignId) {
|
|
1870
|
+
// verify the required parameter 'messagingCampaignId' is set
|
|
1871
|
+
if (messagingCampaignId === undefined || messagingCampaignId === null) {
|
|
1872
|
+
throw 'Missing the required parameter "messagingCampaignId" when calling getOutboundSchedulesMessagingcampaign';
|
|
1873
|
+
}
|
|
1874
|
+
|
|
1875
|
+
return this.apiClient.callApi(
|
|
1876
|
+
'/api/v2/outbound/schedules/messagingcampaigns/{messagingCampaignId}',
|
|
1877
|
+
'GET',
|
|
1878
|
+
{ 'messagingCampaignId': messagingCampaignId },
|
|
1879
|
+
{ },
|
|
1880
|
+
{ },
|
|
1881
|
+
{ },
|
|
1882
|
+
null,
|
|
1883
|
+
['PureCloud OAuth'],
|
|
1884
|
+
['application/json'],
|
|
1885
|
+
['application/json']
|
|
1886
|
+
);
|
|
1887
|
+
}
|
|
1888
|
+
|
|
1889
|
+
/**
|
|
1890
|
+
* Query for a list of messaging campaign schedules.
|
|
1891
|
+
*
|
|
1892
|
+
*/
|
|
1893
|
+
getOutboundSchedulesMessagingcampaigns() {
|
|
1894
|
+
|
|
1895
|
+
return this.apiClient.callApi(
|
|
1896
|
+
'/api/v2/outbound/schedules/messagingcampaigns',
|
|
1897
|
+
'GET',
|
|
1898
|
+
{ },
|
|
1899
|
+
{ },
|
|
1900
|
+
{ },
|
|
1901
|
+
{ },
|
|
1902
|
+
null,
|
|
1903
|
+
['PureCloud OAuth'],
|
|
1904
|
+
['application/json'],
|
|
1905
|
+
['application/json']
|
|
1906
|
+
);
|
|
1907
|
+
}
|
|
1908
|
+
|
|
1769
1909
|
/**
|
|
1770
1910
|
* Get a dialer sequence schedule.
|
|
1771
1911
|
*
|
|
@@ -2969,6 +3109,66 @@ class OutboundApi {
|
|
|
2969
3109
|
);
|
|
2970
3110
|
}
|
|
2971
3111
|
|
|
3112
|
+
/**
|
|
3113
|
+
* Update an email campaign schedule.
|
|
3114
|
+
*
|
|
3115
|
+
* @param {String} emailCampaignId Email Campaign ID
|
|
3116
|
+
* @param {Object} body EmailCampaignSchedule
|
|
3117
|
+
*/
|
|
3118
|
+
putOutboundSchedulesEmailcampaign(emailCampaignId, body) {
|
|
3119
|
+
// verify the required parameter 'emailCampaignId' is set
|
|
3120
|
+
if (emailCampaignId === undefined || emailCampaignId === null) {
|
|
3121
|
+
throw 'Missing the required parameter "emailCampaignId" when calling putOutboundSchedulesEmailcampaign';
|
|
3122
|
+
}
|
|
3123
|
+
// verify the required parameter 'body' is set
|
|
3124
|
+
if (body === undefined || body === null) {
|
|
3125
|
+
throw 'Missing the required parameter "body" when calling putOutboundSchedulesEmailcampaign';
|
|
3126
|
+
}
|
|
3127
|
+
|
|
3128
|
+
return this.apiClient.callApi(
|
|
3129
|
+
'/api/v2/outbound/schedules/emailcampaigns/{emailCampaignId}',
|
|
3130
|
+
'PUT',
|
|
3131
|
+
{ 'emailCampaignId': emailCampaignId },
|
|
3132
|
+
{ },
|
|
3133
|
+
{ },
|
|
3134
|
+
{ },
|
|
3135
|
+
body,
|
|
3136
|
+
['PureCloud OAuth'],
|
|
3137
|
+
['application/json'],
|
|
3138
|
+
['application/json']
|
|
3139
|
+
);
|
|
3140
|
+
}
|
|
3141
|
+
|
|
3142
|
+
/**
|
|
3143
|
+
* Update a new messaging campaign schedule.
|
|
3144
|
+
*
|
|
3145
|
+
* @param {String} messagingCampaignId Messaging Campaign ID
|
|
3146
|
+
* @param {Object} body MessagingCampaignSchedule
|
|
3147
|
+
*/
|
|
3148
|
+
putOutboundSchedulesMessagingcampaign(messagingCampaignId, body) {
|
|
3149
|
+
// verify the required parameter 'messagingCampaignId' is set
|
|
3150
|
+
if (messagingCampaignId === undefined || messagingCampaignId === null) {
|
|
3151
|
+
throw 'Missing the required parameter "messagingCampaignId" when calling putOutboundSchedulesMessagingcampaign';
|
|
3152
|
+
}
|
|
3153
|
+
// verify the required parameter 'body' is set
|
|
3154
|
+
if (body === undefined || body === null) {
|
|
3155
|
+
throw 'Missing the required parameter "body" when calling putOutboundSchedulesMessagingcampaign';
|
|
3156
|
+
}
|
|
3157
|
+
|
|
3158
|
+
return this.apiClient.callApi(
|
|
3159
|
+
'/api/v2/outbound/schedules/messagingcampaigns/{messagingCampaignId}',
|
|
3160
|
+
'PUT',
|
|
3161
|
+
{ 'messagingCampaignId': messagingCampaignId },
|
|
3162
|
+
{ },
|
|
3163
|
+
{ },
|
|
3164
|
+
{ },
|
|
3165
|
+
body,
|
|
3166
|
+
['PureCloud OAuth'],
|
|
3167
|
+
['application/json'],
|
|
3168
|
+
['application/json']
|
|
3169
|
+
);
|
|
3170
|
+
}
|
|
3171
|
+
|
|
2972
3172
|
/**
|
|
2973
3173
|
* Update a new sequence schedule.
|
|
2974
3174
|
*
|