purecloud-platform-client-v2 151.0.0 → 152.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 (77) hide show
  1. package/README.md +2 -2
  2. package/dist/node/purecloud-platform-client-v2.js +336 -145
  3. package/dist/web-amd/purecloud-platform-client-v2.js +336 -145
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +336 -145
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +336 -145
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +367 -209
  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 +28 -2
  13. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +5 -4
  14. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  15. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
  16. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  17. package/src/purecloud-platform-client-v2/api/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 +14 -8
  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 -65
  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/IntegrationsApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +3 -3
  36. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/RoutingApi.js +223 -1
  55. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  74. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
  77. 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 151.0.0
402
+ * @version 152.0.0
403
403
  */
404
404
  class ApiClient {
405
405
  /**
@@ -1478,7 +1478,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
1478
1478
  /**
1479
1479
  * Alerting service.
1480
1480
  * @module purecloud-platform-client-v2/api/AlertingApi
1481
- * @version 151.0.0
1481
+ * @version 152.0.0
1482
1482
  */
1483
1483
 
1484
1484
  /**
@@ -1792,7 +1792,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
1792
1792
  /**
1793
1793
  * Analytics service.
1794
1794
  * @module purecloud-platform-client-v2/api/AnalyticsApi
1795
- * @version 151.0.0
1795
+ * @version 152.0.0
1796
1796
  */
1797
1797
 
1798
1798
  /**
@@ -1891,6 +1891,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
1891
1891
  * @param {String} opts.pageSize Max number of entities to return. Maximum of 250 (default to 50)
1892
1892
  * @param {String} opts.actionId Optional action ID to get the reporting turns associated to a particular flow action
1893
1893
  * @param {String} opts.sessionId Optional session ID to get the reporting turns for a particular session
1894
+ * @param {String} opts.language Optional language code to get the reporting turns for a particular language
1894
1895
  */
1895
1896
  getAnalyticsBotflowReportingturns(botFlowId, opts) {
1896
1897
  opts = opts || {};
@@ -1904,7 +1905,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
1904
1905
  '/api/v2/analytics/botflows/{botFlowId}/reportingturns',
1905
1906
  'GET',
1906
1907
  { 'botFlowId': botFlowId },
1907
- { 'after': opts['after'],'pageSize': opts['pageSize'],'actionId': opts['actionId'],'sessionId': opts['sessionId'] },
1908
+ { 'after': opts['after'],'pageSize': opts['pageSize'],'actionId': opts['actionId'],'sessionId': opts['sessionId'],'language': opts['language'] },
1908
1909
  { },
1909
1910
  { },
1910
1911
  null,
@@ -2453,6 +2454,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
2453
2454
  );
2454
2455
  }
2455
2456
 
2457
+ /**
2458
+ * Query for action aggregates
2459
+ *
2460
+ * @param {Object} body query
2461
+ */
2462
+ postAnalyticsActionsAggregatesQuery(body) {
2463
+ // verify the required parameter 'body' is set
2464
+ if (body === undefined || body === null) {
2465
+ throw 'Missing the required parameter "body" when calling postAnalyticsActionsAggregatesQuery';
2466
+ }
2467
+
2468
+ return this.apiClient.callApi(
2469
+ '/api/v2/analytics/actions/aggregates/query',
2470
+ 'POST',
2471
+ { },
2472
+ { },
2473
+ { },
2474
+ { },
2475
+ body,
2476
+ ['PureCloud OAuth'],
2477
+ ['application/json'],
2478
+ ['application/json']
2479
+ );
2480
+ }
2481
+
2456
2482
  /**
2457
2483
  * Query for bot aggregates
2458
2484
  *
@@ -3019,7 +3045,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
3019
3045
  /**
3020
3046
  * Architect service.
3021
3047
  * @module purecloud-platform-client-v2/api/ArchitectApi
3022
- * @version 151.0.0
3048
+ * @version 152.0.0
3023
3049
  */
3024
3050
 
3025
3051
  /**
@@ -4612,6 +4638,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
4612
4638
  * @param {Number} opts.pageNumber Page number (default to 1)
4613
4639
  * @param {Number} opts.pageSize Page size (default to 25)
4614
4640
  * @param {Boolean} opts.showbrief If true returns just the key value of the row (default to true)
4641
+ * @param {Object} opts.sortOrder Sort order (default to ascending)
4615
4642
  */
