purecloud-platform-client-v2 211.0.0 → 212.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (91) hide show
  1. package/README.md +3 -3
  2. package/dist/node/purecloud-platform-client-v2.js +433 -88
  3. package/dist/web-amd/purecloud-platform-client-v2.js +433 -88
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +172 -88
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +173 -89
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +230 -10
  9. package/package.json +1 -1
  10. package/src/purecloud-platform-client-v2/ApiClient.js +2 -2
  11. package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +1 -1
  12. package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +1 -1
  13. package/src/purecloud-platform-client-v2/api/AgentUIApi.js +1 -1
  14. package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
  15. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +187 -1
  16. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
  17. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
  19. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
  21. package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
  22. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +7 -3
  25. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +3 -2
  32. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -2
  45. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/RoutingApi.js +2 -2
  65. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  74. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +156 -1
  75. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
  78. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  79. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  80. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  81. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  82. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  83. package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
  84. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  85. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  86. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  87. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  88. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  89. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  90. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
  91. package/src/purecloud-platform-client-v2/index.js +1 -1
@@ -618,7 +618,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
618
618
 
619
619
  /**
620
620
  * @module purecloud-platform-client-v2/ApiClient
621
- * @version 211.0.0
621
+ * @version 212.0.0
622
622
  */
623
623
  class ApiClient {
624
624
  /**
@@ -1591,7 +1591,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
1591
1591
  'Authorization': 'Basic ' + encodedData,
1592
1592
  'Content-Type': 'application/x-www-form-urlencoded'
1593
1593
  };
1594
- var requestOptions = new HttpRequestOptions(loginBasePath, `POST`, headers, null, qs__default["default"].stringify(data), this.timeout);
1594
+ var requestOptions = new HttpRequestOptions(`${loginBasePath}/oauth/token`, `POST`, headers, null, qs__default["default"].stringify(data), this.timeout);
1595
1595
  const httpClient = this.getHttpClient();
1596
1596
  return httpClient.request(requestOptions);
1597
1597
  }
@@ -2138,7 +2138,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
2138
2138
  /**
2139
2139
  * AgentAssistants service.
2140
2140
  * @module purecloud-platform-client-v2/api/AgentAssistantsApi
2141
- * @version 211.0.0
2141
+ * @version 212.0.0
2142
2142
  */
2143
2143
 
2144
2144
  /**
@@ -2514,7 +2514,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
2514
2514
  /**
2515
2515
  * AgentCopilot service.
2516
2516
  * @module purecloud-platform-client-v2/api/AgentCopilotApi
2517
- * @version 211.0.0
2517
+ * @version 212.0.0
2518
2518
  */
2519
2519
 
2520
2520
  /**
@@ -2590,7 +2590,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
2590
2590
  /**
2591
2591
  * AgentUI service.
2592
2592
  * @module purecloud-platform-client-v2/api/AgentUIApi
2593
- * @version 211.0.0
2593
+ * @version 212.0.0
2594
2594
  */
2595
2595
 
2596
2596
  /**
@@ -2721,7 +2721,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
2721
2721
  /**
2722
2722
  * Alerting service.
2723
2723
  * @module purecloud-platform-client-v2/api/AlertingApi
2724
- * @version 211.0.0
2724
+ * @version 212.0.0
2725
2725
  */
2726
2726
 
2727
2727
  /**
@@ -3382,7 +3382,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
3382
3382
  /**
3383
3383
  * Analytics service.
3384
3384
  * @module purecloud-platform-client-v2/api/AnalyticsApi
3385
- * @version 211.0.0
3385
+ * @version 212.0.0
3386
3386
  */
3387
3387
 
3388
3388
  /**
@@ -3503,6 +3503,32 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
3503
3503
  );
3504
3504
  }
3505
3505
 
3506
+ /**
3507
+ * Get an agent and their active sessions by user ID
3508
+ *
3509
+ * @param {String} userId userId
3510
+ * getAnalyticsAgentStatus is a preview method and is subject to both breaking and non-breaking changes at any time without notice
3511
+ */
3512
+ getAnalyticsAgentStatus(userId) {
3513
+ // verify the required parameter 'userId' is set
3514
+ if (userId === undefined || userId === null) {
3515
+ throw 'Missing the required parameter "userId" when calling getAnalyticsAgentStatus';
3516
+ }
3517
+
3518
+ return this.apiClient.callApi(
3519
+ '/api/v2/analytics/agents/{userId}/status',
3520
+ 'GET',
3521
+ { 'userId': userId },
3522
+ { },
3523
+ { },
3524
+ { },
3525
+ null,
3526
+ ['PureCloud OAuth'],
3527
+ ['application/json'],
3528
+ ['application/json']
3529
+ );
3530
+ }
3531
+
3506
3532
  /**
3507
3533
  * Get status for async query for agent copilot aggregates
3508
3534
  *
@@ -4446,6 +4472,62 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
4446
4472
  );
4447
4473
  }
4448
4474
 
4475
+ /**
4476
+ * Get status for async query for summary aggregates
4477
+ *
4478
+ * @param {String} jobId jobId
4479
+ * getAnalyticsSummariesAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
4480
+ */
4481
+ getAnalyticsSummariesAggregatesJob(jobId) {
4482
+ // verify the required parameter 'jobId' is set
4483
+ if (jobId === undefined || jobId === null) {
4484
+ throw 'Missing the required parameter "jobId" when calling getAnalyticsSummariesAggregatesJob';
4485
+ }
4486
+
4487
+ return this.apiClient.callApi(
4488
+ '/api/v2/analytics/summaries/aggregates/jobs/{jobId}',
4489
+ 'GET',
4490
+ { 'jobId': jobId },
4491
+ { },
4492
+ { },
4493
+ { },
4494
+ null,
4495
+ ['PureCloud OAuth'],
4496
+ ['application/json'],
4497
+ ['application/json']
4498
+ );
4499
+ }
4500
+
4501
+ /**
4502
+ * Fetch a page of results for an async aggregates query
4503
+ *
4504
+ * @param {String} jobId jobId
4505
+ * @param {Object} opts Optional parameters
4506
+ * @param {String} opts.cursor Cursor token to retrieve next page
4507
+ * getAnalyticsSummariesAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
4508
+ */
4509
+ getAnalyticsSummariesAggregatesJobResults(jobId, opts) {
4510
+ opts = opts || {};
4511
+
4512
+ // verify the required parameter 'jobId' is set
4513
+ if (jobId === undefined || jobId === null) {
4514
+ throw 'Missing the required parameter "jobId" when calling getAnalyticsSummariesAggregatesJobResults';
4515
+ }
4516
+
4517
+ return this.apiClient.callApi(
4518
+ '/api/v2/analytics/summaries/aggregates/jobs/{jobId}/results',
4519
+ 'GET',
4520
+ { 'jobId': jobId },
4521
+ { 'cursor': opts['cursor'] },
4522
+ { },
4523
+ { },
4524
+ null,
4525
+ ['PureCloud OAuth'],
4526
+ ['application/json'],
4527
+ ['application/json']
4528
+ );
4529
+ }
4530
+
4449
4531
  /**
4450
4532
  * Get status for async query for survey aggregates
4451
4533
  *
@@ -4872,6 +4954,58 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
4872
4954
  );
4873
4955
  }
4874
4956
 
4957
+ /**
4958
+ * Count agents by segment type
4959
+ *
4960
+ * @param {Object} body query
4961
+ * postAnalyticsAgentsStatusCounts is a preview method and is subject to both breaking and non-breaking changes at any time without notice
4962
+ */
4963
+ postAnalyticsAgentsStatusCounts(body) {
4964
+ // verify the required parameter 'body' is set
4965
+ if (body === undefined || body === null) {
4966
+ throw 'Missing the required parameter "body" when calling postAnalyticsAgentsStatusCounts';
4967
+ }
4968
+
4969
+ return this.apiClient.callApi(
4970
+ '/api/v2/analytics/agents/status/counts',
4971
+ 'POST',
4972
+ { },
4973
+ { },
4974
+ { },
4975
+ { },
4976
+ body,
4977
+ ['PureCloud OAuth'],
4978
+ ['application/json'],
4979
+ ['application/json']
4980
+ );
4981
+ }
4982
+
4983
+ /**
4984
+ * Retrieve the top 50 agents matching the query filters
4985
+ *
4986
+ * @param {Object} body query
4987
+ * postAnalyticsAgentsStatusQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
4988
+ */
4989
+ postAnalyticsAgentsStatusQuery(body) {
4990
+ // verify the required parameter 'body' is set
4991
+ if (body === undefined || body === null) {
4992
+ throw 'Missing the required parameter "body" when calling postAnalyticsAgentsStatusQuery';
4993
+ }
4994
+
4995
+ return this.apiClient.callApi(
4996
+ '/api/v2/analytics/agents/status/query',
4997
+ 'POST',
4998
+ { },
4999
+ { },
5000
+ { },
5001
+ { },
5002
+ body,
5003
+ ['PureCloud OAuth'],
5004
+ ['application/json'],
5005
+ ['application/json']
5006
+ );
5007
+ }
5008
+
4875
5009
  /**
4876
5010
  * Query for bot aggregates asynchronously
4877
5011
  *
@@ -5625,6 +5759,58 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
5625
5759
  );
5626
5760
  }
5627
5761
 
5762
+ /**
5763
+ * Query for summary aggregates asynchronously
5764
+ *
5765
+ * @param {Object} body query
5766
+ * postAnalyticsSummariesAggregatesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
5767
+ */
5768
+ postAnalyticsSummariesAggregatesJobs(body) {
5769
+ // verify the required parameter 'body' is set
5770
+ if (body === undefined || body === null) {
5771
+ throw 'Missing the required parameter "body" when calling postAnalyticsSummariesAggregatesJobs';
5772
+ }
5773
+
5774
+ return this.apiClient.callApi(
5775
+ '/api/v2/analytics/summaries/aggregates/jobs',
5776
+ 'POST',
5777
+ { },
5778
+ { },
5779
+ { },
5780
+ { },
5781
+ body,
5782
+ ['PureCloud OAuth'],
5783
+ ['application/json'],
5784
+ ['application/json']
5785
+ );
5786
+ }
5787
+
5788
+ /**
5789
+ * Query for summary aggregates
5790
+ *
5791
+ * @param {Object} body query
5792
+ * postAnalyticsSummariesAggregatesQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
5793
+ */
5794
+ postAnalyticsSummariesAggregatesQuery(body) {
5795
+ // verify the required parameter 'body' is set
5796
+ if (body === undefined || body === null) {
5797
+ throw 'Missing the required parameter "body" when calling postAnalyticsSummariesAggregatesQuery';
5798
+ }
5799
+
5800
+ return this.apiClient.callApi(
5801
+ '/api/v2/analytics/summaries/aggregates/query',
5802
+ 'POST',
5803
+ { },
5804
+ { },
5805
+ { },
5806
+ { },
5807
+ body,
5808
+ ['PureCloud OAuth'],
5809
+ ['application/json'],
5810
+ ['application/json']
5811
+ );
5812
+ }
5813
+
5628
5814
  /**
5629
5815
  * Query for survey aggregates asynchronously
5630
5816
  *
@@ -5995,7 +6181,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
5995
6181
  /**
5996
6182
  * Architect service.
5997
6183
  * @module purecloud-platform-client-v2/api/ArchitectApi
5998
- * @version 211.0.0
6184
+ * @version 212.0.0
5999
6185
  */
6000
6186
 
6001
6187
  /**
@@ -10117,7 +10303,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
10117
10303
  /**
10118
10304
  * Audit service.
10119
10305
  * @module purecloud-platform-client-v2/api/AuditApi
10120
- * @version 211.0.0
10306
+ * @version 212.0.0
10121
10307
  */
10122
10308
 
10123
10309
  /**
@@ -10318,7 +10504,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
10318
10504
  /**
10319
10505
  * Authorization service.
10320
10506
  * @module purecloud-platform-client-v2/api/AuthorizationApi
10321
- * @version 211.0.0
10507
+ * @version 212.0.0
10322
10508
  */
10323
10509
 
10324
10510
  /**
@@ -11601,7 +11787,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
11601
11787
  /**
11602
11788
  * Billing service.
11603
11789
  * @module purecloud-platform-client-v2/api/BillingApi
11604
- * @version 211.0.0
11790
+ * @version 212.0.0
11605
11791
  */
11606
11792
 
11607
11793
  /**
@@ -11681,7 +11867,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
11681
11867
  /**
11682
11868
  * CarrierServices service.
11683
11869
  * @module purecloud-platform-client-v2/api/CarrierServicesApi
11684
- * @version 211.0.0
11870
+ * @version 212.0.0
11685
11871
  */
11686
11872
 
11687
11873
  /**
@@ -11751,7 +11937,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
11751
11937
  /**
11752
11938
  * Chat service.
11753
11939
  * @module purecloud-platform-client-v2/api/ChatApi
11754
- * @version 211.0.0
11940
+ * @version 212.0.0
11755
11941
  */
11756
11942
 
11757
11943
  /**
@@ -12687,7 +12873,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
12687
12873
  /**
12688
12874
  * Coaching service.
12689
12875
  * @module purecloud-platform-client-v2/api/CoachingApi
12690
- * @version 211.0.0
12876
+ * @version 212.0.0
12691
12877
  */
12692
12878
 
12693
12879
  /**
@@ -13264,7 +13450,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
13264
13450
  /**
13265
13451
  * ContentManagement service.
13266
13452
  * @module purecloud-platform-client-v2/api/ContentManagementApi
13267
- * @version 211.0.0
13453
+ * @version 212.0.0
13268
13454
  */
13269
13455
 
13270
13456
  /**
@@ -14345,7 +14531,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
14345
14531
  /**
14346
14532
  * Conversations service.
14347
14533
  * @module purecloud-platform-client-v2/api/ConversationsApi
14348
- * @version 211.0.0
14534
+ * @version 212.0.0
14349
14535
  */
14350
14536
 
14351
14537
  /**
@@ -20552,8 +20738,12 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
20552
20738
  * Send an agentless outbound message
20553
20739
  * Send an agentless (api participant) outbound message using a client credential grant. In order to call this endpoint you will need OAuth token generated using OAuth client credentials authorized with at least messaging scope. If there is already a connected conversation between the fromAddress and toAddress specified, the useExistingActiveConversation param can be used to barge in to the ongoing conversation.
20554
20740
  * @param {Object} body Create agentless outbound messaging request
20741
+ * @param {Object} opts Optional parameters
20742
+ * @param {Boolean} opts.useNormalizedMessage If true, response removes deprecated fields (textBody, messagingTemplate) (default to false)
20555
20743
  */
20556
- postConversationsMessagesAgentless(body) {
20744
+ postConversationsMessagesAgentless(body, opts) {
20745
+ opts = opts || {};
20746
+
20557
20747
  // verify the required parameter 'body' is set
20558
20748
  if (body === undefined || body === null) {
20559
20749
  throw 'Missing the required parameter "body" when calling postConversationsMessagesAgentless';
@@ -20563,7 +20753,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
20563
20753
  '/api/v2/conversations/messages/agentless',
20564
20754
  'POST',
20565
20755
  { },
20566
- { },
20756
+ { 'useNormalizedMessage': opts['useNormalizedMessage'] },
20567
20757
  { },
20568
20758
  { },
20569
20759
  body,
@@ -21486,7 +21676,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
21486
21676
  /**
21487
21677
  * DataExtensions service.
21488
21678
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
21489
- * @version 211.0.0
21679
+ * @version 212.0.0
21490
21680
  */
21491
21681
 
21492
21682
  /**
@@ -21572,7 +21762,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
21572
21762
  /**
21573
21763
  * DataPrivacy service.
21574
21764
  * @module purecloud-platform-client-v2/api/DataPrivacyApi
21575
- * @version 211.0.0
21765
+ * @version 212.0.0
21576
21766
  */
21577
21767
 
21578
21768
  /**
@@ -21742,7 +21932,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
21742
21932
  /**
21743
21933
  * Downloads service.
21744
21934
  * @module purecloud-platform-client-v2/api/DownloadsApi
21745
- * @version 211.0.0
21935
+ * @version 212.0.0
21746
21936
  */
21747
21937
 
21748
21938
  /**
@@ -21794,7 +21984,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
21794
21984
  /**
21795
21985
  * Emails service.
21796
21986
  * @module purecloud-platform-client-v2/api/EmailsApi
21797
- * @version 211.0.0
21987
+ * @version 212.0.0
21798
21988
  */
21799
21989
 
21800
21990
  /**
@@ -21859,7 +22049,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
21859
22049
  /**
21860
22050
  * EmployeeEngagement service.
21861
22051
  * @module purecloud-platform-client-v2/api/EmployeeEngagementApi
21862
- * @version 211.0.0
22052
+ * @version 212.0.0
21863
22053
  */
21864
22054
 
21865
22055
  /**
@@ -22010,7 +22200,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
22010
22200
  /**
22011
22201
  * Events service.
22012
22202
  * @module purecloud-platform-client-v2/api/EventsApi
22013
- * @version 211.0.0
22203
+ * @version 212.0.0
22014
22204
  */
22015
22205
 
22016
22206
  /**
@@ -22106,7 +22296,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
22106
22296
  /**
22107
22297
  * ExternalContacts service.
22108
22298
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
22109
- * @version 211.0.0
22299
+ * @version 212.0.0
22110
22300
  */
22111
22301
 
22112
22302
  /**
@@ -23982,10 +24172,11 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
23982
24172
 
23983
24173
  /**
23984
24174
  * Fetch a contact using an identifier type and value.
23985
- * Phone number identifier values must be provided with the country code and a leading + symbol. Example: "+1 704 298 4733"
24175
+ * NOTE: Deprecated. Please use /api/v2/externalcontacts/identifierlookup/contacts as an alternative endpoint instead. Phone number identifier values must be provided with the country code and a leading + symbol. Example: "+1 704 298 4733"
23986
24176
  * @param {Object} identifier
23987
24177
  * @param {Object} opts Optional parameters
23988
24178
  * @param {Array.<String>} opts.expand which field, if any, to expand
24179
+ * @deprecated
23989
24180
  */
23990
24181
  postExternalcontactsIdentifierlookup(identifier, opts) {
23991
24182
  opts = opts || {};
@@ -24670,7 +24861,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24670
24861
  /**
24671
24862
  * Fax service.
24672
24863
  * @module purecloud-platform-client-v2/api/FaxApi
24673
- * @version 211.0.0
24864
+ * @version 212.0.0
24674
24865
  */
24675
24866
 
24676
24867
  /**
@@ -24885,7 +25076,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24885
25076
  /**
24886
25077
  * Flows service.
24887
25078
  * @module purecloud-platform-client-v2/api/FlowsApi
24888
- * @version 211.0.0
25079
+ * @version 212.0.0
24889
25080
  */
24890
25081
 
24891
25082
  /**
@@ -25068,7 +25259,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25068
25259
  /**
25069
25260
  * Gamification service.
25070
25261
  * @module purecloud-platform-client-v2/api/GamificationApi
25071
- * @version 211.0.0
25262
+ * @version 212.0.0
25072
25263
  */
25073
25264
 
25074
25265
  /**
@@ -27154,7 +27345,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
27154
27345
  /**
27155
27346
  * GeneralDataProtectionRegulation service.
27156
27347
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
27157
- * @version 211.0.0
27348
+ * @version 212.0.0
27158
27349
  */
27159
27350
 
27160
27351
  /**
@@ -27284,7 +27475,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
27284
27475
  /**
27285
27476
  * Geolocation service.
27286
27477
  * @module purecloud-platform-client-v2/api/GeolocationApi
27287
- * @version 211.0.0
27478
+ * @version 212.0.0
27288
27479
  */
27289
27480
 
27290
27481
  /**
@@ -27415,7 +27606,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
27415
27606
  /**
27416
27607
  * Greetings service.
27417
27608
  * @module purecloud-platform-client-v2/api/GreetingsApi
27418
- * @version 211.0.0
27609
+ * @version 212.0.0
27419
27610
  */
27420
27611
 
27421
27612
  /**
@@ -27870,7 +28061,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
27870
28061
  /**
27871
28062
  * Groups service.
27872
28063
  * @module purecloud-platform-client-v2/api/GroupsApi
27873
- * @version 211.0.0
28064
+ * @version 212.0.0
27874
28065
  */
27875
28066
 
27876
28067
  /**
@@ -28389,7 +28580,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
28389
28580
  /**
28390
28581
  * IdentityProvider service.
28391
28582
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
28392
- * @version 211.0.0
28583
+ * @version 212.0.0
28393
28584
  */
28394
28585
 
28395
28586
  /**
@@ -29250,7 +29441,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
29250
29441
  /**
29251
29442
  * InfrastructureAsCode service.
29252
29443
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
29253
- * @version 211.0.0
29444
+ * @version 212.0.0
29254
29445
  */
29255
29446
 
29256
29447
  /**
@@ -29417,7 +29608,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
29417
29608
  /**
29418
29609
  * Integrations service.
29419
29610
  * @module purecloud-platform-client-v2/api/IntegrationsApi
29420
- * @version 211.0.0
29611
+ * @version 212.0.0
29421
29612
  */
29422
29613
 
29423
29614
  /**
@@ -31859,7 +32050,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
31859
32050
  /**
31860
32051
  * Journey service.
31861
32052
  * @module purecloud-platform-client-v2/api/JourneyApi
31862
- * @version 211.0.0
32053
+ * @version 212.0.0
31863
32054
  */
31864
32055
 
31865
32056
  /**
@@ -33824,7 +34015,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
33824
34015
  /**
33825
34016
  * Knowledge service.
33826
34017
  * @module purecloud-platform-client-v2/api/KnowledgeApi
33827
- * @version 211.0.0
34018
+ * @version 212.0.0
33828
34019
  */
33829
34020
 
33830
34021
  /**
@@ -37700,7 +37891,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
37700
37891
  /**
37701
37892
  * LanguageUnderstanding service.
37702
37893
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
37703
- * @version 211.0.0
37894
+ * @version 212.0.0
37704
37895
  */
37705
37896
 
37706
37897
  /**
@@ -38343,7 +38534,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
38343
38534
  /**
38344
38535
  * Get Organization Configuration
38345
38536
  *
38346
- * getLanguageunderstandingSettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice
38347
38537
  */
38348
38538
  getLanguageunderstandingSettings() {
38349
38539
 
@@ -38734,7 +38924,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
38734
38924
  /**
38735
38925
  * Languages service.
38736
38926
  * @module purecloud-platform-client-v2/api/LanguagesApi
38737
- * @version 211.0.0
38927
+ * @version 212.0.0
38738
38928
  */
38739
38929
 
38740
38930
  /**
@@ -38956,7 +39146,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
38956
39146
  /**
38957
39147
  * Learning service.
38958
39148
  * @module purecloud-platform-client-v2/api/LearningApi
38959
- * @version 211.0.0
39149
+ * @version 212.0.0
38960
39150
  */
38961
39151
 
38962
39152
  /**
@@ -39985,7 +40175,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
39985
40175
  /**
39986
40176
  * License service.
39987
40177
  * @module purecloud-platform-client-v2/api/LicenseApi
39988
- * @version 211.0.0
40178
+ * @version 212.0.0
39989
40179
  */
39990
40180
 
39991
40181
  /**
@@ -40223,7 +40413,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
40223
40413
  /**
40224
40414
  * Locations service.
40225
40415
  * @module purecloud-platform-client-v2/api/LocationsApi
40226
- * @version 211.0.0
40416
+ * @version 212.0.0
40227
40417
  */
40228
40418
 
40229
40419
  /**
@@ -40459,7 +40649,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
40459
40649
  /**
40460
40650
  * LogCapture service.
40461
40651
  * @module purecloud-platform-client-v2/api/LogCaptureApi
40462
- * @version 211.0.0
40652
+ * @version 212.0.0
40463
40653
  */
40464
40654
 
40465
40655
  /**
@@ -40659,7 +40849,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
40659
40849
  /**
40660
40850
  * Messaging service.
40661
40851
  * @module purecloud-platform-client-v2/api/MessagingApi
40662
- * @version 211.0.0
40852
+ * @version 212.0.0
40663
40853
  */
40664
40854
 
40665
40855
  /**
@@ -41018,7 +41208,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
41018
41208
  /**
41019
41209
  * MobileDevices service.
41020
41210
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
41021
- * @version 211.0.0
41211
+ * @version 212.0.0
41022
41212
  */
41023
41213
 
41024
41214
  /**
@@ -41169,7 +41359,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
41169
41359
  /**
41170
41360
  * Notifications service.
41171
41361
  * @module purecloud-platform-client-v2/api/NotificationsApi
41172
- * @version 211.0.0
41362
+ * @version 212.0.0
41173
41363
  */
41174
41364
 
41175
41365
  /**
@@ -41402,7 +41592,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
41402
41592
  /**
41403
41593
  * OAuth service.
41404
41594
  * @module purecloud-platform-client-v2/api/OAuthApi
41405
- * @version 211.0.0
41595
+ * @version 212.0.0
41406
41596
  */
41407
41597
 
41408
41598
  /**
@@ -41768,7 +41958,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
41768
41958
  /**
41769
41959
  * Objects service.
41770
41960
  * @module purecloud-platform-client-v2/api/ObjectsApi
41771
- * @version 211.0.0
41961
+ * @version 212.0.0
41772
41962
  */
41773
41963
 
41774
41964
  /**
@@ -42038,7 +42228,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
42038
42228
  /**
42039
42229
  * OperationalEvents service.
42040
42230
  * @module purecloud-platform-client-v2/api/OperationalEventsApi
42041
- * @version 211.0.0
42231
+ * @version 212.0.0
42042
42232
  */
42043
42233
 
42044
42234
  /**
@@ -42155,7 +42345,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
42155
42345
  /**
42156
42346
  * Organization service.
42157
42347
  * @module purecloud-platform-client-v2/api/OrganizationApi
42158
- * @version 211.0.0
42348
+ * @version 212.0.0
42159
42349
  */
42160
42350
 
42161
42351
  /**
@@ -42697,7 +42887,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
42697
42887
  /**
42698
42888
  * OrganizationAuthorization service.
42699
42889
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
42700
- * @version 211.0.0
42890
+ * @version 212.0.0
42701
42891
  */
42702
42892
 
42703
42893
  /**
@@ -44091,7 +44281,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
44091
44281
  /**
44092
44282
  * Outbound service.
44093
44283
  * @module purecloud-platform-client-v2/api/OutboundApi
44094
- * @version 211.0.0
44284
+ * @version 212.0.0
44095
44285
  */
44096
44286
 
44097
44287
  /**
@@ -48638,7 +48828,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
48638
48828
  /**
48639
48829
  * Presence service.
48640
48830
  * @module purecloud-platform-client-v2/api/PresenceApi
48641
- * @version 211.0.0
48831
+ * @version 212.0.0
48642
48832
  */
48643
48833
 
48644
48834
  /**
@@ -49382,7 +49572,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
49382
49572
  /**
49383
49573
  * ProcessAutomation service.
49384
49574
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
49385
- * @version 211.0.0
49575
+ * @version 212.0.0
49386
49576
  */
49387
49577
 
49388
49578
  /**
@@ -49621,7 +49811,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
49621
49811
  /**
49622
49812
  * Quality service.
49623
49813
  * @module purecloud-platform-client-v2/api/QualityApi
49624
- * @version 211.0.0
49814
+ * @version 212.0.0
49625
49815
  */
49626
49816
 
49627
49817
  /**
@@ -51409,7 +51599,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
51409
51599
  /**
51410
51600
  * Recording service.
51411
51601
  * @module purecloud-platform-client-v2/api/RecordingApi
51412
- * @version 211.0.0
51602
+ * @version 212.0.0
51413
51603
  */
51414
51604
 
51415
51605
  /**
@@ -53068,7 +53258,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
53068
53258
  /**
53069
53259
  * ResponseManagement service.
53070
53260
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
53071
- * @version 211.0.0
53261
+ * @version 212.0.0
53072
53262
  */
53073
53263
 
53074
53264
  /**
@@ -53578,7 +53768,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
53578
53768
  /**
53579
53769
  * Routing service.
53580
53770
  * @module purecloud-platform-client-v2/api/RoutingApi
53581
- * @version 211.0.0
53771
+ * @version 212.0.0
53582
53772
  */
53583
53773
 
53584
53774
  /**
@@ -56223,7 +56413,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
56223
56413
  }
56224
56414
 
56225
56415
  /**
56226
- * Join or unjoin a set of users for a queue
56416
+ * Join or unjoin a set of up to 100 users for a queue
56227
56417
  *
56228
56418
  * @param {String} queueId Queue ID
56229
56419
  * @param {Array.<Object>} body Queue Members
@@ -57730,7 +57920,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
57730
57920
  /**
57731
57921
  * SCIM service.
57732
57922
  * @module purecloud-platform-client-v2/api/SCIMApi
57733
- * @version 211.0.0
57923
+ * @version 212.0.0
57734
57924
  */
57735
57925
 
57736
57926
  /**
@@ -58607,7 +58797,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
58607
58797
  /**
58608
58798
  * ScreenRecording service.
58609
58799
  * @module purecloud-platform-client-v2/api/ScreenRecordingApi
58610
- * @version 211.0.0
58800
+ * @version 212.0.0
58611
58801
  */
58612
58802
 
58613
58803
  /**
@@ -58652,7 +58842,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
58652
58842
  /**
58653
58843
  * Scripts service.
58654
58844
  * @module purecloud-platform-client-v2/api/ScriptsApi
58655
- * @version 211.0.0
58845
+ * @version 212.0.0
58656
58846
  */
58657
58847
 
58658
58848
  /**
@@ -59096,7 +59286,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
59096
59286
  /**
59097
59287
  * Search service.
59098
59288
  * @module purecloud-platform-client-v2/api/SearchApi
59099
- * @version 211.0.0
59289
+ * @version 212.0.0
59100
59290
  */
59101
59291
 
59102
59292
  /**
@@ -59839,7 +60029,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
59839
60029
  /**
59840
60030
  * Settings service.
59841
60031
  * @module purecloud-platform-client-v2/api/SettingsApi
59842
- * @version 211.0.0
60032
+ * @version 212.0.0
59843
60033
  */
59844
60034
 
59845
60035
  /**
@@ -60059,7 +60249,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
60059
60249
  /**
60060
60250
  * SocialMedia service.
60061
60251
  * @module purecloud-platform-client-v2/api/SocialMediaApi
60062
- * @version 211.0.0
60252
+ * @version 212.0.0
60063
60253
  */
60064
60254
 
60065
60255
  /**
@@ -60964,7 +61154,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
60964
61154
  /**
60965
61155
  * SpeechTextAnalytics service.
60966
61156
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
60967
- * @version 211.0.0
61157
+ * @version 212.0.0
60968
61158
  */
60969
61159
 
60970
61160
  /**
@@ -62299,7 +62489,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
62299
62489
  /**
62300
62490
  * Stations service.
62301
62491
  * @module purecloud-platform-client-v2/api/StationsApi
62302
- * @version 211.0.0
62492
+ * @version 212.0.0
62303
62493
  */
62304
62494
 
62305
62495
  /**
@@ -62401,7 +62591,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
62401
62591
  /**
62402
62592
  * Suggest service.
62403
62593
  * @module purecloud-platform-client-v2/api/SuggestApi
62404
- * @version 211.0.0
62594
+ * @version 212.0.0
62405
62595
  */
62406
62596
 
62407
62597
  /**
@@ -62540,7 +62730,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
62540
62730
  /**
62541
62731
  * TaskManagement service.
62542
62732
  * @module purecloud-platform-client-v2/api/TaskManagementApi
62543
- * @version 211.0.0
62733
+ * @version 212.0.0
62544
62734
  */
62545
62735
 
62546
62736
  /**
@@ -62655,6 +62845,36 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
62655
62845
  );
62656
62846
  }
62657
62847
 
62848
+ /**
62849
+ * Delete a date based rule
62850
+ *
62851
+ * @param {String} worktypeId Worktype id
62852
+ * @param {String} ruleId ruleId
62853
+ */
62854
+ deleteTaskmanagementWorktypeFlowsDatebasedRule(worktypeId, ruleId) {
62855
+ // verify the required parameter 'worktypeId' is set
62856
+ if (worktypeId === undefined || worktypeId === null) {
62857
+ throw 'Missing the required parameter "worktypeId" when calling deleteTaskmanagementWorktypeFlowsDatebasedRule';
62858
+ }
62859
+ // verify the required parameter 'ruleId' is set
62860
+ if (ruleId === undefined || ruleId === null) {
62861
+ throw 'Missing the required parameter "ruleId" when calling deleteTaskmanagementWorktypeFlowsDatebasedRule';
62862
+ }
62863
+
62864
+ return this.apiClient.callApi(
62865
+ '/api/v2/taskmanagement/worktypes/{worktypeId}/flows/datebased/rules/{ruleId}',
62866
+ 'DELETE',
62867
+ { 'worktypeId': worktypeId,'ruleId': ruleId },
62868
+ { },
62869
+ { },
62870
+ { },
62871
+ null,
62872
+ ['PureCloud OAuth'],
62873
+ ['application/json'],
62874
+ ['application/json']
62875
+ );
62876
+ }
62877
+
62658
62878
  /**
62659
62879
  * Delete a rule
62660
62880
  *
@@ -63237,6 +63457,66 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
63237
63457
  );
63238
63458
  }
63239
63459
 
63460
+ /**
63461
+ * Get a date based rule
63462
+ *
63463
+ * @param {String} worktypeId Worktype id
63464
+ * @param {String} ruleId ruleId
63465
+ */
63466
+ getTaskmanagementWorktypeFlowsDatebasedRule(worktypeId, ruleId) {
63467
+ // verify the required parameter 'worktypeId' is set
63468
+ if (worktypeId === undefined || worktypeId === null) {
63469
+ throw 'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeFlowsDatebasedRule';
63470
+ }
63471
+ // verify the required parameter 'ruleId' is set
63472
+ if (ruleId === undefined || ruleId === null) {
63473
+ throw 'Missing the required parameter "ruleId" when calling getTaskmanagementWorktypeFlowsDatebasedRule';
63474
+ }
63475
+
63476
+ return this.apiClient.callApi(
63477
+ '/api/v2/taskmanagement/worktypes/{worktypeId}/flows/datebased/rules/{ruleId}',
63478
+ 'GET',
63479
+ { 'worktypeId': worktypeId,'ruleId': ruleId },
63480
+ { },
63481
+ { },
63482
+ { },
63483
+ null,
63484
+ ['PureCloud OAuth'],
63485
+ ['application/json'],
63486
+ ['application/json']
63487
+ );
63488
+ }
63489
+
63490
+ /**
63491
+ * Get all date based rules for a worktype
63492
+ *
63493
+ * @param {String} worktypeId Worktype id
63494
+ * @param {Object} opts Optional parameters
63495
+ * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
63496
+ * @param {Number} opts.pageSize Limit the number of entities to return. It is not guaranteed that the requested number of entities will be filled in a single request. If an `after` key is returned as part of the response it is possible that more entities that match the filter criteria exist. Maximum of 200. (default to 25)
63497
+ */
63498
+ getTaskmanagementWorktypeFlowsDatebasedRules(worktypeId, opts) {
63499
+ opts = opts || {};
63500
+
63501
+ // verify the required parameter 'worktypeId' is set
63502
+ if (worktypeId === undefined || worktypeId === null) {
63503
+ throw 'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeFlowsDatebasedRules';
63504
+ }
63505
+
63506
+ return this.apiClient.callApi(
63507
+ '/api/v2/taskmanagement/worktypes/{worktypeId}/flows/datebased/rules',
63508
+ 'GET',
63509
+ { 'worktypeId': worktypeId },
63510
+ { 'after': opts['after'],'pageSize': opts['pageSize'] },
63511
+ { },
63512
+ { },
63513
+ null,
63514
+ ['PureCloud OAuth'],
63515
+ ['application/json'],
63516
+ ['application/json']
63517
+ );
63518
+ }
63519
+
63240
63520
  /**
63241
63521
  * Get an attribute change rule
63242
63522
  *
@@ -63693,6 +63973,41 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
63693
63973
  );
63694
63974
  }
63695
63975
 
63976
+ /**
63977
+ * Update the attributes of a date based rule
63978
+ *
63979
+ * @param {String} worktypeId Worktype id
63980
+ * @param {String} ruleId ruleId
63981
+ * @param {Object} body Rule
63982
+ */
63983
+ patchTaskmanagementWorktypeFlowsDatebasedRule(worktypeId, ruleId, body) {
63984
+ // verify the required parameter 'worktypeId' is set
63985
+ if (worktypeId === undefined || worktypeId === null) {
63986
+ throw 'Missing the required parameter "worktypeId" when calling patchTaskmanagementWorktypeFlowsDatebasedRule';
63987
+ }
63988
+ // verify the required parameter 'ruleId' is set
63989
+ if (ruleId === undefined || ruleId === null) {
63990
+ throw 'Missing the required parameter "ruleId" when calling patchTaskmanagementWorktypeFlowsDatebasedRule';
63991
+ }
63992
+ // verify the required parameter 'body' is set
63993
+ if (body === undefined || body === null) {
63994
+ throw 'Missing the required parameter "body" when calling patchTaskmanagementWorktypeFlowsDatebasedRule';
63995
+ }
63996
+
63997
+ return this.apiClient.callApi(
63998
+ '/api/v2/taskmanagement/worktypes/{worktypeId}/flows/datebased/rules/{ruleId}',
63999
+ 'PATCH',
64000
+ { 'worktypeId': worktypeId,'ruleId': ruleId },
64001
+ { },
64002
+ { },
64003
+ { },
64004
+ body,
64005
+ ['PureCloud OAuth'],
64006
+ ['application/json'],
64007
+ ['application/json']
64008
+ );
64009
+ }
64010
+
63696
64011
  /**
63697
64012
  * Update the attributes of a rule
63698
64013
  *
@@ -64028,6 +64343,36 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
64028
64343
  );
64029
64344
  }
64030
64345
 
64346
+ /**
64347
+ * Add a date based rule to a worktype
64348
+ *
64349
+ * @param {String} worktypeId Worktype id
64350
+ * @param {Object} body Rule
64351
+ */
64352
+ postTaskmanagementWorktypeFlowsDatebasedRules(worktypeId, body) {
64353
+ // verify the required parameter 'worktypeId' is set
64354
+ if (worktypeId === undefined || worktypeId === null) {
64355
+ throw 'Missing the required parameter "worktypeId" when calling postTaskmanagementWorktypeFlowsDatebasedRules';
64356
+ }
64357
+ // verify the required parameter 'body' is set
64358
+ if (body === undefined || body === null) {
64359
+ throw 'Missing the required parameter "body" when calling postTaskmanagementWorktypeFlowsDatebasedRules';
64360
+ }
64361
+
64362
+ return this.apiClient.callApi(
64363
+ '/api/v2/taskmanagement/worktypes/{worktypeId}/flows/datebased/rules',
64364
+ 'POST',
64365
+ { 'worktypeId': worktypeId },
64366
+ { },
64367
+ { },
64368
+ { },
64369
+ body,
64370
+ ['PureCloud OAuth'],
64371
+ ['application/json'],
64372
+ ['application/json']
64373
+ );
64374
+ }
64375
+
64031
64376
  /**
64032
64377
  * Add an attribute-change rule to a worktype
64033
64378
  *
@@ -64204,7 +64549,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
64204
64549
  /**
64205
64550
  * Teams service.
64206
64551
  * @module purecloud-platform-client-v2/api/TeamsApi
64207
- * @version 211.0.0
64552
+ * @version 212.0.0
64208
64553
  */
64209
64554
 
64210
64555
  /**
@@ -64509,7 +64854,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
64509
64854
  /**
64510
64855
  * Telephony service.
64511
64856
  * @module purecloud-platform-client-v2/api/TelephonyApi
64512
- * @version 211.0.0
64857
+ * @version 212.0.0
64513
64858
  */
64514
64859
 
64515
64860
  /**
@@ -64691,7 +65036,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
64691
65036
  /**
64692
65037
  * TelephonyProvidersEdge service.
64693
65038
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
64694
- * @version 211.0.0
65039
+ * @version 212.0.0
64695
65040
  */
64696
65041
 
64697
65042
  /**
@@ -68142,7 +68487,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
68142
68487
  /**
68143
68488
  * Textbots service.
68144
68489
  * @module purecloud-platform-client-v2/api/TextbotsApi
68145
- * @version 211.0.0
68490
+ * @version 212.0.0
68146
68491
  */
68147
68492
 
68148
68493
  /**
@@ -68270,7 +68615,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
68270
68615
  /**
68271
68616
  * Tokens service.
68272
68617
  * @module purecloud-platform-client-v2/api/TokensApi
68273
- * @version 211.0.0
68618
+ * @version 212.0.0
68274
68619
  */
68275
68620
 
68276
68621
  /**
@@ -68424,7 +68769,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
68424
68769
  /**
68425
68770
  * Uploads service.
68426
68771
  * @module purecloud-platform-client-v2/api/UploadsApi
68427
- * @version 211.0.0
68772
+ * @version 212.0.0
68428
68773
  */
68429
68774
 
68430
68775
  /**
@@ -68693,7 +69038,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
68693
69038
  /**
68694
69039
  * Usage service.
68695
69040
  * @module purecloud-platform-client-v2/api/UsageApi
68696
- * @version 211.0.0
69041
+ * @version 212.0.0
68697
69042
  */
68698
69043
 
68699
69044
  /**
@@ -68908,7 +69253,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
68908
69253
  /**
68909
69254
  * UserRecordings service.
68910
69255
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
68911
- * @version 211.0.0
69256
+ * @version 212.0.0
68912
69257
  */
68913
69258
 
68914
69259
  /**
@@ -69123,7 +69468,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
69123
69468
  /**
69124
69469
  * Users service.
69125
69470
  * @module purecloud-platform-client-v2/api/UsersApi
69126
- * @version 211.0.0
69471
+ * @version 212.0.0
69127
69472
  */
69128
69473
 
69129
69474
  /**
@@ -71952,7 +72297,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
71952
72297
  /**
71953
72298
  * Utilities service.
71954
72299
  * @module purecloud-platform-client-v2/api/UtilitiesApi
71955
- * @version 211.0.0
72300
+ * @version 212.0.0
71956
72301
  */
71957
72302
 
71958
72303
  /**
@@ -72063,7 +72408,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
72063
72408
  /**
72064
72409
  * Voicemail service.
72065
72410
  * @module purecloud-platform-client-v2/api/VoicemailApi
72066
- * @version 211.0.0
72411
+ * @version 212.0.0
72067
72412
  */
72068
72413
 
72069
72414
  /**
@@ -72785,7 +73130,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
72785
73130
  /**
72786
73131
  * WebChat service.
72787
73132
  * @module purecloud-platform-client-v2/api/WebChatApi
72788
- * @version 211.0.0
73133
+ * @version 212.0.0
72789
73134
  */
72790
73135
 
72791
73136
  /**
@@ -73336,7 +73681,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
73336
73681
  /**
73337
73682
  * WebDeployments service.
73338
73683
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
73339
- * @version 211.0.0
73684
+ * @version 212.0.0
73340
73685
  */
73341
73686
 
73342
73687
  /**
@@ -73863,7 +74208,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
73863
74208
  /**
73864
74209
  * WebMessaging service.
73865
74210
  * @module purecloud-platform-client-v2/api/WebMessagingApi
73866
- * @version 211.0.0
74211
+ * @version 212.0.0
73867
74212
  */
73868
74213
 
73869
74214
  /**
@@ -73909,7 +74254,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
73909
74254
  /**
73910
74255
  * Widgets service.
73911
74256
  * @module purecloud-platform-client-v2/api/WidgetsApi
73912
- * @version 211.0.0
74257
+ * @version 212.0.0
73913
74258
  */
73914
74259
 
73915
74260
  /**
@@ -74055,7 +74400,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
74055
74400
  /**
74056
74401
  * WorkforceManagement service.
74057
74402
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
74058
- * @version 211.0.0
74403
+ * @version 212.0.0
74059
74404
  */
74060
74405
 
74061
74406
  /**
@@ -81261,7 +81606,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
81261
81606
  * </pre>
81262
81607
  * </p>
81263
81608
  * @module purecloud-platform-client-v2/index
81264
- * @version 211.0.0
81609
+ * @version 212.0.0
81265
81610
  */
81266
81611
  class platformClient {
81267
81612
  constructor() {