purecloud-platform-client-v2 231.0.0 → 232.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 +22 -3
  2. package/dist/node/purecloud-platform-client-v2.js +362 -102
  3. package/dist/web-amd/purecloud-platform-client-v2.js +362 -102
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +169 -103
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +291 -170
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +753 -261
  9. package/package.json +1 -1
  10. package/src/purecloud-platform-client-v2/ApiClient.js +31 -6
  11. package/src/purecloud-platform-client-v2/api/AIStudioApi.js +1 -1
  12. package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +1 -1
  13. package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +25 -1
  14. package/src/purecloud-platform-client-v2/api/AgentUIApi.js +1 -1
  15. package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
  16. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
  17. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  19. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  21. package/src/purecloud-platform-client-v2/api/BusinessRulesApi.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 +173 -4
  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 +5 -2
  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 +7 -3
  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 +2 -2
  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 +6 -4
  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 +7 -4
  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 +31 -1
  93. package/src/purecloud-platform-client-v2/index.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "purecloud-platform-client-v2",
3
- "version": "231.0.0",
3
+ "version": "232.0.0",
4
4
  "description": "A JavaScript library to interface with the PureCloud Platform API",
5
5
  "license": "MIT",
6
6
  "main": "dist/node/purecloud-platform-client-v2.js",
@@ -6,7 +6,7 @@ import { default as qs } from 'qs';
6
6
 
7
7
  /**
8
8
  * @module purecloud-platform-client-v2/ApiClient
9
- * @version 231.0.0
9
+ * @version 232.0.0
10
10
  */