4616
4643
  getFlowsDatatableRows(datatableId, opts) {
4617
4644
  opts = opts || {};
@@ -4625,7 +4652,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
4625
4652
  '/api/v2/flows/datatables/{datatableId}/rows',
4626
4653
  'GET',
4627
4654
  { 'datatableId': datatableId },
4628
- { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'showbrief': opts['showbrief'] },
4655
+ { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'showbrief': opts['showbrief'],'sortOrder': opts['sortOrder'] },
4629
4656
  { },
4630
4657
  { },
4631
4658
  null,
@@ -4645,7 +4672,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
4645
4672
  * @param {Object} opts.sortBy Sort by (default to id)
4646
4673
  * @param {String} opts.sortOrder Sort order (default to ascending)
4647
4674
  * @param {Array.<String>} opts.divisionId division ID(s)
4648
- * @param {String} opts.name Name to filter by
4675
+ * @param {String} opts.name Filter by Name. The wildcard character * is supported within the filter. Matches are case-insensitive.
4649
4676
  */
4650
4677
  getFlowsDatatables(opts) {
4651
4678
  opts = opts || {};
@@ -4704,7 +4731,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
4704
4731
  * @param {Object} opts.sortBy Sort by (default to id)
4705
4732
  * @param {String} opts.sortOrder Sort order (default to ascending)
4706
4733
  * @param {Array.<String>} opts.divisionId division ID(s)
4707
- * @param {String} opts.name Name to filter by
4734
+ * @param {String} opts.name Filter by Name. The wildcard character * is supported within the filter. Matches are case-insensitive.
4708
4735
  */
4709
4736
  getFlowsDatatablesDivisionviews(opts) {
4710
4737
  opts = opts || {};
@@ -6065,7 +6092,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
6065
6092
  /**
6066
6093
  * Audit service.
6067
6094
  * @module purecloud-platform-client-v2/api/AuditApi
6068
- * @version 151.0.0
6095
+ * @version 152.0.0
6069
6096
  */
6070
6097
 
6071
6098
  /**
@@ -6236,7 +6263,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
6236
6263
  /**
6237
6264
  * Authorization service.
6238
6265
  * @module purecloud-platform-client-v2/api/AuthorizationApi
6239
- * @version 151.0.0
6266
+ * @version 152.0.0
6240
6267
  */
6241
6268
 
6242
6269
  /**
@@ -7419,7 +7446,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
7419
7446
  /**
7420
7447
  * Billing service.
7421
7448
  * @module purecloud-platform-client-v2/api/BillingApi
7422
- * @version 151.0.0
7449
+ * @version 152.0.0
7423
7450
  */
7424
7451
 
7425
7452
  /**
@@ -7499,7 +7526,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
7499
7526
  /**
7500
7527
  * Chat service.
7501
7528
  * @module purecloud-platform-client-v2/api/ChatApi
7502
- * @version 151.0.0
7529
+ * @version 152.0.0
7503
7530
  */
7504
7531
 
7505
7532
  /**
@@ -7590,7 +7617,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
7590
7617
  /**
7591
7618
  * Coaching service.
7592
7619
  * @module purecloud-platform-client-v2/api/CoachingApi
7593
- * @version 151.0.0
7620
+ * @version 152.0.0
7594
7621
  */
7595
7622
 
7596
7623
  /**
@@ -8167,7 +8194,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
8167
8194
  /**
8168
8195
  * ContentManagement service.
8169
8196
  * @module purecloud-platform-client-v2/api/ContentManagementApi
8170
- * @version 151.0.0
8197
+ * @version 152.0.0
8171
8198
  */
8172
8199
 
8173
8200
  /**
@@ -9307,7 +9334,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
9307
9334
  /**
9308
9335
  * Conversations service.
9309
9336
  * @module purecloud-platform-client-v2/api/ConversationsApi
9310
- * @version 151.0.0
9337
+ * @version 152.0.0
9311
9338
  */
9312
9339
 
9313
9340
  /**
@@ -10986,8 +11013,9 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
10986
11013
  * @param {Object} opts Optional parameters
10987
11014
  * @param {Number} opts.pageSize Page size (default to 25)
10988
11015
  * @param {Number} opts.pageNumber Page number (default to 1)
10989
- * @param {Object} opts.expand Expand instructions for the return value.
11016
+ * @param {Array.<String>} opts.expand Expand instructions for the return value.
10990
11017
  * @param {String} opts.supportedContentId Filter integrations returned based on the supported content ID
11018
+ * @param {String} opts.messagingSettingId Filter integrations returned based on the setting ID
10991
11019
  */
10992
11020
  getConversationsMessagingIntegrations(opts) {
10993
11021
  opts = opts || {};
@@ -10997,7 +11025,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
10997
11025
  '/api/v2/conversations/messaging/integrations',
10998
11026
  'GET',
10999
11027
  { },
11000
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'expand': opts['expand'],'supportedContent.id': opts['supportedContentId'] },
11028
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'supportedContent.id': opts['supportedContentId'],'messagingSetting.id': opts['messagingSettingId'] },
11001
11029
  { },
11002
11030
  { },
11003
11031
  null,
@@ -11015,6 +11043,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
11015
11043
  * @param {Number} opts.pageNumber Page number (default to 1)
11016
11044
  * @param {Object} opts.expand Expand instructions for the return value.
11017
11045
  * @param {String} opts.supportedContentId Filter integrations returned based on the supported content ID
11046
+ * @param {String} opts.messagingSettingId Filter integrations returned based on the setting ID
11018
11047
  */
11019
11048
  getConversationsMessagingIntegrationsFacebook(opts) {
11020
11049
  opts = opts || {};
@@ -11024,7 +11053,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
11024
11053
  '/api/v2/conversations/messaging/integrations/facebook',
11025
11054
  'GET',
11026
11055
  { },
11027
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'expand': opts['expand'],'supportedContent.id': opts['supportedContentId'] },
11056
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'expand': opts['expand'],'supportedContent.id': opts['supportedContentId'],'messagingSetting.id': opts['messagingSettingId'] },
11028
11057
  { },
11029
11058
  { },
11030
11059
  null,
@@ -11071,6 +11100,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
11071
11100
  * @param {Number} opts.pageNumber Page number (default to 1)
11072
11101
  * @param {Object} opts.expand Expand instructions for the return value.
11073
11102
  * @param {String} opts.supportedContentId Filter integrations returned based on the supported content ID
11103
+ * @param {String} opts.messagingSettingId Filter integrations returned based on the setting ID
11074
11104
  */
11075
11105
  getConversationsMessagingIntegrationsLine(opts) {
11076
11106
  opts = opts || {};
@@ -11080,7 +11110,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
11080
11110
  '/api/v2/conversations/messaging/integrations/line',
11081
11111
  'GET',
11082
11112
  { },
11083
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'expand': opts['expand'],'supportedContent.id': opts['supportedContentId'] },
11113
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'expand': opts['expand'],'supportedContent.id': opts['supportedContentId'],'messagingSetting.id': opts['messagingSettingId'] },
11084
11114
  { },
