purecloud-platform-client-v2 216.0.0 → 218.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 (91) hide show
  1. package/README.md +3 -3
  2. package/dist/node/purecloud-platform-client-v2.js +1546 -567
  3. package/dist/web-amd/purecloud-platform-client-v2.js +1546 -567
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +502 -282
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +507 -285
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +951 -292
  9. package/package.json +1 -1
  10. package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
  11. package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +1 -1
  12. package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +1 -1
  13. package/src/purecloud-platform-client-v2/api/AgentUIApi.js +1 -1
  14. package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -305
  15. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +2 -2
  16. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +112 -1
  17. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +9 -8
  19. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
  21. package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -8
  22. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +387 -2
  25. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +243 -4
  32. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +5 -3
  42. package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +13 -16
  44. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +9 -8
  55. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -68
  57. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/OutboundApi.js +19 -7
  59. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -2
  62. package/src/purecloud-platform-client-v2/api/RecordingApi.js +5 -29
  63. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/RoutingApi.js +182 -1
  65. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +403 -20
  71. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  74. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +3 -2
  78. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  79. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  80. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -3
  81. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  82. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  83. package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
  84. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  85. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  86. package/src/purecloud-platform-client-v2/api/WebChatApi.js +19 -10
  87. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +58 -1
  88. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  89. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +11 -6
  90. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
  91. package/src/purecloud-platform-client-v2/index.js +1 -1
