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
|
@@ -384,7 +384,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
384
384
|
|
|
385
385
|
/**
|
|
386
386
|
* @module purecloud-platform-client-v2/ApiClient
|
|
387
|
-
* @version
|
|
387
|
+
* @version 123.0.0
|
|
388
388
|
*/
|
|
389
389
|
class ApiClient {
|
|
390
390
|
/**
|
|
@@ -1331,7 +1331,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
1331
1331
|
|
|
1332
1332
|
// set header parameters
|
|
1333
1333
|
request.set(that.defaultHeaders).set(that.normalizeParams(headerParams));
|
|
1334
|
-
//request.set({ 'purecloud-sdk': '
|
|
1334
|
+
//request.set({ 'purecloud-sdk': '123.0.0' });
|
|
1335
1335
|
|
|
1336
1336
|
// set request timeout
|
|
1337
1337
|
request.timeout(that.timeout);
|
|
@@ -1431,7 +1431,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
1431
1431
|
/**
|
|
1432
1432
|
* Alerting service.
|
|
1433
1433
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
1434
|
-
* @version
|
|
1434
|
+
* @version 123.0.0
|
|
1435
1435
|
*/
|
|
1436
1436
|
|
|
1437
1437
|
/**
|
|
@@ -1745,7 +1745,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
1745
1745
|
/**
|
|
1746
1746
|
* Analytics service.
|
|
1747
1747
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
1748
|
-
* @version
|
|
1748
|
+
* @version 123.0.0
|
|
1749
1749
|
*/
|
|
1750
1750
|
|
|
1751
1751
|
/**
|
|
@@ -2907,7 +2907,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
2907
2907
|
/**
|
|
2908
2908
|
* Architect service.
|
|
2909
2909
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
2910
|
-
* @version
|
|
2910
|
+
* @version 123.0.0
|
|
2911
2911
|
*/
|
|
2912
2912
|
|
|
2913
2913
|
/**
|
|
@@ -5775,17 +5775,21 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
5775
5775
|
* Updates a specific datatable by id
|
|
5776
5776
|
* 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.
|
|
5777
5777
|
* @param {String} datatableId id of datatable
|
|
5778
|
+
* @param {Object} body datatable json-schema
|
|
5778
5779
|
* @param {Object} opts Optional parameters
|
|
5779
5780
|
* @param {Object} opts.expand Expand instructions for the result
|
|
5780
|
-
* @param {Object} opts.body datatable json-schema
|
|
5781
5781
|
*/
|
|
5782
|
-
putFlowsDatatable(datatableId, opts) {
|
|
5782
|
+
putFlowsDatatable(datatableId, body, opts) {
|
|
5783
5783
|
opts = opts || {};
|
|
5784
5784
|
|
|
5785
5785
|
// verify the required parameter 'datatableId' is set
|
|
5786
5786
|
if (datatableId === undefined || datatableId === null) {
|
|
5787
5787
|
throw 'Missing the required parameter "datatableId" when calling putFlowsDatatable';
|
|
5788
5788
|
}
|
|
5789
|
+
// verify the required parameter 'body' is set
|
|
5790
|
+
if (body === undefined || body === null) {
|
|
5791
|
+
throw 'Missing the required parameter "body" when calling putFlowsDatatable';
|
|
5792
|
+
}
|
|
5789
5793
|
|
|
5790
5794
|
return this.apiClient.callApi(
|
|
5791
5795
|
'/api/v2/flows/datatables/{datatableId}',
|
|
@@ -5794,7 +5798,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
5794
5798
|
{ 'expand': opts['expand'] },
|
|
5795
5799
|
{ },
|
|
5796
5800
|
{ },
|
|
5797
|
-
|
|
5801
|
+
body,
|
|
5798
5802
|
['PureCloud OAuth'],
|
|
5799
5803
|
['application/json'],
|
|
5800
5804
|
['application/json']
|
|
@@ -5899,7 +5903,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
5899
5903
|
/**
|
|
5900
5904
|
* Audit service.
|
|
5901
5905
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
5902
|
-
* @version
|
|
5906
|
+
* @version 123.0.0
|
|
5903
5907
|
*/
|
|
5904
5908
|
|
|
5905
5909
|
/**
|
|
@@ -6070,7 +6074,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
6070
6074
|
/**
|
|
6071
6075
|
* Authorization service.
|
|
6072
6076
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
6073
|
-
* @version
|
|
6077
|
+
* @version 123.0.0
|
|
6074
6078
|
*/
|
|
6075
6079
|
|
|
6076
6080
|
/**
|
|
@@ -7253,7 +7257,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
7253
7257
|
/**
|
|
7254
7258
|
* Billing service.
|
|
7255
7259
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
7256
|
-
* @version
|
|
7260
|
+
* @version 123.0.0
|
|
7257
7261
|
*/
|
|
7258
7262
|
|
|
7259
7263
|
/**
|
|
@@ -7333,7 +7337,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
7333
7337
|
/**
|
|
7334
7338
|
* Chat service.
|
|
7335
7339
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
7336
|
-
* @version
|
|
7340
|
+
* @version 123.0.0
|
|
7337
7341
|
*/
|
|
7338
7342
|
|
|
7339
7343
|
/**
|
|
@@ -7424,7 +7428,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
7424
7428
|
/**
|
|
7425
7429
|
* Coaching service.
|
|
7426
7430
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
7427
|
-
* @version
|
|
7431
|
+
* @version 123.0.0
|
|
7428
7432
|
*/
|
|
7429
7433
|
|
|
7430
7434
|
/**
|
|
@@ -7999,7 +8003,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
7999
8003
|
/**
|
|
8000
8004
|
* ContentManagement service.
|
|
8001
8005
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
8002
|
-
* @version
|
|
8006
|
+
* @version 123.0.0
|
|
8003
8007
|
*/
|
|
8004
8008
|
|
|
8005
8009
|
/**
|
|
@@ -9139,7 +9143,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
9139
9143
|
/**
|
|
9140
9144
|
* Conversations service.
|
|
9141
9145
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
9142
|
-
* @version
|
|
9146
|
+
* @version 123.0.0
|
|
9143
9147
|
*/
|
|
9144
9148
|
|
|
9145
9149
|
/**
|
|
@@ -12208,7 +12212,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
12208
12212
|
}
|
|
12209
12213
|
|
|
12210
12214
|
/**
|
|
12211
|
-
* Attempts to manually assign a specified conversation to a specified
|
|
12215
|
+
* Attempts to manually assign a specified conversation to a specified user. Ignores bullseye ring, PAR score, skills, and languages.
|
|
12212
12216
|
*
|
|
12213
12217
|
* @param {String} conversationId conversation ID
|
|
12214
12218
|
* @param {Object} body Targeted user
|
|
@@ -13528,7 +13532,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
13528
13532
|
/**
|
|
13529
13533
|
* DataExtensions service.
|
|
13530
13534
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
13531
|
-
* @version
|
|
13535
|
+
* @version 123.0.0
|
|
13532
13536
|
*/
|
|
13533
13537
|
|
|
13534
13538
|
/**
|
|
@@ -13614,7 +13618,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
13614
13618
|
/**
|
|
13615
13619
|
* ExternalContacts service.
|
|
13616
13620
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
13617
|
-
* @version
|
|
13621
|
+
* @version 123.0.0
|
|
13618
13622
|
*/
|
|
13619
13623
|
|
|
13620
13624
|
/**
|
|
@@ -15357,7 +15361,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
15357
15361
|
/**
|
|
15358
15362
|
* Fax service.
|
|
15359
15363
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
15360
|
-
* @version
|
|
15364
|
+
* @version 123.0.0
|
|
15361
15365
|
*/
|
|
15362
15366
|
|
|
15363
15367
|
/**
|
|
@@ -15528,7 +15532,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
15528
15532
|
/**
|
|
15529
15533
|
* Flows service.
|
|
15530
15534
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
15531
|
-
* @version
|
|
15535
|
+
* @version 123.0.0
|
|
15532
15536
|
*/
|
|
15533
15537
|
|
|
15534
15538
|
/**
|
|
@@ -15599,7 +15603,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
15599
15603
|
/**
|
|
15600
15604
|
* Gamification service.
|
|
15601
15605
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
15602
|
-
* @version
|
|
15606
|
+
* @version 123.0.0
|
|
15603
15607
|
*/
|
|
15604
15608
|
|
|
15605
15609
|
/**
|
|
@@ -16905,7 +16909,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
16905
16909
|
/**
|
|
16906
16910
|
* GeneralDataProtectionRegulation service.
|
|
16907
16911
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
16908
|
-
* @version
|
|
16912
|
+
* @version 123.0.0
|
|
16909
16913
|
*/
|
|
16910
16914
|
|
|
16911
16915
|
/**
|
|
@@ -17035,7 +17039,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
17035
17039
|
/**
|
|
17036
17040
|
* Geolocation service.
|
|
17037
17041
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
17038
|
-
* @version
|
|
17042
|
+
* @version 123.0.0
|
|
17039
17043
|
*/
|
|
17040
17044
|
|
|
17041
17045
|
/**
|
|
@@ -17166,7 +17170,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
17166
17170
|
/**
|
|
17167
17171
|
* Greetings service.
|
|
17168
17172
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
17169
|
-
* @version
|
|
17173
|
+
* @version 123.0.0
|
|
17170
17174
|
*/
|
|
17171
17175
|
|
|
17172
17176
|
/**
|
|
@@ -17621,7 +17625,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
17621
17625
|
/**
|
|
17622
17626
|
* Groups service.
|
|
17623
17627
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
17624
|
-
* @version
|
|
17628
|
+
* @version 123.0.0
|
|
17625
17629
|
*/
|
|
17626
17630
|
|
|
17627
17631
|
/**
|
|
@@ -18026,7 +18030,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
18026
18030
|
/**
|
|
18027
18031
|
* IdentityProvider service.
|
|
18028
18032
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
18029
|
-
* @version
|
|
18033
|
+
* @version 123.0.0
|
|
18030
18034
|
*/
|
|
18031
18035
|
|
|
18032
18036
|
/**
|
|
@@ -18782,7 +18786,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
18782
18786
|
/**
|
|
18783
18787
|
* Integrations service.
|
|
18784
18788
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
18785
|
-
* @version
|
|
18789
|
+
* @version 123.0.0
|
|
18786
18790
|
*/
|
|
18787
18791
|
|
|
18788
18792
|
/**
|
|
@@ -20428,7 +20432,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
20428
20432
|
/**
|
|
20429
20433
|
* Journey service.
|
|
20430
20434
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
20431
|
-
* @version
|
|
20435
|
+
* @version 123.0.0
|
|
20432
20436
|
*/
|
|
20433
20437
|
|
|
20434
20438
|
/**
|
|
@@ -21139,7 +21143,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
21139
21143
|
/**
|
|
21140
21144
|
* Knowledge service.
|
|
21141
21145
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
21142
|
-
* @version
|
|
21146
|
+
* @version 123.0.0
|
|
21143
21147
|
*/
|
|
21144
21148
|
|
|
21145
21149
|
/**
|
|
@@ -21429,6 +21433,8 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
21429
21433
|
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
21430
21434
|
* @param {String} opts.categories Filter by categories ids, comma separated values expected.
|
|
21431
21435
|
* @param {String} opts.title Filter by document title.
|
|
21436
|
+
* @param {Object} opts.sortBy Sort by.
|
|
21437
|
+
* @param {Object} opts.sortOrder Sort Order.
|
|
21432
21438
|
* @param {Array.<String>} opts.documentIds Comma-separated list of document identifiers to fetch by.
|
|
21433
21439
|
*/
|
|
21434
21440
|
getKnowledgeKnowledgebaseLanguageDocuments(knowledgeBaseId, languageCode, opts) {
|
|
@@ -21447,7 +21453,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
21447
21453
|
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents',
|
|
21448
21454
|
'GET',
|
|
21449
21455
|
{ 'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
|
|
21450
|
-
{ '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') },
|
|
21456
|
+
{ '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') },
|
|
21451
21457
|
{ },
|
|
21452
21458
|
{ },
|
|
21453
21459
|
null,
|
|
@@ -21576,6 +21582,8 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
21576
21582
|
* @param {String} opts.name Filter by Name.
|
|
21577
21583
|
* @param {Object} opts.coreLanguage Filter by core language.
|
|
21578
21584
|
* @param {Boolean} opts.published Filter by published status.
|
|
21585
|
+
* @param {Object} opts.sortBy Sort by.
|
|
21586
|
+
* @param {Object} opts.sortOrder Sort Order.
|
|
21579
21587
|
*/
|
|
21580
21588
|
getKnowledgeKnowledgebases(opts) {
|
|
21581
21589
|
opts = opts || {};
|
|
@@ -21585,7 +21593,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
21585
21593
|
'/api/v2/knowledge/knowledgebases',
|
|
21586
21594
|
'GET',
|
|
21587
21595
|
{ },
|
|
21588
|
-
{ 'before': opts['before'],'after': opts['after'],'limit': opts['limit'],'pageSize': opts['pageSize'],'name': opts['name'],'coreLanguage': opts['coreLanguage'],'published': opts['published'] },
|
|
21596
|
+
{ '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'] },
|
|
21589
21597
|
{ },
|
|
21590
21598
|
{ },
|
|
21591
21599
|
null,
|
|
@@ -22035,7 +22043,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
22035
22043
|
/**
|
|
22036
22044
|
* LanguageUnderstanding service.
|
|
22037
22045
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
22038
|
-
* @version
|
|
22046
|
+
* @version 123.0.0
|
|
22039
22047
|
*/
|
|
22040
22048
|
|
|
22041
22049
|
/**
|
|
@@ -22939,7 +22947,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
22939
22947
|
/**
|
|
22940
22948
|
* Languages service.
|
|
22941
22949
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
22942
|
-
* @version
|
|
22950
|
+
* @version 123.0.0
|
|
22943
22951
|
*/
|
|
22944
22952
|
|
|
22945
22953
|
/**
|
|
@@ -23207,7 +23215,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
23207
23215
|
/**
|
|
23208
23216
|
* Learning service.
|
|
23209
23217
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
23210
|
-
* @version
|
|
23218
|
+
* @version 123.0.0
|
|
23211
23219
|
*/
|
|
23212
23220
|
|
|
23213
23221
|
/**
|
|
@@ -23798,7 +23806,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
23798
23806
|
/**
|
|
23799
23807
|
* License service.
|
|
23800
23808
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
23801
|
-
* @version
|
|
23809
|
+
* @version 123.0.0
|
|
23802
23810
|
*/
|
|
23803
23811
|
|
|
23804
23812
|
/**
|
|
@@ -24036,7 +24044,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
24036
24044
|
/**
|
|
24037
24045
|
* Locations service.
|
|
24038
24046
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
24039
|
-
* @version
|
|
24047
|
+
* @version 123.0.0
|
|
24040
24048
|
*/
|
|
24041
24049
|
|
|
24042
24050
|
/**
|
|
@@ -24272,7 +24280,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
24272
24280
|
/**
|
|
24273
24281
|
* MobileDevices service.
|
|
24274
24282
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
24275
|
-
* @version
|
|
24283
|
+
* @version 123.0.0
|
|
24276
24284
|
*/
|
|
24277
24285
|
|
|
24278
24286
|
/**
|
|
@@ -24423,7 +24431,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
24423
24431
|
/**
|
|
24424
24432
|
* Notifications service.
|
|
24425
24433
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
24426
|
-
* @version
|
|
24434
|
+
* @version 123.0.0
|
|
24427
24435
|
*/
|
|
24428
24436
|
|
|
24429
24437
|
/**
|
|
@@ -24648,7 +24656,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
24648
24656
|
/**
|
|
24649
24657
|
* OAuth service.
|
|
24650
24658
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
24651
|
-
* @version
|
|
24659
|
+
* @version 123.0.0
|
|
24652
24660
|
*/
|
|
24653
24661
|
|
|
24654
24662
|
/**
|
|
@@ -25006,7 +25014,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
25006
25014
|
/**
|
|
25007
25015
|
* Objects service.
|
|
25008
25016
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
25009
|
-
* @version
|
|
25017
|
+
* @version 123.0.0
|
|
25010
25018
|
*/
|
|
25011
25019
|
|
|
25012
25020
|
/**
|
|
@@ -25277,7 +25285,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
25277
25285
|
/**
|
|
25278
25286
|
* Organization service.
|
|
25279
25287
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
25280
|
-
* @version
|
|
25288
|
+
* @version 123.0.0
|
|
25281
25289
|
*/
|
|
25282
25290
|
|
|
25283
25291
|
/**
|
|
@@ -25680,7 +25688,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
25680
25688
|
/**
|
|
25681
25689
|
* OrganizationAuthorization service.
|
|
25682
25690
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
25683
|
-
* @version
|
|
25691
|
+
* @version 123.0.0
|
|
25684
25692
|
*/
|
|
25685
25693
|
|
|
25686
25694
|
/**
|
|
@@ -26390,7 +26398,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
26390
26398
|
/**
|
|
26391
26399
|
* Outbound service.
|
|
26392
26400
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
26393
|
-
* @version
|
|
26401
|
+
* @version 123.0.0
|
|
26394
26402
|
*/
|
|
26395
26403
|
|
|
26396
26404
|
/**
|
|
@@ -29416,7 +29424,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
29416
29424
|
/**
|
|
29417
29425
|
* Presence service.
|
|
29418
29426
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
29419
|
-
* @version
|
|
29427
|
+
* @version 123.0.0
|
|
29420
29428
|
*/
|
|
29421
29429
|
|
|
29422
29430
|
/**
|
|
@@ -29788,7 +29796,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
29788
29796
|
/**
|
|
29789
29797
|
* Quality service.
|
|
29790
29798
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
29791
|
-
* @version
|
|
29799
|
+
* @version 123.0.0
|
|
29792
29800
|
*/
|
|
29793
29801
|
|
|
29794
29802
|
/**
|
|
@@ -31316,7 +31324,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
31316
31324
|
/**
|
|
31317
31325
|
* Recording service.
|
|
31318
31326
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
31319
|
-
* @version
|
|
31327
|
+
* @version 123.0.0
|
|
31320
31328
|
*/
|
|
31321
31329
|
|
|
31322
31330
|
/**
|
|
@@ -32835,7 +32843,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
32835
32843
|
/**
|
|
32836
32844
|
* ResponseManagement service.
|
|
32837
32845
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
32838
|
-
* @version
|
|
32846
|
+
* @version 123.0.0
|
|
32839
32847
|
*/
|
|
32840
32848
|
|
|
32841
32849
|
/**
|
|
@@ -33160,7 +33168,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
33160
33168
|
/**
|
|
33161
33169
|
* Routing service.
|
|
33162
33170
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
33163
|
-
* @version
|
|
33171
|
+
* @version 123.0.0
|
|
33164
33172
|
*/
|
|
33165
33173
|
|
|
33166
33174
|
/**
|
|
@@ -36068,7 +36076,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
36068
36076
|
/**
|
|
36069
36077
|
* SCIM service.
|
|
36070
36078
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
36071
|
-
* @version
|
|
36079
|
+
* @version 123.0.0
|
|
36072
36080
|
*/
|
|
36073
36081
|
|
|
36074
36082
|
/**
|
|
@@ -36945,7 +36953,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
36945
36953
|
/**
|
|
36946
36954
|
* Scripts service.
|
|
36947
36955
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
36948
|
-
* @version
|
|
36956
|
+
* @version 123.0.0
|
|
36949
36957
|
*/
|
|
36950
36958
|
|
|
36951
36959
|
/**
|
|
@@ -37298,7 +37306,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
37298
37306
|
/**
|
|
37299
37307
|
* Search service.
|
|
37300
37308
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
37301
|
-
* @version
|
|
37309
|
+
* @version 123.0.0
|
|
37302
37310
|
*/
|
|
37303
37311
|
|
|
37304
37312
|
/**
|
|
@@ -37833,7 +37841,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
37833
37841
|
/**
|
|
37834
37842
|
* SpeechTextAnalytics service.
|
|
37835
37843
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
37836
|
-
* @version
|
|
37844
|
+
* @version 123.0.0
|
|
37837
37845
|
*/
|
|
37838
37846
|
|
|
37839
37847
|
/**
|
|
@@ -38592,7 +38600,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
38592
38600
|
/**
|
|
38593
38601
|
* Stations service.
|
|
38594
38602
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
38595
|
-
* @version
|
|
38603
|
+
* @version 123.0.0
|
|
38596
38604
|
*/
|
|
38597
38605
|
|
|
38598
38606
|
/**
|
|
@@ -38739,7 +38747,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
38739
38747
|
/**
|
|
38740
38748
|
* Suggest service.
|
|
38741
38749
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
38742
|
-
* @version
|
|
38750
|
+
* @version 123.0.0
|
|
38743
38751
|
*/
|
|
38744
38752
|
|
|
38745
38753
|
/**
|
|
@@ -38878,7 +38886,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
38878
38886
|
/**
|
|
38879
38887
|
* Telephony service.
|
|
38880
38888
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
38881
|
-
* @version
|
|
38889
|
+
* @version 123.0.0
|
|
38882
38890
|
*/
|
|
38883
38891
|
|
|
38884
38892
|
/**
|
|
@@ -38986,7 +38994,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
38986
38994
|
/**
|
|
38987
38995
|
* TelephonyProvidersEdge service.
|
|
38988
38996
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
38989
|
-
* @version
|
|
38997
|
+
* @version 123.0.0
|
|
38990
38998
|
*/
|
|
38991
38999
|
|
|
38992
39000
|
/**
|
|
@@ -42599,7 +42607,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
42599
42607
|
/**
|
|
42600
42608
|
* Textbots service.
|
|
42601
42609
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
42602
|
-
* @version
|
|
42610
|
+
* @version 123.0.0
|
|
42603
42611
|
*/
|
|
42604
42612
|
|
|
42605
42613
|
/**
|
|
@@ -42700,7 +42708,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
42700
42708
|
/**
|
|
42701
42709
|
* Tokens service.
|
|
42702
42710
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
42703
|
-
* @version
|
|
42711
|
+
* @version 123.0.0
|
|
42704
42712
|
*/
|
|
42705
42713
|
|
|
42706
42714
|
/**
|
|
@@ -42806,7 +42814,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
42806
42814
|
/**
|
|
42807
42815
|
* Uploads service.
|
|
42808
42816
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
42809
|
-
* @version
|
|
42817
|
+
* @version 123.0.0
|
|
42810
42818
|
*/
|
|
42811
42819
|
|
|
42812
42820
|
/**
|
|
@@ -42982,7 +42990,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
42982
42990
|
/**
|
|
42983
42991
|
* Usage service.
|
|
42984
42992
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
42985
|
-
* @version
|
|
42993
|
+
* @version 123.0.0
|
|
42986
42994
|
*/
|
|
42987
42995
|
|
|
42988
42996
|
/**
|
|
@@ -43053,7 +43061,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
43053
43061
|
/**
|
|
43054
43062
|
* UserRecordings service.
|
|
43055
43063
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
43056
|
-
* @version
|
|
43064
|
+
* @version 123.0.0
|
|
43057
43065
|
*/
|
|
43058
43066
|
|
|
43059
43067
|
/**
|
|
@@ -43237,7 +43245,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
43237
43245
|
/**
|
|
43238
43246
|
* Users service.
|
|
43239
43247
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
43240
|
-
* @version
|
|
43248
|
+
* @version 123.0.0
|
|
43241
43249
|
*/
|
|
43242
43250
|
|
|
43243
43251
|
/**
|
|
@@ -45539,7 +45547,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
45539
45547
|
/**
|
|
45540
45548
|
* Utilities service.
|
|
45541
45549
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
45542
|
-
* @version
|
|
45550
|
+
* @version 123.0.0
|
|
45543
45551
|
*/
|
|
45544
45552
|
|
|
45545
45553
|
/**
|
|
@@ -45650,7 +45658,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
45650
45658
|
/**
|
|
45651
45659
|
* Voicemail service.
|
|
45652
45660
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
45653
|
-
* @version
|
|
45661
|
+
* @version 123.0.0
|
|
45654
45662
|
*/
|
|
45655
45663
|
|
|
45656
45664
|
/**
|
|
@@ -46287,7 +46295,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
46287
46295
|
/**
|
|
46288
46296
|
* WebChat service.
|
|
46289
46297
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
46290
|
-
* @version
|
|
46298
|
+
* @version 123.0.0
|
|
46291
46299
|
*/
|
|
46292
46300
|
|
|
46293
46301
|
/**
|
|
@@ -46831,7 +46839,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
46831
46839
|
/**
|
|
46832
46840
|
* WebDeployments service.
|
|
46833
46841
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
46834
|
-
* @version
|
|
46842
|
+
* @version 123.0.0
|
|
46835
46843
|
*/
|
|
46836
46844
|
|
|
46837
46845
|
/**
|
|
@@ -47182,11 +47190,57 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
47182
47190
|
|
|
47183
47191
|
}
|
|
47184
47192
|
|
|
47193
|
+
class WebMessagingApi {
|
|
47194
|
+
/**
|
|
47195
|
+
* WebMessaging service.
|
|
47196
|
+
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
47197
|
+
* @version 123.0.0
|
|
47198
|
+
*/
|
|
47199
|
+
|
|
47200
|
+
/**
|
|
47201
|
+
* Constructs a new WebMessagingApi.
|
|
47202
|
+
* @alias module:purecloud-platform-client-v2/api/WebMessagingApi
|
|
47203
|
+
* @class
|
|
47204
|
+
* @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
|
|
47205
|
+
* default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
|
|
47206
|
+
*/
|
|
47207
|
+
constructor(apiClient) {
|
|
47208
|
+
this.apiClient = apiClient || ApiClient.instance;
|
|
47209
|
+
}
|
|
47210
|
+
|
|
47211
|
+
|
|
47212
|
+
/**
|
|
47213
|
+
* Get the messages for a web messaging session.
|
|
47214
|
+
*
|
|
47215
|
+
* @param {Object} opts Optional parameters
|
|
47216
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
47217
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
47218
|
+
*/
|
|
47219
|
+
getWebmessagingMessages(opts) {
|
|
47220
|
+
opts = opts || {};
|
|
47221
|
+
|
|
47222
|
+
|
|
47223
|
+
return this.apiClient.callApi(
|
|
47224
|
+
'/api/v2/webmessaging/messages',
|
|
47225
|
+
'GET',
|
|
47226
|
+
{ },
|
|
47227
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
47228
|
+
{ },
|
|
47229
|
+
{ },
|
|
47230
|
+
null,
|
|
47231
|
+
['PureCloud OAuth'],
|
|
47232
|
+
['application/json'],
|
|
47233
|
+
['application/json']
|
|
47234
|
+
);
|
|
47235
|
+
}
|
|
47236
|
+
|
|
47237
|
+
}
|
|
47238
|
+
|
|
47185
47239
|
class WidgetsApi {
|
|
47186
47240
|
/**
|
|
47187
47241
|
* Widgets service.
|
|
47188
47242
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
47189
|
-
* @version
|
|
47243
|
+
* @version 123.0.0
|
|
47190
47244
|
*/
|
|
47191
47245
|
|
|
47192
47246
|
/**
|
|
@@ -47332,7 +47386,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
47332
47386
|
/**
|
|
47333
47387
|
* WorkforceManagement service.
|
|
47334
47388
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
47335
|
-
* @version
|
|
47389
|
+
* @version 123.0.0
|
|
47336
47390
|
*/
|
|
47337
47391
|
|
|
47338
47392
|
/**
|
|
@@ -50891,7 +50945,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
50891
50945
|
* </pre>
|
|
50892
50946
|
* </p>
|
|
50893
50947
|
* @module purecloud-platform-client-v2/index
|
|
50894
|
-
* @version
|
|
50948
|
+
* @version 123.0.0
|
|
50895
50949
|
*/
|
|
50896
50950
|
class platformClient {
|
|
50897
50951
|
constructor() {
|
|
@@ -51195,6 +51249,11 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
51195
51249
|
* @property {module:purecloud-platform-client-v2/api/WebDeploymentsApi}
|
|
51196
51250
|
*/
|
|
51197
51251
|
this.WebDeploymentsApi = WebDeploymentsApi;
|
|
51252
|
+
/**
|
|
51253
|
+
* The WebMessagingApi service constructor.
|
|
51254
|
+
* @property {module:purecloud-platform-client-v2/api/WebMessagingApi}
|
|
51255
|
+
*/
|
|
51256
|
+
this.WebMessagingApi = WebMessagingApi;
|
|
51198
51257
|
/**
|
|
51199
51258
|
* The WidgetsApi service constructor.
|
|
51200
51259
|
* @property {module:purecloud-platform-client-v2/api/WidgetsApi}
|