11085
11115
  { },
11086
11116
  null,
@@ -11127,6 +11157,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
11127
11157
  * @param {Number} opts.pageNumber Page number (default to 1)
11128
11158
  * @param {Object} opts.expand Expand instructions for the return value.
11129
11159
  * @param {String} opts.supportedContentId Filter integrations returned based on the supported content ID
11160
+ * @param {String} opts.messagingSettingId Filter integrations returned based on the setting ID
11130
11161
  */
11131
11162
  getConversationsMessagingIntegrationsOpen(opts) {
11132
11163
  opts = opts || {};
@@ -11136,7 +11167,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
11136
11167
  '/api/v2/conversations/messaging/integrations/open',
11137
11168
  'GET',
11138
11169
  { },
11139
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'expand': opts['expand'],'supportedContent.id': opts['supportedContentId'] },
11170
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'expand': opts['expand'],'supportedContent.id': opts['supportedContentId'],'messagingSetting.id': opts['messagingSettingId'] },
11140
11171
  { },
11141
11172
  { },
11142
11173
  null,
@@ -11183,6 +11214,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
11183
11214
  * @param {Number} opts.pageNumber Page number (default to 1)
11184
11215
  * @param {Object} opts.expand Expand instructions for the return value.
11185
11216
  * @param {String} opts.supportedContentId Filter integrations returned based on the supported content ID
11217
+ * @param {String} opts.messagingSettingId Filter integrations returned based on the setting ID
11186
11218
  */
11187
11219
  getConversationsMessagingIntegrationsTwitter(opts) {
11188
11220
  opts = opts || {};
@@ -11192,7 +11224,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
11192
11224
  '/api/v2/conversations/messaging/integrations/twitter',
11193
11225
  'GET',
11194
11226
  { },
11195
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'expand': opts['expand'],'supportedContent.id': opts['supportedContentId'] },
11227
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'expand': opts['expand'],'supportedContent.id': opts['supportedContentId'],'messagingSetting.id': opts['messagingSettingId'] },
11196
11228
  { },
11197
11229
  { },
11198
11230
  null,
@@ -11239,6 +11271,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
11239
11271
  * @param {Number} opts.pageNumber Page number (default to 1)
11240
11272
  * @param {Object} opts.expand Expand instructions for the return value.
11241
11273
  * @param {String} opts.supportedContentId Filter integrations returned based on the supported content ID
11274
+ * @param {String} opts.messagingSettingId Filter integrations returned based on the setting ID
11242
11275
  */
11243
11276
  getConversationsMessagingIntegrationsWhatsapp(opts) {
11244
11277
  opts = opts || {};
@@ -11248,7 +11281,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
11248
11281
  '/api/v2/conversations/messaging/integrations/whatsapp',
11249
11282
  'GET',
11250
11283
  { },
11251
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'expand': opts['expand'],'supportedContent.id': opts['supportedContentId'] },
11284
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'expand': opts['expand'],'supportedContent.id': opts['supportedContentId'],'messagingSetting.id': opts['messagingSettingId'] },
11252
11285
  { },
11253
11286
  { },
11254
11287
  null,
@@ -14524,7 +14557,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
14524
14557
  /**
14525
14558
  * DataExtensions service.
14526
14559
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
14527
- * @version 151.0.0
14560
+ * @version 152.0.0
14528
14561
  */
14529
14562
 
14530
14563
  /**
@@ -14610,7 +14643,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
14610
14643
  /**
14611
14644
  * Downloads service.
14612
14645
  * @module purecloud-platform-client-v2/api/DownloadsApi
14613
- * @version 151.0.0
14646
+ * @version 152.0.0
14614
14647
  */
14615
14648
 
14616
14649
  /**
@@ -14662,7 +14695,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
14662
14695
  /**
14663
14696
  * Events service.
14664
14697
  * @module purecloud-platform-client-v2/api/EventsApi
14665
- * @version 151.0.0
14698
+ * @version 152.0.0
14666
14699
  */
14667
14700
 
14668
14701
  /**
@@ -14758,7 +14791,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
14758
14791
  /**
14759
14792
  * ExternalContacts service.
14760
14793
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
14761
- * @version 151.0.0
14794
+ * @version 152.0.0
14762
14795
  */
14763
14796
 
14764
14797
  /**
@@ -16716,7 +16749,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
16716
16749
  /**
16717
16750
  * Fax service.
16718
16751
  * @module purecloud-platform-client-v2/api/FaxApi
16719
- * @version 151.0.0
16752
+ * @version 152.0.0
16720
16753
  */
16721
16754
 
16722
16755
  /**
@@ -16887,7 +16920,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
16887
16920
  /**
16888
16921
  * Flows service.
16889
16922
  * @module purecloud-platform-client-v2/api/FlowsApi
16890
- * @version 151.0.0
16923
+ * @version 152.0.0
16891
16924
  */
16892
16925
 
16893
16926
  /**
@@ -16958,7 +16991,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
16958
16991
  /**
16959
16992
  * Gamification service.
16960
16993
  * @module purecloud-platform-client-v2/api/GamificationApi
16961
- * @version 151.0.0
16994
+ * @version 152.0.0
16962
16995
  */
16963
16996
 
