purecloud-platform-client-v2 213.0.0 → 214.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 +356 -118
  3. package/dist/web-amd/purecloud-platform-client-v2.js +356 -118
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +144 -95
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +144 -95
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +364 -230
  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 +45 -1
  15. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
  16. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
  17. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
  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 -1
  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 +1 -1
  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 +1 -1
  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 +1 -6
  42. package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
  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 +1 -1
  55. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
  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 +1 -1
  63. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -31
  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 +107 -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 -2
  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 +125 -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 +1 -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
@@ -617,7 +617,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
617
617
 
618
618
  /**
619
619
  * @module purecloud-platform-client-v2/ApiClient
620
- * @version 213.0.0
620
+ * @version 214.0.0
621
621
  */
622
622
  class ApiClient {
623
623
  /**
@@ -2141,7 +2141,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
2141
2141
  /**
2142
2142
  * AgentAssistants service.
2143
2143
  * @module purecloud-platform-client-v2/api/AgentAssistantsApi
2144
- * @version 213.0.0
2144
+ * @version 214.0.0
2145
2145
  */
2146
2146
 
2147
2147
  /**
@@ -2517,7 +2517,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
2517
2517
  /**
2518
2518
  * AgentCopilot service.
2519
2519
  * @module purecloud-platform-client-v2/api/AgentCopilotApi
2520
- * @version 213.0.0
2520
+ * @version 214.0.0
2521
2521
  */
2522
2522
 
2523
2523
  /**
@@ -2593,7 +2593,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
2593
2593
  /**
2594
2594
  * AgentUI service.
2595
2595
  * @module purecloud-platform-client-v2/api/AgentUIApi
2596
- * @version 213.0.0
2596
+ * @version 214.0.0
2597
2597
  */
2598
2598
 
2599
2599
  /**
@@ -2724,7 +2724,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
2724
2724
  /**
2725
2725
  * Alerting service.
2726
2726
  * @module purecloud-platform-client-v2/api/AlertingApi
2727
- * @version 213.0.0
2727
+ * @version 214.0.0
2728
2728
  */
2729
2729
 
2730
2730
  /**
@@ -2764,6 +2764,26 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
2764
2764
  );
2765
2765
  }
2766
2766
 
2767
+ /**
2768
+ * Delete all alerts for the user
2769
+ *
2770
+ */
2771
+ deleteAlertingAlertsAll() {
2772
+
2773
+ return this.apiClient.callApi(
2774
+ '/api/v2/alerting/alerts/all',
2775
+ 'DELETE',
2776
+ { },
2777
+ { },
2778
+ { },
2779
+ { },
2780
+ null,
2781
+ ['PureCloud OAuth'],
2782
+ ['application/json'],
2783
+ ['application/json']
2784
+ );
2785
+ }
2786
+
2767
2787
  /**
2768
2788
  * Delete an interaction stats alert
2769
2789
  * Apps should migrate to use DELETE /api/v2/alerting/alerts/{alertId}.
@@ -3072,6 +3092,30 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
3072
3092
  );
3073
3093
  }
3074
3094
 
3095
+ /**
3096
+ * Updates all alerts
3097
+ *
3098
+ * @param {Object} opts Optional parameters
3099
+ * @param {Object} opts.body
3100
+ */
3101
+ patchAlertingAlertsAll(opts) {
3102
+ opts = opts || {};
3103
+
3104
+
3105
+ return this.apiClient.callApi(
3106
+ '/api/v2/alerting/alerts/all',
3107
+ 'PATCH',
3108
+ { },
3109
+ { },
3110
+ { },
3111
+ { },
3112
+ opts['body'],
3113
+ ['PureCloud OAuth'],
3114
+ ['application/json'],
3115
+ ['application/json']
3116
+ );
3117
+ }
3118
+
3075
3119
  /**
3076
3120
  * Bulk alert updates
3077
3121
  *
@@ -3385,7 +3429,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
3385
3429
  /**
3386
3430
  * Analytics service.
3387
3431
  * @module purecloud-platform-client-v2/api/AnalyticsApi
3388
- * @version 213.0.0
3432
+ * @version 214.0.0
3389
3433
  */
3390
3434
 
3391
3435
  /**
@@ -6210,7 +6254,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
6210
6254
  /**
6211
6255
  * Architect service.
6212
6256
  * @module purecloud-platform-client-v2/api/ArchitectApi
6213
- * @version 213.0.0
6257
+ * @version 214.0.0
6214
6258
  */
6215
6259
 
6216
6260
  /**
@@ -10332,7 +10376,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
10332
10376
  /**
10333
10377
  * Audit service.
10334
10378
  * @module purecloud-platform-client-v2/api/AuditApi
10335
- * @version 213.0.0
10379
+ * @version 214.0.0
10336
10380
  */
10337
10381
 
10338
10382
  /**
@@ -10533,7 +10577,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
10533
10577
  /**
10534
10578
  * Authorization service.
10535
10579
  * @module purecloud-platform-client-v2/api/AuthorizationApi
10536
- * @version 213.0.0
10580
+ * @version 214.0.0
10537
10581
  */
10538
10582
 
10539
10583
  /**
@@ -11816,7 +11860,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
11816
11860
  /**
11817
11861
  * Billing service.
11818
11862
  * @module purecloud-platform-client-v2/api/BillingApi
11819
- * @version 213.0.0
11863
+ * @version 214.0.0
11820
11864
  */
11821
11865
 
11822
11866
  /**
@@ -11896,7 +11940,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
11896
11940
  /**
11897
11941
  * CarrierServices service.
11898
11942
  * @module purecloud-platform-client-v2/api/CarrierServicesApi
11899
- * @version 213.0.0
11943
+ * @version 214.0.0
11900
11944
  */
11901
11945
 
11902
11946
  /**
@@ -11966,7 +12010,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
11966
12010
  /**
11967
12011
  * Chat service.
11968
12012
  * @module purecloud-platform-client-v2/api/ChatApi
11969
- * @version 213.0.0
12013
+ * @version 214.0.0
11970
12014
  */
11971
12015
 
11972
12016
  /**
@@ -12902,7 +12946,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
12902
12946
  /**
12903
12947
  * Coaching service.
12904
12948
  * @module purecloud-platform-client-v2/api/CoachingApi
12905
- * @version 213.0.0
12949
+ * @version 214.0.0
12906
12950
  */
12907
12951
 
12908
12952
  /**
@@ -13479,7 +13523,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
13479
13523
  /**
13480
13524
  * ContentManagement service.
13481
13525
  * @module purecloud-platform-client-v2/api/ContentManagementApi
13482
- * @version 213.0.0
13526
+ * @version 214.0.0
13483
13527
  */
13484
13528
 
13485
13529
  /**
@@ -14560,7 +14604,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
14560
14604
  /**
14561
14605
  * Conversations service.
14562
14606
  * @module purecloud-platform-client-v2/api/ConversationsApi
14563
- * @version 213.0.0
14607
+ * @version 214.0.0
14564
14608
  */
14565
14609
 
14566
14610
  /**
@@ -21722,7 +21766,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
21722
21766
  /**
21723
21767
  * DataExtensions service.
21724
21768
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
21725
- * @version 213.0.0
21769
+ * @version 214.0.0
21726
21770
  */
21727
21771
 
21728
21772
  /**
@@ -21808,7 +21852,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
21808
21852
  /**
21809
21853
  * DataPrivacy service.
21810
21854
  * @module purecloud-platform-client-v2/api/DataPrivacyApi
21811
- * @version 213.0.0
21855
+ * @version 214.0.0
21812
21856
  */
21813
21857
 
21814
21858
  /**
@@ -21978,7 +22022,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
21978
22022
  /**
21979
22023
  * Downloads service.
21980
22024
  * @module purecloud-platform-client-v2/api/DownloadsApi
21981
- * @version 213.0.0
22025
+ * @version 214.0.0
21982
22026
  */
21983
22027
 
21984
22028
  /**
@@ -22030,7 +22074,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
22030
22074
  /**
22031
22075
  * Emails service.
22032
22076
  * @module purecloud-platform-client-v2/api/EmailsApi
22033
- * @version 213.0.0
22077
+ * @version 214.0.0
22034
22078
  */
22035
22079
 
22036
22080
  /**
@@ -22095,7 +22139,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
22095
22139
  /**
22096
22140
  * EmployeeEngagement service.
22097
22141
  * @module purecloud-platform-client-v2/api/EmployeeEngagementApi
22098
- * @version 213.0.0
22142
+ * @version 214.0.0
22099
22143
  */
22100
22144
 
22101
22145
  /**
@@ -22246,7 +22290,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
22246
22290
  /**
22247
22291
  * Events service.
22248
22292
  * @module purecloud-platform-client-v2/api/EventsApi
22249
- * @version 213.0.0
22293
+ * @version 214.0.0
22250
22294
  */
22251
22295
 
22252
22296
  /**
@@ -22342,7 +22386,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
22342
22386
  /**
22343
22387
  * ExternalContacts service.
22344
22388
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
22345
- * @version 213.0.0
22389
+ * @version 214.0.0
22346
22390
  */
22347
22391
 
22348
22392
  /**
@@ -24907,7 +24951,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24907
24951
  /**
24908
24952
  * Fax service.
24909
24953
  * @module purecloud-platform-client-v2/api/FaxApi
24910
- * @version 213.0.0
24954
+ * @version 214.0.0
24911
24955
  */
24912
24956
 
24913
24957
  /**
@@ -25122,7 +25166,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25122
25166
  /**
25123
25167
  * Flows service.
25124
25168
  * @module purecloud-platform-client-v2/api/FlowsApi
25125
- * @version 213.0.0
25169
+ * @version 214.0.0
25126
25170
  */
25127
25171
 
25128
25172
  /**
@@ -25305,7 +25349,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25305
25349
  /**
25306
25350
  * Gamification service.
25307
25351
  * @module purecloud-platform-client-v2/api/GamificationApi
25308
- * @version 213.0.0
25352
+ * @version 214.0.0
25309
25353
  */
25310
25354
 
25311
25355
  /**
@@ -27447,7 +27491,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
27447
27491
  /**
27448
27492
  * GeneralDataProtectionRegulation service.
27449
27493
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
27450
- * @version 213.0.0
27494
+ * @version 214.0.0
27451
27495
  */
27452
27496
 
27453
27497
  /**
@@ -27577,7 +27621,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
27577
27621
  /**
27578
27622
  * Geolocation service.
27579
27623
  * @module purecloud-platform-client-v2/api/GeolocationApi
27580
- * @version 213.0.0
27624
+ * @version 214.0.0
27581
27625
  */
27582
27626
 
27583
27627
  /**
@@ -27708,7 +27752,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
27708
27752
  /**
27709
27753
  * Greetings service.
27710
27754
  * @module purecloud-platform-client-v2/api/GreetingsApi
27711
- * @version 213.0.0
27755
+ * @version 214.0.0
27712
27756
  */
27713
27757
 
27714
27758
  /**
@@ -28163,7 +28207,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
28163
28207
  /**
28164
28208
  * Groups service.
28165
28209
  * @module purecloud-platform-client-v2/api/GroupsApi
28166
- * @version 213.0.0
28210
+ * @version 214.0.0
28167
28211
  */
28168
28212
 
28169
28213
  /**
@@ -28682,7 +28726,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
28682
28726
  /**
28683
28727
  * IdentityProvider service.
28684
28728
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
28685
- * @version 213.0.0
28729
+ * @version 214.0.0
28686
28730
  */
28687
28731
 
28688
28732
  /**
@@ -29543,7 +29587,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
29543
29587
  /**
29544
29588
  * InfrastructureAsCode service.
29545
29589
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
29546
- * @version 213.0.0
29590
+ * @version 214.0.0
29547
29591
  */
29548
29592
 
29549
29593
  /**
@@ -29710,7 +29754,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
29710
29754
  /**
29711
29755
  * Integrations service.
29712
29756
  * @module purecloud-platform-client-v2/api/IntegrationsApi
29713
- * @version 213.0.0
29757
+ * @version 214.0.0
29714
29758
  */
29715
29759
 
29716
29760
  /**
@@ -29977,7 +30021,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
29977
30021
  * Get draft function settings for Action
29978
30022
  *
29979
30023
  * @param {String} actionId actionId
29980
- * getIntegrationsActionDraftFunction is a preview method and is subject to both breaking and non-breaking changes at any time without notice
29981
30024
  */
29982
30025
  getIntegrationsActionDraftFunction(actionId) {
29983
30026
  // verify the required parameter 'actionId' is set
@@ -30092,7 +30135,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
30092
30135
  * Get published function settings for Action
30093
30136
  *
30094
30137
  * @param {String} actionId actionId
30095
- * getIntegrationsActionFunction is a preview method and is subject to both breaking and non-breaking changes at any time without notice
30096
30138
  */
30097
30139
  getIntegrationsActionFunction(actionId) {
30098
30140
  // verify the required parameter 'actionId' is set
@@ -30324,7 +30366,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
30324
30366
  /**
30325
30367
  * Get action function settings for Action
30326
30368
  *
30327
- * getIntegrationsActionsFunctionsRuntimes is a preview method and is subject to both breaking and non-breaking changes at any time without notice
30328
30369
  */
30329
30370
  getIntegrationsActionsFunctionsRuntimes() {
30330
30371
 
@@ -31614,7 +31655,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
31614
31655
  *
31615
31656
  * @param {String} actionId actionId
31616
31657
  * @param {Object} body Input used to request URL upload.
31617
- * postIntegrationsActionDraftFunctionUpload is a preview method and is subject to both breaking and non-breaking changes at any time without notice
31618
31658
  */
31619
31659
  postIntegrationsActionDraftFunctionUpload(actionId, body) {
31620
31660
  // verify the required parameter 'actionId' is set
@@ -31976,7 +32016,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
31976
32016
  *
31977
32017
  * @param {String} actionId actionId
31978
32018
  * @param {Object} body Input used to update function settings.
31979
- * putIntegrationsActionDraftFunction is a preview method and is subject to both breaking and non-breaking changes at any time without notice
31980
32019
  */
31981
32020
  putIntegrationsActionDraftFunction(actionId, body) {
31982
32021
  // verify the required parameter 'actionId' is set
@@ -32152,7 +32191,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
32152
32191
  /**
32153
32192
  * Journey service.
32154
32193
  * @module purecloud-platform-client-v2/api/JourneyApi
32155
- * @version 213.0.0
32194
+ * @version 214.0.0
32156
32195
  */
32157
32196
 
32158
32197
  /**
@@ -34117,7 +34156,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
34117
34156
  /**
34118
34157
  * Knowledge service.
34119
34158
  * @module purecloud-platform-client-v2/api/KnowledgeApi
34120
- * @version 213.0.0
34159
+ * @version 214.0.0
34121
34160
  */
34122
34161
 
34123
34162
  /**
@@ -37993,7 +38032,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
37993
38032
  /**
37994
38033
  * LanguageUnderstanding service.
37995
38034
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
37996
- * @version 213.0.0
38035
+ * @version 214.0.0
37997
38036
  */
37998
38037
 
37999
38038
  /**
@@ -39026,7 +39065,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
39026
39065
  /**
39027
39066
  * Languages service.
39028
39067
  * @module purecloud-platform-client-v2/api/LanguagesApi
39029
- * @version 213.0.0
39068
+ * @version 214.0.0
39030
39069
  */
39031
39070
 
39032
39071
  /**
@@ -39248,7 +39287,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
39248
39287
  /**
39249
39288
  * Learning service.
39250
39289
  * @module purecloud-platform-client-v2/api/LearningApi
39251
- * @version 213.0.0
39290
+ * @version 214.0.0
39252
39291
  */
39253
39292
 
39254
39293
  /**
@@ -40277,7 +40316,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
40277
40316
  /**
40278
40317
  * License service.
40279
40318
  * @module purecloud-platform-client-v2/api/LicenseApi
40280
- * @version 213.0.0
40319
+ * @version 214.0.0
40281
40320
  */
40282
40321
 
40283
40322
  /**
@@ -40515,7 +40554,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
40515
40554
  /**
40516
40555
  * Locations service.
40517
40556
  * @module purecloud-platform-client-v2/api/LocationsApi
40518
- * @version 213.0.0
40557
+ * @version 214.0.0
40519
40558
  */
40520
40559
 
40521
40560
  /**
@@ -40751,7 +40790,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
40751
40790
  /**
40752
40791
  * LogCapture service.
40753
40792
  * @module purecloud-platform-client-v2/api/LogCaptureApi
40754
- * @version 213.0.0
40793
+ * @version 214.0.0
40755
40794
  */
40756
40795
 
40757
40796
  /**
@@ -40951,7 +40990,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
40951
40990
  /**
40952
40991
  * Messaging service.
40953
40992
  * @module purecloud-platform-client-v2/api/MessagingApi
40954
- * @version 213.0.0
40993
+ * @version 214.0.0
40955
40994
  */
40956
40995
 
40957
40996
  /**
@@ -41310,7 +41349,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
41310
41349
  /**
41311
41350
  * MobileDevices service.
41312
41351
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
41313
- * @version 213.0.0
41352
+ * @version 214.0.0
41314
41353
  */
41315
41354
 
41316
41355
  /**
@@ -41461,7 +41500,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
41461
41500
  /**
41462
41501
  * Notifications service.
41463
41502
  * @module purecloud-platform-client-v2/api/NotificationsApi
41464
- * @version 213.0.0
41503
+ * @version 214.0.0
41465
41504
  */
41466
41505
 
41467
41506
  /**
@@ -41694,7 +41733,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
41694
41733
  /**
41695
41734
  * OAuth service.
41696
41735
  * @module purecloud-platform-client-v2/api/OAuthApi
41697
- * @version 213.0.0
41736
+ * @version 214.0.0
41698
41737
  */
41699
41738
 
41700
41739
  /**
@@ -42060,7 +42099,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
42060
42099
  /**
42061
42100
  * Objects service.
42062
42101
  * @module purecloud-platform-client-v2/api/ObjectsApi
42063
- * @version 213.0.0
42102
+ * @version 214.0.0
42064
42103
  */
42065
42104
 
42066
42105
  /**
@@ -42330,7 +42369,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
42330
42369
  /**
42331
42370
  * OperationalEvents service.
42332
42371
  * @module purecloud-platform-client-v2/api/OperationalEventsApi
42333
- * @version 213.0.0
42372
+ * @version 214.0.0
42334
42373
  */
42335
42374
 
42336
42375
  /**
@@ -42447,7 +42486,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
42447
42486
  /**
42448
42487
  * Organization service.
42449
42488
  * @module purecloud-platform-client-v2/api/OrganizationApi
42450
- * @version 213.0.0
42489
+ * @version 214.0.0
42451
42490
  */
42452
42491
 
42453
42492
  /**
@@ -42989,7 +43028,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
42989
43028
  /**
42990
43029
  * OrganizationAuthorization service.
42991
43030
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
42992
- * @version 213.0.0
43031
+ * @version 214.0.0
42993
43032
  */
42994
43033
 
42995
43034
  /**
@@ -44383,7 +44422,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
44383
44422
  /**
44384
44423
  * Outbound service.
44385
44424
  * @module purecloud-platform-client-v2/api/OutboundApi
44386
- * @version 213.0.0
44425
+ * @version 214.0.0
44387
44426
  */
44388
44427
 
44389
44428
  /**
@@ -48934,7 +48973,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
48934
48973
  /**
48935
48974
  * Presence service.
48936
48975
  * @module purecloud-platform-client-v2/api/PresenceApi
48937
- * @version 213.0.0
48976
+ * @version 214.0.0
48938
48977
  */
48939
48978
 
48940
48979
  /**
@@ -49678,7 +49717,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
49678
49717
  /**
49679
49718
  * ProcessAutomation service.
49680
49719
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
49681
- * @version 213.0.0
49720
+ * @version 214.0.0
49682
49721
  */
49683
49722
 
49684
49723
  /**
@@ -49917,7 +49956,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
49917
49956
  /**
49918
49957
  * Quality service.
49919
49958
  * @module purecloud-platform-client-v2/api/QualityApi
49920
- * @version 213.0.0
49959
+ * @version 214.0.0
49921
49960
  */
49922
49961
 
49923
49962
  /**
@@ -51705,7 +51744,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
51705
51744
  /**
51706
51745
  * Recording service.
51707
51746
  * @module purecloud-platform-client-v2/api/RecordingApi
51708
- * @version 213.0.0
51747
+ * @version 214.0.0
51709
51748
  */
51710
51749
 
51711
51750
  /**
@@ -53364,7 +53403,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
53364
53403
  /**
53365
53404
  * ResponseManagement service.
53366
53405
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
53367
- * @version 213.0.0
53406
+ * @version 214.0.0
53368
53407
  */
53369
53408
 
53370
53409
  /**
@@ -53874,7 +53913,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
53874
53913
  /**
53875
53914
  * Routing service.
53876
53915
  * @module purecloud-platform-client-v2/api/RoutingApi
53877
- * @version 213.0.0
53916
+ * @version 214.0.0
53878
53917
  */
53879
53918
 
53880
53919
  /**
@@ -57780,36 +57819,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
57780
57819
  );
57781
57820
  }
57782
57821
 
57783
- /**
57784
- * Update a phone number provisioned for SMS.
57785
- *
57786
- * @param {String} phoneNumberId phone number
57787
- * @param {Object} body SmsPhoneNumber
57788
- */
57789
- putRoutingSmsPhonenumber(phoneNumberId, body) {
57790
- // verify the required parameter 'phoneNumberId' is set
57791
- if (phoneNumberId === undefined || phoneNumberId === null) {
57792
- throw 'Missing the required parameter "phoneNumberId" when calling putRoutingSmsPhonenumber';
57793
- }
57794
- // verify the required parameter 'body' is set
57795
- if (body === undefined || body === null) {
57796
- throw 'Missing the required parameter "body" when calling putRoutingSmsPhonenumber';
57797
- }
57798
-
57799
- return this.apiClient.callApi(
57800
- '/api/v2/routing/sms/phonenumbers/{phoneNumberId}',
57801
- 'PUT',
57802
- { 'phoneNumberId': phoneNumberId },
57803
- { },
57804
- { },
57805
- { },
57806
- body,
57807
- ['PureCloud OAuth'],
57808
- ['application/json'],
57809
- ['application/json']
57810
- );
57811
- }
57812
-
57813
57822
  /**
57814
57823
  * Update the user's Direct Routing Backup settings.
57815
57824
  *
@@ -58026,7 +58035,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
58026
58035
  /**
58027
58036
  * SCIM service.
58028
58037
  * @module purecloud-platform-client-v2/api/SCIMApi
58029
- * @version 213.0.0
58038
+ * @version 214.0.0
58030
58039
  */
58031
58040
 
58032
58041
  /**
@@ -58903,7 +58912,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
58903
58912
  /**
58904
58913
  * ScreenRecording service.
58905
58914
  * @module purecloud-platform-client-v2/api/ScreenRecordingApi
58906
- * @version 213.0.0
58915
+ * @version 214.0.0
58907
58916
  */
58908
58917
 
58909
58918
  /**
@@ -58948,7 +58957,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
58948
58957
  /**
58949
58958
  * Scripts service.
58950
58959
  * @module purecloud-platform-client-v2/api/ScriptsApi
58951
- * @version 213.0.0
58960
+ * @version 214.0.0
58952
58961
  */
58953
58962
 
58954
58963
  /**
@@ -59392,7 +59401,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
59392
59401
  /**
59393
59402
  * Search service.
59394
59403
  * @module purecloud-platform-client-v2/api/SearchApi
59395
- * @version 213.0.0
59404
+ * @version 214.0.0
59396
59405
  */
59397
59406
 
59398
59407
  /**
@@ -60135,7 +60144,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
60135
60144
  /**
60136
60145
  * Settings service.
60137
60146
  * @module purecloud-platform-client-v2/api/SettingsApi
60138
- * @version 213.0.0
60147
+ * @version 214.0.0
60139
60148
  */
60140
60149
 
60141
60150
  /**
@@ -60355,7 +60364,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
60355
60364
  /**
60356
60365
  * SocialMedia service.
60357
60366
  * @module purecloud-platform-client-v2/api/SocialMediaApi
60358
- * @version 213.0.0
60367
+ * @version 214.0.0
60359
60368
  */
60360
60369
 
60361
60370
  /**
@@ -61260,7 +61269,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
61260
61269
  /**
61261
61270
  * SpeechTextAnalytics service.
61262
61271
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
61263
- * @version 213.0.0
61272
+ * @version 214.0.0
61264
61273
  */
61265
61274
 
61266
61275
  /**
@@ -61593,6 +61602,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
61593
61602
  );
61594
61603
  }
61595
61604
 
61605
+ /**
61606
+ * Get conversation summaries by conversation id.
61607
+ *
61608
+ * @param {String} conversationId The conversation ID of the summaries
61609
+ */
61610
+ getSpeechandtextanalyticsConversationSummaries(conversationId) {
61611
+ // verify the required parameter 'conversationId' is set
61612
+ if (conversationId === undefined || conversationId === null) {
61613
+ throw 'Missing the required parameter "conversationId" when calling getSpeechandtextanalyticsConversationSummaries';
61614
+ }
61615
+
61616
+ return this.apiClient.callApi(
61617
+ '/api/v2/speechandtextanalytics/conversations/{conversationId}/summaries',
61618
+ 'GET',
61619
+ { 'conversationId': conversationId },
61620
+ { },
61621
+ { },
61622
+ { },
61623
+ null,
61624
+ ['PureCloud OAuth'],
61625
+ ['application/json'],
61626
+ ['application/json']
61627
+ );
61628
+ }
61629
+
61596
61630
  /**
61597
61631
  * Get the list of Speech and Text Analytics dictionary feedbacks
61598
61632
  *
@@ -61694,6 +61728,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
61694
61728
  );
61695
61729
  }
61696
61730
 
61731
+ /**
61732
+ * Get AI Insights settings of a program
61733
+ *
61734
+ * @param {String} programId The id of the program
61735
+ */
61736
+ getSpeechandtextanalyticsProgramSettingsInsights(programId) {
61737
+ // verify the required parameter 'programId' is set
61738
+ if (programId === undefined || programId === null) {
61739
+ throw 'Missing the required parameter "programId" when calling getSpeechandtextanalyticsProgramSettingsInsights';
61740
+ }
61741
+
61742
+ return this.apiClient.callApi(
61743
+ '/api/v2/speechandtextanalytics/programs/{programId}/settings/insights',
61744
+ 'GET',
61745
+ { 'programId': programId },
61746
+ { },
61747
+ { },
61748
+ { },
61749
+ null,
61750
+ ['PureCloud OAuth'],
61751
+ ['application/json'],
61752
+ ['application/json']
61753
+ );
61754
+ }
61755
+
61697
61756
  /**
61698
61757
  * Get transcription engine settings of a program
61699
61758
  *
@@ -61820,6 +61879,32 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
61820
61879
  );
61821
61880
  }
61822
61881
 
61882
+ /**
61883
+ * Get the list of program AI Insights settings for the organization
61884
+ *
61885
+ * @param {Object} opts Optional parameters
61886
+ * @param {Number} opts.pageSize The page size for the listing. The max that will be returned is 100. (default to 100)
61887
+ * @param {Number} opts.pageNumber The page number for the listing (default to 1)
61888
+ * @param {Array.<String>} opts.programIds Comma separated Program IDs to filter by. Maximum of 50 IDs allowed.
61889
+ */
61890
+ getSpeechandtextanalyticsProgramsSettingsInsights(opts) {
61891
+ opts = opts || {};
61892
+
61893
+
61894
+ return this.apiClient.callApi(
61895
+ '/api/v2/speechandtextanalytics/programs/settings/insights',
61896
+ 'GET',
61897
+ { },
61898
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'programIds': this.apiClient.buildCollectionParam(opts['programIds'], 'multi') },
61899
+ { },
61900
+ { },
61901
+ null,
61902
+ ['PureCloud OAuth'],
61903
+ ['application/json'],
61904
+ ['application/json']
61905
+ );
61906
+ }
61907
+
61823
61908
  /**
61824
61909
  * Get supported dialects for each transcription engine
61825
61910
  *
@@ -62504,6 +62589,36 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
62504
62589
  );
62505
62590
  }
62506
62591
 
62592
+ /**
62593
+ * Update AI Insights settings of a program
62594
+ *
62595
+ * @param {String} programId The id of the program
62596
+ * @param {Object} body Program AI Insights setting
62597
+ */
62598
+ putSpeechandtextanalyticsProgramSettingsInsights(programId, body) {
62599
+ // verify the required parameter 'programId' is set
62600
+ if (programId === undefined || programId === null) {
62601
+ throw 'Missing the required parameter "programId" when calling putSpeechandtextanalyticsProgramSettingsInsights';
62602
+ }
62603
+ // verify the required parameter 'body' is set
62604
+ if (body === undefined || body === null) {
62605
+ throw 'Missing the required parameter "body" when calling putSpeechandtextanalyticsProgramSettingsInsights';
62606
+ }
62607
+
62608
+ return this.apiClient.callApi(
62609
+ '/api/v2/speechandtextanalytics/programs/{programId}/settings/insights',
62610
+ 'PUT',
62611
+ { 'programId': programId },
62612
+ { },
62613
+ { },
62614
+ { },
62615
+ body,
62616
+ ['PureCloud OAuth'],
62617
+ ['application/json'],
62618
+ ['application/json']
62619
+ );
62620
+ }
62621
+
62507
62622
  /**
62508
62623
  * Update transcription engine settings of a program
62509
62624
  *
@@ -62595,7 +62710,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
62595
62710
  /**
62596
62711
  * Stations service.
62597
62712
  * @module purecloud-platform-client-v2/api/StationsApi
62598
- * @version 213.0.0
62713
+ * @version 214.0.0
62599
62714
  */
62600
62715
 
62601
62716
  /**
@@ -62697,7 +62812,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
62697
62812
  /**
62698
62813
  * Suggest service.
62699
62814
  * @module purecloud-platform-client-v2/api/SuggestApi
62700
- * @version 213.0.0
62815
+ * @version 214.0.0
62701
62816
  */
62702
62817
 
62703
62818
  /**
@@ -62836,7 +62951,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
62836
62951
  /**
62837
62952
  * TaskManagement service.
62838
62953
  * @module purecloud-platform-client-v2/api/TaskManagementApi
62839
- * @version 213.0.0
62954
+ * @version 214.0.0
62840
62955
  */
62841
62956
 
62842
62957
  /**
@@ -64942,7 +65057,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
64942
65057
  /**
64943
65058
  * Teams service.
64944
65059
  * @module purecloud-platform-client-v2/api/TeamsApi
64945
- * @version 213.0.0
65060
+ * @version 214.0.0
64946
65061
  */
64947
65062
 
64948
65063
  /**
@@ -65247,7 +65362,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
65247
65362
  /**
65248
65363
  * Telephony service.
65249
65364
  * @module purecloud-platform-client-v2/api/TelephonyApi
65250
- * @version 213.0.0
65365
+ * @version 214.0.0
65251
65366
  */
65252
65367
 
65253
65368
  /**
@@ -65429,7 +65544,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
65429
65544
  /**
65430
65545
  * TelephonyProvidersEdge service.
65431
65546
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
65432
- * @version 213.0.0
65547
+ * @version 214.0.0
65433
65548
  */
65434
65549
 
65435
65550
  /**
@@ -68880,7 +68995,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
68880
68995
  /**
68881
68996
  * Textbots service.
68882
68997
  * @module purecloud-platform-client-v2/api/TextbotsApi
68883
- * @version 213.0.0
68998
+ * @version 214.0.0
68884
68999
  */
68885
69000
 
68886
69001
  /**
@@ -69008,7 +69123,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
69008
69123
  /**
69009
69124
  * Tokens service.
69010
69125
  * @module purecloud-platform-client-v2/api/TokensApi
69011
- * @version 213.0.0
69126
+ * @version 214.0.0
69012
69127
  */
69013
69128
 
69014
69129
  /**
@@ -69162,7 +69277,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
69162
69277
  /**
69163
69278
  * Uploads service.
69164
69279
  * @module purecloud-platform-client-v2/api/UploadsApi
69165
- * @version 213.0.0
69280
+ * @version 214.0.0
69166
69281
  */
69167
69282
 
69168
69283
  /**
@@ -69213,7 +69328,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
69213
69328
  *
69214
69329
  * @param {String} actionId actionId
69215
69330
  * @param {Object} body Input used to request URL upload.
69216
- * postIntegrationsActionDraftFunctionUpload is a preview method and is subject to both breaking and non-breaking changes at any time without notice
69217
69331
  */
69218
69332
  postIntegrationsActionDraftFunctionUpload(actionId, body) {
69219
69333
  // verify the required parameter 'actionId' is set
@@ -69431,7 +69545,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
69431
69545
  /**
69432
69546
  * Usage service.
69433
69547
  * @module purecloud-platform-client-v2/api/UsageApi
69434
- * @version 213.0.0
69548
+ * @version 214.0.0
69435
69549
  */
69436
69550
 
69437
69551
  /**
@@ -69646,7 +69760,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
69646
69760
  /**
69647
69761
  * UserRecordings service.
69648
69762
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
69649
- * @version 213.0.0
69763
+ * @version 214.0.0
69650
69764
  */
69651
69765
 
69652
69766
  /**
@@ -69861,7 +69975,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
69861
69975
  /**
69862
69976
  * Users service.
69863
69977
  * @module purecloud-platform-client-v2/api/UsersApi
69864
- * @version 213.0.0
69978
+ * @version 214.0.0
69865
69979
  */
69866
69980
 
69867
69981
  /**
@@ -70031,6 +70145,41 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
70031
70145
  );
70032
70146
  }
70033
70147
 
70148
+ /**
70149
+ * Delete the external identifier for user.
70150
+ *
70151
+ * @param {String} userId User ID
70152
+ * @param {String} authorityName Authority Name
70153
+ * @param {String} externalKey External Key
70154
+ */
70155
+ deleteUserExternalidAuthorityNameExternalKey(userId, authorityName, externalKey) {
70156
+ // verify the required parameter 'userId' is set
70157
+ if (userId === undefined || userId === null) {
70158
+ throw 'Missing the required parameter "userId" when calling deleteUserExternalidAuthorityNameExternalKey';
70159
+ }
70160
+ // verify the required parameter 'authorityName' is set
70161
+ if (authorityName === undefined || authorityName === null) {
70162
+ throw 'Missing the required parameter "authorityName" when calling deleteUserExternalidAuthorityNameExternalKey';
70163
+ }
70164
+ // verify the required parameter 'externalKey' is set
70165
+ if (externalKey === undefined || externalKey === null) {
70166
+ throw 'Missing the required parameter "externalKey" when calling deleteUserExternalidAuthorityNameExternalKey';
70167
+ }
70168
+
70169
+ return this.apiClient.callApi(
70170
+ '/api/v2/users/{userId}/externalid/{authorityName}/{externalKey}',
70171
+ 'DELETE',
70172
+ { 'userId': userId,'authorityName': authorityName,'externalKey': externalKey },
70173
+ { },
70174
+ { },
70175
+ { },
70176
+ null,
70177
+ ['PureCloud OAuth'],
70178
+ ['application/json'],
70179
+ ['application/json']
70180
+ );
70181
+ }
70182
+
70034
70183
  /**
70035
70184
  * Remove a routing language from a user
70036
70185
  *
@@ -70692,6 +70841,61 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
70692
70841
  );
70693
70842
  }
70694
70843
 
70844
+ /**
70845
+ * Get the external identifiers for a user.
70846
+ *
70847
+ * @param {String} userId User ID
70848
+ */
70849
+ getUserExternalid(userId) {
70850
+ // verify the required parameter 'userId' is set
70851
+ if (userId === undefined || userId === null) {
70852
+ throw 'Missing the required parameter "userId" when calling getUserExternalid';
70853
+ }
70854
+
70855
+ return this.apiClient.callApi(
70856
+ '/api/v2/users/{userId}/externalid',
70857
+ 'GET',
70858
+ { 'userId': userId },
70859
+ { },
70860
+ { },
70861
+ { },
70862
+ null,
70863
+ ['PureCloud OAuth'],
70864
+ ['application/json'],
70865
+ ['application/json']
70866
+ );
70867
+ }
70868
+
70869
+ /**
70870
+ * Get the external identifier of user for an authority.
70871
+ * Authority name and external key are case sensitive.
70872
+ * @param {String} userId User ID
70873
+ * @param {String} authorityName Authority Name
70874
+ */
70875
+ getUserExternalidAuthorityName(userId, authorityName) {
70876
+ // verify the required parameter 'userId' is set
70877
+ if (userId === undefined || userId === null) {
70878
+ throw 'Missing the required parameter "userId" when calling getUserExternalidAuthorityName';
70879
+ }
70880
+ // verify the required parameter 'authorityName' is set
70881
+ if (authorityName === undefined || authorityName === null) {
70882
+ throw 'Missing the required parameter "authorityName" when calling getUserExternalidAuthorityName';
70883
+ }
70884
+
70885
+ return this.apiClient.callApi(
70886
+ '/api/v2/users/{userId}/externalid/{authorityName}',
70887
+ 'GET',
70888
+ { 'userId': userId,'authorityName': authorityName },
70889
+ { },
70890
+ { },
70891
+ { },
70892
+ null,
70893
+ ['PureCloud OAuth'],
70894
+ ['application/json'],
70895
+ ['application/json']
70896
+ );
70897
+ }
70898
+
70695
70899
  /**
70696
70900
  * Deprecated; will be revived with new contract
70697
70901
  *
@@ -71301,6 +71505,40 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
71301
71505
  );
71302
71506
  }
71303
71507
 
71508
+ /**
71509
+ * Get the user associated with external identifier.
71510
+ * Authority name and external key are case sensitive.
71511
+ * @param {String} authorityName Authority Name
71512
+ * @param {String} externalKey External Key
71513
+ * @param {Object} opts Optional parameters
71514
+ * @param {Array.<String>} opts.expand Which fields, if any, to expand
71515
+ */
71516
+ getUsersExternalidAuthorityNameExternalKey(authorityName, externalKey, opts) {
71517
+ opts = opts || {};
71518
+
71519
+ // verify the required parameter 'authorityName' is set
71520
+ if (authorityName === undefined || authorityName === null) {
71521
+ throw 'Missing the required parameter "authorityName" when calling getUsersExternalidAuthorityNameExternalKey';
71522
+ }
71523
+ // verify the required parameter 'externalKey' is set
71524
+ if (externalKey === undefined || externalKey === null) {
71525
+ throw 'Missing the required parameter "externalKey" when calling getUsersExternalidAuthorityNameExternalKey';
71526
+ }
71527
+
71528
+ return this.apiClient.callApi(
71529
+ '/api/v2/users/externalid/{authorityName}/{externalKey}',
71530
+ 'GET',
71531
+ { 'authorityName': authorityName,'externalKey': externalKey },
71532
+ { 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
71533
+ { },
71534
+ { },
71535
+ null,
71536
+ ['PureCloud OAuth'],
71537
+ ['application/json'],
71538
+ ['application/json']
71539
+ );
71540
+ }
71541
+
71304
71542
  /**
71305
71543
  * Get current user details.
71306
71544
  * This request is not valid when using the Client Credentials OAuth grant.
@@ -72690,7 +72928,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
72690
72928
  /**
72691
72929
  * Utilities service.
72692
72930
  * @module purecloud-platform-client-v2/api/UtilitiesApi
72693
- * @version 213.0.0
72931
+ * @version 214.0.0
72694
72932
  */
72695
72933
 
72696
72934
  /**
@@ -72801,7 +73039,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
72801
73039
  /**
72802
73040
  * Voicemail service.
72803
73041
  * @module purecloud-platform-client-v2/api/VoicemailApi
72804
- * @version 213.0.0
73042
+ * @version 214.0.0
72805
73043
  */
72806
73044
 
72807
73045
  /**
@@ -73523,7 +73761,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
73523
73761
  /**
73524
73762
  * WebChat service.
73525
73763
  * @module purecloud-platform-client-v2/api/WebChatApi
73526
- * @version 213.0.0
73764
+ * @version 214.0.0
73527
73765
  */
73528
73766
 
73529
73767
  /**
@@ -74074,7 +74312,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
74074
74312
  /**
74075
74313
  * WebDeployments service.
74076
74314
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
74077
- * @version 213.0.0
74315
+ * @version 214.0.0
74078
74316
  */
74079
74317
 
74080
74318
  /**
@@ -74601,7 +74839,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
74601
74839
  /**
74602
74840
  * WebMessaging service.
74603
74841
  * @module purecloud-platform-client-v2/api/WebMessagingApi
74604
- * @version 213.0.0
74842
+ * @version 214.0.0
74605
74843
  */
74606
74844
 
74607
74845
  /**
@@ -74647,7 +74885,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
74647
74885
  /**
74648
74886
  * Widgets service.
74649
74887
  * @module purecloud-platform-client-v2/api/WidgetsApi
74650
- * @version 213.0.0
74888
+ * @version 214.0.0
74651
74889
  */
74652
74890
 
74653
74891
  /**
@@ -74793,7 +75031,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
74793
75031
  /**
74794
75032
  * WorkforceManagement service.
74795
75033
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
74796
- * @version 213.0.0
75034
+ * @version 214.0.0
74797
75035
  */
74798
75036
 
74799
75037
  /**
@@ -82117,7 +82355,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
82117
82355
  * </pre>
82118
82356
  * </p>
82119
82357
  * @module purecloud-platform-client-v2/index
82120
- * @version 213.0.0
82358
+ * @version 214.0.0
82121
82359
  */
82122
82360
  class platformClient {
82123
82361
  constructor() {