purecloud-platform-client-v2 251.2.0 → 252.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 (97) hide show
  1. package/README.md +3 -3
  2. package/dist/node/purecloud-platform-client-v2.js +392 -125
  3. package/dist/web-amd/purecloud-platform-client-v2.js +392 -125
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +25682 -25547
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +25682 -25547
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +312 -94
  9. package/package.json +2 -1
  10. package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
  11. package/src/purecloud-platform-client-v2/api/AIStudioApi.js +1 -1
  12. package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +1 -1
  13. package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +1 -1
  14. package/src/purecloud-platform-client-v2/api/AgentUIApi.js +1 -1
  15. package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
  16. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
  17. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +38 -2
  18. package/src/purecloud-platform-client-v2/api/AssistantCopilotVariationsApi.js +1 -1
  19. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
  21. package/src/purecloud-platform-client-v2/api/BackgroundAssistantApi.js +1 -1
  22. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/BusinessRulesApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/CaseManagementApi.js +32 -1
  26. package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +72 -1
  30. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/EventsApi.js +32 -1
  36. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/IntentsApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/JourneyApi.js +49 -33
  49. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +4 -2
  50. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  74. package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  78. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  79. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +2 -2
  80. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  81. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  82. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
  83. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  84. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  85. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  86. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  87. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  88. package/src/purecloud-platform-client-v2/api/UsersApi.js +83 -3
  89. package/src/purecloud-platform-client-v2/api/UsersRulesApi.js +1 -1
  90. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  91. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  92. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  93. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  94. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  95. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  96. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
  97. package/src/purecloud-platform-client-v2/index.js +1 -1
