@wix/auto_sdk_email-marketing_campaigns 1.0.40 → 1.0.42

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.
@@ -606,6 +606,10 @@ interface Paging {
606
606
  /** Number of items to skip in the current sort order. */
607
607
  offset?: number | null;
608
608
  }
609
+ /** Editor type. */
610
+ interface CampaignEditorType {
611
+ value?: CampaignEditorTypeEnumWithLiterals;
612
+ }
609
613
  interface ListCampaignsResponse {
610
614
  /** Paging parameters. */
611
615
  paging?: Paging;
@@ -1030,10 +1034,6 @@ interface UpdateComposerRequest {
1030
1034
  */
1031
1035
  emailPreheader?: string | null;
1032
1036
  }
1033
- /** Editor type. */
1034
- interface CampaignEditorType {
1035
- value?: CampaignEditorTypeEnumWithLiterals;
1036
- }
1037
1037
  interface UpdateComposerResponse {
1038
1038
  }
1039
1039
  interface CreateCampaignRequest {
@@ -1458,6 +1458,14 @@ type PublishCampaignApplicationErrors = {
1458
1458
  code?: 'ALREADY_SENT';
1459
1459
  description?: string;
1460
1460
  data?: Record<string, any>;
1461
+ } | {
1462
+ code?: 'SCHEDULING_FEATURE_UNAVAILABLE';
1463
+ description?: string;
1464
+ data?: Record<string, any>;
1465
+ } | {
1466
+ code?: 'INVALID_SEND_AT';
1467
+ description?: string;
1468
+ data?: Record<string, any>;
1461
1469
  };
1462
1470
  interface BaseEventMetadata {
1463
1471
  /**