purecloud-platform-client-v2 136.0.0 → 136.1.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 (73) hide show
  1. package/README.md +2 -2
  2. package/dist/node/purecloud-platform-client-v2.js +314 -65
  3. package/dist/web-amd/purecloud-platform-client-v2.js +314 -65
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +314 -65
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +314 -65
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +528 -387
  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/AlertingApi.js +1 -1
  12. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
  13. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +50 -1
  14. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  15. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
  16. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  17. package/src/purecloud-platform-client-v2/api/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 +1 -1
  21. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  22. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/OutboundApi.js +201 -1
  47. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/index.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "purecloud-platform-client-v2",
3
- "version": "136.0.0",
3
+ "version": "136.1.0",
4
4
  "description": "A JavaScript library to interface with the PureCloud Platform API",
5
5
  "license": "MIT",
6
6
  "main": "dist/node/purecloud-platform-client-v2.js",
@@ -3,7 +3,7 @@ import Configuration from './configuration.js';
3
3
 
4
4
  /**
5
5
  * @module purecloud-platform-client-v2/ApiClient
6
- * @version 136.0.0
6
+ * @version 136.1.0
7
7
  */
8
8
  class ApiClient {
9
9
  /**
@@ -950,7 +950,7 @@ class ApiClient {
950
950
 
951
951
  // set header parameters
952
952
  request.set(that.defaultHeaders).set(that.normalizeParams(headerParams));
953
- //request.set({ 'purecloud-sdk': '136.0.0' });
953
+ //request.set({ 'purecloud-sdk': '136.1.0' });
954
954
 
955
955
  // set request timeout
956
956
  request.timeout(that.timeout);
@@ -5,7 +5,7 @@ class AlertingApi {
5
5
  /**
6
6
  * Alerting service.
7
7
  * @module purecloud-platform-client-v2/api/AlertingApi
8
- * @version 136.0.0
8
+ * @version 136.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class AnalyticsApi {
5
5
  /**
6
6
  * Analytics service.
7
7
  * @module purecloud-platform-client-v2/api/AnalyticsApi
8
- * @version 136.0.0
8
+ * @version 136.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ArchitectApi {
5
5
  /**
6
6
  * Architect service.
7
7
  * @module purecloud-platform-client-v2/api/ArchitectApi
8
- * @version 136.0.0
8
+ * @version 136.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -1769,6 +1769,35 @@ class ArchitectApi {
1769
1769
  );
1770
1770
  }
1771
1771
 
1772
+ /**
1773
+ * Fetch Architect Job Status
1774
+ *
1775
+ * @param {String} jobId Job ID
1776
+ * @param {Object} opts Optional parameters
1777
+ * @param {Array.<String>} opts.expand Which fields, if any, to expand.
1778
+ */
1779
+ getFlowsJob(jobId, opts) {
1780
+ opts = opts || {};
1781
+
1782
+ // verify the required parameter 'jobId' is set
1783
+ if (jobId === undefined || jobId === null) {
1784
+ throw 'Missing the required parameter "jobId" when calling getFlowsJob';
1785
+ }
1786
+
1787
+ return this.apiClient.callApi(
1788
+ '/api/v2/flows/jobs/{jobId}',
1789
+ 'GET',
1790
+ { 'jobId': jobId },
1791
+ { 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
1792
+ { },
1793
+ { },
1794
+ null,
1795
+ ['PureCloud OAuth'],
1796
+ ['application/json'],
1797
+ ['application/json']
1798
+ );
1799
+ }
1800
+
1772
1801
  /**
1773
1802
  * Get a flow milestone
1774
1803
  * Returns a specified flow milestone
@@ -2571,6 +2600,26 @@ class ArchitectApi {
2571
2600
  );
2572
2601
  }
2573
2602
 
2603
+ /**
2604
+ * Register Architect Job. Returns a URL where a file, such as an Architect flow YAML file, can be PUT which will then initiate the job.
2605
+ *
2606
+ */
2607
+ postFlowsJobs() {
2608
+
2609
+ return this.apiClient.callApi(
2610
+ '/api/v2/flows/jobs',
2611
+ 'POST',
2612
+ { },
2613
+ { },
2614
+ { },
2615
+ { },
2616
+ null,
2617
+ ['PureCloud OAuth'],
2618
+ ['application/json'],
2619
+ ['application/json']
2620
+ );
2621
+ }
2622
+
2574
2623
  /**
2575
2624
  * Create a flow milestone
2576
2625
  *
@@ -5,7 +5,7 @@ class AuditApi {
5
5
  /**
6
6
  * Audit service.
7
7
  * @module purecloud-platform-client-v2/api/AuditApi
8
- * @version 136.0.0
8
+ * @version 136.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class AuthorizationApi {
5
5
  /**
6
6
  * Authorization service.
7
7
  * @module purecloud-platform-client-v2/api/AuthorizationApi
8
- * @version 136.0.0
8
+ * @version 136.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class BillingApi {
5
5
  /**
6
6
  * Billing service.
7
7
  * @module purecloud-platform-client-v2/api/BillingApi
8
- * @version 136.0.0
8
+ * @version 136.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ChatApi {
5
5
  /**
6
6
  * Chat service.
7
7
  * @module purecloud-platform-client-v2/api/ChatApi
8
- * @version 136.0.0
8
+ * @version 136.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class CoachingApi {
5
5
  /**
6
6
  * Coaching service.
7
7
  * @module purecloud-platform-client-v2/api/CoachingApi
8
- * @version 136.0.0
8
+ * @version 136.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ContentManagementApi {
5
5
  /**
6
6
  * ContentManagement service.
7
7
  * @module purecloud-platform-client-v2/api/ContentManagementApi
8
- * @version 136.0.0
8
+ * @version 136.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ConversationsApi {
5
5
  /**
6
6
  * Conversations service.
7
7
  * @module purecloud-platform-client-v2/api/ConversationsApi
8
- * @version 136.0.0
8
+ * @version 136.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class DataExtensionsApi {
5
5
  /**
6
6
  * DataExtensions service.
7
7
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
8
- * @version 136.0.0
8
+ * @version 136.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ExternalContactsApi {
5
5
  /**
6
6
  * ExternalContacts service.
7
7
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
8
- * @version 136.0.0
8
+ * @version 136.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class FaxApi {
5
5
  /**
6
6
  * Fax service.
7
7
  * @module purecloud-platform-client-v2/api/FaxApi
8
- * @version 136.0.0
8
+ * @version 136.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class FlowsApi {
5
5
  /**
6
6
  * Flows service.
7
7
  * @module purecloud-platform-client-v2/api/FlowsApi
8
- * @version 136.0.0
8
+ * @version 136.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class GamificationApi {
5
5
  /**
6
6
  * Gamification service.
7
7
  * @module purecloud-platform-client-v2/api/GamificationApi
8
- * @version 136.0.0
8
+ * @version 136.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class GeneralDataProtectionRegulationApi {
5
5
  /**
6
6
  * GeneralDataProtectionRegulation service.
7
7
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
8
- * @version 136.0.0
8
+ * @version 136.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class GeolocationApi {
5
5
  /**
6
6
  * Geolocation service.
7
7
  * @module purecloud-platform-client-v2/api/GeolocationApi
8
- * @version 136.0.0
8
+ * @version 136.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class GreetingsApi {
5
5
  /**
6
6
  * Greetings service.
7
7
  * @module purecloud-platform-client-v2/api/GreetingsApi
8
- * @version 136.0.0
8
+ * @version 136.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class GroupsApi {
5
5
  /**
6
6
  * Groups service.
7
7
  * @module purecloud-platform-client-v2/api/GroupsApi
8
- * @version 136.0.0
8
+ * @version 136.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class IdentityProviderApi {
5
5
  /**
6
6
  * IdentityProvider service.
7
7
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
8
- * @version 136.0.0
8
+ * @version 136.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class IntegrationsApi {
5
5
  /**
6
6
  * Integrations service.
7
7
  * @module purecloud-platform-client-v2/api/IntegrationsApi
8
- * @version 136.0.0
8
+ * @version 136.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class JourneyApi {
5
5
  /**
6
6
  * Journey service.
7
7
  * @module purecloud-platform-client-v2/api/JourneyApi
8
- * @version 136.0.0
8
+ * @version 136.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class KnowledgeApi {
5
5
  /**
6
6
  * Knowledge service.
7
7
  * @module purecloud-platform-client-v2/api/KnowledgeApi
8
- * @version 136.0.0
8
+ * @version 136.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class LanguageUnderstandingApi {
5
5
  /**
6
6
  * LanguageUnderstanding service.
7
7
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
8
- * @version 136.0.0
8
+ * @version 136.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class LanguagesApi {
5
5
  /**
6
6
  * Languages service.
7
7
  * @module purecloud-platform-client-v2/api/LanguagesApi
8
- * @version 136.0.0
8
+ * @version 136.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class LearningApi {
5
5
  /**
6
6
  * Learning service.
7
7
  * @module purecloud-platform-client-v2/api/LearningApi
8
- * @version 136.0.0
8
+ * @version 136.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class LicenseApi {
5
5
  /**
6
6
  * License service.
7
7
  * @module purecloud-platform-client-v2/api/LicenseApi
8
- * @version 136.0.0
8
+ * @version 136.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class LocationsApi {
5
5
  /**
6
6
  * Locations service.
7
7
  * @module purecloud-platform-client-v2/api/LocationsApi
8
- * @version 136.0.0
8
+ * @version 136.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class MessagingApi {
5
5
  /**
6
6
  * Messaging service.
7
7
  * @module purecloud-platform-client-v2/api/MessagingApi
8
- * @version 136.0.0
8
+ * @version 136.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class MobileDevicesApi {
5
5
  /**
6
6
  * MobileDevices service.
7
7
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
8
- * @version 136.0.0
8
+ * @version 136.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class NotificationsApi {
5
5
  /**
6
6
  * Notifications service.
7
7
  * @module purecloud-platform-client-v2/api/NotificationsApi
8
- * @version 136.0.0
8
+ * @version 136.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class OAuthApi {
5
5
  /**
6
6
  * OAuth service.
7
7
  * @module purecloud-platform-client-v2/api/OAuthApi
8
- * @version 136.0.0
8
+ * @version 136.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ObjectsApi {
5
5
  /**
6
6
  * Objects service.
7
7
  * @module purecloud-platform-client-v2/api/ObjectsApi
8
- * @version 136.0.0
8
+ * @version 136.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class OrganizationApi {
5
5
  /**
6
6
  * Organization service.
7
7
  * @module purecloud-platform-client-v2/api/OrganizationApi
8
- * @version 136.0.0
8
+ * @version 136.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class OrganizationAuthorizationApi {
5
5
  /**
6
6
  * OrganizationAuthorization service.
7
7
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
8
- * @version 136.0.0
8
+ * @version 136.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class OutboundApi {
5
5
  /**
6
6
  * Outbound service.
7
7
  * @module purecloud-platform-client-v2/api/OutboundApi
8
- * @version 136.0.0
8
+ * @version 136.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -430,6 +430,56 @@ class OutboundApi {
430
430
  );
431
431
  }
432
432
 
433
+ /**
434
+ * Delete an email campaign schedule.
435
+ *
436
+ * @param {String} emailCampaignId Email Campaign ID
437
+ */
438
+ deleteOutboundSchedulesEmailcampaign(emailCampaignId) {
439
+ // verify the required parameter 'emailCampaignId' is set
440
+ if (emailCampaignId === undefined || emailCampaignId === null) {
441
+ throw 'Missing the required parameter "emailCampaignId" when calling deleteOutboundSchedulesEmailcampaign';
442
+ }
443
+
444
+ return this.apiClient.callApi(
445
+ '/api/v2/outbound/schedules/emailcampaigns/{emailCampaignId}',
446
+ 'DELETE',
447
+ { 'emailCampaignId': emailCampaignId },
448
+ { },
449
+ { },
450
+ { },
451
+ null,
452
+ ['PureCloud OAuth'],
453
+ ['application/json'],
454
+ ['application/json']
455
+ );
456
+ }
457
+
458
+ /**
459
+ * Delete a messaging campaign schedule.
460
+ *
461
+ * @param {String} messagingCampaignId Messaging Campaign ID
462
+ */
463
+ deleteOutboundSchedulesMessagingcampaign(messagingCampaignId) {
464
+ // verify the required parameter 'messagingCampaignId' is set
465
+ if (messagingCampaignId === undefined || messagingCampaignId === null) {
466
+ throw 'Missing the required parameter "messagingCampaignId" when calling deleteOutboundSchedulesMessagingcampaign';
467
+ }
468
+
469
+ return this.apiClient.callApi(
470
+ '/api/v2/outbound/schedules/messagingcampaigns/{messagingCampaignId}',
471
+ 'DELETE',
472
+ { 'messagingCampaignId': messagingCampaignId },
473
+ { },
474
+ { },
475
+ { },
476
+ null,
477
+ ['PureCloud OAuth'],
478
+ ['application/json'],
479
+ ['application/json']
480
+ );
481
+ }
482
+
433
483
  /**
434
484
  * Delete a dialer sequence schedule.
435
485
  *
@@ -1766,6 +1816,96 @@ class OutboundApi {
1766
1816
  );
1767
1817
  }
1768
1818
 
1819
+ /**
1820
+ * Get an email campaign schedule.
1821
+ *
1822
+ * @param {String} emailCampaignId Email Campaign ID
1823
+ */
1824
+ getOutboundSchedulesEmailcampaign(emailCampaignId) {
1825
+ // verify the required parameter 'emailCampaignId' is set
1826
+ if (emailCampaignId === undefined || emailCampaignId === null) {
1827
+ throw 'Missing the required parameter "emailCampaignId" when calling getOutboundSchedulesEmailcampaign';
1828
+ }
1829
+
1830
+ return this.apiClient.callApi(
1831
+ '/api/v2/outbound/schedules/emailcampaigns/{emailCampaignId}',
1832
+ 'GET',
1833
+ { 'emailCampaignId': emailCampaignId },
1834
+ { },
1835
+ { },
1836
+ { },
1837
+ null,
1838
+ ['PureCloud OAuth'],
1839
+ ['application/json'],
1840
+ ['application/json']
1841
+ );
1842
+ }
1843
+
1844
+ /**
1845
+ * Query for a list of email campaign schedules.
1846
+ *
1847
+ */
1848
+ getOutboundSchedulesEmailcampaigns() {
1849
+
1850
+ return this.apiClient.callApi(
1851
+ '/api/v2/outbound/schedules/emailcampaigns',
1852
+ 'GET',
1853
+ { },
1854
+ { },
1855
+ { },
1856
+ { },
1857
+ null,
1858
+ ['PureCloud OAuth'],
1859
+ ['application/json'],
1860
+ ['application/json']
1861
+ );
1862
+ }
1863
+
1864
+ /**
1865
+ * Get a messaging campaign schedule.
1866
+ *
1867
+ * @param {String} messagingCampaignId Messaging Campaign ID
1868
+ */
1869
+ getOutboundSchedulesMessagingcampaign(messagingCampaignId) {
1870
+ // verify the required parameter 'messagingCampaignId' is set
1871
+ if (messagingCampaignId === undefined || messagingCampaignId === null) {
1872
+ throw 'Missing the required parameter "messagingCampaignId" when calling getOutboundSchedulesMessagingcampaign';
1873
+ }
1874
+
1875
+ return this.apiClient.callApi(
1876
+ '/api/v2/outbound/schedules/messagingcampaigns/{messagingCampaignId}',
1877
+ 'GET',
1878
+ { 'messagingCampaignId': messagingCampaignId },
1879
+ { },
1880
+ { },
1881
+ { },
1882
+ null,
1883
+ ['PureCloud OAuth'],
1884
+ ['application/json'],
1885
+ ['application/json']
1886
+ );
1887
+ }
1888
+
1889
+ /**
1890
+ * Query for a list of messaging campaign schedules.
1891
+ *
1892
+ */
1893
+ getOutboundSchedulesMessagingcampaigns() {
1894
+
1895
+ return this.apiClient.callApi(
1896
+ '/api/v2/outbound/schedules/messagingcampaigns',
1897
+ 'GET',
1898
+ { },
1899
+ { },
1900
+ { },
1901
+ { },
1902
+ null,
1903
+ ['PureCloud OAuth'],
1904
+ ['application/json'],
1905
+ ['application/json']
1906
+ );
1907
+ }
1908
+
1769
1909
  /**
1770
1910
  * Get a dialer sequence schedule.
1771
1911
  *
@@ -2969,6 +3109,66 @@ class OutboundApi {
2969
3109
  );
2970
3110
  }
2971
3111
 
3112
+ /**
3113
+ * Update an email campaign schedule.
3114
+ *
3115
+ * @param {String} emailCampaignId Email Campaign ID
3116
+ * @param {Object} body EmailCampaignSchedule
3117
+ */
3118
+ putOutboundSchedulesEmailcampaign(emailCampaignId, body) {
3119
+ // verify the required parameter 'emailCampaignId' is set
3120
+ if (emailCampaignId === undefined || emailCampaignId === null) {
3121
+ throw 'Missing the required parameter "emailCampaignId" when calling putOutboundSchedulesEmailcampaign';
3122
+ }
3123
+ // verify the required parameter 'body' is set
3124
+ if (body === undefined || body === null) {
3125
+ throw 'Missing the required parameter "body" when calling putOutboundSchedulesEmailcampaign';
3126
+ }
3127
+
3128
+ return this.apiClient.callApi(
3129
+ '/api/v2/outbound/schedules/emailcampaigns/{emailCampaignId}',
3130
+ 'PUT',
3131
+ { 'emailCampaignId': emailCampaignId },
3132
+ { },
3133
+ { },
3134
+ { },
3135
+ body,
3136
+ ['PureCloud OAuth'],
3137
+ ['application/json'],
3138
+ ['application/json']
3139
+ );
3140
+ }
3141
+
3142
+ /**
3143
+ * Update a new messaging campaign schedule.
3144
+ *
3145
+ * @param {String} messagingCampaignId Messaging Campaign ID
3146
+ * @param {Object} body MessagingCampaignSchedule
3147
+ */
3148
+ putOutboundSchedulesMessagingcampaign(messagingCampaignId, body) {
3149
+ // verify the required parameter 'messagingCampaignId' is set
3150
+ if (messagingCampaignId === undefined || messagingCampaignId === null) {
3151
+ throw 'Missing the required parameter "messagingCampaignId" when calling putOutboundSchedulesMessagingcampaign';
3152
+ }
3153
+ // verify the required parameter 'body' is set
3154
+ if (body === undefined || body === null) {
3155
+ throw 'Missing the required parameter "body" when calling putOutboundSchedulesMessagingcampaign';
3156
+ }
3157
+
3158
+ return this.apiClient.callApi(
3159
+ '/api/v2/outbound/schedules/messagingcampaigns/{messagingCampaignId}',
3160
+ 'PUT',
3161
+ { 'messagingCampaignId': messagingCampaignId },
3162
+ { },
3163
+ { },
3164
+ { },
3165
+ body,
3166
+ ['PureCloud OAuth'],
3167
+ ['application/json'],
3168
+ ['application/json']
3169
+ );
3170
+ }
3171
+
2972
3172
  /**
2973
3173
  * Update a new sequence schedule.
2974
3174
  *