16964
16997
  /**
@@ -17176,36 +17209,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
17176
17209
  );
17177
17210
  }
17178
17211
 
17179
- /**
17180
- * Gamified metric by id
17181
- * This API is deprecated. Use /api/v2/gamification/profiles/{profileId}/metrics/{metricId} instead.
17182
- * @param {String} metricId metric Id
17183
- * @param {Object} opts Optional parameters
17184
- * @param {String} opts.workday The objective query workday. If not specified, then it retrieves the current objective. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
17185
- * @param {String} opts.performanceProfileId The profile id of the metrics you are trying to retrieve. The DEFAULT profile is used if nothing is given.
17186
- */
17187
- getGamificationMetric(metricId, opts) {
17188
- opts = opts || {};
17189
-
17190
- // verify the required parameter 'metricId' is set
17191
- if (metricId === undefined || metricId === null) {
17192
- throw 'Missing the required parameter "metricId" when calling getGamificationMetric';
17193
- }
17194
-
17195
- return this.apiClient.callApi(
17196
- '/api/v2/gamification/metrics/{metricId}',
17197
- 'GET',
17198
- { 'metricId': metricId },
17199
- { 'workday': opts['workday'],'performanceProfileId': opts['performanceProfileId'] },
17200
- { },
17201
- { },
17202
- null,
17203
- ['PureCloud OAuth'],
17204
- ['application/json'],
17205
- ['application/json']
17206
- );
17207
- }
17208
-
17209
17212
  /**
17210
17213
  * Metric definition by id
17211
17214
  *
@@ -18510,40 +18513,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
18510
18513
  );
18511
18514
  }
18512
18515
 
18513
- /**
18514
- * Updates a metric
18515
- * This API is deprecated. Use /api/v2/gamification/profiles/{profileId}/metrics/{metricId} instead.
18516
- * @param {String} metricId metric Id
18517
- * @param {Object} body Metric
18518
- * @param {Object} opts Optional parameters
18519
- * @param {String} opts.performanceProfileId The profile id of the metrics you are trying to retrieve. The DEFAULT profile is used if nothing is given.
18520
- */
18521
- putGamificationMetric(metricId, body, opts) {
18522
- opts = opts || {};
18523
-
18524
- // verify the required parameter 'metricId' is set
18525
- if (metricId === undefined || metricId === null) {
18526
- throw 'Missing the required parameter "metricId" when calling putGamificationMetric';
18527
- }
18528
- // verify the required parameter 'body' is set
18529
- if (body === undefined || body === null) {
18530
- throw 'Missing the required parameter "body" when calling putGamificationMetric';
18531
- }
18532
-
18533
- return this.apiClient.callApi(
18534
- '/api/v2/gamification/metrics/{metricId}',
18535
- 'PUT',
18536
- { 'metricId': metricId },
18537
- { 'performanceProfileId': opts['performanceProfileId'] },
18538
- { },
18539
- { },
18540
- body,
18541
- ['PureCloud OAuth'],
18542
- ['application/json'],
18543
- ['application/json']
18544
- );
18545
- }
18546
-
18547
18516
  /**
18548
18517
  * Updates a performance profile
18549
18518
  *
@@ -18639,7 +18608,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
18639
18608
  /**
18640
18609
  * GeneralDataProtectionRegulation service.
18641
18610
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
18642
- * @version 151.0.0
18611
+ * @version 152.0.0
18643
18612
  */
18644
18613
 
18645
18614
  /**
@@ -18769,7 +18738,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
18769
18738
  /**
18770
18739
  * Geolocation service.
18771
18740
  * @module purecloud-platform-client-v2/api/GeolocationApi
18772
- * @version 151.0.0
18741
+ * @version 152.0.0
18773
18742
  */
18774
18743
 
18775
18744
  /**
@@ -18900,7 +18869,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
18900
18869
  /**
18901
18870
  * Greetings service.
18902
18871
  * @module purecloud-platform-client-v2/api/GreetingsApi
18903
- * @version 151.0.0
18872
+ * @version 152.0.0
18904
18873
  */
18905
18874
 
18906
18875
  /**
@@ -19355,7 +19324,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
19355
19324
  /**
19356
19325
  * Groups service.
19357
19326
  * @module purecloud-platform-client-v2/api/GroupsApi
19358
- * @version 151.0.0
19327
+ * @version 152.0.0
19359
19328
  */
19360
19329
 
19361
19330
  /**
@@ -19761,7 +19730,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
19761
19730
  /**
19762
19731
  * IdentityProvider service.
19763
19732
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
19764
- * @version 151.0.0
19733
+ * @version 152.0.0
19765
19734
  */
19766
19735
 
19767
19736
  /**
@@ -20517,7 +20486,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
20517
20486
  /**
20518
20487
  * Integrations service.
20519
20488
  * @module purecloud-platform-client-v2/api/IntegrationsApi
20520
- * @version 151.0.0
20489
+ * @version 152.0.0
20521
20490
  */
20522
20491
 
20523
20492
  /**
@@ -22117,7 +22086,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
22117
22086
  /**
22118
22087
  * Journey service.
22119
22088
  * @module purecloud-platform-client-v2/api/JourneyApi
22120
- * @version 151.0.0
22089
+ * @version 152.0.0
22121
22090
  */
22122
22091
 
22123
22092
  /**
@@ -22903,7 +22872,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
22903
22872
  /**
22904
22873
  * Knowledge service.
22905
22874
  * @module purecloud-platform-client-v2/api/KnowledgeApi
22906
- * @version 151.0.0
22875
+ * @version 152.0.0
22907
22876
  */
22908
22877
 
22909
22878
  /**
@@ -23306,8 +23275,8 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
23306
23275
  * @param {String} sessionId Knowledge guest session ID.
23307
23276
  * @param {Object} opts Optional parameters
23308
23277
  * @param {Array.<String>} opts.categoryId If specified, retrieves documents associated with category ids, comma separated values expected.
23309
- * @param {Boolean} opts.includeSubcategories Works along with 'categoryId' query parameter. If specified, retrieves documents associated with category ids and its children categories.
23310
- * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
23278
+ * @param {Boolean} opts.includeSubcategories Deprecated - Do Not Use. Works along with 'categoryId' query parameter. If specified, retrieves documents associated with category ids and its children categories.
23279
+ * @param {Number} opts.pageSize Number of entities to return. Maximum of 200. (default to 10)
23311
23280
  */
