purecloud-platform-client-v2 163.0.0 → 164.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 (78) hide show
  1. package/README.md +2 -2
  2. package/dist/node/purecloud-platform-client-v2.js +201 -71
  3. package/dist/web-amd/purecloud-platform-client-v2.js +201 -71
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +201 -71
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +201 -71
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +275 -220
  9. package/package.json +1 -1
  10. package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
  11. package/src/purecloud-platform-client-v2/api/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 +2 -2
  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/ChatApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  19. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +41 -1
  21. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  22. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/RoutingApi.js +3 -2
  56. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/UsageApi.js +90 -1
  69. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  74. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
  78. package/src/purecloud-platform-client-v2/index.js +1 -1
@@ -399,7 +399,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
399
399
 
400
400
  /**
401
401
  * @module purecloud-platform-client-v2/ApiClient
402
- * @version 163.0.0
402
+ * @version 164.0.0
403
403
  */
404
404
  class ApiClient {
405
405
  /**
@@ -1485,7 +1485,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
1485
1485
  /**
1486
1486
  * Alerting service.
1487
1487
  * @module purecloud-platform-client-v2/api/AlertingApi
1488
- * @version 163.0.0
1488
+ * @version 164.0.0
1489
1489
  */
1490
1490
 
1491
1491
  /**
@@ -1799,7 +1799,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
1799
1799
  /**
1800
1800
  * Analytics service.
1801
1801
  * @module purecloud-platform-client-v2/api/AnalyticsApi
1802
- * @version 163.0.0
1802
+ * @version 164.0.0
1803
1803
  */
1804
1804
 
1805
1805
  /**
@@ -3053,7 +3053,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
3053
3053
  /**
3054
3054
  * Architect service.
3055
3055
  * @module purecloud-platform-client-v2/api/ArchitectApi
3056
- * @version 163.0.0
3056
+ * @version 164.0.0
3057
3057
  */
3058
3058
 
3059
3059
  /**
@@ -6101,7 +6101,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
6101
6101
  /**
6102
6102
  * Audit service.
6103
6103
  * @module purecloud-platform-client-v2/api/AuditApi
6104
- * @version 163.0.0
6104
+ * @version 164.0.0
6105
6105
  */
6106
6106
 
6107
6107
  /**
@@ -6187,7 +6187,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
6187
6187
  * @param {String} transactionId Transaction ID
6188
6188
  * @param {Object} opts Optional parameters
6189
6189
  * @param {String} opts.cursor Indicates where to resume query results (not required for first page)
6190
- * @param {Number} opts.pageSize Page size (default to 25)
6190
+ * @param {Number} opts.pageSize Indicates maximum number of results in response. Default page size is 25 results. The maximum page size is 500. (default to 25)
6191
6191
  * @param {Array.<String>} opts.expand Which fields, if any, to expand
6192
6192
  */
6193
6193
  getAuditsQueryTransactionIdResults(transactionId, opts) {
@@ -6272,7 +6272,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
6272
6272
  /**
6273
6273
  * Authorization service.
6274
6274
  * @module purecloud-platform-client-v2/api/AuthorizationApi
6275
- * @version 163.0.0
6275
+ * @version 164.0.0
6276
6276
  */
6277
6277
 
6278
6278
  /**
@@ -7501,7 +7501,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
7501
7501
  /**
7502
7502
  * Billing service.
7503
7503
  * @module purecloud-platform-client-v2/api/BillingApi
7504
- * @version 163.0.0
7504
+ * @version 164.0.0
7505
7505
  */
7506
7506
 
7507
7507
  /**
@@ -7581,7 +7581,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
7581
7581
  /**
7582
7582
  * Chat service.
7583
7583
  * @module purecloud-platform-client-v2/api/ChatApi
7584
- * @version 163.0.0
7584
+ * @version 164.0.0
7585
7585
  */
7586
7586
 
7587
7587
  /**
@@ -7742,7 +7742,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
7742
7742
  /**
7743
7743
  * Coaching service.
7744
7744
  * @module purecloud-platform-client-v2/api/CoachingApi
7745
- * @version 163.0.0
7745
+ * @version 164.0.0
7746
7746
  */
7747
7747
 
7748
7748
  /**
@@ -8319,7 +8319,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
8319
8319
  /**
8320
8320
  * ContentManagement service.
8321
8321
  * @module purecloud-platform-client-v2/api/ContentManagementApi
8322
- * @version 163.0.0
8322
+ * @version 164.0.0
8323
8323
  */
8324
8324
 
8325
8325
  /**
@@ -9459,7 +9459,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
9459
9459
  /**
9460
9460
  * Conversations service.
9461
9461
  * @module purecloud-platform-client-v2/api/ConversationsApi
9462
- * @version 163.0.0
9462
+ * @version 164.0.0
9463
9463
  */
9464
9464
 
9465
9465
  /**
@@ -12036,6 +12036,46 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
12036
12036
  );
12037
12037
  }
12038
12038
 
12039
+ /**
12040
+ * Update after-call work for this conversation communication.
12041
+ *
12042
+ * @param {String} conversationId conversationId
12043
+ * @param {String} participantId participantId
12044
+ * @param {String} communicationId communicationId
12045
+ * @param {Object} body AfterCallWorkUpdate
12046
+ */
12047
+ patchConversationsAftercallworkConversationIdParticipantCommunication(conversationId, participantId, communicationId, body) {
12048
+ // verify the required parameter 'conversationId' is set
12049
+ if (conversationId === undefined || conversationId === null) {
12050
+ throw 'Missing the required parameter "conversationId" when calling patchConversationsAftercallworkConversationIdParticipantCommunication';
12051
+ }
12052
+ // verify the required parameter 'participantId' is set
12053
+ if (participantId === undefined || participantId === null) {
12054
+ throw 'Missing the required parameter "participantId" when calling patchConversationsAftercallworkConversationIdParticipantCommunication';
12055
+ }
12056
+ // verify the required parameter 'communicationId' is set
12057
+ if (communicationId === undefined || communicationId === null) {
12058
+ throw 'Missing the required parameter "communicationId" when calling patchConversationsAftercallworkConversationIdParticipantCommunication';
12059
+ }
12060
+ // verify the required parameter 'body' is set
12061
+ if (body === undefined || body === null) {
12062
+ throw 'Missing the required parameter "body" when calling patchConversationsAftercallworkConversationIdParticipantCommunication';
12063
+ }
12064
+
12065
+ return this.apiClient.callApi(
12066
+ '/api/v2/conversations/aftercallwork/{conversationId}/participants/{participantId}/communications/{communicationId}',
12067
+ 'PATCH',
12068
+ { 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
12069
+ { },
12070
+ { },
12071
+ { },
12072
+ body,
12073
+ ['PureCloud OAuth'],
12074
+ ['application/json'],
12075
+ ['application/json']
12076
+ );
12077
+ }
12078
+
12039
12079
  /**
12040
12080
  * Update a conversation by setting its recording state, merging in other conversations to create a conference, or disconnecting all of the participants
12041
12081
  *
@@ -15479,7 +15519,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
15479
15519
  /**
15480
15520
  * DataExtensions service.
15481
15521
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
15482
- * @version 163.0.0
15522
+ * @version 164.0.0
15483
15523
  */
15484
15524
 
15485
15525
  /**
@@ -15565,7 +15605,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
15565
15605
  /**
15566
15606
  * Downloads service.
15567
15607
  * @module purecloud-platform-client-v2/api/DownloadsApi
15568
- * @version 163.0.0
15608
+ * @version 164.0.0
15569
15609
  */
15570
15610
 
15571
15611
  /**
@@ -15617,7 +15657,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
15617
15657
  /**
15618
15658
  * Events service.
15619
15659
  * @module purecloud-platform-client-v2/api/EventsApi
15620
- * @version 163.0.0
15660
+ * @version 164.0.0
15621
15661
  */
15622
15662
 
15623
15663
  /**
@@ -15713,7 +15753,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
15713
15753
  /**
15714
15754
  * ExternalContacts service.
15715
15755
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
15716
- * @version 163.0.0
15756
+ * @version 164.0.0
15717
15757
  */
15718
15758
 
15719
15759
  /**
@@ -17671,7 +17711,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
17671
17711
  /**
17672
17712
  * Fax service.
17673
17713
  * @module purecloud-platform-client-v2/api/FaxApi
17674
- * @version 163.0.0
17714
+ * @version 164.0.0
17675
17715
  */
17676
17716
 
17677
17717
  /**
@@ -17842,7 +17882,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
17842
17882
  /**
17843
17883
  * Flows service.
17844
17884
  * @module purecloud-platform-client-v2/api/FlowsApi
17845
- * @version 163.0.0
17885
+ * @version 164.0.0
17846
17886
  */
17847
17887
 
17848
17888
  /**
@@ -17913,7 +17953,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
17913
17953
  /**
17914
17954
  * Gamification service.
17915
17955
  * @module purecloud-platform-client-v2/api/GamificationApi
17916
- * @version 163.0.0
17956
+ * @version 164.0.0
17917
17957
  */
17918
17958
 
17919
17959
  /**
@@ -19530,7 +19570,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
19530
19570
  /**
19531
19571
  * GeneralDataProtectionRegulation service.
19532
19572
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
19533
- * @version 163.0.0
19573
+ * @version 164.0.0
19534
19574
  */
19535
19575
 
19536
19576
  /**
@@ -19660,7 +19700,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
19660
19700
  /**
19661
19701
  * Geolocation service.
19662
19702
  * @module purecloud-platform-client-v2/api/GeolocationApi
19663
- * @version 163.0.0
19703
+ * @version 164.0.0
19664
19704
  */
19665
19705
 
19666
19706
  /**
@@ -19791,7 +19831,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
19791
19831
  /**
19792
19832
  * Greetings service.
19793
19833
  * @module purecloud-platform-client-v2/api/GreetingsApi
19794
- * @version 163.0.0
19834
+ * @version 164.0.0
19795
19835
  */
19796
19836
 
19797
19837
  /**
@@ -20246,7 +20286,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
20246
20286
  /**
20247
20287
  * Groups service.
20248
20288
  * @module purecloud-platform-client-v2/api/GroupsApi
20249
- * @version 163.0.0
20289
+ * @version 164.0.0
20250
20290
  */
20251
20291
 
20252
20292
  /**
@@ -20652,7 +20692,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
20652
20692
  /**
20653
20693
  * IdentityProvider service.
20654
20694
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
20655
- * @version 163.0.0
20695
+ * @version 164.0.0
20656
20696
  */
20657
20697
 
20658
20698
  /**
@@ -21408,7 +21448,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
21408
21448
  /**
21409
21449
  * InfrastructureAsCode service.
21410
21450
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
21411
- * @version 163.0.0
21451
+ * @version 164.0.0
21412
21452
  */
21413
21453
 
21414
21454
  /**
@@ -21510,7 +21550,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
21510
21550
  /**
21511
21551
  * Integrations service.
21512
21552
  * @module purecloud-platform-client-v2/api/IntegrationsApi
21513
- * @version 163.0.0
21553
+ * @version 164.0.0
21514
21554
  */
21515
21555
 
21516
21556
  /**
@@ -23110,7 +23150,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
23110
23150
  /**
23111
23151
  * Journey service.
23112
23152
  * @module purecloud-platform-client-v2/api/JourneyApi
23113
- * @version 163.0.0
23153
+ * @version 164.0.0
23114
23154
  */
23115
23155
 
23116
23156
  /**
@@ -23990,7 +24030,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
23990
24030
  /**
23991
24031
  * Knowledge service.
23992
24032
  * @module purecloud-platform-client-v2/api/KnowledgeApi
23993
- * @version 163.0.0
24033
+ * @version 164.0.0
23994
24034
  */
23995
24035
 
23996
24036
  /**
@@ -26422,7 +26462,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
26422
26462
  /**
26423
26463
  * LanguageUnderstanding service.
26424
26464
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
26425
- * @version 163.0.0
26465
+ * @version 164.0.0
26426
26466
  */
26427
26467
 
26428
26468
  /**
@@ -27435,7 +27475,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
27435
27475
  /**
27436
27476
  * Languages service.
27437
27477
  * @module purecloud-platform-client-v2/api/LanguagesApi
27438
- * @version 163.0.0
27478
+ * @version 164.0.0
27439
27479
  */
27440
27480
 
27441
27481
  /**
@@ -27653,7 +27693,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
27653
27693
  /**
27654
27694
  * Learning service.
27655
27695
  * @module purecloud-platform-client-v2/api/LearningApi
27656
- * @version 163.0.0
27696
+ * @version 164.0.0
27657
27697
  */
27658
27698
 
27659
27699
  /**
@@ -28468,7 +28508,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
28468
28508
  /**
28469
28509
  * License service.
28470
28510
  * @module purecloud-platform-client-v2/api/LicenseApi
28471
- * @version 163.0.0
28511
+ * @version 164.0.0
28472
28512
  */
28473
28513
 
28474
28514
  /**
@@ -28706,7 +28746,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
28706
28746
  /**
28707
28747
  * Locations service.
28708
28748
  * @module purecloud-platform-client-v2/api/LocationsApi
28709
- * @version 163.0.0
28749
+ * @version 164.0.0
28710
28750
  */
28711
28751
 
28712
28752
  /**
@@ -28942,7 +28982,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
28942
28982
  /**
28943
28983
  * Messaging service.
28944
28984
  * @module purecloud-platform-client-v2/api/MessagingApi
28945
- * @version 163.0.0
28985
+ * @version 164.0.0
28946
28986
  */
28947
28987
 
28948
28988
  /**
@@ -29093,7 +29133,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
29093
29133
  /**
29094
29134
  * MobileDevices service.
29095
29135
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
29096
- * @version 163.0.0
29136
+ * @version 164.0.0
29097
29137
  */
29098
29138
 
29099
29139
  /**
@@ -29244,7 +29284,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
29244
29284
  /**
29245
29285
  * Notifications service.
29246
29286
  * @module purecloud-platform-client-v2/api/NotificationsApi
29247
- * @version 163.0.0
29287
+ * @version 164.0.0
29248
29288
  */
29249
29289
 
29250
29290
  /**
@@ -29477,7 +29517,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
29477
29517
  /**
29478
29518
  * OAuth service.
29479
29519
  * @module purecloud-platform-client-v2/api/OAuthApi
29480
- * @version 163.0.0
29520
+ * @version 164.0.0
29481
29521
  */
29482
29522
 
29483
29523
  /**
@@ -29843,7 +29883,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
29843
29883
  /**
29844
29884
  * Objects service.
29845
29885
  * @module purecloud-platform-client-v2/api/ObjectsApi
29846
- * @version 163.0.0
29886
+ * @version 164.0.0
29847
29887
  */
29848
29888
 
29849
29889
  /**
@@ -30114,7 +30154,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
30114
30154
  /**
30115
30155
  * Organization service.
30116
30156
  * @module purecloud-platform-client-v2/api/OrganizationApi
30117
- * @version 163.0.0
30157
+ * @version 164.0.0
30118
30158
  */
30119
30159
 
30120
30160
  /**
@@ -30517,7 +30557,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
30517
30557
  /**
30518
30558
  * OrganizationAuthorization service.
30519
30559
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
30520
- * @version 163.0.0
30560
+ * @version 164.0.0
30521
30561
  */
30522
30562
 
30523
30563
  /**
@@ -31812,7 +31852,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
31812
31852
  /**
31813
31853
  * Outbound service.
31814
31854
  * @module purecloud-platform-client-v2/api/OutboundApi
31815
- * @version 163.0.0
31855
+ * @version 164.0.0
31816
31856
  */
31817
31857
 
31818
31858
  /**
@@ -35408,7 +35448,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
35408
35448
  /**
35409
35449
  * Presence service.
35410
35450
  * @module purecloud-platform-client-v2/api/PresenceApi
35411
- * @version 163.0.0
35451
+ * @version 164.0.0
35412
35452
  */
35413
35453
 
35414
35454
  /**
@@ -35959,7 +35999,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
35959
35999
  /**
35960
36000
  * ProcessAutomation service.
35961
36001
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
35962
- * @version 163.0.0
36002
+ * @version 164.0.0
35963
36003
  */
35964
36004
 
35965
36005
  /**
@@ -36198,7 +36238,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
36198
36238
  /**
36199
36239
  * Quality service.
36200
36240
  * @module purecloud-platform-client-v2/api/QualityApi
36201
- * @version 163.0.0
36241
+ * @version 164.0.0
36202
36242
  */
36203
36243
 
36204
36244
  /**
@@ -37777,7 +37817,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
37777
37817
  /**
37778
37818
  * Recording service.
37779
37819
  * @module purecloud-platform-client-v2/api/RecordingApi
37780
- * @version 163.0.0
37820
+ * @version 164.0.0
37781
37821
  */
37782
37822
 
37783
37823
  /**
@@ -39414,7 +39454,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
39414
39454
  /**
39415
39455
  * ResponseManagement service.
39416
39456
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
39417
- * @version 163.0.0
39457
+ * @version 164.0.0
39418
39458
  */
39419
39459
 
39420
39460
  /**
@@ -39898,7 +39938,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
39898
39938
  /**
39899
39939
  * Routing service.
39900
39940
  * @module purecloud-platform-client-v2/api/RoutingApi
39901
- * @version 163.0.0
39941
+ * @version 164.0.0
39902
39942
  */
39903
39943
 
39904
39944
  /**
@@ -41841,6 +41881,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
41841
41881
  * @param {Number} opts.pageNumber Page number (default to 1)
41842
41882
  * @param {Object} opts.sortBy Sort by (default to name)
41843
41883
  * @param {Object} opts.sortOrder Sort order (default to ascending)
41884
+ * @param {Array.<String>} opts.id Filter by wrapup code ID(s)
41844
41885
  * @param {String} opts.name Wrapup code's name ('Sort by' param is ignored unless this field is provided)
41845
41886
  * @param {Array.<String>} opts.divisionId Filter by division ID(s)
41846
41887
  */
@@ -41852,7 +41893,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
41852
41893
  '/api/v2/routing/wrapupcodes',
41853
41894
  'GET',
41854
41895
  { },
41855
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'name': opts['name'],'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi') },
41896
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi'),'name': opts['name'],'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi') },
41856
41897
  { },
41857
41898
  { },
41858
41899
  null,
@@ -43404,7 +43445,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
43404
43445
  /**
43405
43446
  * SCIM service.
43406
43447
  * @module purecloud-platform-client-v2/api/SCIMApi
43407
- * @version 163.0.0
43448
+ * @version 164.0.0
43408
43449
  */
43409
43450
 
43410
43451
  /**
@@ -44281,7 +44322,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
44281
44322
  /**
44282
44323
  * Scripts service.
44283
44324
  * @module purecloud-platform-client-v2/api/ScriptsApi
44284
- * @version 163.0.0
44325
+ * @version 164.0.0
44285
44326
  */
44286
44327
 
44287
44328
  /**
@@ -44700,7 +44741,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
44700
44741
  /**
44701
44742
  * Search service.
44702
44743
  * @module purecloud-platform-client-v2/api/SearchApi
44703
- * @version 163.0.0
44744
+ * @version 164.0.0
44704
44745
  */
44705
44746
 
44706
44747
  /**
@@ -45310,7 +45351,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
45310
45351
  /**
45311
45352
  * SpeechTextAnalytics service.
45312
45353
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
45313
- * @version 163.0.0
45354
+ * @version 164.0.0
45314
45355
  */
45315
45356
 
45316
45357
  /**
@@ -46239,7 +46280,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
46239
46280
  /**
46240
46281
  * Stations service.
46241
46282
  * @module purecloud-platform-client-v2/api/StationsApi
46242
- * @version 163.0.0
46283
+ * @version 164.0.0
46243
46284
  */
46244
46285
 
46245
46286
  /**
@@ -46386,7 +46427,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
46386
46427
  /**
46387
46428
  * Suggest service.
46388
46429
  * @module purecloud-platform-client-v2/api/SuggestApi
46389
- * @version 163.0.0
46430
+ * @version 164.0.0
46390
46431
  */
46391
46432
 
46392
46433
  /**
@@ -46525,7 +46566,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
46525
46566
  /**
46526
46567
  * Teams service.
46527
46568
  * @module purecloud-platform-client-v2/api/TeamsApi
46528
- * @version 163.0.0
46569
+ * @version 164.0.0
46529
46570
  */
46530
46571
 
46531
46572
  /**
@@ -46796,7 +46837,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
46796
46837
  /**
46797
46838
  * Telephony service.
46798
46839
  * @module purecloud-platform-client-v2/api/TelephonyApi
46799
- * @version 163.0.0
46840
+ * @version 164.0.0
46800
46841
  */
46801
46842
 
46802
46843
  /**
@@ -46924,7 +46965,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
46924
46965
  /**
46925
46966
  * TelephonyProvidersEdge service.
46926
46967
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
46927
- * @version 163.0.0
46968
+ * @version 164.0.0
46928
46969
  */
46929
46970
 
46930
46971
  /**
@@ -50533,7 +50574,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
50533
50574
  /**
50534
50575
  * Textbots service.
50535
50576
  * @module purecloud-platform-client-v2/api/TextbotsApi
50536
- * @version 163.0.0
50577
+ * @version 164.0.0
50537
50578
  */
50538
50579
 
50539
50580
  /**
@@ -50661,7 +50702,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
50661
50702
  /**
50662
50703
  * Tokens service.
50663
50704
  * @module purecloud-platform-client-v2/api/TokensApi
50664
- * @version 163.0.0
50705
+ * @version 164.0.0
50665
50706
  */
50666
50707
 
50667
50708
  /**
@@ -50767,7 +50808,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
50767
50808
  /**
50768
50809
  * Uploads service.
50769
50810
  * @module purecloud-platform-client-v2/api/UploadsApi
50770
- * @version 163.0.0
50811
+ * @version 164.0.0
50771
50812
  */
50772
50813
 
50773
50814
  /**
@@ -50943,7 +50984,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
50943
50984
  /**
50944
50985
  * Usage service.
50945
50986
  * @module purecloud-platform-client-v2/api/UsageApi
50946
- * @version 163.0.0
50987
+ * @version 164.0.0
50947
50988
  */
50948
50989
 
50949
50990
  /**
@@ -50958,6 +50999,65 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
50958
50999
  }
50959
51000
 
50960
51001
 
51002
+ /**
51003
+ * Get the results of a usage query
51004
+ *
51005
+ * @param {String} executionId ID of the query execution
51006
+ * @param {String} clientId Client ID
51007
+ */
51008
+ getOauthClientUsageQueryResult(executionId, clientId) {
51009
+ // verify the required parameter 'executionId' is set
51010
+ if (executionId === undefined || executionId === null) {
51011
+ throw 'Missing the required parameter "executionId" when calling getOauthClientUsageQueryResult';
51012
+ }
51013
+ // verify the required parameter 'clientId' is set
51014
+ if (clientId === undefined || clientId === null) {
51015
+ throw 'Missing the required parameter "clientId" when calling getOauthClientUsageQueryResult';
51016
+ }
51017
+
51018
+ return this.apiClient.callApi(
51019
+ '/api/v2/oauth/clients/{clientId}/usage/query/results/{executionId}',
51020
+ 'GET',
51021
+ { 'executionId': executionId,'clientId': clientId },
51022
+ { },
51023
+ { },
51024
+ { },
51025
+ null,
51026
+ ['PureCloud OAuth'],
51027
+ ['application/json'],
51028
+ ['application/json']
51029
+ );
51030
+ }
51031
+
51032
+ /**
51033
+ * Get a summary of OAuth client API usage
51034
+ * After calling this method, you will then need to poll for the query results based on the returned execution Id
51035
+ * @param {String} clientId Client ID
51036
+ * @param {Object} opts Optional parameters
51037
+ * @param {String} opts.days Previous number of days to query (default to 7)
51038
+ */
51039
+ getOauthClientUsageSummary(clientId, opts) {
51040
+ opts = opts || {};
51041
+
51042
+ // verify the required parameter 'clientId' is set
51043
+ if (clientId === undefined || clientId === null) {
51044
+ throw 'Missing the required parameter "clientId" when calling getOauthClientUsageSummary';
51045
+ }
51046
+
51047
+ return this.apiClient.callApi(
51048
+ '/api/v2/oauth/clients/{clientId}/usage/summary',
51049
+ 'GET',
51050
+ { 'clientId': clientId },
51051
+ { 'days': opts['days'] },
51052
+ { },
51053
+ { },
51054
+ null,
51055
+ ['PureCloud OAuth'],
51056
+ ['application/json'],
51057
+ ['application/json']
51058
+ );
51059
+ }
51060
+
50961
51061
  /**
50962
51062
  * Get the results of a usage query
50963
51063
  *
@@ -50983,6 +51083,36 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
50983
51083
  );
50984
51084
  }
50985
51085
 
51086
+ /**
51087
+ * Query for OAuth client API usage
51088
+ * After calling this method, you will then need to poll for the query results based on the returned execution Id
51089
+ * @param {String} clientId Client ID
51090
+ * @param {Object} body Query
51091
+ */
51092
+ postOauthClientUsageQuery(clientId, body) {
51093
+ // verify the required parameter 'clientId' is set
51094
+ if (clientId === undefined || clientId === null) {
51095
+ throw 'Missing the required parameter "clientId" when calling postOauthClientUsageQuery';
51096
+ }
51097
+ // verify the required parameter 'body' is set
51098
+ if (body === undefined || body === null) {
51099
+ throw 'Missing the required parameter "body" when calling postOauthClientUsageQuery';
51100
+ }
51101
+
51102
+ return this.apiClient.callApi(
51103
+ '/api/v2/oauth/clients/{clientId}/usage/query',
51104
+ 'POST',
51105
+ { 'clientId': clientId },
51106
+ { },
51107
+ { },
51108
+ { },
51109
+ body,
51110
+ ['PureCloud OAuth'],
51111
+ ['application/json'],
51112
+ ['application/json']
51113
+ );
51114
+ }
51115
+
50986
51116
  /**
50987
51117
  * Query organization API Usage -
50988
51118
  * After calling this method, you will then need to poll for the query results based on the returned execution Id
@@ -51014,7 +51144,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
51014
51144
  /**
51015
51145
  * UserRecordings service.
51016
51146
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
51017
- * @version 163.0.0
51147
+ * @version 164.0.0
51018
51148
  */
51019
51149
 
51020
51150
  /**
@@ -51199,7 +51329,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
51199
51329
  /**
51200
51330
  * Users service.
51201
51331
  * @module purecloud-platform-client-v2/api/UsersApi
51202
- * @version 163.0.0
51332
+ * @version 164.0.0
51203
51333
  */
51204
51334
 
51205
51335
  /**
@@ -53587,7 +53717,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
53587
53717
  /**
53588
53718
  * Utilities service.
53589
53719
  * @module purecloud-platform-client-v2/api/UtilitiesApi
53590
- * @version 163.0.0
53720
+ * @version 164.0.0
53591
53721
  */
53592
53722
 
53593
53723
  /**
@@ -53698,7 +53828,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
53698
53828
  /**
53699
53829
  * Voicemail service.
53700
53830
  * @module purecloud-platform-client-v2/api/VoicemailApi
53701
- * @version 163.0.0
53831
+ * @version 164.0.0
53702
53832
  */
53703
53833
 
53704
53834
  /**
@@ -54365,7 +54495,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
54365
54495
  /**
54366
54496
  * WebChat service.
54367
54497
  * @module purecloud-platform-client-v2/api/WebChatApi
54368
- * @version 163.0.0
54498
+ * @version 164.0.0
54369
54499
  */
54370
54500
 
54371
54501
  /**
@@ -54909,7 +55039,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
54909
55039
  /**
54910
55040
  * WebDeployments service.
54911
55041
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
54912
- * @version 163.0.0
55042
+ * @version 164.0.0
54913
55043
  */
54914
55044
 
54915
55045
  /**
@@ -55431,7 +55561,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
55431
55561
  /**
55432
55562
  * WebMessaging service.
55433
55563
  * @module purecloud-platform-client-v2/api/WebMessagingApi
55434
- * @version 163.0.0
55564
+ * @version 164.0.0
55435
55565
  */
55436
55566
 
55437
55567
  /**
@@ -55477,7 +55607,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
55477
55607
  /**
55478
55608
  * Widgets service.
55479
55609
  * @module purecloud-platform-client-v2/api/WidgetsApi
55480
- * @version 163.0.0
55610
+ * @version 164.0.0
55481
55611
  */
55482
55612
 
55483
55613
  /**
@@ -55623,7 +55753,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
55623
55753
  /**
55624
55754
  * WorkforceManagement service.
55625
55755
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
55626
- * @version 163.0.0
55756
+ * @version 164.0.0
55627
55757
  */
55628
55758
 
55629
55759
  /**
@@ -60367,7 +60497,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
60367
60497
  * </pre>
60368
60498
  * </p>
60369
60499
  * @module purecloud-platform-client-v2/index
60370
- * @version 163.0.0
60500
+ * @version 164.0.0
60371
60501
  */
60372
60502
  class platformClient {
60373
60503
  constructor() {