@@ -748,7 +748,7 @@ class Configuration {
748
748
 
749
749
  /**
750
750
  * @module purecloud-platform-client-v2/ApiClient
751
- * @version 251.2.0
751
+ * @version 252.0.0
752
752
  */
753
753
  class ApiClient {
754
754
  /**
@@ -2436,7 +2436,7 @@ class AIStudioApi {
2436
2436
  /**
2437
2437
  * AIStudio service.
2438
2438
  * @module purecloud-platform-client-v2/api/AIStudioApi
2439
- * @version 251.2.0
2439
+ * @version 252.0.0
2440
2440
  */
2441
2441
 
2442
2442
  /**
@@ -3151,7 +3151,7 @@ class AgentAssistantsApi {
3151
3151
  /**
3152
3152
  * AgentAssistants service.
3153
3153
  * @module purecloud-platform-client-v2/api/AgentAssistantsApi
3154
- * @version 251.2.0
3154
+ * @version 252.0.0
3155
3155
  */
3156
3156
 
3157
3157
  /**
@@ -3955,7 +3955,7 @@ class AgentCopilotApi {
3955
3955
  /**
3956
3956
  * AgentCopilot service.
3957
3957
  * @module purecloud-platform-client-v2/api/AgentCopilotApi
3958
- * @version 251.2.0
3958
+ * @version 252.0.0
3959
3959
  */
3960
3960
 
3961
3961
  /**
@@ -4067,7 +4067,7 @@ class AgentUIApi {
4067
4067
  /**
4068
4068
  * AgentUI service.
4069
4069
  * @module purecloud-platform-client-v2/api/AgentUIApi
4070
- * @version 251.2.0
4070
+ * @version 252.0.0
4071
4071
  */
4072
4072
 
4073
4073
  /**
@@ -4218,7 +4218,7 @@ class AlertingApi {
4218
4218
  /**
4219
4219
  * Alerting service.
4220
4220
  * @module purecloud-platform-client-v2/api/AlertingApi
4221
- * @version 251.2.0
4221
+ * @version 252.0.0
4222
4222
  */
4223
4223
 
4224
4224
  /**
@@ -4679,7 +4679,7 @@ class AnalyticsApi {
4679
4679
  /**
4680
4680
  * Analytics service.
4681
4681
  * @module purecloud-platform-client-v2/api/AnalyticsApi
4682
- * @version 251.2.0
4682
+ * @version 252.0.0
4683
4683
  */
4684
4684
 
4685
4685
  /**
@@ -8965,7 +8965,7 @@ class ArchitectApi {
8965
8965
  /**
8966
8966
  * Architect service.
8967
8967
  * @module purecloud-platform-client-v2/api/ArchitectApi
8968
- * @version 251.2.0
8968
+ * @version 252.0.0
8969
8969
  */
8970
8970
 
8971
8971
  /**
@@ -12957,12 +12957,48 @@ class ArchitectApi {
12957
12957
  }
12958
12958
 
12959
12959
  /**
12960
- * Begin an import process for importing rows into a datatable
12960
+ * Begin an import process for importing rows from a CSV file into a datatable. CSV file is uploaded by performing a PUT request against the URL in the returned 'uploadURI' field. Headers for the PUT request must contain all headers contained in the returned 'uploadHeaders' field.
12961
+ * Create an import job for importing rows from a CSV file. The caller can then poll for status of the import using the token returned in the response
12962
+ * @param {String} datatableId id of datatable
12963
+ * @param {Object} body import job information
12964
+ * @param {Object} opts Optional parameters
12965
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
12966
+ */
12967
+ postFlowsDatatableImportCsvJobs(datatableId, body, opts) {
12968
+ opts = opts || {};
12969
+
12970
+ // verify the required parameter 'datatableId' is set
12971
+ if (datatableId === undefined || datatableId === null || datatableId === '') {
12972
+ throw 'Missing the required parameter "datatableId" when calling postFlowsDatatableImportCsvJobs';
12973
+ }
12974
+ // verify the required parameter 'body' is set
12975
+ if (body === undefined || body === null) {
12976
+ throw 'Missing the required parameter "body" when calling postFlowsDatatableImportCsvJobs';
12977
+ }
12978
+
12979
+ return this.apiClient.callApi(
12980
+ '/api/v2/flows/datatables/{datatableId}/import/csv/jobs',
12981
+ 'POST',
12982
+ { 'datatableId': datatableId },
12983
+ { },
12984
+ { },
12985
+ { },
12986
+ body,
12987
+ ['PureCloud OAuth'],
12988
+ ['application/json'],
12989
+ ['application/json'],
12990
+ opts['customHeaders']
12991
+ );
12992
+ }
12993
+
12994
+ /**
12995
+ * Begin an import process for importing rows into a datatable. Apps should migrate to use POST /api/v2/flows/datatables/{datatableId}/import/csv/jobs instead
12961
12996
  * Create an import job for importing rows. The caller can then poll for status of the import using the token returned in the response
12962
12997
  * @param {String} datatableId id of datatable
12963
12998
  * @param {Object} body import job information
12964
12999
  * @param {Object} opts Optional parameters
12965
13000
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
13001
+ * @deprecated
12966
13002
  */
12967
13003
  postFlowsDatatableImportJobs(datatableId, body, opts) {
12968
13004
  opts = opts || {};
@@ -13788,7 +13824,7 @@ class AssistantCopilotVariationsApi {
13788
13824
  /**
13789
13825
  * AssistantCopilotVariations service.
13790
13826
  * @module purecloud-platform-client-v2/api/AssistantCopilotVariationsApi
13791
- * @version 251.2.0
13827
+ * @version 252.0.0
13792
13828
  */
13793
13829
 
13794
13830
  /**
@@ -13984,7 +14020,7 @@ class AuditApi {
13984
14020
  /**
13985
14021
  * Audit service.
13986
14022
  * @module purecloud-platform-client-v2/api/AuditApi
13987
- * @version 251.2.0
14023
+ * @version 252.0.0
13988
14024
  */
13989
14025
 
13990
14026
  /**
@@ -14211,7 +14247,7 @@ class AuthorizationApi {
14211
14247
  /**
14212
14248
  * Authorization service.
14213
14249
  * @module purecloud-platform-client-v2/api/AuthorizationApi
14214
- * @version 251.2.0
14250
+ * @version 252.0.0
14215
14251
  */
14216
14252
 
14217
14253
  /**
@@ -16136,7 +16172,7 @@ class BackgroundAssistantApi {
16136
16172
  /**
16137
16173
  * BackgroundAssistant service.
16138
16174
  * @module purecloud-platform-client-v2/api/BackgroundAssistantApi
16139
- * @version 251.2.0
16175
+ * @version 252.0.0
16140
16176
  */
16141
16177
 
16142
16178
  /**
@@ -16210,7 +16246,7 @@ class BillingApi {
16210
16246
  /**
16211
16247
  * Billing service.
16212
16248
  * @module purecloud-platform-client-v2/api/BillingApi
16213
- * @version 251.2.0
16249
+ * @version 252.0.0
16214
16250
  */
16215
16251
 
16216
16252
  /**
@@ -16494,7 +16530,7 @@ class BusinessRulesApi {
16494
16530
  /**
16495
16531
  * BusinessRules service.
16496
16532
  * @module purecloud-platform-client-v2/api/BusinessRulesApi
16497
- * @version 251.2.0
16533
+ * @version 252.0.0
16498
16534
  */
16499
16535
 
16500
16536
  /**
@@ -17508,7 +17544,7 @@ class CarrierServicesApi {
17508
17544
  /**
17509
17545
  * CarrierServices service.
17510
17546
  * @module purecloud-platform-client-v2/api/CarrierServicesApi
17511
- * @version 251.2.0
17547
+ * @version 252.0.0
17512
17548
  */
17513
17549
 
17514
17550
  /**
@@ -17585,7 +17621,7 @@ class CaseManagementApi {
17585
17621
  /**
17586
17622
  * CaseManagement service.
17587
17623
  * @module purecloud-platform-client-v2/api/CaseManagementApi
17588
- * @version 251.2.0
17624
+ * @version 252.0.0
17589
17625
  */
17590
17626
 
17591
17627
  /**
@@ -18747,6 +18783,37 @@ class CaseManagementApi {
18747
18783
  );
18748
18784
  }
18749
18785
 
18786
+ /**
18787
+ * Query for caseplans
18788
+ *
18789
+ * @param {Object} body CaseplanQueryRequest
18790
+ * @param {Object} opts Optional parameters
18791
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
18792
+ * postCasemanagementCaseplansQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
18793
+ */
18794
+ postCasemanagementCaseplansQuery(body, opts) {
18795
+ opts = opts || {};
18796
+
18797
+ // verify the required parameter 'body' is set
18798
+ if (body === undefined || body === null) {
18799
+ throw 'Missing the required parameter "body" when calling postCasemanagementCaseplansQuery';
18800
+ }
18801
+
18802
+ return this.apiClient.callApi(
18803
+ '/api/v2/casemanagement/caseplans/query',
18804
+ 'POST',
18805
+ { },
18806
+ { },
18807
+ { },
18808
+ { },
18809
+ body,
18810
+ ['PureCloud OAuth'],
18811
+ ['application/json'],
18812
+ ['application/json'],
18813
+ opts['customHeaders']
18814
+ );
18815
+ }
18816
+
18750
18817
  /**
18751
18818
  * Create a Case.
18752
18819
  *
@@ -18847,7 +18914,7 @@ class ChatApi {
18847
18914
  /**
18848
18915
  * Chat service.
18849
18916
  * @module purecloud-platform-client-v2/api/ChatApi
18850
- * @version 251.2.0
18917
+ * @version 252.0.0
18851
18918
  */
18852
18919
 
18853
18920
  /**
@@ -19986,7 +20053,7 @@ class CoachingApi {
19986
20053
  /**
19987
20054
  * Coaching service.
19988
20055
  * @module purecloud-platform-client-v2/api/CoachingApi
19989
- * @version 251.2.0
20056
+ * @version 252.0.0
19990
20057
  */
19991
20058
 
19992
20059
  /**
@@ -20700,7 +20767,7 @@ class ContentManagementApi {
20700
20767
  /**
20701
20768
  * ContentManagement service.
20702
20769
  * @module purecloud-platform-client-v2/api/ContentManagementApi
20703
- * @version 251.2.0
20770
+ * @version 252.0.0
20704
20771
  */
20705
20772
 
20706
20773
  /**
@@ -21895,7 +21962,7 @@ class ConversationsApi {
21895
21962
  /**
21896
21963
  * Conversations service.
21897
21964
  * @module purecloud-platform-client-v2/api/ConversationsApi
21898
- * @version 251.2.0
21965
+ * @version 252.0.0
21899
21966
  */
21900
21967
 
21901
21968
  /**
@@ -22783,6 +22850,37 @@ class ConversationsApi {
22783
22850
  );
22784
22851
  }
22785
22852
 
22853
+ /**
22854
+ * Get copilot context values for a conversation.
22855
+ *
22856
+ * @param {String} conversationId Conversation ID.
22857
+ * @param {Object} opts Optional parameters
22858
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
22859
+ * getConversationAssistantCopilotcontext is a preview method and is subject to both breaking and non-breaking changes at any time without notice
22860
+ */
22861
+ getConversationAssistantCopilotcontext(conversationId, opts) {
22862
+ opts = opts || {};
22863
+
22864
+ // verify the required parameter 'conversationId' is set
22865
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
22866
+ throw 'Missing the required parameter "conversationId" when calling getConversationAssistantCopilotcontext';
22867
+ }
22868
+
22869
+ return this.apiClient.callApi(
22870
+ '/api/v2/conversations/{conversationId}/assistant/copilotcontext',
22871
+ 'GET',
22872
+ { 'conversationId': conversationId },
22873
+ { },
22874
+ { },
22875
+ { },
22876
+ null,
22877
+ ['PureCloud OAuth'],
22878
+ ['application/json'],
22879
+ ['application/json'],
22880
+ opts['customHeaders']
22881
+ );
22882
+ }
22883
+
22786
22884
  /**
22787
22885
  * Get checklist info for a single checklist.
22788
22886
  *
@@ -27937,6 +28035,46 @@ class ConversationsApi {
27937
28035
  );
27938
28036
  }
27939
28037
 
28038
+ /**
28039
+ * Update conversation by setting its parking state
28040
+ *
28041
+ * @param {String} conversationId conversationId
28042
+ * @param {String} participantId participantId
28043
+ * @param {Object} body Parking update request
28044
+ * @param {Object} opts Optional parameters
28045
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
28046
+ */
28047
+ patchConversationsMessageParticipantParkingstate(conversationId, participantId, body, opts) {
28048
+ opts = opts || {};
28049
+
28050
+ // verify the required parameter 'conversationId' is set
28051
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
28052
+ throw 'Missing the required parameter "conversationId" when calling patchConversationsMessageParticipantParkingstate';
28053
+ }
28054
+ // verify the required parameter 'participantId' is set
28055
+ if (participantId === undefined || participantId === null || participantId === '') {
28056
+ throw 'Missing the required parameter "participantId" when calling patchConversationsMessageParticipantParkingstate';
28057
+ }
28058
+ // verify the required parameter 'body' is set
28059
+ if (body === undefined || body === null) {
28060
+ throw 'Missing the required parameter "body" when calling patchConversationsMessageParticipantParkingstate';
28061
+ }
28062
+
28063
+ return this.apiClient.callApi(
28064
+ '/api/v2/conversations/messages/{conversationId}/participants/{participantId}/parkingstate',
28065
+ 'PATCH',
28066
+ { 'conversationId': conversationId,'participantId': participantId },
28067
+ { },
28068
+ { },
28069
+ { },
28070
+ body,
28071
+ ['PureCloud OAuth'],
28072
+ ['application/json'],
28073
+ ['application/json'],
28074
+ opts['customHeaders']
28075
+ );
28076
+ }
28077
+
27940
28078
  /**
27941
28079
  * Update an Apple messaging integration
27942
28080
  *
@@ -32930,7 +33068,7 @@ class DataExtensionsApi {
32930
33068
  /**
32931
33069
  * DataExtensions service.
32932
33070
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
32933
- * @version 251.2.0
33071
+ * @version 252.0.0
32934
33072
  */
32935
33073
 
32936
33074
  /**
@@ -33031,7 +33169,7 @@ class DataPrivacyApi {
33031
33169
  /**
33032
33170
  * DataPrivacy service.
33033
33171
  * @module purecloud-platform-client-v2/api/DataPrivacyApi
33034
- * @version 251.2.0
33172
+ * @version 252.0.0
33035
33173
  */
33036
33174
 
33037
33175
  /**
@@ -33228,7 +33366,7 @@ class DownloadsApi {
33228
33366
  /**
33229
33367
  * Downloads service.
33230
33368
  * @module purecloud-platform-client-v2/api/DownloadsApi
33231
- * @version 251.2.0
33369
+ * @version 252.0.0
33232
33370
  */
33233
33371
 
33234
33372
  /**
@@ -33282,7 +33420,7 @@ class EmailsApi {
33282
33420
  /**
33283
33421
  * Emails service.
33284
33422
  * @module purecloud-platform-client-v2/api/EmailsApi
33285
- * @version 251.2.0
33423
+ * @version 252.0.0
33286
33424
  */
33287
33425
 
33288
33426
  /**
@@ -33430,7 +33568,7 @@ class EmployeeEngagementApi {
33430
33568
  /**
33431
33569
  * EmployeeEngagement service.
33432
33570
  * @module purecloud-platform-client-v2/api/EmployeeEngagementApi
33433
- * @version 251.2.0
33571
+ * @version 252.0.0
33434
33572
  */
33435
33573
 
33436
33574
  /**
@@ -33634,7 +33772,7 @@ class EventsApi {
33634
33772
  /**
33635
33773
  * Events service.
33636
33774
  * @module purecloud-platform-client-v2/api/EventsApi
33637
- * @version 251.2.0
33775
+ * @version 252.0.0
33638
33776
  */
33639
33777
 
33640
33778
  /**
@@ -33679,6 +33817,37 @@ class EventsApi {
33679
33817
  );
33680
33818
  }
33681
33819
 
33820
+ /**
33821
+ * Publish Predictive Routing Custom Kpi Attribution Batch Events
33822
+ *
33823
+ * @param {Object} body batchRequest
33824
+ * @param {Object} opts Optional parameters
33825
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
33826
+ * postEventsRoutingCustomkpiattributions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
33827
+ */
33828
+ postEventsRoutingCustomkpiattributions(body, opts) {
33829
+ opts = opts || {};
33830
+
33831
+ // verify the required parameter 'body' is set
33832
+ if (body === undefined || body === null) {
33833
+ throw 'Missing the required parameter "body" when calling postEventsRoutingCustomkpiattributions';
33834
+ }
33835
+
33836
+ return this.apiClient.callApi(
33837
+ '/api/v2/events/routing/customkpiattributions',
33838
+ 'POST',
33839
+ { },
33840
+ { },
33841
+ { },
33842
+ { },
33843
+ body,
33844
+ ['PureCloud OAuth'],
33845
+ ['application/json'],
33846
+ ['application/json'],
33847
+ opts['customHeaders']
33848
+ );
33849
+ }
33850
+
33682
33851
  /**
33683
33852
  * Publish User Presence Status Batch Events
33684
33853
  *
@@ -33745,7 +33914,7 @@ class ExternalContactsApi {
33745
33914
  /**
33746
33915
  * ExternalContacts service.
33747
33916
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
33748
- * @version 251.2.0
33917
+ * @version 252.0.0
33749
33918
  */
33750
33919
 
33751
33920
  /**
@@ -37516,7 +37685,7 @@ class FaxApi {
37516
37685
  /**
37517
37686
  * Fax service.
37518
37687
  * @module purecloud-platform-client-v2/api/FaxApi
37519
- * @version 251.2.0
37688
+ * @version 252.0.0
37520
37689
  */
37521
37690
 
37522
37691
  /**
@@ -37765,7 +37934,7 @@ class FlowsApi {
37765
37934
  /**
37766
37935
  * Flows service.
37767
37936
  * @module purecloud-platform-client-v2/api/FlowsApi
37768
- * @version 251.2.0
37937
+ * @version 252.0.0
37769
37938
  */
37770
37939
 
37771
37940
  /**
@@ -38003,7 +38172,7 @@ class GamificationApi {
38003
38172
  /**
38004
38173
  * Gamification service.
38005
38174
  * @module purecloud-platform-client-v2/api/GamificationApi
38006
- * @version 251.2.0
38175
+ * @version 252.0.0
38007
38176
  */
38008
38177
 
38009
38178
  /**
@@ -40855,7 +41024,7 @@ class GeneralDataProtectionRegulationApi {
40855
41024
  /**
40856
41025
  * GeneralDataProtectionRegulation service.
40857
41026
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
40858
- * @version 251.2.0
41027
+ * @version 252.0.0
40859
41028
  */
40860
41029
 
40861
41030
  /**
@@ -40999,7 +41168,7 @@ class GeolocationApi {
40999
41168
  /**
41000
41169
  * Geolocation service.
41001
41170
  * @module purecloud-platform-client-v2/api/GeolocationApi
41002
- * @version 251.2.0
41171
+ * @version 252.0.0
41003
41172
  */
41004
41173
 
41005
41174
  /**
@@ -41150,7 +41319,7 @@ class GreetingsApi {
41150
41319
  /**
41151
41320
  * Greetings service.
41152
41321
  * @module purecloud-platform-client-v2/api/GreetingsApi
41153
- * @version 251.2.0
41322
+ * @version 252.0.0
41154
41323
  */
41155
41324
 
41156
41325
  /**
@@ -41766,7 +41935,7 @@ class GroupsApi {
41766
41935
  /**
41767
41936
  * Groups service.
41768
41937
  * @module purecloud-platform-client-v2/api/GroupsApi
41769
- * @version 251.2.0
41938
+ * @version 252.0.0
41770
41939
  */
41771
41940
 
41772
41941
  /**
@@ -42357,7 +42526,7 @@ class IdentityProviderApi {
42357
42526
  /**
42358
42527
  * IdentityProvider service.
42359
42528
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
42360
- * @version 251.2.0
42529
+ * @version 252.0.0
42361
42530
  */
42362
42531
 
42363
42532
  /**
@@ -43408,7 +43577,7 @@ class InfrastructureAsCodeApi {
43408
43577
  /**
43409
43578
  * InfrastructureAsCode service.
43410
43579
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
43411
- * @version 251.2.0
43580
+ * @version 252.0.0
43412
43581
  */
43413
43582
 
43414
43583
  /**
@@ -43588,7 +43757,7 @@ class IntegrationsApi {
43588
43757
  /**
43589
43758
  * Integrations service.
43590
43759
  * @module purecloud-platform-client-v2/api/IntegrationsApi
43591
- * @version 251.2.0
43760
+ * @version 252.0.0
43592
43761
  */
43593
43762
 
43594
43763
  /**
@@ -46560,7 +46729,7 @@ class IntentsApi {
46560
46729
  /**
46561
46730
  * Intents service.
46562
46731
  * @module purecloud-platform-client-v2/api/IntentsApi
46563
- * @version 251.2.0
46732
+ * @version 252.0.0
46564
46733
  */
46565
46734
 
46566
46735
  /**
@@ -47092,7 +47261,7 @@ class JourneyApi {
47092
47261
  /**
47093
47262
  * Journey service.
47094
47263
  * @module purecloud-platform-client-v2/api/JourneyApi
47095
- * @version 251.2.0
47264
+ * @version 252.0.0
47096
47265
  */
47097
47266
 
47098
47267
  /**
@@ -47260,11 +47429,12 @@ class JourneyApi {
47260
47429
  }
47261
47430
 
47262
47431
  /**
47263
- * Delete an outcome.
47264
- *
47432
+ * Deprecated. Delete an outcome.
47433
+ * Journey Outcomes is being removed. See https://help.genesys.cloud/announcements/genesys-cloud/deprecation-journey-outcomes/
47265
47434
  * @param {String} outcomeId ID of the outcome.
47266
47435
  * @param {Object} opts Optional parameters
47267
47436
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
47437
+ * @deprecated
47268
47438
  */
47269
47439
  deleteJourneyOutcome(outcomeId, opts) {
47270
47440
  opts = opts || {};
@@ -47290,11 +47460,12 @@ class JourneyApi {
47290
47460
  }
47291
47461
 
47292
47462
  /**
47293
- * Delete an outcome predictor.
47294
- *
47463
+ * Deprecated. Delete an outcome predictor.
47464
+ * Journey Outcomes is being removed. See https://help.genesys.cloud/announcements/genesys-cloud/deprecation-journey-outcomes/
47295
47465
  * @param {String} predictorId ID of predictor
47296
47466
  * @param {Object} opts Optional parameters
47297
47467
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
47468
+ * @deprecated
47298
47469
  */
47299
47470
  deleteJourneyOutcomesPredictor(predictorId, opts) {
47300
47471
  opts = opts || {};
@@ -47601,11 +47772,12 @@ class JourneyApi {
47601
47772
  }
47602
47773
 
47603
47774
  /**
47604
- * Get status of job.
47605
- *
47775
+ * Deprecated. Get status of job.
47776
+ * Journey Outcomes is being removed. See https://help.genesys.cloud/announcements/genesys-cloud/deprecation-journey-outcomes/
47606
47777
  * @param {String} jobId ID of the job.
47607
47778
  * @param {Object} opts Optional parameters
47608
47779
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
47780
+ * @deprecated
47609
47781
  */
47610
47782
  getJourneyActionmapsEstimatesJob(jobId, opts) {
47611
47783
  opts = opts || {};
@@ -47631,11 +47803,12 @@ class JourneyApi {
47631
47803
  }
47632
47804
 
47633
47805
  /**
47634
- * Get estimates from completed job.
47635
- *
47806
+ * Deprecated. Get estimates from completed job.
47807
+ * Journey Outcomes is being removed. See https://help.genesys.cloud/announcements/genesys-cloud/deprecation-journey-outcomes/
47636
47808
  * @param {String} jobId ID of the job.
47637
47809
  * @param {Object} opts Optional parameters
47638
47810
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
47811
+ * @deprecated
47639
47812
  */
47640
47813
  getJourneyActionmapsEstimatesJobResults(jobId, opts) {
47641
47814
  opts = opts || {};
@@ -48077,11 +48250,12 @@ class JourneyApi {
48077
48250
  }
48078
48251
 
48079
48252
  /**
48080
- * Retrieve a single outcome.
48081
- *
48253
+ * Deprecated. Retrieve a single outcome.
48254
+ * Journey Outcomes is being removed. See https://help.genesys.cloud/announcements/genesys-cloud/deprecation-journey-outcomes/
48082
48255
  * @param {String} outcomeId ID of the outcome.
48083
48256
  * @param {Object} opts Optional parameters
48084
48257
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
48258
+ * @deprecated
48085
48259
  */
48086
48260
  getJourneyOutcome(outcomeId, opts) {
48087
48261
  opts = opts || {};
@@ -48107,8 +48281,8 @@ class JourneyApi {
48107
48281
  }
48108
48282
 
48109
48283
  /**
48110
- * Retrieve all outcomes.
48111
- *
48284
+ * Deprecated. Retrieve all outcomes.
48285
+ * Journey Outcomes is being removed. See https://help.genesys.cloud/announcements/genesys-cloud/deprecation-journey-outcomes/
48112
48286
  * @param {Object} opts Optional parameters
48113
48287
  * @param {Number} opts.pageNumber Page number (default to 1)
48114
48288
  * @param {Number} opts.pageSize Page size (default to 25)
@@ -48117,6 +48291,7 @@ class JourneyApi {
48117
48291
  * @param {Array.<String>} opts.queryFields Outcome field(s) to query on. Requires 'queryValue' to also be set.
48118
48292
  * @param {String} opts.queryValue Value to query on using fuzzy matching. Requires 'queryFields' to also be set.
48119
48293
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
48294
+ * @deprecated
48120
48295
  */
48121
48296
  getJourneyOutcomes(opts) {
48122
48297
  opts = opts || {};
@@ -48138,11 +48313,12 @@ class JourneyApi {
48138
48313
  }
48139
48314
 
48140
48315
  /**
48141
- * Get job status.
48142
- *
48316
+ * Deprecated. Get job status.
48317
+ * Journey Outcomes is being removed. See https://help.genesys.cloud/announcements/genesys-cloud/deprecation-journey-outcomes/
48143
48318
  * @param {String} jobId ID of the job.
48144
48319
  * @param {Object} opts Optional parameters
48145
48320
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
48321
+ * @deprecated
48146
48322
  * getJourneyOutcomesAttributionsJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
48147
48323
  */
48148
48324
  getJourneyOutcomesAttributionsJob(jobId, opts) {
@@ -48169,11 +48345,12 @@ class JourneyApi {
48169
48345
  }
48170
48346
 
48171
48347
  /**
48172
- * Get outcome attribution entities from completed job.
48173
- *
48348
+ * Deprecated. Get outcome attribution entities from completed job.
48349
+ * Journey Outcomes is being removed. See https://help.genesys.cloud/announcements/genesys-cloud/deprecation-journey-outcomes/
48174
48350
  * @param {String} jobId ID of the job.
48175
48351
  * @param {Object} opts Optional parameters
48176
48352
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
48353
+ * @deprecated
48177
48354
  * getJourneyOutcomesAttributionsJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
48178
48355
  */
48179
48356
  getJourneyOutcomesAttributionsJobResults(jobId, opts) {
@@ -48200,11 +48377,12 @@ class JourneyApi {
48200
48377
  }
48201
48378
 
48202
48379
  /**
48203
- * Retrieve a single outcome predictor.
48204
- *
48380
+ * Deprecated. Retrieve a single outcome predictor.
48381
+ * Journey Outcomes is being removed. See https://help.genesys.cloud/announcements/genesys-cloud/deprecation-journey-outcomes/
48205
48382
  * @param {String} predictorId ID of predictor
48206
48383
  * @param {Object} opts Optional parameters
48207
48384
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
48385
+ * @deprecated
48208
48386
  */
48209
48387
  getJourneyOutcomesPredictor(predictorId, opts) {
48210
48388
  opts = opts || {};
@@ -48230,10 +48408,11 @@ class JourneyApi {
48230
48408
  }
48231
48409
 
48232
48410
  /**
48233
- * Retrieve all outcome predictors.
48234
- *
48411
+ * Deprecated. Retrieve all outcome predictors.
48412
+ * Journey Outcomes is being removed. See https://help.genesys.cloud/announcements/genesys-cloud/deprecation-journey-outcomes/
48235
48413
  * @param {Object} opts Optional parameters
48236
48414
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
48415
+ * @deprecated
48237
48416
  */
48238
48417
  getJourneyOutcomesPredictors(opts) {
48239
48418
  opts = opts || {};
@@ -48380,11 +48559,12 @@ class JourneyApi {
48380
48559
  }
48381
48560
 
48382
48561
  /**
48383
- * Retrieve latest outcome score associated with a session for all outcomes.
48384
- *
48562
+ * Deprecated. Retrieve latest outcome score associated with a session for all outcomes.
48563
+ * Journey Outcomes is being removed. See https://help.genesys.cloud/announcements/genesys-cloud/deprecation-journey-outcomes/
48385
48564
  * @param {String} sessionId ID of the session.
48386
48565
  * @param {Object} opts Optional parameters
48387
48566
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
48567
+ * @deprecated
48388
48568
  */
48389
48569
  getJourneySessionOutcomescores(sessionId, opts) {
48390
48570
  opts = opts || {};
@@ -49069,12 +49249,13 @@ class JourneyApi {
49069
49249
  }
49070
49250
 
49071
49251
  /**
49072
- * Update an outcome.
49073
- *
49252
+ * Deprecated. Update an outcome.
49253
+ * Journey Outcomes is being removed. See https://help.genesys.cloud/announcements/genesys-cloud/deprecation-journey-outcomes/
49074
49254
  * @param {String} outcomeId ID of the outcome.
49075
49255
  * @param {Object} opts Optional parameters
49076
49256
  * @param {Object} opts.body
49077
49257
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
49258
+ * @deprecated
49078
49259
  */
49079
49260
  patchJourneyOutcome(outcomeId, opts) {
49080
49261
  opts = opts || {};
@@ -49294,11 +49475,12 @@ class JourneyApi {
49294
49475
  }
49295
49476
 
49296
49477
  /**
49297
- * Query for estimates
49298
- *
49478
+ * Deprecated. Query for estimates
49479
+ * Journey Outcomes is being removed. See https://help.genesys.cloud/announcements/genesys-cloud/deprecation-journey-outcomes/
49299
49480
  * @param {Object} body audience estimator request
49300
49481
  * @param {Object} opts Optional parameters
49301
49482
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
49483
+ * @deprecated
49302
49484
  */
49303
49485
  postJourneyActionmapsEstimatesJobs(body, opts) {
49304
49486
  opts = opts || {};
@@ -49560,11 +49742,12 @@ class JourneyApi {
49560
49742
  }
49561
49743
 
49562
49744
  /**
49563
- * Create an outcome.
49564
- *
49745
+ * Deprecated. Create an outcome.
49746
+ * Journey Outcomes is being removed. See https://help.genesys.cloud/announcements/genesys-cloud/deprecation-journey-outcomes/
49565
49747
  * @param {Object} opts Optional parameters
49566
49748
  * @param {Object} opts.body
49567
49749
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
49750
+ * @deprecated
49568
49751
  */
49569
49752
  postJourneyOutcomes(opts) {
49570
49753
  opts = opts || {};
@@ -49586,11 +49769,12 @@ class JourneyApi {
49586
49769
  }
49587
49770
 
49588
49771
  /**
49589
- * Create Outcome Attributions
49590
- *
49772
+ * Deprecated. Create Outcome Attributions
49773
+ * Journey Outcomes is being removed. See https://help.genesys.cloud/announcements/genesys-cloud/deprecation-journey-outcomes/
49591
49774
  * @param {Object} opts Optional parameters
49592
49775
  * @param {Object} opts.body outcome attribution request
49593
49776
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
49777
+ * @deprecated
49594
49778
  * postJourneyOutcomesAttributionsJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
49595
49779
  */
49596
49780
  postJourneyOutcomesAttributionsJobs(opts) {
@@ -49613,11 +49797,12 @@ class JourneyApi {
49613
49797
  }
49614
49798
 
49615
49799
  /**
49616
- * Create an outcome predictor.
49617
- *
49800
+ * Deprecated. Create an outcome predictor.
49801
+ * Journey Outcomes is being removed. See https://help.genesys.cloud/announcements/genesys-cloud/deprecation-journey-outcomes/
49618
49802
  * @param {Object} opts Optional parameters
49619
49803
  * @param {Object} opts.body
49620
49804
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
49805
+ * @deprecated
49621
49806
  */
49622
49807
  postJourneyOutcomesPredictors(opts) {
49623
49808
  opts = opts || {};
@@ -49941,7 +50126,7 @@ class KnowledgeApi {
49941
50126
  /**
49942
50127
  * Knowledge service.
49943
50128
  * @module purecloud-platform-client-v2/api/KnowledgeApi
49944
- * @version 251.2.0
50129
+ * @version 252.0.0
49945
50130
  */
49946
50131
 
49947
50132
  /**
@@ -50432,6 +50617,8 @@ class KnowledgeApi {
50432
50617
  *
50433
50618
  * @param {String} connectionId Connection ID
50434
50619
  * @param {Object} opts Optional parameters
50620
+ * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
50621
+ * @param {String} opts.pageSize Number of results per page. Minimum: 25, Maximum: 500. (default to 200)
50435
50622
  * @param {String} opts.parentId The id of the parent option whose children to be listed.
50436
50623
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
50437
50624
  */
@@ -50447,7 +50634,7 @@ class KnowledgeApi {
50447
50634
  '/api/v2/knowledge/connections/{connectionId}/options',
50448
50635
  'GET',
50449
50636
  { 'connectionId': connectionId },
50450
- { 'parentId': opts['parentId'] },
50637
+ { 'after': opts['after'],'pageSize': opts['pageSize'],'parentId': opts['parentId'] },
50451
50638
  { },
50452
50639
  { },
50453
50640
  null,
@@ -54149,7 +54336,7 @@ class LanguageUnderstandingApi {
54149
54336
  /**
54150
54337
  * LanguageUnderstanding service.
54151
54338
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
54152
- * @version 251.2.0
54339
+ * @version 252.0.0
54153
54340
  */
54154
54341
 
54155
54342
  /**
@@ -55523,7 +55710,7 @@ class LanguagesApi {
55523
55710
  /**
55524
55711
  * Languages service.
55525
55712
  * @module purecloud-platform-client-v2/api/LanguagesApi
55526
- * @version 251.2.0
55713
+ * @version 252.0.0
55527
55714
  */
55528
55715
 
55529
55716
  /**
@@ -55782,7 +55969,7 @@ class LearningApi {
55782
55969
  /**
55783
55970
  * Learning service.
55784
55971
  * @module purecloud-platform-client-v2/api/LearningApi
55785
- * @version 251.2.0
55972
+ * @version 252.0.0
55786
55973
  */
55787
55974
 
55788
55975
  /**
@@ -57030,7 +57217,7 @@ class LicenseApi {
57030
57217
  /**
57031
57218
  * License service.
57032
57219
  * @module purecloud-platform-client-v2/api/LicenseApi
57033
- * @version 251.2.0
57220
+ * @version 252.0.0
57034
57221
  */
57035
57222
 
57036
57223
  /**
@@ -57328,7 +57515,7 @@ class LocationsApi {
57328
57515
  /**
57329
57516
  * Locations service.
57330
57517
  * @module purecloud-platform-client-v2/api/LocationsApi
57331
- * @version 251.2.0
57518
+ * @version 252.0.0
57332
57519
  */
57333
57520
 
57334
57521
  /**
@@ -57595,7 +57782,7 @@ class LogCaptureApi {
57595
57782
  /**
57596
57783
  * LogCapture service.
57597
57784
  * @module purecloud-platform-client-v2/api/LogCaptureApi
57598
- * @version 251.2.0
57785
+ * @version 252.0.0
57599
57786
  */
57600
57787
 
57601
57788
  /**
@@ -57817,7 +58004,7 @@ class MessagingApi {
57817
58004
  /**
57818
58005
  * Messaging service.
57819
58006
  * @module purecloud-platform-client-v2/api/MessagingApi
57820
- * @version 251.2.0
58007
+ * @version 252.0.0
57821
58008
  */
57822
58009
 
57823
58010
  /**
@@ -58235,7 +58422,7 @@ class MobileDevicesApi {
58235
58422
  /**
58236
58423
  * MobileDevices service.
58237
58424
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
58238
- * @version 251.2.0
58425
+ * @version 252.0.0
58239
58426
  */
58240
58427
 
58241
58428
  /**
@@ -58405,7 +58592,7 @@ class NotificationsApi {
58405
58592
  /**
58406
58593
  * Notifications service.
58407
58594
  * @module purecloud-platform-client-v2/api/NotificationsApi
58408
- * @version 251.2.0
58595
+ * @version 252.0.0
58409
58596
  */
58410
58597
 
58411
58598
  /**
@@ -58666,7 +58853,7 @@ class OAuthApi {
58666
58853
  /**
58667
58854
  * OAuth service.
58668
58855
  * @module purecloud-platform-client-v2/api/OAuthApi
58669
- * @version 251.2.0
58856
+ * @version 252.0.0
58670
58857
  */
58671
58858
 
58672
58859
  /**
@@ -59082,7 +59269,7 @@ class ObjectsApi {
59082
59269
  /**
59083
59270
  * Objects service.
59084
59271
  * @module purecloud-platform-client-v2/api/ObjectsApi
59085
- * @version 251.2.0
59272
+ * @version 252.0.0
59086
59273
  */
59087
59274
 
59088
59275
  /**
@@ -59446,7 +59633,7 @@ class OperationalEventsApi {
59446
59633
  /**
59447
59634
  * OperationalEvents service.
59448
59635
  * @module purecloud-platform-client-v2/api/OperationalEventsApi
59449
- * @version 251.2.0
59636
+ * @version 252.0.0
59450
59637
  */
59451
59638
 
59452
59639
  /**
@@ -59577,7 +59764,7 @@ class OrganizationApi {
59577
59764
  /**
59578
59765
  * Organization service.
59579
59766
  * @module purecloud-platform-client-v2/api/OrganizationApi
59580
- * @version 251.2.0
59767
+ * @version 252.0.0
59581
59768
  */
59582
59769
 
59583
59770
  /**
@@ -60138,7 +60325,7 @@ class OrganizationAuthorizationApi {
60138
60325
  /**
60139
60326
  * OrganizationAuthorization service.
60140
60327
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
60141
- * @version 251.2.0
60328
+ * @version 252.0.0
60142
60329
  */
60143
60330
 
60144
60331
  /**
@@ -61742,7 +61929,7 @@ class OutboundApi {
61742
61929
  /**
61743
61930
  * Outbound service.
61744
61931
  * @module purecloud-platform-client-v2/api/OutboundApi
61745
- * @version 251.2.0
61932
+ * @version 252.0.0
61746
61933
  */
61747
61934
 
61748
61935
  /**
@@ -67329,7 +67516,7 @@ class PresenceApi {
67329
67516
  /**
67330
67517
  * Presence service.
67331
67518
  * @module purecloud-platform-client-v2/api/PresenceApi
67332
- * @version 251.2.0
67519
+ * @version 252.0.0
67333
67520
  */
67334
67521
 
67335
67522
  /**
@@ -68187,7 +68374,7 @@ class ProcessAutomationApi {
68187
68374
  /**
68188
68375
  * ProcessAutomation service.
68189
68376
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
68190
- * @version 251.2.0
68377
+ * @version 252.0.0
68191
68378
  */
68192
68379
 
68193
68380
  /**
@@ -68608,7 +68795,7 @@ class QualityApi {
68608
68795
  /**
68609
68796
  * Quality service.
68610
68797
  * @module purecloud-platform-client-v2/api/QualityApi
68611
- * @version 251.2.0
68798
+ * @version 252.0.0
68612
68799
  */
68613
68800
 
68614
68801
  /**
@@ -70966,7 +71153,7 @@ class RecordingApi {
70966
71153
  /**
70967
71154
  * Recording service.
70968
71155
  * @module purecloud-platform-client-v2/api/RecordingApi
70969
- * @version 251.2.0
71156
+ * @version 252.0.0
70970
71157
  */
70971
71158
 
70972
71159
  /**
@@ -72814,7 +73001,7 @@ class ResponseManagementApi {
72814
73001
  /**
72815
73002
  * ResponseManagement service.
72816
73003
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
72817
- * @version 251.2.0
73004
+ * @version 252.0.0
72818
73005
  */
72819
73006
 
72820
73007
  /**
@@ -73458,7 +73645,7 @@ class RoutingApi {
73458
73645
  /**
73459
73646
  * Routing service.
73460
73647
  * @module purecloud-platform-client-v2/api/RoutingApi
73461
- * @version 251.2.0
73648
+ * @version 252.0.0
73462
73649
  */
73463
73650
 
73464
73651
  /**
@@ -78845,7 +79032,7 @@ class SCIMApi {
78845
79032
  /**
78846
79033
  * SCIM service.
78847
79034
  * @module purecloud-platform-client-v2/api/SCIMApi
78848
- * @version 251.2.0
79035
+ * @version 252.0.0
78849
79036
  */
78850
79037
 
78851
79038
  /**
@@ -79806,7 +79993,7 @@ class ScriptsApi {
79806
79993
  /**
79807
79994
  * Scripts service.
79808
79995
  * @module purecloud-platform-client-v2/api/ScriptsApi
79809
- * @version 251.2.0
79996
+ * @version 252.0.0
79810
79997
  */
79811
79998
 
79812
79999
  /**
@@ -80315,7 +80502,7 @@ class SearchApi {
80315
80502
  /**
80316
80503
  * Search service.
80317
80504
  * @module purecloud-platform-client-v2/api/SearchApi
80318
- * @version 251.2.0
80505
+ * @version 252.0.0
80319
80506
  */
80320
80507
 
80321
80508
  /**
@@ -81131,7 +81318,7 @@ class SettingsApi {
81131
81318
  /**
81132
81319
  * Settings service.
81133
81320
  * @module purecloud-platform-client-v2/api/SettingsApi
81134
- * @version 251.2.0
81321
+ * @version 252.0.0
81135
81322
  */
81136
81323
 
81137
81324
  /**
@@ -81540,7 +81727,7 @@ class SocialMediaApi {
81540
81727
  /**
81541
81728
  * SocialMedia service.
81542
81729
  * @module purecloud-platform-client-v2/api/SocialMediaApi
81543
- * @version 251.2.0
81730
+ * @version 252.0.0
81544
81731
  */
81545
81732
 
81546
81733
  /**
@@ -83525,7 +83712,7 @@ class SpeechTextAnalyticsApi {
83525
83712
  /**
83526
83713
  * SpeechTextAnalytics service.
83527
83714
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
83528
- * @version 251.2.0
83715
+ * @version 252.0.0
83529
83716
  */
83530
83717
 
83531
83718
  /**
@@ -85477,7 +85664,7 @@ class StationsApi {
85477
85664
  /**
85478
85665
  * Stations service.
85479
85666
  * @module purecloud-platform-client-v2/api/StationsApi
85480
- * @version 251.2.0
85667
+ * @version 252.0.0
85481
85668
  */
85482
85669
 
85483
85670
  /**
@@ -85591,7 +85778,7 @@ class SuggestApi {
85591
85778
  /**
85592
85779
  * Suggest service.
85593
85780
  * @module purecloud-platform-client-v2/api/SuggestApi
85594
- * @version 251.2.0
85781
+ * @version 252.0.0
85595
85782
  */
85596
85783
 
85597
85784
  /**
@@ -85738,7 +85925,7 @@ class TaskManagementApi {
85738
85925
  /**
85739
85926
  * TaskManagement service.
85740
85927
  * @module purecloud-platform-client-v2/api/TaskManagementApi
85741
- * @version 251.2.0
85928
+ * @version 252.0.0
85742
85929
  */
85743
85930
 
85744
85931
  /**
@@ -88165,7 +88352,7 @@ class TaskManagementApi {
88165
88352
 
88166
88353
  /**
88167
88354
  * Query for worktypes
88168
- *
88355
+ * Optional request field expands may include schema to populate the name on each worktypes schema reference.
88169
88356
  * @param {Object} body QueryPostRequest
88170
88357
  * @param {Object} opts Optional parameters
88171
88358
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
@@ -88234,7 +88421,7 @@ class TeamsApi {
88234
88421
  /**
88235
88422
  * Teams service.
88236
88423
  * @module purecloud-platform-client-v2/api/TeamsApi
88237
- * @version 251.2.0
88424
+ * @version 252.0.0
88238
88425
  */
88239
88426
 
88240
88427
  /**
@@ -88577,7 +88764,7 @@ class TelephonyApi {
88577
88764
  /**
88578
88765
  * Telephony service.
88579
88766
  * @module purecloud-platform-client-v2/api/TelephonyApi
88580
- * @version 251.2.0
88767
+ * @version 252.0.0
88581
88768
  */
88582
88769
 
88583
88770
  /**
@@ -88984,7 +89171,7 @@ class TelephonyProvidersEdgeApi {
88984
89171
  /**
88985
89172
  * TelephonyProvidersEdge service.
88986
89173
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
88987
- * @version 251.2.0
89174
+ * @version 252.0.0
88988
89175
  */
88989
89176
 
88990
89177
  /**
@@ -93008,7 +93195,7 @@ class TextbotsApi {
93008
93195
  /**
93009
93196
  * Textbots service.
93010
93197
  * @module purecloud-platform-client-v2/api/TextbotsApi
93011
- * @version 251.2.0
93198
+ * @version 252.0.0
93012
93199
  */
93013
93200
 
93014
93201
  /**
@@ -93154,7 +93341,7 @@ class TokensApi {
93154
93341
  /**
93155
93342
  * Tokens service.
93156
93343
  * @module purecloud-platform-client-v2/api/TokensApi
93157
- * @version 251.2.0
93344
+ * @version 252.0.0
93158
93345
  */
93159
93346
 
93160
93347
  /**
@@ -93332,7 +93519,7 @@ class UploadsApi {
93332
93519
  /**
93333
93520
  * Uploads service.
93334
93521
  * @module purecloud-platform-client-v2/api/UploadsApi
93335
- * @version 251.2.0
93522
+ * @version 252.0.0
93336
93523
  */
93337
93524
 
93338
93525
  /**
@@ -93703,7 +93890,7 @@ class UsageApi {
93703
93890
  /**
93704
93891
  * Usage service.
93705
93892
  * @module purecloud-platform-client-v2/api/UsageApi
93706
- * @version 251.2.0
93893
+ * @version 252.0.0
93707
93894
  */
93708
93895
 
93709
93896
  /**
@@ -94081,7 +94268,7 @@ class UserRecordingsApi {
94081
94268
  /**
94082
94269
  * UserRecordings service.
94083
94270
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
94084
- * @version 251.2.0
94271
+ * @version 252.0.0
94085
94272
  */
94086
94273
 
94087
94274
  /**
@@ -94283,7 +94470,7 @@ class UsersApi {
94283
94470
  /**
94284
94471
  * Users service.
94285
94472
  * @module purecloud-platform-client-v2/api/UsersApi
94286
- * @version 251.2.0
94473
+ * @version 252.0.0
94287
94474
  */
94288
94475
 
94289
94476
  /**
@@ -94784,6 +94971,31 @@ class UsersApi {
94784
94971
  );
94785
94972
  }
94786
94973
 
94974
+ /**
94975
+ * Clear self associated station
94976
+ *
94977
+ * @param {Object} opts Optional parameters
94978
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
94979
+ */
94980
+ deleteUsersStationsMeAssociatedstation(opts) {
94981
+ opts = opts || {};
94982
+
94983
+
94984
+ return this.apiClient.callApi(
94985
+ '/api/v2/users/stations/me/associatedstation',
94986
+ 'DELETE',
94987
+ { },
94988
+ { },
94989
+ { },
94990
+ { },
94991
+ null,
94992
+ ['PureCloud OAuth'],
94993
+ ['application/json'],
94994
+ ['application/json'],
94995
+ opts['customHeaders']
94996
+ );
94997
+ }
94998
+
94787
94999
  /**
94788
95000
  * Get status for async query for user aggregates
94789
95001
  *
@@ -96052,6 +96264,7 @@ class UsersApi {
96052
96264
  * @param {Object} opts Optional parameters
96053
96265
  * @param {Boolean} opts.excludeClosed Whether or not to exclude closed chats
96054
96266
  * @param {Boolean} opts.includePresence Whether or not to include user presence
96267
+ * @param {Boolean} opts.includeRoomOwners Whether or not to include room owners
96055
96268
  * @param {String} opts.after The key to start after
96056
96269
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
96057
96270
  */
@@ -96063,7 +96276,7 @@ class UsersApi {
96063
96276
  '/api/v2/users/chats/me',
96064
96277
  'GET',
96065
96278
  { },
96066
- { 'excludeClosed': opts['excludeClosed'],'includePresence': opts['includePresence'],'after': opts['after'] },
96279
+ { 'excludeClosed': opts['excludeClosed'],'includePresence': opts['includePresence'],'includeRoomOwners': opts['includeRoomOwners'],'after': opts['after'] },
96067
96280
  { },
96068
96281
  { },
96069
96282
  null,
@@ -96458,7 +96671,6 @@ class UsersApi {
96458
96671
  * @param {Array.<String>} opts.userCustomAttributeSchemaIds Gets custom user attribute values for given schemas set for user. This parameter will only be used when customAttributes is provided as an expand. The maximum number of schemaIds that can be requested is 5
96459
96672
  * @param {Object} opts.state Only list users of this state (default to active)
96460
96673
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
96461
- * getUsersQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
96462
96674
  */
96463
96675
  getUsersQuery(opts) {
96464
96676
  opts = opts || {};
@@ -96511,6 +96723,31 @@ class UsersApi {
96511
96723
  );
96512
96724
  }
96513
96725
 
96726
+ /**
96727
+ * Get station information for self
96728
+ *
96729
+ * @param {Object} opts Optional parameters
96730
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
96731
+ */
96732
+ getUsersStationsMe(opts) {
96733
+ opts = opts || {};
96734
+
96735
+
96736
+ return this.apiClient.callApi(
96737
+ '/api/v2/users/stations/me',
96738
+ 'GET',
96739
+ { },
96740
+ { },
96741
+ { },
96742
+ { },
96743
+ null,
96744
+ ['PureCloud OAuth'],
96745
+ ['application/json'],
96746
+ ['application/json'],
96747
+ opts['customHeaders']
96748
+ );
96749
+ }
96750
+
96514
96751
  /**
96515
96752
  * Update user
96516
96753
  *
@@ -98216,13 +98453,43 @@ class UsersApi {
98216
98453
  );
98217
98454
  }
98218
98455
 
98456
+ /**
98457
+ * Set self associated station
98458
+ *
98459
+ * @param {String} stationId stationId
98460
+ * @param {Object} opts Optional parameters
98461
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
98462
+ */
98463
+ putUsersStationsMeAssociatedstationStationId(stationId, opts) {
98464
+ opts = opts || {};
98465
+
98466
+ // verify the required parameter 'stationId' is set
98467
+ if (stationId === undefined || stationId === null || stationId === '') {
98468
+ throw 'Missing the required parameter "stationId" when calling putUsersStationsMeAssociatedstationStationId';
98469
+ }
98470
+
98471
+ return this.apiClient.callApi(
98472
+ '/api/v2/users/stations/me/associatedstation/{stationId}',
98473
+ 'PUT',
98474
+ { 'stationId': stationId },
98475
+ { },
98476
+ { },
98477
+ { },
98478
+ null,
98479
+ ['PureCloud OAuth'],
98480
+ ['application/json'],
98481
+ ['application/json'],
98482
+ opts['customHeaders']
98483
+ );
98484
+ }
98485
+
98219
98486
  }
98220
98487
 
98221
98488
  class UsersRulesApi {
98222
98489
  /**
98223
98490
  * UsersRules service.
98224
98491
  * @module purecloud-platform-client-v2/api/UsersRulesApi
98225
- * @version 251.2.0
98492
+ * @version 252.0.0
98226
98493
  */
98227
98494
 
98228
98495
  /**
@@ -98539,7 +98806,7 @@ class UtilitiesApi {
98539
98806
  /**
98540
98807
  * Utilities service.
98541
98808
  * @module purecloud-platform-client-v2/api/UtilitiesApi
98542
- * @version 251.2.0
98809
+ * @version 252.0.0
98543
98810
  */
98544
98811
 
98545
98812
  /**
@@ -98667,7 +98934,7 @@ class VoicemailApi {
98667
98934
  /**
98668
98935
  * Voicemail service.
98669
98936
  * @module purecloud-platform-client-v2/api/VoicemailApi
98670
- * @version 251.2.0
98937
+ * @version 252.0.0
98671
98938
  */
98672
98939
 
98673
98940
  /**
@@ -99497,7 +99764,7 @@ class WebChatApi {
99497
99764
  /**
99498
99765
  * WebChat service.
99499
99766
  * @module purecloud-platform-client-v2/api/WebChatApi
99500
- * @version 251.2.0
99767
+ * @version 252.0.0
99501
99768
  */
99502
99769
 
99503
99770
  /**
@@ -100149,7 +100416,7 @@ class WebDeploymentsApi {
100149
100416
  /**
100150
100417
  * WebDeployments service.
100151
100418
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
100152
- * @version 251.2.0
100419
+ * @version 252.0.0
100153
100420
  */
100154
100421
 
100155
100422
  /**
@@ -100827,7 +101094,7 @@ class WebMessagingApi {
100827
101094
  /**
100828
101095
  * WebMessaging service.
100829
101096
  * @module purecloud-platform-client-v2/api/WebMessagingApi
100830
- * @version 251.2.0
101097
+ * @version 252.0.0
100831
101098
  */
100832
101099
 
100833
101100
  /**
@@ -100990,7 +101257,7 @@ class WidgetsApi {
100990
101257
  /**
100991
101258
  * Widgets service.
100992
101259
  * @module purecloud-platform-client-v2/api/WidgetsApi
100993
- * @version 251.2.0
101260
+ * @version 252.0.0
100994
101261
  */
100995
101262
 
100996
101263
  /**
@@ -101166,7 +101433,7 @@ class WorkforceManagementApi {
101166
101433
  /**
101167
101434
  * WorkforceManagement service.
101168
101435
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
101169
- * @version 251.2.0
101436
+ * @version 252.0.0
101170
101437
  */
101171
101438
 
101172
101439
  /**
@@ -111502,7 +111769,7 @@ class WorkforceManagementApi {
111502
111769
  * </pre>
111503
111770
  * </p>
111504
111771
  * @module purecloud-platform-client-v2/index
111505
- * @version 251.2.0
111772
+ * @version 252.0.0
111506
111773
  */
111507
111774
  class platformClient {
111508
111775
  constructor() {