purecloud-platform-client-v2 229.2.0 → 231.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 (94) hide show
  1. package/README.md +3 -3
  2. package/dist/node/purecloud-platform-client-v2.js +1267 -152
  3. package/dist/web-amd/purecloud-platform-client-v2.js +1267 -152
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +442 -147
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +442 -147
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +1382 -550
  9. package/package.json +1 -1
  10. package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
  11. package/src/purecloud-platform-client-v2/PureCloudRegionHosts.js +2 -0
  12. package/src/purecloud-platform-client-v2/api/AIStudioApi.js +160 -1
  13. package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +110 -1
  14. package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +1 -1
  15. package/src/purecloud-platform-client-v2/api/AgentUIApi.js +1 -1
  16. package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
  17. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +83 -1
  18. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
  19. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
  21. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  22. package/src/purecloud-platform-client-v2/api/BusinessRulesApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +152 -2
  28. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/JourneyApi.js +28 -1
  46. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +187 -1
  48. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/QualityApi.js +107 -1
  65. package/src/purecloud-platform-client-v2/api/RecordingApi.js +4 -4
  66. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/RoutingApi.js +19 -34
  68. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +241 -1
  74. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
  78. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  79. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  80. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
  81. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  82. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  83. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  84. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  85. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -32
  86. package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
  87. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  88. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  89. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  90. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  91. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +101 -1
  92. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  93. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
  94. package/src/purecloud-platform-client-v2/index.js +1 -1
