purecloud-platform-client-v2 122.0.0 → 123.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 +2 -2
- package/dist/node/purecloud-platform-client-v2.js +128 -69
- package/dist/web-amd/purecloud-platform-client-v2.js +128 -69
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +128 -69
- package/dist/web-cjs/purecloud-platform-client-v2.js +128 -69
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +380 -204
- 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 +8 -4
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BillingApi.js +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 +2 -2
- 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 +7 -3
- 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/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 +1 -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 +51 -0
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/index.js +7 -1
package/README.md
CHANGED
|
@@ -27,7 +27,7 @@ For direct use in a browser script:
|
|
|
27
27
|
|
|
28
28
|
```{"language":"html"}
|
|
29
29
|
<!-- Include the CJS SDK -->
|
|
30
|
-
<script src="https://sdk-cdn.mypurecloud.com/javascript/
|
|
30
|
+
<script src="https://sdk-cdn.mypurecloud.com/javascript/123.0.0/purecloud-platform-client-v2.min.js"></script>
|
|
31
31
|
|
|
32
32
|
<script type="text/javascript">
|
|
33
33
|
// Obtain a reference to the platformClient object
|
|
@@ -44,7 +44,7 @@ For direct use in a browser script:
|
|
|
44
44
|
|
|
45
45
|
<script type="text/javascript">
|
|
46
46
|
// Obtain a reference to the platformClient object
|
|
47
|
-
requirejs(['https://sdk-cdn.mypurecloud.com/javascript/amd/
|
|
47
|
+
requirejs(['https://sdk-cdn.mypurecloud.com/javascript/amd/123.0.0/purecloud-platform-client-v2.min.js'], (platformClient) => {
|
|
48
48
|
console.log(platformClient);
|
|
49
49
|
});
|
|
50
50
|
</script>
|
|
@@ -386,7 +386,7 @@ class Configuration {
|
|
|
386
386
|
|
|
387
387
|
/**
|
|
388
388
|
* @module purecloud-platform-client-v2/ApiClient
|
|
389
|
-
* @version
|
|
389
|
+
* @version 123.0.0
|
|
390
390
|
*/
|
|
391
391
|
class ApiClient {
|
|
392
392
|
/**
|
|
@@ -1333,7 +1333,7 @@ class ApiClient {
|
|
|
1333
1333
|
|
|
1334
1334
|
// set header parameters
|
|
1335
1335
|
request.set(that.defaultHeaders).set(that.normalizeParams(headerParams));
|
|
1336
|
-
//request.set({ 'purecloud-sdk': '
|
|
1336
|
+
//request.set({ 'purecloud-sdk': '123.0.0' });
|
|
1337
1337
|
|
|
1338
1338
|
// set request timeout
|
|
1339
1339
|
request.timeout(that.timeout);
|
|
@@ -1433,7 +1433,7 @@ class AlertingApi {
|
|
|
1433
1433
|
/**
|
|
1434
1434
|
* Alerting service.
|
|
1435
1435
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
1436
|
-
* @version
|
|
1436
|
+
* @version 123.0.0
|
|
1437
1437
|
*/
|
|
1438
1438
|
|
|
1439
1439
|
/**
|
|
@@ -1747,7 +1747,7 @@ class AnalyticsApi {
|
|
|
1747
1747
|
/**
|
|
1748
1748
|
* Analytics service.
|
|
1749
1749
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
1750
|
-
* @version
|
|
1750
|
+
* @version 123.0.0
|
|
1751
1751
|
*/
|
|
1752
1752
|
|
|
1753
1753
|
/**
|
|
@@ -2909,7 +2909,7 @@ class ArchitectApi {
|
|
|
2909
2909
|
/**
|
|
2910
2910
|
* Architect service.
|
|
2911
2911
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
2912
|
-
* @version
|
|
2912
|
+
* @version 123.0.0
|
|
2913
2913
|
*/
|
|
2914
2914
|
|
|
2915
2915
|
/**
|
|
@@ -5777,17 +5777,21 @@ class ArchitectApi {
|
|
|
5777
5777
|
* Updates a specific datatable by id
|
|
5778
5778
|
* Updates a schema for a datatable with the given datatableId -updates allow only new fields to be added in the schema, no changes or removals of existing fields.
|
|
5779
5779
|
* @param {String} datatableId id of datatable
|
|
5780
|
+
* @param {Object} body datatable json-schema
|
|
5780
5781
|
* @param {Object} opts Optional parameters
|
|
5781
5782
|
* @param {Object} opts.expand Expand instructions for the result
|
|
5782
|
-
* @param {Object} opts.body datatable json-schema
|
|
5783
5783
|
*/
|
|
5784
|
-
putFlowsDatatable(datatableId, opts) {
|
|
5784
|
+
putFlowsDatatable(datatableId, body, opts) {
|
|
5785
5785
|
opts = opts || {};
|
|
5786
5786
|
|
|
5787
5787
|
// verify the required parameter 'datatableId' is set
|
|
5788
5788
|
if (datatableId === undefined || datatableId === null) {
|
|
5789
5789
|
throw 'Missing the required parameter "datatableId" when calling putFlowsDatatable';
|
|
5790
5790
|
}
|
|
5791
|
+
// verify the required parameter 'body' is set
|
|
5792
|
+
if (body === undefined || body === null) {
|
|
5793
|
+
throw 'Missing the required parameter "body" when calling putFlowsDatatable';
|
|
5794
|
+
}
|
|
5791
5795
|
|
|
5792
5796
|
return this.apiClient.callApi(
|
|
5793
5797
|
'/api/v2/flows/datatables/{datatableId}',
|
|
@@ -5796,7 +5800,7 @@ class ArchitectApi {
|
|
|
5796
5800
|
{ 'expand': opts['expand'] },
|
|
5797
5801
|
{ },
|
|
5798
5802
|
{ },
|
|
5799
|
-
|
|
5803
|
+
body,
|
|
5800
5804
|
['PureCloud OAuth'],
|
|
5801
5805
|
['application/json'],
|
|
5802
5806
|
['application/json']
|
|
@@ -5901,7 +5905,7 @@ class AuditApi {
|
|
|
5901
5905
|
/**
|
|
5902
5906
|
* Audit service.
|
|
5903
5907
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
5904
|
-
* @version
|
|
5908
|
+
* @version 123.0.0
|
|
5905
5909
|
*/
|
|
5906
5910
|
|
|
5907
5911
|
/**
|
|
@@ -6072,7 +6076,7 @@ class AuthorizationApi {
|
|
|
6072
6076
|
/**
|
|
6073
6077
|
* Authorization service.
|
|
6074
6078
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
6075
|
-
* @version
|
|
6079
|
+
* @version 123.0.0
|
|
6076
6080
|
*/
|
|
6077
6081
|
|
|
6078
6082
|
/**
|
|
@@ -7255,7 +7259,7 @@ class BillingApi {
|
|
|
7255
7259
|
/**
|
|
7256
7260
|
* Billing service.
|
|
7257
7261
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
7258
|
-
* @version
|
|
7262
|
+
* @version 123.0.0
|
|
7259
7263
|
*/
|
|
7260
7264
|
|
|
7261
7265
|
/**
|
|
@@ -7335,7 +7339,7 @@ class ChatApi {
|
|
|
7335
7339
|
/**
|
|
7336
7340
|
* Chat service.
|
|
7337
7341
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
7338
|
-
* @version
|
|
7342
|
+
* @version 123.0.0
|
|
7339
7343
|
*/
|
|
7340
7344
|
|
|
7341
7345
|
/**
|
|
@@ -7426,7 +7430,7 @@ class CoachingApi {
|
|
|
7426
7430
|
/**
|
|
7427
7431
|
* Coaching service.
|
|
7428
7432
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
7429
|
-
* @version
|
|
7433
|
+
* @version 123.0.0
|
|
7430
7434
|
*/
|
|
7431
7435
|
|
|
7432
7436
|
/**
|
|
@@ -8001,7 +8005,7 @@ class ContentManagementApi {
|
|
|
8001
8005
|
/**
|
|
8002
8006
|
* ContentManagement service.
|
|
8003
8007
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
8004
|
-
* @version
|
|
8008
|
+
* @version 123.0.0
|
|
8005
8009
|
*/
|
|
8006
8010
|
|
|
8007
8011
|
/**
|
|
@@ -9141,7 +9145,7 @@ class ConversationsApi {
|
|
|
9141
9145
|
/**
|
|
9142
9146
|
* Conversations service.
|
|
9143
9147
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
9144
|
-
* @version
|
|
9148
|
+
* @version 123.0.0
|
|
9145
9149
|
*/
|
|
9146
9150
|
|
|
9147
9151
|
/**
|
|
@@ -12210,7 +12214,7 @@ class ConversationsApi {
|
|
|
12210
12214
|
}
|
|
12211
12215
|
|
|
12212
12216
|
/**
|
|
12213
|
-
* Attempts to manually assign a specified conversation to a specified
|
|
12217
|
+
* Attempts to manually assign a specified conversation to a specified user. Ignores bullseye ring, PAR score, skills, and languages.
|
|
12214
12218
|
*
|
|
12215
12219
|
* @param {String} conversationId conversation ID
|
|
12216
12220
|
* @param {Object} body Targeted user
|
|
@@ -13530,7 +13534,7 @@ class DataExtensionsApi {
|
|
|
13530
13534
|
/**
|
|
13531
13535
|
* DataExtensions service.
|
|
13532
13536
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
13533
|
-
* @version
|
|
13537
|
+
* @version 123.0.0
|
|
13534
13538
|
*/
|
|
13535
13539
|
|
|
13536
13540
|
/**
|
|
@@ -13616,7 +13620,7 @@ class ExternalContactsApi {
|
|
|
13616
13620
|
/**
|
|
13617
13621
|
* ExternalContacts service.
|
|
13618
13622
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
13619
|
-
* @version
|
|
13623
|
+
* @version 123.0.0
|
|
13620
13624
|
*/
|
|
13621
13625
|
|
|
13622
13626
|
/**
|
|
@@ -15359,7 +15363,7 @@ class FaxApi {
|
|
|
15359
15363
|
/**
|
|
15360
15364
|
* Fax service.
|
|
15361
15365
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
15362
|
-
* @version
|
|
15366
|
+
* @version 123.0.0
|
|
15363
15367
|
*/
|
|
15364
15368
|
|
|
15365
15369
|
/**
|
|
@@ -15530,7 +15534,7 @@ class FlowsApi {
|
|
|
15530
15534
|
/**
|
|
15531
15535
|
* Flows service.
|
|
15532
15536
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
15533
|
-
* @version
|
|
15537
|
+
* @version 123.0.0
|
|
15534
15538
|
*/
|
|
15535
15539
|
|
|
15536
15540
|
/**
|
|
@@ -15601,7 +15605,7 @@ class GamificationApi {
|
|
|
15601
15605
|
/**
|
|
15602
15606
|
* Gamification service.
|
|
15603
15607
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
15604
|
-
* @version
|
|
15608
|
+
* @version 123.0.0
|
|
15605
15609
|
*/
|
|
15606
15610
|
|
|
15607
15611
|
/**
|
|
@@ -16907,7 +16911,7 @@ class GeneralDataProtectionRegulationApi {
|
|
|
16907
16911
|
/**
|
|
16908
16912
|
* GeneralDataProtectionRegulation service.
|
|
16909
16913
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
16910
|
-
* @version
|
|
16914
|
+
* @version 123.0.0
|
|
16911
16915
|
*/
|
|
16912
16916
|
|
|
16913
16917
|
/**
|
|
@@ -17037,7 +17041,7 @@ class GeolocationApi {
|
|
|
17037
17041
|
/**
|
|
17038
17042
|
* Geolocation service.
|
|
17039
17043
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
17040
|
-
* @version
|
|
17044
|
+
* @version 123.0.0
|
|
17041
17045
|
*/
|
|
17042
17046
|
|
|
17043
17047
|
/**
|
|
@@ -17168,7 +17172,7 @@ class GreetingsApi {
|
|
|
17168
17172
|
/**
|
|
17169
17173
|
* Greetings service.
|
|
17170
17174
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
17171
|
-
* @version
|
|
17175
|
+
* @version 123.0.0
|
|
17172
17176
|
*/
|
|
17173
17177
|
|
|
17174
17178
|
/**
|
|
@@ -17623,7 +17627,7 @@ class GroupsApi {
|
|
|
17623
17627
|
/**
|
|
17624
17628
|
* Groups service.
|
|
17625
17629
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
17626
|
-
* @version
|
|
17630
|
+
* @version 123.0.0
|
|
17627
17631
|
*/
|
|
17628
17632
|
|
|
17629
17633
|
/**
|
|
@@ -18028,7 +18032,7 @@ class IdentityProviderApi {
|
|
|
18028
18032
|
/**
|
|
18029
18033
|
* IdentityProvider service.
|
|
18030
18034
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
18031
|
-
* @version
|
|
18035
|
+
* @version 123.0.0
|
|
18032
18036
|
*/
|
|
18033
18037
|
|
|
18034
18038
|
/**
|
|
@@ -18784,7 +18788,7 @@ class IntegrationsApi {
|
|
|
18784
18788
|
/**
|
|
18785
18789
|
* Integrations service.
|
|
18786
18790
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
18787
|
-
* @version
|
|
18791
|
+
* @version 123.0.0
|
|
18788
18792
|
*/
|
|
18789
18793
|
|
|
18790
18794
|
/**
|
|
@@ -20430,7 +20434,7 @@ class JourneyApi {
|
|
|
20430
20434
|
/**
|
|
20431
20435
|
* Journey service.
|
|
20432
20436
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
20433
|
-
* @version
|
|
20437
|
+
* @version 123.0.0
|
|
20434
20438
|
*/
|
|
20435
20439
|
|
|
20436
20440
|
/**
|
|
@@ -21141,7 +21145,7 @@ class KnowledgeApi {
|
|
|
21141
21145
|
/**
|
|
21142
21146
|
* Knowledge service.
|
|
21143
21147
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
21144
|
-
* @version
|
|
21148
|
+
* @version 123.0.0
|
|
21145
21149
|
*/
|
|
21146
21150
|
|
|
21147
21151
|
/**
|
|
@@ -21431,6 +21435,8 @@ class KnowledgeApi {
|
|
|
21431
21435
|
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
21432
21436
|
* @param {String} opts.categories Filter by categories ids, comma separated values expected.
|
|
21433
21437
|
* @param {String} opts.title Filter by document title.
|
|
21438
|
+
* @param {Object} opts.sortBy Sort by.
|
|
21439
|
+
* @param {Object} opts.sortOrder Sort Order.
|
|
21434
21440
|
* @param {Array.<String>} opts.documentIds Comma-separated list of document identifiers to fetch by.
|
|
21435
21441
|
*/
|
|
21436
21442
|
getKnowledgeKnowledgebaseLanguageDocuments(knowledgeBaseId, languageCode, opts) {
|
|
@@ -21449,7 +21455,7 @@ class KnowledgeApi {
|
|
|
21449
21455
|
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents',
|
|
21450
21456
|
'GET',
|
|
21451
21457
|
{ 'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
|
|
21452
|
-
{ 'before': opts['before'],'after': opts['after'],'limit': opts['limit'],'pageSize': opts['pageSize'],'categories': opts['categories'],'title': opts['title'],'documentIds': this.apiClient.buildCollectionParam(opts['documentIds'], 'multi') },
|
|
21458
|
+
{ 'before': opts['before'],'after': opts['after'],'limit': opts['limit'],'pageSize': opts['pageSize'],'categories': opts['categories'],'title': opts['title'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'documentIds': this.apiClient.buildCollectionParam(opts['documentIds'], 'multi') },
|
|
21453
21459
|
{ },
|
|
21454
21460
|
{ },
|
|
21455
21461
|
null,
|
|
@@ -21578,6 +21584,8 @@ class KnowledgeApi {
|
|
|
21578
21584
|
* @param {String} opts.name Filter by Name.
|
|
21579
21585
|
* @param {Object} opts.coreLanguage Filter by core language.
|
|
21580
21586
|
* @param {Boolean} opts.published Filter by published status.
|
|
21587
|
+
* @param {Object} opts.sortBy Sort by.
|
|
21588
|
+
* @param {Object} opts.sortOrder Sort Order.
|
|
21581
21589
|
*/
|
|
21582
21590
|
getKnowledgeKnowledgebases(opts) {
|
|
21583
21591
|
opts = opts || {};
|
|
@@ -21587,7 +21595,7 @@ class KnowledgeApi {
|
|
|
21587
21595
|
'/api/v2/knowledge/knowledgebases',
|
|
21588
21596
|
'GET',
|
|
21589
21597
|
{ },
|
|
21590
|
-
{ 'before': opts['before'],'after': opts['after'],'limit': opts['limit'],'pageSize': opts['pageSize'],'name': opts['name'],'coreLanguage': opts['coreLanguage'],'published': opts['published'] },
|
|
21598
|
+
{ 'before': opts['before'],'after': opts['after'],'limit': opts['limit'],'pageSize': opts['pageSize'],'name': opts['name'],'coreLanguage': opts['coreLanguage'],'published': opts['published'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'] },
|
|
21591
21599
|
{ },
|
|
21592
21600
|
{ },
|
|
21593
21601
|
null,
|
|
@@ -22037,7 +22045,7 @@ class LanguageUnderstandingApi {
|
|
|
22037
22045
|
/**
|
|
22038
22046
|
* LanguageUnderstanding service.
|
|
22039
22047
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
22040
|
-
* @version
|
|
22048
|
+
* @version 123.0.0
|
|
22041
22049
|
*/
|
|
22042
22050
|
|
|
22043
22051
|
/**
|
|
@@ -22941,7 +22949,7 @@ class LanguagesApi {
|
|
|
22941
22949
|
/**
|
|
22942
22950
|
* Languages service.
|
|
22943
22951
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
22944
|
-
* @version
|
|
22952
|
+
* @version 123.0.0
|
|
22945
22953
|
*/
|
|
22946
22954
|
|
|
22947
22955
|
/**
|
|
@@ -23209,7 +23217,7 @@ class LearningApi {
|
|
|
23209
23217
|
/**
|
|
23210
23218
|
* Learning service.
|
|
23211
23219
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
23212
|
-
* @version
|
|
23220
|
+
* @version 123.0.0
|
|
23213
23221
|
*/
|
|
23214
23222
|
|
|
23215
23223
|
/**
|
|
@@ -23800,7 +23808,7 @@ class LicenseApi {
|
|
|
23800
23808
|
/**
|
|
23801
23809
|
* License service.
|
|
23802
23810
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
23803
|
-
* @version
|
|
23811
|
+
* @version 123.0.0
|
|
23804
23812
|
*/
|
|
23805
23813
|
|
|
23806
23814
|
/**
|
|
@@ -24038,7 +24046,7 @@ class LocationsApi {
|
|
|
24038
24046
|
/**
|
|
24039
24047
|
* Locations service.
|
|
24040
24048
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
24041
|
-
* @version
|
|
24049
|
+
* @version 123.0.0
|
|
24042
24050
|
*/
|
|
24043
24051
|
|
|
24044
24052
|
/**
|
|
@@ -24274,7 +24282,7 @@ class MobileDevicesApi {
|
|
|
24274
24282
|
/**
|
|
24275
24283
|
* MobileDevices service.
|
|
24276
24284
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
24277
|
-
* @version
|
|
24285
|
+
* @version 123.0.0
|
|
24278
24286
|
*/
|
|
24279
24287
|
|
|
24280
24288
|
/**
|
|
@@ -24425,7 +24433,7 @@ class NotificationsApi {
|
|
|
24425
24433
|
/**
|
|
24426
24434
|
* Notifications service.
|
|
24427
24435
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
24428
|
-
* @version
|
|
24436
|
+
* @version 123.0.0
|
|
24429
24437
|
*/
|
|
24430
24438
|
|
|
24431
24439
|
/**
|
|
@@ -24650,7 +24658,7 @@ class OAuthApi {
|
|
|
24650
24658
|
/**
|
|
24651
24659
|
* OAuth service.
|
|
24652
24660
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
24653
|
-
* @version
|
|
24661
|
+
* @version 123.0.0
|
|
24654
24662
|
*/
|
|
24655
24663
|
|
|
24656
24664
|
/**
|
|
@@ -25008,7 +25016,7 @@ class ObjectsApi {
|
|
|
25008
25016
|
/**
|
|
25009
25017
|
* Objects service.
|
|
25010
25018
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
25011
|
-
* @version
|
|
25019
|
+
* @version 123.0.0
|
|
25012
25020
|
*/
|
|
25013
25021
|
|
|
25014
25022
|
/**
|
|
@@ -25279,7 +25287,7 @@ class OrganizationApi {
|
|
|
25279
25287
|
/**
|
|
25280
25288
|
* Organization service.
|
|
25281
25289
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
25282
|
-
* @version
|
|
25290
|
+
* @version 123.0.0
|
|
25283
25291
|
*/
|
|
25284
25292
|
|
|
25285
25293
|
/**
|
|
@@ -25682,7 +25690,7 @@ class OrganizationAuthorizationApi {
|
|
|
25682
25690
|
/**
|
|
25683
25691
|
* OrganizationAuthorization service.
|
|
25684
25692
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
25685
|
-
* @version
|
|
25693
|
+
* @version 123.0.0
|
|
25686
25694
|
*/
|
|
25687
25695
|
|
|
25688
25696
|
/**
|
|
@@ -26392,7 +26400,7 @@ class OutboundApi {
|
|
|
26392
26400
|
/**
|
|
26393
26401
|
* Outbound service.
|
|
26394
26402
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
26395
|
-
* @version
|
|
26403
|
+
* @version 123.0.0
|
|
26396
26404
|
*/
|
|
26397
26405
|
|
|
26398
26406
|
/**
|
|
@@ -29418,7 +29426,7 @@ class PresenceApi {
|
|
|
29418
29426
|
/**
|
|
29419
29427
|
* Presence service.
|
|
29420
29428
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
29421
|
-
* @version
|
|
29429
|
+
* @version 123.0.0
|
|
29422
29430
|
*/
|
|
29423
29431
|
|
|
29424
29432
|
/**
|
|
@@ -29790,7 +29798,7 @@ class QualityApi {
|
|
|
29790
29798
|
/**
|
|
29791
29799
|
* Quality service.
|
|
29792
29800
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
29793
|
-
* @version
|
|
29801
|
+
* @version 123.0.0
|
|
29794
29802
|
*/
|
|
29795
29803
|
|
|
29796
29804
|
/**
|
|
@@ -31318,7 +31326,7 @@ class RecordingApi {
|
|
|
31318
31326
|
/**
|
|
31319
31327
|
* Recording service.
|
|
31320
31328
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
31321
|
-
* @version
|
|
31329
|
+
* @version 123.0.0
|
|
31322
31330
|
*/
|
|
31323
31331
|
|
|
31324
31332
|
/**
|
|
@@ -32837,7 +32845,7 @@ class ResponseManagementApi {
|
|
|
32837
32845
|
/**
|
|
32838
32846
|
* ResponseManagement service.
|
|
32839
32847
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
32840
|
-
* @version
|
|
32848
|
+
* @version 123.0.0
|
|
32841
32849
|
*/
|
|
32842
32850
|
|
|
32843
32851
|
/**
|
|
@@ -33162,7 +33170,7 @@ class RoutingApi {
|
|
|
33162
33170
|
/**
|
|
33163
33171
|
* Routing service.
|
|
33164
33172
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
33165
|
-
* @version
|
|
33173
|
+
* @version 123.0.0
|
|
33166
33174
|
*/
|
|
33167
33175
|
|
|
33168
33176
|
/**
|
|
@@ -36070,7 +36078,7 @@ class SCIMApi {
|
|
|
36070
36078
|
/**
|
|
36071
36079
|
* SCIM service.
|
|
36072
36080
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
36073
|
-
* @version
|
|
36081
|
+
* @version 123.0.0
|
|
36074
36082
|
*/
|
|
36075
36083
|
|
|
36076
36084
|
/**
|
|
@@ -36947,7 +36955,7 @@ class ScriptsApi {
|
|
|
36947
36955
|
/**
|
|
36948
36956
|
* Scripts service.
|
|
36949
36957
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
36950
|
-
* @version
|
|
36958
|
+
* @version 123.0.0
|
|
36951
36959
|
*/
|
|
36952
36960
|
|
|
36953
36961
|
/**
|
|
@@ -37300,7 +37308,7 @@ class SearchApi {
|
|
|
37300
37308
|
/**
|
|
37301
37309
|
* Search service.
|
|
37302
37310
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
37303
|
-
* @version
|
|
37311
|
+
* @version 123.0.0
|
|
37304
37312
|
*/
|
|
37305
37313
|
|
|
37306
37314
|
/**
|
|
@@ -37835,7 +37843,7 @@ class SpeechTextAnalyticsApi {
|
|
|
37835
37843
|
/**
|
|
37836
37844
|
* SpeechTextAnalytics service.
|
|
37837
37845
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
37838
|
-
* @version
|
|
37846
|
+
* @version 123.0.0
|
|
37839
37847
|
*/
|
|
37840
37848
|
|
|
37841
37849
|
/**
|
|
@@ -38594,7 +38602,7 @@ class StationsApi {
|
|
|
38594
38602
|
/**
|
|
38595
38603
|
* Stations service.
|
|
38596
38604
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
38597
|
-
* @version
|
|
38605
|
+
* @version 123.0.0
|
|
38598
38606
|
*/
|
|
38599
38607
|
|
|
38600
38608
|
/**
|
|
@@ -38741,7 +38749,7 @@ class SuggestApi {
|
|
|
38741
38749
|
/**
|
|
38742
38750
|
* Suggest service.
|
|
38743
38751
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
38744
|
-
* @version
|
|
38752
|
+
* @version 123.0.0
|
|
38745
38753
|
*/
|
|
38746
38754
|
|
|
38747
38755
|
/**
|
|
@@ -38880,7 +38888,7 @@ class TelephonyApi {
|
|
|
38880
38888
|
/**
|
|
38881
38889
|
* Telephony service.
|
|
38882
38890
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
38883
|
-
* @version
|
|
38891
|
+
* @version 123.0.0
|
|
38884
38892
|
*/
|
|
38885
38893
|
|
|
38886
38894
|
/**
|
|
@@ -38988,7 +38996,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
38988
38996
|
/**
|
|
38989
38997
|
* TelephonyProvidersEdge service.
|
|
38990
38998
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
38991
|
-
* @version
|
|
38999
|
+
* @version 123.0.0
|
|
38992
39000
|
*/
|
|
38993
39001
|
|
|
38994
39002
|
/**
|
|
@@ -42601,7 +42609,7 @@ class TextbotsApi {
|
|
|
42601
42609
|
/**
|
|
42602
42610
|
* Textbots service.
|
|
42603
42611
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
42604
|
-
* @version
|
|
42612
|
+
* @version 123.0.0
|
|
42605
42613
|
*/
|
|
42606
42614
|
|
|
42607
42615
|
/**
|
|
@@ -42702,7 +42710,7 @@ class TokensApi {
|
|
|
42702
42710
|
/**
|
|
42703
42711
|
* Tokens service.
|
|
42704
42712
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
42705
|
-
* @version
|
|
42713
|
+
* @version 123.0.0
|
|
42706
42714
|
*/
|
|
42707
42715
|
|
|
42708
42716
|
/**
|
|
@@ -42808,7 +42816,7 @@ class UploadsApi {
|
|
|
42808
42816
|
/**
|
|
42809
42817
|
* Uploads service.
|
|
42810
42818
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
42811
|
-
* @version
|
|
42819
|
+
* @version 123.0.0
|
|
42812
42820
|
*/
|
|
42813
42821
|
|
|
42814
42822
|
/**
|
|
@@ -42984,7 +42992,7 @@ class UsageApi {
|
|
|
42984
42992
|
/**
|
|
42985
42993
|
* Usage service.
|
|
42986
42994
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
42987
|
-
* @version
|
|
42995
|
+
* @version 123.0.0
|
|
42988
42996
|
*/
|
|
42989
42997
|
|
|
42990
42998
|
/**
|
|
@@ -43055,7 +43063,7 @@ class UserRecordingsApi {
|
|
|
43055
43063
|
/**
|
|
43056
43064
|
* UserRecordings service.
|
|
43057
43065
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
43058
|
-
* @version
|
|
43066
|
+
* @version 123.0.0
|
|
43059
43067
|
*/
|
|
43060
43068
|
|
|
43061
43069
|
/**
|
|
@@ -43239,7 +43247,7 @@ class UsersApi {
|
|
|
43239
43247
|
/**
|
|
43240
43248
|
* Users service.
|
|
43241
43249
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
43242
|
-
* @version
|
|
43250
|
+
* @version 123.0.0
|
|
43243
43251
|
*/
|
|
43244
43252
|
|
|
43245
43253
|
/**
|
|
@@ -45541,7 +45549,7 @@ class UtilitiesApi {
|
|
|
45541
45549
|
/**
|
|
45542
45550
|
* Utilities service.
|
|
45543
45551
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
45544
|
-
* @version
|
|
45552
|
+
* @version 123.0.0
|
|
45545
45553
|
*/
|
|
45546
45554
|
|
|
45547
45555
|
/**
|
|
@@ -45652,7 +45660,7 @@ class VoicemailApi {
|
|
|
45652
45660
|
/**
|
|
45653
45661
|
* Voicemail service.
|
|
45654
45662
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
45655
|
-
* @version
|
|
45663
|
+
* @version 123.0.0
|
|
45656
45664
|
*/
|
|
45657
45665
|
|
|
45658
45666
|
/**
|
|
@@ -46289,7 +46297,7 @@ class WebChatApi {
|
|
|
46289
46297
|
/**
|
|
46290
46298
|
* WebChat service.
|
|
46291
46299
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
46292
|
-
* @version
|
|
46300
|
+
* @version 123.0.0
|
|
46293
46301
|
*/
|
|
46294
46302
|
|
|
46295
46303
|
/**
|
|
@@ -46833,7 +46841,7 @@ class WebDeploymentsApi {
|
|
|
46833
46841
|
/**
|
|
46834
46842
|
* WebDeployments service.
|
|
46835
46843
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
46836
|
-
* @version
|
|
46844
|
+
* @version 123.0.0
|
|
46837
46845
|
*/
|
|
46838
46846
|
|
|
46839
46847
|
/**
|
|
@@ -47184,11 +47192,57 @@ class WebDeploymentsApi {
|
|
|
47184
47192
|
|
|
47185
47193
|
}
|
|
47186
47194
|
|
|
47195
|
+
class WebMessagingApi {
|
|
47196
|
+
/**
|
|
47197
|
+
* WebMessaging service.
|
|
47198
|
+
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
47199
|
+
* @version 123.0.0
|
|
47200
|
+
*/
|
|
47201
|
+
|
|
47202
|
+
/**
|
|
47203
|
+
* Constructs a new WebMessagingApi.
|
|
47204
|
+
* @alias module:purecloud-platform-client-v2/api/WebMessagingApi
|
|
47205
|
+
* @class
|
|
47206
|
+
* @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
|
|
47207
|
+
* default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
|
|
47208
|
+
*/
|
|
47209
|
+
constructor(apiClient) {
|
|
47210
|
+
this.apiClient = apiClient || ApiClient.instance;
|
|
47211
|
+
}
|
|
47212
|
+
|
|
47213
|
+
|
|
47214
|
+
/**
|
|
47215
|
+
* Get the messages for a web messaging session.
|
|
47216
|
+
*
|
|
47217
|
+
* @param {Object} opts Optional parameters
|
|
47218
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
47219
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
47220
|
+
*/
|
|
47221
|
+
getWebmessagingMessages(opts) {
|
|
47222
|
+
opts = opts || {};
|
|
47223
|
+
|
|
47224
|
+
|
|
47225
|
+
return this.apiClient.callApi(
|
|
47226
|
+
'/api/v2/webmessaging/messages',
|
|
47227
|
+
'GET',
|
|
47228
|
+
{ },
|
|
47229
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
47230
|
+
{ },
|
|
47231
|
+
{ },
|
|
47232
|
+
null,
|
|
47233
|
+
['PureCloud OAuth'],
|
|
47234
|
+
['application/json'],
|
|
47235
|
+
['application/json']
|
|
47236
|
+
);
|
|
47237
|
+
}
|
|
47238
|
+
|
|
47239
|
+
}
|
|
47240
|
+
|
|
47187
47241
|
class WidgetsApi {
|
|
47188
47242
|
/**
|
|
47189
47243
|
* Widgets service.
|
|
47190
47244
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
47191
|
-
* @version
|
|
47245
|
+
* @version 123.0.0
|
|
47192
47246
|
*/
|
|
47193
47247
|
|
|
47194
47248
|
/**
|
|
@@ -47334,7 +47388,7 @@ class WorkforceManagementApi {
|
|
|
47334
47388
|
/**
|
|
47335
47389
|
* WorkforceManagement service.
|
|
47336
47390
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
47337
|
-
* @version
|
|
47391
|
+
* @version 123.0.0
|
|
47338
47392
|
*/
|
|
47339
47393
|
|
|
47340
47394
|
/**
|
|
@@ -50893,7 +50947,7 @@ class WorkforceManagementApi {
|
|
|
50893
50947
|
* </pre>
|
|
50894
50948
|
* </p>
|
|
50895
50949
|
* @module purecloud-platform-client-v2/index
|
|
50896
|
-
* @version
|
|
50950
|
+
* @version 123.0.0
|
|
50897
50951
|
*/
|
|
50898
50952
|
class platformClient {
|
|
50899
50953
|
constructor() {
|
|
@@ -51197,6 +51251,11 @@ class platformClient {
|
|
|
51197
51251
|
* @property {module:purecloud-platform-client-v2/api/WebDeploymentsApi}
|
|
51198
51252
|
*/
|
|
51199
51253
|
this.WebDeploymentsApi = WebDeploymentsApi;
|
|
51254
|
+
/**
|
|
51255
|
+
* The WebMessagingApi service constructor.
|
|
51256
|
+
* @property {module:purecloud-platform-client-v2/api/WebMessagingApi}
|
|
51257
|
+
*/
|
|
51258
|
+
this.WebMessagingApi = WebMessagingApi;
|
|
51200
51259
|
/**
|
|
51201
51260
|
* The WidgetsApi service constructor.
|
|
51202
51261
|
* @property {module:purecloud-platform-client-v2/api/WidgetsApi}
|