purecloud-platform-client-v2 147.0.0 → 148.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.
Files changed (75) hide show
  1. package/README.md +2 -2
  2. package/dist/node/purecloud-platform-client-v2.js +387 -194
  3. package/dist/web-amd/purecloud-platform-client-v2.js +387 -194
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +387 -194
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +388 -195
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +432 -302
  9. package/package.json +1 -1
  10. package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
  11. package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
  12. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
  13. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
  14. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  15. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
  16. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  17. package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  19. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +1 -1
  21. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  22. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -51
  26. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/GroupsApi.js +3 -2
  30. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -78
  32. package/src/purecloud-platform-client-v2/api/JourneyApi.js +76 -1
  33. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +243 -0
  49. package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +3 -2
  67. package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  74. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/index.js +7 -1
@@ -2279,7 +2279,7 @@ class Configuration {
2279
2279
 
2280
2280
  /**
2281
2281
  * @module purecloud-platform-client-v2/ApiClient
2282
- * @version 147.0.0
2282
+ * @version 148.0.0
2283
2283
  */
2284
2284
  class ApiClient {
2285
2285
  /**
@@ -3351,7 +3351,7 @@ class AlertingApi {
3351
3351
  /**
3352
3352
  * Alerting service.
3353
3353
  * @module purecloud-platform-client-v2/api/AlertingApi
3354
- * @version 147.0.0
3354
+ * @version 148.0.0
3355
3355
  */
3356
3356
 
3357
3357
  /**
@@ -3665,7 +3665,7 @@ class AnalyticsApi {
3665
3665
  /**
3666
3666
  * Analytics service.
3667
3667
  * @module purecloud-platform-client-v2/api/AnalyticsApi
3668
- * @version 147.0.0
3668
+ * @version 148.0.0
3669
3669
  */
3670
3670
 
3671
3671
  /**
@@ -4892,7 +4892,7 @@ class ArchitectApi {
4892
4892
  /**
4893
4893
  * Architect service.
4894
4894
  * @module purecloud-platform-client-v2/api/ArchitectApi
4895
- * @version 147.0.0
4895
+ * @version 148.0.0
4896
4896
  */
4897
4897
 
4898
4898
  /**
@@ -7938,7 +7938,7 @@ class AuditApi {
7938
7938
  /**
7939
7939
  * Audit service.
7940
7940
  * @module purecloud-platform-client-v2/api/AuditApi
7941
- * @version 147.0.0
7941
+ * @version 148.0.0
7942
7942
  */
7943
7943
 
7944
7944
  /**
@@ -8109,7 +8109,7 @@ class AuthorizationApi {
8109
8109
  /**
8110
8110
  * Authorization service.
8111
8111
  * @module purecloud-platform-client-v2/api/AuthorizationApi
8112
- * @version 147.0.0
8112
+ * @version 148.0.0
8113
8113
  */
8114
8114
 
8115
8115
  /**
@@ -9292,7 +9292,7 @@ class BillingApi {
9292
9292
  /**
9293
9293
  * Billing service.
9294
9294
  * @module purecloud-platform-client-v2/api/BillingApi
9295
- * @version 147.0.0
9295
+ * @version 148.0.0
9296
9296
  */
9297
9297
 
9298
9298
  /**
@@ -9372,7 +9372,7 @@ class ChatApi {
9372
9372
  /**
9373
9373
  * Chat service.
9374
9374
  * @module purecloud-platform-client-v2/api/ChatApi
9375
- * @version 147.0.0
9375
+ * @version 148.0.0
9376
9376
  */
9377
9377
 
9378
9378
  /**
@@ -9463,7 +9463,7 @@ class CoachingApi {
9463
9463
  /**
9464
9464
  * Coaching service.
9465
9465
  * @module purecloud-platform-client-v2/api/CoachingApi
9466
- * @version 147.0.0
9466
+ * @version 148.0.0
9467
9467
  */
9468
9468
 
9469
9469
  /**
@@ -10040,7 +10040,7 @@ class ContentManagementApi {
10040
10040
  /**
10041
10041
  * ContentManagement service.
10042
10042
  * @module purecloud-platform-client-v2/api/ContentManagementApi
10043
- * @version 147.0.0
10043
+ * @version 148.0.0
10044
10044
  */
10045
10045
 
10046
10046
  /**
@@ -11180,7 +11180,7 @@ class ConversationsApi {
11180
11180
  /**
11181
11181
  * Conversations service.
11182
11182
  * @module purecloud-platform-client-v2/api/ConversationsApi
11183
- * @version 147.0.0
11183
+ * @version 148.0.0
11184
11184
  */
11185
11185
 
11186
11186
  /**
@@ -16324,7 +16324,7 @@ class DataExtensionsApi {
16324
16324
  /**
16325
16325
  * DataExtensions service.
16326
16326
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
16327
- * @version 147.0.0
16327
+ * @version 148.0.0
16328
16328
  */
16329
16329
 
16330
16330
  /**
@@ -16410,7 +16410,7 @@ class ExternalContactsApi {
16410
16410
  /**
16411
16411
  * ExternalContacts service.
16412
16412
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
16413
- * @version 147.0.0
16413
+ * @version 148.0.0
16414
16414
  */
16415
16415
 
16416
16416
  /**
@@ -18153,7 +18153,7 @@ class FaxApi {
18153
18153
  /**
18154
18154
  * Fax service.
18155
18155
  * @module purecloud-platform-client-v2/api/FaxApi
18156
- * @version 147.0.0
18156
+ * @version 148.0.0
18157
18157
  */
18158
18158
 
18159
18159
  /**
@@ -18324,7 +18324,7 @@ class FlowsApi {
18324
18324
  /**
18325
18325
  * Flows service.
18326
18326
  * @module purecloud-platform-client-v2/api/FlowsApi
18327
- * @version 147.0.0
18327
+ * @version 148.0.0
18328
18328
  */
18329
18329
 
18330
18330
  /**
@@ -18395,7 +18395,7 @@ class GamificationApi {
18395
18395
  /**
18396
18396
  * Gamification service.
18397
18397
  * @module purecloud-platform-client-v2/api/GamificationApi
18398
- * @version 147.0.0
18398
+ * @version 148.0.0
18399
18399
  */
18400
18400
 
18401
18401
  /**
@@ -18688,31 +18688,6 @@ class GamificationApi {
18688
18688
  );
18689
18689
  }
18690
18690
 
18691
- /**
18692
- * All gamified metrics for a given profile
18693
- * This API is deprecated. Use /api/v2/gamification/profiles/{profileId}/metrics instead.
18694
- * @param {Object} opts Optional parameters
18695
- * @param {String} opts.performanceProfileId The profile id of the metrics you are trying to retrieve. The DEFAULT profile is used if nothing is given.
18696
- * @param {String} opts.workday The objective query workday. If not specified, then it retrieves the current objective. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
18697
- */
18698
- getGamificationMetrics(opts) {
18699
- opts = opts || {};
18700
-
18701
-
18702
- return this.apiClient.callApi(
18703
- '/api/v2/gamification/metrics',
18704
- 'GET',
18705
- { },
18706
- { 'performanceProfileId': opts['performanceProfileId'],'workday': opts['workday'] },
18707
- { },
18708
- { },
18709
- null,
18710
- ['PureCloud OAuth'],
18711
- ['application/json'],
18712
- ['application/json']
18713
- );
18714
- }
18715
-
18716
18691
  /**
18717
18692
  * Performance profile by id
18718
18693
  *
@@ -19768,31 +19743,6 @@ class GamificationApi {
19768
19743
  );
19769
19744
  }
19770
19745
 
19771
- /**
19772
- * Creates a gamified metric with a given metric definition and metric objective
19773
- * This API is deprecated. Use /api/v2/gamification/profiles/{profileId}/metrics instead.
19774
- * @param {Object} body Metric
19775
- */
19776
- postGamificationMetrics(body) {
19777
- // verify the required parameter 'body' is set
19778
- if (body === undefined || body === null) {
19779
- throw 'Missing the required parameter "body" when calling postGamificationMetrics';
19780
- }
19781
-
19782
- return this.apiClient.callApi(
19783
- '/api/v2/gamification/metrics',
19784
- 'POST',
19785
- { },
19786
- { },
19787
- { },
19788
- { },
19789
- body,
19790
- ['PureCloud OAuth'],
19791
- ['application/json'],
19792
- ['application/json']
19793
- );
19794
- }
19795
-
19796
19746
  /**
19797
19747
  * Activate a performance profile
19798
19748
  *
@@ -20126,7 +20076,7 @@ class GeneralDataProtectionRegulationApi {
20126
20076
  /**
20127
20077
  * GeneralDataProtectionRegulation service.
20128
20078
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
20129
- * @version 147.0.0
20079
+ * @version 148.0.0
20130
20080
  */
20131
20081
 
20132
20082
  /**
@@ -20256,7 +20206,7 @@ class GeolocationApi {
20256
20206
  /**
20257
20207
  * Geolocation service.
20258
20208
  * @module purecloud-platform-client-v2/api/GeolocationApi
20259
- * @version 147.0.0
20209
+ * @version 148.0.0
20260
20210
  */
20261
20211
 
20262
20212
  /**
@@ -20387,7 +20337,7 @@ class GreetingsApi {
20387
20337
  /**
20388
20338
  * Greetings service.
20389
20339
  * @module purecloud-platform-client-v2/api/GreetingsApi
20390
- * @version 147.0.0
20340
+ * @version 148.0.0
20391
20341
  */
20392
20342
 
20393
20343
  /**
@@ -20842,7 +20792,7 @@ class GroupsApi {
20842
20792
  /**
20843
20793
  * Groups service.
20844
20794
  * @module purecloud-platform-client-v2/api/GroupsApi
20845
- * @version 147.0.0
20795
+ * @version 148.0.0
20846
20796
  */
20847
20797
 
20848
20798
  /**
@@ -21112,6 +21062,7 @@ class GroupsApi {
21112
21062
  * @param {Number} opts.pageSize Page size (default to 25)
21113
21063
  * @param {Number} opts.pageNumber Page number (default to 1)
21114
21064
  * @param {Array.<String>} opts.id id
21065
+ * @param {Array.<String>} opts.jabberId A list of jabberIds to fetch by bulk (cannot be used with the id parameter)
21115
21066
  * @param {Object} opts.sortOrder Ascending or descending sort order (default to ASC)
21116
21067
  */
21117
21068
  getProfilesGroups(opts) {
@@ -21122,7 +21073,7 @@ class GroupsApi {
21122
21073
  '/api/v2/profiles/groups',
21123
21074
  'GET',
21124
21075
  { },
21125
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi'),'sortOrder': opts['sortOrder'] },
21076
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi'),'jabberId': this.apiClient.buildCollectionParam(opts['jabberId'], 'multi'),'sortOrder': opts['sortOrder'] },
21126
21077
  { },
21127
21078
  { },
21128
21079
  null,
@@ -21247,7 +21198,7 @@ class IdentityProviderApi {
21247
21198
  /**
21248
21199
  * IdentityProvider service.
21249
21200
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
21250
- * @version 147.0.0
21201
+ * @version 148.0.0
21251
21202
  */
21252
21203
 
21253
21204
  /**
@@ -22003,7 +21954,7 @@ class IntegrationsApi {
22003
21954
  /**
22004
21955
  * Integrations service.
22005
21956
  * @module purecloud-platform-client-v2/api/IntegrationsApi
22006
- * @version 147.0.0
21957
+ * @version 148.0.0
22007
21958
  */
22008
21959
 
22009
21960
  /**
@@ -22761,59 +22712,6 @@ class IntegrationsApi {
22761
22712
  );
22762
22713
  }
22763
22714
 
22764
- /**
22765
- * List all events
22766
- *
22767
- * @param {Object} opts Optional parameters
22768
- * @param {Number} opts.pageSize Page size (default to 25)
22769
- * @param {Number} opts.pageNumber Page number (default to 1)
22770
- * @param {String} opts.sortBy Sort by (default to timestamp)
22771
- * @param {String} opts.sortOrder Order by (default to descending)
22772
- * @param {String} opts.entityId Include only events with this entity ID
22773
- */
22774
- getIntegrationsEventlog(opts) {
22775
- opts = opts || {};
22776
-
22777
-
22778
- return this.apiClient.callApi(
22779
- '/api/v2/integrations/eventlog',
22780
- 'GET',
22781
- { },
22782
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'entityId': opts['entityId'] },
22783
- { },
22784
- { },
22785
- null,
22786
- ['PureCloud OAuth'],
22787
- ['application/json'],
22788
- ['application/json']
22789
- );
22790
- }
22791
-
22792
- /**
22793
- * Get a single event
22794
- *
22795
- * @param {String} eventId Event Id
22796
- */
22797
- getIntegrationsEventlogEventId(eventId) {
22798
- // verify the required parameter 'eventId' is set
22799
- if (eventId === undefined || eventId === null) {
22800
- throw 'Missing the required parameter "eventId" when calling getIntegrationsEventlogEventId';
22801
- }
22802
-
22803
- return this.apiClient.callApi(
22804
- '/api/v2/integrations/eventlog/{eventId}',
22805
- 'GET',
22806
- { 'eventId': eventId },
22807
- { },
22808
- { },
22809
- { },
22810
- null,
22811
- ['PureCloud OAuth'],
22812
- ['application/json'],
22813
- ['application/json']
22814
- );
22815
- }
22816
-
22817
22715
  /**
22818
22716
  * Get details about a Dialogflow agent
22819
22717
  *
@@ -23537,30 +23435,6 @@ class IntegrationsApi {
23537
23435
  );
23538
23436
  }
23539
23437
 
23540
- /**
23541
- * Add a vendor connection
23542
- *
23543
- * @param {Object} opts Optional parameters
23544
- * @param {Object} opts.body
23545
- */
23546
- postIntegrationsWorkforcemanagementVendorconnection(opts) {
23547
- opts = opts || {};
23548
-
23549
-
23550
- return this.apiClient.callApi(
23551
- '/api/v2/integrations/workforcemanagement/vendorconnection',
23552
- 'POST',
23553
- { },
23554
- { },
23555
- { },
23556
- { },
23557
- opts['body'],
23558
- ['PureCloud OAuth'],
23559
- ['application/json'],
23560
- ['application/json']
23561
- );
23562
- }
23563
-
23564
23438
  /**
23565
23439
  * Update integration configuration.
23566
23440
  *
@@ -23680,7 +23554,7 @@ class JourneyApi {
23680
23554
  /**
23681
23555
  * Journey service.
23682
23556
  * @module purecloud-platform-client-v2/api/JourneyApi
23683
- * @version 147.0.0
23557
+ * @version 148.0.0
23684
23558
  */
23685
23559
 
23686
23560
  /**
@@ -23855,6 +23729,56 @@ class JourneyApi {
23855
23729
  );
23856
23730
  }
23857
23731
 
23732
+ /**
23733
+ * Get status of job.
23734
+ *
23735
+ * @param {String} jobId ID of the job.
23736
+ */
23737
+ getJourneyActionmapsEstimatesJob(jobId) {
23738
+ // verify the required parameter 'jobId' is set
23739
+ if (jobId === undefined || jobId === null) {
23740
+ throw 'Missing the required parameter "jobId" when calling getJourneyActionmapsEstimatesJob';
23741
+ }
23742
+
23743
+ return this.apiClient.callApi(
23744
+ '/api/v2/journey/actionmaps/estimates/jobs/{jobId}',
23745
+ 'GET',
23746
+ { 'jobId': jobId },
23747
+ { },
23748
+ { },
23749
+ { },
23750
+ null,
23751
+ ['PureCloud OAuth'],
23752
+ ['application/json'],
23753
+ ['application/json']
23754
+ );
23755
+ }
23756
+
23757
+ /**
23758
+ * Get estimates from completed job.
23759
+ *
23760
+ * @param {String} jobId ID of the job.
23761
+ */
23762
+ getJourneyActionmapsEstimatesJobResults(jobId) {
23763
+ // verify the required parameter 'jobId' is set
23764
+ if (jobId === undefined || jobId === null) {
23765
+ throw 'Missing the required parameter "jobId" when calling getJourneyActionmapsEstimatesJobResults';
23766
+ }
23767
+
23768
+ return this.apiClient.callApi(
23769
+ '/api/v2/journey/actionmaps/estimates/jobs/{jobId}/results',
23770
+ 'GET',
23771
+ { 'jobId': jobId },
23772
+ { },
23773
+ { },
23774
+ { },
23775
+ null,
23776
+ ['PureCloud OAuth'],
23777
+ ['application/json'],
23778
+ ['application/json']
23779
+ );
23780
+ }
23781
+
23858
23782
  /**
23859
23783
  * Retrieve a single action target.
23860
23784
  *
@@ -24313,6 +24237,31 @@ class JourneyApi {
24313
24237
  );
24314
24238
  }
24315
24239
 
24240
+ /**
24241
+ * Query for estimates
24242
+ *
24243
+ * @param {Object} body audience estimator request
24244
+ */
24245
+ postJourneyActionmapsEstimatesJobs(body) {
24246
+ // verify the required parameter 'body' is set
24247
+ if (body === undefined || body === null) {
24248
+ throw 'Missing the required parameter "body" when calling postJourneyActionmapsEstimatesJobs';
24249
+ }
24250
+
24251
+ return this.apiClient.callApi(
24252
+ '/api/v2/journey/actionmaps/estimates/jobs',
24253
+ 'POST',
24254
+ { },
24255
+ { },
24256
+ { },
24257
+ { },
24258
+ body,
24259
+ ['PureCloud OAuth'],
24260
+ ['application/json'],
24261
+ ['application/json']
24262
+ );
24263
+ }
24264
+
24316
24265
  /**
24317
24266
  * Create a single action template.
24318
24267
  *
@@ -24391,7 +24340,7 @@ class KnowledgeApi {
24391
24340
  /**
24392
24341
  * Knowledge service.
24393
24342
  * @module purecloud-platform-client-v2/api/KnowledgeApi
24394
- * @version 147.0.0
24343
+ * @version 148.0.0
24395
24344
  */
24396
24345
 
24397
24346
  /**
@@ -26824,7 +26773,7 @@ class LanguageUnderstandingApi {
26824
26773
  /**
26825
26774
  * LanguageUnderstanding service.
26826
26775
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
26827
- * @version 147.0.0
26776
+ * @version 148.0.0
26828
26777
  */
26829
26778
 
26830
26779
  /**
@@ -27728,7 +27677,7 @@ class LanguagesApi {
27728
27677
  /**
27729
27678
  * Languages service.
27730
27679
  * @module purecloud-platform-client-v2/api/LanguagesApi
27731
- * @version 147.0.0
27680
+ * @version 148.0.0
27732
27681
  */
27733
27682
 
27734
27683
  /**
@@ -27996,7 +27945,7 @@ class LearningApi {
27996
27945
  /**
27997
27946
  * Learning service.
27998
27947
  * @module purecloud-platform-client-v2/api/LearningApi
27999
- * @version 147.0.0
27948
+ * @version 148.0.0
28000
27949
  */
28001
27950
 
28002
27951
  /**
@@ -28756,7 +28705,7 @@ class LicenseApi {
28756
28705
  /**
28757
28706
  * License service.
28758
28707
  * @module purecloud-platform-client-v2/api/LicenseApi
28759
- * @version 147.0.0
28708
+ * @version 148.0.0
28760
28709
  */
28761
28710
 
28762
28711
  /**
@@ -28994,7 +28943,7 @@ class LocationsApi {
28994
28943
  /**
28995
28944
  * Locations service.
28996
28945
  * @module purecloud-platform-client-v2/api/LocationsApi
28997
- * @version 147.0.0
28946
+ * @version 148.0.0
28998
28947
  */
28999
28948
 
29000
28949
  /**
@@ -29230,7 +29179,7 @@ class MessagingApi {
29230
29179
  /**
29231
29180
  * Messaging service.
29232
29181
  * @module purecloud-platform-client-v2/api/MessagingApi
29233
- * @version 147.0.0
29182
+ * @version 148.0.0
29234
29183
  */
29235
29184
 
29236
29185
  /**
@@ -29381,7 +29330,7 @@ class MobileDevicesApi {
29381
29330
  /**
29382
29331
  * MobileDevices service.
29383
29332
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
29384
- * @version 147.0.0
29333
+ * @version 148.0.0
29385
29334
  */
29386
29335
 
29387
29336
  /**
@@ -29532,7 +29481,7 @@ class NotificationsApi {
29532
29481
  /**
29533
29482
  * Notifications service.
29534
29483
  * @module purecloud-platform-client-v2/api/NotificationsApi
29535
- * @version 147.0.0
29484
+ * @version 148.0.0
29536
29485
  */
29537
29486
 
29538
29487
  /**
@@ -29757,7 +29706,7 @@ class OAuthApi {
29757
29706
  /**
29758
29707
  * OAuth service.
29759
29708
  * @module purecloud-platform-client-v2/api/OAuthApi
29760
- * @version 147.0.0
29709
+ * @version 148.0.0
29761
29710
  */
29762
29711
 
29763
29712
  /**
@@ -30123,7 +30072,7 @@ class ObjectsApi {
30123
30072
  /**
30124
30073
  * Objects service.
30125
30074
  * @module purecloud-platform-client-v2/api/ObjectsApi
30126
- * @version 147.0.0
30075
+ * @version 148.0.0
30127
30076
  */
30128
30077
 
30129
30078
  /**
@@ -30394,7 +30343,7 @@ class OrganizationApi {
30394
30343
  /**
30395
30344
  * Organization service.
30396
30345
  * @module purecloud-platform-client-v2/api/OrganizationApi
30397
- * @version 147.0.0
30346
+ * @version 148.0.0
30398
30347
  */
30399
30348
 
30400
30349
  /**
@@ -30797,7 +30746,7 @@ class OrganizationAuthorizationApi {
30797
30746
  /**
30798
30747
  * OrganizationAuthorization service.
30799
30748
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
30800
- * @version 147.0.0
30749
+ * @version 148.0.0
30801
30750
  */
30802
30751
 
30803
30752
  /**
@@ -31722,7 +31671,7 @@ class OutboundApi {
31722
31671
  /**
31723
31672
  * Outbound service.
31724
31673
  * @module purecloud-platform-client-v2/api/OutboundApi
31725
- * @version 147.0.0
31674
+ * @version 148.0.0
31726
31675
  */
31727
31676
 
31728
31677
  /**
@@ -35111,7 +35060,7 @@ class PresenceApi {
35111
35060
  /**
35112
35061
  * Presence service.
35113
35062
  * @module purecloud-platform-client-v2/api/PresenceApi
35114
- * @version 147.0.0
35063
+ * @version 148.0.0
35115
35064
  */
35116
35065
 
35117
35066
  /**
@@ -35429,11 +35378,249 @@ class PresenceApi {
35429
35378
 
35430
35379
  }
35431
35380
 
35381
+ class ProcessAutomationApi {
35382
+ /**
35383
+ * ProcessAutomation service.
35384
+ * @module purecloud-platform-client-v2/api/ProcessAutomationApi
35385
+ * @version 148.0.0
35386
+ */
35387
+
35388
+ /**
35389
+ * Constructs a new ProcessAutomationApi.
35390
+ * @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
35391
+ * @class
35392
+ * @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
35393
+ * default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
35394
+ */
35395
+ constructor(apiClient) {
35396
+ this.apiClient = apiClient || ApiClient.instance;
35397
+ }
35398
+
35399
+
35400
+ /**
35401
+ * Delete a Trigger
35402
+ *
35403
+ * @param {String} triggerId triggerId
35404
+ */
35405
+ deleteProcessautomationTrigger(triggerId) {
35406
+ // verify the required parameter 'triggerId' is set
35407
+ if (triggerId === undefined || triggerId === null) {
35408
+ throw 'Missing the required parameter "triggerId" when calling deleteProcessautomationTrigger';
35409
+ }
35410
+
35411
+ return this.apiClient.callApi(
35412
+ '/api/v2/processautomation/triggers/{triggerId}',
35413
+ 'DELETE',
35414
+ { 'triggerId': triggerId },
35415
+ { },
35416
+ { },
35417
+ { },
35418
+ null,
35419
+ ['PureCloud OAuth'],
35420
+ ['application/json'],
35421
+ ['application/json']
35422
+ );
35423
+ }
35424
+
35425
+ /**
35426
+ * Retrieve a single Trigger matching id.
35427
+ *
35428
+ * @param {String} triggerId triggerId
35429
+ */
35430
+ getProcessautomationTrigger(triggerId) {
35431
+ // verify the required parameter 'triggerId' is set
35432
+ if (triggerId === undefined || triggerId === null) {
35433
+ throw 'Missing the required parameter "triggerId" when calling getProcessautomationTrigger';
35434
+ }
35435
+
35436
+ return this.apiClient.callApi(
35437
+ '/api/v2/processautomation/triggers/{triggerId}',
35438
+ 'GET',
35439
+ { 'triggerId': triggerId },
35440
+ { },
35441
+ { },
35442
+ { },
35443
+ null,
35444
+ ['PureCloud OAuth'],
35445
+ ['application/json'],
35446
+ ['application/json']
35447
+ );
35448
+ }
35449
+
35450
+ /**
35451
+ * Retrieves all triggers
35452
+ *
35453
+ * @param {Object} opts Optional parameters
35454
+ * @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
35455
+ * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
35456
+ * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
35457
+ * @param {String} opts.topicName Topic name
35458
+ * @param {Boolean} opts.enabled Boolean indicating desired enabled state of triggers
35459
+ */
35460
+ getProcessautomationTriggers(opts) {
35461
+ opts = opts || {};
35462
+
35463
+
35464
+ return this.apiClient.callApi(
35465
+ '/api/v2/processautomation/triggers',
35466
+ 'GET',
35467
+ { },
35468
+ { 'before': opts['before'],'after': opts['after'],'pageSize': opts['pageSize'],'topicName': opts['topicName'],'enabled': opts['enabled'] },
35469
+ { },
35470
+ { },
35471
+ null,
35472
+ ['PureCloud OAuth'],
35473
+ ['application/json'],
35474
+ ['application/json']
35475
+ );
35476
+ }
35477
+
35478
+ /**
35479
+ * Get topics available for organization
35480
+ *
35481
+ * @param {Object} opts Optional parameters
35482
+ * @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
35483
+ * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
35484
+ * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
35485
+ */
35486
+ getProcessautomationTriggersTopics(opts) {
35487
+ opts = opts || {};
35488
+
35489
+
35490
+ return this.apiClient.callApi(
35491
+ '/api/v2/processautomation/triggers/topics',
35492
+ 'GET',
35493
+ { },
35494
+ { 'before': opts['before'],'after': opts['after'],'pageSize': opts['pageSize'] },
35495
+ { },
35496
+ { },
35497
+ null,
35498
+ ['PureCloud OAuth'],
35499
+ ['application/json'],
35500
+ ['application/json']
35501
+ );
35502
+ }
35503
+
35504
+ /**
35505
+ * Test the matching of a Trigger based on provided event body
35506
+ *
35507
+ * @param {String} triggerId triggerId
35508
+ * @param {Object} opts Optional parameters
35509
+ * @param {String} opts.body eventBody
35510
+ */
35511
+ postProcessautomationTriggerTest(triggerId, opts) {
35512
+ opts = opts || {};
35513
+
35514
+ // verify the required parameter 'triggerId' is set
35515
+ if (triggerId === undefined || triggerId === null) {
35516
+ throw 'Missing the required parameter "triggerId" when calling postProcessautomationTriggerTest';
35517
+ }
35518
+
35519
+ return this.apiClient.callApi(
35520
+ '/api/v2/processautomation/triggers/{triggerId}/test',
35521
+ 'POST',
35522
+ { 'triggerId': triggerId },
35523
+ { },
35524
+ { },
35525
+ { },
35526
+ opts['body'],
35527
+ ['PureCloud OAuth'],
35528
+ ['application/json'],
35529
+ ['application/json']
35530
+ );
35531
+ }
35532
+
35533
+ /**
35534
+ * Create a Trigger
35535
+ *
35536
+ * @param {Object} body Input used to create a Trigger.
35537
+ */
35538
+ postProcessautomationTriggers(body) {
35539
+ // verify the required parameter 'body' is set
35540
+ if (body === undefined || body === null) {
35541
+ throw 'Missing the required parameter "body" when calling postProcessautomationTriggers';
35542
+ }
35543
+
35544
+ return this.apiClient.callApi(
35545
+ '/api/v2/processautomation/triggers',
35546
+ 'POST',
35547
+ { },
35548
+ { },
35549
+ { },
35550
+ { },
35551
+ body,
35552
+ ['PureCloud OAuth'],
35553
+ ['application/json'],
35554
+ ['application/json']
35555
+ );
35556
+ }
35557
+
35558
+ /**
35559
+ * Test the matching of all organization Triggers on given topic using provided event body
35560
+ *
35561
+ * @param {String} topicName topicName
35562
+ * @param {Object} opts Optional parameters
35563
+ * @param {String} opts.body eventBody
35564
+ */
35565
+ postProcessautomationTriggersTopicTest(topicName, opts) {
35566
+ opts = opts || {};
35567
+
35568
+ // verify the required parameter 'topicName' is set
35569
+ if (topicName === undefined || topicName === null) {
35570
+ throw 'Missing the required parameter "topicName" when calling postProcessautomationTriggersTopicTest';
35571
+ }
35572
+
35573
+ return this.apiClient.callApi(
35574
+ '/api/v2/processautomation/triggers/topics/{topicName}/test',
35575
+ 'POST',
35576
+ { 'topicName': topicName },
35577
+ { },
35578
+ { },
35579
+ { },
35580
+ opts['body'],
35581
+ ['PureCloud OAuth'],
35582
+ ['application/json'],
35583
+ ['application/json']
35584
+ );
35585
+ }
35586
+
35587
+ /**
35588
+ * Update a Trigger
35589
+ *
35590
+ * @param {String} triggerId triggerId
35591
+ * @param {Object} body Input to update Trigger. (topicName cannot be updated, a new trigger must be created to use a new topicName)
35592
+ */
35593
+ putProcessautomationTrigger(triggerId, body) {
35594
+ // verify the required parameter 'triggerId' is set
35595
+ if (triggerId === undefined || triggerId === null) {
35596
+ throw 'Missing the required parameter "triggerId" when calling putProcessautomationTrigger';
35597
+ }
35598
+ // verify the required parameter 'body' is set
35599
+ if (body === undefined || body === null) {
35600
+ throw 'Missing the required parameter "body" when calling putProcessautomationTrigger';
35601
+ }
35602
+
35603
+ return this.apiClient.callApi(
35604
+ '/api/v2/processautomation/triggers/{triggerId}',
35605
+ 'PUT',
35606
+ { 'triggerId': triggerId },
35607
+ { },
35608
+ { },
35609
+ { },
35610
+ body,
35611
+ ['PureCloud OAuth'],
35612
+ ['application/json'],
35613
+ ['application/json']
35614
+ );
35615
+ }
35616
+
35617
+ }
35618
+
35432
35619
  class QualityApi {
35433
35620
  /**
35434
35621
  * Quality service.
35435
35622
  * @module purecloud-platform-client-v2/api/QualityApi
35436
- * @version 147.0.0
35623
+ * @version 148.0.0
35437
35624
  */
35438
35625
 
35439
35626
  /**
@@ -37011,7 +37198,7 @@ class RecordingApi {
37011
37198
  /**
37012
37199
  * Recording service.
37013
37200
  * @module purecloud-platform-client-v2/api/RecordingApi
37014
- * @version 147.0.0
37201
+ * @version 148.0.0
37015
37202
  */
37016
37203
 
37017
37204
  /**
@@ -38694,7 +38881,7 @@ class ResponseManagementApi {
38694
38881
  /**
38695
38882
  * ResponseManagement service.
38696
38883
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
38697
- * @version 147.0.0
38884
+ * @version 148.0.0
38698
38885
  */
38699
38886
 
38700
38887
  /**
@@ -39178,7 +39365,7 @@ class RoutingApi {
39178
39365
  /**
39179
39366
  * Routing service.
39180
39367
  * @module purecloud-platform-client-v2/api/RoutingApi
39181
- * @version 147.0.0
39368
+ * @version 148.0.0
39182
39369
  */
39183
39370
 
39184
39371
  /**
@@ -42119,7 +42306,7 @@ class SCIMApi {
42119
42306
  /**
42120
42307
  * SCIM service.
42121
42308
  * @module purecloud-platform-client-v2/api/SCIMApi
42122
- * @version 147.0.0
42309
+ * @version 148.0.0
42123
42310
  */
42124
42311
 
42125
42312
  /**
@@ -42996,7 +43183,7 @@ class ScriptsApi {
42996
43183
  /**
42997
43184
  * Scripts service.
42998
43185
  * @module purecloud-platform-client-v2/api/ScriptsApi
42999
- * @version 147.0.0
43186
+ * @version 148.0.0
43000
43187
  */
43001
43188
 
43002
43189
  /**
@@ -43415,7 +43602,7 @@ class SearchApi {
43415
43602
  /**
43416
43603
  * Search service.
43417
43604
  * @module purecloud-platform-client-v2/api/SearchApi
43418
- * @version 147.0.0
43605
+ * @version 148.0.0
43419
43606
  */
43420
43607
 
43421
43608
  /**
@@ -43975,7 +44162,7 @@ class SpeechTextAnalyticsApi {
43975
44162
  /**
43976
44163
  * SpeechTextAnalytics service.
43977
44164
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
43978
- * @version 147.0.0
44165
+ * @version 148.0.0
43979
44166
  */
43980
44167
 
43981
44168
  /**
@@ -44829,7 +45016,7 @@ class StationsApi {
44829
45016
  /**
44830
45017
  * Stations service.
44831
45018
  * @module purecloud-platform-client-v2/api/StationsApi
44832
- * @version 147.0.0
45019
+ * @version 148.0.0
44833
45020
  */
44834
45021
 
44835
45022
  /**
@@ -44976,7 +45163,7 @@ class SuggestApi {
44976
45163
  /**
44977
45164
  * Suggest service.
44978
45165
  * @module purecloud-platform-client-v2/api/SuggestApi
44979
- * @version 147.0.0
45166
+ * @version 148.0.0
44980
45167
  */
44981
45168
 
44982
45169
  /**
@@ -45115,7 +45302,7 @@ class TeamsApi {
45115
45302
  /**
45116
45303
  * Teams service.
45117
45304
  * @module purecloud-platform-client-v2/api/TeamsApi
45118
- * @version 147.0.0
45305
+ * @version 148.0.0
45119
45306
  */
45120
45307
 
45121
45308
  /**
@@ -45294,7 +45481,7 @@ class TelephonyApi {
45294
45481
  /**
45295
45482
  * Telephony service.
45296
45483
  * @module purecloud-platform-client-v2/api/TelephonyApi
45297
- * @version 147.0.0
45484
+ * @version 148.0.0
45298
45485
  */
45299
45486
 
45300
45487
  /**
@@ -45402,7 +45589,7 @@ class TelephonyProvidersEdgeApi {
45402
45589
  /**
45403
45590
  * TelephonyProvidersEdge service.
45404
45591
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
45405
- * @version 147.0.0
45592
+ * @version 148.0.0
45406
45593
  */
45407
45594
 
45408
45595
  /**
@@ -49035,7 +49222,7 @@ class TextbotsApi {
49035
49222
  /**
49036
49223
  * Textbots service.
49037
49224
  * @module purecloud-platform-client-v2/api/TextbotsApi
49038
- * @version 147.0.0
49225
+ * @version 148.0.0
49039
49226
  */
49040
49227
 
49041
49228
  /**
@@ -49163,7 +49350,7 @@ class TokensApi {
49163
49350
  /**
49164
49351
  * Tokens service.
49165
49352
  * @module purecloud-platform-client-v2/api/TokensApi
49166
- * @version 147.0.0
49353
+ * @version 148.0.0
49167
49354
  */
49168
49355
 
49169
49356
  /**
@@ -49269,7 +49456,7 @@ class UploadsApi {
49269
49456
  /**
49270
49457
  * Uploads service.
49271
49458
  * @module purecloud-platform-client-v2/api/UploadsApi
49272
- * @version 147.0.0
49459
+ * @version 148.0.0
49273
49460
  */
49274
49461
 
49275
49462
  /**
@@ -49445,7 +49632,7 @@ class UsageApi {
49445
49632
  /**
49446
49633
  * Usage service.
49447
49634
  * @module purecloud-platform-client-v2/api/UsageApi
49448
- * @version 147.0.0
49635
+ * @version 148.0.0
49449
49636
  */
49450
49637
 
49451
49638
  /**
@@ -49516,7 +49703,7 @@ class UserRecordingsApi {
49516
49703
  /**
49517
49704
  * UserRecordings service.
49518
49705
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
49519
- * @version 147.0.0
49706
+ * @version 148.0.0
49520
49707
  */
49521
49708
 
49522
49709
  /**
@@ -49591,6 +49778,7 @@ class UserRecordingsApi {
49591
49778
  * @param {String} recordingId User Recording ID
49592
49779
  * @param {Object} opts Optional parameters
49593
49780
  * @param {Object} opts.formatId The desired media format. (default to WEBM)
49781
+ * @param {Boolean} opts.async When set to true, api will return 202 response until the recording is ready for download
49594
49782
  */
49595
49783
  getUserrecordingMedia(recordingId, opts) {
49596
49784
  opts = opts || {};
@@ -49604,7 +49792,7 @@ class UserRecordingsApi {
49604
49792
  '/api/v2/userrecordings/{recordingId}/media',
49605
49793
  'GET',
49606
49794
  { 'recordingId': recordingId },
49607
- { 'formatId': opts['formatId'] },
49795
+ { 'formatId': opts['formatId'],'async': opts['async'] },
49608
49796
  { },
49609
49797
  { },
49610
49798
  null,
@@ -49700,7 +49888,7 @@ class UsersApi {
49700
49888
  /**
49701
49889
  * Users service.
49702
49890
  * @module purecloud-platform-client-v2/api/UsersApi
49703
- * @version 147.0.0
49891
+ * @version 148.0.0
49704
49892
  */
49705
49893
 
49706
49894
  /**
@@ -52032,7 +52220,7 @@ class UtilitiesApi {
52032
52220
  /**
52033
52221
  * Utilities service.
52034
52222
  * @module purecloud-platform-client-v2/api/UtilitiesApi
52035
- * @version 147.0.0
52223
+ * @version 148.0.0
52036
52224
  */
52037
52225
 
52038
52226
  /**
@@ -52143,7 +52331,7 @@ class VoicemailApi {
52143
52331
  /**
52144
52332
  * Voicemail service.
52145
52333
  * @module purecloud-platform-client-v2/api/VoicemailApi
52146
- * @version 147.0.0
52334
+ * @version 148.0.0
52147
52335
  */
52148
52336
 
52149
52337
  /**
@@ -52810,7 +52998,7 @@ class WebChatApi {
52810
52998
  /**
52811
52999
  * WebChat service.
52812
53000
  * @module purecloud-platform-client-v2/api/WebChatApi
52813
- * @version 147.0.0
53001
+ * @version 148.0.0
52814
53002
  */
52815
53003
 
52816
53004
  /**
@@ -53354,7 +53542,7 @@ class WebDeploymentsApi {
53354
53542
  /**
53355
53543
  * WebDeployments service.
53356
53544
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
53357
- * @version 147.0.0
53545
+ * @version 148.0.0
53358
53546
  */
53359
53547
 
53360
53548
  /**
@@ -53738,7 +53926,7 @@ class WebMessagingApi {
53738
53926
  /**
53739
53927
  * WebMessaging service.
53740
53928
  * @module purecloud-platform-client-v2/api/WebMessagingApi
53741
- * @version 147.0.0
53929
+ * @version 148.0.0
53742
53930
  */
53743
53931
 
53744
53932
  /**
@@ -53784,7 +53972,7 @@ class WidgetsApi {
53784
53972
  /**
53785
53973
  * Widgets service.
53786
53974
  * @module purecloud-platform-client-v2/api/WidgetsApi
53787
- * @version 147.0.0
53975
+ * @version 148.0.0
53788
53976
  */
53789
53977
 
53790
53978
  /**
@@ -53930,7 +54118,7 @@ class WorkforceManagementApi {
53930
54118
  /**
53931
54119
  * WorkforceManagement service.
53932
54120
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
53933
- * @version 147.0.0
54121
+ * @version 148.0.0
53934
54122
  */
53935
54123
 
53936
54124
  /**
@@ -58206,7 +58394,7 @@ class WorkforceManagementApi {
58206
58394
  * </pre>
58207
58395
  * </p>
58208
58396
  * @module purecloud-platform-client-v2/index
58209
- * @version 147.0.0
58397
+ * @version 148.0.0
58210
58398
  */
58211
58399
  class platformClient {
58212
58400
  constructor() {
@@ -58405,6 +58593,11 @@ class platformClient {
58405
58593
  * @property {module:purecloud-platform-client-v2/api/PresenceApi}
58406
58594
  */
58407
58595
  this.PresenceApi = PresenceApi;
58596
+ /**
58597
+ * The ProcessAutomationApi service constructor.
58598
+ * @property {module:purecloud-platform-client-v2/api/ProcessAutomationApi}
58599
+ */
58600
+ this.ProcessAutomationApi = ProcessAutomationApi;
58408
58601
  /**
58409
58602
  * The QualityApi service constructor.
58410
58603
  * @property {module:purecloud-platform-client-v2/api/QualityApi}