purecloud-platform-client-v2 180.0.0 → 182.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 (83) hide show
  1. package/README.md +2 -2
  2. package/dist/node/purecloud-platform-client-v2.js +475 -160
  3. package/dist/web-amd/purecloud-platform-client-v2.js +475 -160
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +7323 -59790
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +26569 -65181
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +420 -234
  9. package/package.json +8 -5
  10. package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
  11. package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
  12. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
  13. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
  14. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  15. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
  16. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  17. package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -74
  19. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  21. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +59 -3
  22. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/JourneyApi.js +73 -2
  38. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +71 -0
  50. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/PresenceApi.js +9 -4
  54. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/QualityApi.js +2 -2
  56. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +86 -1
  70. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  74. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/UsersApi.js +92 -2
  76. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  78. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  79. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  80. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  81. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  82. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +17 -7
  83. package/src/purecloud-platform-client-v2/index.js +7 -1
@@ -402,7 +402,7 @@ class Configuration {
402
402
 
403
403
  /**
404
404
  * @module purecloud-platform-client-v2/ApiClient
405
- * @version 180.0.0
405
+ * @version 182.0.0
406
406
  */
407
407
  class ApiClient {
408
408
  /**
@@ -1488,7 +1488,7 @@ class AlertingApi {
1488
1488
  /**
1489
1489
  * Alerting service.
1490
1490
  * @module purecloud-platform-client-v2/api/AlertingApi
1491
- * @version 180.0.0
1491
+ * @version 182.0.0
1492
1492
  */
1493
1493
 
1494
1494
  /**
@@ -2138,7 +2138,7 @@ class AnalyticsApi {
2138
2138
  /**
2139
2139
  * Analytics service.
2140
2140
  * @module purecloud-platform-client-v2/api/AnalyticsApi
2141
- * @version 180.0.0
2141
+ * @version 182.0.0
2142
2142
  */
2143
2143
 
2144
2144
  /**
@@ -4584,7 +4584,7 @@ class ArchitectApi {
4584
4584
  /**
4585
4585
  * Architect service.
4586
4586
  * @module purecloud-platform-client-v2/api/ArchitectApi
4587
- * @version 180.0.0
4587
+ * @version 182.0.0
4588
4588
  */
4589
4589
 
4590
4590
  /**
@@ -8419,7 +8419,7 @@ class AuditApi {
8419
8419
  /**
8420
8420
  * Audit service.
8421
8421
  * @module purecloud-platform-client-v2/api/AuditApi
8422
- * @version 180.0.0
8422
+ * @version 182.0.0
8423
8423
  */
8424
8424
 
8425
8425
  /**
@@ -8590,7 +8590,7 @@ class AuthorizationApi {
8590
8590
  /**
8591
8591
  * Authorization service.
8592
8592
  * @module purecloud-platform-client-v2/api/AuthorizationApi
8593
- * @version 180.0.0
8593
+ * @version 182.0.0
8594
8594
  */
8595
8595
 
8596
8596
  /**
@@ -9821,7 +9821,7 @@ class BillingApi {
9821
9821
  /**
9822
9822
  * Billing service.
9823
9823
  * @module purecloud-platform-client-v2/api/BillingApi
9824
- * @version 180.0.0
9824
+ * @version 182.0.0
9825
9825
  */
9826
9826
 
9827
9827
  /**
@@ -9901,7 +9901,7 @@ class CarrierServicesApi {
9901
9901
  /**
9902
9902
  * CarrierServices service.
9903
9903
  * @module purecloud-platform-client-v2/api/CarrierServicesApi
9904
- * @version 180.0.0
9904
+ * @version 182.0.0
9905
9905
  */
9906
9906
 
9907
9907
  /**
@@ -9971,7 +9971,7 @@ class ChatApi {
9971
9971
  /**
9972
9972
  * Chat service.
9973
9973
  * @module purecloud-platform-client-v2/api/ChatApi
9974
- * @version 180.0.0
9974
+ * @version 182.0.0
9975
9975
  */
9976
9976
 
9977
9977
  /**
@@ -10110,27 +10110,6 @@ class ChatApi {
10110
10110
  );
10111
10111
  }
10112
10112
 
10113
- /**
10114
- * Get Chat Settings.
10115
- * This route is deprecated, please use /chats/settings instead
10116
- * @deprecated
10117
- */
10118
- getChatSettings() {
10119
-
10120
- return this.apiClient.callApi(
10121
- '/api/v2/chat/settings',
10122
- 'GET',
10123
- { },
10124
- { },
10125
- { },
10126
- { },
10127
- null,
10128
- ['PureCloud OAuth'],
10129
- ['application/json'],
10130
- ['application/json']
10131
- );
10132
- }
10133
-
10134
10113
  /**
10135
10114
  * Get a message
10136
10115
  *
@@ -10379,32 +10358,6 @@ class ChatApi {
10379
10358
  );
10380
10359
  }
10381
10360
 
10382
- /**
10383
- * Patch Chat Settings.
10384
- * This route is deprecated, please use /chats/settings instead
10385
- * @param {Object} body Chat
10386
- * @deprecated
10387
- */
10388
- patchChatSettings(body) {
10389
- // verify the required parameter 'body' is set
10390
- if (body === undefined || body === null) {
10391
- throw 'Missing the required parameter "body" when calling patchChatSettings';
10392
- }
10393
-
10394
- return this.apiClient.callApi(
10395
- '/api/v2/chat/settings',
10396
- 'PATCH',
10397
- { },
10398
- { },
10399
- { },
10400
- { },
10401
- body,
10402
- ['PureCloud OAuth'],
10403
- ['application/json'],
10404
- ['application/json']
10405
- );
10406
- }
10407
-
10408
10361
  /**
10409
10362
  * Set properties for a room
10410
10363
  *
@@ -10683,32 +10636,6 @@ class ChatApi {
10683
10636
  );
10684
10637
  }
10685
10638
 
10686
- /**
10687
- * Update Chat Settings.
10688
- * This route is deprecated, please use /chats/settings instead
10689
- * @param {Object} body Chat
10690
- * @deprecated
10691
- */
10692
- putChatSettings(body) {
10693
- // verify the required parameter 'body' is set
10694
- if (body === undefined || body === null) {
10695
- throw 'Missing the required parameter "body" when calling putChatSettings';
10696
- }
10697
-
10698
- return this.apiClient.callApi(
10699
- '/api/v2/chat/settings',
10700
- 'PUT',
10701
- { },
10702
- { },
10703
- { },
10704
- { },
10705
- body,
10706
- ['PureCloud OAuth'],
10707
- ['application/json'],
10708
- ['application/json']
10709
- );
10710
- }
10711
-
10712
10639
  /**
10713
10640
  * Update Chat Settings.
10714
10641
  *
@@ -10740,7 +10667,7 @@ class CoachingApi {
10740
10667
  /**
10741
10668
  * Coaching service.
10742
10669
  * @module purecloud-platform-client-v2/api/CoachingApi
10743
- * @version 180.0.0
10670
+ * @version 182.0.0
10744
10671
  */
10745
10672
 
10746
10673
  /**
@@ -11317,7 +11244,7 @@ class ContentManagementApi {
11317
11244
  /**
11318
11245
  * ContentManagement service.
11319
11246
  * @module purecloud-platform-client-v2/api/ContentManagementApi
11320
- * @version 180.0.0
11247
+ * @version 182.0.0
11321
11248
  */
11322
11249
 
11323
11250
  /**
@@ -12460,7 +12387,7 @@ class ConversationsApi {
12460
12387
  /**
12461
12388
  * Conversations service.
12462
12389
  * @module purecloud-platform-client-v2/api/ConversationsApi
12463
- * @version 180.0.0
12390
+ * @version 182.0.0
12464
12391
  */
12465
12392
 
12466
12393
  /**
@@ -16505,6 +16432,36 @@ class ConversationsApi {
16505
16432
  );
16506
16433
  }
16507
16434
 
16435
+ /**
16436
+ * Activate a WhatsApp messaging integration created using the WhatsApp embedded signup flow
16437
+ * Please specify the phone number to associate with this WhatsApp integration from the list of available phone numbers returned to you in the POST call to create the integration. You can then run a GET on the integration to check if its status has been updated to Active
16438
+ * @param {String} integrationId Integration ID
16439
+ * @param {Object} body WhatsAppEmbeddedSignupIntegrationActivationRequest
16440
+ */
16441
+ patchConversationsMessagingIntegrationsWhatsappEmbeddedsignupIntegrationId(integrationId, body) {
16442
+ // verify the required parameter 'integrationId' is set
16443
+ if (integrationId === undefined || integrationId === null) {
16444
+ throw 'Missing the required parameter "integrationId" when calling patchConversationsMessagingIntegrationsWhatsappEmbeddedsignupIntegrationId';
16445
+ }
16446
+ // verify the required parameter 'body' is set
16447
+ if (body === undefined || body === null) {
16448
+ throw 'Missing the required parameter "body" when calling patchConversationsMessagingIntegrationsWhatsappEmbeddedsignupIntegrationId';
16449
+ }
16450
+
16451
+ return this.apiClient.callApi(
16452
+ '/api/v2/conversations/messaging/integrations/whatsapp/embeddedsignup/{integrationId}',
16453
+ 'PATCH',
16454
+ { 'integrationId': integrationId },
16455
+ { },
16456
+ { },
16457
+ { },
16458
+ body,
16459
+ ['PureCloud OAuth'],
16460
+ ['application/json'],
16461
+ ['application/json']
16462
+ );
16463
+ }
16464
+
16508
16465
  /**
16509
16466
  * Update or activate a WhatsApp messaging integration
16510
16467
  * The following steps are required in order to fully activate a WhatsApp Integration: Initially, you will need to get an activation code by sending: an action set to Activate, and an authenticationMethod choosing from Sms or Voice. Finally, once you have been informed of an activation code on selected authenticationMethod, you will need to confirm the code by sending: an action set to Confirm, and the confirmationCode you have received from Whatsapp.
@@ -18731,9 +18688,10 @@ class ConversationsApi {
18731
18688
  }
18732
18689
 
18733
18690
  /**
18734
- * Create a WhatsApp Integration
18735
- * You must be approved by WhatsApp to use this feature. Your approved e164-formatted phone number and valid WhatsApp certificate for your number are required. Your WhatsApp certificate must have valid base64 encoding. Please paste carefully and do not add any leading or trailing spaces. Do not alter any characters. An integration must be activated within 7 days of certificate generation. If you cannot complete the addition and activation of the number within 7 days, please obtain a new certificate before creating the integration. Integrations created with an invalid number or certificate may immediately incur additional integration fees. Please carefully enter your number and certificate as described.
18691
+ * [This API is deprecated. Use POST /api/v2/conversations/messaging/integrations/whatsapp/embeddedsignup instead] Create a WhatsApp Integration
18692
+ * [This API is deprecated. Use POST /api/v2/conversations/messaging/integrations/whatsapp/embeddedsignup instead] You must be approved by WhatsApp to use this feature. Your approved e164-formatted phone number and valid WhatsApp certificate for your number are required. Your WhatsApp certificate must have valid base64 encoding. Please paste carefully and do not add any leading or trailing spaces. Do not alter any characters. An integration must be activated within 7 days of certificate generation. If you cannot complete the addition and activation of the number within 7 days, please obtain a new certificate before creating the integration. Integrations created with an invalid number or certificate may immediately incur additional integration fees. Please carefully enter your number and certificate as described.
18736
18693
  * @param {Object} body WhatsAppIntegrationRequest
18694
+ * @deprecated
18737
18695
  */
18738
18696
  postConversationsMessagingIntegrationsWhatsapp(body) {
18739
18697
  // verify the required parameter 'body' is set
@@ -18755,6 +18713,31 @@ class ConversationsApi {
18755
18713
  );
18756
18714
  }
18757
18715
 
18716
+ /**
18717
+ * Create a WhatsApp Integration using the WhatsApp embedded signup flow
18718
+ * Use the access token returned from the embedded signup flow to obtain a list of available phone numbers that can be associated with the created integration. The returned WhatsApp integration will initially have a createStatus of Initiated until the list of available phone numbers can be obtained from the provider. Please run a GET on the created integration until it returns a createStatus of Completed, and the list of available phone numbers obtained from the provider. You can then specify one of the available phone numbers in the PATCH call on the integration to activate it.
18719
+ * @param {Object} body WhatsAppEmbeddedSignupIntegrationRequest
18720
+ */
18721
+ postConversationsMessagingIntegrationsWhatsappEmbeddedsignup(body) {
18722
+ // verify the required parameter 'body' is set
18723
+ if (body === undefined || body === null) {
18724
+ throw 'Missing the required parameter "body" when calling postConversationsMessagingIntegrationsWhatsappEmbeddedsignup';
18725
+ }
18726
+
18727
+ return this.apiClient.callApi(
18728
+ '/api/v2/conversations/messaging/integrations/whatsapp/embeddedsignup',
18729
+ 'POST',
18730
+ { },
18731
+ { },
18732
+ { },
18733
+ { },
18734
+ body,
18735
+ ['PureCloud OAuth'],
18736
+ ['application/json'],
18737
+ ['application/json']
18738
+ );
18739
+ }
18740
+
18758
18741
  /**
18759
18742
  * Create a messaging setting
18760
18743
  *
@@ -19544,7 +19527,7 @@ class DataExtensionsApi {
19544
19527
  /**
19545
19528
  * DataExtensions service.
19546
19529
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
19547
- * @version 180.0.0
19530
+ * @version 182.0.0
19548
19531
  */
19549
19532
 
19550
19533
  /**
@@ -19630,7 +19613,7 @@ class DownloadsApi {
19630
19613
  /**
19631
19614
  * Downloads service.
19632
19615
  * @module purecloud-platform-client-v2/api/DownloadsApi
19633
- * @version 180.0.0
19616
+ * @version 182.0.0
19634
19617
  */
19635
19618
 
19636
19619
  /**
@@ -19682,7 +19665,7 @@ class EmailsApi {
19682
19665
  /**
19683
19666
  * Emails service.
19684
19667
  * @module purecloud-platform-client-v2/api/EmailsApi
19685
- * @version 180.0.0
19668
+ * @version 182.0.0
19686
19669
  */
19687
19670
 
19688
19671
  /**
@@ -19747,7 +19730,7 @@ class EventsApi {
19747
19730
  /**
19748
19731
  * Events service.
19749
19732
  * @module purecloud-platform-client-v2/api/EventsApi
19750
- * @version 180.0.0
19733
+ * @version 182.0.0
19751
19734
  */
19752
19735
 
19753
19736
  /**
@@ -19843,7 +19826,7 @@ class ExternalContactsApi {
19843
19826
  /**
19844
19827
  * ExternalContacts service.
19845
19828
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
19846
- * @version 180.0.0
19829
+ * @version 182.0.0
19847
19830
  */
19848
19831
 
19849
19832
  /**
@@ -21801,7 +21784,7 @@ class FaxApi {
21801
21784
  /**
21802
21785
  * Fax service.
21803
21786
  * @module purecloud-platform-client-v2/api/FaxApi
21804
- * @version 180.0.0
21787
+ * @version 182.0.0
21805
21788
  */
21806
21789
 
21807
21790
  /**
@@ -21972,7 +21955,7 @@ class FlowsApi {
21972
21955
  /**
21973
21956
  * Flows service.
21974
21957
  * @module purecloud-platform-client-v2/api/FlowsApi
21975
- * @version 180.0.0
21958
+ * @version 182.0.0
21976
21959
  */
21977
21960
 
21978
21961
  /**
@@ -22156,7 +22139,7 @@ class GamificationApi {
22156
22139
  /**
22157
22140
  * Gamification service.
22158
22141
  * @module purecloud-platform-client-v2/api/GamificationApi
22159
- * @version 180.0.0
22142
+ * @version 182.0.0
22160
22143
  */
22161
22144
 
22162
22145
  /**
@@ -24242,7 +24225,7 @@ class GeneralDataProtectionRegulationApi {
24242
24225
  /**
24243
24226
  * GeneralDataProtectionRegulation service.
24244
24227
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
24245
- * @version 180.0.0
24228
+ * @version 182.0.0
24246
24229
  */
24247
24230
 
24248
24231
  /**
@@ -24372,7 +24355,7 @@ class GeolocationApi {
24372
24355
  /**
24373
24356
  * Geolocation service.
24374
24357
  * @module purecloud-platform-client-v2/api/GeolocationApi
24375
- * @version 180.0.0
24358
+ * @version 182.0.0
24376
24359
  */
24377
24360
 
24378
24361
  /**
@@ -24503,7 +24486,7 @@ class GreetingsApi {
24503
24486
  /**
24504
24487
  * Greetings service.
24505
24488
  * @module purecloud-platform-client-v2/api/GreetingsApi
24506
- * @version 180.0.0
24489
+ * @version 182.0.0
24507
24490
  */
24508
24491
 
24509
24492
  /**
@@ -24958,7 +24941,7 @@ class GroupsApi {
24958
24941
  /**
24959
24942
  * Groups service.
24960
24943
  * @module purecloud-platform-client-v2/api/GroupsApi
24961
- * @version 180.0.0
24944
+ * @version 182.0.0
24962
24945
  */
24963
24946
 
24964
24947
  /**
@@ -25477,7 +25460,7 @@ class IdentityProviderApi {
25477
25460
  /**
25478
25461
  * IdentityProvider service.
25479
25462
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
25480
- * @version 180.0.0
25463
+ * @version 182.0.0
25481
25464
  */
25482
25465
 
25483
25466
  /**
@@ -26233,7 +26216,7 @@ class InfrastructureAsCodeApi {
26233
26216
  /**
26234
26217
  * InfrastructureAsCode service.
26235
26218
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
26236
- * @version 180.0.0
26219
+ * @version 182.0.0
26237
26220
  */
26238
26221
 
26239
26222
  /**
@@ -26400,7 +26383,7 @@ class IntegrationsApi {
26400
26383
  /**
26401
26384
  * Integrations service.
26402
26385
  * @module purecloud-platform-client-v2/api/IntegrationsApi
26403
- * @version 180.0.0
26386
+ * @version 182.0.0
26404
26387
  */
26405
26388
 
26406
26389
  /**
@@ -28362,7 +28345,7 @@ class JourneyApi {
28362
28345
  /**
28363
28346
  * Journey service.
28364
28347
  * @module purecloud-platform-client-v2/api/JourneyApi
28365
- * @version 180.0.0
28348
+ * @version 182.0.0
28366
28349
  */
28367
28350
 
28368
28351
  /**
@@ -28804,6 +28787,48 @@ class JourneyApi {
28804
28787
  );
28805
28788
  }
28806
28789
 
28790
+ /**
28791
+ * Send a ping.
28792
+ *
28793
+ * @param {String} deploymentId The ID of the deployment sending the ping.
28794
+ * @param {String} customerCookieId ID of the customer associated with the ping.
28795
+ * @param {String} sessionId UUID of the customer session. Use the same Session Id for all pings, AppEvents and ActionEvents in the session
28796
+ * @param {Object} opts Optional parameters
28797
+ * @param {String} opts.dl Document Location: 1) Web Page URL if overridden or URL fragment identifier (window.location.hash). OR 2) Application screen name that the ping request was sent from in the app. e.g. 'home' or 'help. Pings without this parameter will not return actions.
28798
+ * @param {String} opts.dt Document Title. A human readable name for the page or screen
28799
+ * @param {String} opts.appNamespace Namespace of the application (e.g. com.genesys.bancodinero). Used for domain filtering in application sessions
28800
+ * @param {Number} opts.sinceLastBeaconMilliseconds How long (milliseconds) since the last app event or beacon was sent. The response may return a pollInternvalMilliseconds to reduce the frequency of pings.
28801
+ */
28802
+ getJourneyDeploymentCustomerPing(deploymentId, customerCookieId, sessionId, opts) {
28803
+ opts = opts || {};
28804
+
28805
+ // verify the required parameter 'deploymentId' is set
28806
+ if (deploymentId === undefined || deploymentId === null) {
28807
+ throw 'Missing the required parameter "deploymentId" when calling getJourneyDeploymentCustomerPing';
28808
+ }
28809
+ // verify the required parameter 'customerCookieId' is set
28810
+ if (customerCookieId === undefined || customerCookieId === null) {
28811
+ throw 'Missing the required parameter "customerCookieId" when calling getJourneyDeploymentCustomerPing';
28812
+ }
28813
+ // verify the required parameter 'sessionId' is set
28814
+ if (sessionId === undefined || sessionId === null) {
28815
+ throw 'Missing the required parameter "sessionId" when calling getJourneyDeploymentCustomerPing';
28816
+ }
28817
+
28818
+ return this.apiClient.callApi(
28819
+ '/api/v2/journey/deployments/{deploymentId}/customers/{customerCookieId}/ping',
28820
+ 'GET',
28821
+ { 'deploymentId': deploymentId,'customerCookieId': customerCookieId },
28822
+ { 'dl': opts['dl'],'dt': opts['dt'],'appNamespace': opts['appNamespace'],'sessionId': sessionId,'sinceLastBeaconMilliseconds': opts['sinceLastBeaconMilliseconds'] },
28823
+ { },
28824
+ { },
28825
+ null,
28826
+ ['PureCloud OAuth'],
28827
+ ['application/json'],
28828
+ ['application/json']
28829
+ );
28830
+ }
28831
+
28807
28832
  /**
28808
28833
  * Retrieve a single outcome.
28809
28834
  *
@@ -29393,13 +29418,42 @@ class JourneyApi {
29393
29418
  );
29394
29419
  }
29395
29420
 
29421
+ /**
29422
+ * Sends an action event, which is used for changing the state of actions that have been offered to the user.
29423
+ *
29424
+ * @param {String} deploymentId The ID of the deployment sending the beacon.
29425
+ * @param {Object} body
29426
+ */
29427
+ postJourneyDeploymentActionevent(deploymentId, body) {
29428
+ // verify the required parameter 'deploymentId' is set
29429
+ if (deploymentId === undefined || deploymentId === null) {
29430
+ throw 'Missing the required parameter "deploymentId" when calling postJourneyDeploymentActionevent';
29431
+ }
29432
+ // verify the required parameter 'body' is set
29433
+ if (body === undefined || body === null) {
29434
+ throw 'Missing the required parameter "body" when calling postJourneyDeploymentActionevent';
29435
+ }
29436
+
29437
+ return this.apiClient.callApi(
29438
+ '/api/v2/journey/deployments/{deploymentId}/actionevent',
29439
+ 'POST',
29440
+ { 'deploymentId': deploymentId },
29441
+ { },
29442
+ { },
29443
+ { },
29444
+ body,
29445
+ ['PureCloud OAuth'],
29446
+ ['application/json'],
29447
+ ['application/json']
29448
+ );
29449
+ }
29450
+
29396
29451
  /**
29397
29452
  * Send a journey app event, used for tracking customer activity on an application.
29398
29453
  *
29399
29454
  * @param {String} deploymentId The ID of the deployment sending the app event.
29400
29455
  * @param {Object} opts Optional parameters
29401
29456
  * @param {Object} opts.body
29402
- * postJourneyDeploymentAppevents is a preview method and is subject to both breaking and non-breaking changes at any time without notice
29403
29457
  */
29404
29458
  postJourneyDeploymentAppevents(deploymentId, opts) {
29405
29459
  opts = opts || {};
@@ -29526,7 +29580,7 @@ class KnowledgeApi {
29526
29580
  /**
29527
29581
  * Knowledge service.
29528
29582
  * @module purecloud-platform-client-v2/api/KnowledgeApi
29529
- * @version 180.0.0
29583
+ * @version 182.0.0
29530
29584
  */
29531
29585
 
29532
29586
  /**
@@ -32347,7 +32401,7 @@ class LanguageUnderstandingApi {
32347
32401
  /**
32348
32402
  * LanguageUnderstanding service.
32349
32403
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
32350
- * @version 180.0.0
32404
+ * @version 182.0.0
32351
32405
  */
32352
32406
 
32353
32407
  /**
@@ -33360,7 +33414,7 @@ class LanguagesApi {
33360
33414
  /**
33361
33415
  * Languages service.
33362
33416
  * @module purecloud-platform-client-v2/api/LanguagesApi
33363
- * @version 180.0.0
33417
+ * @version 182.0.0
33364
33418
  */
33365
33419
 
33366
33420
  /**
@@ -33582,7 +33636,7 @@ class LearningApi {
33582
33636
  /**
33583
33637
  * Learning service.
33584
33638
  * @module purecloud-platform-client-v2/api/LearningApi
33585
- * @version 180.0.0
33639
+ * @version 182.0.0
33586
33640
  */
33587
33641
 
33588
33642
  /**
@@ -34401,7 +34455,7 @@ class LicenseApi {
34401
34455
  /**
34402
34456
  * License service.
34403
34457
  * @module purecloud-platform-client-v2/api/LicenseApi
34404
- * @version 180.0.0
34458
+ * @version 182.0.0
34405
34459
  */
34406
34460
 
34407
34461
  /**
@@ -34639,7 +34693,7 @@ class LocationsApi {
34639
34693
  /**
34640
34694
  * Locations service.
34641
34695
  * @module purecloud-platform-client-v2/api/LocationsApi
34642
- * @version 180.0.0
34696
+ * @version 182.0.0
34643
34697
  */
34644
34698
 
34645
34699
  /**
@@ -34875,7 +34929,7 @@ class MessagingApi {
34875
34929
  /**
34876
34930
  * Messaging service.
34877
34931
  * @module purecloud-platform-client-v2/api/MessagingApi
34878
- * @version 180.0.0
34932
+ * @version 182.0.0
34879
34933
  */
34880
34934
 
34881
34935
  /**
@@ -35234,7 +35288,7 @@ class MobileDevicesApi {
35234
35288
  /**
35235
35289
  * MobileDevices service.
35236
35290
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
35237
- * @version 180.0.0
35291
+ * @version 182.0.0
35238
35292
  */
35239
35293
 
35240
35294
  /**
@@ -35385,7 +35439,7 @@ class NotificationsApi {
35385
35439
  /**
35386
35440
  * Notifications service.
35387
35441
  * @module purecloud-platform-client-v2/api/NotificationsApi
35388
- * @version 180.0.0
35442
+ * @version 182.0.0
35389
35443
  */
35390
35444
 
35391
35445
  /**
@@ -35618,7 +35672,7 @@ class OAuthApi {
35618
35672
  /**
35619
35673
  * OAuth service.
35620
35674
  * @module purecloud-platform-client-v2/api/OAuthApi
35621
- * @version 180.0.0
35675
+ * @version 182.0.0
35622
35676
  */
35623
35677
 
35624
35678
  /**
@@ -35984,7 +36038,7 @@ class ObjectsApi {
35984
36038
  /**
35985
36039
  * Objects service.
35986
36040
  * @module purecloud-platform-client-v2/api/ObjectsApi
35987
- * @version 180.0.0
36041
+ * @version 182.0.0
35988
36042
  */
35989
36043
 
35990
36044
  /**
@@ -36251,11 +36305,77 @@ class ObjectsApi {
36251
36305
 
36252
36306
  }
36253
36307
 
36308
+ class OperationalEventsApi {
36309
+ /**
36310
+ * OperationalEvents service.
36311
+ * @module purecloud-platform-client-v2/api/OperationalEventsApi
36312
+ * @version 182.0.0
36313
+ */
36314
+
36315
+ /**
36316
+ * Constructs a new OperationalEventsApi.
36317
+ * @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
36318
+ * @class
36319
+ * @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
36320
+ * default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
36321
+ */
36322
+ constructor(apiClient) {
36323
+ this.apiClient = apiClient || ApiClient.instance;
36324
+ }
36325
+
36326
+
36327
+ /**
36328
+ * Get an operational event definition by its id
36329
+ *
36330
+ * @param {String} eventDefinitionId EventDefinition id
36331
+ */
36332
+ getUsageEventsDefinition(eventDefinitionId) {
36333
+ // verify the required parameter 'eventDefinitionId' is set
36334
+ if (eventDefinitionId === undefined || eventDefinitionId === null) {
36335
+ throw 'Missing the required parameter "eventDefinitionId" when calling getUsageEventsDefinition';
36336
+ }
36337
+
36338
+ return this.apiClient.callApi(
36339
+ '/api/v2/usage/events/definitions/{eventDefinitionId}',
36340
+ 'GET',
36341
+ { 'eventDefinitionId': eventDefinitionId },
36342
+ { },
36343
+ { },
36344
+ { },
36345
+ null,
36346
+ ['PureCloud OAuth'],
36347
+ ['application/json'],
36348
+ ['application/json']
36349
+ );
36350
+ }
36351
+
36352
+ /**
36353
+ * Get all operational event definitions
36354
+ *
36355
+ */
36356
+ getUsageEventsDefinitions() {
36357
+
36358
+ return this.apiClient.callApi(
36359
+ '/api/v2/usage/events/definitions',
36360
+ 'GET',
36361
+ { },
36362
+ { },
36363
+ { },
36364
+ { },
36365
+ null,
36366
+ ['PureCloud OAuth'],
36367
+ ['application/json'],
36368
+ ['application/json']
36369
+ );
36370
+ }
36371
+
36372
+ }
36373
+
36254
36374
  class OrganizationApi {
36255
36375
  /**
36256
36376
  * Organization service.
36257
36377
  * @module purecloud-platform-client-v2/api/OrganizationApi
36258
- * @version 180.0.0
36378
+ * @version 182.0.0
36259
36379
  */
36260
36380
 
36261
36381
  /**
@@ -36710,7 +36830,7 @@ class OrganizationAuthorizationApi {
36710
36830
  /**
36711
36831
  * OrganizationAuthorization service.
36712
36832
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
36713
- * @version 180.0.0
36833
+ * @version 182.0.0
36714
36834
  */
36715
36835
 
36716
36836
  /**
@@ -38057,7 +38177,7 @@ class OutboundApi {
38057
38177
  /**
38058
38178
  * Outbound service.
38059
38179
  * @module purecloud-platform-client-v2/api/OutboundApi
38060
- * @version 180.0.0
38180
+ * @version 182.0.0
38061
38181
  */
38062
38182
 
38063
38183
  /**
@@ -41679,7 +41799,7 @@ class PresenceApi {
41679
41799
  /**
41680
41800
  * Presence service.
41681
41801
  * @module purecloud-platform-client-v2/api/PresenceApi
41682
- * @version 180.0.0
41802
+ * @version 182.0.0
41683
41803
  */
41684
41804
 
41685
41805
  /**
@@ -41774,9 +41894,13 @@ class PresenceApi {
41774
41894
  * Get a Presence Definition
41775
41895
  *
41776
41896
  * @param {String} definitionId Presence Definition ID
41897
+ * @param {Object} opts Optional parameters
41898
+ * @param {Object} opts.localeCode The locale code to fetch for the presence definition. Use ALL to fetch everything.
41777
41899
  * getPresenceDefinition is a preview method and is subject to both breaking and non-breaking changes at any time without notice
41778
41900
  */
41779
- getPresenceDefinition0(definitionId) {
41901
+ getPresenceDefinition0(definitionId, opts) {
41902
+ opts = opts || {};
41903
+
41780
41904
  // verify the required parameter 'definitionId' is set
41781
41905
  if (definitionId === undefined || definitionId === null) {
41782
41906
  throw 'Missing the required parameter "definitionId" when calling getPresenceDefinition0';
@@ -41786,7 +41910,7 @@ class PresenceApi {
41786
41910
  '/api/v2/presence/definitions/{definitionId}',
41787
41911
  'GET',
41788
41912
  { 'definitionId': definitionId },
41789
- { },
41913
+ { 'localeCode': opts['localeCode'] },
41790
41914
  { },
41791
41915
  { },
41792
41916
  null,
@@ -41802,6 +41926,7 @@ class PresenceApi {
41802
41926
  * @param {Object} opts Optional parameters
41803
41927
  * @param {String} opts.deactivated Deactivated query can be TRUE or FALSE (default to false)
41804
41928
  * @param {Array.<String>} opts.divisionId One or more division IDs. If nothing is provided, the definitions associated withthe list of divisions that the user has access to will be returned.
41929
+ * @param {Object} opts.localeCode The locale code to fetch for the presence definition. Use ALL to fetch everything.
41805
41930
  * getPresenceDefinitions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
41806
41931
  */
41807
41932
  getPresenceDefinitions0(opts) {
@@ -41812,7 +41937,7 @@ class PresenceApi {
41812
41937
  '/api/v2/presence/definitions',
41813
41938
  'GET',
41814
41939
  { },
41815
- { 'deactivated': opts['deactivated'],'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi') },
41940
+ { 'deactivated': opts['deactivated'],'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi'),'localeCode': opts['localeCode'] },
41816
41941
  { },
41817
41942
  { },
41818
41943
  null,
@@ -42418,7 +42543,7 @@ class ProcessAutomationApi {
42418
42543
  /**
42419
42544
  * ProcessAutomation service.
42420
42545
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
42421
- * @version 180.0.0
42546
+ * @version 182.0.0
42422
42547
  */
42423
42548
 
42424
42549
  /**
@@ -42657,7 +42782,7 @@ class QualityApi {
42657
42782
  /**
42658
42783
  * Quality service.
42659
42784
  * @module purecloud-platform-client-v2/api/QualityApi
42660
- * @version 180.0.0
42785
+ * @version 182.0.0
42661
42786
  */
42662
42787
 
42663
42788
  /**
@@ -43366,7 +43491,7 @@ class QualityApi {
43366
43491
 
43367
43492
  /**
43368
43493
  * Get the list of evaluation forms
43369
- *
43494
+ * By default, "published" field is always returned as false for all evaluation forms. If you set "expand=publishHistory", then you will be able to get published versions for each corresponding evaluation form. In addition, "questionGroups", the detailed information about evaluation form, is not returned by default. We will enhance this field in the future release.
43370
43495
  * @param {Object} opts Optional parameters
43371
43496
  * @param {Number} opts.pageSize The total page size requested (default to 25)
43372
43497
  * @param {Number} opts.pageNumber The page number requested (default to 1)
@@ -44411,7 +44536,7 @@ class RecordingApi {
44411
44536
  /**
44412
44537
  * Recording service.
44413
44538
  * @module purecloud-platform-client-v2/api/RecordingApi
44414
- * @version 180.0.0
44539
+ * @version 182.0.0
44415
44540
  */
44416
44541
 
44417
44542
  /**
@@ -46048,7 +46173,7 @@ class ResponseManagementApi {
46048
46173
  /**
46049
46174
  * ResponseManagement service.
46050
46175
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
46051
- * @version 180.0.0
46176
+ * @version 182.0.0
46052
46177
  */
46053
46178
 
46054
46179
  /**
@@ -46533,7 +46658,7 @@ class RoutingApi {
46533
46658
  /**
46534
46659
  * Routing service.
46535
46660
  * @module purecloud-platform-client-v2/api/RoutingApi
46536
- * @version 180.0.0
46661
+ * @version 182.0.0
46537
46662
  */
46538
46663
 
46539
46664
  /**
@@ -50241,7 +50366,7 @@ class SCIMApi {
50241
50366
  /**
50242
50367
  * SCIM service.
50243
50368
  * @module purecloud-platform-client-v2/api/SCIMApi
50244
- * @version 180.0.0
50369
+ * @version 182.0.0
50245
50370
  */
50246
50371
 
50247
50372
  /**
@@ -51118,7 +51243,7 @@ class ScriptsApi {
51118
51243
  /**
51119
51244
  * Scripts service.
51120
51245
  * @module purecloud-platform-client-v2/api/ScriptsApi
51121
- * @version 180.0.0
51246
+ * @version 182.0.0
51122
51247
  */
51123
51248
 
51124
51249
  /**
@@ -51562,7 +51687,7 @@ class SearchApi {
51562
51687
  /**
51563
51688
  * Search service.
51564
51689
  * @module purecloud-platform-client-v2/api/SearchApi
51565
- * @version 180.0.0
51690
+ * @version 182.0.0
51566
51691
  */
51567
51692
 
51568
51693
  /**
@@ -52251,7 +52376,7 @@ class SettingsApi {
52251
52376
  /**
52252
52377
  * Settings service.
52253
52378
  * @module purecloud-platform-client-v2/api/SettingsApi
52254
- * @version 180.0.0
52379
+ * @version 182.0.0
52255
52380
  */
52256
52381
 
52257
52382
  /**
@@ -52316,7 +52441,7 @@ class SpeechTextAnalyticsApi {
52316
52441
  /**
52317
52442
  * SpeechTextAnalytics service.
52318
52443
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
52319
- * @version 180.0.0
52444
+ * @version 182.0.0
52320
52445
  */
52321
52446
 
52322
52447
  /**
@@ -53429,7 +53554,7 @@ class StationsApi {
53429
53554
  /**
53430
53555
  * Stations service.
53431
53556
  * @module purecloud-platform-client-v2/api/StationsApi
53432
- * @version 180.0.0
53557
+ * @version 182.0.0
53433
53558
  */
53434
53559
 
53435
53560
  /**
@@ -53531,7 +53656,7 @@ class SuggestApi {
53531
53656
  /**
53532
53657
  * Suggest service.
53533
53658
  * @module purecloud-platform-client-v2/api/SuggestApi
53534
- * @version 180.0.0
53659
+ * @version 182.0.0
53535
53660
  */
53536
53661
 
53537
53662
  /**
@@ -53670,7 +53795,7 @@ class TaskManagementApi {
53670
53795
  /**
53671
53796
  * TaskManagement service.
53672
53797
  * @module purecloud-platform-client-v2/api/TaskManagementApi
53673
- * @version 180.0.0
53798
+ * @version 182.0.0
53674
53799
  */
53675
53800
 
53676
53801
  /**
@@ -54951,7 +55076,7 @@ class TeamsApi {
54951
55076
  /**
54952
55077
  * Teams service.
54953
55078
  * @module purecloud-platform-client-v2/api/TeamsApi
54954
- * @version 180.0.0
55079
+ * @version 182.0.0
54955
55080
  */
54956
55081
 
54957
55082
  /**
@@ -55253,7 +55378,7 @@ class TelephonyApi {
55253
55378
  /**
55254
55379
  * Telephony service.
55255
55380
  * @module purecloud-platform-client-v2/api/TelephonyApi
55256
- * @version 180.0.0
55381
+ * @version 182.0.0
55257
55382
  */
55258
55383
 
55259
55384
  /**
@@ -55437,7 +55562,7 @@ class TelephonyProvidersEdgeApi {
55437
55562
  /**
55438
55563
  * TelephonyProvidersEdge service.
55439
55564
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
55440
- * @version 180.0.0
55565
+ * @version 182.0.0
55441
55566
  */
55442
55567
 
55443
55568
  /**
@@ -57361,6 +57486,31 @@ class TelephonyProvidersEdgeApi {
57361
57486
  );
57362
57487
  }
57363
57488
 
57489
+ /**
57490
+ * Get site connections for a site.
57491
+ *
57492
+ * @param {String} siteId Site ID
57493
+ */
57494
+ getTelephonyProvidersEdgesSiteSiteconnections(siteId) {
57495
+ // verify the required parameter 'siteId' is set
57496
+ if (siteId === undefined || siteId === null) {
57497
+ throw 'Missing the required parameter "siteId" when calling getTelephonyProvidersEdgesSiteSiteconnections';
57498
+ }
57499
+
57500
+ return this.apiClient.callApi(
57501
+ '/api/v2/telephony/providers/edges/sites/{siteId}/siteconnections',
57502
+ 'GET',
57503
+ { 'siteId': siteId },
57504
+ { },
57505
+ { },
57506
+ { },
57507
+ null,
57508
+ ['PureCloud OAuth'],
57509
+ ['application/json'],
57510
+ ['application/json']
57511
+ );
57512
+ }
57513
+
57364
57514
  /**
57365
57515
  * Get the list of Sites.
57366
57516
  *
@@ -57657,6 +57807,36 @@ class TelephonyProvidersEdgeApi {
57657
57807
  );
57658
57808
  }
57659
57809
 
57810
+ /**
57811
+ * Disable site connections for a site.
57812
+ *
57813
+ * @param {String} siteId Site ID
57814
+ * @param {Object} body Site
57815
+ */
57816
+ patchTelephonyProvidersEdgesSiteSiteconnections(siteId, body) {
57817
+ // verify the required parameter 'siteId' is set
57818
+ if (siteId === undefined || siteId === null) {
57819
+ throw 'Missing the required parameter "siteId" when calling patchTelephonyProvidersEdgesSiteSiteconnections';
57820
+ }
57821
+ // verify the required parameter 'body' is set
57822
+ if (body === undefined || body === null) {
57823
+ throw 'Missing the required parameter "body" when calling patchTelephonyProvidersEdgesSiteSiteconnections';
57824
+ }
57825
+
57826
+ return this.apiClient.callApi(
57827
+ '/api/v2/telephony/providers/edges/sites/{siteId}/siteconnections',
57828
+ 'PATCH',
57829
+ { 'siteId': siteId },
57830
+ { },
57831
+ { },
57832
+ { },
57833
+ body,
57834
+ ['PureCloud OAuth'],
57835
+ ['application/json'],
57836
+ ['application/json']
57837
+ );
57838
+ }
57839
+
57660
57840
  /**
57661
57841
  * Nslookup request command to collect networking-related information from an Edge for a target IP or host.
57662
57842
  *
@@ -58690,6 +58870,36 @@ class TelephonyProvidersEdgeApi {
58690
58870
  );
58691
58871
  }
58692
58872
 
58873
+ /**
58874
+ * Update site connections for a site.
58875
+ *
58876
+ * @param {String} siteId Site ID
58877
+ * @param {Object} body Site
58878
+ */
58879
+ putTelephonyProvidersEdgesSiteSiteconnections(siteId, body) {
58880
+ // verify the required parameter 'siteId' is set
58881
+ if (siteId === undefined || siteId === null) {
58882
+ throw 'Missing the required parameter "siteId" when calling putTelephonyProvidersEdgesSiteSiteconnections';
58883
+ }
58884
+ // verify the required parameter 'body' is set
58885
+ if (body === undefined || body === null) {
58886
+ throw 'Missing the required parameter "body" when calling putTelephonyProvidersEdgesSiteSiteconnections';
58887
+ }
58888
+
58889
+ return this.apiClient.callApi(
58890
+ '/api/v2/telephony/providers/edges/sites/{siteId}/siteconnections',
58891
+ 'PUT',
58892
+ { 'siteId': siteId },
58893
+ { },
58894
+ { },
58895
+ { },
58896
+ body,
58897
+ ['PureCloud OAuth'],
58898
+ ['application/json'],
58899
+ ['application/json']
58900
+ );
58901
+ }
58902
+
58693
58903
  /**
58694
58904
  * Update a Trunk Base Settings object by ID
58695
58905
  *
@@ -58726,7 +58936,7 @@ class TextbotsApi {
58726
58936
  /**
58727
58937
  * Textbots service.
58728
58938
  * @module purecloud-platform-client-v2/api/TextbotsApi
58729
- * @version 180.0.0
58939
+ * @version 182.0.0
58730
58940
  */
58731
58941
 
58732
58942
  /**
@@ -58854,7 +59064,7 @@ class TokensApi {
58854
59064
  /**
58855
59065
  * Tokens service.
58856
59066
  * @module purecloud-platform-client-v2/api/TokensApi
58857
- * @version 180.0.0
59067
+ * @version 182.0.0
58858
59068
  */
58859
59069
 
58860
59070
  /**
@@ -59010,7 +59220,7 @@ class UploadsApi {
59010
59220
  /**
59011
59221
  * Uploads service.
59012
59222
  * @module purecloud-platform-client-v2/api/UploadsApi
59013
- * @version 180.0.0
59223
+ * @version 182.0.0
59014
59224
  */
59015
59225
 
59016
59226
  /**
@@ -59186,7 +59396,7 @@ class UsageApi {
59186
59396
  /**
59187
59397
  * Usage service.
59188
59398
  * @module purecloud-platform-client-v2/api/UsageApi
59189
- * @version 180.0.0
59399
+ * @version 182.0.0
59190
59400
  */
59191
59401
 
59192
59402
  /**
@@ -59396,7 +59606,7 @@ class UserRecordingsApi {
59396
59606
  /**
59397
59607
  * UserRecordings service.
59398
59608
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
59399
- * @version 180.0.0
59609
+ * @version 182.0.0
59400
59610
  */
59401
59611
 
59402
59612
  /**
@@ -59581,7 +59791,7 @@ class UsersApi {
59581
59791
  /**
59582
59792
  * Users service.
59583
59793
  * @module purecloud-platform-client-v2/api/UsersApi
59584
- * @version 180.0.0
59794
+ * @version 182.0.0
59585
59795
  */
59586
59796
 
59587
59797
  /**
@@ -59816,6 +60026,36 @@ class UsersApi {
59816
60026
  );
59817
60027
  }
59818
60028
 
60029
+ /**
60030
+ * Delete a verifier
60031
+ *
60032
+ * @param {String} userId User ID
60033
+ * @param {String} verifierId Verifier ID
60034
+ */
60035
+ deleteUserVerifier(userId, verifierId) {
60036
+ // verify the required parameter 'userId' is set
60037
+ if (userId === undefined || userId === null) {
60038
+ throw 'Missing the required parameter "userId" when calling deleteUserVerifier';
60039
+ }
60040
+ // verify the required parameter 'verifierId' is set
60041
+ if (verifierId === undefined || verifierId === null) {
60042
+ throw 'Missing the required parameter "verifierId" when calling deleteUserVerifier';
60043
+ }
60044
+
60045
+ return this.apiClient.callApi(
60046
+ '/api/v2/users/{userId}/verifiers/{verifierId}',
60047
+ 'DELETE',
60048
+ { 'userId': userId,'verifierId': verifierId },
60049
+ { },
60050
+ { },
60051
+ { },
60052
+ null,
60053
+ ['PureCloud OAuth'],
60054
+ ['application/json'],
60055
+ ['application/json']
60056
+ );
60057
+ }
60058
+
59819
60059
  /**
59820
60060
  * Get status for async query for user aggregates
59821
60061
  *
@@ -60712,6 +60952,31 @@ class UsersApi {
60712
60952
  );
60713
60953
  }
60714
60954
 
60955
+ /**
60956
+ * Get a list of verifiers
60957
+ *
60958
+ * @param {String} userId User ID
60959
+ */
60960
+ getUserVerifiers(userId) {
60961
+ // verify the required parameter 'userId' is set
60962
+ if (userId === undefined || userId === null) {
60963
+ throw 'Missing the required parameter "userId" when calling getUserVerifiers';
60964
+ }
60965
+
60966
+ return this.apiClient.callApi(
60967
+ '/api/v2/users/{userId}/verifiers',
60968
+ 'GET',
60969
+ { 'userId': userId },
60970
+ { },
60971
+ { },
60972
+ { },
60973
+ null,
60974
+ ['PureCloud OAuth'],
60975
+ ['application/json'],
60976
+ ['application/json']
60977
+ );
60978
+ }
60979
+
60715
60980
  /**
60716
60981
  * Get the list of available users.
60717
60982
  *
@@ -61157,7 +61422,7 @@ class UsersApi {
61157
61422
  }
61158
61423
 
61159
61424
  /**
61160
- * Update bulk acd autoanswer on users
61425
+ * Update bulk acd autoanswer on users. Max 50 users can be updated at a time.
61161
61426
  *
61162
61427
  * @param {Array.<Object>} body Users
61163
61428
  */
@@ -62136,13 +62401,48 @@ class UsersApi {
62136
62401
  );
62137
62402
  }
62138
62403
 
62404
+ /**
62405
+ * Update a verifier
62406
+ *
62407
+ * @param {String} userId User ID
62408
+ * @param {String} verifierId Verifier ID
62409
+ * @param {Object} body Verifier Update
62410
+ */
62411
+ putUserVerifier(userId, verifierId, body) {
62412
+ // verify the required parameter 'userId' is set
62413
+ if (userId === undefined || userId === null) {
62414
+ throw 'Missing the required parameter "userId" when calling putUserVerifier';
62415
+ }
62416
+ // verify the required parameter 'verifierId' is set
62417
+ if (verifierId === undefined || verifierId === null) {
62418
+ throw 'Missing the required parameter "verifierId" when calling putUserVerifier';
62419
+ }
62420
+ // verify the required parameter 'body' is set
62421
+ if (body === undefined || body === null) {
62422
+ throw 'Missing the required parameter "body" when calling putUserVerifier';
62423
+ }
62424
+
62425
+ return this.apiClient.callApi(
62426
+ '/api/v2/users/{userId}/verifiers/{verifierId}',
62427
+ 'PUT',
62428
+ { 'userId': userId,'verifierId': verifierId },
62429
+ { },
62430
+ { },
62431
+ { },
62432
+ body,
62433
+ ['PureCloud OAuth'],
62434
+ ['application/json'],
62435
+ ['application/json']
62436
+ );
62437
+ }
62438
+
62139
62439
  }
62140
62440
 
62141
62441
  class UtilitiesApi {
62142
62442
  /**
62143
62443
  * Utilities service.
62144
62444
  * @module purecloud-platform-client-v2/api/UtilitiesApi
62145
- * @version 180.0.0
62445
+ * @version 182.0.0
62146
62446
  */
62147
62447
 
62148
62448
  /**
@@ -62253,7 +62553,7 @@ class VoicemailApi {
62253
62553
  /**
62254
62554
  * Voicemail service.
62255
62555
  * @module purecloud-platform-client-v2/api/VoicemailApi
62256
- * @version 180.0.0
62556
+ * @version 182.0.0
62257
62557
  */
62258
62558
 
62259
62559
  /**
@@ -62920,7 +63220,7 @@ class WebChatApi {
62920
63220
  /**
62921
63221
  * WebChat service.
62922
63222
  * @module purecloud-platform-client-v2/api/WebChatApi
62923
- * @version 180.0.0
63223
+ * @version 182.0.0
62924
63224
  */
62925
63225
 
62926
63226
  /**
@@ -63469,7 +63769,7 @@ class WebDeploymentsApi {
63469
63769
  /**
63470
63770
  * WebDeployments service.
63471
63771
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
63472
- * @version 180.0.0
63772
+ * @version 182.0.0
63473
63773
  */
63474
63774
 
63475
63775
  /**
@@ -63996,7 +64296,7 @@ class WebMessagingApi {
63996
64296
  /**
63997
64297
  * WebMessaging service.
63998
64298
  * @module purecloud-platform-client-v2/api/WebMessagingApi
63999
- * @version 180.0.0
64299
+ * @version 182.0.0
64000
64300
  */
64001
64301
 
64002
64302
  /**
@@ -64042,7 +64342,7 @@ class WidgetsApi {
64042
64342
  /**
64043
64343
  * Widgets service.
64044
64344
  * @module purecloud-platform-client-v2/api/WidgetsApi
64045
- * @version 180.0.0
64345
+ * @version 182.0.0
64046
64346
  */
64047
64347
 
64048
64348
  /**
@@ -64188,7 +64488,7 @@ class WorkforceManagementApi {
64188
64488
  /**
64189
64489
  * WorkforceManagement service.
64190
64490
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
64191
- * @version 180.0.0
64491
+ * @version 182.0.0
64192
64492
  */
64193
64493
 
64194
64494
  /**
@@ -64871,8 +65171,12 @@ class WorkforceManagementApi {
64871
65171
  * Get activity codes
64872
65172
  *
64873
65173
  * @param {String} businessUnitId The ID of the business unit, or 'mine' for the business unit of the logged-in user.
65174
+ * @param {Object} opts Optional parameters
65175
+ * @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
64874
65176
  */
64875
- getWorkforcemanagementBusinessunitActivitycodes(businessUnitId) {
65177
+ getWorkforcemanagementBusinessunitActivitycodes(businessUnitId, opts) {
65178
+ opts = opts || {};
65179
+
64876
65180
  // verify the required parameter 'businessUnitId' is set
64877
65181
  if (businessUnitId === undefined || businessUnitId === null) {
64878
65182
  throw 'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitActivitycodes';
@@ -64882,7 +65186,7 @@ class WorkforceManagementApi {
64882
65186
  '/api/v2/workforcemanagement/businessunits/{businessUnitId}/activitycodes',
64883
65187
  'GET',
64884
65188
  { 'businessUnitId': businessUnitId },
64885
- { },
65189
+ { 'forceDownloadService': opts['forceDownloadService'] },
64886
65190
  { },
64887
65191
  { },
64888
65192
  null,
@@ -66272,6 +66576,7 @@ class WorkforceManagementApi {
66272
66576
  * @param {String} weekDateId The start date of the week schedule in yyyy-MM-dd format. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
66273
66577
  * @param {Object} opts Optional parameters
66274
66578
  * @param {Boolean} opts.evaluateMatches Whether to evaluate the matches for violations (default to true)
66579
+ * @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
66275
66580
  */
66276
66581
  getWorkforcemanagementManagementunitWeekShifttrades(managementUnitId, weekDateId, opts) {
66277
66582
  opts = opts || {};
@@ -66289,7 +66594,7 @@ class WorkforceManagementApi {
66289
66594
  '/api/v2/workforcemanagement/managementunits/{managementUnitId}/weeks/{weekDateId}/shifttrades',
66290
66595
  'GET',
66291
66596
  { 'managementUnitId': managementUnitId,'weekDateId': weekDateId },
66292
- { 'evaluateMatches': opts['evaluateMatches'] },
66597
+ { 'evaluateMatches': opts['evaluateMatches'],'forceDownloadService': opts['forceDownloadService'] },
66293
66598
  { },
66294
66599
  { },
66295
66600
  null,
@@ -68537,6 +68842,7 @@ class WorkforceManagementApi {
68537
68842
  * Request body requires one of the following: User ID is specified, statuses == [Pending] or date range to be specified and less than or equal to 33 days. All other fields are filters
68538
68843
  * @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
68539
68844
  * @param {Object} opts Optional parameters
68845
+ * @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
68540
68846
  * @param {Object} opts.body body
68541
68847
  */
68542
68848
  postWorkforcemanagementManagementunitTimeoffrequestsQuery(managementUnitId, opts) {
@@ -68551,7 +68857,7 @@ class WorkforceManagementApi {
68551
68857
  '/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeoffrequests/query',
68552
68858
  'POST',
68553
68859
  { 'managementUnitId': managementUnitId },
68554
- { },
68860
+ { 'forceDownloadService': opts['forceDownloadService'] },
68555
68861
  { },
68556
68862
  { },
68557
68863
  opts['body'],
@@ -68775,8 +69081,12 @@ class WorkforceManagementApi {
68775
69081
  * @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
68776
69082
  * @param {String} weekDateId The start date of the week schedule in yyyy-MM-dd format. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
68777
69083
  * @param {Object} body body
69084
+ * @param {Object} opts Optional parameters
69085
+ * @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
68778
69086
  */
68779
- postWorkforcemanagementManagementunitWeekShifttradesSearch(managementUnitId, weekDateId, body) {
69087
+ postWorkforcemanagementManagementunitWeekShifttradesSearch(managementUnitId, weekDateId, body, opts) {
69088
+ opts = opts || {};
69089
+
68780
69090
  // verify the required parameter 'managementUnitId' is set
68781
69091
  if (managementUnitId === undefined || managementUnitId === null) {
68782
69092
  throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitWeekShifttradesSearch';
@@ -68794,7 +69104,7 @@ class WorkforceManagementApi {
68794
69104
  '/api/v2/workforcemanagement/managementunits/{managementUnitId}/weeks/{weekDateId}/shifttrades/search',
68795
69105
  'POST',
68796
69106
  { 'managementUnitId': managementUnitId,'weekDateId': weekDateId },
68797
- { },
69107
+ { 'forceDownloadService': opts['forceDownloadService'] },
68798
69108
  { },
68799
69109
  { },
68800
69110
  body,
@@ -69352,7 +69662,7 @@ class WorkforceManagementApi {
69352
69662
  * </pre>
69353
69663
  * </p>
69354
69664
  * @module purecloud-platform-client-v2/index
69355
- * @version 180.0.0
69665
+ * @version 182.0.0
69356
69666
  */
69357
69667
  class platformClient {
69358
69668
  constructor() {
@@ -69556,6 +69866,11 @@ class platformClient {
69556
69866
  * @property {module:purecloud-platform-client-v2/api/ObjectsApi}
69557
69867
  */
69558
69868
  this.ObjectsApi = ObjectsApi;
69869
+ /**
69870
+ * The OperationalEventsApi service constructor.
69871
+ * @property {module:purecloud-platform-client-v2/api/OperationalEventsApi}
69872
+ */
69873
+ this.OperationalEventsApi = OperationalEventsApi;
69559
69874
  /**
69560
69875
  * The OrganizationApi service constructor.
69561
69876
  * @property {module:purecloud-platform-client-v2/api/OrganizationApi}