purecloud-platform-client-v2 230.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 (94) hide show
  1. package/README.md +22 -3
  2. package/dist/node/purecloud-platform-client-v2.js +1247 -141
  3. package/dist/web-amd/purecloud-platform-client-v2.js +1247 -141
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +449 -156
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +571 -223
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +1704 -518
  9. package/package.json +1 -1
  10. package/src/purecloud-platform-client-v2/ApiClient.js +31 -6
  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 +1 -1
  14. package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +25 -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 +238 -4
  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 +5 -2
  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 +7 -3
  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 +108 -2
  65. package/src/purecloud-platform-client-v2/api/RecordingApi.js +3 -3
  66. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/RoutingApi.js +22 -10
  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 +7 -4
  90. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  91. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  92. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  93. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +31 -1
  94. package/src/purecloud-platform-client-v2/index.js +1 -1
@@ -21,6 +21,8 @@ define(['axios', 'qs'], (function (axios, qs) { 'use strict';
21
21
  me_central_1: 'mec1.pure.cloud',
22
22
  ap_northeast_3: 'apne3.pure.cloud',
23
23
  eu_central_2: 'euc2.pure.cloud',
24
+ mx_central_1: 'mxc1.pure.cloud',
25
+ ap_southeast_1: 'apse1.pure.cloud',
24
26
  };
25
27
 
26
28
  class AbstractHttpClient {
@@ -743,7 +745,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
743
745
 
744
746
  /**
745
747
  * @module purecloud-platform-client-v2/ApiClient
746
- * @version 230.0.0
748
+ * @version 232.0.0
747
749
  */
748
750
  class ApiClient {
749
751
  /**
@@ -809,6 +811,8 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
809
811
  MULTI: 'multi'
810
812
  };
811
813
 
814
+ this.useLegacyParameterFilter = true;
815
+
812
816
  /**
813
817
  * @description Value is `true` if local storage exists. Otherwise, false.
814
818
  */
@@ -1927,12 +1931,35 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
1927
1931
  return Object.keys(query).reduce((url, key) => !query[key] ? url : `${url}&${key}=${query[key]}`, `${loginBasePath}/${path}?`);
1928
1932
  }
1929
1933
 
1934
+ /**
1935
+ * @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.
1936
+ * @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)
1937
+ */
1938
+ setUseLegacyParameterFilter(useLegacyParameterFilter) {
1939
+ this.useLegacyParameterFilter = useLegacyParameterFilter;
1940
+ }
1941
+
1942
+ getUseLegacyParameterFilter() {
1943
+ return this.useLegacyParameterFilter;
1944
+ }
1945
+
1930
1946
  /**
1931
1947
  * Returns a string representation for an actual parameter.
1932
1948
  * @param param The actual parameter.
1933
1949
  * @returns {String} The string representation of <code>param</code>.
1934
1950
  */
1935
1951
  paramToString(param) {
1952
+ if (this.useLegacyParameterFilter !== true) {
1953
+ if (param !== null && param !== undefined) {
1954
+ if (typeof param === "boolean") {
1955
+ return param.toString().toLowerCase();
1956
+ } else if (param instanceof Boolean) {
1957
+ return param.toString().toLowerCase();
1958
+ } else if (typeof param === "number") {
1959
+ return param.toString();
1960
+ }
1961
+ }
1962
+ }
1936
1963
  if (!param) {
1937
1964
  return '';
1938
1965
  }
@@ -2096,16 +2123,16 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
2096
2123
 
2097
2124
  switch (collectionFormat) {
2098
2125
  case 'csv':
2099
- return param.map(this.paramToString).join(',');
2126
+ return param.map((x) => this.paramToString(x)).join(',');
2100
2127
  case 'ssv':
2101
- return param.map(this.paramToString).join(' ');
2128
+ return param.map((x) => this.paramToString(x)).join(' ');
2102
2129
  case 'tsv':
2103
- return param.map(this.paramToString).join('\t');
2130
+ return param.map((x) => this.paramToString(x)).join('\t');
2104
2131
  case 'pipes':
2105
- return param.map(this.paramToString).join('|');
2132
+ return param.map((x) => this.paramToString(x)).join('|');
2106
2133
  case 'multi':
2107
2134
  // return the array directly as axios will handle it as expected
2108
- return param.map(this.paramToString);
2135
+ return param.map((x) => this.paramToString(x));
2109
2136
  default:
2110
2137
  throw new Error(`Unknown collection format: ${collectionFormat}`);
2111
2138
  }
@@ -2287,7 +2314,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
2287
2314
  /**
2288
2315
  * AIStudio service.
2289
2316
  * @module purecloud-platform-client-v2/api/AIStudioApi
2290
- * @version 230.0.0
2317
+ * @version 232.0.0
2291
2318
  */
2292
2319
 
2293
2320
  /**
@@ -2302,6 +2329,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
2302
2329
  }
2303
2330
 
2304
2331
 
2332
+ /**
2333
+ * Delete a summary setting.
2334
+ *
2335
+ * @param {String} summarySettingId Summary setting id
2336
+ */
2337
+ deleteConversationsSummariesSetting(summarySettingId) {
2338
+ // verify the required parameter 'summarySettingId' is set
2339
+ if (summarySettingId === undefined || summarySettingId === null || summarySettingId === '') {
2340
+ throw 'Missing the required parameter "summarySettingId" when calling deleteConversationsSummariesSetting';
2341
+ }
2342
+
2343
+ return this.apiClient.callApi(
2344
+ '/api/v2/conversations/summaries/settings/{summarySettingId}',
2345
+ 'DELETE',
2346
+ { 'summarySettingId': summarySettingId },
2347
+ { },
2348
+ { },
2349
+ { },
2350
+ null,
2351
+ ['PureCloud OAuth'],
2352
+ ['application/json'],
2353
+ ['application/json']
2354
+ );
2355
+ }
2356
+
2305
2357
  /**
2306
2358
  * Start the deletion of a guide.
2307
2359
  *
@@ -2328,6 +2380,60 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
2328
2380
  );
2329
2381
  }
2330
2382
 
2383
+ /**
2384
+ * Receive a summary setting.
2385
+ *
2386
+ * @param {String} summarySettingId Summary setting id
2387
+ */
2388
+ getConversationsSummariesSetting(summarySettingId) {
2389
+ // verify the required parameter 'summarySettingId' is set
2390
+ if (summarySettingId === undefined || summarySettingId === null || summarySettingId === '') {
2391
+ throw 'Missing the required parameter "summarySettingId" when calling getConversationsSummariesSetting';
2392
+ }
2393
+
2394
+ return this.apiClient.callApi(
2395
+ '/api/v2/conversations/summaries/settings/{summarySettingId}',
2396
+ 'GET',
2397
+ { 'summarySettingId': summarySettingId },
2398
+ { },
2399
+ { },
2400
+ { },
2401
+ null,
2402
+ ['PureCloud OAuth'],
2403
+ ['application/json'],
2404
+ ['application/json']
2405
+ );
2406
+ }
2407
+
2408
+ /**
2409
+ * Get all summary settings.
2410
+ *
2411
+ * @param {Object} opts Optional parameters
2412
+ * @param {String} opts.language Filter by matching language - case insensitive.
2413
+ * @param {String} opts.name Filter by partially matching name - case insensitive.
2414
+ * @param {Object} opts.sortBy Sort by. Default value dateModified. (default to dateModified)
2415
+ * @param {Object} opts.sortOrder Sort Order. Default value desc. (default to desc)
2416
+ * @param {Number} opts.pageNumber Page number. (default to 1)
2417
+ * @param {Number} opts.pageSize Page size. The maximum page size is 100. (default to 25)
2418
+ */
2419
+ getConversationsSummariesSettings(opts) {
2420
+ opts = opts || {};
2421
+
2422
+
2423
+ return this.apiClient.callApi(
2424
+ '/api/v2/conversations/summaries/settings',
2425
+ 'GET',
2426
+ { },
2427
+ { 'language': opts['language'],'name': opts['name'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'] },
2428
+ { },
2429
+ { },
2430
+ null,
2431
+ ['PureCloud OAuth'],
2432
+ ['application/json'],
2433
+ ['application/json']
2434
+ );
2435
+ }
2436
+
2331
2437
  /**
2332
2438
  * Get guide.
2333
2439
  *
@@ -2576,6 +2682,56 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
2576
2682
  );
2577
2683
  }
2578
2684
 
2685
+ /**
2686
+ * Trigger summary preview event generation.
2687
+ *
2688
+ * @param {Object} body
2689
+ */
2690
+ postConversationsSummariesPreview(body) {
2691
+ // verify the required parameter 'body' is set
2692
+ if (body === undefined || body === null) {
2693
+ throw 'Missing the required parameter "body" when calling postConversationsSummariesPreview';
2694
+ }
2695
+
2696
+ return this.apiClient.callApi(
2697
+ '/api/v2/conversations/summaries/preview',
2698
+ 'POST',
2699
+ { },
2700
+ { },
2701
+ { },
2702
+ { },
2703
+ body,
2704
+ ['PureCloud OAuth'],
2705
+ ['application/json'],
2706
+ ['application/json']
2707
+ );
2708
+ }
2709
+
2710
+ /**
2711
+ * Create a summary setting.
2712
+ *
2713
+ * @param {Object} body
2714
+ */
2715
+ postConversationsSummariesSettings(body) {
2716
+ // verify the required parameter 'body' is set
2717
+ if (body === undefined || body === null) {
2718
+ throw 'Missing the required parameter "body" when calling postConversationsSummariesSettings';
2719
+ }
2720
+
2721
+ return this.apiClient.callApi(
2722
+ '/api/v2/conversations/summaries/settings',
2723
+ 'POST',
2724
+ { },
2725
+ { },
2726
+ { },
2727
+ { },
2728
+ body,
2729
+ ['PureCloud OAuth'],
2730
+ ['application/json'],
2731
+ ['application/json']
2732
+ );
2733
+ }
2734
+
2579
2735
  /**
2580
2736
  * Start the publishing of a guide version.
2581
2737
  *
@@ -2694,13 +2850,43 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
2694
2850
  );
2695
2851
  }
2696
2852
 
2853
+ /**
2854
+ * Update a summary setting.
2855
+ *
2856
+ * @param {String} summarySettingId Summary setting id
2857
+ * @param {Object} body
2858
+ */
2859
+ putConversationsSummariesSetting(summarySettingId, body) {
2860
+ // verify the required parameter 'summarySettingId' is set
2861
+ if (summarySettingId === undefined || summarySettingId === null || summarySettingId === '') {
2862
+ throw 'Missing the required parameter "summarySettingId" when calling putConversationsSummariesSetting';
2863
+ }
2864
+ // verify the required parameter 'body' is set
2865
+ if (body === undefined || body === null) {
2866
+ throw 'Missing the required parameter "body" when calling putConversationsSummariesSetting';
2867
+ }
2868
+
2869
+ return this.apiClient.callApi(
2870
+ '/api/v2/conversations/summaries/settings/{summarySettingId}',
2871
+ 'PUT',
2872
+ { 'summarySettingId': summarySettingId },
2873
+ { },
2874
+ { },
2875
+ { },
2876
+ body,
2877
+ ['PureCloud OAuth'],
2878
+ ['application/json'],
2879
+ ['application/json']
2880
+ );
2881
+ }
2882
+
2697
2883
  }
2698
2884
 
2699
2885
  class AgentAssistantsApi {
2700
2886
  /**
2701
2887
  * AgentAssistants service.
2702
2888
  * @module purecloud-platform-client-v2/api/AgentAssistantsApi
2703
- * @version 230.0.0
2889
+ * @version 232.0.0
2704
2890
  */
2705
2891
 
2706
2892
  /**
@@ -3186,7 +3372,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
3186
3372
  /**
3187
3373
  * AgentCopilot service.
3188
3374
  * @module purecloud-platform-client-v2/api/AgentCopilotApi
3189
- * @version 230.0.0
3375
+ * @version 232.0.0
3190
3376
  */
3191
3377
 
3192
3378
  /**
@@ -3226,6 +3412,30 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
3226
3412
  );
3227
3413
  }
3228
3414
 
3415
+ /**
3416
+ * Get information about the support of features for all the languages or only for a certain language.
3417
+ *
3418
+ * @param {Object} opts Optional parameters
3419
+ * @param {String} opts.language Which language are the features supported for
3420
+ */
3421
+ getAssistantsCopilotFeaturesupport(opts) {
3422
+ opts = opts || {};
3423
+
3424
+
3425
+ return this.apiClient.callApi(
3426
+ '/api/v2/assistants/copilot/featuresupport',
3427
+ 'GET',
3428
+ { },
3429
+ { 'language': opts['language'] },
3430
+ { },
3431
+ { },
3432
+ null,
3433
+ ['PureCloud OAuth'],
3434
+ ['application/json'],
3435
+ ['application/json']
3436
+ );
3437
+ }
3438
+
3229
3439
  /**
3230
3440
  * Update agent copilot configuration
3231
3441
  *
@@ -3262,7 +3472,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
3262
3472
  /**
3263
3473
  * AgentUI service.
3264
3474
  * @module purecloud-platform-client-v2/api/AgentUIApi
3265
- * @version 230.0.0
3475
+ * @version 232.0.0
3266
3476
  */
3267
3477
 
3268
3478
  /**
@@ -3393,7 +3603,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
3393
3603
  /**
3394
3604
  * Alerting service.
3395
3605
  * @module purecloud-platform-client-v2/api/AlertingApi
3396
- * @version 230.0.0
3606
+ * @version 232.0.0
3397
3607
  */
3398
3608
 
3399
3609
  /**
@@ -3794,7 +4004,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
3794
4004
  /**
3795
4005
  * Analytics service.
3796
4006
  * @module purecloud-platform-client-v2/api/AnalyticsApi
3797
- * @version 230.0.0
4007
+ * @version 232.0.0
3798
4008
  */
3799
4009
 
3800
4010
  /**
@@ -4726,6 +4936,62 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
4726
4936
  );
4727
4937
  }
4728
4938
 
4939
+ /**
4940
+ * Get analytics data warehouse file download
4941
+ *
4942
+ * @param {String} downloadId Unique file Id to download
4943
+ * getAnalyticsDataextractionDownload is a preview method and is subject to both breaking and non-breaking changes at any time without notice
4944
+ */
4945
+ getAnalyticsDataextractionDownload(downloadId) {
4946
+ // verify the required parameter 'downloadId' is set
4947
+ if (downloadId === undefined || downloadId === null || downloadId === '') {
4948
+ throw 'Missing the required parameter "downloadId" when calling getAnalyticsDataextractionDownload';
4949
+ }
4950
+
4951
+ return this.apiClient.callApi(
4952
+ '/api/v2/analytics/dataextraction/downloads/{downloadId}',
4953
+ 'GET',
4954
+ { 'downloadId': downloadId },
4955
+ { },
4956
+ { },
4957
+ { },
4958
+ null,
4959
+ ['PureCloud OAuth'],
4960
+ ['application/json'],
4961
+ ['application/json']
4962
+ );
4963
+ }
4964
+
4965
+ /**
4966
+ * Get metadata on files available for extraction
4967
+ *
4968
+ * @param {Object} opts Optional parameters
4969
+ * @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
4970
+ * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
4971
+ * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
4972
+ * @param {String} opts.dataSchema Data schema like conversations
4973
+ * @param {Date} opts.dateStart Start DateTime filter. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z
4974
+ * @param {Date} opts.dateEnd End DateTime filter. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z
4975
+ * getAnalyticsDataextractionDownloadsMetadata is a preview method and is subject to both breaking and non-breaking changes at any time without notice
4976
+ */
4977
+ getAnalyticsDataextractionDownloadsMetadata(opts) {
4978
+ opts = opts || {};
4979
+
4980
+
4981
+ return this.apiClient.callApi(
4982
+ '/api/v2/analytics/dataextraction/downloads/metadata',
4983
+ 'GET',
4984
+ { },
4985
+ { 'before': opts['before'],'after': opts['after'],'pageSize': opts['pageSize'],'dataSchema': opts['dataSchema'],'dateStart': opts['dateStart'],'dateEnd': opts['dateEnd'] },
4986
+ { },
4987
+ { },
4988
+ null,
4989
+ ['PureCloud OAuth'],
4990
+ ['application/json'],
4991
+ ['application/json']
4992
+ );
4993
+ }
4994
+
4729
4995
  /**
4730
4996
  * Get analytics data retention setting
4731
4997
  *
@@ -6018,6 +6284,32 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
6018
6284
  );
6019
6285
  }
6020
6286
 
6287
+ /**
6288
+ * Get download URLs for analytics data warehouse files
6289
+ *
6290
+ * @param {Object} body request
6291
+ * postAnalyticsDataextractionDownloadsBulk is a preview method and is subject to both breaking and non-breaking changes at any time without notice
6292
+ */
6293
+ postAnalyticsDataextractionDownloadsBulk(body) {
6294
+ // verify the required parameter 'body' is set
6295
+ if (body === undefined || body === null) {
6296
+ throw 'Missing the required parameter "body" when calling postAnalyticsDataextractionDownloadsBulk';
6297
+ }
6298
+
6299
+ return this.apiClient.callApi(
6300
+ '/api/v2/analytics/dataextraction/downloads/bulk',
6301
+ 'POST',
6302
+ { },
6303
+ { },
6304
+ { },
6305
+ { },
6306
+ body,
6307
+ ['PureCloud OAuth'],
6308
+ ['application/json'],
6309
+ ['application/json']
6310
+ );
6311
+ }
6312
+
6021
6313
  /**
6022
6314
  * Query for evaluation aggregates asynchronously
6023
6315
  *
@@ -6980,7 +7272,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
6980
7272
  /**
6981
7273
  * Architect service.
6982
7274
  * @module purecloud-platform-client-v2/api/ArchitectApi
6983
- * @version 230.0.0
7275
+ * @version 232.0.0
6984
7276
  */
6985
7277
 
6986
7278
  /**
@@ -11275,7 +11567,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
11275
11567
  /**
11276
11568
  * Audit service.
11277
11569
  * @module purecloud-platform-client-v2/api/AuditApi
11278
- * @version 230.0.0
11570
+ * @version 232.0.0
11279
11571
  */
11280
11572
 
11281
11573
  /**
@@ -11476,7 +11768,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
11476
11768
  /**
11477
11769
  * Authorization service.
11478
11770
  * @module purecloud-platform-client-v2/api/AuthorizationApi
11479
- * @version 230.0.0
11771
+ * @version 232.0.0
11480
11772
  */
11481
11773
 
11482
11774
  /**
@@ -13191,7 +13483,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
13191
13483
  /**
13192
13484
  * Billing service.
13193
13485
  * @module purecloud-platform-client-v2/api/BillingApi
13194
- * @version 230.0.0
13486
+ * @version 232.0.0
13195
13487
  */
13196
13488
 
13197
13489
  /**
@@ -13447,7 +13739,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
13447
13739
  /**
13448
13740
  * BusinessRules service.
13449
13741
  * @module purecloud-platform-client-v2/api/BusinessRulesApi
13450
- * @version 230.0.0
13742
+ * @version 232.0.0
13451
13743
  */
13452
13744
 
13453
13745
  /**
@@ -14363,7 +14655,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
14363
14655
  /**
14364
14656
  * CarrierServices service.
14365
14657
  * @module purecloud-platform-client-v2/api/CarrierServicesApi
14366
- * @version 230.0.0
14658
+ * @version 232.0.0
14367
14659
  */
14368
14660
 
14369
14661
  /**
@@ -14433,7 +14725,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
14433
14725
  /**
14434
14726
  * Chat service.
14435
14727
  * @module purecloud-platform-client-v2/api/ChatApi
14436
- * @version 230.0.0
14728
+ * @version 232.0.0
14437
14729
  */
14438
14730
 
14439
14731
  /**
@@ -15414,7 +15706,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
15414
15706
  /**
15415
15707
  * Coaching service.
15416
15708
  * @module purecloud-platform-client-v2/api/CoachingApi
15417
- * @version 230.0.0
15709
+ * @version 232.0.0
15418
15710
  */
15419
15711
 
15420
15712
  /**
@@ -15991,7 +16283,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
15991
16283
  /**
15992
16284
  * ContentManagement service.
15993
16285
  * @module purecloud-platform-client-v2/api/ContentManagementApi
15994
- * @version 230.0.0
16286
+ * @version 232.0.0
15995
16287
  */
15996
16288
 
15997
16289
  /**
@@ -17072,7 +17364,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
17072
17364
  /**
17073
17365
  * Conversations service.
17074
17366
  * @module purecloud-platform-client-v2/api/ConversationsApi
17075
- * @version 230.0.0
17367
+ * @version 232.0.0
17076
17368
  */
17077
17369
 
17078
17370
  /**
@@ -17313,6 +17605,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
17313
17605
  );
17314
17606
  }
17315
17607
 
17608
+ /**
17609
+ * Delete an Apple messaging integration
17610
+ *
17611
+ * @param {String} integrationId Integration ID
17612
+ */
17613
+ deleteConversationsMessagingIntegrationsAppleIntegrationId(integrationId) {
17614
+ // verify the required parameter 'integrationId' is set
17615
+ if (integrationId === undefined || integrationId === null || integrationId === '') {
17616
+ throw 'Missing the required parameter "integrationId" when calling deleteConversationsMessagingIntegrationsAppleIntegrationId';
17617
+ }
17618
+
17619
+ return this.apiClient.callApi(
17620
+ '/api/v2/conversations/messaging/integrations/apple/{integrationId}',
17621
+ 'DELETE',
17622
+ { 'integrationId': integrationId },
17623
+ { },
17624
+ { },
17625
+ { },
17626
+ null,
17627
+ ['PureCloud OAuth'],
17628
+ ['application/json'],
17629
+ ['application/json']
17630
+ );
17631
+ }
17632
+
17316
17633
  /**
17317
17634
  * Delete a Facebook messaging integration
17318
17635
  *
@@ -19448,7 +19765,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
19448
19765
  * Get Apple messaging integration identity resolution settings
19449
19766
  *
19450
19767
  * @param {String} integrationId Integration ID
19451
- * getConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
19452
19768
  */
19453
19769
  getConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId(integrationId) {
19454
19770
  // verify the required parameter 'integrationId' is set
@@ -19648,6 +19964,63 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
19648
19964
  );
19649
19965
  }
19650
19966
 
19967
+ /**
19968
+ * Get a list of Apple Integrations
19969
+ *
19970
+ * @param {Object} opts Optional parameters
19971
+ * @param {Number} opts.pageSize Page size (default to 25)
19972
+ * @param {Number} opts.pageNumber Page number (default to 1)
19973
+ * @param {Object} opts.expand Expand instructions for the return value.
19974
+ * @param {String} opts.supportedContentId Filter integrations returned based on the supported content ID
19975
+ * @param {String} opts.messagingSettingId Filter integrations returned based on the setting ID
19976
+ */
19977
+ getConversationsMessagingIntegrationsApple(opts) {
19978
+ opts = opts || {};
19979
+
19980
+
19981
+ return this.apiClient.callApi(
19982
+ '/api/v2/conversations/messaging/integrations/apple',
19983
+ 'GET',
19984
+ { },
19985
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'expand': opts['expand'],'supportedContent.id': opts['supportedContentId'],'messagingSetting.id': opts['messagingSettingId'] },
19986
+ { },
19987
+ { },
19988
+ null,
19989
+ ['PureCloud OAuth'],
19990
+ ['application/json'],
19991
+ ['application/json']
19992
+ );
19993
+ }
19994
+
19995
+ /**
19996
+ * Get an Apple messaging integration
19997
+ *
19998
+ * @param {String} integrationId Integration ID
19999
+ * @param {Object} opts Optional parameters
20000
+ * @param {Object} opts.expand Expand instructions for the return value.
20001
+ */
20002
+ getConversationsMessagingIntegrationsAppleIntegrationId(integrationId, opts) {
20003
+ opts = opts || {};
20004
+
20005
+ // verify the required parameter 'integrationId' is set
20006
+ if (integrationId === undefined || integrationId === null || integrationId === '') {
20007
+ throw 'Missing the required parameter "integrationId" when calling getConversationsMessagingIntegrationsAppleIntegrationId';
20008
+ }
20009
+
20010
+ return this.apiClient.callApi(
20011
+ '/api/v2/conversations/messaging/integrations/apple/{integrationId}',
20012
+ 'GET',
20013
+ { 'integrationId': integrationId },
20014
+ { 'expand': opts['expand'] },
20015
+ { },
20016
+ { },
20017
+ null,
20018
+ ['PureCloud OAuth'],
20019
+ ['application/json'],
20020
+ ['application/json']
20021
+ );
20022
+ }
20023
+
19651
20024
  /**
19652
20025
  * Get a list of Facebook Integrations
19653
20026
  *
@@ -19953,6 +20326,40 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
19953
20326
  );
19954
20327
  }
19955
20328
 
20329
+ /**
20330
+ * Call Authentication provider callback to validate state and code
20331
+ *
20332
+ * @param {String} code The authorization code to be sent to the authentication server during the token request.
20333
+ * @param {String} state The state/nonce value generated by Genesys Auth-Client Service.
20334
+ * @param {Object} opts Optional parameters
20335
+ * @param {String} opts.error Error parameter from OAuth provider
20336
+ */
20337
+ getConversationsMessagingOauthAppleCallback(code, state, opts) {
20338
+ opts = opts || {};
20339
+
20340
+ // verify the required parameter 'code' is set
20341
+ if (code === undefined || code === null) {
20342
+ throw 'Missing the required parameter "code" when calling getConversationsMessagingOauthAppleCallback';
20343
+ }
20344
+ // verify the required parameter 'state' is set
20345
+ if (state === undefined || state === null) {
20346
+ throw 'Missing the required parameter "state" when calling getConversationsMessagingOauthAppleCallback';
20347
+ }
20348
+
20349
+ return this.apiClient.callApi(
20350
+ '/api/v2/conversations/messaging/oauth/apple/callback',
20351
+ 'GET',
20352
+ { },
20353
+ { 'code': code,'state': state,'error': opts['error'] },
20354
+ { },
20355
+ { },
20356
+ null,
20357
+ ['PureCloud OAuth'],
20358
+ ['application/json'],
20359
+ ['application/json']
20360
+ );
20361
+ }
20362
+
19956
20363
  /**
19957
20364
  * Get a messaging setting
19958
20365
  *
@@ -21571,6 +21978,36 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
21571
21978
  );
21572
21979
  }
21573
21980
 
21981
+ /**
21982
+ * Update an Apple messaging integration
21983
+ *
21984
+ * @param {String} integrationId Integration ID
21985
+ * @param {Object} body AppleIntegrationUpdateRequest
21986
+ */
21987
+ patchConversationsMessagingIntegrationsAppleIntegrationId(integrationId, body) {
21988
+ // verify the required parameter 'integrationId' is set
21989
+ if (integrationId === undefined || integrationId === null || integrationId === '') {
21990
+ throw 'Missing the required parameter "integrationId" when calling patchConversationsMessagingIntegrationsAppleIntegrationId';
21991
+ }
21992
+ // verify the required parameter 'body' is set
21993
+ if (body === undefined || body === null) {
21994
+ throw 'Missing the required parameter "body" when calling patchConversationsMessagingIntegrationsAppleIntegrationId';
21995
+ }
21996
+
21997
+ return this.apiClient.callApi(
21998
+ '/api/v2/conversations/messaging/integrations/apple/{integrationId}',
21999
+ 'PATCH',
22000
+ { 'integrationId': integrationId },
22001
+ { },
22002
+ { },
22003
+ { },
22004
+ body,
22005
+ ['PureCloud OAuth'],
22006
+ ['application/json'],
22007
+ ['application/json']
22008
+ );
22009
+ }
22010
+
21574
22011
  /**
21575
22012
  * Update Facebook messaging integration
21576
22013
  *
@@ -23024,6 +23461,41 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
23024
23461
  );
23025
23462
  }
23026
23463
 
23464
+ /**
23465
+ * Add participants to a conversation on behalf of a user
23466
+ *
23467
+ * @param {String} conversationId conversationId
23468
+ * @param {String} userId userId
23469
+ * @param {Object} body Conversation
23470
+ */
23471
+ postConversationsCallParticipantsUserUserId(conversationId, userId, body) {
23472
+ // verify the required parameter 'conversationId' is set
23473
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
23474
+ throw 'Missing the required parameter "conversationId" when calling postConversationsCallParticipantsUserUserId';
23475
+ }
23476
+ // verify the required parameter 'userId' is set
23477
+ if (userId === undefined || userId === null || userId === '') {
23478
+ throw 'Missing the required parameter "userId" when calling postConversationsCallParticipantsUserUserId';
23479
+ }
23480
+ // verify the required parameter 'body' is set
23481
+ if (body === undefined || body === null) {
23482
+ throw 'Missing the required parameter "body" when calling postConversationsCallParticipantsUserUserId';
23483
+ }
23484
+
23485
+ return this.apiClient.callApi(
23486
+ '/api/v2/conversations/calls/{conversationId}/participants/user/{userId}',
23487
+ 'POST',
23488
+ { 'conversationId': conversationId,'userId': userId },
23489
+ { },
23490
+ { },
23491
+ { },
23492
+ body,
23493
+ ['PureCloud OAuth'],
23494
+ ['application/json'],
23495
+ ['application/json']
23496
+ );
23497
+ }
23498
+
23027
23499
  /**
23028
23500
  * Apply wrap-up for this conversation communication
23029
23501
  *
@@ -23198,6 +23670,36 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
23198
23670
  );
23199
23671
  }
23200
23672
 
23673
+ /**
23674
+ * Create a call conversation on behalf of a user
23675
+ *
23676
+ * @param {String} userId userId
23677
+ * @param {Object} body Call request
23678
+ */
23679
+ postConversationsCallsUserUserId(userId, body) {
23680
+ // verify the required parameter 'userId' is set
23681
+ if (userId === undefined || userId === null || userId === '') {
23682
+ throw 'Missing the required parameter "userId" when calling postConversationsCallsUserUserId';
23683
+ }
23684
+ // verify the required parameter 'body' is set
23685
+ if (body === undefined || body === null) {
23686
+ throw 'Missing the required parameter "body" when calling postConversationsCallsUserUserId';
23687
+ }
23688
+
23689
+ return this.apiClient.callApi(
23690
+ '/api/v2/conversations/calls/user/{userId}',
23691
+ 'POST',
23692
+ { 'userId': userId },
23693
+ { },
23694
+ { },
23695
+ { },
23696
+ body,
23697
+ ['PureCloud OAuth'],
23698
+ ['application/json'],
23699
+ ['application/json']
23700
+ );
23701
+ }
23702
+
23201
23703
  /**
23202
23704
  * Send a message on behalf of a communication in a chat conversation.
23203
23705
  * This endpoint is deprecated. Please see the article https://help.genesys.cloud/articles/deprecation-removal-of-acd-web-chat-version-2/.
@@ -23608,7 +24110,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
23608
24110
 
23609
24111
  /**
23610
24112
  * Reconnect the user to the most recently disconnected customer on a fully disconnected email conversation
23611
- *
24113
+ * This request is not valid when using the Client Credentials OAuth grant.
23612
24114
  * @param {String} conversationId conversationId
23613
24115
  */
23614
24116
  postConversationsEmailReconnect(conversationId) {
@@ -24269,6 +24771,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24269
24771
  );
24270
24772
  }
24271
24773
 
24774
+ /**
24775
+ * Create Apple Integration
24776
+ *
24777
+ * @param {Object} body AppleIntegrationRequest
24778
+ */
24779
+ postConversationsMessagingIntegrationsApple(body) {
24780
+ // verify the required parameter 'body' is set
24781
+ if (body === undefined || body === null) {
24782
+ throw 'Missing the required parameter "body" when calling postConversationsMessagingIntegrationsApple';
24783
+ }
24784
+
24785
+ return this.apiClient.callApi(
24786
+ '/api/v2/conversations/messaging/integrations/apple',
24787
+ 'POST',
24788
+ { },
24789
+ { },
24790
+ { },
24791
+ { },
24792
+ body,
24793
+ ['PureCloud OAuth'],
24794
+ ['application/json'],
24795
+ ['application/json']
24796
+ );
24797
+ }
24798
+
24272
24799
  /**
24273
24800
  * Create a Facebook Integration
24274
24801
  *
@@ -25047,7 +25574,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25047
25574
  *
25048
25575
  * @param {String} integrationId Integration ID
25049
25576
  * @param {Object} body IdentityResolutionConfig
25050
- * putConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
25051
25577
  */
25052
25578
  putConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId(integrationId, body) {
25053
25579
  // verify the required parameter 'integrationId' is set
@@ -25395,7 +25921,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25395
25921
  /**
25396
25922
  * DataExtensions service.
25397
25923
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
25398
- * @version 230.0.0
25924
+ * @version 232.0.0
25399
25925
  */
25400
25926
 
25401
25927
  /**
@@ -25481,7 +26007,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25481
26007
  /**
25482
26008
  * DataPrivacy service.
25483
26009
  * @module purecloud-platform-client-v2/api/DataPrivacyApi
25484
- * @version 230.0.0
26010
+ * @version 232.0.0
25485
26011
  */
25486
26012
 
25487
26013
  /**
@@ -25651,7 +26177,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25651
26177
  /**
25652
26178
  * Downloads service.
25653
26179
  * @module purecloud-platform-client-v2/api/DownloadsApi
25654
- * @version 230.0.0
26180
+ * @version 232.0.0
25655
26181
  */
25656
26182
 
25657
26183
  /**
@@ -25703,7 +26229,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25703
26229
  /**
25704
26230
  * Emails service.
25705
26231
  * @module purecloud-platform-client-v2/api/EmailsApi
25706
- * @version 230.0.0
26232
+ * @version 232.0.0
25707
26233
  */
25708
26234
 
25709
26235
  /**
@@ -25832,7 +26358,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25832
26358
  /**
25833
26359
  * EmployeeEngagement service.
25834
26360
  * @module purecloud-platform-client-v2/api/EmployeeEngagementApi
25835
- * @version 230.0.0
26361
+ * @version 232.0.0
25836
26362
  */
25837
26363
 
25838
26364
  /**
@@ -25983,7 +26509,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25983
26509
  /**
25984
26510
  * Events service.
25985
26511
  * @module purecloud-platform-client-v2/api/EventsApi
25986
- * @version 230.0.0
26512
+ * @version 232.0.0
25987
26513
  */
25988
26514
 
25989
26515
  /**
@@ -26079,7 +26605,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
26079
26605
  /**
26080
26606
  * ExternalContacts service.
26081
26607
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
26082
- * @version 230.0.0
26608
+ * @version 232.0.0
26083
26609
  */
26084
26610
 
26085
26611
  /**
@@ -29326,7 +29852,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
29326
29852
  /**
29327
29853
  * Fax service.
29328
29854
  * @module purecloud-platform-client-v2/api/FaxApi
29329
- * @version 230.0.0
29855
+ * @version 232.0.0
29330
29856
  */
29331
29857
 
29332
29858
  /**
@@ -29541,7 +30067,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
29541
30067
  /**
29542
30068
  * Flows service.
29543
30069
  * @module purecloud-platform-client-v2/api/FlowsApi
29544
- * @version 230.0.0
30070
+ * @version 232.0.0
29545
30071
  */
29546
30072
 
29547
30073
  /**
@@ -29750,7 +30276,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
29750
30276
  /**
29751
30277
  * Gamification service.
29752
30278
  * @module purecloud-platform-client-v2/api/GamificationApi
29753
- * @version 230.0.0
30279
+ * @version 232.0.0
29754
30280
  */
29755
30281
 
29756
30282
  /**
@@ -32257,7 +32783,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
32257
32783
  /**
32258
32784
  * GeneralDataProtectionRegulation service.
32259
32785
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
32260
- * @version 230.0.0
32786
+ * @version 232.0.0
32261
32787
  */
32262
32788
 
32263
32789
  /**
@@ -32387,7 +32913,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
32387
32913
  /**
32388
32914
  * Geolocation service.
32389
32915
  * @module purecloud-platform-client-v2/api/GeolocationApi
32390
- * @version 230.0.0
32916
+ * @version 232.0.0
32391
32917
  */
32392
32918
 
32393
32919
  /**
@@ -32518,7 +33044,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
32518
33044
  /**
32519
33045
  * Greetings service.
32520
33046
  * @module purecloud-platform-client-v2/api/GreetingsApi
32521
- * @version 230.0.0
33047
+ * @version 232.0.0
32522
33048
  */
32523
33049
 
32524
33050
  /**
@@ -33060,7 +33586,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
33060
33586
  /**
33061
33587
  * Groups service.
33062
33588
  * @module purecloud-platform-client-v2/api/GroupsApi
33063
- * @version 230.0.0
33589
+ * @version 232.0.0
33064
33590
  */
33065
33591
 
33066
33592
  /**
@@ -33579,7 +34105,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
33579
34105
  /**
33580
34106
  * IdentityProvider service.
33581
34107
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
33582
- * @version 230.0.0
34108
+ * @version 232.0.0
33583
34109
  */
33584
34110
 
33585
34111
  /**
@@ -34440,7 +34966,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
34440
34966
  /**
34441
34967
  * InfrastructureAsCode service.
34442
34968
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
34443
- * @version 230.0.0
34969
+ * @version 232.0.0
34444
34970
  */
34445
34971
 
34446
34972
  /**
@@ -34607,7 +35133,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
34607
35133
  /**
34608
35134
  * Integrations service.
34609
35135
  * @module purecloud-platform-client-v2/api/IntegrationsApi
34610
- * @version 230.0.0
35136
+ * @version 232.0.0
34611
35137
  */
34612
35138
 
34613
35139
  /**
@@ -34791,6 +35317,9 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
34791
35317
  * @param {Array.<String>} opts.expand variable name requested by expand list
34792
35318
  * @param {String} opts.nextPage next page token
34793
35319
  * @param {String} opts.previousPage Previous page token
35320
+ * @param {Array.<String>} opts.ids Comma-separated list of integration IDs to filter by (max 100)
35321
+ * @param {String} opts.integrationType Filter integrations by integration type ID
35322
+ * @param {Object} opts.reportedState Filter integrations by reported state (case-insensitive)
34794
35323
  */
34795
35324
  getIntegrations(opts) {
34796
35325
  opts = opts || {};
@@ -34800,7 +35329,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
34800
35329
  '/api/v2/integrations',
34801
35330
  'GET',
34802
35331
  { },
34803
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'] },
35332
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'],'ids': this.apiClient.buildCollectionParam(opts['ids'], 'multi'),'integrationType': opts['integrationType'],'reportedState': opts['reportedState'] },
34804
35333
  { },
34805
35334
  { },
34806
35335
  null,
@@ -37252,7 +37781,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
37252
37781
  /**
37253
37782
  * Journey service.
37254
37783
  * @module purecloud-platform-client-v2/api/JourneyApi
37255
- * @version 230.0.0
37784
+ * @version 232.0.0
37256
37785
  */
37257
37786
 
37258
37787
  /**
@@ -38540,6 +39069,33 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
38540
39069
  );
38541
39070
  }
38542
39071
 
39072
+ /**
39073
+ * Get my jobs
39074
+ *
39075
+ * @param {Object} opts Optional parameters
39076
+ * @param {Number} opts.pageNumber The number of the page to return (default to 1)
39077
+ * @param {Number} opts.pageSize Max number of entities to return (default to 25)
39078
+ * @param {String} opts.interval An absolute timeframe for filtering the jobs, expressed as an ISO 8601 interval.
39079
+ * @param {String} opts.statuses Job statuses to filter for
39080
+ */
39081
+ getJourneyViewsJobsMe(opts) {
39082
+ opts = opts || {};
39083
+
39084
+
39085
+ return this.apiClient.callApi(
39086
+ '/api/v2/journey/views/jobs/me',
39087
+ 'GET',
39088
+ { },
39089
+ { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'interval': opts['interval'],'statuses': opts['statuses'] },
39090
+ { },
39091
+ { },
39092
+ null,
39093
+ ['PureCloud OAuth'],
39094
+ ['application/json'],
39095
+ ['application/json']
39096
+ );
39097
+ }
39098
+
38543
39099
  /**
38544
39100
  * Get the journey schedules for an organization.
38545
39101
  *
@@ -39322,7 +39878,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
39322
39878
  /**
39323
39879
  * Knowledge service.
39324
39880
  * @module purecloud-platform-client-v2/api/KnowledgeApi
39325
- * @version 230.0.0
39881
+ * @version 232.0.0
39326
39882
  */
39327
39883
 
39328
39884
  /**
@@ -43224,7 +43780,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
43224
43780
  /**
43225
43781
  * LanguageUnderstanding service.
43226
43782
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
43227
- * @version 230.0.0
43783
+ * @version 232.0.0
43228
43784
  */
43229
43785
 
43230
43786
  /**
@@ -43598,6 +44154,72 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
43598
44154
  );
43599
44155
  }
43600
44156
 
44157
+ /**
44158
+ * Get list of all ignored phrases of the specified language code
44159
+ *
44160
+ * @param {String} languageCode Language Code
44161
+ * @param {Object} opts Optional parameters
44162
+ * @param {Number} opts.pageSize The page size for the listing. The max that will be returned is 200. (default to 25)
44163
+ * @param {Number} opts.pageNumber The page number for the listing (default to 1)
44164
+ * @param {String} opts.text The phrase text filter applied to the listing
44165
+ * @param {Object} opts.sortOrder The sort order for the listing (default to desc)
44166
+ * @param {Object} opts.sortBy The field to sort by for the listing (default to dateModified)
44167
+ */
44168
+ getLanguageunderstandingIgnorephrase(languageCode, opts) {
44169
+ opts = opts || {};
44170
+
44171
+ // verify the required parameter 'languageCode' is set
44172
+ if (languageCode === undefined || languageCode === null || languageCode === '') {
44173
+ throw 'Missing the required parameter "languageCode" when calling getLanguageunderstandingIgnorephrase';
44174
+ }
44175
+
44176
+ return this.apiClient.callApi(
44177
+ '/api/v2/languageunderstanding/ignorephrases/{languageCode}',
44178
+ 'GET',
44179
+ { 'languageCode': languageCode },
44180
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'text': opts['text'],'sortOrder': opts['sortOrder'],'sortBy': opts['sortBy'] },
44181
+ { },
44182
+ { },
44183
+ null,
44184
+ ['PureCloud OAuth'],
44185
+ ['application/json'],
44186
+ ['application/json']
44187
+ );
44188
+ }
44189
+
44190
+ /**
44191
+ * Get list of all ignored topics of the specified language code
44192
+ *
44193
+ * @param {String} languageCode Language Code
44194
+ * @param {Object} opts Optional parameters
44195
+ * @param {Number} opts.pageSize The page size for the listing. The max that will be returned is 200. (default to 25)
44196
+ * @param {Number} opts.pageNumber The page number for the listing (default to 1)
44197
+ * @param {String} opts.text The topic text filter applied to the listing
44198
+ * @param {Object} opts.sortOrder The sort order for the listing (default to desc)
44199
+ * @param {Object} opts.sortBy The field to sort by for the listing (default to dateModified)
44200
+ */
44201
+ getLanguageunderstandingIgnoretopic(languageCode, opts) {
44202
+ opts = opts || {};
44203
+
44204
+ // verify the required parameter 'languageCode' is set
44205
+ if (languageCode === undefined || languageCode === null || languageCode === '') {
44206
+ throw 'Missing the required parameter "languageCode" when calling getLanguageunderstandingIgnoretopic';
44207
+ }
44208
+
44209
+ return this.apiClient.callApi(
44210
+ '/api/v2/languageunderstanding/ignoretopics/{languageCode}',
44211
+ 'GET',
44212
+ { 'languageCode': languageCode },
44213
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'text': opts['text'],'sortOrder': opts['sortOrder'],'sortBy': opts['sortBy'] },
44214
+ { },
44215
+ { },
44216
+ null,
44217
+ ['PureCloud OAuth'],
44218
+ ['application/json'],
44219
+ ['application/json']
44220
+ );
44221
+ }
44222
+
43601
44223
  /**
43602
44224
  * Get information about a miner.
43603
44225
  *
@@ -44132,6 +44754,126 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
44132
44754
  );
44133
44755
  }
44134
44756
 
44757
+ /**
44758
+ * Add phrases to the ignored phrases list
44759
+ *
44760
+ * @param {String} languageCode Language Code
44761
+ * @param {Object} body Request body containing phrases to be ignored
44762
+ */
44763
+ postLanguageunderstandingIgnorephrase(languageCode, body) {
44764
+ // verify the required parameter 'languageCode' is set
44765
+ if (languageCode === undefined || languageCode === null || languageCode === '') {
44766
+ throw 'Missing the required parameter "languageCode" when calling postLanguageunderstandingIgnorephrase';
44767
+ }
44768
+ // verify the required parameter 'body' is set
44769
+ if (body === undefined || body === null) {
44770
+ throw 'Missing the required parameter "body" when calling postLanguageunderstandingIgnorephrase';
44771
+ }
44772
+
44773
+ return this.apiClient.callApi(
44774
+ '/api/v2/languageunderstanding/ignorephrases/{languageCode}',
44775
+ 'POST',
44776
+ { 'languageCode': languageCode },
44777
+ { },
44778
+ { },
44779
+ { },
44780
+ body,
44781
+ ['PureCloud OAuth'],
44782
+ ['application/json'],
44783
+ ['application/json']
44784
+ );
44785
+ }
44786
+
44787
+ /**
44788
+ * Delete ignored phrases
44789
+ *
44790
+ * @param {String} languageCode Language Code
44791
+ * @param {Object} body Request body containing entities to be removed
44792
+ */
44793
+ postLanguageunderstandingIgnorephraseRemove(languageCode, body) {
44794
+ // verify the required parameter 'languageCode' is set
44795
+ if (languageCode === undefined || languageCode === null || languageCode === '') {
44796
+ throw 'Missing the required parameter "languageCode" when calling postLanguageunderstandingIgnorephraseRemove';
44797
+ }
44798
+ // verify the required parameter 'body' is set
44799
+ if (body === undefined || body === null) {
44800
+ throw 'Missing the required parameter "body" when calling postLanguageunderstandingIgnorephraseRemove';
44801
+ }
44802
+
44803
+ return this.apiClient.callApi(
44804
+ '/api/v2/languageunderstanding/ignorephrases/{languageCode}/remove',
44805
+ 'POST',
44806
+ { 'languageCode': languageCode },
44807
+ { },
44808
+ { },
44809
+ { },
44810
+ body,
44811
+ ['PureCloud OAuth'],
44812
+ ['application/json'],
44813
+ ['application/json']
44814
+ );
44815
+ }
44816
+
44817
+ /**
44818
+ * Add topics to the ignored topics list
44819
+ *
44820
+ * @param {String} languageCode Language Code
44821
+ * @param {Object} body Request body containing topics to be ignored
44822
+ */
44823
+ postLanguageunderstandingIgnoretopic(languageCode, body) {
44824
+ // verify the required parameter 'languageCode' is set
44825
+ if (languageCode === undefined || languageCode === null || languageCode === '') {
44826
+ throw 'Missing the required parameter "languageCode" when calling postLanguageunderstandingIgnoretopic';
44827
+ }
44828
+ // verify the required parameter 'body' is set
44829
+ if (body === undefined || body === null) {
44830
+ throw 'Missing the required parameter "body" when calling postLanguageunderstandingIgnoretopic';
44831
+ }
44832
+
44833
+ return this.apiClient.callApi(
44834
+ '/api/v2/languageunderstanding/ignoretopics/{languageCode}',
44835
+ 'POST',
44836
+ { 'languageCode': languageCode },
44837
+ { },
44838
+ { },
44839
+ { },
44840
+ body,
44841
+ ['PureCloud OAuth'],
44842
+ ['application/json'],
44843
+ ['application/json']
44844
+ );
44845
+ }
44846
+
44847
+ /**
44848
+ * Delete ignored topics
44849
+ *
44850
+ * @param {String} languageCode Language Code
44851
+ * @param {Object} body Request body containing entities to be removed
44852
+ */
44853
+ postLanguageunderstandingIgnoretopicRemove(languageCode, body) {
44854
+ // verify the required parameter 'languageCode' is set
44855
+ if (languageCode === undefined || languageCode === null || languageCode === '') {
44856
+ throw 'Missing the required parameter "languageCode" when calling postLanguageunderstandingIgnoretopicRemove';
44857
+ }
44858
+ // verify the required parameter 'body' is set
44859
+ if (body === undefined || body === null) {
44860
+ throw 'Missing the required parameter "body" when calling postLanguageunderstandingIgnoretopicRemove';
44861
+ }
44862
+
44863
+ return this.apiClient.callApi(
44864
+ '/api/v2/languageunderstanding/ignoretopics/{languageCode}/remove',
44865
+ 'POST',
44866
+ { 'languageCode': languageCode },
44867
+ { },
44868
+ { },
44869
+ { },
44870
+ body,
44871
+ ['PureCloud OAuth'],
44872
+ ['application/json'],
44873
+ ['application/json']
44874
+ );
44875
+ }
44876
+
44135
44877
  /**
44136
44878
  * Create a new draft resource.
44137
44879
  *
@@ -44257,7 +44999,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
44257
44999
  /**
44258
45000
  * Languages service.
44259
45001
  * @module purecloud-platform-client-v2/api/LanguagesApi
44260
- * @version 230.0.0
45002
+ * @version 232.0.0
44261
45003
  */
44262
45004
 
44263
45005
  /**
@@ -44479,7 +45221,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
44479
45221
  /**
44480
45222
  * Learning service.
44481
45223
  * @module purecloud-platform-client-v2/api/LearningApi
44482
- * @version 230.0.0
45224
+ * @version 232.0.0
44483
45225
  */
44484
45226
 
44485
45227
  /**
@@ -45477,8 +46219,12 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
45477
46219
  * This will update a learning module rule with the specified fields.
45478
46220
  * @param {String} moduleId The ID of the learning module
45479
46221
  * @param {Object} body The learning module rule to be updated
46222
+ * @param {Object} opts Optional parameters
46223
+ * @param {Boolean} opts.assign Whether to assign the module to users or not (default to true)
45480
46224
  */
45481
- putLearningModuleRule(moduleId, body) {
46225
+ putLearningModuleRule(moduleId, body, opts) {
46226
+ opts = opts || {};
46227
+
45482
46228
  // verify the required parameter 'moduleId' is set
45483
46229
  if (moduleId === undefined || moduleId === null || moduleId === '') {
45484
46230
  throw 'Missing the required parameter "moduleId" when calling putLearningModuleRule';
@@ -45492,7 +46238,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
45492
46238
  '/api/v2/learning/modules/{moduleId}/rule',
45493
46239
  'PUT',
45494
46240
  { 'moduleId': moduleId },
45495
- { },
46241
+ { 'assign': opts['assign'] },
45496
46242
  { },
45497
46243
  { },
45498
46244
  body,
@@ -45508,7 +46254,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
45508
46254
  /**
45509
46255
  * License service.
45510
46256
  * @module purecloud-platform-client-v2/api/LicenseApi
45511
- * @version 230.0.0
46257
+ * @version 232.0.0
45512
46258
  */
45513
46259
 
45514
46260
  /**
@@ -45746,7 +46492,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
45746
46492
  /**
45747
46493
  * Locations service.
45748
46494
  * @module purecloud-platform-client-v2/api/LocationsApi
45749
- * @version 230.0.0
46495
+ * @version 232.0.0
45750
46496
  */
45751
46497
 
45752
46498
  /**
@@ -45982,7 +46728,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
45982
46728
  /**
45983
46729
  * LogCapture service.
45984
46730
  * @module purecloud-platform-client-v2/api/LogCaptureApi
45985
- * @version 230.0.0
46731
+ * @version 232.0.0
45986
46732
  */
45987
46733
 
45988
46734
  /**
@@ -46181,7 +46927,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
46181
46927
  /**
46182
46928
  * Messaging service.
46183
46929
  * @module purecloud-platform-client-v2/api/MessagingApi
46184
- * @version 230.0.0
46930
+ * @version 232.0.0
46185
46931
  */
46186
46932
 
46187
46933
  /**
@@ -46540,7 +47286,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
46540
47286
  /**
46541
47287
  * MobileDevices service.
46542
47288
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
46543
- * @version 230.0.0
47289
+ * @version 232.0.0
46544
47290
  */
46545
47291
 
46546
47292
  /**
@@ -46691,7 +47437,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
46691
47437
  /**
46692
47438
  * Notifications service.
46693
47439
  * @module purecloud-platform-client-v2/api/NotificationsApi
46694
- * @version 230.0.0
47440
+ * @version 232.0.0
46695
47441
  */
46696
47442
 
46697
47443
  /**
@@ -46924,7 +47670,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
46924
47670
  /**
46925
47671
  * OAuth service.
46926
47672
  * @module purecloud-platform-client-v2/api/OAuthApi
46927
- * @version 230.0.0
47673
+ * @version 232.0.0
46928
47674
  */
46929
47675
 
46930
47676
  /**
@@ -47290,7 +48036,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
47290
48036
  /**
47291
48037
  * Objects service.
47292
48038
  * @module purecloud-platform-client-v2/api/ObjectsApi
47293
- * @version 230.0.0
48039
+ * @version 232.0.0
47294
48040
  */
47295
48041
 
47296
48042
  /**
@@ -47614,7 +48360,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
47614
48360
  /**
47615
48361
  * OperationalEvents service.
47616
48362
  * @module purecloud-platform-client-v2/api/OperationalEventsApi
47617
- * @version 230.0.0
48363
+ * @version 232.0.0
47618
48364
  */
47619
48365
 
47620
48366
  /**
@@ -47731,7 +48477,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
47731
48477
  /**
47732
48478
  * Organization service.
47733
48479
  * @module purecloud-platform-client-v2/api/OrganizationApi
47734
- * @version 230.0.0
48480
+ * @version 232.0.0
47735
48481
  */
47736
48482
 
47737
48483
  /**
@@ -48206,7 +48952,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
48206
48952
  /**
48207
48953
  * OrganizationAuthorization service.
48208
48954
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
48209
- * @version 230.0.0
48955
+ * @version 232.0.0
48210
48956
  */
48211
48957
 
48212
48958
  /**
@@ -49600,7 +50346,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
49600
50346
  /**
49601
50347
  * Outbound service.
49602
50348
  * @module purecloud-platform-client-v2/api/OutboundApi
49603
- * @version 230.0.0
50349
+ * @version 232.0.0
49604
50350
  */
49605
50351
 
49606
50352
  /**
@@ -54322,7 +55068,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
54322
55068
  /**
54323
55069
  * Presence service.
54324
55070
  * @module purecloud-platform-client-v2/api/PresenceApi
54325
- * @version 230.0.0
55071
+ * @version 232.0.0
54326
55072
  */
54327
55073
 
54328
55074
  /**
@@ -55066,7 +55812,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
55066
55812
  /**
55067
55813
  * ProcessAutomation service.
55068
55814
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
55069
- * @version 230.0.0
55815
+ * @version 232.0.0
55070
55816
  */
55071
55817
 
55072
55818
  /**
@@ -55305,7 +56051,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
55305
56051
  /**
55306
56052
  * Quality service.
55307
56053
  * @module purecloud-platform-client-v2/api/QualityApi
55308
- * @version 230.0.0
56054
+ * @version 232.0.0
55309
56055
  */
55310
56056
 
55311
56057
  /**
@@ -55888,7 +56634,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
55888
56634
  }
55889
56635
 
55890
56636
  /**
55891
- * Get an evaluator activity
56637
+ * Get an evaluator activity. To ensure optimal performance and prevent timeouts when processing large datasets, startTime and endTime fields are highly recommended for all requests.
55892
56638
  *
55893
56639
  * @param {Object} opts Optional parameters
55894
56640
  * @param {Number} opts.pageSize The total page size requested (default to 25)
@@ -56369,6 +57115,59 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
56369
57115
  );
56370
57116
  }
56371
57117
 
57118
+ /**
57119
+ * Get the most recent published version of an evaluation form across any division.
57120
+ *
57121
+ * @param {String} evaluationFormId Evaluation Form ID
57122
+ * getQualityPublishedformsEvaluationsDivisionview is a preview method and is subject to both breaking and non-breaking changes at any time without notice
57123
+ */
57124
+ getQualityPublishedformsEvaluationsDivisionview(evaluationFormId) {
57125
+ // verify the required parameter 'evaluationFormId' is set
57126
+ if (evaluationFormId === undefined || evaluationFormId === null || evaluationFormId === '') {
57127
+ throw 'Missing the required parameter "evaluationFormId" when calling getQualityPublishedformsEvaluationsDivisionview';
57128
+ }
57129
+
57130
+ return this.apiClient.callApi(
57131
+ '/api/v2/quality/publishedforms/evaluations/divisionviews/{evaluationFormId}',
57132
+ 'GET',
57133
+ { 'evaluationFormId': evaluationFormId },
57134
+ { },
57135
+ { },
57136
+ { },
57137
+ null,
57138
+ ['PureCloud OAuth'],
57139
+ ['application/json'],
57140
+ ['application/json']
57141
+ );
57142
+ }
57143
+
57144
+ /**
57145
+ * Get the published evaluation forms across any division.
57146
+ *
57147
+ * @param {Object} opts Optional parameters
57148
+ * @param {Number} opts.pageSize Page size (default to 25)
57149
+ * @param {Number} opts.pageNumber Page number (default to 1)
57150
+ * @param {String} opts.name Name
57151
+ * getQualityPublishedformsEvaluationsDivisionviews is a preview method and is subject to both breaking and non-breaking changes at any time without notice
57152
+ */
57153
+ getQualityPublishedformsEvaluationsDivisionviews(opts) {
57154
+ opts = opts || {};
57155
+
57156
+
57157
+ return this.apiClient.callApi(
57158
+ '/api/v2/quality/publishedforms/evaluations/divisionviews',
57159
+ 'GET',
57160
+ { },
57161
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'name': opts['name'] },
57162
+ { },
57163
+ { },
57164
+ null,
57165
+ ['PureCloud OAuth'],
57166
+ ['application/json'],
57167
+ ['application/json']
57168
+ );
57169
+ }
57170
+
56372
57171
  /**
56373
57172
  * Get the most recent published version of a survey form.
56374
57173
  *
@@ -56421,6 +57220,59 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
56421
57220
  );
56422
57221
  }
56423
57222
 
57223
+ /**
57224
+ * Get the most recent published version of an enabled survey form across any division.
57225
+ *
57226
+ * @param {String} surveyFormId Survey Form ID
57227
+ * getQualityPublishedformsSurveysDivisionview is a preview method and is subject to both breaking and non-breaking changes at any time without notice
57228
+ */
57229
+ getQualityPublishedformsSurveysDivisionview(surveyFormId) {
57230
+ // verify the required parameter 'surveyFormId' is set
57231
+ if (surveyFormId === undefined || surveyFormId === null || surveyFormId === '') {
57232
+ throw 'Missing the required parameter "surveyFormId" when calling getQualityPublishedformsSurveysDivisionview';
57233
+ }
57234
+
57235
+ return this.apiClient.callApi(
57236
+ '/api/v2/quality/publishedforms/surveys/divisionviews/{surveyFormId}',
57237
+ 'GET',
57238
+ { 'surveyFormId': surveyFormId },
57239
+ { },
57240
+ { },
57241
+ { },
57242
+ null,
57243
+ ['PureCloud OAuth'],
57244
+ ['application/json'],
57245
+ ['application/json']
57246
+ );
57247
+ }
57248
+
57249
+ /**
57250
+ * Get the published and enabled survey forms across any division.
57251
+ *
57252
+ * @param {Object} opts Optional parameters
57253
+ * @param {Number} opts.pageSize Page size (default to 25)
57254
+ * @param {Number} opts.pageNumber Page number (default to 1)
57255
+ * @param {String} opts.name Name
57256
+ * getQualityPublishedformsSurveysDivisionviews is a preview method and is subject to both breaking and non-breaking changes at any time without notice
57257
+ */
57258
+ getQualityPublishedformsSurveysDivisionviews(opts) {
57259
+ opts = opts || {};
57260
+
57261
+
57262
+ return this.apiClient.callApi(
57263
+ '/api/v2/quality/publishedforms/surveys/divisionviews',
57264
+ 'GET',
57265
+ { },
57266
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'name': opts['name'] },
57267
+ { },
57268
+ { },
57269
+ null,
57270
+ ['PureCloud OAuth'],
57271
+ ['application/json'],
57272
+ ['application/json']
57273
+ );
57274
+ }
57275
+
56424
57276
  /**
56425
57277
  * Get a survey for a conversation
56426
57278
  *
@@ -57144,7 +57996,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
57144
57996
  /**
57145
57997
  * Recording service.
57146
57998
  * @module purecloud-platform-client-v2/api/RecordingApi
57147
- * @version 230.0.0
57999
+ * @version 232.0.0
57148
58000
  */
57149
58001
 
57150
58002
  /**
@@ -58580,7 +59432,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
58580
59432
 
58581
59433
  /**
58582
59434
  * Execute the recording bulk job.
58583
- * A job must be executed by the same user whom originally created the job. In addition, the user must have permission to update the recordings retention.
59435
+ * Each organization can run up to a maximum of two concurrent jobs that are either in pending or processing state. A job must be executed by the same user whom originally created the job. In addition, the user must have permission to update the recordings retention.
58584
59436
  * @param {String} jobId jobId
58585
59437
  * @param {Object} body query
58586
59438
  */
@@ -58640,7 +59492,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
58640
59492
 
58641
59493
  /**
58642
59494
  * Update a media retention policy
58643
- * Policy does not work retroactively
59495
+ * Policy does not work retroactively. In the conditions.forUsers section, each user object can include the id field containing the users unique identifier. Example: [{"id":"<userId>"}].
58644
59496
  * @param {String} policyId Policy ID
58645
59497
  * @param {Object} body Policy
58646
59498
  */
@@ -58749,7 +59601,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
58749
59601
  /**
58750
59602
  * ResponseManagement service.
58751
59603
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
58752
- * @version 230.0.0
59604
+ * @version 232.0.0
58753
59605
  */
58754
59606
 
58755
59607
  /**
@@ -59259,7 +60111,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
59259
60111
  /**
59260
60112
  * Routing service.
59261
60113
  * @module purecloud-platform-client-v2/api/RoutingApi
59262
- * @version 230.0.0
60114
+ * @version 232.0.0
59263
60115
  */
59264
60116
 
59265
60117
  /**
@@ -60049,8 +60901,12 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
60049
60901
  * Get domain
60050
60902
  *
60051
60903
  * @param {String} domainId domain ID
60904
+ * @param {Object} opts Optional parameters
60905
+ * @param {Object} opts.expand Expand options. Valid values: settings
60052
60906
  */
60053
- getRoutingEmailDomain(domainId) {
60907
+ getRoutingEmailDomain(domainId, opts) {
60908
+ opts = opts || {};
60909
+
60054
60910
  // verify the required parameter 'domainId' is set
60055
60911
  if (domainId === undefined || domainId === null || domainId === '') {
60056
60912
  throw 'Missing the required parameter "domainId" when calling getRoutingEmailDomain';
@@ -60060,7 +60916,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
60060
60916
  '/api/v2/routing/email/domains/{domainId}',
60061
60917
  'GET',
60062
60918
  { 'domainId': domainId },
60063
- { },
60919
+ { 'expand': opts['expand'] },
60064
60920
  { },
60065
60921
  { },
60066
60922
  null,
@@ -60174,6 +61030,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
60174
61030
  * @param {Number} opts.pageNumber Page number (default to 1)
60175
61031
  * @param {Boolean} opts.excludeStatus Exclude MX record data (default to false)
60176
61032
  * @param {String} opts.filter Optional search filter that, if defined, use the **filter** syntax, eg: **mySearchedPattern**. Note that **** is considered no filter.
61033
+ * @param {Object} opts.expand Expand options. Valid values: settings
60177
61034
  */
60178
61035
  getRoutingEmailDomains(opts) {
60179
61036
  opts = opts || {};
@@ -60183,7 +61040,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
60183
61040
  '/api/v2/routing/email/domains',
60184
61041
  'GET',
60185
61042
  { },
60186
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'excludeStatus': opts['excludeStatus'],'filter': opts['filter'] },
61043
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'excludeStatus': opts['excludeStatus'],'filter': opts['filter'],'expand': opts['expand'] },
60187
61044
  { },
60188
61045
  { },
60189
61046
  null,
@@ -60197,8 +61054,12 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
60197
61054
  * Get domain
60198
61055
  *
60199
61056
  * @param {String} domainId domain ID
61057
+ * @param {Object} opts Optional parameters
61058
+ * @param {Object} opts.expand Expand options. Valid values: settings
60200
61059
  */
60201
- getRoutingEmailOutboundDomain(domainId) {
61060
+ getRoutingEmailOutboundDomain(domainId, opts) {
61061
+ opts = opts || {};
61062
+
60202
61063
  // verify the required parameter 'domainId' is set
60203
61064
  if (domainId === undefined || domainId === null || domainId === '') {
60204
61065
  throw 'Missing the required parameter "domainId" when calling getRoutingEmailOutboundDomain';
@@ -60208,7 +61069,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
60208
61069
  '/api/v2/routing/email/outbound/domains/{domainId}',
60209
61070
  'GET',
60210
61071
  { 'domainId': domainId },
60211
- { },
61072
+ { 'expand': opts['expand'] },
60212
61073
  { },
60213
61074
  { },
60214
61075
  null,
@@ -60250,6 +61111,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
60250
61111
  * @param {Number} opts.pageSize Page size (default to 25)
60251
61112
  * @param {Number} opts.pageNumber Page number (default to 1)
60252
61113
  * @param {String} opts.filter Optional search filter that, if defined, use the **filter** syntax, eg: **mySearchedPattern**. Note that **** is considered no filter.
61114
+ * @param {Object} opts.expand Expand options. Valid values: settings
60253
61115
  */
60254
61116
  getRoutingEmailOutboundDomains(opts) {
60255
61117
  opts = opts || {};
@@ -60259,7 +61121,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
60259
61121
  '/api/v2/routing/email/outbound/domains',
60260
61122
  'GET',
60261
61123
  { },
60262
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'filter': opts['filter'] },
61124
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'filter': opts['filter'],'expand': opts['expand'] },
60263
61125
  { },
60264
61126
  { },
60265
61127
  null,
@@ -60483,6 +61345,8 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
60483
61345
  * @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
60484
61346
  * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
60485
61347
  * @param {Array.<String>} opts.queueId Comma-separated list of queue Ids to filter by.
61348
+ * @param {String} opts.kpiId Standard or custom KPI id used to filter predictors.
61349
+ * @param {Object} opts.state The state used to filter predictors.
60486
61350
  */
60487
61351
  getRoutingPredictors(opts) {
60488
61352
  opts = opts || {};
@@ -60492,7 +61356,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
60492
61356
  '/api/v2/routing/predictors',
60493
61357
  'GET',
60494
61358
  { },
60495
- { 'before': opts['before'],'after': opts['after'],'limit': opts['limit'],'pageSize': opts['pageSize'],'queueId': this.apiClient.buildCollectionParam(opts['queueId'], 'multi') },
61359
+ { 'before': opts['before'],'after': opts['after'],'limit': opts['limit'],'pageSize': opts['pageSize'],'queueId': this.apiClient.buildCollectionParam(opts['queueId'], 'multi'),'kpiId': opts['kpiId'],'state': opts['state'] },
60496
61360
  { },
60497
61361
  { },
60498
61362
  null,
@@ -60561,7 +61425,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
60561
61425
  *
60562
61426
  * @param {String} queueId Queue ID
60563
61427
  * @param {Object} opts Optional parameters
60564
- * @param {Object} opts.expand Which fields, if any, to expand.
61428
+ * @param {Array.<String>} opts.expand Which fields, if any, to expand.
60565
61429
  */
60566
61430
  getRoutingQueueAssistant(queueId, opts) {
60567
61431
  opts = opts || {};
@@ -60575,7 +61439,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
60575
61439
  '/api/v2/routing/queues/{queueId}/assistant',
60576
61440
  'GET',
60577
61441
  { 'queueId': queueId },
60578
- { 'expand': opts['expand'] },
61442
+ { 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
60579
61443
  { },
60580
61444
  { },
60581
61445
  null,
@@ -63575,7 +64439,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
63575
64439
  /**
63576
64440
  * SCIM service.
63577
64441
  * @module purecloud-platform-client-v2/api/SCIMApi
63578
- * @version 230.0.0
64442
+ * @version 232.0.0
63579
64443
  */
63580
64444
 
63581
64445
  /**
@@ -64452,7 +65316,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
64452
65316
  /**
64453
65317
  * ScreenRecording service.
64454
65318
  * @module purecloud-platform-client-v2/api/ScreenRecordingApi
64455
- * @version 230.0.0
65319
+ * @version 232.0.0
64456
65320
  */
64457
65321
 
64458
65322
  /**
@@ -64497,7 +65361,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
64497
65361
  /**
64498
65362
  * Scripts service.
64499
65363
  * @module purecloud-platform-client-v2/api/ScriptsApi
64500
- * @version 230.0.0
65364
+ * @version 232.0.0
64501
65365
  */
64502
65366
 
64503
65367
  /**
@@ -64973,7 +65837,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
64973
65837
  /**
64974
65838
  * Search service.
64975
65839
  * @module purecloud-platform-client-v2/api/SearchApi
64976
- * @version 230.0.0
65840
+ * @version 232.0.0
64977
65841
  */
64978
65842
 
64979
65843
  /**
@@ -65691,7 +66555,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
65691
66555
  /**
65692
66556
  * Settings service.
65693
66557
  * @module purecloud-platform-client-v2/api/SettingsApi
65694
- * @version 230.0.0
66558
+ * @version 232.0.0
65695
66559
  */
65696
66560
 
65697
66561
  /**
@@ -66039,7 +66903,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
66039
66903
  /**
66040
66904
  * SocialMedia service.
66041
66905
  * @module purecloud-platform-client-v2/api/SocialMediaApi
66042
- * @version 230.0.0
66906
+ * @version 232.0.0
66043
66907
  */
66044
66908
 
66045
66909
  /**
@@ -66168,6 +67032,40 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
66168
67032
  );
66169
67033
  }
66170
67034
 
67035
+ /**
67036
+ * Delete a Instagram data ingestion rule.
67037
+ *
67038
+ * @param {String} topicId topicId
67039
+ * @param {String} instagramIngestionRuleId instagramIngestionRuleId
67040
+ * @param {Object} opts Optional parameters
67041
+ * @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)
67042
+ */
67043
+ deleteSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleId(topicId, instagramIngestionRuleId, opts) {
67044
+ opts = opts || {};
67045
+
67046
+ // verify the required parameter 'topicId' is set
67047
+ if (topicId === undefined || topicId === null || topicId === '') {
67048
+ throw 'Missing the required parameter "topicId" when calling deleteSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleId';
67049
+ }
67050
+ // verify the required parameter 'instagramIngestionRuleId' is set
67051
+ if (instagramIngestionRuleId === undefined || instagramIngestionRuleId === null || instagramIngestionRuleId === '') {
67052
+ throw 'Missing the required parameter "instagramIngestionRuleId" when calling deleteSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleId';
67053
+ }
67054
+
67055
+ return this.apiClient.callApi(
67056
+ '/api/v2/socialmedia/topics/{topicId}/dataingestionrules/instagram/{instagramIngestionRuleId}',
67057
+ 'DELETE',
67058
+ { 'topicId': topicId,'instagramIngestionRuleId': instagramIngestionRuleId },
67059
+ { 'hardDelete': opts['hardDelete'] },
67060
+ { },
67061
+ { },
67062
+ null,
67063
+ ['PureCloud OAuth'],
67064
+ ['application/json'],
67065
+ ['application/json']
67066
+ );
67067
+ }
67068
+
66171
67069
  /**
66172
67070
  * Delete a open data ingestion rule.
66173
67071
  *
@@ -66568,6 +67466,115 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
66568
67466
  );
66569
67467
  }
66570
67468
 
67469
+ /**
67470
+ * Get a single Instagram data ingestion rule.
67471
+ *
67472
+ * @param {String} topicId topicId
67473
+ * @param {String} instagramIngestionRuleId instagramIngestionRuleId
67474
+ * @param {Object} opts Optional parameters
67475
+ * @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
67476
+ */
67477
+ getSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleId(topicId, instagramIngestionRuleId, opts) {
67478
+ opts = opts || {};
67479
+
67480
+ // verify the required parameter 'topicId' is set
67481
+ if (topicId === undefined || topicId === null || topicId === '') {
67482
+ throw 'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleId';
67483
+ }
67484
+ // verify the required parameter 'instagramIngestionRuleId' is set
67485
+ if (instagramIngestionRuleId === undefined || instagramIngestionRuleId === null || instagramIngestionRuleId === '') {
67486
+ throw 'Missing the required parameter "instagramIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleId';
67487
+ }
67488
+
67489
+ return this.apiClient.callApi(
67490
+ '/api/v2/socialmedia/topics/{topicId}/dataingestionrules/instagram/{instagramIngestionRuleId}',
67491
+ 'GET',
67492
+ { 'topicId': topicId,'instagramIngestionRuleId': instagramIngestionRuleId },
67493
+ { 'includeDeleted': opts['includeDeleted'] },
67494
+ { },
67495
+ { },
67496
+ null,
67497
+ ['PureCloud OAuth'],
67498
+ ['application/json'],
67499
+ ['application/json']
67500
+ );
67501
+ }
67502
+
67503
+ /**
67504
+ * Get a single Instagram data ingestion rule version.
67505
+ *
67506
+ * @param {String} topicId topicId
67507
+ * @param {String} instagramIngestionRuleId instagramIngestionRuleId
67508
+ * @param {String} dataIngestionRuleVersion version
67509
+ * @param {Object} opts Optional parameters
67510
+ * @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted item in the result.
67511
+ */
67512
+ getSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleIdVersion(topicId, instagramIngestionRuleId, dataIngestionRuleVersion, opts) {
67513
+ opts = opts || {};
67514
+
67515
+ // verify the required parameter 'topicId' is set
67516
+ if (topicId === undefined || topicId === null || topicId === '') {
67517
+ throw 'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleIdVersion';
67518
+ }
67519
+ // verify the required parameter 'instagramIngestionRuleId' is set
67520
+ if (instagramIngestionRuleId === undefined || instagramIngestionRuleId === null || instagramIngestionRuleId === '') {
67521
+ throw 'Missing the required parameter "instagramIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleIdVersion';
67522
+ }
67523
+ // verify the required parameter 'dataIngestionRuleVersion' is set
67524
+ if (dataIngestionRuleVersion === undefined || dataIngestionRuleVersion === null || dataIngestionRuleVersion === '') {
67525
+ throw 'Missing the required parameter "dataIngestionRuleVersion" when calling getSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleIdVersion';
67526
+ }
67527
+
67528
+ return this.apiClient.callApi(
67529
+ '/api/v2/socialmedia/topics/{topicId}/dataingestionrules/instagram/{instagramIngestionRuleId}/versions/{dataIngestionRuleVersion}',
67530
+ 'GET',
67531
+ { 'topicId': topicId,'instagramIngestionRuleId': instagramIngestionRuleId,'dataIngestionRuleVersion': dataIngestionRuleVersion },
67532
+ { 'includeDeleted': opts['includeDeleted'] },
67533
+ { },
67534
+ { },
67535
+ null,
67536
+ ['PureCloud OAuth'],
67537
+ ['application/json'],
67538
+ ['application/json']
67539
+ );
67540
+ }
67541
+
67542
+ /**
67543
+ * Get the Instagram data ingestion rule versions.
67544
+ *
67545
+ * @param {String} topicId topicId
67546
+ * @param {String} instagramIngestionRuleId instagramIngestionRuleId
67547
+ * @param {Object} opts Optional parameters
67548
+ * @param {Number} opts.pageNumber Page number (default to 1)
67549
+ * @param {Number} opts.pageSize Page size (default to 25)
67550
+ * @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
67551
+ */
67552
+ getSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleIdVersions(topicId, instagramIngestionRuleId, opts) {
67553
+ opts = opts || {};
67554
+
67555
+ // verify the required parameter 'topicId' is set
67556
+ if (topicId === undefined || topicId === null || topicId === '') {
67557
+ throw 'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleIdVersions';
67558
+ }
67559
+ // verify the required parameter 'instagramIngestionRuleId' is set
67560
+ if (instagramIngestionRuleId === undefined || instagramIngestionRuleId === null || instagramIngestionRuleId === '') {
67561
+ throw 'Missing the required parameter "instagramIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleIdVersions';
67562
+ }
67563
+
67564
+ return this.apiClient.callApi(
67565
+ '/api/v2/socialmedia/topics/{topicId}/dataingestionrules/instagram/{instagramIngestionRuleId}/versions',
67566
+ 'GET',
67567
+ { 'topicId': topicId,'instagramIngestionRuleId': instagramIngestionRuleId },
67568
+ { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'includeDeleted': opts['includeDeleted'] },
67569
+ { },
67570
+ { },
67571
+ null,
67572
+ ['PureCloud OAuth'],
67573
+ ['application/json'],
67574
+ ['application/json']
67575
+ );
67576
+ }
67577
+
66571
67578
  /**
66572
67579
  * Get a single open data ingestion rule.
66573
67580
  *
@@ -66876,6 +67883,40 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
66876
67883
  );
66877
67884
  }
66878
67885
 
67886
+ /**
67887
+ * Update the status of a Instagram data ingestion rule.
67888
+ *
67889
+ * @param {String} topicId topicId
67890
+ * @param {String} instagramIngestionRuleId instagramIngestionRuleId
67891
+ * @param {Object} opts Optional parameters
67892
+ * @param {Object} opts.body
67893
+ */
67894
+ patchSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleId(topicId, instagramIngestionRuleId, opts) {
67895
+ opts = opts || {};
67896
+
67897
+ // verify the required parameter 'topicId' is set
67898
+ if (topicId === undefined || topicId === null || topicId === '') {
67899
+ throw 'Missing the required parameter "topicId" when calling patchSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleId';
67900
+ }
67901
+ // verify the required parameter 'instagramIngestionRuleId' is set
67902
+ if (instagramIngestionRuleId === undefined || instagramIngestionRuleId === null || instagramIngestionRuleId === '') {
67903
+ throw 'Missing the required parameter "instagramIngestionRuleId" when calling patchSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleId';
67904
+ }
67905
+
67906
+ return this.apiClient.callApi(
67907
+ '/api/v2/socialmedia/topics/{topicId}/dataingestionrules/instagram/{instagramIngestionRuleId}',
67908
+ 'PATCH',
67909
+ { 'topicId': topicId,'instagramIngestionRuleId': instagramIngestionRuleId },
67910
+ { },
67911
+ { },
67912
+ { },
67913
+ opts['body'],
67914
+ ['PureCloud OAuth'],
67915
+ ['application/json'],
67916
+ ['application/json']
67917
+ );
67918
+ }
67919
+
66879
67920
  /**
66880
67921
  * Update the status of a open data ingestion rule.
66881
67922
  *
@@ -67076,6 +68117,35 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
67076
68117
  );
67077
68118
  }
67078
68119
 
68120
+ /**
68121
+ * Create an Instagram data ingestion rule.
68122
+ *
68123
+ * @param {String} topicId topicId
68124
+ * @param {Object} opts Optional parameters
68125
+ * @param {Object} opts.body
68126
+ */
68127
+ postSocialmediaTopicDataingestionrulesInstagram(topicId, opts) {
68128
+ opts = opts || {};
68129
+
68130
+ // verify the required parameter 'topicId' is set
68131
+ if (topicId === undefined || topicId === null || topicId === '') {
68132
+ throw 'Missing the required parameter "topicId" when calling postSocialmediaTopicDataingestionrulesInstagram';
68133
+ }
68134
+
68135
+ return this.apiClient.callApi(
68136
+ '/api/v2/socialmedia/topics/{topicId}/dataingestionrules/instagram',
68137
+ 'POST',
68138
+ { 'topicId': topicId },
68139
+ { },
68140
+ { },
68141
+ { },
68142
+ opts['body'],
68143
+ ['PureCloud OAuth'],
68144
+ ['application/json'],
68145
+ ['application/json']
68146
+ );
68147
+ }
68148
+
67079
68149
  /**
67080
68150
  * Create an open data ingestion rule.
67081
68151
  *
@@ -67316,6 +68386,40 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
67316
68386
  );
67317
68387
  }
67318
68388
 
68389
+ /**
68390
+ * Update the Instagram data ingestion rule.
68391
+ *
68392
+ * @param {String} topicId topicId
68393
+ * @param {String} instagramIngestionRuleId instagramIngestionRuleId
68394
+ * @param {Object} opts Optional parameters
68395
+ * @param {Object} opts.body
68396
+ */
68397
+ putSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleId(topicId, instagramIngestionRuleId, opts) {
68398
+ opts = opts || {};
68399
+
68400
+ // verify the required parameter 'topicId' is set
68401
+ if (topicId === undefined || topicId === null || topicId === '') {
68402
+ throw 'Missing the required parameter "topicId" when calling putSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleId';
68403
+ }
68404
+ // verify the required parameter 'instagramIngestionRuleId' is set
68405
+ if (instagramIngestionRuleId === undefined || instagramIngestionRuleId === null || instagramIngestionRuleId === '') {
68406
+ throw 'Missing the required parameter "instagramIngestionRuleId" when calling putSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleId';
68407
+ }
68408
+
68409
+ return this.apiClient.callApi(
68410
+ '/api/v2/socialmedia/topics/{topicId}/dataingestionrules/instagram/{instagramIngestionRuleId}',
68411
+ 'PUT',
68412
+ { 'topicId': topicId,'instagramIngestionRuleId': instagramIngestionRuleId },
68413
+ { },
68414
+ { },
68415
+ { },
68416
+ opts['body'],
68417
+ ['PureCloud OAuth'],
68418
+ ['application/json'],
68419
+ ['application/json']
68420
+ );
68421
+ }
68422
+
67319
68423
  /**
67320
68424
  * Update the open data ingestion rule.
67321
68425
  *
@@ -67390,7 +68494,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
67390
68494
  /**
67391
68495
  * SpeechTextAnalytics service.
67392
68496
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
67393
- * @version 230.0.0
68497
+ * @version 232.0.0
67394
68498
  */
67395
68499
 
67396
68500
  /**
@@ -69036,7 +70140,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
69036
70140
  /**
69037
70141
  * Stations service.
69038
70142
  * @module purecloud-platform-client-v2/api/StationsApi
69039
- * @version 230.0.0
70143
+ * @version 232.0.0
69040
70144
  */
69041
70145
 
69042
70146
  /**
@@ -69138,7 +70242,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
69138
70242
  /**
69139
70243
  * Suggest service.
69140
70244
  * @module purecloud-platform-client-v2/api/SuggestApi
69141
- * @version 230.0.0
70245
+ * @version 232.0.0
69142
70246
  */
69143
70247
 
69144
70248
  /**
@@ -69277,7 +70381,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
69277
70381
  /**
69278
70382
  * TaskManagement service.
69279
70383
  * @module purecloud-platform-client-v2/api/TaskManagementApi
69280
- * @version 230.0.0
70384
+ * @version 232.0.0
69281
70385
  */
69282
70386
 
69283
70387
  /**
@@ -71439,7 +72543,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
71439
72543
  /**
71440
72544
  * Teams service.
71441
72545
  * @module purecloud-platform-client-v2/api/TeamsApi
71442
- * @version 230.0.0
72546
+ * @version 232.0.0
71443
72547
  */
71444
72548
 
71445
72549
  /**
@@ -71744,7 +72848,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
71744
72848
  /**
71745
72849
  * Telephony service.
71746
72850
  * @module purecloud-platform-client-v2/api/TelephonyApi
71747
- * @version 230.0.0
72851
+ * @version 232.0.0
71748
72852
  */
71749
72853
 
71750
72854
  /**
@@ -72030,7 +73134,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
72030
73134
  /**
72031
73135
  * TelephonyProvidersEdge service.
72032
73136
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
72033
- * @version 230.0.0
73137
+ * @version 232.0.0
72034
73138
  */
72035
73139
 
72036
73140
  /**
@@ -75523,7 +76627,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
75523
76627
  /**
75524
76628
  * Textbots service.
75525
76629
  * @module purecloud-platform-client-v2/api/TextbotsApi
75526
- * @version 230.0.0
76630
+ * @version 232.0.0
75527
76631
  */
75528
76632
 
75529
76633
  /**
@@ -75652,7 +76756,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
75652
76756
  /**
75653
76757
  * Tokens service.
75654
76758
  * @module purecloud-platform-client-v2/api/TokensApi
75655
- * @version 230.0.0
76759
+ * @version 232.0.0
75656
76760
  */
75657
76761
 
75658
76762
  /**
@@ -75806,7 +76910,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
75806
76910
  /**
75807
76911
  * Uploads service.
75808
76912
  * @module purecloud-platform-client-v2/api/UploadsApi
75809
- * @version 230.0.0
76913
+ * @version 232.0.0
75810
76914
  */
75811
76915
 
75812
76916
  /**
@@ -76097,7 +77201,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
76097
77201
  /**
76098
77202
  * Usage service.
76099
77203
  * @module purecloud-platform-client-v2/api/UsageApi
76100
- * @version 230.0.0
77204
+ * @version 232.0.0
76101
77205
  */
76102
77206
 
76103
77207
  /**
@@ -76432,7 +77536,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
76432
77536
  /**
76433
77537
  * UserRecordings service.
76434
77538
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
76435
- * @version 230.0.0
77539
+ * @version 232.0.0
76436
77540
  */
76437
77541
 
76438
77542
  /**
@@ -76501,37 +77605,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
76501
77605
  );
76502
77606
  }
76503
77607
 
76504
- /**
76505
- * Download a user recording.
76506
- * API should migrate to use GET api/v2/userrecordings/{recordingId}/transcoding
76507
- * @param {String} recordingId User Recording ID
76508
- * @param {Object} opts Optional parameters
76509
- * @param {Object} opts.formatId The desired media format. (default to WEBM)
76510
- * @param {Boolean} opts.async When set to true, api will return 202 response until the recording is ready for download
76511
- * @deprecated
76512
- */
76513
- getUserrecordingMedia(recordingId, opts) {
76514
- opts = opts || {};
76515
-
76516
- // verify the required parameter 'recordingId' is set
76517
- if (recordingId === undefined || recordingId === null || recordingId === '') {
76518
- throw 'Missing the required parameter "recordingId" when calling getUserrecordingMedia';
76519
- }
76520
-
76521
- return this.apiClient.callApi(
76522
- '/api/v2/userrecordings/{recordingId}/media',
76523
- 'GET',
76524
- { 'recordingId': recordingId },
76525
- { 'formatId': opts['formatId'],'async': opts['async'] },
76526
- { },
76527
- { },
76528
- null,
76529
- ['PureCloud OAuth'],
76530
- ['application/json'],
76531
- ['application/json']
76532
- );
76533
- }
76534
-
76535
77608
  /**
76536
77609
  * Download a user recording.
76537
77610
  *
@@ -76647,7 +77720,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
76647
77720
  /**
76648
77721
  * Users service.
76649
77722
  * @module purecloud-platform-client-v2/api/UsersApi
76650
- * @version 230.0.0
77723
+ * @version 232.0.0
76651
77724
  */
76652
77725
 
76653
77726
  /**
@@ -79656,7 +80729,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
79656
80729
  /**
79657
80730
  * Utilities service.
79658
80731
  * @module purecloud-platform-client-v2/api/UtilitiesApi
79659
- * @version 230.0.0
80732
+ * @version 232.0.0
79660
80733
  */
79661
80734
 
79662
80735
  /**
@@ -79767,7 +80840,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
79767
80840
  /**
79768
80841
  * Voicemail service.
79769
80842
  * @module purecloud-platform-client-v2/api/VoicemailApi
79770
- * @version 230.0.0
80843
+ * @version 232.0.0
79771
80844
  */
79772
80845
 
79773
80846
  /**
@@ -80489,7 +81562,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
80489
81562
  /**
80490
81563
  * WebChat service.
80491
81564
  * @module purecloud-platform-client-v2/api/WebChatApi
80492
- * @version 230.0.0
81565
+ * @version 232.0.0
80493
81566
  */
80494
81567
 
80495
81568
  /**
@@ -80563,7 +81636,8 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
80563
81636
 
80564
81637
  /**
80565
81638
  * Remove WebChat deployment settings
80566
- *
81639
+ * This endpoint is deprecated. Please see the article https://community.genesys.com/discussion/deprecation-acd-chat-v20-and-resulting-impact-to-apiv2webchatsettings.
81640
+ * @deprecated
80567
81641
  */
80568
81642
  deleteWebchatSettings() {
80569
81643
 
@@ -80814,7 +81888,8 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
80814
81888
 
80815
81889
  /**
80816
81890
  * Get WebChat deployment settings
80817
- *
81891
+ * This endpoint is deprecated. Please see the article https://community.genesys.com/discussion/deprecation-acd-chat-v20-and-resulting-impact-to-apiv2webchatsettings.
81892
+ * @deprecated
80818
81893
  */
80819
81894
  getWebchatSettings() {
80820
81895
 
@@ -81020,8 +82095,9 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
81020
82095
 
81021
82096
  /**
81022
82097
  * Update WebChat deployment settings
81023
- *
82098
+ * This endpoint is deprecated. Please see the article https://community.genesys.com/discussion/deprecation-acd-chat-v20-and-resulting-impact-to-apiv2webchatsettings.
81024
82099
  * @param {Object} body webChatSettings
82100
+ * @deprecated
81025
82101
  */
81026
82102
  putWebchatSettings(body) {
81027
82103
  // verify the required parameter 'body' is set
@@ -81049,7 +82125,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
81049
82125
  /**
81050
82126
  * WebDeployments service.
81051
82127
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
81052
- * @version 230.0.0
82128
+ * @version 232.0.0
81053
82129
  */
81054
82130
 
81055
82131
  /**
@@ -81631,7 +82707,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
81631
82707
  /**
81632
82708
  * WebMessaging service.
81633
82709
  * @module purecloud-platform-client-v2/api/WebMessagingApi
81634
- * @version 230.0.0
82710
+ * @version 232.0.0
81635
82711
  */
81636
82712
 
81637
82713
  /**
@@ -81777,7 +82853,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
81777
82853
  /**
81778
82854
  * Widgets service.
81779
82855
  * @module purecloud-platform-client-v2/api/WidgetsApi
81780
- * @version 230.0.0
82856
+ * @version 232.0.0
81781
82857
  */
81782
82858
 
81783
82859
  /**
@@ -81928,7 +83004,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
81928
83004
  /**
81929
83005
  * WorkforceManagement service.
81930
83006
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
81931
- * @version 230.0.0
83007
+ * @version 232.0.0
81932
83008
  */
81933
83009
 
81934
83010
  /**
@@ -87064,6 +88140,36 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
87064
88140
  );
87065
88141
  }
87066
88142
 
88143
+ /**
88144
+ * Fetch agent schedules for the logged in user's management unit
88145
+ *
88146
+ * @param {Object} body body
88147
+ * @param {Object} opts Optional parameters
88148
+ * @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
88149
+ * @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
88150
+ */
88151
+ postWorkforcemanagementAgentschedulesManagementunitsMine(body, opts) {
88152
+ opts = opts || {};
88153
+
88154
+ // verify the required parameter 'body' is set
88155
+ if (body === undefined || body === null) {
88156
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementAgentschedulesManagementunitsMine';
88157
+ }
88158
+
88159
+ return this.apiClient.callApi(
88160
+ '/api/v2/workforcemanagement/agentschedules/managementunits/mine',
88161
+ 'POST',
88162
+ { },
88163
+ { 'forceAsync': opts['forceAsync'],'forceDownloadService': opts['forceDownloadService'] },
88164
+ { },
88165
+ { },
88166
+ body,
88167
+ ['PureCloud OAuth'],
88168
+ ['application/json'],
88169
+ ['application/json']
88170
+ );
88171
+ }
88172
+
87067
88173
  /**
87068
88174
  * Get published schedule for the current user
87069
88175
  *
@@ -89898,7 +91004,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
89898
91004
  * </pre>
89899
91005
  * </p>
89900
91006
  * @module purecloud-platform-client-v2/index
89901
- * @version 230.0.0
91007
+ * @version 232.0.0
89902
91008
  */
89903
91009
  class platformClient {
89904
91010
  constructor() {