11
11
  class ApiClient {
12
12
  /**
@@ -72,6 +72,8 @@ class ApiClient {
72
72
  MULTI: 'multi'
73
73
  };
74
74
 
75
+ this.useLegacyParameterFilter = true;
76
+
75
77
  /**
76
78
  * @description Value is `true` if local storage exists. Otherwise, false.
77
79
  */
@@ -1190,12 +1192,35 @@ class ApiClient {
1190
1192
  return Object.keys(query).reduce((url, key) => !query[key] ? url : `${url}&${key}=${query[key]}`, `${loginBasePath}/${path}?`);
1191
1193
  }
1192
1194
 
1195
+ /**
1196
+ * @description If set to `true`, the ApiClient will continue to use its legacy approach for filtering method parameters (mapped to an API Endpoint's query parameter). This is option is meant to facilitate transition from legacy to current and accurate parameters filtering.
1197
+ * @param {boolean} useLegacyParameterFilter - `false` to use modern/accurate approach (default value), `true` to use legacy approach (i.e. parameters of boolean type and equal to false are ignored/filtered, parameters of type integer/number and equal to 0 are ignored/filtered)
1198
+ */
1199
+ setUseLegacyParameterFilter(useLegacyParameterFilter) {
1200
+ this.useLegacyParameterFilter = useLegacyParameterFilter;
1201
+ }
1202
+
1203
+ getUseLegacyParameterFilter() {
1204
+ return this.useLegacyParameterFilter;
1205
+ }
1206
+
1193
1207
  /**
1194
1208
  * Returns a string representation for an actual parameter.
1195
1209
  * @param param The actual parameter.
1196
1210
  * @returns {String} The string representation of <code>param</code>.
1197
1211
  */
1198
1212
  paramToString(param) {
1213
+ if (this.useLegacyParameterFilter !== true) {
1214
+ if (param !== null && param !== undefined) {
1215
+ if (typeof param === "boolean") {
1216
+ return param.toString().toLowerCase();
1217
+ } else if (param instanceof Boolean) {
1218
+ return param.toString().toLowerCase();
1219
+ } else if (typeof param === "number") {
1220
+ return param.toString();
1221
+ }
1222
+ }
1223
+ }
1199
1224
  if (!param) {
1200
1225
  return '';
1201
1226
  }
@@ -1359,16 +1384,16 @@ class ApiClient {
1359
1384
 
1360
1385
  switch (collectionFormat) {
1361
1386
  case 'csv':
1362
- return param.map(this.paramToString).join(',');
1387
+ return param.map((x) => this.paramToString(x)).join(',');
1363
1388
  case 'ssv':
1364
- return param.map(this.paramToString).join(' ');
1389
+ return param.map((x) => this.paramToString(x)).join(' ');
1365
1390
  case 'tsv':
1366
- return param.map(this.paramToString).join('\t');
1391
+ return param.map((x) => this.paramToString(x)).join('\t');
1367
1392
  case 'pipes':
1368
- return param.map(this.paramToString).join('|');
1393
+ return param.map((x) => this.paramToString(x)).join('|');
1369
1394
  case 'multi':
1370
1395
  // return the array directly as axios will handle it as expected
1371
- return param.map(this.paramToString);
1396
+ return param.map((x) => this.paramToString(x));
1372
1397
  default:
1373
1398
  throw new Error(`Unknown collection format: ${collectionFormat}`);
1374
1399
  }
@@ -5,7 +5,7 @@ class AIStudioApi {
5
5
  /**
6
6
  * AIStudio service.
7
7
  * @module purecloud-platform-client-v2/api/AIStudioApi
8
- * @version 231.0.0
8
+ * @version 232.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class AgentAssistantsApi {
5
5
  /**
6
6
  * AgentAssistants service.
7
7
  * @module purecloud-platform-client-v2/api/AgentAssistantsApi
8
- * @version 231.0.0
8
+ * @version 232.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class AgentCopilotApi {
5
5
  /**
6
6
  * AgentCopilot service.
7
7
  * @module purecloud-platform-client-v2/api/AgentCopilotApi
8
- * @version 231.0.0
8
+ * @version 232.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -45,6 +45,30 @@ class AgentCopilotApi {
45
45
  );
46
46
  }
47
47
 
48
+ /**
49
+ * Get information about the support of features for all the languages or only for a certain language.
50
+ *
51
+ * @param {Object} opts Optional parameters
52
+ * @param {String} opts.language Which language are the features supported for
53
+ */
54
+ getAssistantsCopilotFeaturesupport(opts) {
55
+ opts = opts || {};
56
+
57
+
58
+ return this.apiClient.callApi(
59
+ '/api/v2/assistants/copilot/featuresupport',
60
+ 'GET',
61
+ { },
62
+ { 'language': opts['language'] },
63
+ { },
64
+ { },
65
+ null,
66
+ ['PureCloud OAuth'],
67
+ ['application/json'],
68
+ ['application/json']
69
+ );
70
+ }
71
+
48
72
  /**
49
73
  * Update agent copilot configuration
50
74
  *
@@ -5,7 +5,7 @@ class AgentUIApi {
5
5
  /**
6
6
  * AgentUI service.
7
7
  * @module purecloud-platform-client-v2/api/AgentUIApi
8
- * @version 231.0.0
8
+ * @version 232.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class AlertingApi {
5
5
  /**
6
6
  * Alerting service.
7
7
  * @module purecloud-platform-client-v2/api/AlertingApi
8
- * @version 231.0.0
8
+ * @version 232.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class AnalyticsApi {
5
5
  /**
6
6
  * Analytics service.
7
7
  * @module purecloud-platform-client-v2/api/AnalyticsApi
8
- * @version 231.0.0
8
+ * @version 232.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ArchitectApi {
5
5
  /**
6
6
  * Architect service.
7
7
  * @module purecloud-platform-client-v2/api/ArchitectApi
8
- * @version 231.0.0
8
+ * @version 232.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class AuditApi {
5
5
  /**
6
6
  * Audit service.
7
7
  * @module purecloud-platform-client-v2/api/AuditApi
8
- * @version 231.0.0
8
+ * @version 232.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class AuthorizationApi {
5
5
  /**
6
6
  * Authorization service.
7
7
  * @module purecloud-platform-client-v2/api/AuthorizationApi
8
- * @version 231.0.0
8
+ * @version 232.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class BillingApi {
5
5
  /**
6
6
  * Billing service.
7
7
  * @module purecloud-platform-client-v2/api/BillingApi
8
- * @version 231.0.0
8
+ * @version 232.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class BusinessRulesApi {
5
5
  /**
6
6
  * BusinessRules service.
7
7
  * @module purecloud-platform-client-v2/api/BusinessRulesApi
8
- * @version 231.0.0
8
+ * @version 232.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class CarrierServicesApi {
5
5
  /**
6
6
  * CarrierServices service.
7
7
  * @module purecloud-platform-client-v2/api/CarrierServicesApi
8
- * @version 231.0.0
8
+ * @version 232.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ChatApi {
5
5
  /**
6
6
  * Chat service.
7
7
  * @module purecloud-platform-client-v2/api/ChatApi
8
- * @version 231.0.0
8
+ * @version 232.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class CoachingApi {
5
5
  /**
6
6
  * Coaching service.
7
7
  * @module purecloud-platform-client-v2/api/CoachingApi
8
- * @version 231.0.0
8
+ * @version 232.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ContentManagementApi {
5
5
  /**
6
6
  * ContentManagement service.
7
7
  * @module purecloud-platform-client-v2/api/ContentManagementApi
8
- * @version 231.0.0
8
+ * @version 232.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ConversationsApi {
5
5
  /**
6
6
  * Conversations service.
7
7
  * @module purecloud-platform-client-v2/api/ConversationsApi
8
- * @version 231.0.0
8
+ * @version 232.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -246,6 +246,31 @@ class ConversationsApi {
246
246
  );
247
247
  }
248
248
 
249
+ /**
250
+ * Delete an Apple messaging integration
251
+ *
252
+ * @param {String} integrationId Integration ID
253
+ */
254
+ deleteConversationsMessagingIntegrationsAppleIntegrationId(integrationId) {
255
+ // verify the required parameter 'integrationId' is set
256
+ if (integrationId === undefined || integrationId === null || integrationId === '') {
257
+ throw 'Missing the required parameter "integrationId" when calling deleteConversationsMessagingIntegrationsAppleIntegrationId';
258
+ }
259
+
260
+ return this.apiClient.callApi(
261
+ '/api/v2/conversations/messaging/integrations/apple/{integrationId}',
262
+ 'DELETE',
263
+ { 'integrationId': integrationId },
264
+ { },
265
+ { },
266
+ { },
267
+ null,
268
+ ['PureCloud OAuth'],
269
+ ['application/json'],
270
+ ['application/json']
271
+ );
272
+ }
273
+
249
274
  /**
250
275
  * Delete a Facebook messaging integration
251
276
  *
@@ -2381,7 +2406,6 @@ class ConversationsApi {
2381
2406
  * Get Apple messaging integration identity resolution settings
2382
2407
  *
2383
2408
  * @param {String} integrationId Integration ID
2384
- * getConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
2385
2409
  */
2386
2410
  getConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId(integrationId) {
2387
2411
  // verify the required parameter 'integrationId' is set
@@ -2581,6 +2605,63 @@ class ConversationsApi {
2581
2605
  );
2582
2606
  }
2583
2607
 
2608
+ /**
2609
+ * Get a list of Apple Integrations
2610
+ *
2611
+ * @param {Object} opts Optional parameters
2612
+ * @param {Number} opts.pageSize Page size (default to 25)
2613
+ * @param {Number} opts.pageNumber Page number (default to 1)
2614
+ * @param {Object} opts.expand Expand instructions for the return value.
2615
+ * @param {String} opts.supportedContentId Filter integrations returned based on the supported content ID
2616
+ * @param {String} opts.messagingSettingId Filter integrations returned based on the setting ID
2617
+ */
2618
+ getConversationsMessagingIntegrationsApple(opts) {
2619
+ opts = opts || {};
2620
+
2621
+
2622
+ return this.apiClient.callApi(
2623
+ '/api/v2/conversations/messaging/integrations/apple',
2624
+ 'GET',
2625
+ { },
2626
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'expand': opts['expand'],'supportedContent.id': opts['supportedContentId'],'messagingSetting.id': opts['messagingSettingId'] },
2627
+ { },
2628
+ { },
2629
+ null,
2630
+ ['PureCloud OAuth'],
2631
+ ['application/json'],
2632
+ ['application/json']
2633
+ );
2634
+ }
2635
+
2636
+ /**
2637
+ * Get an Apple messaging integration
2638
+ *
2639
+ * @param {String} integrationId Integration ID
2640
+ * @param {Object} opts Optional parameters
2641
+ * @param {Object} opts.expand Expand instructions for the return value.
2642
+ */
2643
+ getConversationsMessagingIntegrationsAppleIntegrationId(integrationId, opts) {
2644
+ opts = opts || {};
2645
+
2646
+ // verify the required parameter 'integrationId' is set
2647
+ if (integrationId === undefined || integrationId === null || integrationId === '') {
2648
+ throw 'Missing the required parameter "integrationId" when calling getConversationsMessagingIntegrationsAppleIntegrationId';
2649
+ }
2650
+
2651
+ return this.apiClient.callApi(
2652
+ '/api/v2/conversations/messaging/integrations/apple/{integrationId}',
2653
+ 'GET',
2654
+ { 'integrationId': integrationId },
2655
+ { 'expand': opts['expand'] },
2656
+ { },
2657
+ { },
2658
+ null,
2659
+ ['PureCloud OAuth'],
2660
+ ['application/json'],
2661
+ ['application/json']
2662
+ );
2663
+ }
2664
+
2584
2665
  /**
2585
2666
  * Get a list of Facebook Integrations
2586
2667
  *
@@ -2886,6 +2967,40 @@ class ConversationsApi {
2886
2967
  );
2887
2968
  }
2888
2969
 
2970
+ /**
2971
+ * Call Authentication provider callback to validate state and code
2972
+ *
2973
+ * @param {String} code The authorization code to be sent to the authentication server during the token request.
2974
+ * @param {String} state The state/nonce value generated by Genesys Auth-Client Service.
2975
+ * @param {Object} opts Optional parameters
2976
+ * @param {String} opts.error Error parameter from OAuth provider
2977
+ */
2978
+ getConversationsMessagingOauthAppleCallback(code, state, opts) {
2979
+ opts = opts || {};
2980
+
2981
+ // verify the required parameter 'code' is set
2982
+ if (code === undefined || code === null) {
2983
+ throw 'Missing the required parameter "code" when calling getConversationsMessagingOauthAppleCallback';
2984
+ }
2985
+ // verify the required parameter 'state' is set
2986
+ if (state === undefined || state === null) {
2987
+ throw 'Missing the required parameter "state" when calling getConversationsMessagingOauthAppleCallback';
2988
+ }
2989
+
2990
+ return this.apiClient.callApi(
2991
+ '/api/v2/conversations/messaging/oauth/apple/callback',
2992
+ 'GET',
2993
+ { },
2994
+ { 'code': code,'state': state,'error': opts['error'] },
2995
+ { },
2996
+ { },
2997
+ null,
2998
+ ['PureCloud OAuth'],
2999
+ ['application/json'],
3000
+ ['application/json']
3001
+ );
3002
+ }
3003
+
2889
3004
  /**
2890
3005
  * Get a messaging setting
2891
3006
  *
@@ -4504,6 +4619,36 @@ class ConversationsApi {
4504
4619
  );
4505
4620
  }
4506
4621
 
4622
+ /**
4623
+ * Update an Apple messaging integration
4624
+ *
4625
+ * @param {String} integrationId Integration ID
4626
+ * @param {Object} body AppleIntegrationUpdateRequest
4627
+ */
4628
+ patchConversationsMessagingIntegrationsAppleIntegrationId(integrationId, body) {
4629
+ // verify the required parameter 'integrationId' is set
4630
+ if (integrationId === undefined || integrationId === null || integrationId === '') {
4631
+ throw 'Missing the required parameter "integrationId" when calling patchConversationsMessagingIntegrationsAppleIntegrationId';
4632
+ }
4633
+ // verify the required parameter 'body' is set
4634
+ if (body === undefined || body === null) {
4635
+ throw 'Missing the required parameter "body" when calling patchConversationsMessagingIntegrationsAppleIntegrationId';
4636
+ }
4637
+
4638
+ return this.apiClient.callApi(
4639
+ '/api/v2/conversations/messaging/integrations/apple/{integrationId}',
4640
+ 'PATCH',
4641
+ { 'integrationId': integrationId },
4642
+ { },
4643
+ { },
4644
+ { },
4645
+ body,
4646
+ ['PureCloud OAuth'],
4647
+ ['application/json'],
4648
+ ['application/json']
4649
+ );
4650
+ }
4651
+
4507
4652
  /**
4508
4653
  * Update Facebook messaging integration
4509
4654
  *
@@ -5958,7 +6103,7 @@ class ConversationsApi {
5958
6103
  }
5959
6104
 
5960
6105
  /**
5961
- * Add participants to a conversation without a user context
6106
+ * Add participants to a conversation on behalf of a user
5962
6107
  *
5963
6108
  * @param {String} conversationId conversationId
5964
6109
  * @param {String} userId userId
@@ -7267,6 +7412,31 @@ class ConversationsApi {
7267
7412
  );
7268
7413
  }
7269
7414
 
7415
+ /**
7416
+ * Create Apple Integration
7417
+ *
7418
+ * @param {Object} body AppleIntegrationRequest
7419
+ */
7420
+ postConversationsMessagingIntegrationsApple(body) {
7421
+ // verify the required parameter 'body' is set
7422
+ if (body === undefined || body === null) {
7423
+ throw 'Missing the required parameter "body" when calling postConversationsMessagingIntegrationsApple';
7424
+ }
7425
+
7426
+ return this.apiClient.callApi(
7427
+ '/api/v2/conversations/messaging/integrations/apple',
7428
+ 'POST',
7429
+ { },
7430
+ { },
7431
+ { },
7432
+ { },
7433
+ body,
7434
+ ['PureCloud OAuth'],
7435
+ ['application/json'],
7436
+ ['application/json']
7437
+ );
7438
+ }
7439
+
7270
7440
  /**
7271
7441
  * Create a Facebook Integration
7272
7442
  *
@@ -8045,7 +8215,6 @@ class ConversationsApi {
8045
8215
  *
8046
8216
  * @param {String} integrationId Integration ID
8047
8217
  * @param {Object} body IdentityResolutionConfig
8048
- * putConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
8049
8218
  */
8050
8219
  putConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId(integrationId, body) {
8051
8220
  // verify the required parameter 'integrationId' is set
@@ -5,7 +5,7 @@ class DataExtensionsApi {
5
5
  /**
6
6
  * DataExtensions service.
7
7
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
8
- * @version 231.0.0
8
+ * @version 232.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class DataPrivacyApi {
5
5
  /**
6
6
  * DataPrivacy service.
7
7
  * @module purecloud-platform-client-v2/api/DataPrivacyApi
8
- * @version 231.0.0
8
+ * @version 232.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class DownloadsApi {
5
5
  /**
6
6
  * Downloads service.
7
7
  * @module purecloud-platform-client-v2/api/DownloadsApi
8
- * @version 231.0.0
8
+ * @version 232.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class EmailsApi {
5
5
  /**
6
6
  * Emails service.
7
7
  * @module purecloud-platform-client-v2/api/EmailsApi
8
- * @version 231.0.0
8
+ * @version 232.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class EmployeeEngagementApi {
5
5
  /**
6
6
  * EmployeeEngagement service.
7
7
  * @module purecloud-platform-client-v2/api/EmployeeEngagementApi
8
- * @version 231.0.0
8
+ * @version 232.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class EventsApi {
5
5
  /**
6
6
  * Events service.
7
7
  * @module purecloud-platform-client-v2/api/EventsApi
8
- * @version 231.0.0
8
+ * @version 232.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ExternalContactsApi {
5
5
  /**
6
6
  * ExternalContacts service.
7
7
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
8
- * @version 231.0.0
8
+ * @version 232.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class FaxApi {
5
5
  /**
6
6
  * Fax service.
7
7
  * @module purecloud-platform-client-v2/api/FaxApi
8
- * @version 231.0.0
8
+ * @version 232.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class FlowsApi {
5
5
  /**
6
6
  * Flows service.
7
7
  * @module purecloud-platform-client-v2/api/FlowsApi
8
- * @version 231.0.0
8
+ * @version 232.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class GamificationApi {
5
5
  /**
6
6
  * Gamification service.
7
7
  * @module purecloud-platform-client-v2/api/GamificationApi
8
- * @version 231.0.0
8
+ * @version 232.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class GeneralDataProtectionRegulationApi {
5
5
  /**
6
6
  * GeneralDataProtectionRegulation service.
7
7
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
8
- * @version 231.0.0
8
+ * @version 232.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class GeolocationApi {
5
5
  /**
6
6
  * Geolocation service.
7
7
  * @module purecloud-platform-client-v2/api/GeolocationApi
8
- * @version 231.0.0
8
+ * @version 232.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class GreetingsApi {
5
5
  /**
6
6
  * Greetings service.
7
7
  * @module purecloud-platform-client-v2/api/GreetingsApi
8
- * @version 231.0.0
8
+ * @version 232.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class GroupsApi {
5
5
  /**
6
6
  * Groups service.
7
7
  * @module purecloud-platform-client-v2/api/GroupsApi
8
- * @version 231.0.0
8
+ * @version 232.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class IdentityProviderApi {
5
5
  /**
6
6
  * IdentityProvider service.
7
7
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
8
- * @version 231.0.0
8
+ * @version 232.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class InfrastructureAsCodeApi {
5
5
  /**
6
6
  * InfrastructureAsCode service.
7
7
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
8
- * @version 231.0.0
8
+ * @version 232.0.0
9
9
  */
10
10
 
11
11
  /**