@@ -5,7 +5,7 @@ class SocialMediaApi {
5
5
  /**
6
6
  * SocialMedia service.
7
7
  * @module purecloud-platform-client-v2/api/SocialMediaApi
8
- * @version 229.2.0
8
+ * @version 231.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -134,6 +134,40 @@ class SocialMediaApi {
134
134
  );
135
135
  }
136
136
 
137
+ /**
138
+ * Delete a Instagram data ingestion rule.
139
+ *
140
+ * @param {String} topicId topicId
141
+ * @param {String} instagramIngestionRuleId instagramIngestionRuleId
142
+ * @param {Object} opts Optional parameters
143
+ * @param {Boolean} opts.hardDelete Determines whether a Instagram data ingestion rule should be soft-deleted (have it's state set to deleted) or hard-deleted (permanently removed). Set to false (soft-delete) by default. (default to false)
144
+ */
145
+ deleteSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleId(topicId, instagramIngestionRuleId, opts) {
146
+ opts = opts || {};
147
+
148
+ // verify the required parameter 'topicId' is set
149
+ if (topicId === undefined || topicId === null || topicId === '') {
150
+ throw 'Missing the required parameter "topicId" when calling deleteSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleId';
151
+ }
152
+ // verify the required parameter 'instagramIngestionRuleId' is set
153
+ if (instagramIngestionRuleId === undefined || instagramIngestionRuleId === null || instagramIngestionRuleId === '') {
154
+ throw 'Missing the required parameter "instagramIngestionRuleId" when calling deleteSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleId';
155
+ }
156
+
157
+ return this.apiClient.callApi(
158
+ '/api/v2/socialmedia/topics/{topicId}/dataingestionrules/instagram/{instagramIngestionRuleId}',
159
+ 'DELETE',
160
+ { 'topicId': topicId,'instagramIngestionRuleId': instagramIngestionRuleId },
161
+ { 'hardDelete': opts['hardDelete'] },
162
+ { },
163
+ { },
164
+ null,
165
+ ['PureCloud OAuth'],
166
+ ['application/json'],
167
+ ['application/json']
168
+ );
169
+ }
170
+
137
171
  /**
138
172
  * Delete a open data ingestion rule.
139
173
  *
@@ -534,6 +568,115 @@ class SocialMediaApi {
534
568
  );
535
569
  }
536
570
 
571
+ /**
572
+ * Get a single Instagram data ingestion rule.
573
+ *
574
+ * @param {String} topicId topicId
575
+ * @param {String} instagramIngestionRuleId instagramIngestionRuleId
576
+ * @param {Object} opts Optional parameters
577
+ * @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
578
+ */
579
+ getSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleId(topicId, instagramIngestionRuleId, opts) {
580
+ opts = opts || {};
581
+
582
+ // verify the required parameter 'topicId' is set
583
+ if (topicId === undefined || topicId === null || topicId === '') {
584
+ throw 'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleId';
585
+ }
586
+ // verify the required parameter 'instagramIngestionRuleId' is set
587
+ if (instagramIngestionRuleId === undefined || instagramIngestionRuleId === null || instagramIngestionRuleId === '') {
588
+ throw 'Missing the required parameter "instagramIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleId';
589
+ }
590
+
591
+ return this.apiClient.callApi(
592
+ '/api/v2/socialmedia/topics/{topicId}/dataingestionrules/instagram/{instagramIngestionRuleId}',
593
+ 'GET',
594
+ { 'topicId': topicId,'instagramIngestionRuleId': instagramIngestionRuleId },
595
+ { 'includeDeleted': opts['includeDeleted'] },
596
+ { },
597
+ { },
598
+ null,
599
+ ['PureCloud OAuth'],
600
+ ['application/json'],
601
+ ['application/json']
602
+ );
603
+ }
604
+
605
+ /**
606
+ * Get a single Instagram data ingestion rule version.
607
+ *
608
+ * @param {String} topicId topicId
609
+ * @param {String} instagramIngestionRuleId instagramIngestionRuleId
610
+ * @param {String} dataIngestionRuleVersion version
611
+ * @param {Object} opts Optional parameters
612
+ * @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted item in the result.
613
+ */
614
+ getSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleIdVersion(topicId, instagramIngestionRuleId, dataIngestionRuleVersion, opts) {
615
+ opts = opts || {};
616
+
617
+ // verify the required parameter 'topicId' is set
618
+ if (topicId === undefined || topicId === null || topicId === '') {
619
+ throw 'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleIdVersion';
620
+ }
621
+ // verify the required parameter 'instagramIngestionRuleId' is set
622
+ if (instagramIngestionRuleId === undefined || instagramIngestionRuleId === null || instagramIngestionRuleId === '') {
623
+ throw 'Missing the required parameter "instagramIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleIdVersion';
624
+ }
625
+ // verify the required parameter 'dataIngestionRuleVersion' is set
626
+ if (dataIngestionRuleVersion === undefined || dataIngestionRuleVersion === null || dataIngestionRuleVersion === '') {
627
+ throw 'Missing the required parameter "dataIngestionRuleVersion" when calling getSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleIdVersion';
628
+ }
629
+
630
+ return this.apiClient.callApi(
631
+ '/api/v2/socialmedia/topics/{topicId}/dataingestionrules/instagram/{instagramIngestionRuleId}/versions/{dataIngestionRuleVersion}',
632
+ 'GET',
633
+ { 'topicId': topicId,'instagramIngestionRuleId': instagramIngestionRuleId,'dataIngestionRuleVersion': dataIngestionRuleVersion },
634
+ { 'includeDeleted': opts['includeDeleted'] },
635
+ { },
636
+ { },
637
+ null,
638
+ ['PureCloud OAuth'],
639
+ ['application/json'],
640
+ ['application/json']
641
+ );
642
+ }
643
+
644
+ /**
645
+ * Get the Instagram data ingestion rule versions.
646
+ *
647
+ * @param {String} topicId topicId
648
+ * @param {String} instagramIngestionRuleId instagramIngestionRuleId
649
+ * @param {Object} opts Optional parameters
650
+ * @param {Number} opts.pageNumber Page number (default to 1)
651
+ * @param {Number} opts.pageSize Page size (default to 25)
652
+ * @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
653
+ */
654
+ getSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleIdVersions(topicId, instagramIngestionRuleId, opts) {
655
+ opts = opts || {};
656
+
657
+ // verify the required parameter 'topicId' is set
658
+ if (topicId === undefined || topicId === null || topicId === '') {
659
+ throw 'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleIdVersions';
660
+ }
661
+ // verify the required parameter 'instagramIngestionRuleId' is set
662
+ if (instagramIngestionRuleId === undefined || instagramIngestionRuleId === null || instagramIngestionRuleId === '') {
663
+ throw 'Missing the required parameter "instagramIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleIdVersions';
664
+ }
665
+
666
+ return this.apiClient.callApi(
667
+ '/api/v2/socialmedia/topics/{topicId}/dataingestionrules/instagram/{instagramIngestionRuleId}/versions',
668
+ 'GET',
669
+ { 'topicId': topicId,'instagramIngestionRuleId': instagramIngestionRuleId },
670
+ { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'includeDeleted': opts['includeDeleted'] },
671
+ { },
672
+ { },
673
+ null,
674
+ ['PureCloud OAuth'],
675
+ ['application/json'],
676
+ ['application/json']
677
+ );
678
+ }
679
+
537
680
  /**
538
681
  * Get a single open data ingestion rule.
539
682
  *
@@ -842,6 +985,40 @@ class SocialMediaApi {
842
985
  );
843
986
  }
844
987
 
988
+ /**
989
+ * Update the status of a Instagram data ingestion rule.
990
+ *
991
+ * @param {String} topicId topicId
992
+ * @param {String} instagramIngestionRuleId instagramIngestionRuleId
993
+ * @param {Object} opts Optional parameters
994
+ * @param {Object} opts.body
995
+ */
996
+ patchSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleId(topicId, instagramIngestionRuleId, opts) {
997
+ opts = opts || {};
998
+
999
+ // verify the required parameter 'topicId' is set
1000
+ if (topicId === undefined || topicId === null || topicId === '') {
1001
+ throw 'Missing the required parameter "topicId" when calling patchSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleId';
1002
+ }
1003
+ // verify the required parameter 'instagramIngestionRuleId' is set
1004
+ if (instagramIngestionRuleId === undefined || instagramIngestionRuleId === null || instagramIngestionRuleId === '') {
1005
+ throw 'Missing the required parameter "instagramIngestionRuleId" when calling patchSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleId';
1006
+ }
1007
+
1008
+ return this.apiClient.callApi(
1009
+ '/api/v2/socialmedia/topics/{topicId}/dataingestionrules/instagram/{instagramIngestionRuleId}',
1010
+ 'PATCH',
1011
+ { 'topicId': topicId,'instagramIngestionRuleId': instagramIngestionRuleId },
1012
+ { },
1013
+ { },
1014
+ { },
1015
+ opts['body'],
1016
+ ['PureCloud OAuth'],
1017
+ ['application/json'],
1018
+ ['application/json']
1019
+ );
1020
+ }
1021
+
845
1022
  /**
846
1023
  * Update the status of a open data ingestion rule.
847
1024
  *
@@ -1042,6 +1219,35 @@ class SocialMediaApi {
1042
1219
  );
1043
1220
  }
1044
1221
 
1222
+ /**
1223
+ * Create an Instagram data ingestion rule.
1224
+ *
1225
+ * @param {String} topicId topicId
1226
+ * @param {Object} opts Optional parameters
1227
+ * @param {Object} opts.body
1228
+ */
1229
+ postSocialmediaTopicDataingestionrulesInstagram(topicId, opts) {
1230
+ opts = opts || {};
1231
+
1232
+ // verify the required parameter 'topicId' is set
1233
+ if (topicId === undefined || topicId === null || topicId === '') {
1234
+ throw 'Missing the required parameter "topicId" when calling postSocialmediaTopicDataingestionrulesInstagram';
1235
+ }
1236
+
1237
+ return this.apiClient.callApi(
1238
+ '/api/v2/socialmedia/topics/{topicId}/dataingestionrules/instagram',
1239
+ 'POST',
1240
+ { 'topicId': topicId },
1241
+ { },
1242
+ { },
1243
+ { },
1244
+ opts['body'],
1245
+ ['PureCloud OAuth'],
1246
+ ['application/json'],
1247
+ ['application/json']
1248
+ );
1249
+ }
1250
+
1045
1251
  /**
1046
1252
  * Create an open data ingestion rule.
1047
1253
  *
@@ -1282,6 +1488,40 @@ class SocialMediaApi {
1282
1488
  );
1283
1489
  }
1284
1490
 
1491
+ /**
1492
+ * Update the Instagram data ingestion rule.
1493
+ *
1494
+ * @param {String} topicId topicId
1495
+ * @param {String} instagramIngestionRuleId instagramIngestionRuleId
1496
+ * @param {Object} opts Optional parameters
1497
+ * @param {Object} opts.body
1498
+ */
1499
+ putSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleId(topicId, instagramIngestionRuleId, opts) {
1500
+ opts = opts || {};
1501
+
1502
+ // verify the required parameter 'topicId' is set
1503
+ if (topicId === undefined || topicId === null || topicId === '') {
1504
+ throw 'Missing the required parameter "topicId" when calling putSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleId';
1505
+ }
1506
+ // verify the required parameter 'instagramIngestionRuleId' is set
1507
+ if (instagramIngestionRuleId === undefined || instagramIngestionRuleId === null || instagramIngestionRuleId === '') {
1508
+ throw 'Missing the required parameter "instagramIngestionRuleId" when calling putSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleId';
1509
+ }
1510
+
1511
+ return this.apiClient.callApi(
1512
+ '/api/v2/socialmedia/topics/{topicId}/dataingestionrules/instagram/{instagramIngestionRuleId}',
1513
+ 'PUT',
1514
+ { 'topicId': topicId,'instagramIngestionRuleId': instagramIngestionRuleId },
1515
+ { },
1516
+ { },
1517
+ { },
1518
+ opts['body'],
1519
+ ['PureCloud OAuth'],
1520
+ ['application/json'],
1521
+ ['application/json']
1522
+ );
1523
+ }
1524
+
1285
1525
  /**
1286
1526
  * Update the open data ingestion rule.
1287
1527
  *
@@ -5,7 +5,7 @@ class SpeechTextAnalyticsApi {
5
5
  /**
6
6
  * SpeechTextAnalytics service.
7
7
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
8
- * @version 229.2.0
8
+ * @version 231.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class StationsApi {
5
5
  /**
6
6
  * Stations service.
7
7
  * @module purecloud-platform-client-v2/api/StationsApi
8
- * @version 229.2.0
8
+ * @version 231.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class SuggestApi {
5
5
  /**
6
6
  * Suggest service.
7
7
  * @module purecloud-platform-client-v2/api/SuggestApi
8
- * @version 229.2.0
8
+ * @version 231.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class TaskManagementApi {
5
5
  /**
6
6
  * TaskManagement service.
7
7
  * @module purecloud-platform-client-v2/api/TaskManagementApi
8
- * @version 229.2.0
8
+ * @version 231.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class TeamsApi {
5
5
  /**
6
6
  * Teams service.
7
7
  * @module purecloud-platform-client-v2/api/TeamsApi
8
- * @version 229.2.0
8
+ * @version 231.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class TelephonyApi {
5
5
  /**
6
6
  * Telephony service.
7
7
  * @module purecloud-platform-client-v2/api/TelephonyApi
8
- * @version 229.2.0
8
+ * @version 231.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class TelephonyProvidersEdgeApi {
5
5
  /**
6
6
  * TelephonyProvidersEdge service.
7
7
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
8
- * @version 229.2.0
8
+ * @version 231.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class TextbotsApi {
5
5
  /**
6
6
  * Textbots service.
7
7
  * @module purecloud-platform-client-v2/api/TextbotsApi
8
- * @version 229.2.0
8
+ * @version 231.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class TokensApi {
5
5
  /**
6
6
  * Tokens service.
7
7
  * @module purecloud-platform-client-v2/api/TokensApi
8
- * @version 229.2.0
8
+ * @version 231.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class UploadsApi {
5
5
  /**
6
6
  * Uploads service.
7
7
  * @module purecloud-platform-client-v2/api/UploadsApi
8
- * @version 229.2.0
8
+ * @version 231.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class UsageApi {
5
5
  /**
6
6
  * Usage service.
7
7
  * @module purecloud-platform-client-v2/api/UsageApi
8
- * @version 229.2.0
8
+ * @version 231.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class UserRecordingsApi {
5
5
  /**
6
6
  * UserRecordings service.
7
7
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
8
- * @version 229.2.0
8
+ * @version 231.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -74,37 +74,6 @@ class UserRecordingsApi {
74
74
  );
75
75
  }
76
76
 
77
- /**
78
- * Download a user recording.
79
- * API should migrate to use GET api/v2/userrecordings/{recordingId}/transcoding
80
- * @param {String} recordingId User Recording ID
81
- * @param {Object} opts Optional parameters
82
- * @param {Object} opts.formatId The desired media format. (default to WEBM)
83
- * @param {Boolean} opts.async When set to true, api will return 202 response until the recording is ready for download
84
- * @deprecated
85
- */
86
- getUserrecordingMedia(recordingId, opts) {
87
- opts = opts || {};
88
-
89
- // verify the required parameter 'recordingId' is set
90
- if (recordingId === undefined || recordingId === null || recordingId === '') {
91
- throw 'Missing the required parameter "recordingId" when calling getUserrecordingMedia';
92
- }
93
-
94
- return this.apiClient.callApi(
95
- '/api/v2/userrecordings/{recordingId}/media',
96
- 'GET',
97
- { 'recordingId': recordingId },
98
- { 'formatId': opts['formatId'],'async': opts['async'] },
99
- { },
100
- { },
101
- null,
102
- ['PureCloud OAuth'],
103
- ['application/json'],
104
- ['application/json']
105
- );
106
- }
107
-
108
77
  /**
109
78
  * Download a user recording.
110
79
  *
@@ -5,7 +5,7 @@ class UsersApi {
5
5
  /**
6
6
  * Users service.
7
7
  * @module purecloud-platform-client-v2/api/UsersApi
8
- * @version 229.2.0
8
+ * @version 231.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class UtilitiesApi {
5
5
  /**
6
6
  * Utilities service.
7
7
  * @module purecloud-platform-client-v2/api/UtilitiesApi
8
- * @version 229.2.0
8
+ * @version 231.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class VoicemailApi {
5
5
  /**
6
6
  * Voicemail service.
7
7
  * @module purecloud-platform-client-v2/api/VoicemailApi
8
- * @version 229.2.0
8
+ * @version 231.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class WebChatApi {
5
5
  /**
6
6
  * WebChat service.
7
7
  * @module purecloud-platform-client-v2/api/WebChatApi
8
- * @version 229.2.0
8
+ * @version 231.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class WebDeploymentsApi {
5
5
  /**
6
6
  * WebDeployments service.
7
7
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
8
- * @version 229.2.0
8
+ * @version 231.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class WebMessagingApi {
5
5
  /**
6
6
  * WebMessaging service.
7
7
  * @module purecloud-platform-client-v2/api/WebMessagingApi
8
- * @version 229.2.0
8
+ * @version 231.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -20,6 +20,36 @@ class WebMessagingApi {
20
20
  }
21
21
 
22
22
 
23
+ /**
24
+ * Delete device information
25
+ *
26
+ * @param {String} deploymentId WebMessaging deployment id
27
+ * @param {String} tokenId Device token id or cookie id
28
+ */
29
+ deleteWebmessagingDeploymentPushdevice(deploymentId, tokenId) {
30
+ // verify the required parameter 'deploymentId' is set
31
+ if (deploymentId === undefined || deploymentId === null || deploymentId === '') {
32
+ throw 'Missing the required parameter "deploymentId" when calling deleteWebmessagingDeploymentPushdevice';
33
+ }
34
+ // verify the required parameter 'tokenId' is set
35
+ if (tokenId === undefined || tokenId === null || tokenId === '') {
36
+ throw 'Missing the required parameter "tokenId" when calling deleteWebmessagingDeploymentPushdevice';
37
+ }
38
+
39
+ return this.apiClient.callApi(
40
+ '/api/v2/webmessaging/deployments/{deploymentId}/pushdevices/{tokenId}',
41
+ 'DELETE',
42
+ { 'deploymentId': deploymentId,'tokenId': tokenId },
43
+ { },
44
+ { },
45
+ { },
46
+ null,
47
+ ['PureCloud OAuth'],
48
+ ['application/json'],
49
+ ['application/json']
50
+ );
51
+ }
52
+
23
53
  /**
24
54
  * Get the messages for a web messaging session.
25
55
  *
@@ -45,6 +75,76 @@ class WebMessagingApi {
45
75
  );
46
76
  }
47
77
 
78
+ /**
79
+ * Edit device information
80
+ *
81
+ * @param {String} deploymentId WebMessaging deployment id
82
+ * @param {String} tokenId Device token id or cookie id
83
+ * @param {Object} body Request body
84
+ */
85
+ patchWebmessagingDeploymentPushdevice(deploymentId, tokenId, body) {
86
+ // verify the required parameter 'deploymentId' is set
87
+ if (deploymentId === undefined || deploymentId === null || deploymentId === '') {
88
+ throw 'Missing the required parameter "deploymentId" when calling patchWebmessagingDeploymentPushdevice';
89
+ }
90
+ // verify the required parameter 'tokenId' is set
91
+ if (tokenId === undefined || tokenId === null || tokenId === '') {
92
+ throw 'Missing the required parameter "tokenId" when calling patchWebmessagingDeploymentPushdevice';
93
+ }
94
+ // verify the required parameter 'body' is set
95
+ if (body === undefined || body === null) {
96
+ throw 'Missing the required parameter "body" when calling patchWebmessagingDeploymentPushdevice';
97
+ }
98
+
99
+ return this.apiClient.callApi(
100
+ '/api/v2/webmessaging/deployments/{deploymentId}/pushdevices/{tokenId}',
101
+ 'PATCH',
102
+ { 'deploymentId': deploymentId,'tokenId': tokenId },
103
+ { },
104
+ { },
105
+ { },
106
+ body,
107
+ ['PureCloud OAuth'],
108
+ ['application/json'],
109
+ ['application/json']
110
+ );
111
+ }
112
+
113
+ /**
114
+ * Add a new device information
115
+ *
116
+ * @param {String} deploymentId WebMessaging deployment id
117
+ * @param {String} tokenId Device token id or cookie id
118
+ * @param {Object} body Request body
119
+ */
120
+ postWebmessagingDeploymentPushdevice(deploymentId, tokenId, body) {
121
+ // verify the required parameter 'deploymentId' is set
122
+ if (deploymentId === undefined || deploymentId === null || deploymentId === '') {
123
+ throw 'Missing the required parameter "deploymentId" when calling postWebmessagingDeploymentPushdevice';
124
+ }
125
+ // verify the required parameter 'tokenId' is set
126
+ if (tokenId === undefined || tokenId === null || tokenId === '') {
127
+ throw 'Missing the required parameter "tokenId" when calling postWebmessagingDeploymentPushdevice';
128
+ }
129
+ // verify the required parameter 'body' is set
130
+ if (body === undefined || body === null) {
131
+ throw 'Missing the required parameter "body" when calling postWebmessagingDeploymentPushdevice';
132
+ }
133
+
134
+ return this.apiClient.callApi(
135
+ '/api/v2/webmessaging/deployments/{deploymentId}/pushdevices/{tokenId}',
136
+ 'POST',
137
+ { 'deploymentId': deploymentId,'tokenId': tokenId },
138
+ { },
139
+ { },
140
+ { },
141
+ body,
142
+ ['PureCloud OAuth'],
143
+ ['application/json'],
144
+ ['application/json']
145
+ );
146
+ }
147
+
48
148
  }
49
149
 
50
150
 
@@ -5,7 +5,7 @@ class WidgetsApi {
5
5
  /**
6
6
  * Widgets service.
7
7
  * @module purecloud-platform-client-v2/api/WidgetsApi
8
- * @version 229.2.0
8
+ * @version 231.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class WorkforceManagementApi {
5
5
  /**
6
6
  * WorkforceManagement service.
7
7
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
8
- * @version 229.2.0
8
+ * @version 231.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -118,7 +118,7 @@ import WorkforceManagementApi from './api/WorkforceManagementApi.js';
118
118
  * </pre>
119
119
  * </p>
120
120
  * @module purecloud-platform-client-v2/index
121
- * @version 229.2.0
121
+ * @version 231.0.0
122
122
  */
123
123
  class platformClient {
124
124
  constructor() {