@@ -690,7 +690,7 @@ class Configuration {
690
690
 
691
691
  /**
692
692
  * @module purecloud-platform-client-v2/ApiClient
693
- * @version 216.0.0
693
+ * @version 218.0.0
694
694
  */
695
695
  class ApiClient {
696
696
  /**
@@ -2234,7 +2234,7 @@ class AgentAssistantsApi {
2234
2234
  /**
2235
2235
  * AgentAssistants service.
2236
2236
  * @module purecloud-platform-client-v2/api/AgentAssistantsApi
2237
- * @version 216.0.0
2237
+ * @version 218.0.0
2238
2238
  */
2239
2239
 
2240
2240
  /**
@@ -2610,7 +2610,7 @@ class AgentCopilotApi {
2610
2610
  /**
2611
2611
  * AgentCopilot service.
2612
2612
  * @module purecloud-platform-client-v2/api/AgentCopilotApi
2613
- * @version 216.0.0
2613
+ * @version 218.0.0
2614
2614
  */
2615
2615
 
2616
2616
  /**
@@ -2686,7 +2686,7 @@ class AgentUIApi {
2686
2686
  /**
2687
2687
  * AgentUI service.
2688
2688
  * @module purecloud-platform-client-v2/api/AgentUIApi
2689
- * @version 216.0.0
2689
+ * @version 218.0.0
2690
2690
  */
2691
2691
 
2692
2692
  /**
@@ -2817,7 +2817,7 @@ class AlertingApi {
2817
2817
  /**
2818
2818
  * Alerting service.
2819
2819
  * @module purecloud-platform-client-v2/api/AlertingApi
2820
- * @version 216.0.0
2820
+ * @version 218.0.0
2821
2821
  */
2822
2822
 
2823
2823
  /**
@@ -2877,58 +2877,6 @@ class AlertingApi {
2877
2877
  );
2878
2878
  }
2879
2879
 
2880
- /**
2881
- * Delete an interaction stats alert
2882
- * Apps should migrate to use DELETE /api/v2/alerting/alerts/{alertId}.
2883
- * @param {String} alertId Alert ID
2884
- * @deprecated
2885
- */
2886
- deleteAlertingInteractionstatsAlert(alertId) {
2887
- // verify the required parameter 'alertId' is set
2888
- if (alertId === undefined || alertId === null) {
2889
- throw 'Missing the required parameter "alertId" when calling deleteAlertingInteractionstatsAlert';
2890
- }
2891
-
2892
- return this.apiClient.callApi(
2893
- '/api/v2/alerting/interactionstats/alerts/{alertId}',
2894
- 'DELETE',
2895
- { 'alertId': alertId },
2896
- { },
2897
- { },
2898
- { },
2899
- null,
2900
- ['PureCloud OAuth'],
2901
- ['application/json'],
2902
- ['application/json']
2903
- );
2904
- }
2905
-
2906
- /**
2907
- * Delete an interaction stats rule
2908
- * Apps should migrate to use DELETE /api/v2/alerting/rules/{ruleId}.
2909
- * @param {String} ruleId Rule ID
2910
- * @deprecated
2911
- */
2912
- deleteAlertingInteractionstatsRule(ruleId) {
2913
- // verify the required parameter 'ruleId' is set
2914
- if (ruleId === undefined || ruleId === null) {
2915
- throw 'Missing the required parameter "ruleId" when calling deleteAlertingInteractionstatsRule';
2916
- }
2917
-
2918
- return this.apiClient.callApi(
2919
- '/api/v2/alerting/interactionstats/rules/{ruleId}',
2920
- 'DELETE',
2921
- { 'ruleId': ruleId },
2922
- { },
2923
- { },
2924
- { },
2925
- null,
2926
- ['PureCloud OAuth'],
2927
- ['application/json'],
2928
- ['application/json']
2929
- );
2930
- }
2931
-
2932
2880
  /**
2933
2881
  * Delete a rule.
2934
2882
  *
@@ -2979,158 +2927,6 @@ class AlertingApi {
2979
2927
  );
2980
2928
  }
2981
2929
 
2982
- /**
2983
- * Gets active alert count for a user
2984
- * Apps should migrate to use POST /api/v2/alerting/alerts/query with the queryType set to Count and alertStatus to Active in the request body.
2985
- * @deprecated
2986
- */
2987
- getAlertingAlertsActive() {
2988
-
2989
- return this.apiClient.callApi(
2990
- '/api/v2/alerting/alerts/active',
2991
- 'GET',
2992
- { },
2993
- { },
2994
- { },
2995
- { },
2996
- null,
2997
- ['PureCloud OAuth'],
2998
- ['application/json'],
2999
- ['application/json']
3000
- );
3001
- }
3002
-
3003
- /**
3004
- * Get an interaction stats alert
3005
- * Apps should migrate to use GET /api/v2/alerting/alerts/{alertId}.
3006
- * @param {String} alertId Alert ID
3007
- * @param {Object} opts Optional parameters
3008
- * @param {Array.<String>} opts.expand Which fields, if any, to expand
3009
- * @deprecated
3010
- */
3011
- getAlertingInteractionstatsAlert(alertId, opts) {
3012
- opts = opts || {};
3013
-
3014
- // verify the required parameter 'alertId' is set
3015
- if (alertId === undefined || alertId === null) {
3016
- throw 'Missing the required parameter "alertId" when calling getAlertingInteractionstatsAlert';
3017
- }
3018
-
3019
- return this.apiClient.callApi(
3020
- '/api/v2/alerting/interactionstats/alerts/{alertId}',
3021
- 'GET',
3022
- { 'alertId': alertId },
3023
- { 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
3024
- { },
3025
- { },
3026
- null,
3027
- ['PureCloud OAuth'],
3028
- ['application/json'],
3029
- ['application/json']
3030
- );
3031
- }
3032
-
3033
- /**
3034
- * Get interaction stats alert list
3035
- * Apps should migrate to use POST /api/v2/alerting/alerts/query.
3036
- * @param {Object} opts Optional parameters
3037
- * @param {Array.<String>} opts.expand Which fields, if any, to expand
3038
- * @deprecated
3039
- */
3040
- getAlertingInteractionstatsAlerts(opts) {
3041
- opts = opts || {};
3042
-
3043
-
3044
- return this.apiClient.callApi(
3045
- '/api/v2/alerting/interactionstats/alerts',
3046
- 'GET',
3047
- { },
3048
- { 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
3049
- { },
3050
- { },
3051
- null,
3052
- ['PureCloud OAuth'],
3053
- ['application/json'],
3054
- ['application/json']
3055
- );
3056
- }
3057
-
3058
- /**
3059
- * Gets user unread count of interaction stats alerts
3060
- * Apps should migrate to use POST /api/v2/alerting/alerts/query with the queryType set to Count and viewStatus to Unread in the request body.
3061
- * @deprecated
3062
- */
3063
- getAlertingInteractionstatsAlertsUnread() {
3064
-
3065
- return this.apiClient.callApi(
3066
- '/api/v2/alerting/interactionstats/alerts/unread',
3067
- 'GET',
3068
- { },
3069
- { },
3070
- { },
3071
- { },
3072
- null,
3073
- ['PureCloud OAuth'],
3074
- ['application/json'],
3075
- ['application/json']
3076
- );
3077
- }
3078
-
3079
- /**
3080
- * Get an interaction stats rule
3081
- * Apps should migrate to use GET /api/v2/alerting/rules/{ruleId}.
3082
- * @param {String} ruleId Rule ID
3083
- * @param {Object} opts Optional parameters
3084
- * @param {Array.<String>} opts.expand Which fields, if any, to expand
3085
- * @deprecated
3086
- */
3087
- getAlertingInteractionstatsRule(ruleId, opts) {
3088
- opts = opts || {};
3089
-
3090
- // verify the required parameter 'ruleId' is set
3091
- if (ruleId === undefined || ruleId === null) {
3092
- throw 'Missing the required parameter "ruleId" when calling getAlertingInteractionstatsRule';
3093
- }
3094
-
3095
- return this.apiClient.callApi(
3096
- '/api/v2/alerting/interactionstats/rules/{ruleId}',
3097
- 'GET',
3098
- { 'ruleId': ruleId },
3099
- { 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
3100
- { },
3101
- { },
3102
- null,
3103
- ['PureCloud OAuth'],
3104
- ['application/json'],
3105
- ['application/json']
3106
- );
3107
- }
3108
-
3109
- /**
3110
- * Get an interaction stats rule list
3111
- * Apps should migrate to use POST /api/v2/alerting/rules/query.
3112
- * @param {Object} opts Optional parameters
3113
- * @param {Array.<String>} opts.expand Which fields, if any, to expand
3114
- * @deprecated
3115
- */
3116
- getAlertingInteractionstatsRules(opts) {
3117
- opts = opts || {};
3118
-
3119
-
3120
- return this.apiClient.callApi(
3121
- '/api/v2/alerting/interactionstats/rules',
3122
- 'GET',
3123
- { },
3124
- { 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
3125
- { },
3126
- { },
3127
- null,
3128
- ['PureCloud OAuth'],
3129
- ['application/json'],
3130
- ['application/json']
3131
- );
3132
- }
3133
-
3134
2930
  /**
3135
2931
  * Get a rule.
3136
2932
  *
@@ -3283,36 +3079,6 @@ class AlertingApi {
3283
3079
  );
3284
3080
  }
3285
3081
 
3286
- /**
3287
- * Create an interaction stats rule
3288
- * Apps should migrate to use POST /api/v2/alerting/rules.
3289
- * @param {Object} body AlertingRule
3290
- * @param {Object} opts Optional parameters
3291
- * @param {Array.<String>} opts.expand Which fields, if any, to expand
3292
- * @deprecated
3293
- */
3294
- postAlertingInteractionstatsRules(body, opts) {
3295
- opts = opts || {};
3296
-
3297
- // verify the required parameter 'body' is set
3298
- if (body === undefined || body === null) {
3299
- throw 'Missing the required parameter "body" when calling postAlertingInteractionstatsRules';
3300
- }
3301
-
3302
- return this.apiClient.callApi(
3303
- '/api/v2/alerting/interactionstats/rules',
3304
- 'POST',
3305
- { },
3306
- { 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
3307
- { },
3308
- { },
3309
- body,
3310
- ['PureCloud OAuth'],
3311
- ['application/json'],
3312
- ['application/json']
3313
- );
3314
- }
3315
-
3316
3082
  /**
3317
3083
  * Create a Rule.
3318
3084
  *
@@ -3416,76 +3182,6 @@ class AlertingApi {
3416
3182
  );
3417
3183
  }
3418
3184
 
3419
- /**
3420
- * Update an interaction stats alert read status
3421
- * Apps should migrate to use PUT /api/v2/alerting/alerts/{alertId}.
3422
- * @param {String} alertId Alert ID
3423
- * @param {Object} body InteractionStatsAlert
3424
- * @param {Object} opts Optional parameters
3425
- * @param {Array.<String>} opts.expand Which fields, if any, to expand
3426
- * @deprecated
3427
- */
3428
- putAlertingInteractionstatsAlert(alertId, body, opts) {
3429
- opts = opts || {};
3430
-
3431
- // verify the required parameter 'alertId' is set
3432
- if (alertId === undefined || alertId === null) {
3433
- throw 'Missing the required parameter "alertId" when calling putAlertingInteractionstatsAlert';
3434
- }
3435
- // verify the required parameter 'body' is set
3436
- if (body === undefined || body === null) {
3437
- throw 'Missing the required parameter "body" when calling putAlertingInteractionstatsAlert';
3438
- }
3439
-
3440
- return this.apiClient.callApi(
3441
- '/api/v2/alerting/interactionstats/alerts/{alertId}',
3442
- 'PUT',
3443
- { 'alertId': alertId },
3444
- { 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
3445
- { },
3446
- { },
3447
- body,
3448
- ['PureCloud OAuth'],
3449
- ['application/json'],
3450
- ['application/json']
3451
- );
3452
- }
3453
-
3454
- /**
3455
- * Update an interaction stats rule
3456
- * Apps should migrate to use PUT /api/v2/alerting/rules/{ruleId}.
3457
- * @param {String} ruleId Rule ID
3458
- * @param {Object} body AlertingRule
3459
- * @param {Object} opts Optional parameters
3460
- * @param {Array.<String>} opts.expand Which fields, if any, to expand
3461
- * @deprecated
3462
- */
3463
- putAlertingInteractionstatsRule(ruleId, body, opts) {
3464
- opts = opts || {};
3465
-
3466
- // verify the required parameter 'ruleId' is set
3467
- if (ruleId === undefined || ruleId === null) {
3468
- throw 'Missing the required parameter "ruleId" when calling putAlertingInteractionstatsRule';
3469
- }
3470
- // verify the required parameter 'body' is set
3471
- if (body === undefined || body === null) {
3472
- throw 'Missing the required parameter "body" when calling putAlertingInteractionstatsRule';
3473
- }
3474
-
3475
- return this.apiClient.callApi(
3476
- '/api/v2/alerting/interactionstats/rules/{ruleId}',
3477
- 'PUT',
3478
- { 'ruleId': ruleId },
3479
- { 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
3480
- { },
3481
- { },
3482
- body,
3483
- ['PureCloud OAuth'],
3484
- ['application/json'],
3485
- ['application/json']
3486
- );
3487
- }
3488
-
3489
3185
  /**
3490
3186
  * Update a rule
3491
3187
  *
@@ -3522,7 +3218,7 @@ class AnalyticsApi {
3522
3218
  /**
3523
3219
  * Analytics service.
3524
3220
  * @module purecloud-platform-client-v2/api/AnalyticsApi
3525
- * @version 216.0.0
3221
+ * @version 218.0.0
3526
3222
  */
3527
3223
 
3528
3224
  /**
@@ -4399,7 +4095,7 @@ class AnalyticsApi {
4399
4095
  * @param {Number} opts.pageSize (default to 25)
4400
4096
  * @param {Array.<String>} opts.id A list of user IDs to fetch by bulk
4401
4097
  * @param {Object} opts.state Only list users of this state
4402
- * @param {Boolean} opts.deletedOnly Only list deleted dashboards that are still recoverable
4098
+ * @param {Boolean} opts.deletedOnly Only list users with deleted dashboards
4403
4099
  */
4404
4100
  getAnalyticsReportingDashboardsUsers(opts) {
4405
4101
  opts = opts || {};
@@ -6346,7 +6042,7 @@ class ArchitectApi {
6346
6042
  /**
6347
6043
  * Architect service.
6348
6044
  * @module purecloud-platform-client-v2/api/ArchitectApi
6349
- * @version 216.0.0
6045
+ * @version 218.0.0
6350
6046
  */
6351
6047
 
6352
6048
  /**
@@ -7376,6 +7072,32 @@ class ArchitectApi {
7376
7072
  );
7377
7073
  }
7378
7074
 
7075
+ /**
7076
+ * Get an IVR IdentityResolutionConfig.
7077
+ *
7078
+ * @param {String} ivrId IVR id
7079
+ * getArchitectIvrIdentityresolution is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7080
+ */
7081
+ getArchitectIvrIdentityresolution(ivrId) {
7082
+ // verify the required parameter 'ivrId' is set
7083
+ if (ivrId === undefined || ivrId === null) {
7084
+ throw 'Missing the required parameter "ivrId" when calling getArchitectIvrIdentityresolution';
7085
+ }
7086
+
7087
+ return this.apiClient.callApi(
7088
+ '/api/v2/architect/ivrs/{ivrId}/identityresolution',
7089
+ 'GET',
7090
+ { 'ivrId': ivrId },
7091
+ { },
7092
+ { },
7093
+ { },
7094
+ null,
7095
+ ['PureCloud OAuth'],
7096
+ ['application/json'],
7097
+ ['application/json']
7098
+ );
7099
+ }
7100
+
7379
7101
  /**
7380
7102
  * Get IVR configs.
7381
7103
  *
@@ -8650,6 +8372,35 @@ class ArchitectApi {
8650
8372
  );
8651
8373
  }
8652
8374
 
8375
+ /**
8376
+ * Fetch Architect Export Job Status
8377
+ *
8378
+ * @param {String} jobId Job ID
8379
+ * @param {Object} opts Optional parameters
8380
+ * @param {Array.<String>} opts.expand Which fields, if any, to expand.
8381
+ */
8382
+ getFlowsExportJob(jobId, opts) {
8383
+ opts = opts || {};
8384
+
8385
+ // verify the required parameter 'jobId' is set
8386
+ if (jobId === undefined || jobId === null) {
8387
+ throw 'Missing the required parameter "jobId" when calling getFlowsExportJob';
8388
+ }
8389
+
8390
+ return this.apiClient.callApi(
8391
+ '/api/v2/flows/export/jobs/{jobId}',
8392
+ 'GET',
8393
+ { 'jobId': jobId },
8394
+ { 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
8395
+ { },
8396
+ { },
8397
+ null,
8398
+ ['PureCloud OAuth'],
8399
+ ['application/json'],
8400
+ ['application/json']
8401
+ );
8402
+ }
8403
+
8653
8404
  /**
8654
8405
  * Start a process (job) to prepare a download of a singular flow execution data instance by Id
8655
8406
  * Returns a JobResult object that contains an ID that can be used to check status and/or download links when the process (job) is complete.
@@ -9896,6 +9647,31 @@ class ArchitectApi {
9896
9647
  );
9897
9648
  }
9898
9649
 
9650
+ /**
9651
+ * Register Architect Export Job
9652
+ *
9653
+ * @param {Object} body
9654
+ */
9655
+ postFlowsExportJobs(body) {
9656
+ // verify the required parameter 'body' is set
9657
+ if (body === undefined || body === null) {
9658
+ throw 'Missing the required parameter "body" when calling postFlowsExportJobs';
9659
+ }
9660
+
9661
+ return this.apiClient.callApi(
9662
+ '/api/v2/flows/export/jobs',
9663
+ 'POST',
9664
+ { },
9665
+ { },
9666
+ { },
9667
+ { },
9668
+ body,
9669
+ ['PureCloud OAuth'],
9670
+ ['application/json'],
9671
+ ['application/json']
9672
+ );
9673
+ }
9674
+
9899
9675
  /**
9900
9676
  * Start a process (job) that will prepare a list of execution data IDs for download.
9901
9677
  * Returns a JobResult object that contains an ID that can be used to check status and/or download links when the process (job) is complete.
@@ -10083,6 +9859,37 @@ class ArchitectApi {
10083
9859
  );
10084
9860
  }
10085
9861
 
9862
+ /**
9863
+ * Update an IVR IdentityResolutionConfig.
9864
+ *
9865
+ * @param {String} ivrId IVR id
9866
+ * @param {Object} body
9867
+ * putArchitectIvrIdentityresolution is a preview method and is subject to both breaking and non-breaking changes at any time without notice
9868
+ */
9869
+ putArchitectIvrIdentityresolution(ivrId, body) {
9870
+ // verify the required parameter 'ivrId' is set
9871
+ if (ivrId === undefined || ivrId === null) {
9872
+ throw 'Missing the required parameter "ivrId" when calling putArchitectIvrIdentityresolution';
9873
+ }
9874
+ // verify the required parameter 'body' is set
9875
+ if (body === undefined || body === null) {
9876
+ throw 'Missing the required parameter "body" when calling putArchitectIvrIdentityresolution';
9877
+ }
9878
+
9879
+ return this.apiClient.callApi(
9880
+ '/api/v2/architect/ivrs/{ivrId}/identityresolution',
9881
+ 'PUT',
9882
+ { 'ivrId': ivrId },
9883
+ { },
9884
+ { },
9885
+ { },
9886
+ body,
9887
+ ['PureCloud OAuth'],
9888
+ ['application/json'],
9889
+ ['application/json']
9890
+ );
9891
+ }
9892
+
10086
9893
  /**
10087
9894
  * Update specified user prompt
10088
9895
  *
@@ -10468,7 +10275,7 @@ class AuditApi {
10468
10275
  /**
10469
10276
  * Audit service.
10470
10277
  * @module purecloud-platform-client-v2/api/AuditApi
10471
- * @version 216.0.0
10278
+ * @version 218.0.0
10472
10279
  */
10473
10280
 
10474
10281
  /**
@@ -10669,7 +10476,7 @@ class AuthorizationApi {
10669
10476
  /**
10670
10477
  * Authorization service.
10671
10478
  * @module purecloud-platform-client-v2/api/AuthorizationApi
10672
- * @version 216.0.0
10479
+ * @version 218.0.0
10673
10480
  */
10674
10481
 
10675
10482
  /**
@@ -10689,7 +10496,7 @@ class AuthorizationApi {
10689
10496
  *
10690
10497
  * @param {String} divisionId Division ID
10691
10498
  * @param {Object} opts Optional parameters
10692
- * @param {Boolean} opts.force Force delete this division as well as the grants and objects associated with it (default to false)
10499
+ * @param {Boolean} opts.force DEPRECATED - Force delete this division. Warning: This option may cause any remaining objects in this division to be inaccessible. (default to false)
10693
10500
  */
10694
10501
  deleteAuthorizationDivision(divisionId, opts) {
10695
10502
  opts = opts || {};
@@ -11664,16 +11471,17 @@ class AuthorizationApi {
11664
11471
  * Recreate a previously deleted division.
11665
11472
  *
11666
11473
  * @param {String} divisionId Division ID
11667
- * @param {Object} opts Optional parameters
11668
- * @param {Object} opts.body Recreated division data
11474
+ * @param {Object} body Recreated division data
11669
11475
  */
11670
- postAuthorizationDivisionRestore(divisionId, opts) {
11671
- opts = opts || {};
11672
-
11476
+ postAuthorizationDivisionRestore(divisionId, body) {
11673
11477
  // verify the required parameter 'divisionId' is set
11674
11478
  if (divisionId === undefined || divisionId === null) {
11675
11479
  throw 'Missing the required parameter "divisionId" when calling postAuthorizationDivisionRestore';
11676
11480
  }
11481
+ // verify the required parameter 'body' is set
11482
+ if (body === undefined || body === null) {
11483
+ throw 'Missing the required parameter "body" when calling postAuthorizationDivisionRestore';
11484
+ }
11677
11485
 
11678
11486
  return this.apiClient.callApi(
11679
11487
  '/api/v2/authorization/divisions/{divisionId}/restore',
@@ -11682,7 +11490,7 @@ class AuthorizationApi {
11682
11490
  { },
11683
11491
  { },
11684
11492
  { },
11685
- opts['body'],
11493
+ body,
11686
11494
  ['PureCloud OAuth'],
11687
11495
  ['application/json'],
11688
11496
  ['application/json']
@@ -12330,7 +12138,7 @@ class BillingApi {
12330
12138
  /**
12331
12139
  * Billing service.
12332
12140
  * @module purecloud-platform-client-v2/api/BillingApi
12333
- * @version 216.0.0
12141
+ * @version 218.0.0
12334
12142
  */
12335
12143
 
12336
12144
  /**
@@ -12410,7 +12218,7 @@ class CarrierServicesApi {
12410
12218
  /**
12411
12219
  * CarrierServices service.
12412
12220
  * @module purecloud-platform-client-v2/api/CarrierServicesApi
12413
- * @version 216.0.0
12221
+ * @version 218.0.0
12414
12222
  */
12415
12223
 
12416
12224
  /**
@@ -12480,7 +12288,7 @@ class ChatApi {
12480
12288
  /**
12481
12289
  * Chat service.
12482
12290
  * @module purecloud-platform-client-v2/api/ChatApi
12483
- * @version 216.0.0
12291
+ * @version 218.0.0
12484
12292
  */
12485
12293
 
12486
12294
  /**
@@ -12620,7 +12428,6 @@ class ChatApi {
12620
12428
  *
12621
12429
  * @param {String} userId userId
12622
12430
  * @param {String} pinnedMessageId pinnedMessageId
12623
- * deleteChatsUserMessagesPin is a preview method and is subject to both breaking and non-breaking changes at any time without notice
12624
12431
  */
12625
12432
  deleteChatsUserMessagesPin(userId, pinnedMessageId) {
12626
12433
  // verify the required parameter 'userId' is set
@@ -12867,7 +12674,6 @@ class ChatApi {
12867
12674
  * Get information for a 1on1
12868
12675
  *
12869
12676
  * @param {String} userId userId
12870
- * getChatsUser is a preview method and is subject to both breaking and non-breaking changes at any time without notice
12871
12677
  */
12872
12678
  getChatsUser(userId) {
12873
12679
  // verify the required parameter 'userId' is set
@@ -12954,7 +12760,6 @@ class ChatApi {
12954
12760
  * Get a user's chat settings
12955
12761
  *
12956
12762
  * @param {String} userId User ID
12957
- * getChatsUserSettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice
12958
12763
  */
12959
12764
  getChatsUserSettings(userId) {
12960
12765
  // verify the required parameter 'userId' is set
@@ -12979,7 +12784,6 @@ class ChatApi {
12979
12784
  /**
12980
12785
  * Get a user's chat settings
12981
12786
  *
12982
- * getChatsUsersMeSettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice
12983
12787
  */
12984
12788
  getChatsUsersMeSettings() {
12985
12789
 
@@ -13127,7 +12931,6 @@ class ChatApi {
13127
12931
  *
13128
12932
  * @param {String} userId User ID
13129
12933
  * @param {Object} body
13130
- * patchChatsUserSettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice
13131
12934
  */
13132
12935
  patchChatsUserSettings(userId, body) {
13133
12936
  // verify the required parameter 'userId' is set
@@ -13157,7 +12960,6 @@ class ChatApi {
13157
12960
  * Update a user's chat settings
13158
12961
  *
13159
12962
  * @param {Object} body
13160
- * patchChatsUsersMeSettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice
13161
12963
  */
13162
12964
  patchChatsUsersMeSettings(body) {
13163
12965
  // verify the required parameter 'body' is set
@@ -13329,7 +13131,6 @@ class ChatApi {
13329
13131
  *
13330
13132
  * @param {String} userId userId
13331
13133
  * @param {Object} body Pinned Message Ids
13332
- * postChatsUserMessagesPins is a preview method and is subject to both breaking and non-breaking changes at any time without notice
13333
13134
  */
13334
13135
  postChatsUserMessagesPins(userId, body) {
13335
13136
  // verify the required parameter 'userId' is set
@@ -13416,7 +13217,7 @@ class CoachingApi {
13416
13217
  /**
13417
13218
  * Coaching service.
13418
13219
  * @module purecloud-platform-client-v2/api/CoachingApi
13419
- * @version 216.0.0
13220
+ * @version 218.0.0
13420
13221
  */
13421
13222
 
13422
13223
  /**
@@ -13993,7 +13794,7 @@ class ContentManagementApi {
13993
13794
  /**
13994
13795
  * ContentManagement service.
13995
13796
  * @module purecloud-platform-client-v2/api/ContentManagementApi
13996
- * @version 216.0.0
13797
+ * @version 218.0.0
13997
13798
  */
13998
13799
 
13999
13800
  /**
@@ -15074,7 +14875,7 @@ class ConversationsApi {
15074
14875
  /**
15075
14876
  * Conversations service.
15076
14877
  * @module purecloud-platform-client-v2/api/ConversationsApi
15077
- * @version 216.0.0
14878
+ * @version 218.0.0
15078
14879
  */
15079
14880
 
15080
14881
  /**
@@ -15339,6 +15140,31 @@ class ConversationsApi {
15339
15140
  );
15340
15141
  }
15341
15142
 
15143
+ /**
15144
+ * Delete Twitter messaging integration
15145
+ *
15146
+ * @param {String} integrationId Integration ID
15147
+ */
15148
+ deleteConversationsMessagingIntegrationsTwitterIntegrationId(integrationId) {
15149
+ // verify the required parameter 'integrationId' is set
15150
+ if (integrationId === undefined || integrationId === null) {
15151
+ throw 'Missing the required parameter "integrationId" when calling deleteConversationsMessagingIntegrationsTwitterIntegrationId';
15152
+ }
15153
+
15154
+ return this.apiClient.callApi(
15155
+ '/api/v2/conversations/messaging/integrations/twitter/{integrationId}',
15156
+ 'DELETE',
15157
+ { 'integrationId': integrationId },
15158
+ { },
15159
+ { },
15160
+ { },
15161
+ null,
15162
+ ['PureCloud OAuth'],
15163
+ ['application/json'],
15164
+ ['application/json']
15165
+ );
15166
+ }
15167
+
15342
15168
  /**
15343
15169
  * Delete a WhatsApp messaging integration
15344
15170
  *
@@ -17251,6 +17077,109 @@ class ConversationsApi {
17251
17077
  );
17252
17078
  }
17253
17079
 
17080
+ /**
17081
+ * Get Facebook messaging integration identity resolution settings
17082
+ *
17083
+ * @param {String} integrationId Integration ID
17084
+ * getConversationsMessagingIdentityresolutionIntegrationsFacebookIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
17085
+ */
17086
+ getConversationsMessagingIdentityresolutionIntegrationsFacebookIntegrationId(integrationId) {
17087
+ // verify the required parameter 'integrationId' is set
17088
+ if (integrationId === undefined || integrationId === null) {
17089
+ throw 'Missing the required parameter "integrationId" when calling getConversationsMessagingIdentityresolutionIntegrationsFacebookIntegrationId';
17090
+ }
17091
+
17092
+ return this.apiClient.callApi(
17093
+ '/api/v2/conversations/messaging/identityresolution/integrations/facebook/{integrationId}',
17094
+ 'GET',
17095
+ { 'integrationId': integrationId },
17096
+ { },
17097
+ { },
17098
+ { },
17099
+ null,
17100
+ ['PureCloud OAuth'],
17101
+ ['application/json'],
17102
+ ['application/json']
17103
+ );
17104
+ }
17105
+
17106
+ /**
17107
+ * Get an open messaging integration Identity Resolution settings
17108
+ *
17109
+ * @param {String} integrationId Integration ID
17110
+ * getConversationsMessagingIdentityresolutionIntegrationsOpenIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
17111
+ */
17112
+ getConversationsMessagingIdentityresolutionIntegrationsOpenIntegrationId(integrationId) {
17113
+ // verify the required parameter 'integrationId' is set
17114
+ if (integrationId === undefined || integrationId === null) {
17115
+ throw 'Missing the required parameter "integrationId" when calling getConversationsMessagingIdentityresolutionIntegrationsOpenIntegrationId';
17116
+ }
17117
+
17118
+ return this.apiClient.callApi(
17119
+ '/api/v2/conversations/messaging/identityresolution/integrations/open/{integrationId}',
17120
+ 'GET',
17121
+ { 'integrationId': integrationId },
17122
+ { },
17123
+ { },
17124
+ { },
17125
+ null,
17126
+ ['PureCloud OAuth'],
17127
+ ['application/json'],
17128
+ ['application/json']
17129
+ );
17130
+ }
17131
+
17132
+ /**
17133
+ * Get a whatsApp integration Identity Resolution settings
17134
+ *
17135
+ * @param {String} integrationId Integration ID
17136
+ * getConversationsMessagingIdentityresolutionIntegrationsWhatsappIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
17137
+ */
17138
+ getConversationsMessagingIdentityresolutionIntegrationsWhatsappIntegrationId(integrationId) {
17139
+ // verify the required parameter 'integrationId' is set
17140
+ if (integrationId === undefined || integrationId === null) {
17141
+ throw 'Missing the required parameter "integrationId" when calling getConversationsMessagingIdentityresolutionIntegrationsWhatsappIntegrationId';
17142
+ }
17143
+
17144
+ return this.apiClient.callApi(
17145
+ '/api/v2/conversations/messaging/identityresolution/integrations/whatsapp/{integrationId}',
17146
+ 'GET',
17147
+ { 'integrationId': integrationId },
17148
+ { },
17149
+ { },
17150
+ { },
17151
+ null,
17152
+ ['PureCloud OAuth'],
17153
+ ['application/json'],
17154
+ ['application/json']
17155
+ );
17156
+ }
17157
+
17158
+ /**
17159
+ * Get twitter oauth settings to patch an integration
17160
+ *
17161
+ * @param {String} integrationId Integration Id of an existing integration that needs to be patched with new oauth settings
17162
+ */
17163
+ getConversationsMessagingIntegrationTwitterOauthSettings(integrationId) {
17164
+ // verify the required parameter 'integrationId' is set
17165
+ if (integrationId === undefined || integrationId === null) {
17166
+ throw 'Missing the required parameter "integrationId" when calling getConversationsMessagingIntegrationTwitterOauthSettings';
17167
+ }
17168
+
17169
+ return this.apiClient.callApi(
17170
+ '/api/v2/conversations/messaging/integrations/{integrationId}/twitter/oauth/settings',
17171
+ 'GET',
17172
+ { 'integrationId': integrationId },
17173
+ { },
17174
+ { },
17175
+ { },
17176
+ null,
17177
+ ['PureCloud OAuth'],
17178
+ ['application/json'],
17179
+ ['application/json']
17180
+ );
17181
+ }
17182
+
17254
17183
  /**
17255
17184
  * Get a list of Integrations
17256
17185
  *
@@ -17450,6 +17379,83 @@ class ConversationsApi {
17450
17379
  );
17451
17380
  }
17452
17381
 
17382
+ /**
17383
+ * Get a list of Twitter Integrations
17384
+ *
17385
+ * @param {Object} opts Optional parameters
17386
+ * @param {Number} opts.pageSize Page size (default to 25)
17387
+ * @param {Number} opts.pageNumber Page number (default to 1)
17388
+ * @param {Object} opts.expand Expand instructions for the return value.
17389
+ * @param {String} opts.supportedContentId Filter integrations returned based on the supported content ID
17390
+ * @param {String} opts.messagingSettingId Filter integrations returned based on the setting ID
17391
+ */
17392
+ getConversationsMessagingIntegrationsTwitter(opts) {
17393
+ opts = opts || {};
17394
+
17395
+
17396
+ return this.apiClient.callApi(
17397
+ '/api/v2/conversations/messaging/integrations/twitter',
17398
+ 'GET',
17399
+ { },
17400
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'expand': opts['expand'],'supportedContent.id': opts['supportedContentId'],'messagingSetting.id': opts['messagingSettingId'] },
17401
+ { },
17402
+ { },
17403
+ null,
17404
+ ['PureCloud OAuth'],
17405
+ ['application/json'],
17406
+ ['application/json']
17407
+ );
17408
+ }
17409
+
17410
+ /**
17411
+ * Get Twitter messaging integration
17412
+ *
17413
+ * @param {String} integrationId Integration ID
17414
+ * @param {Object} opts Optional parameters
17415
+ * @param {Object} opts.expand Expand instructions for the return value.
17416
+ */
17417
+ getConversationsMessagingIntegrationsTwitterIntegrationId(integrationId, opts) {
17418
+ opts = opts || {};
17419
+
17420
+ // verify the required parameter 'integrationId' is set
17421
+ if (integrationId === undefined || integrationId === null) {
17422
+ throw 'Missing the required parameter "integrationId" when calling getConversationsMessagingIntegrationsTwitterIntegrationId';
17423
+ }
17424
+
17425
+ return this.apiClient.callApi(
17426
+ '/api/v2/conversations/messaging/integrations/twitter/{integrationId}',
17427
+ 'GET',
17428
+ { 'integrationId': integrationId },
17429
+ { 'expand': opts['expand'] },
17430
+ { },
17431
+ { },
17432
+ null,
17433
+ ['PureCloud OAuth'],
17434
+ ['application/json'],
17435
+ ['application/json']
17436
+ );
17437
+ }
17438
+
17439
+ /**
17440
+ * Get twitter oauth settings
17441
+ *
17442
+ */
17443
+ getConversationsMessagingIntegrationsTwitterOauthSettings() {
17444
+
17445
+ return this.apiClient.callApi(
17446
+ '/api/v2/conversations/messaging/integrations/twitter/oauth/settings',
17447
+ 'GET',
17448
+ { },
17449
+ { },
17450
+ { },
17451
+ { },
17452
+ null,
17453
+ ['PureCloud OAuth'],
17454
+ ['application/json'],
17455
+ ['application/json']
17456
+ );
17457
+ }
17458
+
17453
17459
  /**
17454
17460
  * Get a list of WhatsApp Integrations
17455
17461
  *
@@ -19087,6 +19093,36 @@ class ConversationsApi {
19087
19093
  );
19088
19094
  }
19089
19095
 
19096
+ /**
19097
+ * Update a Twitter messaging integration
19098
+ *
19099
+ * @param {String} integrationId Integration ID
19100
+ * @param {Object} body TwitterIntegrationUpdateRequest
19101
+ */
19102
+ patchConversationsMessagingIntegrationsTwitterIntegrationId(integrationId, body) {
19103
+ // verify the required parameter 'integrationId' is set
19104
+ if (integrationId === undefined || integrationId === null) {
19105
+ throw 'Missing the required parameter "integrationId" when calling patchConversationsMessagingIntegrationsTwitterIntegrationId';
19106
+ }
19107
+ // verify the required parameter 'body' is set
19108
+ if (body === undefined || body === null) {
19109
+ throw 'Missing the required parameter "body" when calling patchConversationsMessagingIntegrationsTwitterIntegrationId';
19110
+ }
19111
+
19112
+ return this.apiClient.callApi(
19113
+ '/api/v2/conversations/messaging/integrations/twitter/{integrationId}',
19114
+ 'PATCH',
19115
+ { 'integrationId': integrationId },
19116
+ { },
19117
+ { },
19118
+ { },
19119
+ body,
19120
+ ['PureCloud OAuth'],
19121
+ ['application/json'],
19122
+ ['application/json']
19123
+ );
19124
+ }
19125
+
19090
19126
  /**
19091
19127
  * Activate a WhatsApp messaging integration created using the WhatsApp embedded signup flow
19092
19128
  * Please specify the phone number to associate with this WhatsApp integration from the list of available phone numbers returned to you in the POST call to create the integration. You can then run a GET on the integration to check if its status has been updated to Active
@@ -21423,6 +21459,31 @@ class ConversationsApi {
21423
21459
  );
21424
21460
  }
21425
21461
 
21462
+ /**
21463
+ * Create Twitter Integration
21464
+ *
21465
+ * @param {Object} body TwitterIntegrationRequest
21466
+ */
21467
+ postConversationsMessagingIntegrationsTwitter(body) {
21468
+ // verify the required parameter 'body' is set
21469
+ if (body === undefined || body === null) {
21470
+ throw 'Missing the required parameter "body" when calling postConversationsMessagingIntegrationsTwitter';
21471
+ }
21472
+
21473
+ return this.apiClient.callApi(
21474
+ '/api/v2/conversations/messaging/integrations/twitter',
21475
+ 'POST',
21476
+ { },
21477
+ { },
21478
+ { },
21479
+ { },
21480
+ body,
21481
+ ['PureCloud OAuth'],
21482
+ ['application/json'],
21483
+ ['application/json']
21484
+ );
21485
+ }
21486
+
21426
21487
  /**
21427
21488
  * [This API is deprecated. Use POST /api/v2/conversations/messaging/integrations/whatsapp/embeddedsignup instead] Create a WhatsApp Integration
21428
21489
  * [This API is deprecated. Use POST /api/v2/conversations/messaging/integrations/whatsapp/embeddedsignup instead] You must be approved by WhatsApp to use this feature. Your approved e164-formatted phone number and valid WhatsApp certificate for your number are required. Your WhatsApp certificate must have valid base64 encoding. Please paste carefully and do not add any leading or trailing spaces. Do not alter any characters. An integration must be activated within 7 days of certificate generation. If you cannot complete the addition and activation of the number within 7 days, please obtain a new certificate before creating the integration. Integrations created with an invalid number or certificate may immediately incur additional integration fees. Please carefully enter your number and certificate as described.
@@ -21628,6 +21689,37 @@ class ConversationsApi {
21628
21689
  );
21629
21690
  }
21630
21691
 
21692
+ /**
21693
+ * Create an Agent-Type video conference and assign an agent to it
21694
+ *
21695
+ * @param {String} conversationId conversationId
21696
+ * @param {String} communicationId communicationId
21697
+ * postConversationsVideoAgentconferenceCommunication is a preview method and is subject to both breaking and non-breaking changes at any time without notice
21698
+ */
21699
+ postConversationsVideoAgentconferenceCommunication(conversationId, communicationId) {
21700
+ // verify the required parameter 'conversationId' is set
21701
+ if (conversationId === undefined || conversationId === null) {
21702
+ throw 'Missing the required parameter "conversationId" when calling postConversationsVideoAgentconferenceCommunication';
21703
+ }
21704
+ // verify the required parameter 'communicationId' is set
21705
+ if (communicationId === undefined || communicationId === null) {
21706
+ throw 'Missing the required parameter "communicationId" when calling postConversationsVideoAgentconferenceCommunication';
21707
+ }
21708
+
21709
+ return this.apiClient.callApi(
21710
+ '/api/v2/conversations/videos/{conversationId}/agentconference/communications/{communicationId}',
21711
+ 'POST',
21712
+ { 'conversationId': conversationId,'communicationId': communicationId },
21713
+ { },
21714
+ { },
21715
+ { },
21716
+ null,
21717
+ ['PureCloud OAuth'],
21718
+ ['application/json'],
21719
+ ['application/json']
21720
+ );
21721
+ }
21722
+
21631
21723
  /**
21632
21724
  * Apply wrap-up for this conversation communication
21633
21725
  *
@@ -21916,9 +22008,10 @@ class ConversationsApi {
21916
22008
 
21917
22009
  /**
21918
22010
  * Update a conversation by setting its recording state
21919
- *
22011
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-legacy-co-browse-and-screenshare/
21920
22012
  * @param {String} conversationId conversationId
21921
22013
  * @param {Object} body SetRecordingState
22014
+ * @deprecated
21922
22015
  */
21923
22016
  putConversationsCobrowsesessionRecordingstate(conversationId, body) {
21924
22017
  // verify the required parameter 'conversationId' is set
@@ -22064,6 +22157,99 @@ class ConversationsApi {
22064
22157
  );
22065
22158
  }
22066
22159
 
22160
+ /**
22161
+ * Create an identity resolution settings for a Facebook messaging integration
22162
+ *
22163
+ * @param {String} integrationId Integration ID
22164
+ * @param {Object} body IdentityResolutionConfig
22165
+ * putConversationsMessagingIdentityresolutionIntegrationsFacebookIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
22166
+ */
22167
+ putConversationsMessagingIdentityresolutionIntegrationsFacebookIntegrationId(integrationId, body) {
22168
+ // verify the required parameter 'integrationId' is set
22169
+ if (integrationId === undefined || integrationId === null) {
22170
+ throw 'Missing the required parameter "integrationId" when calling putConversationsMessagingIdentityresolutionIntegrationsFacebookIntegrationId';
22171
+ }
22172
+ // verify the required parameter 'body' is set
22173
+ if (body === undefined || body === null) {
22174
+ throw 'Missing the required parameter "body" when calling putConversationsMessagingIdentityresolutionIntegrationsFacebookIntegrationId';
22175
+ }
22176
+
22177
+ return this.apiClient.callApi(
22178
+ '/api/v2/conversations/messaging/identityresolution/integrations/facebook/{integrationId}',
22179
+ 'PUT',
22180
+ { 'integrationId': integrationId },
22181
+ { },
22182
+ { },
22183
+ { },
22184
+ body,
22185
+ ['PureCloud OAuth'],
22186
+ ['application/json'],
22187
+ ['application/json']
22188
+ );
22189
+ }
22190
+
22191
+ /**
22192
+ * Update an open messaging integration Identity Resolution settings
22193
+ *
22194
+ * @param {String} integrationId Integration ID
22195
+ * @param {Object} body
22196
+ * putConversationsMessagingIdentityresolutionIntegrationsOpenIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
22197
+ */
22198
+ putConversationsMessagingIdentityresolutionIntegrationsOpenIntegrationId(integrationId, body) {
22199
+ // verify the required parameter 'integrationId' is set
22200
+ if (integrationId === undefined || integrationId === null) {
22201
+ throw 'Missing the required parameter "integrationId" when calling putConversationsMessagingIdentityresolutionIntegrationsOpenIntegrationId';
22202
+ }
22203
+ // verify the required parameter 'body' is set
22204
+ if (body === undefined || body === null) {
22205
+ throw 'Missing the required parameter "body" when calling putConversationsMessagingIdentityresolutionIntegrationsOpenIntegrationId';
22206
+ }
22207
+
22208
+ return this.apiClient.callApi(
22209
+ '/api/v2/conversations/messaging/identityresolution/integrations/open/{integrationId}',
22210
+ 'PUT',
22211
+ { 'integrationId': integrationId },
22212
+ { },
22213
+ { },
22214
+ { },
22215
+ body,
22216
+ ['PureCloud OAuth'],
22217
+ ['application/json'],
22218
+ ['application/json']
22219
+ );
22220
+ }
22221
+
22222
+ /**
22223
+ * Update a whatsApp integration Identity Resolution settings
22224
+ *
22225
+ * @param {String} integrationId Integration ID
22226
+ * @param {Object} body
22227
+ * putConversationsMessagingIdentityresolutionIntegrationsWhatsappIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
22228
+ */
22229
+ putConversationsMessagingIdentityresolutionIntegrationsWhatsappIntegrationId(integrationId, body) {
22230
+ // verify the required parameter 'integrationId' is set
22231
+ if (integrationId === undefined || integrationId === null) {
22232
+ throw 'Missing the required parameter "integrationId" when calling putConversationsMessagingIdentityresolutionIntegrationsWhatsappIntegrationId';
22233
+ }
22234
+ // verify the required parameter 'body' is set
22235
+ if (body === undefined || body === null) {
22236
+ throw 'Missing the required parameter "body" when calling putConversationsMessagingIdentityresolutionIntegrationsWhatsappIntegrationId';
22237
+ }
22238
+
22239
+ return this.apiClient.callApi(
22240
+ '/api/v2/conversations/messaging/identityresolution/integrations/whatsapp/{integrationId}',
22241
+ 'PUT',
22242
+ { 'integrationId': integrationId },
22243
+ { },
22244
+ { },
22245
+ { },
22246
+ body,
22247
+ ['PureCloud OAuth'],
22248
+ ['application/json'],
22249
+ ['application/json']
22250
+ );
22251
+ }
22252
+
22067
22253
  /**
22068
22254
  * Set the organization's default setting that may be applied to to integrations without settings
22069
22255
  * When an integration is created a settings ID may be assigned to it. If the settings ID is not supplied, the default settings will be assigned to it.
@@ -22236,7 +22422,7 @@ class DataExtensionsApi {
22236
22422
  /**
22237
22423
  * DataExtensions service.
22238
22424
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
22239
- * @version 216.0.0
22425
+ * @version 218.0.0
22240
22426
  */
22241
22427
 
22242
22428
  /**
@@ -22322,7 +22508,7 @@ class DataPrivacyApi {
22322
22508
  /**
22323
22509
  * DataPrivacy service.
22324
22510
  * @module purecloud-platform-client-v2/api/DataPrivacyApi
22325
- * @version 216.0.0
22511
+ * @version 218.0.0
22326
22512
  */
22327
22513
 
22328
22514
  /**
@@ -22492,7 +22678,7 @@ class DownloadsApi {
22492
22678
  /**
22493
22679
  * Downloads service.
22494
22680
  * @module purecloud-platform-client-v2/api/DownloadsApi
22495
- * @version 216.0.0
22681
+ * @version 218.0.0
22496
22682
  */
22497
22683
 
22498
22684
  /**
@@ -22544,7 +22730,7 @@ class EmailsApi {
22544
22730
  /**
22545
22731
  * Emails service.
22546
22732
  * @module purecloud-platform-client-v2/api/EmailsApi
22547
- * @version 216.0.0
22733
+ * @version 218.0.0
22548
22734
  */
22549
22735
 
22550
22736
  /**
@@ -22609,7 +22795,7 @@ class EmployeeEngagementApi {
22609
22795
  /**
22610
22796
  * EmployeeEngagement service.
22611
22797
  * @module purecloud-platform-client-v2/api/EmployeeEngagementApi
22612
- * @version 216.0.0
22798
+ * @version 218.0.0
22613
22799
  */
22614
22800
 
22615
22801
  /**
@@ -22760,7 +22946,7 @@ class EventsApi {
22760
22946
  /**
22761
22947
  * Events service.
22762
22948
  * @module purecloud-platform-client-v2/api/EventsApi
22763
- * @version 216.0.0
22949
+ * @version 218.0.0
22764
22950
  */
22765
22951
 
22766
22952
  /**
@@ -22856,7 +23042,7 @@ class ExternalContactsApi {
22856
23042
  /**
22857
23043
  * ExternalContacts service.
22858
23044
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
22859
- * @version 216.0.0
23045
+ * @version 218.0.0
22860
23046
  */
22861
23047
 
22862
23048
  /**
@@ -23320,6 +23506,7 @@ class ExternalContactsApi {
23320
23506
  * @param {String} opts.q User supplied search keywords (no special syntax is currently supported)
23321
23507
  * @param {String} opts.sortOrder The External Contact field to sort by. Any of: [firstName, lastName, middleName, title]. Direction: [asc, desc]. e.g. firstName:asc, title:desc
23322
23508
  * @param {Array.<String>} opts.expand which fields, if any, to expand
23509
+ * @param {Array.<String>} opts.divisionIds which divisions to search, up to 50
23323
23510
  */
23324
23511
  getExternalcontactsContacts(opts) {
23325
23512
  opts = opts || {};
@@ -23329,7 +23516,58 @@ class ExternalContactsApi {
23329
23516
  '/api/v2/externalcontacts/contacts',
23330
23517
  'GET',
23331
23518
  { },
23332
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'q': opts['q'],'sortOrder': opts['sortOrder'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
23519
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'q': opts['q'],'sortOrder': opts['sortOrder'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'divisionIds': this.apiClient.buildCollectionParam(opts['divisionIds'], 'multi') },
23520
+ { },
23521
+ { },
23522
+ null,
23523
+ ['PureCloud OAuth'],
23524
+ ['application/json'],
23525
+ ['application/json']
23526
+ );
23527
+ }
23528
+
23529
+ /**
23530
+ * Get export for exportId
23531
+ *
23532
+ * @param {String} exportId Export id
23533
+ */
23534
+ getExternalcontactsContactsExport(exportId) {
23535
+ // verify the required parameter 'exportId' is set
23536
+ if (exportId === undefined || exportId === null) {
23537
+ throw 'Missing the required parameter "exportId" when calling getExternalcontactsContactsExport';
23538
+ }
23539
+
23540
+ return this.apiClient.callApi(
23541
+ '/api/v2/externalcontacts/contacts/exports/{exportId}',
23542
+ 'GET',
23543
+ { 'exportId': exportId },
23544
+ { },
23545
+ { },
23546
+ { },
23547
+ null,
23548
+ ['PureCloud OAuth'],
23549
+ ['application/json'],
23550
+ ['application/json']
23551
+ );
23552
+ }
23553
+
23554
+ /**
23555
+ * List exports for organization
23556
+ *
23557
+ * @param {Object} opts Optional parameters
23558
+ * @param {Array.<String>} opts.divisionIds Division IDs of entities
23559
+ * @param {String} opts.after The cursor that points to the end of the set of entities
23560
+ * @param {Number} opts.pageSize Number of entities to return
23561
+ */
23562
+ getExternalcontactsContactsExports(opts) {
23563
+ opts = opts || {};
23564
+
23565
+
23566
+ return this.apiClient.callApi(
23567
+ '/api/v2/externalcontacts/contacts/exports',
23568
+ 'GET',
23569
+ { },
23570
+ { 'divisionIds': this.apiClient.buildCollectionParam(opts['divisionIds'], 'multi'),'after': opts['after'],'pageSize': opts['pageSize'] },
23333
23571
  { },
23334
23572
  { },
23335
23573
  null,
@@ -23873,6 +24111,7 @@ class ExternalContactsApi {
23873
24111
  * @param {String} opts.sortOrder The Organization field to sort by. Any of: [companyType, industry, name]. Direction: [asc, desc]. e.g. companyType:asc, industry:desc
23874
24112
  * @param {Array.<String>} opts.expand which fields, if any, to expand
23875
24113
  * @param {Boolean} opts.includeTrustors (true or false) whether or not to include trustor information embedded in the externalOrganization
24114
+ * @param {Array.<String>} opts.divisionIds which divisions to search, up to 50
23876
24115
  */
23877
24116
  getExternalcontactsOrganizations(opts) {
23878
24117
  opts = opts || {};
@@ -23882,7 +24121,7 @@ class ExternalContactsApi {
23882
24121
  '/api/v2/externalcontacts/organizations',
23883
24122
  'GET',
23884
24123
  { },
23885
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'q': opts['q'],'trustorId': this.apiClient.buildCollectionParam(opts['trustorId'], 'multi'),'sortOrder': opts['sortOrder'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'includeTrustors': opts['includeTrustors'] },
24124
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'q': opts['q'],'trustorId': this.apiClient.buildCollectionParam(opts['trustorId'], 'multi'),'sortOrder': opts['sortOrder'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'includeTrustors': opts['includeTrustors'],'divisionIds': this.apiClient.buildCollectionParam(opts['divisionIds'], 'multi') },
23886
24125
  { },
23887
24126
  { },
23888
24127
  null,
@@ -24027,6 +24266,7 @@ class ExternalContactsApi {
24027
24266
  * @param {String} lookupVal User supplied value to lookup contacts/externalOrganizations (supports email addresses, e164 phone numbers, Twitter screen names)
24028
24267
  * @param {Object} opts Optional parameters
24029
24268
  * @param {Array.<String>} opts.expand which field, if any, to expand
24269
+ * @param {String} opts.divisionId Specifies which division to lookup contacts/externalOrganizations in, for the given lookup value (default to *)
24030
24270
  */
24031
24271
  getExternalcontactsReversewhitepageslookup(lookupVal, opts) {
24032
24272
  opts = opts || {};
@@ -24040,7 +24280,7 @@ class ExternalContactsApi {
24040
24280
  '/api/v2/externalcontacts/reversewhitepageslookup',
24041
24281
  'GET',
24042
24282
  { },
24043
- { 'lookupVal': lookupVal,'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
24283
+ { 'lookupVal': lookupVal,'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'divisionId': opts['divisionId'] },
24044
24284
  { },
24045
24285
  { },
24046
24286
  null,
@@ -24056,6 +24296,7 @@ class ExternalContactsApi {
24056
24296
  * @param {Object} opts Optional parameters
24057
24297
  * @param {Number} opts.limit The number of contacts per page; must be between 10 and 200, default is 100
24058
24298
  * @param {String} opts.cursor Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL
24299
+ * @param {String} opts.divisionId The division to scan over (default to *)
24059
24300
  */
24060
24301
  getExternalcontactsScanContacts(opts) {
24061
24302
  opts = opts || {};
@@ -24065,6 +24306,32 @@ class ExternalContactsApi {
24065
24306
  '/api/v2/externalcontacts/scan/contacts',
24066
24307
  'GET',
24067
24308
  { },
24309
+ { 'limit': opts['limit'],'cursor': opts['cursor'],'divisionId': opts['divisionId'] },
24310
+ { },
24311
+ { },
24312
+ null,
24313
+ ['PureCloud OAuth'],
24314
+ ['application/json'],
24315
+ ['application/json']
24316
+ );
24317
+ }
24318
+
24319
+ /**
24320
+ * Scan for external contacts using paging
24321
+ *
24322
+ * @param {Object} opts Optional parameters
24323
+ * @param {Number} opts.limit The number of contacts per page; must be between 10 and 200, default is 100
24324
+ * @param {String} opts.cursor Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL
24325
+ * getExternalcontactsScanContactsDivisionviewsAll is a preview method and is subject to both breaking and non-breaking changes at any time without notice
24326
+ */
24327
+ getExternalcontactsScanContactsDivisionviewsAll(opts) {
24328
+ opts = opts || {};
24329
+
24330
+
24331
+ return this.apiClient.callApi(
24332
+ '/api/v2/externalcontacts/scan/contacts/divisionviews/all',
24333
+ 'GET',
24334
+ { },
24068
24335
  { 'limit': opts['limit'],'cursor': opts['cursor'] },
24069
24336
  { },
24070
24337
  { },
@@ -24081,6 +24348,7 @@ class ExternalContactsApi {
24081
24348
  * @param {Object} opts Optional parameters
24082
24349
  * @param {Number} opts.limit The number of notes per page; must be between 10 and 200, default is 100
24083
24350
  * @param {String} opts.cursor Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL
24351
+ * @param {String} opts.divisionId The division to scan over (default to *)
24084
24352
  */
24085
24353
  getExternalcontactsScanNotes(opts) {
24086
24354
  opts = opts || {};
@@ -24090,6 +24358,32 @@ class ExternalContactsApi {
24090
24358
  '/api/v2/externalcontacts/scan/notes',
24091
24359
  'GET',
24092
24360
  { },
24361
+ { 'limit': opts['limit'],'cursor': opts['cursor'],'divisionId': opts['divisionId'] },
24362
+ { },
24363
+ { },
24364
+ null,
24365
+ ['PureCloud OAuth'],
24366
+ ['application/json'],
24367
+ ['application/json']
24368
+ );
24369
+ }
24370
+
24371
+ /**
24372
+ * Scan for notes using paging
24373
+ *
24374
+ * @param {Object} opts Optional parameters
24375
+ * @param {Number} opts.limit The number of notes per page; must be between 10 and 200, default is 100
24376
+ * @param {String} opts.cursor Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL
24377
+ * getExternalcontactsScanNotesDivisionviewsAll is a preview method and is subject to both breaking and non-breaking changes at any time without notice
24378
+ */
24379
+ getExternalcontactsScanNotesDivisionviewsAll(opts) {
24380
+ opts = opts || {};
24381
+
24382
+
24383
+ return this.apiClient.callApi(
24384
+ '/api/v2/externalcontacts/scan/notes/divisionviews/all',
24385
+ 'GET',
24386
+ { },
24093
24387
  { 'limit': opts['limit'],'cursor': opts['cursor'] },
24094
24388
  { },
24095
24389
  { },
@@ -24106,6 +24400,7 @@ class ExternalContactsApi {
24106
24400
  * @param {Object} opts Optional parameters
24107
24401
  * @param {Number} opts.limit The number of organizations per page; must be between 10 and 200, default is 100
24108
24402
  * @param {String} opts.cursor Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL
24403
+ * @param {String} opts.divisionId The division to scan over (default to *)
24109
24404
  */
24110
24405
  getExternalcontactsScanOrganizations(opts) {
24111
24406
  opts = opts || {};
@@ -24115,6 +24410,32 @@ class ExternalContactsApi {
24115
24410
  '/api/v2/externalcontacts/scan/organizations',
24116
24411
  'GET',
24117
24412
  { },
24413
+ { 'limit': opts['limit'],'cursor': opts['cursor'],'divisionId': opts['divisionId'] },
24414
+ { },
24415
+ { },
24416
+ null,
24417
+ ['PureCloud OAuth'],
24418
+ ['application/json'],
24419
+ ['application/json']
24420
+ );
24421
+ }
24422
+
24423
+ /**
24424
+ * Scan for external organizations using paging
24425
+ *
24426
+ * @param {Object} opts Optional parameters
24427
+ * @param {Number} opts.limit The number of organizations per page; must be between 10 and 200, default is 100
24428
+ * @param {String} opts.cursor Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL
24429
+ * getExternalcontactsScanOrganizationsDivisionviewsAll is a preview method and is subject to both breaking and non-breaking changes at any time without notice
24430
+ */
24431
+ getExternalcontactsScanOrganizationsDivisionviewsAll(opts) {
24432
+ opts = opts || {};
24433
+
24434
+
24435
+ return this.apiClient.callApi(
24436
+ '/api/v2/externalcontacts/scan/organizations/divisionviews/all',
24437
+ 'GET',
24438
+ { },
24118
24439
  { 'limit': opts['limit'],'cursor': opts['cursor'] },
24119
24440
  { },
24120
24441
  { },
@@ -24131,6 +24452,7 @@ class ExternalContactsApi {
24131
24452
  * @param {Object} opts Optional parameters
24132
24453
  * @param {Number} opts.limit The number of relationships per page; must be between 10 and 200, default is 100
24133
24454
  * @param {String} opts.cursor Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL
24455
+ * @param {String} opts.divisionId The division to scan over (default to *)
24134
24456
  */
24135
24457
  getExternalcontactsScanRelationships(opts) {
24136
24458
  opts = opts || {};
@@ -24140,6 +24462,32 @@ class ExternalContactsApi {
24140
24462
  '/api/v2/externalcontacts/scan/relationships',
24141
24463
  'GET',
24142
24464
  { },
24465
+ { 'limit': opts['limit'],'cursor': opts['cursor'],'divisionId': opts['divisionId'] },
24466
+ { },
24467
+ { },
24468
+ null,
24469
+ ['PureCloud OAuth'],
24470
+ ['application/json'],
24471
+ ['application/json']
24472
+ );
24473
+ }
24474
+
24475
+ /**
24476
+ * Scan for relationships
24477
+ *
24478
+ * @param {Object} opts Optional parameters
24479
+ * @param {Number} opts.limit The number of relationships per page; must be between 10 and 200, default is 100
24480
+ * @param {String} opts.cursor Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL
24481
+ * getExternalcontactsScanRelationshipsDivisionviewsAll is a preview method and is subject to both breaking and non-breaking changes at any time without notice
24482
+ */
24483
+ getExternalcontactsScanRelationshipsDivisionviewsAll(opts) {
24484
+ opts = opts || {};
24485
+
24486
+
24487
+ return this.apiClient.callApi(
24488
+ '/api/v2/externalcontacts/scan/relationships/divisionviews/all',
24489
+ 'GET',
24490
+ { },
24143
24491
  { 'limit': opts['limit'],'cursor': opts['cursor'] },
24144
24492
  { },
24145
24493
  { },
@@ -24230,6 +24578,32 @@ class ExternalContactsApi {
24230
24578
  );
24231
24579
  }
24232
24580
 
24581
+ /**
24582
+ * Bulk fetch contacts across divisions
24583
+ *
24584
+ * @param {Object} body Contact ids
24585
+ * postExternalcontactsBulkContactsDivisionviews is a preview method and is subject to both breaking and non-breaking changes at any time without notice
24586
+ */
24587
+ postExternalcontactsBulkContactsDivisionviews(body) {
24588
+ // verify the required parameter 'body' is set
24589
+ if (body === undefined || body === null) {
24590
+ throw 'Missing the required parameter "body" when calling postExternalcontactsBulkContactsDivisionviews';
24591
+ }
24592
+
24593
+ return this.apiClient.callApi(
24594
+ '/api/v2/externalcontacts/bulk/contacts/divisionviews',
24595
+ 'POST',
24596
+ { },
24597
+ { },
24598
+ { },
24599
+ { },
24600
+ body,
24601
+ ['PureCloud OAuth'],
24602
+ ['application/json'],
24603
+ ['application/json']
24604
+ );
24605
+ }
24606
+
24233
24607
  /**
24234
24608
  * Bulk remove contacts
24235
24609
  *
@@ -24455,6 +24829,32 @@ class ExternalContactsApi {
24455
24829
  );
24456
24830
  }
24457
24831
 
24832
+ /**
24833
+ * Bulk fetch organizations across divisions
24834
+ *
24835
+ * @param {Object} body Organizations ids
24836
+ * postExternalcontactsBulkOrganizationsDivisionviews is a preview method and is subject to both breaking and non-breaking changes at any time without notice
24837
+ */
24838
+ postExternalcontactsBulkOrganizationsDivisionviews(body) {
24839
+ // verify the required parameter 'body' is set
24840
+ if (body === undefined || body === null) {
24841
+ throw 'Missing the required parameter "body" when calling postExternalcontactsBulkOrganizationsDivisionviews';
24842
+ }
24843
+
24844
+ return this.apiClient.callApi(
24845
+ '/api/v2/externalcontacts/bulk/organizations/divisionviews',
24846
+ 'POST',
24847
+ { },
24848
+ { },
24849
+ { },
24850
+ { },
24851
+ body,
24852
+ ['PureCloud OAuth'],
24853
+ ['application/json'],
24854
+ ['application/json']
24855
+ );
24856
+ }
24857
+
24458
24858
  /**
24459
24859
  * Bulk remove organizations
24460
24860
  *
@@ -24685,6 +25085,31 @@ class ExternalContactsApi {
24685
25085
  );
24686
25086
  }
24687
25087
 
25088
+ /**
25089
+ * Create bulk export
25090
+ *
25091
+ * @param {Object} body Export
25092
+ */
25093
+ postExternalcontactsContactsExports(body) {
25094
+ // verify the required parameter 'body' is set
25095
+ if (body === undefined || body === null) {
25096
+ throw 'Missing the required parameter "body" when calling postExternalcontactsContactsExports';
25097
+ }
25098
+
25099
+ return this.apiClient.callApi(
25100
+ '/api/v2/externalcontacts/contacts/exports',
25101
+ 'POST',
25102
+ { },
25103
+ { },
25104
+ { },
25105
+ { },
25106
+ body,
25107
+ ['PureCloud OAuth'],
25108
+ ['application/json'],
25109
+ ['application/json']
25110
+ );
25111
+ }
25112
+
24688
25113
  /**
24689
25114
  * Create a schema
24690
25115
  *
@@ -25426,7 +25851,7 @@ class FaxApi {
25426
25851
  /**
25427
25852
  * Fax service.
25428
25853
  * @module purecloud-platform-client-v2/api/FaxApi
25429
- * @version 216.0.0
25854
+ * @version 218.0.0
25430
25855
  */
25431
25856
 
25432
25857
  /**
@@ -25641,7 +26066,7 @@ class FlowsApi {
25641
26066
  /**
25642
26067
  * Flows service.
25643
26068
  * @module purecloud-platform-client-v2/api/FlowsApi
25644
- * @version 216.0.0
26069
+ * @version 218.0.0
25645
26070
  */
25646
26071
 
25647
26072
  /**
@@ -25824,7 +26249,7 @@ class GamificationApi {
25824
26249
  /**
25825
26250
  * Gamification service.
25826
26251
  * @module purecloud-platform-client-v2/api/GamificationApi
25827
- * @version 216.0.0
26252
+ * @version 218.0.0
25828
26253
  */
25829
26254
 
25830
26255
  /**
@@ -27966,7 +28391,7 @@ class GeneralDataProtectionRegulationApi {
27966
28391
  /**
27967
28392
  * GeneralDataProtectionRegulation service.
27968
28393
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
27969
- * @version 216.0.0
28394
+ * @version 218.0.0
27970
28395
  */
27971
28396
 
27972
28397
  /**
@@ -28096,7 +28521,7 @@ class GeolocationApi {
28096
28521
  /**
28097
28522
  * Geolocation service.
28098
28523
  * @module purecloud-platform-client-v2/api/GeolocationApi
28099
- * @version 216.0.0
28524
+ * @version 218.0.0
28100
28525
  */
28101
28526
 
28102
28527
  /**
@@ -28227,7 +28652,7 @@ class GreetingsApi {
28227
28652
  /**
28228
28653
  * Greetings service.
28229
28654
  * @module purecloud-platform-client-v2/api/GreetingsApi
28230
- * @version 216.0.0
28655
+ * @version 218.0.0
28231
28656
  */
28232
28657
 
28233
28658
  /**
@@ -28682,7 +29107,7 @@ class GroupsApi {
28682
29107
  /**
28683
29108
  * Groups service.
28684
29109
  * @module purecloud-platform-client-v2/api/GroupsApi
28685
- * @version 216.0.0
29110
+ * @version 218.0.0
28686
29111
  */
28687
29112
 
28688
29113
  /**
@@ -29201,7 +29626,7 @@ class IdentityProviderApi {
29201
29626
  /**
29202
29627
  * IdentityProvider service.
29203
29628
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
29204
- * @version 216.0.0
29629
+ * @version 218.0.0
29205
29630
  */
29206
29631
 
29207
29632
  /**
@@ -30062,7 +30487,7 @@ class InfrastructureAsCodeApi {
30062
30487
  /**
30063
30488
  * InfrastructureAsCode service.
30064
30489
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
30065
- * @version 216.0.0
30490
+ * @version 218.0.0
30066
30491
  */
30067
30492
 
30068
30493
  /**
@@ -30229,7 +30654,7 @@ class IntegrationsApi {
30229
30654
  /**
30230
30655
  * Integrations service.
30231
30656
  * @module purecloud-platform-client-v2/api/IntegrationsApi
30232
- * @version 216.0.0
30657
+ * @version 218.0.0
30233
30658
  */
30234
30659
 
30235
30660
  /**
@@ -30438,6 +30863,7 @@ class IntegrationsApi {
30438
30863
  * @param {String} actionId actionId
30439
30864
  * @param {Object} opts Optional parameters
30440
30865
  * @param {Object} opts.expand Indicates a field in the response which should be expanded.
30866
+ * @param {Object} opts.flatten Indicates the response should be reformatted, based on Architect's flattening format. (default to false)
30441
30867
  * @param {Object} opts.includeConfig Return config in response. (default to false)
30442
30868
  */
30443
30869
  getIntegrationsAction(actionId, opts) {
@@ -30452,7 +30878,7 @@ class IntegrationsApi {
30452
30878
  '/api/v2/integrations/actions/{actionId}',
30453
30879
  'GET',
30454
30880
  { 'actionId': actionId },
30455
- { 'expand': opts['expand'],'includeConfig': opts['includeConfig'] },
30881
+ { 'expand': opts['expand'],'flatten': opts['flatten'],'includeConfig': opts['includeConfig'] },
30456
30882
  { },
30457
30883
  { },
30458
30884
  null,
@@ -30468,6 +30894,7 @@ class IntegrationsApi {
30468
30894
  * @param {String} actionId actionId
30469
30895
  * @param {Object} opts Optional parameters
30470
30896
  * @param {Object} opts.expand Indicates a field in the response which should be expanded.
30897
+ * @param {Object} opts.flatten Indicates the response should be reformatted, based on Architect's flattening format. (default to false)
30471
30898
  * @param {Object} opts.includeConfig Return config in response. (default to false)
30472
30899
  */
30473
30900
  getIntegrationsActionDraft(actionId, opts) {
@@ -30482,7 +30909,7 @@ class IntegrationsApi {
30482
30909
  '/api/v2/integrations/actions/{actionId}/draft',
30483
30910
  'GET',
30484
30911
  { 'actionId': actionId },
30485
- { 'expand': opts['expand'],'includeConfig': opts['includeConfig'] },
30912
+ { 'expand': opts['expand'],'flatten': opts['flatten'],'includeConfig': opts['includeConfig'] },
30486
30913
  { },
30487
30914
  { },
30488
30915
  null,
@@ -32666,7 +33093,7 @@ class JourneyApi {
32666
33093
  /**
32667
33094
  * Journey service.
32668
33095
  * @module purecloud-platform-client-v2/api/JourneyApi
32669
- * @version 216.0.0
33096
+ * @version 218.0.0
32670
33097
  */
32671
33098
 
32672
33099
  /**
@@ -34651,7 +35078,7 @@ class KnowledgeApi {
34651
35078
  /**
34652
35079
  * Knowledge service.
34653
35080
  * @module purecloud-platform-client-v2/api/KnowledgeApi
34654
- * @version 216.0.0
35081
+ * @version 218.0.0
34655
35082
  */
34656
35083
 
34657
35084
  /**
@@ -35926,7 +36353,6 @@ class KnowledgeApi {
35926
36353
  * @param {Object} languageCode Language code, format: iso2-LOCALE
35927
36354
  * @param {String} uploadId UploadId
35928
36355
  * @deprecated
35929
- * getKnowledgeKnowledgebaseLanguageDocumentUpload is a preview method and is subject to both breaking and non-breaking changes at any time without notice
35930
36356
  */
35931
36357
  getKnowledgeKnowledgebaseLanguageDocumentUpload(documentId, knowledgeBaseId, languageCode, uploadId) {
35932
36358
  // verify the required parameter 'documentId' is set
@@ -36182,7 +36608,6 @@ class KnowledgeApi {
36182
36608
  * @param {String} parseJobId Parse job ID
36183
36609
  * @param {Object} opts Optional parameters
36184
36610
  * @param {Array.<String>} opts.expand If expand contains 'urls' downloadURL and failedEntitiesURL will be filled.
36185
- * getKnowledgeKnowledgebaseParseJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
36186
36611
  */
36187
36612
  getKnowledgeKnowledgebaseParseJob(knowledgeBaseId, parseJobId, opts) {
36188
36613
  opts = opts || {};
@@ -36452,7 +36877,6 @@ class KnowledgeApi {
36452
36877
  *
36453
36878
  * @param {String} knowledgeBaseId Knowledge base ID
36454
36879
  * @param {String} jobId Upload job ID
36455
- * getKnowledgeKnowledgebaseUploadsUrlsJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
36456
36880
  */
36457
36881
  getKnowledgeKnowledgebaseUploadsUrlsJob(knowledgeBaseId, jobId) {
36458
36882
  // verify the required parameter 'knowledgeBaseId' is set
@@ -36993,7 +37417,6 @@ class KnowledgeApi {
36993
37417
  * @param {String} knowledgeBaseId Knowledge base ID
36994
37418
  * @param {String} parseJobId Parse job ID
36995
37419
  * @param {Object} body
36996
- * patchKnowledgeKnowledgebaseParseJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
36997
37420
  */
36998
37421
  patchKnowledgeKnowledgebaseParseJob(knowledgeBaseId, parseJobId, body) {
36999
37422
  // verify the required parameter 'knowledgeBaseId' is set
@@ -37635,7 +38058,6 @@ class KnowledgeApi {
37635
38058
  *
37636
38059
  * @param {String} knowledgeBaseId Knowledge base ID
37637
38060
  * @param {Object} body
37638
- * postKnowledgeKnowledgebaseDocumentsBulkRemove is a preview method and is subject to both breaking and non-breaking changes at any time without notice
37639
38061
  */
37640
38062
  postKnowledgeKnowledgebaseDocumentsBulkRemove(knowledgeBaseId, body) {
37641
38063
  // verify the required parameter 'knowledgeBaseId' is set
@@ -37666,7 +38088,6 @@ class KnowledgeApi {
37666
38088
  *
37667
38089
  * @param {String} knowledgeBaseId Knowledge base ID
37668
38090
  * @param {Object} body
37669
- * postKnowledgeKnowledgebaseDocumentsBulkUpdate is a preview method and is subject to both breaking and non-breaking changes at any time without notice
37670
38091
  */
37671
38092
  postKnowledgeKnowledgebaseDocumentsBulkUpdate(knowledgeBaseId, body) {
37672
38093
  // verify the required parameter 'knowledgeBaseId' is set
@@ -37815,7 +38236,6 @@ class KnowledgeApi {
37815
38236
  *
37816
38237
  * @param {String} knowledgeBaseId Knowledge base ID
37817
38238
  * @param {Object} body
37818
- * postKnowledgeKnowledgebaseDocumentsVersionsBulkAdd is a preview method and is subject to both breaking and non-breaking changes at any time without notice
37819
38239
  */
37820
38240
  postKnowledgeKnowledgebaseDocumentsVersionsBulkAdd(knowledgeBaseId, body) {
37821
38241
  // verify the required parameter 'knowledgeBaseId' is set
@@ -37975,7 +38395,6 @@ class KnowledgeApi {
37975
38395
  * @param {Object} languageCode Language code, format: iso2-LOCALE
37976
38396
  * @param {Object} body
37977
38397
  * @deprecated
37978
- * postKnowledgeKnowledgebaseLanguageDocumentUploads is a preview method and is subject to both breaking and non-breaking changes at any time without notice
37979
38398
  */
37980
38399
  postKnowledgeKnowledgebaseLanguageDocumentUploads(documentId, knowledgeBaseId, languageCode, body) {
37981
38400
  // verify the required parameter 'documentId' is set
@@ -38154,7 +38573,6 @@ class KnowledgeApi {
38154
38573
  * @param {String} knowledgeBaseId Knowledge base ID
38155
38574
  * @param {String} parseJobId Parse job ID
38156
38575
  * @param {Object} body
38157
- * postKnowledgeKnowledgebaseParseJobImport is a preview method and is subject to both breaking and non-breaking changes at any time without notice
38158
38576
  */
38159
38577
  postKnowledgeKnowledgebaseParseJobImport(knowledgeBaseId, parseJobId, body) {
38160
38578
  // verify the required parameter 'knowledgeBaseId' is set
@@ -38189,7 +38607,6 @@ class KnowledgeApi {
38189
38607
  *
38190
38608
  * @param {String} knowledgeBaseId Knowledge base ID
38191
38609
  * @param {Object} body
38192
- * postKnowledgeKnowledgebaseParseJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
38193
38610
  */
38194
38611
  postKnowledgeKnowledgebaseParseJobs(knowledgeBaseId, body) {
38195
38612
  // verify the required parameter 'knowledgeBaseId' is set
@@ -38280,8 +38697,12 @@ class KnowledgeApi {
38280
38697
  *
38281
38698
  * @param {String} knowledgeBaseId Knowledge base ID
38282
38699
  * @param {String} sourceId Source ID
38700
+ * @param {Object} opts Optional parameters
38701
+ * @param {Object} opts.body
38283
38702
  */
38284
- postKnowledgeKnowledgebaseSourcesSalesforceSourceIdSync(knowledgeBaseId, sourceId) {
38703
+ postKnowledgeKnowledgebaseSourcesSalesforceSourceIdSync(knowledgeBaseId, sourceId, opts) {
38704
+ opts = opts || {};
38705
+
38285
38706
  // verify the required parameter 'knowledgeBaseId' is set
38286
38707
  if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
38287
38708
  throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseSourcesSalesforceSourceIdSync';
@@ -38298,7 +38719,7 @@ class KnowledgeApi {
38298
38719
  { },
38299
38720
  { },
38300
38721
  { },
38301
- null,
38722
+ opts['body'],
38302
38723
  ['PureCloud OAuth'],
38303
38724
  ['application/json'],
38304
38725
  ['application/json']
@@ -38340,8 +38761,12 @@ class KnowledgeApi {
38340
38761
  *
38341
38762
  * @param {String} knowledgeBaseId Knowledge base ID
38342
38763
  * @param {String} sourceId Source ID
38764
+ * @param {Object} opts Optional parameters
38765
+ * @param {Object} opts.body
38343
38766
  */
38344
- postKnowledgeKnowledgebaseSourcesServicenowSourceIdSync(knowledgeBaseId, sourceId) {
38767
+ postKnowledgeKnowledgebaseSourcesServicenowSourceIdSync(knowledgeBaseId, sourceId, opts) {
38768
+ opts = opts || {};
38769
+
38345
38770
  // verify the required parameter 'knowledgeBaseId' is set
38346
38771
  if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
38347
38772
  throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseSourcesServicenowSourceIdSync';
@@ -38358,7 +38783,7 @@ class KnowledgeApi {
38358
38783
  { },
38359
38784
  { },
38360
38785
  { },
38361
- null,
38786
+ opts['body'],
38362
38787
  ['PureCloud OAuth'],
38363
38788
  ['application/json'],
38364
38789
  ['application/json']
@@ -38400,7 +38825,6 @@ class KnowledgeApi {
38400
38825
  *
38401
38826
  * @param {String} knowledgeBaseId Knowledge base ID
38402
38827
  * @param {Object} body uploadRequest
38403
- * postKnowledgeKnowledgebaseUploadsUrlsJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
38404
38828
  */
38405
38829
  postKnowledgeKnowledgebaseUploadsUrlsJobs(knowledgeBaseId, body) {
38406
38830
  // verify the required parameter 'knowledgeBaseId' is set
@@ -38527,7 +38951,7 @@ class LanguageUnderstandingApi {
38527
38951
  /**
38528
38952
  * LanguageUnderstanding service.
38529
38953
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
38530
- * @version 216.0.0
38954
+ * @version 218.0.0
38531
38955
  */
38532
38956
 
38533
38957
  /**
@@ -39560,7 +39984,7 @@ class LanguagesApi {
39560
39984
  /**
39561
39985
  * Languages service.
39562
39986
  * @module purecloud-platform-client-v2/api/LanguagesApi
39563
- * @version 216.0.0
39987
+ * @version 218.0.0
39564
39988
  */
39565
39989
 
39566
39990
  /**
@@ -39782,7 +40206,7 @@ class LearningApi {
39782
40206
  /**
39783
40207
  * Learning service.
39784
40208
  * @module purecloud-platform-client-v2/api/LearningApi
39785
- * @version 216.0.0
40209
+ * @version 218.0.0
39786
40210
  */
39787
40211
 
39788
40212
  /**
@@ -40811,7 +41235,7 @@ class LicenseApi {
40811
41235
  /**
40812
41236
  * License service.
40813
41237
  * @module purecloud-platform-client-v2/api/LicenseApi
40814
- * @version 216.0.0
41238
+ * @version 218.0.0
40815
41239
  */
40816
41240
 
40817
41241
  /**
@@ -41049,7 +41473,7 @@ class LocationsApi {
41049
41473
  /**
41050
41474
  * Locations service.
41051
41475
  * @module purecloud-platform-client-v2/api/LocationsApi
41052
- * @version 216.0.0
41476
+ * @version 218.0.0
41053
41477
  */
41054
41478
 
41055
41479
  /**
@@ -41285,7 +41709,7 @@ class LogCaptureApi {
41285
41709
  /**
41286
41710
  * LogCapture service.
41287
41711
  * @module purecloud-platform-client-v2/api/LogCaptureApi
41288
- * @version 216.0.0
41712
+ * @version 218.0.0
41289
41713
  */
41290
41714
 
41291
41715
  /**
@@ -41485,7 +41909,7 @@ class MessagingApi {
41485
41909
  /**
41486
41910
  * Messaging service.
41487
41911
  * @module purecloud-platform-client-v2/api/MessagingApi
41488
- * @version 216.0.0
41912
+ * @version 218.0.0
41489
41913
  */
41490
41914
 
41491
41915
  /**
@@ -41844,7 +42268,7 @@ class MobileDevicesApi {
41844
42268
  /**
41845
42269
  * MobileDevices service.
41846
42270
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
41847
- * @version 216.0.0
42271
+ * @version 218.0.0
41848
42272
  */
41849
42273
 
41850
42274
  /**
@@ -41995,7 +42419,7 @@ class NotificationsApi {
41995
42419
  /**
41996
42420
  * Notifications service.
41997
42421
  * @module purecloud-platform-client-v2/api/NotificationsApi
41998
- * @version 216.0.0
42422
+ * @version 218.0.0
41999
42423
  */
42000
42424
 
42001
42425
  /**
@@ -42228,7 +42652,7 @@ class OAuthApi {
42228
42652
  /**
42229
42653
  * OAuth service.
42230
42654
  * @module purecloud-platform-client-v2/api/OAuthApi
42231
- * @version 216.0.0
42655
+ * @version 218.0.0
42232
42656
  */
42233
42657
 
42234
42658
  /**
@@ -42594,7 +43018,7 @@ class ObjectsApi {
42594
43018
  /**
42595
43019
  * Objects service.
42596
43020
  * @module purecloud-platform-client-v2/api/ObjectsApi
42597
- * @version 216.0.0
43021
+ * @version 218.0.0
42598
43022
  */
42599
43023
 
42600
43024
  /**
@@ -42614,7 +43038,7 @@ class ObjectsApi {
42614
43038
  *
42615
43039
  * @param {String} divisionId Division ID
42616
43040
  * @param {Object} opts Optional parameters
42617
- * @param {Boolean} opts.force Force delete this division as well as the grants and objects associated with it (default to false)
43041
+ * @param {Boolean} opts.force DEPRECATED - Force delete this division. Warning: This option may cause any remaining objects in this division to be inaccessible. (default to false)
42618
43042
  */
42619
43043
  deleteAuthorizationDivision(divisionId, opts) {
42620
43044
  opts = opts || {};
@@ -42778,16 +43202,17 @@ class ObjectsApi {
42778
43202
  * Recreate a previously deleted division.
42779
43203
  *
42780
43204
  * @param {String} divisionId Division ID
42781
- * @param {Object} opts Optional parameters
42782
- * @param {Object} opts.body Recreated division data
43205
+ * @param {Object} body Recreated division data
42783
43206
  */
42784
- postAuthorizationDivisionRestore(divisionId, opts) {
42785
- opts = opts || {};
42786
-
43207
+ postAuthorizationDivisionRestore(divisionId, body) {
42787
43208
  // verify the required parameter 'divisionId' is set
42788
43209
  if (divisionId === undefined || divisionId === null) {
42789
43210
  throw 'Missing the required parameter "divisionId" when calling postAuthorizationDivisionRestore';
42790
43211
  }
43212
+ // verify the required parameter 'body' is set
43213
+ if (body === undefined || body === null) {
43214
+ throw 'Missing the required parameter "body" when calling postAuthorizationDivisionRestore';
43215
+ }
42791
43216
 
42792
43217
  return this.apiClient.callApi(
42793
43218
  '/api/v2/authorization/divisions/{divisionId}/restore',
@@ -42796,7 +43221,7 @@ class ObjectsApi {
42796
43221
  { },
42797
43222
  { },
42798
43223
  { },
42799
- opts['body'],
43224
+ body,
42800
43225
  ['PureCloud OAuth'],
42801
43226
  ['application/json'],
42802
43227
  ['application/json']
@@ -42864,7 +43289,7 @@ class OperationalEventsApi {
42864
43289
  /**
42865
43290
  * OperationalEvents service.
42866
43291
  * @module purecloud-platform-client-v2/api/OperationalEventsApi
42867
- * @version 216.0.0
43292
+ * @version 218.0.0
42868
43293
  */
42869
43294
 
42870
43295
  /**
@@ -42981,7 +43406,7 @@ class OrganizationApi {
42981
43406
  /**
42982
43407
  * Organization service.
42983
43408
  * @module purecloud-platform-client-v2/api/OrganizationApi
42984
- * @version 216.0.0
43409
+ * @version 218.0.0
42985
43410
  */
42986
43411
 
42987
43412
  /**
@@ -43202,37 +43627,6 @@ class OrganizationApi {
43202
43627
  );
43203
43628
  }
43204
43629
 
43205
- /**
43206
- * Get estimated limit counts for a namespace. This is not a source of truth for limit values but a record of estimates to facilitate limit threshold tracking.
43207
- * See https://developer.genesys.cloud/organization/organization/limits#available-limits for limits that are trackable (Operational Events Enabled).
43208
- * @param {String} namespaceName The namespace to get
43209
- * @param {Object} opts Optional parameters
43210
- * @param {String} opts.cursor Cursor provided when retrieving the last page
43211
- * @param {String} opts.entityId entity id of the count
43212
- * @param {String} opts.userId userid of the count
43213
- */
43214
- getOrganizationsLimitsNamespaceCounts(namespaceName, opts) {
43215
- opts = opts || {};
43216
-
43217
- // verify the required parameter 'namespaceName' is set
43218
- if (namespaceName === undefined || namespaceName === null) {
43219
- throw 'Missing the required parameter "namespaceName" when calling getOrganizationsLimitsNamespaceCounts';
43220
- }
43221
-
43222
- return this.apiClient.callApi(
43223
- '/api/v2/organizations/limits/namespaces/{namespaceName}/counts',
43224
- 'GET',
43225
- { 'namespaceName': namespaceName },
43226
- { 'cursor': opts['cursor'],'entityId': opts['entityId'],'userId': opts['userId'] },
43227
- { },
43228
- { },
43229
- null,
43230
- ['PureCloud OAuth'],
43231
- ['application/json'],
43232
- ['application/json']
43233
- );
43234
- }
43235
-
43236
43630
  /**
43237
43631
  * Get the default limits in a namespace for an organization
43238
43632
  *
@@ -43258,42 +43652,6 @@ class OrganizationApi {
43258
43652
  );
43259
43653
  }
43260
43654
 
43261
- /**
43262
- * Get estimated limit counts for a namespace and limit name. This is not a source of truth for limit values but a record of estimates to facilitate limit threshold tracking.
43263
- * See https://developer.genesys.cloud/organization/organization/limits#available-limits for limits that are trackable (Operational Events Enabled).
43264
- * @param {String} namespaceName The namespace to get
43265
- * @param {String} limitName The limit to get
43266
- * @param {Object} opts Optional parameters
43267
- * @param {String} opts.entityId entity id of the count
43268
- * @param {String} opts.userId userid of the count
43269
- * @param {String} opts.cursor Cursor provided when retrieving the last page
43270
- */
43271
- getOrganizationsLimitsNamespaceLimitCounts(namespaceName, limitName, opts) {
43272
- opts = opts || {};
43273
-
43274
- // verify the required parameter 'namespaceName' is set
43275
- if (namespaceName === undefined || namespaceName === null) {
43276
- throw 'Missing the required parameter "namespaceName" when calling getOrganizationsLimitsNamespaceLimitCounts';
43277
- }
43278
- // verify the required parameter 'limitName' is set
43279
- if (limitName === undefined || limitName === null) {
43280
- throw 'Missing the required parameter "limitName" when calling getOrganizationsLimitsNamespaceLimitCounts';
43281
- }
43282
-
43283
- return this.apiClient.callApi(
43284
- '/api/v2/organizations/limits/namespaces/{namespaceName}/limits/{limitName}/counts',
43285
- 'GET',
43286
- { 'namespaceName': namespaceName,'limitName': limitName },
43287
- { 'entityId': opts['entityId'],'userId': opts['userId'],'cursor': opts['cursor'] },
43288
- { },
43289
- { },
43290
- null,
43291
- ['PureCloud OAuth'],
43292
- ['application/json'],
43293
- ['application/json']
43294
- );
43295
- }
43296
-
43297
43655
  /**
43298
43656
  * Get the available limit namespaces
43299
43657
  *
@@ -43523,7 +43881,7 @@ class OrganizationAuthorizationApi {
43523
43881
  /**
43524
43882
  * OrganizationAuthorization service.
43525
43883
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
43526
- * @version 216.0.0
43884
+ * @version 218.0.0
43527
43885
  */
43528
43886
 
43529
43887
  /**
@@ -44917,7 +45275,7 @@ class OutboundApi {
44917
45275
  /**
44918
45276
  * Outbound service.
44919
45277
  * @module purecloud-platform-client-v2/api/OutboundApi
44920
- * @version 216.0.0
45278
+ * @version 218.0.0
44921
45279
  */
44922
45280
 
44923
45281
  /**
@@ -47746,8 +48104,12 @@ class OutboundApi {
47746
48104
  * Update the outbound settings for this organization
47747
48105
  *
47748
48106
  * @param {Object} body outboundSettings
48107
+ * @param {Object} opts Optional parameters
48108
+ * @param {Object} opts.useMaxCallsPerAgentDecimal Use maxCallsPerAgent with decimal precision
47749
48109
  */
47750
- patchOutboundSettings(body) {
48110
+ patchOutboundSettings(body, opts) {
48111
+ opts = opts || {};
48112
+
47751
48113
  // verify the required parameter 'body' is set
47752
48114
  if (body === undefined || body === null) {
47753
48115
  throw 'Missing the required parameter "body" when calling patchOutboundSettings';
@@ -47757,7 +48119,7 @@ class OutboundApi {
47757
48119
  '/api/v2/outbound/settings',
47758
48120
  'PATCH',
47759
48121
  { },
47760
- { },
48122
+ { 'useMaxCallsPerAgentDecimal': opts['useMaxCallsPerAgentDecimal'] },
47761
48123
  { },
47762
48124
  { },
47763
48125
  body,
@@ -47977,8 +48339,12 @@ class OutboundApi {
47977
48339
  * Create a campaign.
47978
48340
  *
47979
48341
  * @param {Object} body Campaign
48342
+ * @param {Object} opts Optional parameters
48343
+ * @param {Object} opts.useMaxCallsPerAgentDecimal Use maxCallsPerAgent with decimal precision
47980
48344
  */
47981
- postOutboundCampaigns(body) {
48345
+ postOutboundCampaigns(body, opts) {
48346
+ opts = opts || {};
48347
+
47982
48348
  // verify the required parameter 'body' is set
47983
48349
  if (body === undefined || body === null) {
47984
48350
  throw 'Missing the required parameter "body" when calling postOutboundCampaigns';
@@ -47988,7 +48354,7 @@ class OutboundApi {
47988
48354
  '/api/v2/outbound/campaigns',
47989
48355
  'POST',
47990
48356
  { },
47991
- { },
48357
+ { 'useMaxCallsPerAgentDecimal': opts['useMaxCallsPerAgentDecimal'] },
47992
48358
  { },
47993
48359
  { },
47994
48360
  body,
@@ -48892,8 +49258,12 @@ class OutboundApi {
48892
49258
  *
48893
49259
  * @param {String} campaignId Campaign ID
48894
49260
  * @param {Object} body Campaign
49261
+ * @param {Object} opts Optional parameters
49262
+ * @param {Object} opts.useMaxCallsPerAgentDecimal Use maxCallsPerAgent with decimal precision
48895
49263
  */
48896
- putOutboundCampaign(campaignId, body) {
49264
+ putOutboundCampaign(campaignId, body, opts) {
49265
+ opts = opts || {};
49266
+
48897
49267
  // verify the required parameter 'campaignId' is set
48898
49268
  if (campaignId === undefined || campaignId === null) {
48899
49269
  throw 'Missing the required parameter "campaignId" when calling putOutboundCampaign';
@@ -48907,7 +49277,7 @@ class OutboundApi {
48907
49277
  '/api/v2/outbound/campaigns/{campaignId}',
48908
49278
  'PUT',
48909
49279
  { 'campaignId': campaignId },
48910
- { },
49280
+ { 'useMaxCallsPerAgentDecimal': opts['useMaxCallsPerAgentDecimal'] },
48911
49281
  { },
48912
49282
  { },
48913
49283
  body,
@@ -49468,7 +49838,7 @@ class PresenceApi {
49468
49838
  /**
49469
49839
  * Presence service.
49470
49840
  * @module purecloud-platform-client-v2/api/PresenceApi
49471
- * @version 216.0.0
49841
+ * @version 218.0.0
49472
49842
  */
49473
49843
 
49474
49844
  /**
@@ -50212,7 +50582,7 @@ class ProcessAutomationApi {
50212
50582
  /**
50213
50583
  * ProcessAutomation service.
50214
50584
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
50215
- * @version 216.0.0
50585
+ * @version 218.0.0
50216
50586
  */
50217
50587
 
50218
50588
  /**
@@ -50451,7 +50821,7 @@ class QualityApi {
50451
50821
  /**
50452
50822
  * Quality service.
50453
50823
  * @module purecloud-platform-client-v2/api/QualityApi
50454
- * @version 216.0.0
50824
+ * @version 218.0.0
50455
50825
  */
50456
50826
 
50457
50827
  /**
@@ -52147,7 +52517,6 @@ class QualityApi {
52147
52517
  *
52148
52518
  * @param {String} formId Form ID
52149
52519
  * @param {Object} body AI Scoring Settings
52150
- * putQualityFormsEvaluationAiscoringSettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice
52151
52520
  */
52152
52521
  putQualityFormsEvaluationAiscoringSettings(formId, body) {
52153
52522
  // verify the required parameter 'formId' is set
@@ -52239,7 +52608,7 @@ class RecordingApi {
52239
52608
  /**
52240
52609
  * Recording service.
52241
52610
  * @module purecloud-platform-client-v2/api/RecordingApi
52242
- * @version 216.0.0
52611
+ * @version 218.0.0
52243
52612
  */
52244
52613
 
52245
52614
  /**
@@ -52451,7 +52820,7 @@ class RecordingApi {
52451
52820
  * @param {Object} opts.messageFormatId The desired media format when downloading a message recording. Valid values:ZIP,NONE (default to ZIP)
52452
52821
  * @param {Object} opts.download requesting a download format of the recording. Valid values:true,false (default to false)
52453
52822
  * @param {String} opts.fileName the name of the downloaded fileName
52454
- * @param {String} opts.locale The locale for the requested file when downloading, as an ISO 639-1 code
52823
+ * @param {String} opts.locale The locale for the requested file when downloading or for redacting sensitive information in requested files, as an ISO 639-1 code
52455
52824
  * @param {Array.<String>} opts.mediaFormats All acceptable media formats. Overrides formatId. Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3
52456
52825
  */
52457
52826
  getConversationRecording(conversationId, recordingId, opts) {
@@ -52608,6 +52977,8 @@ class RecordingApi {
52608
52977
  * @param {Number} opts.maxWaitMs The maximum number of milliseconds to wait for the recording to be ready. Must be a positive value. (default to 5000)
52609
52978
  * @param {Object} opts.formatId The desired media format. Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3,NONE. (default to WEBM)
52610
52979
  * @param {Array.<String>} opts.mediaFormats All acceptable media formats. Overrides formatId. Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3.
52980
+ * @param {String} opts.locale The locale used for redacting sensitive information in requested files, as an ISO 639-1 code
52981
+ * @param {Boolean} opts.includePauseAnnotationsForScreenRecordings Include applicable Secure Pause annotations from all audio recordings to all screen recordings (default to false)
52611
52982
  */
52612
52983
  getConversationRecordings(conversationId, opts) {
52613
52984
  opts = opts || {};
@@ -52621,7 +52992,7 @@ class RecordingApi {
52621
52992
  '/api/v2/conversations/{conversationId}/recordings',
52622
52993
  'GET',
52623
52994
  { 'conversationId': conversationId },
52624
- { 'maxWaitMs': opts['maxWaitMs'],'formatId': opts['formatId'],'mediaFormats': this.apiClient.buildCollectionParam(opts['mediaFormats'], 'multi') },
52995
+ { 'maxWaitMs': opts['maxWaitMs'],'formatId': opts['formatId'],'mediaFormats': this.apiClient.buildCollectionParam(opts['mediaFormats'], 'multi'),'locale': opts['locale'],'includePauseAnnotationsForScreenRecordings': opts['includePauseAnnotationsForScreenRecordings'] },
52625
52996
  { },
52626
52997
  { },
52627
52998
  null,
@@ -53123,32 +53494,6 @@ class RecordingApi {
53123
53494
  );
53124
53495
  }
53125
53496
 
53126
- /**
53127
- * Retrieves a paged listing of screen recording sessions
53128
- * Coming soon: This API is deprecated and will be replaced by /api/v2/recordings/screensessions/details
53129
- * @param {Object} opts Optional parameters
53130
- * @param {Number} opts.pageSize Page size (default to 25)
53131
- * @param {Number} opts.pageNumber Page number (default to 1)
53132
- * @deprecated
53133
- */
53134
- getRecordingsScreensessions(opts) {
53135
- opts = opts || {};
53136
-
53137
-
53138
- return this.apiClient.callApi(
53139
- '/api/v2/recordings/screensessions',
53140
- 'GET',
53141
- { },
53142
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
53143
- { },
53144
- { },
53145
- null,
53146
- ['PureCloud OAuth'],
53147
- ['application/json'],
53148
- ['application/json']
53149
- );
53150
- }
53151
-
53152
53497
  /**
53153
53498
  * Retrieves an object containing the total number of concurrent active screen recordings
53154
53499
  *
@@ -53868,7 +54213,7 @@ class ResponseManagementApi {
53868
54213
  /**
53869
54214
  * ResponseManagement service.
53870
54215
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
53871
- * @version 216.0.0
54216
+ * @version 218.0.0
53872
54217
  */
53873
54218
 
53874
54219
  /**
@@ -54378,7 +54723,7 @@ class RoutingApi {
54378
54723
  /**
54379
54724
  * Routing service.
54380
54725
  * @module purecloud-platform-client-v2/api/RoutingApi
54381
- * @version 216.0.0
54726
+ * @version 218.0.0
54382
54727
  */
54383
54728
 
54384
54729
  /**
@@ -55219,6 +55564,37 @@ class RoutingApi {
55219
55564
  );
55220
55565
  }
55221
55566
 
55567
+ /**
55568
+ * Get a route identity resolution setting.
55569
+ *
55570
+ * @param {String} domainName email domain
55571
+ * @param {String} routeId route ID
55572
+ * getRoutingEmailDomainRouteIdentityresolution is a preview method and is subject to both breaking and non-breaking changes at any time without notice
55573
+ */
55574
+ getRoutingEmailDomainRouteIdentityresolution(domainName, routeId) {
55575
+ // verify the required parameter 'domainName' is set
55576
+ if (domainName === undefined || domainName === null) {
55577
+ throw 'Missing the required parameter "domainName" when calling getRoutingEmailDomainRouteIdentityresolution';
55578
+ }
55579
+ // verify the required parameter 'routeId' is set
55580
+ if (routeId === undefined || routeId === null) {
55581
+ throw 'Missing the required parameter "routeId" when calling getRoutingEmailDomainRouteIdentityresolution';
55582
+ }
55583
+
55584
+ return this.apiClient.callApi(
55585
+ '/api/v2/routing/email/domains/{domainName}/routes/{routeId}/identityresolution',
55586
+ 'GET',
55587
+ { 'domainName': domainName,'routeId': routeId },
55588
+ { },
55589
+ { },
55590
+ { },
55591
+ null,
55592
+ ['PureCloud OAuth'],
55593
+ ['application/json'],
55594
+ ['application/json']
55595
+ );
55596
+ }
55597
+
55222
55598
  /**
55223
55599
  * Get routes
55224
55600
  *
@@ -55772,6 +56148,32 @@ class RoutingApi {
55772
56148
  );
55773
56149
  }
55774
56150
 
56151
+ /**
56152
+ * Get Queue IdentityResolution Settings.
56153
+ *
56154
+ * @param {String} queueId Queue ID
56155
+ * getRoutingQueueIdentityresolution is a preview method and is subject to both breaking and non-breaking changes at any time without notice
56156
+ */
56157
+ getRoutingQueueIdentityresolution(queueId) {
56158
+ // verify the required parameter 'queueId' is set
56159
+ if (queueId === undefined || queueId === null) {
56160
+ throw 'Missing the required parameter "queueId" when calling getRoutingQueueIdentityresolution';
56161
+ }
56162
+
56163
+ return this.apiClient.callApi(
56164
+ '/api/v2/routing/queues/{queueId}/identityresolution',
56165
+ 'GET',
56166
+ { 'queueId': queueId },
56167
+ { },
56168
+ { },
56169
+ { },
56170
+ null,
56171
+ ['PureCloud OAuth'],
56172
+ ['application/json'],
56173
+ ['application/json']
56174
+ );
56175
+ }
56176
+
55775
56177
  /**
55776
56178
  * Get Estimated Wait Time
55777
56179
  *
@@ -56344,6 +56746,32 @@ class RoutingApi {
56344
56746
  );
56345
56747
  }
56346
56748
 
56749
+ /**
56750
+ * Get a SMS identity resolution settings.
56751
+ *
56752
+ * @param {String} addressId Address ID
56753
+ * getRoutingSmsIdentityresolutionPhonenumber is a preview method and is subject to both breaking and non-breaking changes at any time without notice
56754
+ */
56755
+ getRoutingSmsIdentityresolutionPhonenumber(addressId) {
56756
+ // verify the required parameter 'addressId' is set
56757
+ if (addressId === undefined || addressId === null) {
56758
+ throw 'Missing the required parameter "addressId" when calling getRoutingSmsIdentityresolutionPhonenumber';
56759
+ }
56760
+
56761
+ return this.apiClient.callApi(
56762
+ '/api/v2/routing/sms/identityresolution/phonenumbers/{addressId}',
56763
+ 'GET',
56764
+ { 'addressId': addressId },
56765
+ { },
56766
+ { },
56767
+ { },
56768
+ null,
56769
+ ['PureCloud OAuth'],
56770
+ ['application/json'],
56771
+ ['application/json']
56772
+ );
56773
+ }
56774
+
56347
56775
  /**
56348
56776
  * Get a phone number provisioned for SMS.
56349
56777
  *
@@ -58149,6 +58577,42 @@ class RoutingApi {
58149
58577
  );
58150
58578
  }
58151
58579
 
58580
+ /**
58581
+ * Update identity resolution settings for a route.
58582
+ *
58583
+ * @param {String} domainName email domain
58584
+ * @param {String} routeId route ID
58585
+ * @param {Object} body
58586
+ * putRoutingEmailDomainRouteIdentityresolution is a preview method and is subject to both breaking and non-breaking changes at any time without notice
58587
+ */
58588
+ putRoutingEmailDomainRouteIdentityresolution(domainName, routeId, body) {
58589
+ // verify the required parameter 'domainName' is set
58590
+ if (domainName === undefined || domainName === null) {
58591
+ throw 'Missing the required parameter "domainName" when calling putRoutingEmailDomainRouteIdentityresolution';
58592
+ }
58593
+ // verify the required parameter 'routeId' is set
58594
+ if (routeId === undefined || routeId === null) {
58595
+ throw 'Missing the required parameter "routeId" when calling putRoutingEmailDomainRouteIdentityresolution';
58596
+ }
58597
+ // verify the required parameter 'body' is set
58598
+ if (body === undefined || body === null) {
58599
+ throw 'Missing the required parameter "body" when calling putRoutingEmailDomainRouteIdentityresolution';
58600
+ }
58601
+
58602
+ return this.apiClient.callApi(
58603
+ '/api/v2/routing/email/domains/{domainName}/routes/{routeId}/identityresolution',
58604
+ 'PUT',
58605
+ { 'domainName': domainName,'routeId': routeId },
58606
+ { },
58607
+ { },
58608
+ { },
58609
+ body,
58610
+ ['PureCloud OAuth'],
58611
+ ['application/json'],
58612
+ ['application/json']
58613
+ );
58614
+ }
58615
+
58152
58616
  /**
58153
58617
  * Request an activation status (cname + dkim) update of an outbound domain
58154
58618
  *
@@ -58234,6 +58698,37 @@ class RoutingApi {
58234
58698
  );
58235
58699
  }
58236
58700
 
58701
+ /**
58702
+ * Update Queue IdentityResolution Settings.
58703
+ *
58704
+ * @param {String} queueId Queue ID
58705
+ * @param {Object} body
58706
+ * putRoutingQueueIdentityresolution is a preview method and is subject to both breaking and non-breaking changes at any time without notice
58707
+ */
58708
+ putRoutingQueueIdentityresolution(queueId, body) {
58709
+ // verify the required parameter 'queueId' is set
58710
+ if (queueId === undefined || queueId === null) {
58711
+ throw 'Missing the required parameter "queueId" when calling putRoutingQueueIdentityresolution';
58712
+ }
58713
+ // verify the required parameter 'body' is set
58714
+ if (body === undefined || body === null) {
58715
+ throw 'Missing the required parameter "body" when calling putRoutingQueueIdentityresolution';
58716
+ }
58717
+
58718
+ return this.apiClient.callApi(
58719
+ '/api/v2/routing/queues/{queueId}/identityresolution',
58720
+ 'PUT',
58721
+ { 'queueId': queueId },
58722
+ { },
58723
+ { },
58724
+ { },
58725
+ body,
58726
+ ['PureCloud OAuth'],
58727
+ ['application/json'],
58728
+ ['application/json']
58729
+ );
58730
+ }
58731
+
58237
58732
  /**
58238
58733
  * Update an organization's routing settings
58239
58734
  *
@@ -58284,6 +58779,37 @@ class RoutingApi {
58284
58779
  );
58285
58780
  }
58286
58781
 
58782
+ /**
58783
+ * Update an SMS identity resolution settings.
58784
+ *
58785
+ * @param {String} addressId Address ID
58786
+ * @param {Object} body
58787
+ * putRoutingSmsIdentityresolutionPhonenumber is a preview method and is subject to both breaking and non-breaking changes at any time without notice
58788
+ */
58789
+ putRoutingSmsIdentityresolutionPhonenumber(addressId, body) {
58790
+ // verify the required parameter 'addressId' is set
58791
+ if (addressId === undefined || addressId === null) {
58792
+ throw 'Missing the required parameter "addressId" when calling putRoutingSmsIdentityresolutionPhonenumber';
58793
+ }
58794
+ // verify the required parameter 'body' is set
58795
+ if (body === undefined || body === null) {
58796
+ throw 'Missing the required parameter "body" when calling putRoutingSmsIdentityresolutionPhonenumber';
58797
+ }
58798
+
58799
+ return this.apiClient.callApi(
58800
+ '/api/v2/routing/sms/identityresolution/phonenumbers/{addressId}',
58801
+ 'PUT',
58802
+ { 'addressId': addressId },
58803
+ { },
58804
+ { },
58805
+ { },
58806
+ body,
58807
+ ['PureCloud OAuth'],
58808
+ ['application/json'],
58809
+ ['application/json']
58810
+ );
58811
+ }
58812
+
58287
58813
  /**
58288
58814
  * Update the user's Direct Routing Backup settings.
58289
58815
  *
@@ -58500,7 +59026,7 @@ class SCIMApi {
58500
59026
  /**
58501
59027
  * SCIM service.
58502
59028
  * @module purecloud-platform-client-v2/api/SCIMApi
58503
- * @version 216.0.0
59029
+ * @version 218.0.0
58504
59030
  */
58505
59031
 
58506
59032
  /**
@@ -59377,7 +59903,7 @@ class ScreenRecordingApi {
59377
59903
  /**
59378
59904
  * ScreenRecording service.
59379
59905
  * @module purecloud-platform-client-v2/api/ScreenRecordingApi
59380
- * @version 216.0.0
59906
+ * @version 218.0.0
59381
59907
  */
59382
59908
 
59383
59909
  /**
@@ -59422,7 +59948,7 @@ class ScriptsApi {
59422
59948
  /**
59423
59949
  * Scripts service.
59424
59950
  * @module purecloud-platform-client-v2/api/ScriptsApi
59425
- * @version 216.0.0
59951
+ * @version 218.0.0
59426
59952
  */
59427
59953
 
59428
59954
  /**
@@ -59866,7 +60392,7 @@ class SearchApi {
59866
60392
  /**
59867
60393
  * Search service.
59868
60394
  * @module purecloud-platform-client-v2/api/SearchApi
59869
- * @version 216.0.0
60395
+ * @version 218.0.0
59870
60396
  */
59871
60397
 
59872
60398
  /**
@@ -60609,7 +61135,7 @@ class SettingsApi {
60609
61135
  /**
60610
61136
  * Settings service.
60611
61137
  * @module purecloud-platform-client-v2/api/SettingsApi
60612
- * @version 216.0.0
61138
+ * @version 218.0.0
60613
61139
  */
60614
61140
 
60615
61141
  /**
@@ -60829,7 +61355,7 @@ class SocialMediaApi {
60829
61355
  /**
60830
61356
  * SocialMedia service.
60831
61357
  * @module purecloud-platform-client-v2/api/SocialMediaApi
60832
- * @version 216.0.0
61358
+ * @version 218.0.0
60833
61359
  */
60834
61360
 
60835
61361
  /**
@@ -60844,13 +61370,63 @@ class SocialMediaApi {
60844
61370
  }
60845
61371
 
60846
61372
 
61373
+ /**
61374
+ * Delete an escalation rule.
61375
+ *
61376
+ * @param {String} escalationRuleId escalationRuleId
61377
+ */
61378
+ deleteSocialmediaEscalationrule(escalationRuleId) {
61379
+ // verify the required parameter 'escalationRuleId' is set
61380
+ if (escalationRuleId === undefined || escalationRuleId === null) {
61381
+ throw 'Missing the required parameter "escalationRuleId" when calling deleteSocialmediaEscalationrule';
61382
+ }
61383
+
61384
+ return this.apiClient.callApi(
61385
+ '/api/v2/socialmedia/escalationrules/{escalationRuleId}',
61386
+ 'DELETE',
61387
+ { 'escalationRuleId': escalationRuleId },
61388
+ { },
61389
+ { },
61390
+ { },
61391
+ null,
61392
+ ['PureCloud OAuth'],
61393
+ ['application/json'],
61394
+ ['application/json']
61395
+ );
61396
+ }
61397
+
61398
+ /**
61399
+ * Delete a social media message.
61400
+ *
61401
+ * @param {String} messageId messageId
61402
+ * deleteSocialmediaMessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
61403
+ */
61404
+ deleteSocialmediaMessage(messageId) {
61405
+ // verify the required parameter 'messageId' is set
61406
+ if (messageId === undefined || messageId === null) {
61407
+ throw 'Missing the required parameter "messageId" when calling deleteSocialmediaMessage';
61408
+ }
61409
+
61410
+ return this.apiClient.callApi(
61411
+ '/api/v2/socialmedia/messages/{messageId}',
61412
+ 'DELETE',
61413
+ { 'messageId': messageId },
61414
+ { },
61415
+ { },
61416
+ { },
61417
+ null,
61418
+ ['PureCloud OAuth'],
61419
+ ['application/json'],
61420
+ ['application/json']
61421
+ );
61422
+ }
61423
+
60847
61424
  /**
60848
61425
  * Delete a social topic.
60849
61426
  *
60850
61427
  * @param {String} topicId topicId
60851
61428
  * @param {Object} opts Optional parameters
60852
61429
  * @param {Boolean} opts.hardDelete Determines whether a Social topic should be soft-deleted or hard-deleted (permanently removed). Set to false (soft-delete) by default.
60853
- * deleteSocialmediaTopic is a preview method and is subject to both breaking and non-breaking changes at any time without notice
60854
61430
  */
60855
61431
  deleteSocialmediaTopic(topicId, opts) {
60856
61432
  opts = opts || {};
@@ -60881,7 +61457,6 @@ class SocialMediaApi {
60881
61457
  * @param {String} facebookIngestionRuleId facebookIngestionRuleId
60882
61458
  * @param {Object} opts Optional parameters
60883
61459
  * @param {Boolean} opts.hardDelete Determines whether a Facebook 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)
60884
- * deleteSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
60885
61460
  */
60886
61461
  deleteSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId(topicId, facebookIngestionRuleId, opts) {
60887
61462
  opts = opts || {};
@@ -60951,7 +61526,6 @@ class SocialMediaApi {
60951
61526
  * @param {String} twitterIngestionRuleId twitterIngestionRuleId
60952
61527
  * @param {Object} opts Optional parameters
60953
61528
  * @param {Boolean} opts.hardDelete Determines whether a X (formally Twitter) 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)
60954
- * deleteSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
60955
61529
  */
60956
61530
  deleteSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId(topicId, twitterIngestionRuleId, opts) {
60957
61531
  opts = opts || {};
@@ -60979,13 +61553,175 @@ class SocialMediaApi {
60979
61553
  );
60980
61554
  }
60981
61555
 
61556
+ /**
61557
+ * Get status for async query for social media aggregates
61558
+ *
61559
+ * @param {String} jobId jobId
61560
+ */
61561
+ getSocialmediaAnalyticsAggregatesJob(jobId) {
61562
+ // verify the required parameter 'jobId' is set
61563
+ if (jobId === undefined || jobId === null) {
61564
+ throw 'Missing the required parameter "jobId" when calling getSocialmediaAnalyticsAggregatesJob';
61565
+ }
61566
+
61567
+ return this.apiClient.callApi(
61568
+ '/api/v2/socialmedia/analytics/aggregates/jobs/{jobId}',
61569
+ 'GET',
61570
+ { 'jobId': jobId },
61571
+ { },
61572
+ { },
61573
+ { },
61574
+ null,
61575
+ ['PureCloud OAuth'],
61576
+ ['application/json'],
61577
+ ['application/json']
61578
+ );
61579
+ }
61580
+
61581
+ /**
61582
+ * Fetch a page of results for an async social media query
61583
+ *
61584
+ * @param {String} jobId jobId
61585
+ * @param {Object} opts Optional parameters
61586
+ * @param {String} opts.cursor Cursor token to retrieve next page
61587
+ */
61588
+ getSocialmediaAnalyticsAggregatesJobResults(jobId, opts) {
61589
+ opts = opts || {};
61590
+
61591
+ // verify the required parameter 'jobId' is set
61592
+ if (jobId === undefined || jobId === null) {
61593
+ throw 'Missing the required parameter "jobId" when calling getSocialmediaAnalyticsAggregatesJobResults';
61594
+ }
61595
+
61596
+ return this.apiClient.callApi(
61597
+ '/api/v2/socialmedia/analytics/aggregates/jobs/{jobId}/results',
61598
+ 'GET',
61599
+ { 'jobId': jobId },
61600
+ { 'cursor': opts['cursor'] },
61601
+ { },
61602
+ { },
61603
+ null,
61604
+ ['PureCloud OAuth'],
61605
+ ['application/json'],
61606
+ ['application/json']
61607
+ );
61608
+ }
61609
+
61610
+ /**
61611
+ * Get status for async query for social media messages job
61612
+ *
61613
+ * @param {String} jobId jobId
61614
+ */
61615
+ getSocialmediaAnalyticsMessagesJob(jobId) {
61616
+ // verify the required parameter 'jobId' is set
61617
+ if (jobId === undefined || jobId === null) {
61618
+ throw 'Missing the required parameter "jobId" when calling getSocialmediaAnalyticsMessagesJob';
61619
+ }
61620
+
61621
+ return this.apiClient.callApi(
61622
+ '/api/v2/socialmedia/analytics/messages/jobs/{jobId}',
61623
+ 'GET',
61624
+ { 'jobId': jobId },
61625
+ { },
61626
+ { },
61627
+ { },
61628
+ null,
61629
+ ['PureCloud OAuth'],
61630
+ ['application/json'],
61631
+ ['application/json']
61632
+ );
61633
+ }
61634
+
61635
+ /**
61636
+ * Fetch a page of results for an async social media messages query
61637
+ *
61638
+ * @param {String} jobId jobId
61639
+ * @param {Object} opts Optional parameters
61640
+ * @param {String} opts.cursor Cursor token to retrieve next page
61641
+ */
61642
+ getSocialmediaAnalyticsMessagesJobResults(jobId, opts) {
61643
+ opts = opts || {};
61644
+
61645
+ // verify the required parameter 'jobId' is set
61646
+ if (jobId === undefined || jobId === null) {
61647
+ throw 'Missing the required parameter "jobId" when calling getSocialmediaAnalyticsMessagesJobResults';
61648
+ }
61649
+
61650
+ return this.apiClient.callApi(
61651
+ '/api/v2/socialmedia/analytics/messages/jobs/{jobId}/results',
61652
+ 'GET',
61653
+ { 'jobId': jobId },
61654
+ { 'cursor': opts['cursor'] },
61655
+ { },
61656
+ { },
61657
+ null,
61658
+ ['PureCloud OAuth'],
61659
+ ['application/json'],
61660
+ ['application/json']
61661
+ );
61662
+ }
61663
+
61664
+ /**
61665
+ * Get a single escalation rule.
61666
+ *
61667
+ * @param {String} escalationRuleId escalationRuleId
61668
+ */
61669
+ getSocialmediaEscalationrule(escalationRuleId) {
61670
+ // verify the required parameter 'escalationRuleId' is set
61671
+ if (escalationRuleId === undefined || escalationRuleId === null) {
61672
+ throw 'Missing the required parameter "escalationRuleId" when calling getSocialmediaEscalationrule';
61673
+ }
61674
+
61675
+ return this.apiClient.callApi(
61676
+ '/api/v2/socialmedia/escalationrules/{escalationRuleId}',
61677
+ 'GET',
61678
+ { 'escalationRuleId': escalationRuleId },
61679
+ { },
61680
+ { },
61681
+ { },
61682
+ null,
61683
+ ['PureCloud OAuth'],
61684
+ ['application/json'],
61685
+ ['application/json']
61686
+ );
61687
+ }
61688
+
61689
+ /**
61690
+ * Retrieve all escalation rules for a division.
61691
+ *
61692
+ * @param {String} divisionId One division ID
61693
+ * @param {Object} opts Optional parameters
61694
+ * @param {Number} opts.pageNumber Page number (default to 1)
61695
+ * @param {Number} opts.pageSize Page size (default to 25)
61696
+ */
61697
+ getSocialmediaEscalationrules(divisionId, opts) {
61698
+ opts = opts || {};
61699
+
61700
+ // verify the required parameter 'divisionId' is set
61701
+ if (divisionId === undefined || divisionId === null) {
61702
+ throw 'Missing the required parameter "divisionId" when calling getSocialmediaEscalationrules';
61703
+ }
61704
+
61705
+ return this.apiClient.callApi(
61706
+ '/api/v2/socialmedia/escalationrules',
61707
+ 'GET',
61708
+ { },
61709
+ { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'divisionId': divisionId },
61710
+ { },
61711
+ { },
61712
+ null,
61713
+ ['PureCloud OAuth'],
61714
+ ['application/json'],
61715
+ ['application/json']
61716
+ );
61717
+ }
61718
+
60982
61719
  /**
60983
61720
  * Get a single social topic.
60984
61721
  *
60985
61722
  * @param {String} topicId topicId
60986
61723
  * @param {Object} opts Optional parameters
60987
61724
  * @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
60988
- * getSocialmediaTopic is a preview method and is subject to both breaking and non-breaking changes at any time without notice
60989
61725
  */
60990
61726
  getSocialmediaTopic(topicId, opts) {
60991
61727
  opts = opts || {};
@@ -61009,6 +61745,37 @@ class SocialMediaApi {
61009
61745
  );
61010
61746
  }
61011
61747
 
61748
+ /**
61749
+ * Retrieve all social topic data ingestion rules with pagination.
61750
+ *
61751
+ * @param {String} topicId topicId
61752
+ * @param {Object} opts Optional parameters
61753
+ * @param {Number} opts.pageNumber Page number (default to 1)
61754
+ * @param {Number} opts.pageSize Page size (default to 25)
61755
+ * @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
61756
+ */
61757
+ getSocialmediaTopicDataingestionrules(topicId, opts) {
61758
+ opts = opts || {};
61759
+
61760
+ // verify the required parameter 'topicId' is set
61761
+ if (topicId === undefined || topicId === null) {
61762
+ throw 'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrules';
61763
+ }
61764
+
61765
+ return this.apiClient.callApi(
61766
+ '/api/v2/socialmedia/topics/{topicId}/dataingestionrules',
61767
+ 'GET',
61768
+ { 'topicId': topicId },
61769
+ { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'includeDeleted': opts['includeDeleted'] },
61770
+ { },
61771
+ { },
61772
+ null,
61773
+ ['PureCloud OAuth'],
61774
+ ['application/json'],
61775
+ ['application/json']
61776
+ );
61777
+ }
61778
+
61012
61779
  /**
61013
61780
  * Get a single Facebook data ingestion rule.
61014
61781
  *
@@ -61016,7 +61783,6 @@ class SocialMediaApi {
61016
61783
  * @param {String} facebookIngestionRuleId facebookIngestionRuleId
61017
61784
  * @param {Object} opts Optional parameters
61018
61785
  * @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
61019
- * getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
61020
61786
  */
61021
61787
  getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId(topicId, facebookIngestionRuleId, opts) {
61022
61788
  opts = opts || {};
@@ -61052,7 +61818,6 @@ class SocialMediaApi {
61052
61818
  * @param {String} dataIngestionRuleVersion version
61053
61819
  * @param {Object} opts Optional parameters
61054
61820
  * @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted item in the result.
61055
- * getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
61056
61821
  */
61057
61822
  getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersion(topicId, facebookIngestionRuleId, dataIngestionRuleVersion, opts) {
61058
61823
  opts = opts || {};
@@ -61093,7 +61858,6 @@ class SocialMediaApi {
61093
61858
  * @param {Number} opts.pageNumber Page number (default to 1)
61094
61859
  * @param {Number} opts.pageSize Page size (default to 25)
61095
61860
  * @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
61096
- * getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
61097
61861
  */
61098
61862
  getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersions(topicId, facebookIngestionRuleId, opts) {
61099
61863
  opts = opts || {};
@@ -61240,7 +62004,6 @@ class SocialMediaApi {
61240
62004
  * @param {String} twitterIngestionRuleId twitterIngestionRuleId
61241
62005
  * @param {Object} opts Optional parameters
61242
62006
  * @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
61243
- * getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
61244
62007
  */
61245
62008
  getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId(topicId, twitterIngestionRuleId, opts) {
61246
62009
  opts = opts || {};
@@ -61276,7 +62039,6 @@ class SocialMediaApi {
61276
62039
  * @param {String} dataIngestionRuleVersion version
61277
62040
  * @param {Object} opts Optional parameters
61278
62041
  * @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted item in the result.
61279
- * getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
61280
62042
  */
61281
62043
  getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersion(topicId, twitterIngestionRuleId, dataIngestionRuleVersion, opts) {
61282
62044
  opts = opts || {};
@@ -61317,7 +62079,6 @@ class SocialMediaApi {
61317
62079
  * @param {Number} opts.pageNumber Page number (default to 1)
61318
62080
  * @param {Number} opts.pageSize Page size (default to 25)
61319
62081
  * @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
61320
- * getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
61321
62082
  */
61322
62083
  getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersions(topicId, twitterIngestionRuleId, opts) {
61323
62084
  opts = opts || {};
@@ -61353,7 +62114,6 @@ class SocialMediaApi {
61353
62114
  * @param {Number} opts.pageSize Page size (default to 25)
61354
62115
  * @param {Array.<String>} opts.divisionIds One or more division IDs. If nothing is provided, the social topics associated withthe list of divisions that the user has access to will be returned.
61355
62116
  * @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
61356
- * getSocialmediaTopics is a preview method and is subject to both breaking and non-breaking changes at any time without notice
61357
62117
  */
61358
62118
  getSocialmediaTopics(opts) {
61359
62119
  opts = opts || {};
@@ -61379,7 +62139,6 @@ class SocialMediaApi {
61379
62139
  * @param {String} topicId topicId
61380
62140
  * @param {Object} opts Optional parameters
61381
62141
  * @param {Object} opts.body
61382
- * patchSocialmediaTopic is a preview method and is subject to both breaking and non-breaking changes at any time without notice
61383
62142
  */
61384
62143
  patchSocialmediaTopic(topicId, opts) {
61385
62144
  opts = opts || {};
@@ -61410,7 +62169,6 @@ class SocialMediaApi {
61410
62169
  * @param {String} facebookIngestionRuleId facebookIngestionRuleId
61411
62170
  * @param {Object} opts Optional parameters
61412
62171
  * @param {Object} opts.body
61413
- * patchSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
61414
62172
  */
61415
62173
  patchSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId(topicId, facebookIngestionRuleId, opts) {
61416
62174
  opts = opts || {};
@@ -61480,7 +62238,6 @@ class SocialMediaApi {
61480
62238
  * @param {String} twitterIngestionRuleId twitterIngestionRuleId
61481
62239
  * @param {Object} opts Optional parameters
61482
62240
  * @param {Object} opts.body
61483
- * patchSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
61484
62241
  */
61485
62242
  patchSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId(topicId, twitterIngestionRuleId, opts) {
61486
62243
  opts = opts || {};
@@ -61508,13 +62265,115 @@ class SocialMediaApi {
61508
62265
  );
61509
62266
  }
61510
62267
 
62268
+ /**
62269
+ * Query for social media aggregates asynchronously
62270
+ *
62271
+ * @param {Object} body query
62272
+ */
62273
+ postSocialmediaAnalyticsAggregatesJobs(body) {
62274
+ // verify the required parameter 'body' is set
62275
+ if (body === undefined || body === null) {
62276
+ throw 'Missing the required parameter "body" when calling postSocialmediaAnalyticsAggregatesJobs';
62277
+ }
62278
+
62279
+ return this.apiClient.callApi(
62280
+ '/api/v2/socialmedia/analytics/aggregates/jobs',
62281
+ 'POST',
62282
+ { },
62283
+ { },
62284
+ { },
62285
+ { },
62286
+ body,
62287
+ ['PureCloud OAuth'],
62288
+ ['application/json'],
62289
+ ['application/json']
62290
+ );
62291
+ }
62292
+
62293
+ /**
62294
+ * Query for social media messages asynchronously
62295
+ *
62296
+ * @param {Object} body query
62297
+ */
62298
+ postSocialmediaAnalyticsMessagesJobs(body) {
62299
+ // verify the required parameter 'body' is set
62300
+ if (body === undefined || body === null) {
62301
+ throw 'Missing the required parameter "body" when calling postSocialmediaAnalyticsMessagesJobs';
62302
+ }
62303
+
62304
+ return this.apiClient.callApi(
62305
+ '/api/v2/socialmedia/analytics/messages/jobs',
62306
+ 'POST',
62307
+ { },
62308
+ { },
62309
+ { },
62310
+ { },
62311
+ body,
62312
+ ['PureCloud OAuth'],
62313
+ ['application/json'],
62314
+ ['application/json']
62315
+ );
62316
+ }
62317
+
62318
+ /**
62319
+ * Create an escalation rule.
62320
+ *
62321
+ * @param {Object} opts Optional parameters
62322
+ * @param {Object} opts.body
62323
+ */
62324
+ postSocialmediaEscalationrules(opts) {
62325
+ opts = opts || {};
62326
+
62327
+
62328
+ return this.apiClient.callApi(
62329
+ '/api/v2/socialmedia/escalationrules',
62330
+ 'POST',
62331
+ { },
62332
+ { },
62333
+ { },
62334
+ { },
62335
+ opts['body'],
62336
+ ['PureCloud OAuth'],
62337
+ ['application/json'],
62338
+ ['application/json']
62339
+ );
62340
+ }
62341
+
62342
+ /**
62343
+ * Escalate message to a conversation manually
62344
+ *
62345
+ * @param {String} divisionId One division ID
62346
+ * @param {Object} opts Optional parameters
62347
+ * @param {Object} opts.body
62348
+ */
62349
+ postSocialmediaEscalationsMessages(divisionId, opts) {
62350
+ opts = opts || {};
62351
+
62352
+ // verify the required parameter 'divisionId' is set
62353
+ if (divisionId === undefined || divisionId === null) {
62354
+ throw 'Missing the required parameter "divisionId" when calling postSocialmediaEscalationsMessages';
62355
+ }
62356
+
62357
+ return this.apiClient.callApi(
62358
+ '/api/v2/socialmedia/escalations/messages',
62359
+ 'POST',
62360
+ { },
62361
+ { 'divisionId': divisionId },
62362
+ { },
62363
+ { },
62364
+ opts['body'],
62365
+ ['PureCloud OAuth'],
62366
+ ['application/json'],
62367
+ ['application/json']
62368
+ );
62369
+ }
62370
+
61511
62371
  /**
61512
62372
  * Create an Facebook data ingestion rule.
61513
62373
  *
61514
62374
  * @param {String} topicId topicId
61515
62375
  * @param {Object} opts Optional parameters
61516
62376
  * @param {Object} opts.body
61517
- * postSocialmediaTopicDataingestionrulesFacebook is a preview method and is subject to both breaking and non-breaking changes at any time without notice
61518
62377
  */
61519
62378
  postSocialmediaTopicDataingestionrulesFacebook(topicId, opts) {
61520
62379
  opts = opts || {};
@@ -61574,7 +62433,6 @@ class SocialMediaApi {
61574
62433
  * @param {String} topicId topicId
61575
62434
  * @param {Object} opts Optional parameters
61576
62435
  * @param {Object} opts.body
61577
- * postSocialmediaTopicDataingestionrulesTwitter is a preview method and is subject to both breaking and non-breaking changes at any time without notice
61578
62436
  */
61579
62437
  postSocialmediaTopicDataingestionrulesTwitter(topicId, opts) {
61580
62438
  opts = opts || {};
@@ -61603,7 +62461,6 @@ class SocialMediaApi {
61603
62461
  *
61604
62462
  * @param {Object} opts Optional parameters
61605
62463
  * @param {Object} opts.body
61606
- * postSocialmediaTopics is a preview method and is subject to both breaking and non-breaking changes at any time without notice
61607
62464
  */
61608
62465
  postSocialmediaTopics(opts) {
61609
62466
  opts = opts || {};
@@ -61623,6 +62480,60 @@ class SocialMediaApi {
61623
62480
  );
61624
62481
  }
61625
62482
 
62483
+ /**
62484
+ * Retrieves historical tweet count for search terms, optional countries list and the current limit and usage for the organization.
62485
+ *
62486
+ * @param {Object} body TwitterDataHistoricalTweetRequest
62487
+ */
62488
+ postSocialmediaTwitterHistoricalTweets(body) {
62489
+ // verify the required parameter 'body' is set
62490
+ if (body === undefined || body === null) {
62491
+ throw 'Missing the required parameter "body" when calling postSocialmediaTwitterHistoricalTweets';
62492
+ }
62493
+
62494
+ return this.apiClient.callApi(
62495
+ '/api/v2/socialmedia/twitter/historical/tweets',
62496
+ 'POST',
62497
+ { },
62498
+ { },
62499
+ { },
62500
+ { },
62501
+ body,
62502
+ ['PureCloud OAuth'],
62503
+ ['application/json'],
62504
+ ['application/json']
62505
+ );
62506
+ }
62507
+
62508
+ /**
62509
+ * Update the escalation rule.
62510
+ *
62511
+ * @param {String} escalationRuleId escalationRuleId
62512
+ * @param {Object} opts Optional parameters
62513
+ * @param {Object} opts.body
62514
+ */
62515
+ putSocialmediaEscalationrule(escalationRuleId, opts) {
62516
+ opts = opts || {};
62517
+
62518
+ // verify the required parameter 'escalationRuleId' is set
62519
+ if (escalationRuleId === undefined || escalationRuleId === null) {
62520
+ throw 'Missing the required parameter "escalationRuleId" when calling putSocialmediaEscalationrule';
62521
+ }
62522
+
62523
+ return this.apiClient.callApi(
62524
+ '/api/v2/socialmedia/escalationrules/{escalationRuleId}',
62525
+ 'PUT',
62526
+ { 'escalationRuleId': escalationRuleId },
62527
+ { },
62528
+ { },
62529
+ { },
62530
+ opts['body'],
62531
+ ['PureCloud OAuth'],
62532
+ ['application/json'],
62533
+ ['application/json']
62534
+ );
62535
+ }
62536
+
61626
62537
  /**
61627
62538
  * Update the Facebook data ingestion rule.
61628
62539
  *
@@ -61630,7 +62541,6 @@ class SocialMediaApi {
61630
62541
  * @param {String} facebookIngestionRuleId facebookIngestionRuleId
61631
62542
  * @param {Object} opts Optional parameters
61632
62543
  * @param {Object} opts.body
61633
- * putSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
61634
62544
  */
61635
62545
  putSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId(topicId, facebookIngestionRuleId, opts) {
61636
62546
  opts = opts || {};
@@ -61700,7 +62610,6 @@ class SocialMediaApi {
61700
62610
  * @param {String} twitterIngestionRuleId twitterIngestionRuleId
61701
62611
  * @param {Object} opts Optional parameters
61702
62612
  * @param {Object} opts.body
61703
- * putSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
61704
62613
  */
61705
62614
  putSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId(topicId, twitterIngestionRuleId, opts) {
61706
62615
  opts = opts || {};
@@ -61734,7 +62643,7 @@ class SpeechTextAnalyticsApi {
61734
62643
  /**
61735
62644
  * SpeechTextAnalytics service.
61736
62645
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
61737
- * @version 216.0.0
62646
+ * @version 218.0.0
61738
62647
  */
61739
62648
 
61740
62649
  /**
@@ -63175,7 +64084,7 @@ class StationsApi {
63175
64084
  /**
63176
64085
  * Stations service.
63177
64086
  * @module purecloud-platform-client-v2/api/StationsApi
63178
- * @version 216.0.0
64087
+ * @version 218.0.0
63179
64088
  */
63180
64089
 
63181
64090
  /**
@@ -63277,7 +64186,7 @@ class SuggestApi {
63277
64186
  /**
63278
64187
  * Suggest service.
63279
64188
  * @module purecloud-platform-client-v2/api/SuggestApi
63280
- * @version 216.0.0
64189
+ * @version 218.0.0
63281
64190
  */
63282
64191
 
63283
64192
  /**
@@ -63416,7 +64325,7 @@ class TaskManagementApi {
63416
64325
  /**
63417
64326
  * TaskManagement service.
63418
64327
  * @module purecloud-platform-client-v2/api/TaskManagementApi
63419
- * @version 216.0.0
64328
+ * @version 218.0.0
63420
64329
  */
63421
64330
 
63422
64331
  /**
@@ -65522,7 +66431,7 @@ class TeamsApi {
65522
66431
  /**
65523
66432
  * Teams service.
65524
66433
  * @module purecloud-platform-client-v2/api/TeamsApi
65525
- * @version 216.0.0
66434
+ * @version 218.0.0
65526
66435
  */
65527
66436
 
65528
66437
  /**
@@ -65827,7 +66736,7 @@ class TelephonyApi {
65827
66736
  /**
65828
66737
  * Telephony service.
65829
66738
  * @module purecloud-platform-client-v2/api/TelephonyApi
65830
- * @version 216.0.0
66739
+ * @version 218.0.0
65831
66740
  */
65832
66741
 
65833
66742
  /**
@@ -66009,7 +66918,7 @@ class TelephonyProvidersEdgeApi {
66009
66918
  /**
66010
66919
  * TelephonyProvidersEdge service.
66011
66920
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
66012
- * @version 216.0.0
66921
+ * @version 218.0.0
66013
66922
  */
66014
66923
 
66015
66924
  /**
@@ -67191,6 +68100,7 @@ class TelephonyProvidersEdgeApi {
67191
68100
  * @param {Number} opts.pageNumber Page number (default to 1)
67192
68101
  * @param {String} opts.sortBy Sort by
67193
68102
  * @param {String} opts._number Deprecated, filtering by number not supported
68103
+ * @param {Array.<String>} opts.divisionId List of divisionIds on which to filter.
67194
68104
  */
67195
68105
  getTelephonyProvidersEdgesExtensionpools(opts) {
67196
68106
  opts = opts || {};
@@ -67200,7 +68110,7 @@ class TelephonyProvidersEdgeApi {
67200
68110
  '/api/v2/telephony/providers/edges/extensionpools',
67201
68111
  'GET',
67202
68112
  { },
67203
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'number': opts['_number'] },
68113
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'number': opts['_number'],'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi') },
67204
68114
  { },
67205
68115
  { },
67206
68116
  null,
@@ -69460,7 +70370,7 @@ class TextbotsApi {
69460
70370
  /**
69461
70371
  * Textbots service.
69462
70372
  * @module purecloud-platform-client-v2/api/TextbotsApi
69463
- * @version 216.0.0
70373
+ * @version 218.0.0
69464
70374
  */
69465
70375
 
69466
70376
  /**
@@ -69588,7 +70498,7 @@ class TokensApi {
69588
70498
  /**
69589
70499
  * Tokens service.
69590
70500
  * @module purecloud-platform-client-v2/api/TokensApi
69591
- * @version 216.0.0
70501
+ * @version 218.0.0
69592
70502
  */
69593
70503
 
69594
70504
  /**
@@ -69742,7 +70652,7 @@ class UploadsApi {
69742
70652
  /**
69743
70653
  * Uploads service.
69744
70654
  * @module purecloud-platform-client-v2/api/UploadsApi
69745
- * @version 216.0.0
70655
+ * @version 218.0.0
69746
70656
  */
69747
70657
 
69748
70658
  /**
@@ -69762,7 +70672,6 @@ class UploadsApi {
69762
70672
  *
69763
70673
  * @param {String} knowledgeBaseId Knowledge base ID
69764
70674
  * @param {String} jobId Upload job ID
69765
- * getKnowledgeKnowledgebaseUploadsUrlsJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
69766
70675
  */
69767
70676
  getKnowledgeKnowledgebaseUploadsUrlsJob(knowledgeBaseId, jobId) {
69768
70677
  // verify the required parameter 'knowledgeBaseId' is set
@@ -69848,7 +70757,6 @@ class UploadsApi {
69848
70757
  *
69849
70758
  * @param {String} knowledgeBaseId Knowledge base ID
69850
70759
  * @param {Object} body uploadRequest
69851
- * postKnowledgeKnowledgebaseUploadsUrlsJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
69852
70760
  */
69853
70761
  postKnowledgeKnowledgebaseUploadsUrlsJobs(knowledgeBaseId, body) {
69854
70762
  // verify the required parameter 'knowledgeBaseId' is set
@@ -70010,7 +70918,7 @@ class UsageApi {
70010
70918
  /**
70011
70919
  * Usage service.
70012
70920
  * @module purecloud-platform-client-v2/api/UsageApi
70013
- * @version 216.0.0
70921
+ * @version 218.0.0
70014
70922
  */
70015
70923
 
70016
70924
  /**
@@ -70225,7 +71133,7 @@ class UserRecordingsApi {
70225
71133
  /**
70226
71134
  * UserRecordings service.
70227
71135
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
70228
- * @version 216.0.0
71136
+ * @version 218.0.0
70229
71137
  */
70230
71138
 
70231
71139
  /**
@@ -70440,7 +71348,7 @@ class UsersApi {
70440
71348
  /**
70441
71349
  * Users service.
70442
71350
  * @module purecloud-platform-client-v2/api/UsersApi
70443
- * @version 216.0.0
71351
+ * @version 218.0.0
70444
71352
  */
70445
71353
 
70446
71354
  /**
@@ -73393,7 +74301,7 @@ class UtilitiesApi {
73393
74301
  /**
73394
74302
  * Utilities service.
73395
74303
  * @module purecloud-platform-client-v2/api/UtilitiesApi
73396
- * @version 216.0.0
74304
+ * @version 218.0.0
73397
74305
  */
73398
74306
 
73399
74307
  /**
@@ -73504,7 +74412,7 @@ class VoicemailApi {
73504
74412
  /**
73505
74413
  * Voicemail service.
73506
74414
  * @module purecloud-platform-client-v2/api/VoicemailApi
73507
- * @version 216.0.0
74415
+ * @version 218.0.0
73508
74416
  */
73509
74417
 
73510
74418
  /**
@@ -74226,7 +75134,7 @@ class WebChatApi {
74226
75134
  /**
74227
75135
  * WebChat service.
74228
75136
  * @module purecloud-platform-client-v2/api/WebChatApi
74229
- * @version 216.0.0
75137
+ * @version 218.0.0
74230
75138
  */
74231
75139
 
74232
75140
  /**
@@ -74269,9 +75177,10 @@ class WebChatApi {
74269
75177
 
74270
75178
  /**
74271
75179
  * Remove a member from a chat conversation
74272
- *
75180
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-removal-of-acd-web-chat-version-2/
74273
75181
  * @param {String} conversationId conversationId
74274
75182
  * @param {String} memberId memberId
75183
+ * @deprecated
74275
75184
  */
74276
75185
  deleteWebchatGuestConversationMember(conversationId, memberId) {
74277
75186
  // verify the required parameter 'conversationId' is set
@@ -74397,8 +75306,9 @@ class WebChatApi {
74397
75306
 
74398
75307
  /**
74399
75308
  * Get all media requests to the guest in the conversation
74400
- *
75309
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-removal-of-acd-web-chat-version-2/
74401
75310
  * @param {String} conversationId conversationId
75311
+ * @deprecated
74402
75312
  */
74403
75313
  getWebchatGuestConversationMediarequests(conversationId) {
74404
75314
  // verify the required parameter 'conversationId' is set
@@ -74422,9 +75332,10 @@ class WebChatApi {
74422
75332
 
74423
75333
  /**
74424
75334
  * Get a web chat conversation member
74425
- *
75335
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-removal-of-acd-web-chat-version-2/
74426
75336
  * @param {String} conversationId conversationId
74427
75337
  * @param {String} memberId memberId
75338
+ * @deprecated
74428
75339
  */
74429
75340
  getWebchatGuestConversationMember(conversationId, memberId) {
74430
75341
  // verify the required parameter 'conversationId' is set
@@ -74452,12 +75363,13 @@ class WebChatApi {
74452
75363
 
74453
75364
  /**
74454
75365
  * Get the members of a chat conversation.
74455
- *
75366
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-removal-of-acd-web-chat-version-2/
74456
75367
  * @param {String} conversationId conversationId
74457
75368
  * @param {Object} opts Optional parameters
74458
75369
  * @param {Number} opts.pageSize The number of entries to return per page, or omitted for the default. (default to 25)
74459
75370
  * @param {Number} opts.pageNumber The page number to return, or omitted for the first page. (default to 1)
74460
75371
  * @param {Boolean} opts.excludeDisconnectedMembers If true, the results will not contain members who have a DISCONNECTED state. (default to false)
75372
+ * @deprecated
74461
75373
  */
74462
75374
  getWebchatGuestConversationMembers(conversationId, opts) {
74463
75375
  opts = opts || {};
@@ -74483,9 +75395,10 @@ class WebChatApi {
74483
75395
 
74484
75396
  /**
74485
75397
  * Get a web chat conversation message
74486
- *
75398
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-removal-of-acd-web-chat-version-2/
74487
75399
  * @param {String} conversationId conversationId
74488
75400
  * @param {String} messageId messageId
75401
+ * @deprecated
74489
75402
  */
74490
75403
  getWebchatGuestConversationMessage(conversationId, messageId) {
74491
75404
  // verify the required parameter 'conversationId' is set
@@ -74513,13 +75426,14 @@ class WebChatApi {
74513
75426
 
74514
75427
  /**
74515
75428
  * Get the messages of a chat conversation.
74516
- *
75429
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-removal-of-acd-web-chat-version-2/
74517
75430
  * @param {String} conversationId conversationId
74518
75431
  * @param {Object} opts Optional parameters
74519
75432
  * @param {String} opts.after If available, get the messages chronologically after the id of this message
74520
75433
  * @param {String} opts.before If available, get the messages chronologically before the id of this message
74521
75434
  * @param {Object} opts.sortOrder Sort order (default to ascending)
74522
75435
  * @param {Number} opts.maxResults Limit the returned number of messages, up to a maximum of 100 (default to 100)
75436
+ * @deprecated
74523
75437
  */
74524
75438
  getWebchatGuestConversationMessages(conversationId, opts) {
74525
75439
  opts = opts || {};
@@ -74627,10 +75541,11 @@ class WebChatApi {
74627
75541
 
74628
75542
  /**
74629
75543
  * Send a message in a chat conversation.
74630
- *
75544
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-removal-of-acd-web-chat-version-2/
74631
75545
  * @param {String} conversationId conversationId
74632
75546
  * @param {String} memberId memberId
74633
75547
  * @param {Object} body Message
75548
+ * @deprecated
74634
75549
  */
74635
75550
  postWebchatGuestConversationMemberMessages(conversationId, memberId, body) {
74636
75551
  // verify the required parameter 'conversationId' is set
@@ -74662,9 +75577,10 @@ class WebChatApi {
74662
75577
 
74663
75578
  /**
74664
75579
  * Send a typing-indicator in a chat conversation.
74665
- *
75580
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-removal-of-acd-web-chat-version-2/
74666
75581
  * @param {String} conversationId conversationId
74667
75582
  * @param {String} memberId memberId
75583
+ * @deprecated
74668
75584
  */
74669
75585
  postWebchatGuestConversationMemberTyping(conversationId, memberId) {
74670
75586
  // verify the required parameter 'conversationId' is set
@@ -74692,8 +75608,9 @@ class WebChatApi {
74692
75608
 
74693
75609
  /**
74694
75610
  * Create an ACD chat conversation from an external customer.
74695
- * This endpoint will create a new ACD Chat conversation under the specified Chat Deployment. The conversation will begin with a guest member in it (with a role=CUSTOMER) according to the customer information that is supplied. If the guest member is authenticated, the memberAuthToken field should include his JWT as generated by the POST /api/v2/signeddata resource; if the guest member is anonymous (and the Deployment permits it) this field can be omitted. The returned data includes the IDs of the conversation created, along with a newly-create JWT token that you can supply to all future endpoints as authentication to perform operations against that conversation. After successfully creating a conversation, you should connect a websocket to the event stream named in the eventStreamUri field of the response; the conversation is not routed until the event stream is attached.
75611
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-removal-of-acd-web-chat-version-2/. This endpoint will create a new ACD Chat conversation under the specified Chat Deployment. The conversation will begin with a guest member in it (with a role=CUSTOMER) according to the customer information that is supplied. If the guest member is authenticated, the memberAuthToken field should include his JWT as generated by the POST /api/v2/signeddata resource; if the guest member is anonymous (and the Deployment permits it) this field can be omitted. The returned data includes the IDs of the conversation created, along with a newly-create JWT token that you can supply to all future endpoints as authentication to perform operations against that conversation. After successfully creating a conversation, you should connect a websocket to the event stream named in the eventStreamUri field of the response; the conversation is not routed until the event stream is attached.
74696
75612
  * @param {Object} body CreateConversationRequest
75613
+ * @deprecated
74697
75614
  */
74698
75615
  postWebchatGuestConversations(body) {
74699
75616
  // verify the required parameter 'body' is set
@@ -74777,7 +75694,7 @@ class WebDeploymentsApi {
74777
75694
  /**
74778
75695
  * WebDeployments service.
74779
75696
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
74780
- * @version 216.0.0
75697
+ * @version 218.0.0
74781
75698
  */
74782
75699
 
74783
75700
  /**
@@ -75090,6 +76007,32 @@ class WebDeploymentsApi {
75090
76007
  );
75091
76008
  }
75092
76009
 
76010
+ /**
76011
+ * Get a deployment identity resolution setting.
76012
+ *
76013
+ * @param {String} deploymentId The deployment ID
76014
+ * getWebdeploymentsDeploymentIdentityresolution is a preview method and is subject to both breaking and non-breaking changes at any time without notice
76015
+ */
76016
+ getWebdeploymentsDeploymentIdentityresolution(deploymentId) {
76017
+ // verify the required parameter 'deploymentId' is set
76018
+ if (deploymentId === undefined || deploymentId === null) {
76019
+ throw 'Missing the required parameter "deploymentId" when calling getWebdeploymentsDeploymentIdentityresolution';
76020
+ }
76021
+
76022
+ return this.apiClient.callApi(
76023
+ '/api/v2/webdeployments/deployments/{deploymentId}/identityresolution',
76024
+ 'GET',
76025
+ { 'deploymentId': deploymentId },
76026
+ { },
76027
+ { },
76028
+ { },
76029
+ null,
76030
+ ['PureCloud OAuth'],
76031
+ ['application/json'],
76032
+ ['application/json']
76033
+ );
76034
+ }
76035
+
75093
76036
  /**
75094
76037
  * Get deployments
75095
76038
  *
@@ -75298,13 +76241,44 @@ class WebDeploymentsApi {
75298
76241
  );
75299
76242
  }
75300
76243
 
76244
+ /**
76245
+ * Update identity resolution settings for a deployment.
76246
+ *
76247
+ * @param {String} deploymentId The deployment ID
76248
+ * @param {Object} body
76249
+ * putWebdeploymentsDeploymentIdentityresolution is a preview method and is subject to both breaking and non-breaking changes at any time without notice
76250
+ */
76251
+ putWebdeploymentsDeploymentIdentityresolution(deploymentId, body) {
76252
+ // verify the required parameter 'deploymentId' is set
76253
+ if (deploymentId === undefined || deploymentId === null) {
76254
+ throw 'Missing the required parameter "deploymentId" when calling putWebdeploymentsDeploymentIdentityresolution';
76255
+ }
76256
+ // verify the required parameter 'body' is set
76257
+ if (body === undefined || body === null) {
76258
+ throw 'Missing the required parameter "body" when calling putWebdeploymentsDeploymentIdentityresolution';
76259
+ }
76260
+
76261
+ return this.apiClient.callApi(
76262
+ '/api/v2/webdeployments/deployments/{deploymentId}/identityresolution',
76263
+ 'PUT',
76264
+ { 'deploymentId': deploymentId },
76265
+ { },
76266
+ { },
76267
+ { },
76268
+ body,
76269
+ ['PureCloud OAuth'],
76270
+ ['application/json'],
76271
+ ['application/json']
76272
+ );
76273
+ }
76274
+
75301
76275
  }
75302
76276
 
75303
76277
  class WebMessagingApi {
75304
76278
  /**
75305
76279
  * WebMessaging service.
75306
76280
  * @module purecloud-platform-client-v2/api/WebMessagingApi
75307
- * @version 216.0.0
76281
+ * @version 218.0.0
75308
76282
  */
75309
76283
 
75310
76284
  /**
@@ -75350,7 +76324,7 @@ class WidgetsApi {
75350
76324
  /**
75351
76325
  * Widgets service.
75352
76326
  * @module purecloud-platform-client-v2/api/WidgetsApi
75353
- * @version 216.0.0
76327
+ * @version 218.0.0
75354
76328
  */
75355
76329
 
75356
76330
  /**
@@ -75367,8 +76341,9 @@ class WidgetsApi {
75367
76341
 
75368
76342
  /**
75369
76343
  * Delete a Widget deployment
75370
- *
76344
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-removal-of-acd-web-chat-version-2/.
75371
76345
  * @param {String} deploymentId Widget Config Id
76346
+ * @deprecated
75372
76347
  */
75373
76348
  deleteWidgetsDeployment(deploymentId) {
75374
76349
  // verify the required parameter 'deploymentId' is set
@@ -75392,8 +76367,9 @@ class WidgetsApi {
75392
76367
 
75393
76368
  /**
75394
76369
  * Get a Widget deployment
75395
- *
76370
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-removal-of-acd-web-chat-version-2/.
75396
76371
  * @param {String} deploymentId Widget Config Id
76372
+ * @deprecated
75397
76373
  */
75398
76374
  getWidgetsDeployment(deploymentId) {
75399
76375
  // verify the required parameter 'deploymentId' is set
@@ -75417,7 +76393,8 @@ class WidgetsApi {
75417
76393
 
75418
76394
  /**
75419
76395
  * List Widget deployments
75420
- *
76396
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-removal-of-acd-web-chat-version-2/.
76397
+ * @deprecated
75421
76398
  */
75422
76399
  getWidgetsDeployments() {
75423
76400
 
@@ -75437,8 +76414,9 @@ class WidgetsApi {
75437
76414
 
75438
76415
  /**
75439
76416
  * Create Widget deployment
75440
- *
76417
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-removal-of-acd-web-chat-version-2/.
75441
76418
  * @param {Object} body Deployment
76419
+ * @deprecated
75442
76420
  */
75443
76421
  postWidgetsDeployments(body) {
75444
76422
  // verify the required parameter 'body' is set
@@ -75462,9 +76440,10 @@ class WidgetsApi {
75462
76440
 
75463
76441
  /**
75464
76442
  * Update a Widget deployment
75465
- *
76443
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-removal-of-acd-web-chat-version-2/.
75466
76444
  * @param {String} deploymentId Widget Config Id
75467
76445
  * @param {Object} body Deployment
76446
+ * @deprecated
75468
76447
  */
75469
76448
  putWidgetsDeployment(deploymentId, body) {
75470
76449
  // verify the required parameter 'deploymentId' is set
@@ -75496,7 +76475,7 @@ class WorkforceManagementApi {
75496
76475
  /**
75497
76476
  * WorkforceManagement service.
75498
76477
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
75499
- * @version 216.0.0
76478
+ * @version 218.0.0
75500
76479
  */
75501
76480
 
75502
76481
  /**
@@ -82889,7 +83868,7 @@ class WorkforceManagementApi {
82889
83868
  * </pre>
82890
83869
  * </p>
82891
83870
  * @module purecloud-platform-client-v2/index
82892
- * @version 216.0.0
83871
+ * @version 218.0.0
82893
83872
  */
82894
83873
  class platformClient {
82895
83874
  constructor() {