purecloud-platform-client-v2 216.0.0 → 217.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 +826 -457
  3. package/dist/web-amd/purecloud-platform-client-v2.js +826 -457
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +314 -217
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +319 -220
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +345 -220
  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 -5
  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 +174 -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 +167 -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 -11
  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 +3 -1
  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 -1
  62. package/src/purecloud-platform-client-v2/api/RecordingApi.js +4 -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 +1 -1
  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 +1 -1
  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 +1 -1
  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 +1 -1
  90. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
  91. package/src/purecloud-platform-client-v2/index.js +1 -1
@@ -687,7 +687,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
687
687
 
688
688
  /**
689
689
  * @module purecloud-platform-client-v2/ApiClient
690
- * @version 216.0.0
690
+ * @version 217.0.0
691
691
  */
692
692
  class ApiClient {
693
693
  /**
@@ -2231,7 +2231,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
2231
2231
  /**
2232
2232
  * AgentAssistants service.
2233
2233
  * @module purecloud-platform-client-v2/api/AgentAssistantsApi
2234
- * @version 216.0.0
2234
+ * @version 217.0.0
2235
2235
  */
2236
2236
 
2237
2237
  /**
@@ -2607,7 +2607,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
2607
2607
  /**
2608
2608
  * AgentCopilot service.
2609
2609
  * @module purecloud-platform-client-v2/api/AgentCopilotApi
2610
- * @version 216.0.0
2610
+ * @version 217.0.0
2611
2611
  */
2612
2612
 
2613
2613
  /**
@@ -2683,7 +2683,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
2683
2683
  /**
2684
2684
  * AgentUI service.
2685
2685
  * @module purecloud-platform-client-v2/api/AgentUIApi
2686
- * @version 216.0.0
2686
+ * @version 217.0.0
2687
2687
  */
2688
2688
 
2689
2689
  /**
@@ -2814,7 +2814,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
2814
2814
  /**
2815
2815
  * Alerting service.
2816
2816
  * @module purecloud-platform-client-v2/api/AlertingApi
2817
- * @version 216.0.0
2817
+ * @version 217.0.0
2818
2818
  */
2819
2819
 
2820
2820
  /**
@@ -2874,58 +2874,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
2874
2874
  );
2875
2875
  }
2876
2876
 
2877
- /**
2878
- * Delete an interaction stats alert
2879
- * Apps should migrate to use DELETE /api/v2/alerting/alerts/{alertId}.
2880
- * @param {String} alertId Alert ID
2881
- * @deprecated
2882
- */
2883
- deleteAlertingInteractionstatsAlert(alertId) {
2884
- // verify the required parameter 'alertId' is set
2885
- if (alertId === undefined || alertId === null) {
2886
- throw 'Missing the required parameter "alertId" when calling deleteAlertingInteractionstatsAlert';
2887
- }
2888
-
2889
- return this.apiClient.callApi(
2890
- '/api/v2/alerting/interactionstats/alerts/{alertId}',
2891
- 'DELETE',
2892
- { 'alertId': alertId },
2893
- { },
2894
- { },
2895
- { },
2896
- null,
2897
- ['PureCloud OAuth'],
2898
- ['application/json'],
2899
- ['application/json']
2900
- );
2901
- }
2902
-
2903
- /**
2904
- * Delete an interaction stats rule
2905
- * Apps should migrate to use DELETE /api/v2/alerting/rules/{ruleId}.
2906
- * @param {String} ruleId Rule ID
2907
- * @deprecated
2908
- */
2909
- deleteAlertingInteractionstatsRule(ruleId) {
2910
- // verify the required parameter 'ruleId' is set
2911
- if (ruleId === undefined || ruleId === null) {
2912
- throw 'Missing the required parameter "ruleId" when calling deleteAlertingInteractionstatsRule';
2913
- }
2914
-
2915
- return this.apiClient.callApi(
2916
- '/api/v2/alerting/interactionstats/rules/{ruleId}',
2917
- 'DELETE',
2918
- { 'ruleId': ruleId },
2919
- { },
2920
- { },
2921
- { },
2922
- null,
2923
- ['PureCloud OAuth'],
2924
- ['application/json'],
2925
- ['application/json']
2926
- );
2927
- }
2928
-
2929
2877
  /**
2930
2878
  * Delete a rule.
2931
2879
  *
@@ -2976,158 +2924,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
2976
2924
  );
2977
2925
  }
2978
2926
 
2979
- /**
2980
- * Gets active alert count for a user
2981
- * 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.
2982
- * @deprecated
2983
- */
2984
- getAlertingAlertsActive() {
2985
-
2986
- return this.apiClient.callApi(
2987
- '/api/v2/alerting/alerts/active',
2988
- 'GET',
2989
- { },
2990
- { },
2991
- { },
2992
- { },
2993
- null,
2994
- ['PureCloud OAuth'],
2995
- ['application/json'],
2996
- ['application/json']
2997
- );
2998
- }
2999
-
3000
- /**
3001
- * Get an interaction stats alert
3002
- * Apps should migrate to use GET /api/v2/alerting/alerts/{alertId}.
3003
- * @param {String} alertId Alert ID
3004
- * @param {Object} opts Optional parameters
3005
- * @param {Array.<String>} opts.expand Which fields, if any, to expand
3006
- * @deprecated
3007
- */
3008
- getAlertingInteractionstatsAlert(alertId, opts) {
3009
- opts = opts || {};
3010
-
3011
- // verify the required parameter 'alertId' is set
3012
- if (alertId === undefined || alertId === null) {
3013
- throw 'Missing the required parameter "alertId" when calling getAlertingInteractionstatsAlert';
3014
- }
3015
-
3016
- return this.apiClient.callApi(
3017
- '/api/v2/alerting/interactionstats/alerts/{alertId}',
3018
- 'GET',
3019
- { 'alertId': alertId },
3020
- { 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
3021
- { },
3022
- { },
3023
- null,
3024
- ['PureCloud OAuth'],
3025
- ['application/json'],
3026
- ['application/json']
3027
- );
3028
- }
3029
-
3030
- /**
3031
- * Get interaction stats alert list
3032
- * Apps should migrate to use POST /api/v2/alerting/alerts/query.
3033
- * @param {Object} opts Optional parameters
3034
- * @param {Array.<String>} opts.expand Which fields, if any, to expand
3035
- * @deprecated
3036
- */
3037
- getAlertingInteractionstatsAlerts(opts) {
3038
- opts = opts || {};
3039
-
3040
-
3041
- return this.apiClient.callApi(
3042
- '/api/v2/alerting/interactionstats/alerts',
3043
- 'GET',
3044
- { },
3045
- { 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
3046
- { },
3047
- { },
3048
- null,
3049
- ['PureCloud OAuth'],
3050
- ['application/json'],
3051
- ['application/json']
3052
- );
3053
- }
3054
-
3055
- /**
3056
- * Gets user unread count of interaction stats alerts
3057
- * 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.
3058
- * @deprecated
3059
- */
3060
- getAlertingInteractionstatsAlertsUnread() {
3061
-
3062
- return this.apiClient.callApi(
3063
- '/api/v2/alerting/interactionstats/alerts/unread',
3064
- 'GET',
3065
- { },
3066
- { },
3067
- { },
3068
- { },
3069
- null,
3070
- ['PureCloud OAuth'],
3071
- ['application/json'],
3072
- ['application/json']
3073
- );
3074
- }
3075
-
3076
- /**
3077
- * Get an interaction stats rule
3078
- * Apps should migrate to use GET /api/v2/alerting/rules/{ruleId}.
3079
- * @param {String} ruleId Rule ID
3080
- * @param {Object} opts Optional parameters
3081
- * @param {Array.<String>} opts.expand Which fields, if any, to expand
3082
- * @deprecated
3083
- */
3084
- getAlertingInteractionstatsRule(ruleId, opts) {
3085
- opts = opts || {};
3086
-
3087
- // verify the required parameter 'ruleId' is set
3088
- if (ruleId === undefined || ruleId === null) {
3089
- throw 'Missing the required parameter "ruleId" when calling getAlertingInteractionstatsRule';
3090
- }
3091
-
3092
- return this.apiClient.callApi(
3093
- '/api/v2/alerting/interactionstats/rules/{ruleId}',
3094
- 'GET',
3095
- { 'ruleId': ruleId },
3096
- { 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
3097
- { },
3098
- { },
3099
- null,
3100
- ['PureCloud OAuth'],
3101
- ['application/json'],
3102
- ['application/json']
3103
- );
3104
- }
3105
-
3106
- /**
3107
- * Get an interaction stats rule list
3108
- * Apps should migrate to use POST /api/v2/alerting/rules/query.
3109
- * @param {Object} opts Optional parameters
3110
- * @param {Array.<String>} opts.expand Which fields, if any, to expand
3111
- * @deprecated
3112
- */
3113
- getAlertingInteractionstatsRules(opts) {
3114
- opts = opts || {};
3115
-
3116
-
3117
- return this.apiClient.callApi(
3118
- '/api/v2/alerting/interactionstats/rules',
3119
- 'GET',
3120
- { },
3121
- { 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
3122
- { },
3123
- { },
3124
- null,
3125
- ['PureCloud OAuth'],
3126
- ['application/json'],
3127
- ['application/json']
3128
- );
3129
- }
3130
-
3131
2927
  /**
3132
2928
  * Get a rule.
3133
2929
  *
@@ -3280,36 +3076,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
3280
3076
  );
3281
3077
  }
3282
3078
 
3283
- /**
3284
- * Create an interaction stats rule
3285
- * Apps should migrate to use POST /api/v2/alerting/rules.
3286
- * @param {Object} body AlertingRule
3287
- * @param {Object} opts Optional parameters
3288
- * @param {Array.<String>} opts.expand Which fields, if any, to expand
3289
- * @deprecated
3290
- */
3291
- postAlertingInteractionstatsRules(body, opts) {
3292
- opts = opts || {};
3293
-
3294
- // verify the required parameter 'body' is set
3295
- if (body === undefined || body === null) {
3296
- throw 'Missing the required parameter "body" when calling postAlertingInteractionstatsRules';
3297
- }
3298
-
3299
- return this.apiClient.callApi(
3300
- '/api/v2/alerting/interactionstats/rules',
3301
- 'POST',
3302
- { },
3303
- { 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
3304
- { },
3305
- { },
3306
- body,
3307
- ['PureCloud OAuth'],
3308
- ['application/json'],
3309
- ['application/json']
3310
- );
3311
- }
3312
-
3313
3079
  /**
3314
3080
  * Create a Rule.
3315
3081
  *
@@ -3413,76 +3179,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
3413
3179
  );
3414
3180
  }
3415
3181
 
3416
- /**
3417
- * Update an interaction stats alert read status
3418
- * Apps should migrate to use PUT /api/v2/alerting/alerts/{alertId}.
3419
- * @param {String} alertId Alert ID
3420
- * @param {Object} body InteractionStatsAlert
3421
- * @param {Object} opts Optional parameters
3422
- * @param {Array.<String>} opts.expand Which fields, if any, to expand
3423
- * @deprecated
3424
- */
3425
- putAlertingInteractionstatsAlert(alertId, body, opts) {
3426
- opts = opts || {};
3427
-
3428
- // verify the required parameter 'alertId' is set
3429
- if (alertId === undefined || alertId === null) {
3430
- throw 'Missing the required parameter "alertId" when calling putAlertingInteractionstatsAlert';
3431
- }
3432
- // verify the required parameter 'body' is set
3433
- if (body === undefined || body === null) {
3434
- throw 'Missing the required parameter "body" when calling putAlertingInteractionstatsAlert';
3435
- }
3436
-
3437
- return this.apiClient.callApi(
3438
- '/api/v2/alerting/interactionstats/alerts/{alertId}',
3439
- 'PUT',
3440
- { 'alertId': alertId },
3441
- { 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
3442
- { },
3443
- { },
3444
- body,
3445
- ['PureCloud OAuth'],
3446
- ['application/json'],
3447
- ['application/json']
3448
- );
3449
- }
3450
-
3451
- /**
3452
- * Update an interaction stats rule
3453
- * Apps should migrate to use PUT /api/v2/alerting/rules/{ruleId}.
3454
- * @param {String} ruleId Rule ID
3455
- * @param {Object} body AlertingRule
3456
- * @param {Object} opts Optional parameters
3457
- * @param {Array.<String>} opts.expand Which fields, if any, to expand
3458
- * @deprecated
3459
- */
3460
- putAlertingInteractionstatsRule(ruleId, body, opts) {
3461
- opts = opts || {};
3462
-
3463
- // verify the required parameter 'ruleId' is set
3464
- if (ruleId === undefined || ruleId === null) {
3465
- throw 'Missing the required parameter "ruleId" when calling putAlertingInteractionstatsRule';
3466
- }
3467
- // verify the required parameter 'body' is set
3468
- if (body === undefined || body === null) {
3469
- throw 'Missing the required parameter "body" when calling putAlertingInteractionstatsRule';
3470
- }
3471
-
3472
- return this.apiClient.callApi(
3473
- '/api/v2/alerting/interactionstats/rules/{ruleId}',
3474
- 'PUT',
3475
- { 'ruleId': ruleId },
3476
- { 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
3477
- { },
3478
- { },
3479
- body,
3480
- ['PureCloud OAuth'],
3481
- ['application/json'],
3482
- ['application/json']
3483
- );
3484
- }
3485
-
3486
3182
  /**
3487
3183
  * Update a rule
3488
3184
  *
@@ -3519,7 +3215,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
3519
3215
  /**
3520
3216
  * Analytics service.
3521
3217
  * @module purecloud-platform-client-v2/api/AnalyticsApi
3522
- * @version 216.0.0
3218
+ * @version 217.0.0
3523
3219
  */
3524
3220
 
3525
3221
  /**
@@ -4396,7 +4092,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
4396
4092
  * @param {Number} opts.pageSize (default to 25)
4397
4093
  * @param {Array.<String>} opts.id A list of user IDs to fetch by bulk
4398
4094
  * @param {Object} opts.state Only list users of this state
4399
- * @param {Boolean} opts.deletedOnly Only list deleted dashboards that are still recoverable
4095
+ * @param {Boolean} opts.deletedOnly Only list users with deleted dashboards
4400
4096
  */
4401
4097
  getAnalyticsReportingDashboardsUsers(opts) {
4402
4098
  opts = opts || {};
@@ -6343,7 +6039,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
6343
6039
  /**
6344
6040
  * Architect service.
6345
6041
  * @module purecloud-platform-client-v2/api/ArchitectApi
6346
- * @version 216.0.0
6042
+ * @version 217.0.0
6347
6043
  */
6348
6044
 
6349
6045
  /**
@@ -7373,6 +7069,32 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
7373
7069
  );
7374
7070
  }
7375
7071
 
7072
+ /**
7073
+ * Get an IVR IdentityResolutionConfig.
7074
+ *
7075
+ * @param {String} ivrId IVR id
7076
+ * getArchitectIvrIdentityresolution is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7077
+ */
7078
+ getArchitectIvrIdentityresolution(ivrId) {
7079
+ // verify the required parameter 'ivrId' is set
7080
+ if (ivrId === undefined || ivrId === null) {
7081
+ throw 'Missing the required parameter "ivrId" when calling getArchitectIvrIdentityresolution';
7082
+ }
7083
+
7084
+ return this.apiClient.callApi(
7085
+ '/api/v2/architect/ivrs/{ivrId}/identityresolution',
7086
+ 'GET',
7087
+ { 'ivrId': ivrId },
7088
+ { },
7089
+ { },
7090
+ { },
7091
+ null,
7092
+ ['PureCloud OAuth'],
7093
+ ['application/json'],
7094
+ ['application/json']
7095
+ );
7096
+ }
7097
+
7376
7098
  /**
7377
7099
  * Get IVR configs.
7378
7100
  *
@@ -8647,6 +8369,35 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
8647
8369
  );
8648
8370
  }
8649
8371
 
8372
+ /**
8373
+ * Fetch Architect Export Job Status
8374
+ *
8375
+ * @param {String} jobId Job ID
8376
+ * @param {Object} opts Optional parameters
8377
+ * @param {Array.<String>} opts.expand Which fields, if any, to expand.
8378
+ */
8379
+ getFlowsExportJob(jobId, opts) {
8380
+ opts = opts || {};
8381
+
8382
+ // verify the required parameter 'jobId' is set
8383
+ if (jobId === undefined || jobId === null) {
8384
+ throw 'Missing the required parameter "jobId" when calling getFlowsExportJob';
8385
+ }
8386
+
8387
+ return this.apiClient.callApi(
8388
+ '/api/v2/flows/export/jobs/{jobId}',
8389
+ 'GET',
8390
+ { 'jobId': jobId },
8391
+ { 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
8392
+ { },
8393
+ { },
8394
+ null,
8395
+ ['PureCloud OAuth'],
8396
+ ['application/json'],
8397
+ ['application/json']
8398
+ );
8399
+ }
8400
+
8650
8401
  /**
8651
8402
  * Start a process (job) to prepare a download of a singular flow execution data instance by Id
8652
8403
  * 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.
@@ -9893,6 +9644,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
9893
9644
  );
9894
9645
  }
9895
9646
 
9647
+ /**
9648
+ * Register Architect Export Job
9649
+ *
9650
+ * @param {Object} body
9651
+ */
9652
+ postFlowsExportJobs(body) {
9653
+ // verify the required parameter 'body' is set
9654
+ if (body === undefined || body === null) {
9655
+ throw 'Missing the required parameter "body" when calling postFlowsExportJobs';
9656
+ }
9657
+
9658
+ return this.apiClient.callApi(
9659
+ '/api/v2/flows/export/jobs',
9660
+ 'POST',
9661
+ { },
9662
+ { },
9663
+ { },
9664
+ { },
9665
+ body,
9666
+ ['PureCloud OAuth'],
9667
+ ['application/json'],
9668
+ ['application/json']
9669
+ );
9670
+ }
9671
+
9896
9672
  /**
9897
9673
  * Start a process (job) that will prepare a list of execution data IDs for download.
9898
9674
  * 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.
@@ -10080,6 +9856,37 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
10080
9856
  );
10081
9857
  }
10082
9858
 
9859
+ /**
9860
+ * Update an IVR IdentityResolutionConfig.
9861
+ *
9862
+ * @param {String} ivrId IVR id
9863
+ * @param {Object} body
9864
+ * putArchitectIvrIdentityresolution is a preview method and is subject to both breaking and non-breaking changes at any time without notice
9865
+ */
9866
+ putArchitectIvrIdentityresolution(ivrId, body) {
9867
+ // verify the required parameter 'ivrId' is set
9868
+ if (ivrId === undefined || ivrId === null) {
9869
+ throw 'Missing the required parameter "ivrId" when calling putArchitectIvrIdentityresolution';
9870
+ }
9871
+ // verify the required parameter 'body' is set
9872
+ if (body === undefined || body === null) {
9873
+ throw 'Missing the required parameter "body" when calling putArchitectIvrIdentityresolution';
9874
+ }
9875
+
9876
+ return this.apiClient.callApi(
9877
+ '/api/v2/architect/ivrs/{ivrId}/identityresolution',
9878
+ 'PUT',
9879
+ { 'ivrId': ivrId },
9880
+ { },
9881
+ { },
9882
+ { },
9883
+ body,
9884
+ ['PureCloud OAuth'],
9885
+ ['application/json'],
9886
+ ['application/json']
9887
+ );
9888
+ }
9889
+
10083
9890
  /**
10084
9891
  * Update specified user prompt
10085
9892
  *
@@ -10465,7 +10272,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
10465
10272
  /**
10466
10273
  * Audit service.
10467
10274
  * @module purecloud-platform-client-v2/api/AuditApi
10468
- * @version 216.0.0
10275
+ * @version 217.0.0
10469
10276
  */
10470
10277
 
10471
10278
  /**
@@ -10666,7 +10473,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
10666
10473
  /**
10667
10474
  * Authorization service.
10668
10475
  * @module purecloud-platform-client-v2/api/AuthorizationApi
10669
- * @version 216.0.0
10476
+ * @version 217.0.0
10670
10477
  */
10671
10478
 
10672
10479
  /**
@@ -10686,7 +10493,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
10686
10493
  *
10687
10494
  * @param {String} divisionId Division ID
10688
10495
  * @param {Object} opts Optional parameters
10689
- * @param {Boolean} opts.force Force delete this division as well as the grants and objects associated with it (default to false)
10496
+ * @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)
10690
10497
  */
10691
10498
  deleteAuthorizationDivision(divisionId, opts) {
10692
10499
  opts = opts || {};
@@ -11661,16 +11468,17 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
11661
11468
  * Recreate a previously deleted division.
11662
11469
  *
11663
11470
  * @param {String} divisionId Division ID
11664
- * @param {Object} opts Optional parameters
11665
- * @param {Object} opts.body Recreated division data
11471
+ * @param {Object} body Recreated division data
11666
11472
  */
11667
- postAuthorizationDivisionRestore(divisionId, opts) {
11668
- opts = opts || {};
11669
-
11473
+ postAuthorizationDivisionRestore(divisionId, body) {
11670
11474
  // verify the required parameter 'divisionId' is set
11671
11475
  if (divisionId === undefined || divisionId === null) {
11672
11476
  throw 'Missing the required parameter "divisionId" when calling postAuthorizationDivisionRestore';
11673
11477
  }
11478
+ // verify the required parameter 'body' is set
11479
+ if (body === undefined || body === null) {
11480
+ throw 'Missing the required parameter "body" when calling postAuthorizationDivisionRestore';
11481
+ }
11674
11482
 
11675
11483
  return this.apiClient.callApi(
11676
11484
  '/api/v2/authorization/divisions/{divisionId}/restore',
@@ -11679,7 +11487,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
11679
11487
  { },
11680
11488
  { },
11681
11489
  { },
11682
- opts['body'],
11490
+ body,
11683
11491
  ['PureCloud OAuth'],
11684
11492
  ['application/json'],
11685
11493
  ['application/json']
@@ -12327,7 +12135,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
12327
12135
  /**
12328
12136
  * Billing service.
12329
12137
  * @module purecloud-platform-client-v2/api/BillingApi
12330
- * @version 216.0.0
12138
+ * @version 217.0.0
12331
12139
  */
12332
12140
 
12333
12141
  /**
@@ -12407,7 +12215,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
12407
12215
  /**
12408
12216
  * CarrierServices service.
12409
12217
  * @module purecloud-platform-client-v2/api/CarrierServicesApi
12410
- * @version 216.0.0
12218
+ * @version 217.0.0
12411
12219
  */
12412
12220
 
12413
12221
  /**
@@ -12477,7 +12285,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
12477
12285
  /**
12478
12286
  * Chat service.
12479
12287
  * @module purecloud-platform-client-v2/api/ChatApi
12480
- * @version 216.0.0
12288
+ * @version 217.0.0
12481
12289
  */
12482
12290
 
12483
12291
  /**
@@ -12951,7 +12759,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
12951
12759
  * Get a user's chat settings
12952
12760
  *
12953
12761
  * @param {String} userId User ID
12954
- * getChatsUserSettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice
12955
12762
  */
12956
12763
  getChatsUserSettings(userId) {
12957
12764
  // verify the required parameter 'userId' is set
@@ -12976,7 +12783,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
12976
12783
  /**
12977
12784
  * Get a user's chat settings
12978
12785
  *
12979
- * getChatsUsersMeSettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice
12980
12786
  */
12981
12787
  getChatsUsersMeSettings() {
12982
12788
 
@@ -13124,7 +12930,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
13124
12930
  *
13125
12931
  * @param {String} userId User ID
13126
12932
  * @param {Object} body
13127
- * patchChatsUserSettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice
13128
12933
  */
13129
12934
  patchChatsUserSettings(userId, body) {
13130
12935
  // verify the required parameter 'userId' is set
@@ -13154,7 +12959,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
13154
12959
  * Update a user's chat settings
13155
12960
  *
13156
12961
  * @param {Object} body
13157
- * patchChatsUsersMeSettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice
13158
12962
  */
13159
12963
  patchChatsUsersMeSettings(body) {
13160
12964
  // verify the required parameter 'body' is set
@@ -13413,7 +13217,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
13413
13217
  /**
13414
13218
  * Coaching service.
13415
13219
  * @module purecloud-platform-client-v2/api/CoachingApi
13416
- * @version 216.0.0
13220
+ * @version 217.0.0
13417
13221
  */
13418
13222
 
13419
13223
  /**
@@ -13990,7 +13794,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
13990
13794
  /**
13991
13795
  * ContentManagement service.
13992
13796
  * @module purecloud-platform-client-v2/api/ContentManagementApi
13993
- * @version 216.0.0
13797
+ * @version 217.0.0
13994
13798
  */
13995
13799
 
13996
13800
  /**
@@ -15071,7 +14875,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
15071
14875
  /**
15072
14876
  * Conversations service.
15073
14877
  * @module purecloud-platform-client-v2/api/ConversationsApi
15074
- * @version 216.0.0
14878
+ * @version 217.0.0
15075
14879
  */
15076
14880
 
15077
14881
  /**
@@ -17248,6 +17052,84 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
17248
17052
  );
17249
17053
  }
17250
17054
 
17055
+ /**
17056
+ * Get Facebook messaging integration identity resolution settings
17057
+ *
17058
+ * @param {String} integrationId Integration ID
17059
+ * getConversationsMessagingIdentityresolutionIntegrationsFacebookIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
17060
+ */
17061
+ getConversationsMessagingIdentityresolutionIntegrationsFacebookIntegrationId(integrationId) {
17062
+ // verify the required parameter 'integrationId' is set
17063
+ if (integrationId === undefined || integrationId === null) {
17064
+ throw 'Missing the required parameter "integrationId" when calling getConversationsMessagingIdentityresolutionIntegrationsFacebookIntegrationId';
17065
+ }
17066
+
17067
+ return this.apiClient.callApi(
17068
+ '/api/v2/conversations/messaging/identityresolution/integrations/facebook/{integrationId}',
17069
+ 'GET',
17070
+ { 'integrationId': integrationId },
17071
+ { },
17072
+ { },
17073
+ { },
17074
+ null,
17075
+ ['PureCloud OAuth'],
17076
+ ['application/json'],
17077
+ ['application/json']
17078
+ );
17079
+ }
17080
+
17081
+ /**
17082
+ * Get an open messaging integration Identity Resolution settings
17083
+ *
17084
+ * @param {String} integrationId Integration ID
17085
+ * getConversationsMessagingIdentityresolutionIntegrationsOpenIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
17086
+ */
17087
+ getConversationsMessagingIdentityresolutionIntegrationsOpenIntegrationId(integrationId) {
17088
+ // verify the required parameter 'integrationId' is set
17089
+ if (integrationId === undefined || integrationId === null) {
17090
+ throw 'Missing the required parameter "integrationId" when calling getConversationsMessagingIdentityresolutionIntegrationsOpenIntegrationId';
17091
+ }
17092
+
17093
+ return this.apiClient.callApi(
17094
+ '/api/v2/conversations/messaging/identityresolution/integrations/open/{integrationId}',
17095
+ 'GET',
17096
+ { 'integrationId': integrationId },
17097
+ { },
17098
+ { },
17099
+ { },
17100
+ null,
17101
+ ['PureCloud OAuth'],
17102
+ ['application/json'],
17103
+ ['application/json']
17104
+ );
17105
+ }
17106
+
17107
+ /**
17108
+ * Get a whatsApp integration Identity Resolution settings
17109
+ *
17110
+ * @param {String} integrationId Integration ID
17111
+ * getConversationsMessagingIdentityresolutionIntegrationsWhatsappIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
17112
+ */
17113
+ getConversationsMessagingIdentityresolutionIntegrationsWhatsappIntegrationId(integrationId) {
17114
+ // verify the required parameter 'integrationId' is set
17115
+ if (integrationId === undefined || integrationId === null) {
17116
+ throw 'Missing the required parameter "integrationId" when calling getConversationsMessagingIdentityresolutionIntegrationsWhatsappIntegrationId';
17117
+ }
17118
+
17119
+ return this.apiClient.callApi(
17120
+ '/api/v2/conversations/messaging/identityresolution/integrations/whatsapp/{integrationId}',
17121
+ 'GET',
17122
+ { 'integrationId': integrationId },
17123
+ { },
17124
+ { },
17125
+ { },
17126
+ null,
17127
+ ['PureCloud OAuth'],
17128
+ ['application/json'],
17129
+ ['application/json']
17130
+ );
17131
+ }
17132
+
17251
17133
  /**
17252
17134
  * Get a list of Integrations
17253
17135
  *
@@ -21913,9 +21795,10 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
21913
21795
 
21914
21796
  /**
21915
21797
  * Update a conversation by setting its recording state
21916
- *
21798
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-legacy-co-browse-and-screenshare/
21917
21799
  * @param {String} conversationId conversationId
21918
21800
  * @param {Object} body SetRecordingState
21801
+ * @deprecated
21919
21802
  */
21920
21803
  putConversationsCobrowsesessionRecordingstate(conversationId, body) {
21921
21804
  // verify the required parameter 'conversationId' is set
@@ -22061,6 +21944,99 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
22061
21944
  );
22062
21945
  }
22063
21946
 
21947
+ /**
21948
+ * Create an identity resolution settings for a Facebook messaging integration
21949
+ *
21950
+ * @param {String} integrationId Integration ID
21951
+ * @param {Object} body IdentityResolutionConfig
21952
+ * putConversationsMessagingIdentityresolutionIntegrationsFacebookIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
21953
+ */
21954
+ putConversationsMessagingIdentityresolutionIntegrationsFacebookIntegrationId(integrationId, body) {
21955
+ // verify the required parameter 'integrationId' is set
21956
+ if (integrationId === undefined || integrationId === null) {
21957
+ throw 'Missing the required parameter "integrationId" when calling putConversationsMessagingIdentityresolutionIntegrationsFacebookIntegrationId';
21958
+ }
21959
+ // verify the required parameter 'body' is set
21960
+ if (body === undefined || body === null) {
21961
+ throw 'Missing the required parameter "body" when calling putConversationsMessagingIdentityresolutionIntegrationsFacebookIntegrationId';
21962
+ }
21963
+
21964
+ return this.apiClient.callApi(
21965
+ '/api/v2/conversations/messaging/identityresolution/integrations/facebook/{integrationId}',
21966
+ 'PUT',
21967
+ { 'integrationId': integrationId },
21968
+ { },
21969
+ { },
21970
+ { },
21971
+ body,
21972
+ ['PureCloud OAuth'],
21973
+ ['application/json'],
21974
+ ['application/json']
21975
+ );
21976
+ }
21977
+
21978
+ /**
21979
+ * Update an open messaging integration Identity Resolution settings
21980
+ *
21981
+ * @param {String} integrationId Integration ID
21982
+ * @param {Object} body
21983
+ * putConversationsMessagingIdentityresolutionIntegrationsOpenIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
21984
+ */
21985
+ putConversationsMessagingIdentityresolutionIntegrationsOpenIntegrationId(integrationId, body) {
21986
+ // verify the required parameter 'integrationId' is set
21987
+ if (integrationId === undefined || integrationId === null) {
21988
+ throw 'Missing the required parameter "integrationId" when calling putConversationsMessagingIdentityresolutionIntegrationsOpenIntegrationId';
21989
+ }
21990
+ // verify the required parameter 'body' is set
21991
+ if (body === undefined || body === null) {
21992
+ throw 'Missing the required parameter "body" when calling putConversationsMessagingIdentityresolutionIntegrationsOpenIntegrationId';
21993
+ }
21994
+
21995
+ return this.apiClient.callApi(
21996
+ '/api/v2/conversations/messaging/identityresolution/integrations/open/{integrationId}',
21997
+ 'PUT',
21998
+ { 'integrationId': integrationId },
21999
+ { },
22000
+ { },
22001
+ { },
22002
+ body,
22003
+ ['PureCloud OAuth'],
22004
+ ['application/json'],
22005
+ ['application/json']
22006
+ );
22007
+ }
22008
+
22009
+ /**
22010
+ * Update a whatsApp integration Identity Resolution settings
22011
+ *
22012
+ * @param {String} integrationId Integration ID
22013
+ * @param {Object} body
22014
+ * putConversationsMessagingIdentityresolutionIntegrationsWhatsappIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
22015
+ */
22016
+ putConversationsMessagingIdentityresolutionIntegrationsWhatsappIntegrationId(integrationId, body) {
22017
+ // verify the required parameter 'integrationId' is set
22018
+ if (integrationId === undefined || integrationId === null) {
22019
+ throw 'Missing the required parameter "integrationId" when calling putConversationsMessagingIdentityresolutionIntegrationsWhatsappIntegrationId';
22020
+ }
22021
+ // verify the required parameter 'body' is set
22022
+ if (body === undefined || body === null) {
22023
+ throw 'Missing the required parameter "body" when calling putConversationsMessagingIdentityresolutionIntegrationsWhatsappIntegrationId';
22024
+ }
22025
+
22026
+ return this.apiClient.callApi(
22027
+ '/api/v2/conversations/messaging/identityresolution/integrations/whatsapp/{integrationId}',
22028
+ 'PUT',
22029
+ { 'integrationId': integrationId },
22030
+ { },
22031
+ { },
22032
+ { },
22033
+ body,
22034
+ ['PureCloud OAuth'],
22035
+ ['application/json'],
22036
+ ['application/json']
22037
+ );
22038
+ }
22039
+
22064
22040
  /**
22065
22041
  * Set the organization's default setting that may be applied to to integrations without settings
22066
22042
  * 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.
@@ -22233,7 +22209,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
22233
22209
  /**
22234
22210
  * DataExtensions service.
22235
22211
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
22236
- * @version 216.0.0
22212
+ * @version 217.0.0
22237
22213
  */
22238
22214
 
22239
22215
  /**
@@ -22319,7 +22295,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
22319
22295
  /**
22320
22296
  * DataPrivacy service.
22321
22297
  * @module purecloud-platform-client-v2/api/DataPrivacyApi
22322
- * @version 216.0.0
22298
+ * @version 217.0.0
22323
22299
  */
22324
22300
 
22325
22301
  /**
@@ -22489,7 +22465,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
22489
22465
  /**
22490
22466
  * Downloads service.
22491
22467
  * @module purecloud-platform-client-v2/api/DownloadsApi
22492
- * @version 216.0.0
22468
+ * @version 217.0.0
22493
22469
  */
22494
22470
 
22495
22471
  /**
@@ -22541,7 +22517,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
22541
22517
  /**
22542
22518
  * Emails service.
22543
22519
  * @module purecloud-platform-client-v2/api/EmailsApi
22544
- * @version 216.0.0
22520
+ * @version 217.0.0
22545
22521
  */
22546
22522
 
22547
22523
  /**
@@ -22606,7 +22582,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
22606
22582
  /**
22607
22583
  * EmployeeEngagement service.
22608
22584
  * @module purecloud-platform-client-v2/api/EmployeeEngagementApi
22609
- * @version 216.0.0
22585
+ * @version 217.0.0
22610
22586
  */
22611
22587
 
22612
22588
  /**
@@ -22757,7 +22733,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
22757
22733
  /**
22758
22734
  * Events service.
22759
22735
  * @module purecloud-platform-client-v2/api/EventsApi
22760
- * @version 216.0.0
22736
+ * @version 217.0.0
22761
22737
  */
22762
22738
 
22763
22739
  /**
@@ -22853,7 +22829,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
22853
22829
  /**
22854
22830
  * ExternalContacts service.
22855
22831
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
22856
- * @version 216.0.0
22832
+ * @version 217.0.0
22857
22833
  */
22858
22834
 
22859
22835
  /**
@@ -23317,6 +23293,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
23317
23293
  * @param {String} opts.q User supplied search keywords (no special syntax is currently supported)
23318
23294
  * @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
23319
23295
  * @param {Array.<String>} opts.expand which fields, if any, to expand
23296
+ * @param {Array.<String>} opts.divisionIds which divisions to search, up to 50
23320
23297
  */
23321
23298
  getExternalcontactsContacts(opts) {
23322
23299
  opts = opts || {};
@@ -23326,7 +23303,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
23326
23303
  '/api/v2/externalcontacts/contacts',
23327
23304
  'GET',
23328
23305
  { },
23329
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'q': opts['q'],'sortOrder': opts['sortOrder'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
23306
+ { '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') },
23330
23307
  { },
23331
23308
  { },
23332
23309
  null,
@@ -23870,6 +23847,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
23870
23847
  * @param {String} opts.sortOrder The Organization field to sort by. Any of: [companyType, industry, name]. Direction: [asc, desc]. e.g. companyType:asc, industry:desc
23871
23848
  * @param {Array.<String>} opts.expand which fields, if any, to expand
23872
23849
  * @param {Boolean} opts.includeTrustors (true or false) whether or not to include trustor information embedded in the externalOrganization
23850
+ * @param {Array.<String>} opts.divisionIds which divisions to search, up to 50
23873
23851
  */
23874
23852
  getExternalcontactsOrganizations(opts) {
23875
23853
  opts = opts || {};
@@ -23879,7 +23857,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
23879
23857
  '/api/v2/externalcontacts/organizations',
23880
23858
  'GET',
23881
23859
  { },
23882
- { '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'] },
23860
+ { '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') },
23883
23861
  { },
23884
23862
  { },
23885
23863
  null,
@@ -24024,6 +24002,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24024
24002
  * @param {String} lookupVal User supplied value to lookup contacts/externalOrganizations (supports email addresses, e164 phone numbers, Twitter screen names)
24025
24003
  * @param {Object} opts Optional parameters
24026
24004
  * @param {Array.<String>} opts.expand which field, if any, to expand
24005
+ * @param {String} opts.divisionId Specifies which division to lookup contacts/externalOrganizations in, for the given lookup value (default to *)
24027
24006
  */
24028
24007
  getExternalcontactsReversewhitepageslookup(lookupVal, opts) {
24029
24008
  opts = opts || {};
@@ -24037,7 +24016,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24037
24016
  '/api/v2/externalcontacts/reversewhitepageslookup',
24038
24017
  'GET',
24039
24018
  { },
24040
- { 'lookupVal': lookupVal,'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
24019
+ { 'lookupVal': lookupVal,'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'divisionId': opts['divisionId'] },
24041
24020
  { },
24042
24021
  { },
24043
24022
  null,
@@ -24053,6 +24032,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24053
24032
  * @param {Object} opts Optional parameters
24054
24033
  * @param {Number} opts.limit The number of contacts per page; must be between 10 and 200, default is 100
24055
24034
  * @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
24035
+ * @param {String} opts.divisionId The division to scan over (default to *)
24056
24036
  */
24057
24037
  getExternalcontactsScanContacts(opts) {
24058
24038
  opts = opts || {};
@@ -24062,6 +24042,32 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24062
24042
  '/api/v2/externalcontacts/scan/contacts',
24063
24043
  'GET',
24064
24044
  { },
24045
+ { 'limit': opts['limit'],'cursor': opts['cursor'],'divisionId': opts['divisionId'] },
24046
+ { },
24047
+ { },
24048
+ null,
24049
+ ['PureCloud OAuth'],
24050
+ ['application/json'],
24051
+ ['application/json']
24052
+ );
24053
+ }
24054
+
24055
+ /**
24056
+ * Scan for external contacts using paging
24057
+ *
24058
+ * @param {Object} opts Optional parameters
24059
+ * @param {Number} opts.limit The number of contacts per page; must be between 10 and 200, default is 100
24060
+ * @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
24061
+ * getExternalcontactsScanContactsDivisionviewsAll is a preview method and is subject to both breaking and non-breaking changes at any time without notice
24062
+ */
24063
+ getExternalcontactsScanContactsDivisionviewsAll(opts) {
24064
+ opts = opts || {};
24065
+
24066
+
24067
+ return this.apiClient.callApi(
24068
+ '/api/v2/externalcontacts/scan/contacts/divisionviews/all',
24069
+ 'GET',
24070
+ { },
24065
24071
  { 'limit': opts['limit'],'cursor': opts['cursor'] },
24066
24072
  { },
24067
24073
  { },
@@ -24078,6 +24084,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24078
24084
  * @param {Object} opts Optional parameters
24079
24085
  * @param {Number} opts.limit The number of notes per page; must be between 10 and 200, default is 100
24080
24086
  * @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
24087
+ * @param {String} opts.divisionId The division to scan over (default to *)
24081
24088
  */
24082
24089
  getExternalcontactsScanNotes(opts) {
24083
24090
  opts = opts || {};
@@ -24087,6 +24094,32 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24087
24094
  '/api/v2/externalcontacts/scan/notes',
24088
24095
  'GET',
24089
24096
  { },
24097
+ { 'limit': opts['limit'],'cursor': opts['cursor'],'divisionId': opts['divisionId'] },
24098
+ { },
24099
+ { },
24100
+ null,
24101
+ ['PureCloud OAuth'],
24102
+ ['application/json'],
24103
+ ['application/json']
24104
+ );
24105
+ }
24106
+
24107
+ /**
24108
+ * Scan for notes using paging
24109
+ *
24110
+ * @param {Object} opts Optional parameters
24111
+ * @param {Number} opts.limit The number of notes per page; must be between 10 and 200, default is 100
24112
+ * @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
24113
+ * getExternalcontactsScanNotesDivisionviewsAll is a preview method and is subject to both breaking and non-breaking changes at any time without notice
24114
+ */
24115
+ getExternalcontactsScanNotesDivisionviewsAll(opts) {
24116
+ opts = opts || {};
24117
+
24118
+
24119
+ return this.apiClient.callApi(
24120
+ '/api/v2/externalcontacts/scan/notes/divisionviews/all',
24121
+ 'GET',
24122
+ { },
24090
24123
  { 'limit': opts['limit'],'cursor': opts['cursor'] },
24091
24124
  { },
24092
24125
  { },
@@ -24103,6 +24136,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24103
24136
  * @param {Object} opts Optional parameters
24104
24137
  * @param {Number} opts.limit The number of organizations per page; must be between 10 and 200, default is 100
24105
24138
  * @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
24139
+ * @param {String} opts.divisionId The division to scan over (default to *)
24106
24140
  */
24107
24141
  getExternalcontactsScanOrganizations(opts) {
24108
24142
  opts = opts || {};
@@ -24112,6 +24146,32 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24112
24146
  '/api/v2/externalcontacts/scan/organizations',
24113
24147
  'GET',
24114
24148
  { },
24149
+ { 'limit': opts['limit'],'cursor': opts['cursor'],'divisionId': opts['divisionId'] },
24150
+ { },
24151
+ { },
24152
+ null,
24153
+ ['PureCloud OAuth'],
24154
+ ['application/json'],
24155
+ ['application/json']
24156
+ );
24157
+ }
24158
+
24159
+ /**
24160
+ * Scan for external organizations using paging
24161
+ *
24162
+ * @param {Object} opts Optional parameters
24163
+ * @param {Number} opts.limit The number of organizations per page; must be between 10 and 200, default is 100
24164
+ * @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
24165
+ * getExternalcontactsScanOrganizationsDivisionviewsAll is a preview method and is subject to both breaking and non-breaking changes at any time without notice
24166
+ */
24167
+ getExternalcontactsScanOrganizationsDivisionviewsAll(opts) {
24168
+ opts = opts || {};
24169
+
24170
+
24171
+ return this.apiClient.callApi(
24172
+ '/api/v2/externalcontacts/scan/organizations/divisionviews/all',
24173
+ 'GET',
24174
+ { },
24115
24175
  { 'limit': opts['limit'],'cursor': opts['cursor'] },
24116
24176
  { },
24117
24177
  { },
@@ -24128,6 +24188,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24128
24188
  * @param {Object} opts Optional parameters
24129
24189
  * @param {Number} opts.limit The number of relationships per page; must be between 10 and 200, default is 100
24130
24190
  * @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
24191
+ * @param {String} opts.divisionId The division to scan over (default to *)
24131
24192
  */
24132
24193
  getExternalcontactsScanRelationships(opts) {
24133
24194
  opts = opts || {};
@@ -24137,6 +24198,32 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24137
24198
  '/api/v2/externalcontacts/scan/relationships',
24138
24199
  'GET',
24139
24200
  { },
24201
+ { 'limit': opts['limit'],'cursor': opts['cursor'],'divisionId': opts['divisionId'] },
24202
+ { },
24203
+ { },
24204
+ null,
24205
+ ['PureCloud OAuth'],
24206
+ ['application/json'],
24207
+ ['application/json']
24208
+ );
24209
+ }
24210
+
24211
+ /**
24212
+ * Scan for relationships
24213
+ *
24214
+ * @param {Object} opts Optional parameters
24215
+ * @param {Number} opts.limit The number of relationships per page; must be between 10 and 200, default is 100
24216
+ * @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
24217
+ * getExternalcontactsScanRelationshipsDivisionviewsAll is a preview method and is subject to both breaking and non-breaking changes at any time without notice
24218
+ */
24219
+ getExternalcontactsScanRelationshipsDivisionviewsAll(opts) {
24220
+ opts = opts || {};
24221
+
24222
+
24223
+ return this.apiClient.callApi(
24224
+ '/api/v2/externalcontacts/scan/relationships/divisionviews/all',
24225
+ 'GET',
24226
+ { },
24140
24227
  { 'limit': opts['limit'],'cursor': opts['cursor'] },
24141
24228
  { },
24142
24229
  { },
@@ -24227,6 +24314,32 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24227
24314
  );
24228
24315
  }
24229
24316
 
24317
+ /**
24318
+ * Bulk fetch contacts across divisions
24319
+ *
24320
+ * @param {Object} body Contact ids
24321
+ * postExternalcontactsBulkContactsDivisionviews is a preview method and is subject to both breaking and non-breaking changes at any time without notice
24322
+ */
24323
+ postExternalcontactsBulkContactsDivisionviews(body) {
24324
+ // verify the required parameter 'body' is set
24325
+ if (body === undefined || body === null) {
24326
+ throw 'Missing the required parameter "body" when calling postExternalcontactsBulkContactsDivisionviews';
24327
+ }
24328
+
24329
+ return this.apiClient.callApi(
24330
+ '/api/v2/externalcontacts/bulk/contacts/divisionviews',
24331
+ 'POST',
24332
+ { },
24333
+ { },
24334
+ { },
24335
+ { },
24336
+ body,
24337
+ ['PureCloud OAuth'],
24338
+ ['application/json'],
24339
+ ['application/json']
24340
+ );
24341
+ }
24342
+
24230
24343
  /**
24231
24344
  * Bulk remove contacts
24232
24345
  *
@@ -24452,6 +24565,32 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24452
24565
  );
24453
24566
  }
24454
24567
 
24568
+ /**
24569
+ * Bulk fetch organizations across divisions
24570
+ *
24571
+ * @param {Object} body Organizations ids
24572
+ * postExternalcontactsBulkOrganizationsDivisionviews is a preview method and is subject to both breaking and non-breaking changes at any time without notice
24573
+ */
24574
+ postExternalcontactsBulkOrganizationsDivisionviews(body) {
24575
+ // verify the required parameter 'body' is set
24576
+ if (body === undefined || body === null) {
24577
+ throw 'Missing the required parameter "body" when calling postExternalcontactsBulkOrganizationsDivisionviews';
24578
+ }
24579
+
24580
+ return this.apiClient.callApi(
24581
+ '/api/v2/externalcontacts/bulk/organizations/divisionviews',
24582
+ 'POST',
24583
+ { },
24584
+ { },
24585
+ { },
24586
+ { },
24587
+ body,
24588
+ ['PureCloud OAuth'],
24589
+ ['application/json'],
24590
+ ['application/json']
24591
+ );
24592
+ }
24593
+
24455
24594
  /**
24456
24595
  * Bulk remove organizations
24457
24596
  *
@@ -25423,7 +25562,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25423
25562
  /**
25424
25563
  * Fax service.
25425
25564
  * @module purecloud-platform-client-v2/api/FaxApi
25426
- * @version 216.0.0
25565
+ * @version 217.0.0
25427
25566
  */
25428
25567
 
25429
25568
  /**
@@ -25638,7 +25777,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25638
25777
  /**
25639
25778
  * Flows service.
25640
25779
  * @module purecloud-platform-client-v2/api/FlowsApi
25641
- * @version 216.0.0
25780
+ * @version 217.0.0
25642
25781
  */
25643
25782
 
25644
25783
  /**
@@ -25821,7 +25960,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25821
25960
  /**
25822
25961
  * Gamification service.
25823
25962
  * @module purecloud-platform-client-v2/api/GamificationApi
25824
- * @version 216.0.0
25963
+ * @version 217.0.0
25825
25964
  */
25826
25965
 
25827
25966
  /**
@@ -27963,7 +28102,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
27963
28102
  /**
27964
28103
  * GeneralDataProtectionRegulation service.
27965
28104
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
27966
- * @version 216.0.0
28105
+ * @version 217.0.0
27967
28106
  */
27968
28107
 
27969
28108
  /**
@@ -28093,7 +28232,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
28093
28232
  /**
28094
28233
  * Geolocation service.
28095
28234
  * @module purecloud-platform-client-v2/api/GeolocationApi
28096
- * @version 216.0.0
28235
+ * @version 217.0.0
28097
28236
  */
28098
28237
 
28099
28238
  /**
@@ -28224,7 +28363,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
28224
28363
  /**
28225
28364
  * Greetings service.
28226
28365
  * @module purecloud-platform-client-v2/api/GreetingsApi
28227
- * @version 216.0.0
28366
+ * @version 217.0.0
28228
28367
  */
28229
28368
 
28230
28369
  /**
@@ -28679,7 +28818,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
28679
28818
  /**
28680
28819
  * Groups service.
28681
28820
  * @module purecloud-platform-client-v2/api/GroupsApi
28682
- * @version 216.0.0
28821
+ * @version 217.0.0
28683
28822
  */
28684
28823
 
28685
28824
  /**
@@ -29198,7 +29337,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
29198
29337
  /**
29199
29338
  * IdentityProvider service.
29200
29339
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
29201
- * @version 216.0.0
29340
+ * @version 217.0.0
29202
29341
  */
29203
29342
 
29204
29343
  /**
@@ -30059,7 +30198,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
30059
30198
  /**
30060
30199
  * InfrastructureAsCode service.
30061
30200
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
30062
- * @version 216.0.0
30201
+ * @version 217.0.0
30063
30202
  */
30064
30203
 
30065
30204
  /**
@@ -30226,7 +30365,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
30226
30365
  /**
30227
30366
  * Integrations service.
30228
30367
  * @module purecloud-platform-client-v2/api/IntegrationsApi
30229
- * @version 216.0.0
30368
+ * @version 217.0.0
30230
30369
  */
30231
30370
 
30232
30371
  /**
@@ -30435,6 +30574,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
30435
30574
  * @param {String} actionId actionId
30436
30575
  * @param {Object} opts Optional parameters
30437
30576
  * @param {Object} opts.expand Indicates a field in the response which should be expanded.
30577
+ * @param {Object} opts.flatten Indicates the response should be reformatted, based on Architect's flattening format. (default to false)
30438
30578
  * @param {Object} opts.includeConfig Return config in response. (default to false)
30439
30579
  */
30440
30580
  getIntegrationsAction(actionId, opts) {
@@ -30449,7 +30589,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
30449
30589
  '/api/v2/integrations/actions/{actionId}',
30450
30590
  'GET',
30451
30591
  { 'actionId': actionId },
30452
- { 'expand': opts['expand'],'includeConfig': opts['includeConfig'] },
30592
+ { 'expand': opts['expand'],'flatten': opts['flatten'],'includeConfig': opts['includeConfig'] },
30453
30593
  { },
30454
30594
  { },
30455
30595
  null,
@@ -30465,6 +30605,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
30465
30605
  * @param {String} actionId actionId
30466
30606
  * @param {Object} opts Optional parameters
30467
30607
  * @param {Object} opts.expand Indicates a field in the response which should be expanded.
30608
+ * @param {Object} opts.flatten Indicates the response should be reformatted, based on Architect's flattening format. (default to false)
30468
30609
  * @param {Object} opts.includeConfig Return config in response. (default to false)
30469
30610
  */
30470
30611
  getIntegrationsActionDraft(actionId, opts) {
@@ -30479,7 +30620,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
30479
30620
  '/api/v2/integrations/actions/{actionId}/draft',
30480
30621
  'GET',
30481
30622
  { 'actionId': actionId },
30482
- { 'expand': opts['expand'],'includeConfig': opts['includeConfig'] },
30623
+ { 'expand': opts['expand'],'flatten': opts['flatten'],'includeConfig': opts['includeConfig'] },
30483
30624
  { },
30484
30625
  { },
30485
30626
  null,
@@ -32663,7 +32804,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
32663
32804
  /**
32664
32805
  * Journey service.
32665
32806
  * @module purecloud-platform-client-v2/api/JourneyApi
32666
- * @version 216.0.0
32807
+ * @version 217.0.0
32667
32808
  */
32668
32809
 
32669
32810
  /**
@@ -34648,7 +34789,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
34648
34789
  /**
34649
34790
  * Knowledge service.
34650
34791
  * @module purecloud-platform-client-v2/api/KnowledgeApi
34651
- * @version 216.0.0
34792
+ * @version 217.0.0
34652
34793
  */
34653
34794
 
34654
34795
  /**
@@ -36179,7 +36320,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
36179
36320
  * @param {String} parseJobId Parse job ID
36180
36321
  * @param {Object} opts Optional parameters
36181
36322
  * @param {Array.<String>} opts.expand If expand contains 'urls' downloadURL and failedEntitiesURL will be filled.
36182
- * getKnowledgeKnowledgebaseParseJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
36183
36323
  */
36184
36324
  getKnowledgeKnowledgebaseParseJob(knowledgeBaseId, parseJobId, opts) {
36185
36325
  opts = opts || {};
@@ -36449,7 +36589,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
36449
36589
  *
36450
36590
  * @param {String} knowledgeBaseId Knowledge base ID
36451
36591
  * @param {String} jobId Upload job ID
36452
- * getKnowledgeKnowledgebaseUploadsUrlsJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
36453
36592
  */
36454
36593
  getKnowledgeKnowledgebaseUploadsUrlsJob(knowledgeBaseId, jobId) {
36455
36594
  // verify the required parameter 'knowledgeBaseId' is set
@@ -36990,7 +37129,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
36990
37129
  * @param {String} knowledgeBaseId Knowledge base ID
36991
37130
  * @param {String} parseJobId Parse job ID
36992
37131
  * @param {Object} body
36993
- * patchKnowledgeKnowledgebaseParseJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
36994
37132
  */
36995
37133
  patchKnowledgeKnowledgebaseParseJob(knowledgeBaseId, parseJobId, body) {
36996
37134
  // verify the required parameter 'knowledgeBaseId' is set
@@ -38151,7 +38289,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
38151
38289
  * @param {String} knowledgeBaseId Knowledge base ID
38152
38290
  * @param {String} parseJobId Parse job ID
38153
38291
  * @param {Object} body
38154
- * postKnowledgeKnowledgebaseParseJobImport is a preview method and is subject to both breaking and non-breaking changes at any time without notice
38155
38292
  */
38156
38293
  postKnowledgeKnowledgebaseParseJobImport(knowledgeBaseId, parseJobId, body) {
38157
38294
  // verify the required parameter 'knowledgeBaseId' is set
@@ -38186,7 +38323,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
38186
38323
  *
38187
38324
  * @param {String} knowledgeBaseId Knowledge base ID
38188
38325
  * @param {Object} body
38189
- * postKnowledgeKnowledgebaseParseJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
38190
38326
  */
38191
38327
  postKnowledgeKnowledgebaseParseJobs(knowledgeBaseId, body) {
38192
38328
  // verify the required parameter 'knowledgeBaseId' is set
@@ -38277,8 +38413,12 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
38277
38413
  *
38278
38414
  * @param {String} knowledgeBaseId Knowledge base ID
38279
38415
  * @param {String} sourceId Source ID
38416
+ * @param {Object} opts Optional parameters
38417
+ * @param {Object} opts.body
38280
38418
  */
38281
- postKnowledgeKnowledgebaseSourcesSalesforceSourceIdSync(knowledgeBaseId, sourceId) {
38419
+ postKnowledgeKnowledgebaseSourcesSalesforceSourceIdSync(knowledgeBaseId, sourceId, opts) {
38420
+ opts = opts || {};
38421
+
38282
38422
  // verify the required parameter 'knowledgeBaseId' is set
38283
38423
  if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
38284
38424
  throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseSourcesSalesforceSourceIdSync';
@@ -38295,7 +38435,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
38295
38435
  { },
38296
38436
  { },
38297
38437
  { },
38298
- null,
38438
+ opts['body'],
38299
38439
  ['PureCloud OAuth'],
38300
38440
  ['application/json'],
38301
38441
  ['application/json']
@@ -38337,8 +38477,12 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
38337
38477
  *
38338
38478
  * @param {String} knowledgeBaseId Knowledge base ID
38339
38479
  * @param {String} sourceId Source ID
38480
+ * @param {Object} opts Optional parameters
38481
+ * @param {Object} opts.body
38340
38482
  */
38341
- postKnowledgeKnowledgebaseSourcesServicenowSourceIdSync(knowledgeBaseId, sourceId) {
38483
+ postKnowledgeKnowledgebaseSourcesServicenowSourceIdSync(knowledgeBaseId, sourceId, opts) {
38484
+ opts = opts || {};
38485
+
38342
38486
  // verify the required parameter 'knowledgeBaseId' is set
38343
38487
  if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
38344
38488
  throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseSourcesServicenowSourceIdSync';
@@ -38355,7 +38499,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
38355
38499
  { },
38356
38500
  { },
38357
38501
  { },
38358
- null,
38502
+ opts['body'],
38359
38503
  ['PureCloud OAuth'],
38360
38504
  ['application/json'],
38361
38505
  ['application/json']
@@ -38397,7 +38541,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
38397
38541
  *
38398
38542
  * @param {String} knowledgeBaseId Knowledge base ID
38399
38543
  * @param {Object} body uploadRequest
38400
- * postKnowledgeKnowledgebaseUploadsUrlsJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
38401
38544
  */
38402
38545
  postKnowledgeKnowledgebaseUploadsUrlsJobs(knowledgeBaseId, body) {
38403
38546
  // verify the required parameter 'knowledgeBaseId' is set
@@ -38524,7 +38667,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
38524
38667
  /**
38525
38668
  * LanguageUnderstanding service.
38526
38669
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
38527
- * @version 216.0.0
38670
+ * @version 217.0.0
38528
38671
  */
38529
38672
 
38530
38673
  /**
@@ -39557,7 +39700,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
39557
39700
  /**
39558
39701
  * Languages service.
39559
39702
  * @module purecloud-platform-client-v2/api/LanguagesApi
39560
- * @version 216.0.0
39703
+ * @version 217.0.0
39561
39704
  */
39562
39705
 
39563
39706
  /**
@@ -39779,7 +39922,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
39779
39922
  /**
39780
39923
  * Learning service.
39781
39924
  * @module purecloud-platform-client-v2/api/LearningApi
39782
- * @version 216.0.0
39925
+ * @version 217.0.0
39783
39926
  */
39784
39927
 
39785
39928
  /**
@@ -40808,7 +40951,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
40808
40951
  /**
40809
40952
  * License service.
40810
40953
  * @module purecloud-platform-client-v2/api/LicenseApi
40811
- * @version 216.0.0
40954
+ * @version 217.0.0
40812
40955
  */
40813
40956
 
40814
40957
  /**
@@ -41046,7 +41189,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
41046
41189
  /**
41047
41190
  * Locations service.
41048
41191
  * @module purecloud-platform-client-v2/api/LocationsApi
41049
- * @version 216.0.0
41192
+ * @version 217.0.0
41050
41193
  */
41051
41194
 
41052
41195
  /**
@@ -41282,7 +41425,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
41282
41425
  /**
41283
41426
  * LogCapture service.
41284
41427
  * @module purecloud-platform-client-v2/api/LogCaptureApi
41285
- * @version 216.0.0
41428
+ * @version 217.0.0
41286
41429
  */
41287
41430
 
41288
41431
  /**
@@ -41482,7 +41625,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
41482
41625
  /**
41483
41626
  * Messaging service.
41484
41627
  * @module purecloud-platform-client-v2/api/MessagingApi
41485
- * @version 216.0.0
41628
+ * @version 217.0.0
41486
41629
  */
41487
41630
 
41488
41631
  /**
@@ -41841,7 +41984,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
41841
41984
  /**
41842
41985
  * MobileDevices service.
41843
41986
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
41844
- * @version 216.0.0
41987
+ * @version 217.0.0
41845
41988
  */
41846
41989
 
41847
41990
  /**
@@ -41992,7 +42135,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
41992
42135
  /**
41993
42136
  * Notifications service.
41994
42137
  * @module purecloud-platform-client-v2/api/NotificationsApi
41995
- * @version 216.0.0
42138
+ * @version 217.0.0
41996
42139
  */
41997
42140
 
41998
42141
  /**
@@ -42225,7 +42368,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
42225
42368
  /**
42226
42369
  * OAuth service.
42227
42370
  * @module purecloud-platform-client-v2/api/OAuthApi
42228
- * @version 216.0.0
42371
+ * @version 217.0.0
42229
42372
  */
42230
42373
 
42231
42374
  /**
@@ -42591,7 +42734,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
42591
42734
  /**
42592
42735
  * Objects service.
42593
42736
  * @module purecloud-platform-client-v2/api/ObjectsApi
42594
- * @version 216.0.0
42737
+ * @version 217.0.0
42595
42738
  */
42596
42739
 
42597
42740
  /**
@@ -42611,7 +42754,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
42611
42754
  *
42612
42755
  * @param {String} divisionId Division ID
42613
42756
  * @param {Object} opts Optional parameters
42614
- * @param {Boolean} opts.force Force delete this division as well as the grants and objects associated with it (default to false)
42757
+ * @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)
42615
42758
  */
42616
42759
  deleteAuthorizationDivision(divisionId, opts) {
42617
42760
  opts = opts || {};
@@ -42775,16 +42918,17 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
42775
42918
  * Recreate a previously deleted division.
42776
42919
  *
42777
42920
  * @param {String} divisionId Division ID
42778
- * @param {Object} opts Optional parameters
42779
- * @param {Object} opts.body Recreated division data
42921
+ * @param {Object} body Recreated division data
42780
42922
  */
42781
- postAuthorizationDivisionRestore(divisionId, opts) {
42782
- opts = opts || {};
42783
-
42923
+ postAuthorizationDivisionRestore(divisionId, body) {
42784
42924
  // verify the required parameter 'divisionId' is set
42785
42925
  if (divisionId === undefined || divisionId === null) {
42786
42926
  throw 'Missing the required parameter "divisionId" when calling postAuthorizationDivisionRestore';
42787
42927
  }
42928
+ // verify the required parameter 'body' is set
42929
+ if (body === undefined || body === null) {
42930
+ throw 'Missing the required parameter "body" when calling postAuthorizationDivisionRestore';
42931
+ }
42788
42932
 
42789
42933
  return this.apiClient.callApi(
42790
42934
  '/api/v2/authorization/divisions/{divisionId}/restore',
@@ -42793,7 +42937,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
42793
42937
  { },
42794
42938
  { },
42795
42939
  { },
42796
- opts['body'],
42940
+ body,
42797
42941
  ['PureCloud OAuth'],
42798
42942
  ['application/json'],
42799
42943
  ['application/json']
@@ -42861,7 +43005,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
42861
43005
  /**
42862
43006
  * OperationalEvents service.
42863
43007
  * @module purecloud-platform-client-v2/api/OperationalEventsApi
42864
- * @version 216.0.0
43008
+ * @version 217.0.0
42865
43009
  */
42866
43010
 
42867
43011
  /**
@@ -42978,7 +43122,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
42978
43122
  /**
42979
43123
  * Organization service.
42980
43124
  * @module purecloud-platform-client-v2/api/OrganizationApi
42981
- * @version 216.0.0
43125
+ * @version 217.0.0
42982
43126
  */
42983
43127
 
42984
43128
  /**
@@ -43207,6 +43351,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
43207
43351
  * @param {String} opts.cursor Cursor provided when retrieving the last page
43208
43352
  * @param {String} opts.entityId entity id of the count
43209
43353
  * @param {String} opts.userId userid of the count
43354
+ * @deprecated
43210
43355
  */
43211
43356
  getOrganizationsLimitsNamespaceCounts(namespaceName, opts) {
43212
43357
  opts = opts || {};
@@ -43264,6 +43409,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
43264
43409
  * @param {String} opts.entityId entity id of the count
43265
43410
  * @param {String} opts.userId userid of the count
43266
43411
  * @param {String} opts.cursor Cursor provided when retrieving the last page
43412
+ * @deprecated
43267
43413
  */
43268
43414
  getOrganizationsLimitsNamespaceLimitCounts(namespaceName, limitName, opts) {
43269
43415
  opts = opts || {};
@@ -43520,7 +43666,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
43520
43666
  /**
43521
43667
  * OrganizationAuthorization service.
43522
43668
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
43523
- * @version 216.0.0
43669
+ * @version 217.0.0
43524
43670
  */
43525
43671
 
43526
43672
  /**
@@ -44914,7 +45060,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
44914
45060
  /**
44915
45061
  * Outbound service.
44916
45062
  * @module purecloud-platform-client-v2/api/OutboundApi
44917
- * @version 216.0.0
45063
+ * @version 217.0.0
44918
45064
  */
44919
45065
 
44920
45066
  /**
@@ -47743,8 +47889,12 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
47743
47889
  * Update the outbound settings for this organization
47744
47890
  *
47745
47891
  * @param {Object} body outboundSettings
47892
+ * @param {Object} opts Optional parameters
47893
+ * @param {Object} opts.useMaxCallsPerAgentDecimal Use maxCallsPerAgent with decimal precision
47746
47894
  */
47747
- patchOutboundSettings(body) {
47895
+ patchOutboundSettings(body, opts) {
47896
+ opts = opts || {};
47897
+
47748
47898
  // verify the required parameter 'body' is set
47749
47899
  if (body === undefined || body === null) {
47750
47900
  throw 'Missing the required parameter "body" when calling patchOutboundSettings';
@@ -47754,7 +47904,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
47754
47904
  '/api/v2/outbound/settings',
47755
47905
  'PATCH',
47756
47906
  { },
47757
- { },
47907
+ { 'useMaxCallsPerAgentDecimal': opts['useMaxCallsPerAgentDecimal'] },
47758
47908
  { },
47759
47909
  { },
47760
47910
  body,
@@ -47974,8 +48124,12 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
47974
48124
  * Create a campaign.
47975
48125
  *
47976
48126
  * @param {Object} body Campaign
48127
+ * @param {Object} opts Optional parameters
48128
+ * @param {Object} opts.useMaxCallsPerAgentDecimal Use maxCallsPerAgent with decimal precision
47977
48129
  */
47978
- postOutboundCampaigns(body) {
48130
+ postOutboundCampaigns(body, opts) {
48131
+ opts = opts || {};
48132
+
47979
48133
  // verify the required parameter 'body' is set
47980
48134
  if (body === undefined || body === null) {
47981
48135
  throw 'Missing the required parameter "body" when calling postOutboundCampaigns';
@@ -47985,7 +48139,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
47985
48139
  '/api/v2/outbound/campaigns',
47986
48140
  'POST',
47987
48141
  { },
47988
- { },
48142
+ { 'useMaxCallsPerAgentDecimal': opts['useMaxCallsPerAgentDecimal'] },
47989
48143
  { },
47990
48144
  { },
47991
48145
  body,
@@ -48889,8 +49043,12 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
48889
49043
  *
48890
49044
  * @param {String} campaignId Campaign ID
48891
49045
  * @param {Object} body Campaign
49046
+ * @param {Object} opts Optional parameters
49047
+ * @param {Object} opts.useMaxCallsPerAgentDecimal Use maxCallsPerAgent with decimal precision
48892
49048
  */
48893
- putOutboundCampaign(campaignId, body) {
49049
+ putOutboundCampaign(campaignId, body, opts) {
49050
+ opts = opts || {};
49051
+
48894
49052
  // verify the required parameter 'campaignId' is set
48895
49053
  if (campaignId === undefined || campaignId === null) {
48896
49054
  throw 'Missing the required parameter "campaignId" when calling putOutboundCampaign';
@@ -48904,7 +49062,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
48904
49062
  '/api/v2/outbound/campaigns/{campaignId}',
48905
49063
  'PUT',
48906
49064
  { 'campaignId': campaignId },
48907
- { },
49065
+ { 'useMaxCallsPerAgentDecimal': opts['useMaxCallsPerAgentDecimal'] },
48908
49066
  { },
48909
49067
  { },
48910
49068
  body,
@@ -49465,7 +49623,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
49465
49623
  /**
49466
49624
  * Presence service.
49467
49625
  * @module purecloud-platform-client-v2/api/PresenceApi
49468
- * @version 216.0.0
49626
+ * @version 217.0.0
49469
49627
  */
49470
49628
 
49471
49629
  /**
@@ -50209,7 +50367,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
50209
50367
  /**
50210
50368
  * ProcessAutomation service.
50211
50369
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
50212
- * @version 216.0.0
50370
+ * @version 217.0.0
50213
50371
  */
50214
50372
 
50215
50373
  /**
@@ -50448,7 +50606,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
50448
50606
  /**
50449
50607
  * Quality service.
50450
50608
  * @module purecloud-platform-client-v2/api/QualityApi
50451
- * @version 216.0.0
50609
+ * @version 217.0.0
50452
50610
  */
50453
50611
 
50454
50612
  /**
@@ -52236,7 +52394,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
52236
52394
  /**
52237
52395
  * Recording service.
52238
52396
  * @module purecloud-platform-client-v2/api/RecordingApi
52239
- * @version 216.0.0
52397
+ * @version 217.0.0
52240
52398
  */
52241
52399
 
52242
52400
  /**
@@ -52448,7 +52606,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
52448
52606
  * @param {Object} opts.messageFormatId The desired media format when downloading a message recording. Valid values:ZIP,NONE (default to ZIP)
52449
52607
  * @param {Object} opts.download requesting a download format of the recording. Valid values:true,false (default to false)
52450
52608
  * @param {String} opts.fileName the name of the downloaded fileName
52451
- * @param {String} opts.locale The locale for the requested file when downloading, as an ISO 639-1 code
52609
+ * @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
52452
52610
  * @param {Array.<String>} opts.mediaFormats All acceptable media formats. Overrides formatId. Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3
52453
52611
  */
52454
52612
  getConversationRecording(conversationId, recordingId, opts) {
@@ -52605,6 +52763,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
52605
52763
  * @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)
52606
52764
  * @param {Object} opts.formatId The desired media format. Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3,NONE. (default to WEBM)
52607
52765
  * @param {Array.<String>} opts.mediaFormats All acceptable media formats. Overrides formatId. Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3.
52766
+ * @param {String} opts.locale The locale used for redacting sensitive information in requested files, as an ISO 639-1 code
52608
52767
  */
52609
52768
  getConversationRecordings(conversationId, opts) {
52610
52769
  opts = opts || {};
@@ -52618,7 +52777,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
52618
52777
  '/api/v2/conversations/{conversationId}/recordings',
52619
52778
  'GET',
52620
52779
  { 'conversationId': conversationId },
52621
- { 'maxWaitMs': opts['maxWaitMs'],'formatId': opts['formatId'],'mediaFormats': this.apiClient.buildCollectionParam(opts['mediaFormats'], 'multi') },
52780
+ { 'maxWaitMs': opts['maxWaitMs'],'formatId': opts['formatId'],'mediaFormats': this.apiClient.buildCollectionParam(opts['mediaFormats'], 'multi'),'locale': opts['locale'] },
52622
52781
  { },
52623
52782
  { },
52624
52783
  null,
@@ -53120,32 +53279,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
53120
53279
  );
53121
53280
  }
53122
53281
 
53123
- /**
53124
- * Retrieves a paged listing of screen recording sessions
53125
- * Coming soon: This API is deprecated and will be replaced by /api/v2/recordings/screensessions/details
53126
- * @param {Object} opts Optional parameters
53127
- * @param {Number} opts.pageSize Page size (default to 25)
53128
- * @param {Number} opts.pageNumber Page number (default to 1)
53129
- * @deprecated
53130
- */
53131
- getRecordingsScreensessions(opts) {
53132
- opts = opts || {};
53133
-
53134
-
53135
- return this.apiClient.callApi(
53136
- '/api/v2/recordings/screensessions',
53137
- 'GET',
53138
- { },
53139
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
53140
- { },
53141
- { },
53142
- null,
53143
- ['PureCloud OAuth'],
53144
- ['application/json'],
53145
- ['application/json']
53146
- );
53147
- }
53148
-
53149
53282
  /**
53150
53283
  * Retrieves an object containing the total number of concurrent active screen recordings
53151
53284
  *
@@ -53865,7 +53998,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
53865
53998
  /**
53866
53999
  * ResponseManagement service.
53867
54000
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
53868
- * @version 216.0.0
54001
+ * @version 217.0.0
53869
54002
  */
53870
54003
 
53871
54004
  /**
@@ -54375,7 +54508,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
54375
54508
  /**
54376
54509
  * Routing service.
54377
54510
  * @module purecloud-platform-client-v2/api/RoutingApi
54378
- * @version 216.0.0
54511
+ * @version 217.0.0
54379
54512
  */
54380
54513
 
54381
54514
  /**
@@ -55216,6 +55349,37 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
55216
55349
  );
55217
55350
  }
55218
55351
 
55352
+ /**
55353
+ * Get a route identity resolution setting.
55354
+ *
55355
+ * @param {String} domainName email domain
55356
+ * @param {String} routeId route ID
55357
+ * getRoutingEmailDomainRouteIdentityresolution is a preview method and is subject to both breaking and non-breaking changes at any time without notice
55358
+ */
55359
+ getRoutingEmailDomainRouteIdentityresolution(domainName, routeId) {
55360
+ // verify the required parameter 'domainName' is set
55361
+ if (domainName === undefined || domainName === null) {
55362
+ throw 'Missing the required parameter "domainName" when calling getRoutingEmailDomainRouteIdentityresolution';
55363
+ }
55364
+ // verify the required parameter 'routeId' is set
55365
+ if (routeId === undefined || routeId === null) {
55366
+ throw 'Missing the required parameter "routeId" when calling getRoutingEmailDomainRouteIdentityresolution';
55367
+ }
55368
+
55369
+ return this.apiClient.callApi(
55370
+ '/api/v2/routing/email/domains/{domainName}/routes/{routeId}/identityresolution',
55371
+ 'GET',
55372
+ { 'domainName': domainName,'routeId': routeId },
55373
+ { },
55374
+ { },
55375
+ { },
55376
+ null,
55377
+ ['PureCloud OAuth'],
55378
+ ['application/json'],
55379
+ ['application/json']
55380
+ );
55381
+ }
55382
+
55219
55383
  /**
55220
55384
  * Get routes
55221
55385
  *
@@ -55769,6 +55933,32 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
55769
55933
  );
55770
55934
  }
55771
55935
 
55936
+ /**
55937
+ * Get Queue IdentityResolution Settings.
55938
+ *
55939
+ * @param {String} queueId Queue ID
55940
+ * getRoutingQueueIdentityresolution is a preview method and is subject to both breaking and non-breaking changes at any time without notice
55941
+ */
55942
+ getRoutingQueueIdentityresolution(queueId) {
55943
+ // verify the required parameter 'queueId' is set
55944
+ if (queueId === undefined || queueId === null) {
55945
+ throw 'Missing the required parameter "queueId" when calling getRoutingQueueIdentityresolution';
55946
+ }
55947
+
55948
+ return this.apiClient.callApi(
55949
+ '/api/v2/routing/queues/{queueId}/identityresolution',
55950
+ 'GET',
55951
+ { 'queueId': queueId },
55952
+ { },
55953
+ { },
55954
+ { },
55955
+ null,
55956
+ ['PureCloud OAuth'],
55957
+ ['application/json'],
55958
+ ['application/json']
55959
+ );
55960
+ }
55961
+
55772
55962
  /**
55773
55963
  * Get Estimated Wait Time
55774
55964
  *
@@ -56341,6 +56531,32 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
56341
56531
  );
56342
56532
  }
56343
56533
 
56534
+ /**
56535
+ * Get a SMS identity resolution settings.
56536
+ *
56537
+ * @param {String} addressId Address ID
56538
+ * getRoutingSmsIdentityresolutionPhonenumber is a preview method and is subject to both breaking and non-breaking changes at any time without notice
56539
+ */
56540
+ getRoutingSmsIdentityresolutionPhonenumber(addressId) {
56541
+ // verify the required parameter 'addressId' is set
56542
+ if (addressId === undefined || addressId === null) {
56543
+ throw 'Missing the required parameter "addressId" when calling getRoutingSmsIdentityresolutionPhonenumber';
56544
+ }
56545
+
56546
+ return this.apiClient.callApi(
56547
+ '/api/v2/routing/sms/identityresolution/phonenumbers/{addressId}',
56548
+ 'GET',
56549
+ { 'addressId': addressId },
56550
+ { },
56551
+ { },
56552
+ { },
56553
+ null,
56554
+ ['PureCloud OAuth'],
56555
+ ['application/json'],
56556
+ ['application/json']
56557
+ );
56558
+ }
56559
+
56344
56560
  /**
56345
56561
  * Get a phone number provisioned for SMS.
56346
56562
  *
@@ -58146,6 +58362,42 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
58146
58362
  );
58147
58363
  }
58148
58364
 
58365
+ /**
58366
+ * Update identity resolution settings for a route.
58367
+ *
58368
+ * @param {String} domainName email domain
58369
+ * @param {String} routeId route ID
58370
+ * @param {Object} body
58371
+ * putRoutingEmailDomainRouteIdentityresolution is a preview method and is subject to both breaking and non-breaking changes at any time without notice
58372
+ */
58373
+ putRoutingEmailDomainRouteIdentityresolution(domainName, routeId, body) {
58374
+ // verify the required parameter 'domainName' is set
58375
+ if (domainName === undefined || domainName === null) {
58376
+ throw 'Missing the required parameter "domainName" when calling putRoutingEmailDomainRouteIdentityresolution';
58377
+ }
58378
+ // verify the required parameter 'routeId' is set
58379
+ if (routeId === undefined || routeId === null) {
58380
+ throw 'Missing the required parameter "routeId" when calling putRoutingEmailDomainRouteIdentityresolution';
58381
+ }
58382
+ // verify the required parameter 'body' is set
58383
+ if (body === undefined || body === null) {
58384
+ throw 'Missing the required parameter "body" when calling putRoutingEmailDomainRouteIdentityresolution';
58385
+ }
58386
+
58387
+ return this.apiClient.callApi(
58388
+ '/api/v2/routing/email/domains/{domainName}/routes/{routeId}/identityresolution',
58389
+ 'PUT',
58390
+ { 'domainName': domainName,'routeId': routeId },
58391
+ { },
58392
+ { },
58393
+ { },
58394
+ body,
58395
+ ['PureCloud OAuth'],
58396
+ ['application/json'],
58397
+ ['application/json']
58398
+ );
58399
+ }
58400
+
58149
58401
  /**
58150
58402
  * Request an activation status (cname + dkim) update of an outbound domain
58151
58403
  *
@@ -58231,6 +58483,37 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
58231
58483
  );
58232
58484
  }
58233
58485
 
58486
+ /**
58487
+ * Update Queue IdentityResolution Settings.
58488
+ *
58489
+ * @param {String} queueId Queue ID
58490
+ * @param {Object} body
58491
+ * putRoutingQueueIdentityresolution is a preview method and is subject to both breaking and non-breaking changes at any time without notice
58492
+ */
58493
+ putRoutingQueueIdentityresolution(queueId, body) {
58494
+ // verify the required parameter 'queueId' is set
58495
+ if (queueId === undefined || queueId === null) {
58496
+ throw 'Missing the required parameter "queueId" when calling putRoutingQueueIdentityresolution';
58497
+ }
58498
+ // verify the required parameter 'body' is set
58499
+ if (body === undefined || body === null) {
58500
+ throw 'Missing the required parameter "body" when calling putRoutingQueueIdentityresolution';
58501
+ }
58502
+
58503
+ return this.apiClient.callApi(
58504
+ '/api/v2/routing/queues/{queueId}/identityresolution',
58505
+ 'PUT',
58506
+ { 'queueId': queueId },
58507
+ { },
58508
+ { },
58509
+ { },
58510
+ body,
58511
+ ['PureCloud OAuth'],
58512
+ ['application/json'],
58513
+ ['application/json']
58514
+ );
58515
+ }
58516
+
58234
58517
  /**
58235
58518
  * Update an organization's routing settings
58236
58519
  *
@@ -58281,6 +58564,37 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
58281
58564
  );
58282
58565
  }
58283
58566
 
58567
+ /**
58568
+ * Update an SMS identity resolution settings.
58569
+ *
58570
+ * @param {String} addressId Address ID
58571
+ * @param {Object} body
58572
+ * putRoutingSmsIdentityresolutionPhonenumber is a preview method and is subject to both breaking and non-breaking changes at any time without notice
58573
+ */
58574
+ putRoutingSmsIdentityresolutionPhonenumber(addressId, body) {
58575
+ // verify the required parameter 'addressId' is set
58576
+ if (addressId === undefined || addressId === null) {
58577
+ throw 'Missing the required parameter "addressId" when calling putRoutingSmsIdentityresolutionPhonenumber';
58578
+ }
58579
+ // verify the required parameter 'body' is set
58580
+ if (body === undefined || body === null) {
58581
+ throw 'Missing the required parameter "body" when calling putRoutingSmsIdentityresolutionPhonenumber';
58582
+ }
58583
+
58584
+ return this.apiClient.callApi(
58585
+ '/api/v2/routing/sms/identityresolution/phonenumbers/{addressId}',
58586
+ 'PUT',
58587
+ { 'addressId': addressId },
58588
+ { },
58589
+ { },
58590
+ { },
58591
+ body,
58592
+ ['PureCloud OAuth'],
58593
+ ['application/json'],
58594
+ ['application/json']
58595
+ );
58596
+ }
58597
+
58284
58598
  /**
58285
58599
  * Update the user's Direct Routing Backup settings.
58286
58600
  *
@@ -58497,7 +58811,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
58497
58811
  /**
58498
58812
  * SCIM service.
58499
58813
  * @module purecloud-platform-client-v2/api/SCIMApi
58500
- * @version 216.0.0
58814
+ * @version 217.0.0
58501
58815
  */
58502
58816
 
58503
58817
  /**
@@ -59374,7 +59688,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
59374
59688
  /**
59375
59689
  * ScreenRecording service.
59376
59690
  * @module purecloud-platform-client-v2/api/ScreenRecordingApi
59377
- * @version 216.0.0
59691
+ * @version 217.0.0
59378
59692
  */
59379
59693
 
59380
59694
  /**
@@ -59419,7 +59733,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
59419
59733
  /**
59420
59734
  * Scripts service.
59421
59735
  * @module purecloud-platform-client-v2/api/ScriptsApi
59422
- * @version 216.0.0
59736
+ * @version 217.0.0
59423
59737
  */
59424
59738
 
59425
59739
  /**
@@ -59863,7 +60177,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
59863
60177
  /**
59864
60178
  * Search service.
59865
60179
  * @module purecloud-platform-client-v2/api/SearchApi
59866
- * @version 216.0.0
60180
+ * @version 217.0.0
59867
60181
  */
59868
60182
 
59869
60183
  /**
@@ -60606,7 +60920,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
60606
60920
  /**
60607
60921
  * Settings service.
60608
60922
  * @module purecloud-platform-client-v2/api/SettingsApi
60609
- * @version 216.0.0
60923
+ * @version 217.0.0
60610
60924
  */
60611
60925
 
60612
60926
  /**
@@ -60826,7 +61140,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
60826
61140
  /**
60827
61141
  * SocialMedia service.
60828
61142
  * @module purecloud-platform-client-v2/api/SocialMediaApi
60829
- * @version 216.0.0
61143
+ * @version 217.0.0
60830
61144
  */
60831
61145
 
60832
61146
  /**
@@ -61731,7 +62045,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
61731
62045
  /**
61732
62046
  * SpeechTextAnalytics service.
61733
62047
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
61734
- * @version 216.0.0
62048
+ * @version 217.0.0
61735
62049
  */
61736
62050
 
61737
62051
  /**
@@ -63172,7 +63486,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
63172
63486
  /**
63173
63487
  * Stations service.
63174
63488
  * @module purecloud-platform-client-v2/api/StationsApi
63175
- * @version 216.0.0
63489
+ * @version 217.0.0
63176
63490
  */
63177
63491
 
63178
63492
  /**
@@ -63274,7 +63588,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
63274
63588
  /**
63275
63589
  * Suggest service.
63276
63590
  * @module purecloud-platform-client-v2/api/SuggestApi
63277
- * @version 216.0.0
63591
+ * @version 217.0.0
63278
63592
  */
63279
63593
 
63280
63594
  /**
@@ -63413,7 +63727,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
63413
63727
  /**
63414
63728
  * TaskManagement service.
63415
63729
  * @module purecloud-platform-client-v2/api/TaskManagementApi
63416
- * @version 216.0.0
63730
+ * @version 217.0.0
63417
63731
  */
63418
63732
 
63419
63733
  /**
@@ -65519,7 +65833,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
65519
65833
  /**
65520
65834
  * Teams service.
65521
65835
  * @module purecloud-platform-client-v2/api/TeamsApi
65522
- * @version 216.0.0
65836
+ * @version 217.0.0
65523
65837
  */
65524
65838
 
65525
65839
  /**
@@ -65824,7 +66138,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
65824
66138
  /**
65825
66139
  * Telephony service.
65826
66140
  * @module purecloud-platform-client-v2/api/TelephonyApi
65827
- * @version 216.0.0
66141
+ * @version 217.0.0
65828
66142
  */
65829
66143
 
65830
66144
  /**
@@ -66006,7 +66320,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
66006
66320
  /**
66007
66321
  * TelephonyProvidersEdge service.
66008
66322
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
66009
- * @version 216.0.0
66323
+ * @version 217.0.0
66010
66324
  */
66011
66325
 
66012
66326
  /**
@@ -69457,7 +69771,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
69457
69771
  /**
69458
69772
  * Textbots service.
69459
69773
  * @module purecloud-platform-client-v2/api/TextbotsApi
69460
- * @version 216.0.0
69774
+ * @version 217.0.0
69461
69775
  */
69462
69776
 
69463
69777
  /**
@@ -69585,7 +69899,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
69585
69899
  /**
69586
69900
  * Tokens service.
69587
69901
  * @module purecloud-platform-client-v2/api/TokensApi
69588
- * @version 216.0.0
69902
+ * @version 217.0.0
69589
69903
  */
69590
69904
 
69591
69905
  /**
@@ -69739,7 +70053,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
69739
70053
  /**
69740
70054
  * Uploads service.
69741
70055
  * @module purecloud-platform-client-v2/api/UploadsApi
69742
- * @version 216.0.0
70056
+ * @version 217.0.0
69743
70057
  */
69744
70058
 
69745
70059
  /**
@@ -69759,7 +70073,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
69759
70073
  *
69760
70074
  * @param {String} knowledgeBaseId Knowledge base ID
69761
70075
  * @param {String} jobId Upload job ID
69762
- * getKnowledgeKnowledgebaseUploadsUrlsJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
69763
70076
  */
69764
70077
  getKnowledgeKnowledgebaseUploadsUrlsJob(knowledgeBaseId, jobId) {
69765
70078
  // verify the required parameter 'knowledgeBaseId' is set
@@ -69845,7 +70158,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
69845
70158
  *
69846
70159
  * @param {String} knowledgeBaseId Knowledge base ID
69847
70160
  * @param {Object} body uploadRequest
69848
- * postKnowledgeKnowledgebaseUploadsUrlsJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
69849
70161
  */
69850
70162
  postKnowledgeKnowledgebaseUploadsUrlsJobs(knowledgeBaseId, body) {
69851
70163
  // verify the required parameter 'knowledgeBaseId' is set
@@ -70007,7 +70319,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
70007
70319
  /**
70008
70320
  * Usage service.
70009
70321
  * @module purecloud-platform-client-v2/api/UsageApi
70010
- * @version 216.0.0
70322
+ * @version 217.0.0
70011
70323
  */
70012
70324
 
70013
70325
  /**
@@ -70222,7 +70534,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
70222
70534
  /**
70223
70535
  * UserRecordings service.
70224
70536
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
70225
- * @version 216.0.0
70537
+ * @version 217.0.0
70226
70538
  */
70227
70539
 
70228
70540
  /**
@@ -70437,7 +70749,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
70437
70749
  /**
70438
70750
  * Users service.
70439
70751
  * @module purecloud-platform-client-v2/api/UsersApi
70440
- * @version 216.0.0
70752
+ * @version 217.0.0
70441
70753
  */
70442
70754
 
70443
70755
  /**
@@ -73390,7 +73702,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
73390
73702
  /**
73391
73703
  * Utilities service.
73392
73704
  * @module purecloud-platform-client-v2/api/UtilitiesApi
73393
- * @version 216.0.0
73705
+ * @version 217.0.0
73394
73706
  */
73395
73707
 
73396
73708
  /**
@@ -73501,7 +73813,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
73501
73813
  /**
73502
73814
  * Voicemail service.
73503
73815
  * @module purecloud-platform-client-v2/api/VoicemailApi
73504
- * @version 216.0.0
73816
+ * @version 217.0.0
73505
73817
  */
73506
73818
 
73507
73819
  /**
@@ -74223,7 +74535,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
74223
74535
  /**
74224
74536
  * WebChat service.
74225
74537
  * @module purecloud-platform-client-v2/api/WebChatApi
74226
- * @version 216.0.0
74538
+ * @version 217.0.0
74227
74539
  */
74228
74540
 
74229
74541
  /**
@@ -74774,7 +75086,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
74774
75086
  /**
74775
75087
  * WebDeployments service.
74776
75088
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
74777
- * @version 216.0.0
75089
+ * @version 217.0.0
74778
75090
  */
74779
75091
 
74780
75092
  /**
@@ -75087,6 +75399,32 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
75087
75399
  );
75088
75400
  }
75089
75401
 
75402
+ /**
75403
+ * Get a deployment identity resolution setting.
75404
+ *
75405
+ * @param {String} deploymentId The deployment ID
75406
+ * getWebdeploymentsDeploymentIdentityresolution is a preview method and is subject to both breaking and non-breaking changes at any time without notice
75407
+ */
75408
+ getWebdeploymentsDeploymentIdentityresolution(deploymentId) {
75409
+ // verify the required parameter 'deploymentId' is set
75410
+ if (deploymentId === undefined || deploymentId === null) {
75411
+ throw 'Missing the required parameter "deploymentId" when calling getWebdeploymentsDeploymentIdentityresolution';
75412
+ }
75413
+
75414
+ return this.apiClient.callApi(
75415
+ '/api/v2/webdeployments/deployments/{deploymentId}/identityresolution',
75416
+ 'GET',
75417
+ { 'deploymentId': deploymentId },
75418
+ { },
75419
+ { },
75420
+ { },
75421
+ null,
75422
+ ['PureCloud OAuth'],
75423
+ ['application/json'],
75424
+ ['application/json']
75425
+ );
75426
+ }
75427
+
75090
75428
  /**
75091
75429
  * Get deployments
75092
75430
  *
@@ -75295,13 +75633,44 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
75295
75633
  );
75296
75634
  }
75297
75635
 
75636
+ /**
75637
+ * Update identity resolution settings for a deployment.
75638
+ *
75639
+ * @param {String} deploymentId The deployment ID
75640
+ * @param {Object} body
75641
+ * putWebdeploymentsDeploymentIdentityresolution is a preview method and is subject to both breaking and non-breaking changes at any time without notice
75642
+ */
75643
+ putWebdeploymentsDeploymentIdentityresolution(deploymentId, body) {
75644
+ // verify the required parameter 'deploymentId' is set
75645
+ if (deploymentId === undefined || deploymentId === null) {
75646
+ throw 'Missing the required parameter "deploymentId" when calling putWebdeploymentsDeploymentIdentityresolution';
75647
+ }
75648
+ // verify the required parameter 'body' is set
75649
+ if (body === undefined || body === null) {
75650
+ throw 'Missing the required parameter "body" when calling putWebdeploymentsDeploymentIdentityresolution';
75651
+ }
75652
+
75653
+ return this.apiClient.callApi(
75654
+ '/api/v2/webdeployments/deployments/{deploymentId}/identityresolution',
75655
+ 'PUT',
75656
+ { 'deploymentId': deploymentId },
75657
+ { },
75658
+ { },
75659
+ { },
75660
+ body,
75661
+ ['PureCloud OAuth'],
75662
+ ['application/json'],
75663
+ ['application/json']
75664
+ );
75665
+ }
75666
+
75298
75667
  }
75299
75668
 
75300
75669
  class WebMessagingApi {
75301
75670
  /**
75302
75671
  * WebMessaging service.
75303
75672
  * @module purecloud-platform-client-v2/api/WebMessagingApi
75304
- * @version 216.0.0
75673
+ * @version 217.0.0
75305
75674
  */
75306
75675
 
75307
75676
  /**
@@ -75347,7 +75716,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
75347
75716
  /**
75348
75717
  * Widgets service.
75349
75718
  * @module purecloud-platform-client-v2/api/WidgetsApi
75350
- * @version 216.0.0
75719
+ * @version 217.0.0
75351
75720
  */
75352
75721
 
75353
75722
  /**
@@ -75493,7 +75862,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
75493
75862
  /**
75494
75863
  * WorkforceManagement service.
75495
75864
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
75496
- * @version 216.0.0
75865
+ * @version 217.0.0
75497
75866
  */
75498
75867
 
75499
75868
  /**
@@ -82886,7 +83255,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
82886
83255
  * </pre>
82887
83256
  * </p>
82888
83257
  * @module purecloud-platform-client-v2/index
82889
- * @version 216.0.0
83258
+ * @version 217.0.0
82890
83259
  */
82891
83260
  class platformClient {
82892
83261
  constructor() {