purecloud-platform-client-v2 214.0.0 → 215.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 (93) hide show
  1. package/README.md +31 -3
  2. package/dist/node/purecloud-platform-client-v2.js +172 -82
  3. package/dist/web-amd/purecloud-platform-client-v2.js +172 -82
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +151 -136
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +161 -143
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +6 -0
  9. package/package.json +1 -1
  10. package/src/purecloud-platform-client-v2/AbstractHttpClient.js +29 -0
  11. package/src/purecloud-platform-client-v2/ApiClient.js +21 -1
  12. package/src/purecloud-platform-client-v2/DefaultHttpClient.js +41 -0
  13. package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +1 -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 +1 -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/CarrierServicesApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  74. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  78. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  79. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
  80. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  81. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  82. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  83. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  84. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  85. package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
  86. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  87. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  88. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  89. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  90. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  91. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  92. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
  93. package/src/purecloud-platform-client-v2/index.js +1 -1
@@ -46,6 +46,35 @@ define(['axios', 'qs'], (function (axios, qs) { 'use strict';
46
46
  request(httpRequestOptions) {
47
47
  throw new Error("method must be implemented");
48
48
  }
49
+
50
+ enableHooks() {
51
+ throw new Error("method must be implemented");
52
+ }
53
+
54
+ /**
55
+ * Set a PreHook function that modifies the request config before execution.
56
+ * @param {(config: object) => object | Promise<object> | void} hookFunction
57
+ */
58
+ setPreHook(hookFunction) {
59
+ if (typeof hookFunction !== "function" || hookFunction.length !== 1) {
60
+ throw new Error("preHook must be a function that accepts (config)");
61
+ }
62
+ this.preHook = hookFunction;
63
+ this.enableHooks();
64
+ }
65
+
66
+ /**
67
+ * Set a PostHook function that processes the response or error after execution.
68
+ * @param {(response: object | null, error: Error | null) => object | Promise<object> | void} hookFunction
69
+ */
70
+ setPostHook(hookFunction) {
71
+ if (typeof hookFunction !== "function" || hookFunction.length !== 1) {
72
+ throw new Error("postHook must be a function that accepts (response)");
73
+ }
74
+ this.postHook = hookFunction;
75
+ this.enableHooks();
76
+ }
77
+
49
78
  }
50
79
 
51
80
  class HttpRequestOptions {
@@ -124,6 +153,47 @@ define(['axios', 'qs'], (function (axios, qs) { 'use strict';
124
153
  this._axiosInstance = axios__default["default"].create({});
125
154
  }
126
155
 
156
+
157
+ enableHooks() {
158
+ if (this.preHook && typeof this.preHook === 'function') {
159
+
160
+ if (this.requestInterceptorId !== undefined) {
161
+ axios__default["default"].interceptors.request.eject(this.requestInterceptorId);
162
+ }
163
+
164
+ this.requestInterceptorId = this._axiosInstance.interceptors.request.use(
165
+ async (config) => {
166
+ config = await this.preHook(config); // Call the custom pre-hook
167
+ return config
168
+ },
169
+ (error) => {
170
+ // Handle errors before the request is sent
171
+ console.error('Request Pre-Hook Error:', error.message);
172
+ return Promise.reject(error);
173
+ }
174
+ );
175
+ }
176
+
177
+ if (this.postHook && typeof this.postHook === 'function') {
178
+ // Response interceptor (for post-hooks)
179
+ if (this.responseInterceptorId !== undefined) {
180
+ axios__default["default"].interceptors.response.eject(this.responseInterceptorId);
181
+ }
182
+
183
+ this.responseInterceptorId = this._axiosInstance.interceptors.response.use(
184
+ async (response) => {
185
+ response = await this.postHook(response); // Call the custom post-hook
186
+ return response
187
+ },
188
+ async (error) => {
189
+ console.error('Post-Hook: Response Error', error.message);
190
+ // Optionally call post-hook in case of errors
191
+ return Promise.reject(error);
192
+ }
193
+ );
194
+ }
195
+ }
196
+
127
197
  request(httpRequestOptions) {
128
198
  if(!(httpRequestOptions instanceof HttpRequestOptions)) {
129
199
  throw new Error(`httpRequestOptions must be instance of HttpRequestOptions `);
@@ -617,7 +687,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
617
687
 
618
688
  /**
619
689
  * @module purecloud-platform-client-v2/ApiClient
620
- * @version 214.0.0
690
+ * @version 215.0.0
621
691
  */
622
692
  class ApiClient {
623
693
  /**
@@ -872,6 +942,24 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
872
942
  }
873
943
  }
874
944
 
945
+ /**
946
+ * @description Sets preHook functions for the httpClient
947
+ * @param {string} preHook - method definition for prehook
948
+ */
949
+ setPreHook(preHook) {
950
+ const httpClient = this.getHttpClient();
951
+ httpClient.setPreHook(preHook);
952
+ }
953
+
954
+ /**
955
+ * @description Sets postHook functions for the httpClient
956
+ * @param {string} postHook - method definition for posthook
957
+ */
958
+ setPostHook(postHook) {
959
+ const httpClient = this.getHttpClient();
960
+ httpClient.setPostHook(postHook);
961
+ }
962
+
875
963
  /**
876
964
  * @description Sets the certificate content if MTLS authentication is needed
877
965
  * @param {string} certContent - content for certs
@@ -903,6 +991,8 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
903
991
  }
904
992
  }
905
993
 
994
+
995
+
906
996
  /**
907
997
  * @description Sets the gateway used by the session
908
998
  * @param {object} gateway - Gateway Configuration interface
@@ -2141,7 +2231,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
2141
2231
  /**
2142
2232
  * AgentAssistants service.
2143
2233
  * @module purecloud-platform-client-v2/api/AgentAssistantsApi
2144
- * @version 214.0.0
2234
+ * @version 215.0.0
2145
2235
  */
2146
2236
 
2147
2237
  /**
@@ -2517,7 +2607,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
2517
2607
  /**
2518
2608
  * AgentCopilot service.
2519
2609
  * @module purecloud-platform-client-v2/api/AgentCopilotApi
2520
- * @version 214.0.0
2610
+ * @version 215.0.0
2521
2611
  */
2522
2612
 
2523
2613
  /**
@@ -2593,7 +2683,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
2593
2683
  /**
2594
2684
  * AgentUI service.
2595
2685
  * @module purecloud-platform-client-v2/api/AgentUIApi
2596
- * @version 214.0.0
2686
+ * @version 215.0.0
2597
2687
  */
2598
2688
 
2599
2689
  /**
@@ -2724,7 +2814,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
2724
2814
  /**
2725
2815
  * Alerting service.
2726
2816
  * @module purecloud-platform-client-v2/api/AlertingApi
2727
- * @version 214.0.0
2817
+ * @version 215.0.0
2728
2818
  */
2729
2819
 
2730
2820
  /**
@@ -3429,7 +3519,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
3429
3519
  /**
3430
3520
  * Analytics service.
3431
3521
  * @module purecloud-platform-client-v2/api/AnalyticsApi
3432
- * @version 214.0.0
3522
+ * @version 215.0.0
3433
3523
  */
3434
3524
 
3435
3525
  /**
@@ -6254,7 +6344,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
6254
6344
  /**
6255
6345
  * Architect service.
6256
6346
  * @module purecloud-platform-client-v2/api/ArchitectApi
6257
- * @version 214.0.0
6347
+ * @version 215.0.0
6258
6348
  */
6259
6349
 
6260
6350
  /**
@@ -10376,7 +10466,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
10376
10466
  /**
10377
10467
  * Audit service.
10378
10468
  * @module purecloud-platform-client-v2/api/AuditApi
10379
- * @version 214.0.0
10469
+ * @version 215.0.0
10380
10470
  */
10381
10471
 
10382
10472
  /**
@@ -10577,7 +10667,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
10577
10667
  /**
10578
10668
  * Authorization service.
10579
10669
  * @module purecloud-platform-client-v2/api/AuthorizationApi
10580
- * @version 214.0.0
10670
+ * @version 215.0.0
10581
10671
  */
10582
10672
 
10583
10673
  /**
@@ -11860,7 +11950,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
11860
11950
  /**
11861
11951
  * Billing service.
11862
11952
  * @module purecloud-platform-client-v2/api/BillingApi
11863
- * @version 214.0.0
11953
+ * @version 215.0.0
11864
11954
  */
11865
11955
 
11866
11956
  /**
@@ -11940,7 +12030,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
11940
12030
  /**
11941
12031
  * CarrierServices service.
11942
12032
  * @module purecloud-platform-client-v2/api/CarrierServicesApi
11943
- * @version 214.0.0
12033
+ * @version 215.0.0
11944
12034
  */
11945
12035
 
11946
12036
  /**
@@ -12010,7 +12100,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
12010
12100
  /**
12011
12101
  * Chat service.
12012
12102
  * @module purecloud-platform-client-v2/api/ChatApi
12013
- * @version 214.0.0
12103
+ * @version 215.0.0
12014
12104
  */
12015
12105
 
12016
12106
  /**
@@ -12946,7 +13036,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
12946
13036
  /**
12947
13037
  * Coaching service.
12948
13038
  * @module purecloud-platform-client-v2/api/CoachingApi
12949
- * @version 214.0.0
13039
+ * @version 215.0.0
12950
13040
  */
12951
13041
 
12952
13042
  /**
@@ -13523,7 +13613,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
13523
13613
  /**
13524
13614
  * ContentManagement service.
13525
13615
  * @module purecloud-platform-client-v2/api/ContentManagementApi
13526
- * @version 214.0.0
13616
+ * @version 215.0.0
13527
13617
  */
13528
13618
 
13529
13619
  /**
@@ -14604,7 +14694,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
14604
14694
  /**
14605
14695
  * Conversations service.
14606
14696
  * @module purecloud-platform-client-v2/api/ConversationsApi
14607
- * @version 214.0.0
14697
+ * @version 215.0.0
14608
14698
  */
14609
14699
 
14610
14700
  /**
@@ -21766,7 +21856,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
21766
21856
  /**
21767
21857
  * DataExtensions service.
21768
21858
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
21769
- * @version 214.0.0
21859
+ * @version 215.0.0
21770
21860
  */
21771
21861
 
21772
21862
  /**
@@ -21852,7 +21942,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
21852
21942
  /**
21853
21943
  * DataPrivacy service.
21854
21944
  * @module purecloud-platform-client-v2/api/DataPrivacyApi
21855
- * @version 214.0.0
21945
+ * @version 215.0.0
21856
21946
  */
21857
21947
 
21858
21948
  /**
@@ -22022,7 +22112,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
22022
22112
  /**
22023
22113
  * Downloads service.
22024
22114
  * @module purecloud-platform-client-v2/api/DownloadsApi
22025
- * @version 214.0.0
22115
+ * @version 215.0.0
22026
22116
  */
22027
22117
 
22028
22118
  /**
@@ -22074,7 +22164,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
22074
22164
  /**
22075
22165
  * Emails service.
22076
22166
  * @module purecloud-platform-client-v2/api/EmailsApi
22077
- * @version 214.0.0
22167
+ * @version 215.0.0
22078
22168
  */
22079
22169
 
22080
22170
  /**
@@ -22139,7 +22229,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
22139
22229
  /**
22140
22230
  * EmployeeEngagement service.
22141
22231
  * @module purecloud-platform-client-v2/api/EmployeeEngagementApi
22142
- * @version 214.0.0
22232
+ * @version 215.0.0
22143
22233
  */
22144
22234
 
22145
22235
  /**
@@ -22290,7 +22380,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
22290
22380
  /**
22291
22381
  * Events service.
22292
22382
  * @module purecloud-platform-client-v2/api/EventsApi
22293
- * @version 214.0.0
22383
+ * @version 215.0.0
22294
22384
  */
22295
22385
 
22296
22386
  /**
@@ -22386,7 +22476,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
22386
22476
  /**
22387
22477
  * ExternalContacts service.
22388
22478
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
22389
- * @version 214.0.0
22479
+ * @version 215.0.0
22390
22480
  */
22391
22481
 
22392
22482
  /**
@@ -24951,7 +25041,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24951
25041
  /**
24952
25042
  * Fax service.
24953
25043
  * @module purecloud-platform-client-v2/api/FaxApi
24954
- * @version 214.0.0
25044
+ * @version 215.0.0
24955
25045
  */
24956
25046
 
24957
25047
  /**
@@ -25166,7 +25256,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25166
25256
  /**
25167
25257
  * Flows service.
25168
25258
  * @module purecloud-platform-client-v2/api/FlowsApi
25169
- * @version 214.0.0
25259
+ * @version 215.0.0
25170
25260
  */
25171
25261
 
25172
25262
  /**
@@ -25349,7 +25439,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25349
25439
  /**
25350
25440
  * Gamification service.
25351
25441
  * @module purecloud-platform-client-v2/api/GamificationApi
25352
- * @version 214.0.0
25442
+ * @version 215.0.0
25353
25443
  */
25354
25444
 
25355
25445
  /**
@@ -27491,7 +27581,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
27491
27581
  /**
27492
27582
  * GeneralDataProtectionRegulation service.
27493
27583
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
27494
- * @version 214.0.0
27584
+ * @version 215.0.0
27495
27585
  */
27496
27586
 
27497
27587
  /**
@@ -27621,7 +27711,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
27621
27711
  /**
27622
27712
  * Geolocation service.
27623
27713
  * @module purecloud-platform-client-v2/api/GeolocationApi
27624
- * @version 214.0.0
27714
+ * @version 215.0.0
27625
27715
  */
27626
27716
 
27627
27717
  /**
@@ -27752,7 +27842,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
27752
27842
  /**
27753
27843
  * Greetings service.
27754
27844
  * @module purecloud-platform-client-v2/api/GreetingsApi
27755
- * @version 214.0.0
27845
+ * @version 215.0.0
27756
27846
  */
27757
27847
 
27758
27848
  /**
@@ -28207,7 +28297,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
28207
28297
  /**
28208
28298
  * Groups service.
28209
28299
  * @module purecloud-platform-client-v2/api/GroupsApi
28210
- * @version 214.0.0
28300
+ * @version 215.0.0
28211
28301
  */
28212
28302
 
28213
28303
  /**
@@ -28726,7 +28816,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
28726
28816
  /**
28727
28817
  * IdentityProvider service.
28728
28818
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
28729
- * @version 214.0.0
28819
+ * @version 215.0.0
28730
28820
  */
28731
28821
 
28732
28822
  /**
@@ -29587,7 +29677,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
29587
29677
  /**
29588
29678
  * InfrastructureAsCode service.
29589
29679
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
29590
- * @version 214.0.0
29680
+ * @version 215.0.0
29591
29681
  */
29592
29682
 
29593
29683
  /**
@@ -29754,7 +29844,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
29754
29844
  /**
29755
29845
  * Integrations service.
29756
29846
  * @module purecloud-platform-client-v2/api/IntegrationsApi
29757
- * @version 214.0.0
29847
+ * @version 215.0.0
29758
29848
  */
29759
29849
 
29760
29850
  /**
@@ -32191,7 +32281,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
32191
32281
  /**
32192
32282
  * Journey service.
32193
32283
  * @module purecloud-platform-client-v2/api/JourneyApi
32194
- * @version 214.0.0
32284
+ * @version 215.0.0
32195
32285
  */
32196
32286
 
32197
32287
  /**
@@ -34156,7 +34246,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
34156
34246
  /**
34157
34247
  * Knowledge service.
34158
34248
  * @module purecloud-platform-client-v2/api/KnowledgeApi
34159
- * @version 214.0.0
34249
+ * @version 215.0.0
34160
34250
  */
34161
34251
 
34162
34252
  /**
@@ -38032,7 +38122,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
38032
38122
  /**
38033
38123
  * LanguageUnderstanding service.
38034
38124
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
38035
- * @version 214.0.0
38125
+ * @version 215.0.0
38036
38126
  */
38037
38127
 
38038
38128
  /**
@@ -39065,7 +39155,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
39065
39155
  /**
39066
39156
  * Languages service.
39067
39157
  * @module purecloud-platform-client-v2/api/LanguagesApi
39068
- * @version 214.0.0
39158
+ * @version 215.0.0
39069
39159
  */
39070
39160
 
39071
39161
  /**
@@ -39287,7 +39377,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
39287
39377
  /**
39288
39378
  * Learning service.
39289
39379
  * @module purecloud-platform-client-v2/api/LearningApi
39290
- * @version 214.0.0
39380
+ * @version 215.0.0
39291
39381
  */
39292
39382
 
39293
39383
  /**
@@ -40316,7 +40406,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
40316
40406
  /**
40317
40407
  * License service.
40318
40408
  * @module purecloud-platform-client-v2/api/LicenseApi
40319
- * @version 214.0.0
40409
+ * @version 215.0.0
40320
40410
  */
40321
40411
 
40322
40412
  /**
@@ -40554,7 +40644,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
40554
40644
  /**
40555
40645
  * Locations service.
40556
40646
  * @module purecloud-platform-client-v2/api/LocationsApi
40557
- * @version 214.0.0
40647
+ * @version 215.0.0
40558
40648
  */
40559
40649
 
40560
40650
  /**
@@ -40790,7 +40880,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
40790
40880
  /**
40791
40881
  * LogCapture service.
40792
40882
  * @module purecloud-platform-client-v2/api/LogCaptureApi
40793
- * @version 214.0.0
40883
+ * @version 215.0.0
40794
40884
  */
40795
40885
 
40796
40886
  /**
@@ -40990,7 +41080,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
40990
41080
  /**
40991
41081
  * Messaging service.
40992
41082
  * @module purecloud-platform-client-v2/api/MessagingApi
40993
- * @version 214.0.0
41083
+ * @version 215.0.0
40994
41084
  */
40995
41085
 
40996
41086
  /**
@@ -41349,7 +41439,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
41349
41439
  /**
41350
41440
  * MobileDevices service.
41351
41441
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
41352
- * @version 214.0.0
41442
+ * @version 215.0.0
41353
41443
  */
41354
41444
 
41355
41445
  /**
@@ -41500,7 +41590,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
41500
41590
  /**
41501
41591
  * Notifications service.
41502
41592
  * @module purecloud-platform-client-v2/api/NotificationsApi
41503
- * @version 214.0.0
41593
+ * @version 215.0.0
41504
41594
  */
41505
41595
 
41506
41596
  /**
@@ -41733,7 +41823,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
41733
41823
  /**
41734
41824
  * OAuth service.
41735
41825
  * @module purecloud-platform-client-v2/api/OAuthApi
41736
- * @version 214.0.0
41826
+ * @version 215.0.0
41737
41827
  */
41738
41828
 
41739
41829
  /**
@@ -42099,7 +42189,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
42099
42189
  /**
42100
42190
  * Objects service.
42101
42191
  * @module purecloud-platform-client-v2/api/ObjectsApi
42102
- * @version 214.0.0
42192
+ * @version 215.0.0
42103
42193
  */
42104
42194
 
42105
42195
  /**
@@ -42369,7 +42459,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
42369
42459
  /**
42370
42460
  * OperationalEvents service.
42371
42461
  * @module purecloud-platform-client-v2/api/OperationalEventsApi
42372
- * @version 214.0.0
42462
+ * @version 215.0.0
42373
42463
  */
42374
42464
 
42375
42465
  /**
@@ -42486,7 +42576,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
42486
42576
  /**
42487
42577
  * Organization service.
42488
42578
  * @module purecloud-platform-client-v2/api/OrganizationApi
42489
- * @version 214.0.0
42579
+ * @version 215.0.0
42490
42580
  */
42491
42581
 
42492
42582
  /**
@@ -43028,7 +43118,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
43028
43118
  /**
43029
43119
  * OrganizationAuthorization service.
43030
43120
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
43031
- * @version 214.0.0
43121
+ * @version 215.0.0
43032
43122
  */
43033
43123
 
43034
43124
  /**
@@ -44422,7 +44512,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
44422
44512
  /**
44423
44513
  * Outbound service.
44424
44514
  * @module purecloud-platform-client-v2/api/OutboundApi
44425
- * @version 214.0.0
44515
+ * @version 215.0.0
44426
44516
  */
44427
44517
 
44428
44518
  /**
@@ -48973,7 +49063,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
48973
49063
  /**
48974
49064
  * Presence service.
48975
49065
  * @module purecloud-platform-client-v2/api/PresenceApi
48976
- * @version 214.0.0
49066
+ * @version 215.0.0
48977
49067
  */
48978
49068
 
48979
49069
  /**
@@ -49717,7 +49807,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
49717
49807
  /**
49718
49808
  * ProcessAutomation service.
49719
49809
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
49720
- * @version 214.0.0
49810
+ * @version 215.0.0
49721
49811
  */
49722
49812
 
49723
49813
  /**
@@ -49956,7 +50046,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
49956
50046
  /**
49957
50047
  * Quality service.
49958
50048
  * @module purecloud-platform-client-v2/api/QualityApi
49959
- * @version 214.0.0
50049
+ * @version 215.0.0
49960
50050
  */
49961
50051
 
49962
50052
  /**
@@ -51744,7 +51834,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
51744
51834
  /**
51745
51835
  * Recording service.
51746
51836
  * @module purecloud-platform-client-v2/api/RecordingApi
51747
- * @version 214.0.0
51837
+ * @version 215.0.0
51748
51838
  */
51749
51839
 
51750
51840
  /**
@@ -53403,7 +53493,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
53403
53493
  /**
53404
53494
  * ResponseManagement service.
53405
53495
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
53406
- * @version 214.0.0
53496
+ * @version 215.0.0
53407
53497
  */
53408
53498
 
53409
53499
  /**
@@ -53913,7 +54003,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
53913
54003
  /**
53914
54004
  * Routing service.
53915
54005
  * @module purecloud-platform-client-v2/api/RoutingApi
53916
- * @version 214.0.0
54006
+ * @version 215.0.0
53917
54007
  */
53918
54008
 
53919
54009
  /**
@@ -58035,7 +58125,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
58035
58125
  /**
58036
58126
  * SCIM service.
58037
58127
  * @module purecloud-platform-client-v2/api/SCIMApi
58038
- * @version 214.0.0
58128
+ * @version 215.0.0
58039
58129
  */
58040
58130
 
58041
58131
  /**
@@ -58912,7 +59002,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
58912
59002
  /**
58913
59003
  * ScreenRecording service.
58914
59004
  * @module purecloud-platform-client-v2/api/ScreenRecordingApi
58915
- * @version 214.0.0
59005
+ * @version 215.0.0
58916
59006
  */
58917
59007
 
58918
59008
  /**
@@ -58957,7 +59047,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
58957
59047
  /**
58958
59048
  * Scripts service.
58959
59049
  * @module purecloud-platform-client-v2/api/ScriptsApi
58960
- * @version 214.0.0
59050
+ * @version 215.0.0
58961
59051
  */
58962
59052
 
58963
59053
  /**
@@ -59401,7 +59491,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
59401
59491
  /**
59402
59492
  * Search service.
59403
59493
  * @module purecloud-platform-client-v2/api/SearchApi
59404
- * @version 214.0.0
59494
+ * @version 215.0.0
59405
59495
  */
59406
59496
 
59407
59497
  /**
@@ -60144,7 +60234,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
60144
60234
  /**
60145
60235
  * Settings service.
60146
60236
  * @module purecloud-platform-client-v2/api/SettingsApi
60147
- * @version 214.0.0
60237
+ * @version 215.0.0
60148
60238
  */
60149
60239
 
60150
60240
  /**
@@ -60364,7 +60454,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
60364
60454
  /**
60365
60455
  * SocialMedia service.
60366
60456
  * @module purecloud-platform-client-v2/api/SocialMediaApi
60367
- * @version 214.0.0
60457
+ * @version 215.0.0
60368
60458
  */
60369
60459
 
60370
60460
  /**
@@ -61269,7 +61359,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
61269
61359
  /**
61270
61360
  * SpeechTextAnalytics service.
61271
61361
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
61272
- * @version 214.0.0
61362
+ * @version 215.0.0
61273
61363
  */
61274
61364
 
61275
61365
  /**
@@ -62710,7 +62800,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
62710
62800
  /**
62711
62801
  * Stations service.
62712
62802
  * @module purecloud-platform-client-v2/api/StationsApi
62713
- * @version 214.0.0
62803
+ * @version 215.0.0
62714
62804
  */
62715
62805
 
62716
62806
  /**
@@ -62812,7 +62902,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
62812
62902
  /**
62813
62903
  * Suggest service.
62814
62904
  * @module purecloud-platform-client-v2/api/SuggestApi
62815
- * @version 214.0.0
62905
+ * @version 215.0.0
62816
62906
  */
62817
62907
 
62818
62908
  /**
@@ -62951,7 +63041,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
62951
63041
  /**
62952
63042
  * TaskManagement service.
62953
63043
  * @module purecloud-platform-client-v2/api/TaskManagementApi
62954
- * @version 214.0.0
63044
+ * @version 215.0.0
62955
63045
  */
62956
63046
 
62957
63047
  /**
@@ -65057,7 +65147,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
65057
65147
  /**
65058
65148
  * Teams service.
65059
65149
  * @module purecloud-platform-client-v2/api/TeamsApi
65060
- * @version 214.0.0
65150
+ * @version 215.0.0
65061
65151
  */
65062
65152
 
65063
65153
  /**
@@ -65362,7 +65452,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
65362
65452
  /**
65363
65453
  * Telephony service.
65364
65454
  * @module purecloud-platform-client-v2/api/TelephonyApi
65365
- * @version 214.0.0
65455
+ * @version 215.0.0
65366
65456
  */
65367
65457
 
65368
65458
  /**
@@ -65544,7 +65634,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
65544
65634
  /**
65545
65635
  * TelephonyProvidersEdge service.
65546
65636
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
65547
- * @version 214.0.0
65637
+ * @version 215.0.0
65548
65638
  */
65549
65639
 
65550
65640
  /**
@@ -68995,7 +69085,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
68995
69085
  /**
68996
69086
  * Textbots service.
68997
69087
  * @module purecloud-platform-client-v2/api/TextbotsApi
68998
- * @version 214.0.0
69088
+ * @version 215.0.0
68999
69089
  */
69000
69090
 
69001
69091
  /**
@@ -69123,7 +69213,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
69123
69213
  /**
69124
69214
  * Tokens service.
69125
69215
  * @module purecloud-platform-client-v2/api/TokensApi
69126
- * @version 214.0.0
69216
+ * @version 215.0.0
69127
69217
  */
69128
69218
 
69129
69219
  /**
@@ -69277,7 +69367,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
69277
69367
  /**
69278
69368
  * Uploads service.
69279
69369
  * @module purecloud-platform-client-v2/api/UploadsApi
69280
- * @version 214.0.0
69370
+ * @version 215.0.0
69281
69371
  */
69282
69372
 
69283
69373
  /**
@@ -69545,7 +69635,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
69545
69635
  /**
69546
69636
  * Usage service.
69547
69637
  * @module purecloud-platform-client-v2/api/UsageApi
69548
- * @version 214.0.0
69638
+ * @version 215.0.0
69549
69639
  */
69550
69640
 
69551
69641
  /**
@@ -69760,7 +69850,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
69760
69850
  /**
69761
69851
  * UserRecordings service.
69762
69852
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
69763
- * @version 214.0.0
69853
+ * @version 215.0.0
69764
69854
  */
69765
69855
 
69766
69856
  /**
@@ -69975,7 +70065,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
69975
70065
  /**
69976
70066
  * Users service.
69977
70067
  * @module purecloud-platform-client-v2/api/UsersApi
69978
- * @version 214.0.0
70068
+ * @version 215.0.0
69979
70069
  */
69980
70070
 
69981
70071
  /**
@@ -72928,7 +73018,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
72928
73018
  /**
72929
73019
  * Utilities service.
72930
73020
  * @module purecloud-platform-client-v2/api/UtilitiesApi
72931
- * @version 214.0.0
73021
+ * @version 215.0.0
72932
73022
  */
72933
73023
 
72934
73024
  /**
@@ -73039,7 +73129,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
73039
73129
  /**
73040
73130
  * Voicemail service.
73041
73131
  * @module purecloud-platform-client-v2/api/VoicemailApi
73042
- * @version 214.0.0
73132
+ * @version 215.0.0
73043
73133
  */
73044
73134
 
73045
73135
  /**
@@ -73761,7 +73851,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
73761
73851
  /**
73762
73852
  * WebChat service.
73763
73853
  * @module purecloud-platform-client-v2/api/WebChatApi
73764
- * @version 214.0.0
73854
+ * @version 215.0.0
73765
73855
  */
73766
73856
 
73767
73857
  /**
@@ -74312,7 +74402,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
74312
74402
  /**
74313
74403
  * WebDeployments service.
74314
74404
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
74315
- * @version 214.0.0
74405
+ * @version 215.0.0
74316
74406
  */
74317
74407
 
74318
74408
  /**
@@ -74839,7 +74929,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
74839
74929
  /**
74840
74930
  * WebMessaging service.
74841
74931
  * @module purecloud-platform-client-v2/api/WebMessagingApi
74842
- * @version 214.0.0
74932
+ * @version 215.0.0
74843
74933
  */
74844
74934
 
74845
74935
  /**
@@ -74885,7 +74975,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
74885
74975
  /**
74886
74976
  * Widgets service.
74887
74977
  * @module purecloud-platform-client-v2/api/WidgetsApi
74888
- * @version 214.0.0
74978
+ * @version 215.0.0
74889
74979
  */
74890
74980
 
74891
74981
  /**
@@ -75031,7 +75121,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
75031
75121
  /**
75032
75122
  * WorkforceManagement service.
75033
75123
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
75034
- * @version 214.0.0
75124
+ * @version 215.0.0
75035
75125
  */
75036
75126
 
75037
75127
  /**
@@ -82355,7 +82445,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
82355
82445
  * </pre>
82356
82446
  * </p>
82357
82447
  * @module purecloud-platform-client-v2/index
82358
- * @version 214.0.0
82448
+ * @version 215.0.0
82359
82449
  */
82360
82450
  class platformClient {
82361
82451
  constructor() {