23312
23281
  getKnowledgeGuestSessionDocuments(sessionId, opts) {
23313
23282
  opts = opts || {};
@@ -25336,7 +25305,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25336
25305
  /**
25337
25306
  * LanguageUnderstanding service.
25338
25307
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
25339
- * @version 151.0.0
25308
+ * @version 152.0.0
25340
25309
  */
25341
25310
 
25342
25311
  /**
@@ -26240,7 +26209,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
26240
26209
  /**
26241
26210
  * Languages service.
26242
26211
  * @module purecloud-platform-client-v2/api/LanguagesApi
26243
- * @version 151.0.0
26212
+ * @version 152.0.0
26244
26213
  */
26245
26214
 
26246
26215
  /**
@@ -26508,7 +26477,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
26508
26477
  /**
26509
26478
  * Learning service.
26510
26479
  * @module purecloud-platform-client-v2/api/LearningApi
26511
- * @version 151.0.0
26480
+ * @version 152.0.0
26512
26481
  */
26513
26482
 
26514
26483
  /**
@@ -27268,7 +27237,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
27268
27237
  /**
27269
27238
  * License service.
27270
27239
  * @module purecloud-platform-client-v2/api/LicenseApi
27271
- * @version 151.0.0
27240
+ * @version 152.0.0
27272
27241
  */
27273
27242
 
27274
27243
  /**
@@ -27506,7 +27475,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
27506
27475
  /**
27507
27476
  * Locations service.
27508
27477
  * @module purecloud-platform-client-v2/api/LocationsApi
27509
- * @version 151.0.0
27478
+ * @version 152.0.0
27510
27479
  */
27511
27480
 
27512
27481
  /**
@@ -27742,7 +27711,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
27742
27711
  /**
27743
27712
  * Messaging service.
27744
27713
  * @module purecloud-platform-client-v2/api/MessagingApi
27745
- * @version 151.0.0
27714
+ * @version 152.0.0
27746
27715
  */
27747
27716
 
27748
27717
  /**
@@ -27893,7 +27862,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
27893
27862
  /**
27894
27863
  * MobileDevices service.
27895
27864
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
27896
- * @version 151.0.0
27865
+ * @version 152.0.0
27897
27866
  */
27898
27867
 
27899
27868
  /**
@@ -28044,7 +28013,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
28044
28013
  /**
28045
28014
  * Notifications service.
28046
28015
  * @module purecloud-platform-client-v2/api/NotificationsApi
28047
- * @version 151.0.0
28016
+ * @version 152.0.0
28048
28017
  */
28049
28018
 
28050
28019
  /**
@@ -28269,7 +28238,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
28269
28238
  /**
28270
28239
  * OAuth service.
28271
28240
  * @module purecloud-platform-client-v2/api/OAuthApi
28272
- * @version 151.0.0
28241
+ * @version 152.0.0
28273
28242
  */
28274
28243
 
28275
28244
  /**
@@ -28635,7 +28604,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
28635
28604
  /**
28636
28605
  * Objects service.
28637
28606
  * @module purecloud-platform-client-v2/api/ObjectsApi
28638
- * @version 151.0.0
28607
+ * @version 152.0.0
28639
28608
  */
28640
28609
 
28641
28610
  /**
@@ -28906,7 +28875,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
28906
28875
  /**
28907
28876
  * Organization service.
28908
28877
  * @module purecloud-platform-client-v2/api/OrganizationApi
28909
- * @version 151.0.0
28878
+ * @version 152.0.0
28910
28879
  */
28911
28880
 
28912
28881
  /**
@@ -29309,7 +29278,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
29309
29278
  /**
29310
29279
  * OrganizationAuthorization service.
29311
29280
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
29312
- * @version 151.0.0
29281
+ * @version 152.0.0
29313
29282
  */
29314
29283
 
29315
29284
  /**
@@ -30234,7 +30203,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
30234
30203
  /**
30235
30204
  * Outbound service.
30236
30205
  * @module purecloud-platform-client-v2/api/OutboundApi
30237
- * @version 151.0.0
30206
+ * @version 152.0.0
30238
30207
  */
30239
30208
 
30240
30209
  /**
@@ -33623,7 +33592,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
33623
33592
  /**
33624
33593
  * Presence service.
33625
33594
  * @module purecloud-platform-client-v2/api/PresenceApi
33626
- * @version 151.0.0
33595
+ * @version 152.0.0
33627
33596
  */
33628
33597
 
33629
33598
  /**
@@ -34129,7 +34098,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
34129
34098
  /**
34130
34099
  * ProcessAutomation service.
34131
34100
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
34132
- * @version 151.0.0
34101
+ * @version 152.0.0
34133
34102
  */
34134
34103
 
34135
34104
  /**
@@ -34367,7 +34336,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
34367
34336
  /**
34368
34337
  * Quality service.
34369
34338
  * @module purecloud-platform-client-v2/api/QualityApi
34370
- * @version 151.0.0
34339
+ * @version 152.0.0
34371
34340
  */
34372
34341
 
34373
34342
  /**
@@ -35945,7 +35914,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
35945
35914
  /**
35946
35915
  * Recording service.
35947
35916
  * @module purecloud-platform-client-v2/api/RecordingApi
35948
- * @version 151.0.0
35917
+ * @version 152.0.0
35949
35918
  */
35950
35919
 
35951
35920
  /**
@@ -37632,7 +37601,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
37632
37601
  /**
37633
37602
  * ResponseManagement service.
37634
37603
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
37635
- * @version 151.0.0
37604
+ * @version 152.0.0
37636
37605
  */
37637
37606
 
37638
37607
  /**
@@ -38116,7 +38085,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
38116
38085
  /**
38117
38086
  * Routing service.
38118
38087
  * @module purecloud-platform-client-v2/api/RoutingApi
38119
- * @version 151.0.0
38088
+ * @version 152.0.0
38120
38089
  */
38121
38090
 
38122
38091
  /**
@@ -38425,6 +38394,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
38425
38394
  );
38426
38395
  }
38427
38396
 
38397
+ /**
38398
+ * Remove skill group definition
38399
+ *
38400
+ * @param {String} skillGroupId Skill Group ID
38401
+ */
38402
+ deleteRoutingSkillgroup(skillGroupId) {
38403
+ // verify the required parameter 'skillGroupId' is set
38404
+ if (skillGroupId === undefined || skillGroupId === null) {
38405
+ throw 'Missing the required parameter "skillGroupId" when calling deleteRoutingSkillgroup';
38406
+ }
38407
+
38408
+ return this.apiClient.callApi(
38409
+ '/api/v2/routing/skillgroups/{skillGroupId}',
38410
+ 'DELETE',
38411
+ { 'skillGroupId': skillGroupId },
38412
+ { },
38413
+ { },
38414
+ { },
38415
+ null,
38416
+ ['PureCloud OAuth'],
38417
+ ['application/json'],
38418
+ ['application/json']
38419
+ );
38420
+ }
38421
+
38428
38422
  /**
38429
38423
  * Delete an Address by Id for SMS
38430
38424
  *
@@ -39610,6 +39604,119 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
39610
39604
  );
39611
39605
  }
39612
39606
 
39607
+ /**
39608
+ * Get skill group
39609
+ *
39610
+ * @param {String} skillGroupId Skill Group ID
39611
+ */
39612
+ getRoutingSkillgroup(skillGroupId) {
39613
+ // verify the required parameter 'skillGroupId' is set
39614
+ if (skillGroupId === undefined || skillGroupId === null) {
39615
+ throw 'Missing the required parameter "skillGroupId" when calling getRoutingSkillgroup';
39616
+ }
39617
+
39618
+ return this.apiClient.callApi(
39619
+ '/api/v2/routing/skillgroups/{skillGroupId}',
39620
+ 'GET',
39621
+ { 'skillGroupId': skillGroupId },
39622
+ { },
39623
+ { },
39624
+ { },
39625
+ null,
39626
+ ['PureCloud OAuth'],
39627
+ ['application/json'],
39628
+ ['application/json']
39629
+ );
39630
+ }
39631
+
39632
+ /**
39633
+ * Get skill group members
39634
+ *
39635
+ * @param {String} skillGroupId Skill Group ID
39636
+ * @param {Object} opts Optional parameters
39637
+ * @param {Number} opts.pageSize Page size (default to 25)
39638
+ * @param {String} opts.after The cursor that points to the next item
39639
+ * @param {String} opts.before The cursor that points to the previous item
39640
+ * @param {Object} opts.expand Expand the name on each user
39641
+ */
39642
+ getRoutingSkillgroupMembers(skillGroupId, opts) {
39643
+ opts = opts || {};
39644
+
39645
+ // verify the required parameter 'skillGroupId' is set
39646
+ if (skillGroupId === undefined || skillGroupId === null) {
39647
+ throw 'Missing the required parameter "skillGroupId" when calling getRoutingSkillgroupMembers';
39648
+ }
39649
+
39650
+ return this.apiClient.callApi(
39651
+ '/api/v2/routing/skillgroups/{skillGroupId}/members',
39652
+ 'GET',
39653
+ { 'skillGroupId': skillGroupId },
39654
+ { 'pageSize': opts['pageSize'],'after': opts['after'],'before': opts['before'],'expand': opts['expand'] },
39655
+ { },
39656
+ { },
39657
+ null,
39658
+ ['PureCloud OAuth'],
39659
+ ['application/json'],
39660
+ ['application/json']
39661
+ );
39662
+ }
39663
+
39664
+ /**
39665
+ * Get list of member divisions for this skill group.
39666
+ *
39667
+ * @param {String} skillGroupId Skill Group ID
39668
+ * @param {Object} opts Optional parameters
39669
+ * @param {Object} opts.expand Expand the name on each user
39670
+ */
39671
+ getRoutingSkillgroupMembersDivisions(skillGroupId, opts) {
39672
+ opts = opts || {};
39673
+
39674
+ // verify the required parameter 'skillGroupId' is set
39675
+ if (skillGroupId === undefined || skillGroupId === null) {
39676
+ throw 'Missing the required parameter "skillGroupId" when calling getRoutingSkillgroupMembersDivisions';
39677
+ }
39678
+
39679
+ return this.apiClient.callApi(
39680
+ '/api/v2/routing/skillgroups/{skillGroupId}/members/divisions',
39681
+ 'GET',
39682
+ { 'skillGroupId': skillGroupId },
39683
+ { 'expand': opts['expand'] },
39684
+ { },
39685
+ { },
39686
+ null,
39687
+ ['PureCloud OAuth'],
39688
+ ['application/json'],
39689
+ ['application/json']
39690
+ );
39691
+ }
39692
+
39693
+ /**
39694
+ * Get skill group listing
39695
+ *
39696
+ * @param {Object} opts Optional parameters
39697
+ * @param {Number} opts.pageSize Page size (default to 25)
39698
+ * @param {String} opts.name Return only skill group names whose names start with this value (case-insensitive matching)
39699
+ * @param {String} opts.after The cursor that points to the next item
39700
+ * @param {String} opts.before The cursor that points to the previous item
39701
+ */
39702
+ getRoutingSkillgroups(opts) {
39703
+ opts = opts || {};
39704
+
39705
+
39706
+ return this.apiClient.callApi(
39707
+ '/api/v2/routing/skillgroups',
39708
+ 'GET',
39709
+ { },
39710
+ { 'pageSize': opts['pageSize'],'name': opts['name'],'after': opts['after'],'before': opts['before'] },
39711
+ { },
39712
+ { },
39713
+ null,
39714
+ ['PureCloud OAuth'],
39715
+ ['application/json'],
39716
+ ['application/json']
39717
+ );
39718
+ }
39719
+
39613
39720
  /**
39614
39721
  * Get the list of routing skills.
39615
39722
  *
@@ -40248,6 +40355,36 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
40248
40355
  );
40249
40356
  }
40250
40357
 
40358
+ /**
40359
+ * Update skill group definition
40360
+ *
40361
+ * @param {String} skillGroupId Skill Group ID
40362
+ * @param {Object} body Update skill groups
40363
+ */
40364
+ patchRoutingSkillgroup(skillGroupId, body) {
40365
+ // verify the required parameter 'skillGroupId' is set
40366
+ if (skillGroupId === undefined || skillGroupId === null) {
40367
+ throw 'Missing the required parameter "skillGroupId" when calling patchRoutingSkillgroup';
40368
+ }
40369
+ // verify the required parameter 'body' is set
40370
+ if (body === undefined || body === null) {
40371
+ throw 'Missing the required parameter "body" when calling patchRoutingSkillgroup';
40372
+ }
40373
+
40374
+ return this.apiClient.callApi(
40375
+ '/api/v2/routing/skillgroups/{skillGroupId}',
40376
+ 'PATCH',
40377
+ { 'skillGroupId': skillGroupId },
40378
+ { },
40379
+ { },
40380
+ { },
40381
+ body,
40382
+ ['PureCloud OAuth'],
40383
+ ['application/json'],
40384
+ ['application/json']
40385
+ );
40386
+ }
40387
+
40251
40388
  /**
40252
40389
  * Join or unjoin a queue for a user
40253
40390
  *
@@ -40791,6 +40928,60 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
40791
40928
  );
40792
40929
  }
40793
40930
 
40931
+ /**
40932
+ * Add or remove member divisions for this skill group.
40933
+ *
40934
+ * @param {String} skillGroupId Skill Group ID
40935
+ * @param {Object} opts Optional parameters
40936
+ * @param {Object} opts.body
40937
+ */
40938
+ postRoutingSkillgroupMembersDivisions(skillGroupId, opts) {
40939
+ opts = opts || {};
40940
+
40941
+ // verify the required parameter 'skillGroupId' is set
40942
+ if (skillGroupId === undefined || skillGroupId === null) {
40943
+ throw 'Missing the required parameter "skillGroupId" when calling postRoutingSkillgroupMembersDivisions';
40944
+ }
40945
+
40946
+ return this.apiClient.callApi(
40947
+ '/api/v2/routing/skillgroups/{skillGroupId}/members/divisions',
40948
+ 'POST',
40949
+ { 'skillGroupId': skillGroupId },
40950
+ { },
40951
+ { },
40952
+ { },
40953
+ opts['body'],
40954
+ ['PureCloud OAuth'],
40955
+ ['application/json'],
40956
+ ['application/json']
40957
+ );
40958
+ }
40959
+
40960
+ /**
40961
+ * Create a skill group
40962
+ *
40963
+ * @param {Object} body Create skill group
40964
+ */
40965
+ postRoutingSkillgroups(body) {
40966
+ // verify the required parameter 'body' is set
40967
+ if (body === undefined || body === null) {
40968
+ throw 'Missing the required parameter "body" when calling postRoutingSkillgroups';
40969
+ }
40970
+
40971
+ return this.apiClient.callApi(
40972
+ '/api/v2/routing/skillgroups',
40973
+ 'POST',
40974
+ { },
40975
+ { },
40976
+ { },
40977
+ { },
40978
+ body,
40979
+ ['PureCloud OAuth'],
40980
+ ['application/json'],
40981
+ ['application/json']
40982
+ );
40983
+ }
40984
+
40794
40985
  /**
40795
40986
  * Create Skill
40796
40987
  *
@@ -41307,7 +41498,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
41307
41498
  /**
41308
41499
  * SCIM service.
41309
41500
  * @module purecloud-platform-client-v2/api/SCIMApi
41310
- * @version 151.0.0
41501
+ * @version 152.0.0
41311
41502
  */
41312
41503
 
41313
41504
  /**
@@ -42184,7 +42375,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
42184
42375
  /**
42185
42376
  * Scripts service.
42186
42377
  * @module purecloud-platform-client-v2/api/ScriptsApi
42187
- * @version 151.0.0
42378
+ * @version 152.0.0
42188
42379
  */
42189
42380
 
42190
42381
  /**
@@ -42603,7 +42794,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
42603
42794
  /**
42604
42795
  * Search service.
42605
42796
  * @module purecloud-platform-client-v2/api/SearchApi
42606
- * @version 151.0.0
42797
+ * @version 152.0.0
42607
42798
  */
42608
42799
 
42609
42800
  /**
@@ -43188,7 +43379,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
43188
43379
  /**
43189
43380
  * SpeechTextAnalytics service.
43190
43381
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
43191
- * @version 151.0.0
43382
+ * @version 152.0.0
43192
43383
  */
43193
43384
 
43194
43385
  /**
@@ -44042,7 +44233,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
44042
44233
  /**
44043
44234
  * Stations service.
44044
44235
  * @module purecloud-platform-client-v2/api/StationsApi
44045
- * @version 151.0.0
44236
+ * @version 152.0.0
44046
44237
  */
44047
44238
 
44048
44239
  /**
@@ -44189,7 +44380,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
44189
44380
  /**
44190
44381
  * Suggest service.
44191
44382
  * @module purecloud-platform-client-v2/api/SuggestApi
44192
- * @version 151.0.0
44383
+ * @version 152.0.0
44193
44384
  */
44194
44385
 
44195
44386
  /**
@@ -44328,7 +44519,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
44328
44519
  /**
44329
44520
  * Teams service.
44330
44521
  * @module purecloud-platform-client-v2/api/TeamsApi
44331
- * @version 151.0.0
44522
+ * @version 152.0.0
44332
44523
  */
44333
44524
 
44334
44525
  /**
@@ -44599,7 +44790,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
44599
44790
  /**
44600
44791
  * Telephony service.
44601
44792
  * @module purecloud-platform-client-v2/api/TelephonyApi
44602
- * @version 151.0.0
44793
+ * @version 152.0.0
44603
44794
  */
44604
44795
 
44605
44796
  /**
@@ -44707,7 +44898,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
44707
44898
  /**
44708
44899
  * TelephonyProvidersEdge service.
44709
44900
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
44710
- * @version 151.0.0
44901
+ * @version 152.0.0
44711
44902
  */
44712
44903
 
44713
44904
  /**
@@ -48340,7 +48531,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
48340
48531
  /**
48341
48532
  * Textbots service.
48342
48533
  * @module purecloud-platform-client-v2/api/TextbotsApi
48343
- * @version 151.0.0
48534
+ * @version 152.0.0
48344
48535
  */
48345
48536
 
48346
48537
  /**
@@ -48468,7 +48659,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
48468
48659
  /**
48469
48660
  * Tokens service.
48470
48661
  * @module purecloud-platform-client-v2/api/TokensApi
48471
- * @version 151.0.0
48662
+ * @version 152.0.0
48472
48663
  */
48473
48664
 
48474
48665
  /**
@@ -48574,7 +48765,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
48574
48765
  /**
48575
48766
  * Uploads service.
48576
48767
  * @module purecloud-platform-client-v2/api/UploadsApi
48577
- * @version 151.0.0
48768
+ * @version 152.0.0
48578
48769
  */
48579
48770
 
48580
48771
  /**
@@ -48750,7 +48941,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
48750
48941
  /**
48751
48942
  * Usage service.
48752
48943
  * @module purecloud-platform-client-v2/api/UsageApi
48753
- * @version 151.0.0
48944
+ * @version 152.0.0
48754
48945
  */
48755
48946
 
48756
48947
  /**
@@ -48821,7 +49012,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
48821
49012
  /**
48822
49013
  * UserRecordings service.
48823
49014
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
48824
- * @version 151.0.0
49015
+ * @version 152.0.0
48825
49016
  */
48826
49017
 
48827
49018
  /**
@@ -49006,7 +49197,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
49006
49197
  /**
49007
49198
  * Users service.
49008
49199
  * @module purecloud-platform-client-v2/api/UsersApi
49009
- * @version 151.0.0
49200
+ * @version 152.0.0
49010
49201
  */
49011
49202
 
49012
49203
  /**
@@ -51363,7 +51554,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
51363
51554
  /**
51364
51555
  * Utilities service.
51365
51556
  * @module purecloud-platform-client-v2/api/UtilitiesApi
51366
- * @version 151.0.0
51557
+ * @version 152.0.0
51367
51558
  */
51368
51559
 
51369
51560
  /**
@@ -51474,7 +51665,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
51474
51665
  /**
51475
51666
  * Voicemail service.
51476
51667
  * @module purecloud-platform-client-v2/api/VoicemailApi
51477
- * @version 151.0.0
51668
+ * @version 152.0.0
51478
51669
  */
51479
51670
 
51480
51671
  /**
@@ -52141,7 +52332,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
52141
52332
  /**
52142
52333
  * WebChat service.
52143
52334
  * @module purecloud-platform-client-v2/api/WebChatApi
52144
- * @version 151.0.0
52335
+ * @version 152.0.0
52145
52336
  */
52146
52337
 
52147
52338
  /**
@@ -52685,7 +52876,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
52685
52876
  /**
52686
52877
  * WebDeployments service.
52687
52878
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
52688
- * @version 151.0.0
52879
+ * @version 152.0.0
52689
52880
  */
52690
52881
 
52691
52882
  /**
@@ -53073,7 +53264,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
53073
53264
  /**
53074
53265
  * WebMessaging service.
53075
53266
  * @module purecloud-platform-client-v2/api/WebMessagingApi
53076
- * @version 151.0.0
53267
+ * @version 152.0.0
53077
53268
  */
53078
53269
 
53079
53270
  /**
@@ -53119,7 +53310,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
53119
53310
  /**
53120
53311
  * Widgets service.
53121
53312
  * @module purecloud-platform-client-v2/api/WidgetsApi
53122
- * @version 151.0.0
53313
+ * @version 152.0.0
53123
53314
  */
53124
53315
 
53125
53316
  /**
@@ -53265,7 +53456,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
53265
53456
  /**
53266
53457
  * WorkforceManagement service.
53267
53458
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
53268
- * @version 151.0.0
53459
+ * @version 152.0.0
53269
53460
  */
53270
53461
 
53271
53462
  /**
@@ -57611,7 +57802,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
57611
57802
  * </pre>
57612
57803
  * </p>
57613
57804
  * @module purecloud-platform-client-v2/index
57614
- * @version 151.0.0
57805
+ * @version 152.0.0
57615
57806
  */
57616
57807
  class platformClient {
57617
57808
  constructor() {