@wix/pricing-plans 1.0.84 → 1.0.85

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/pricing-plans",
3
- "version": "1.0.84",
3
+ "version": "1.0.85",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -18,7 +18,7 @@
18
18
  "type-bundles"
19
19
  ],
20
20
  "dependencies": {
21
- "@wix/pricing-plans_orders": "1.0.33",
21
+ "@wix/pricing-plans_orders": "1.0.34",
22
22
  "@wix/pricing-plans_plans": "1.0.38"
23
23
  },
24
24
  "devDependencies": {
@@ -44,5 +44,5 @@
44
44
  "fqdn": ""
45
45
  }
46
46
  },
47
- "falconPackageHash": "f13b4b8c109015b31c918d9ed60b743d809f3ba6d23ea630accc3db9"
47
+ "falconPackageHash": "47204556c4aaa43c2cd964d9f97a11a7b1badf93e59e7518320153a0"
48
48
  }
@@ -552,359 +552,6 @@ interface FormData {
552
552
  */
553
553
  submissionData?: Record<string, any>;
554
554
  }
555
- interface UpdatedWithPreviousEntity {
556
- /** previous automation */
557
- previousAutomation?: Automation;
558
- /** updated automation */
559
- currentAutomation?: Automation;
560
- }
561
- interface Automation extends AutomationOriginInfoOneOf {
562
- /** Application info */
563
- applicationInfo?: ApplicationOrigin;
564
- /** Preinstalled info */
565
- preinstalledInfo?: PreinstalledOrigin;
566
- /**
567
- * Automation ID.
568
- * @readonly
569
- */
570
- _id?: string | null;
571
- /**
572
- * Revision number, which increments by 1 each time the automation is updated.
573
- * To prevent conflicting changes,
574
- * the current revision must be passed when updating the automation.
575
- *
576
- * Ignored when creating an automation.
577
- * @readonly
578
- */
579
- revision?: string | null;
580
- /**
581
- * Information about the creator of the automation.
582
- * @readonly
583
- */
584
- createdBy?: AuditInfo;
585
- /**
586
- * Date and time the automation was created.
587
- * @readonly
588
- */
589
- _createdDate?: Date;
590
- /**
591
- * The entity that last updated the automation.
592
- * @readonly
593
- */
594
- updatedBy?: AuditInfo;
595
- /**
596
- * Date and time the automation was last updated.
597
- * @readonly
598
- */
599
- _updatedDate?: Date;
600
- /** Automation name that is displayed on the user's site. */
601
- name?: string;
602
- /** Automation description. */
603
- description?: string | null;
604
- /** Object that defines the automation's trigger, actions, and activation status. */
605
- configuration?: AutomationConfiguration;
606
- /** Defines how the automation was added to the site. */
607
- origin?: Origin;
608
- /** Automation settings. */
609
- settings?: AutomationSettings;
610
- /**
611
- * Draft info (optional - only if the automation is a draft)
612
- * @readonly
613
- */
614
- draftInfo?: DraftInfo;
615
- /** Namespace */
616
- namespace?: string | null;
617
- }
618
- /** @oneof */
619
- interface AutomationOriginInfoOneOf {
620
- /** Application info */
621
- applicationInfo?: ApplicationOrigin;
622
- /** Preinstalled info */
623
- preinstalledInfo?: PreinstalledOrigin;
624
- }
625
- interface ActionSettings {
626
- /**
627
- * List of actions that cannot be deleted.
628
- * Default: Empty. All actions are deletable by default.
629
- */
630
- permanentActionIds?: string[];
631
- /**
632
- * List of actions that cannot be edited.
633
- * Default: Empty. All actions are editable by default.
634
- */
635
- readonlyActionIds?: string[];
636
- /** Whether the option to add a delay is disabled for the automation. */
637
- disableDelayAddition?: boolean;
638
- /** Whether the option to add a condition is disabled for the automation. */
639
- disableConditionAddition?: boolean;
640
- }
641
- interface AuditInfo extends AuditInfoIdOneOf {
642
- /** User ID. */
643
- userId?: string;
644
- /** Application ID. */
645
- appId?: string;
646
- }
647
- /** @oneof */
648
- interface AuditInfoIdOneOf {
649
- /** User ID. */
650
- userId?: string;
651
- /** Application ID. */
652
- appId?: string;
653
- }
654
- /** Automation runtime configuration */
655
- interface AutomationConfiguration {
656
- /** Status of the automation on the site. */
657
- status?: AutomationConfigurationStatus;
658
- /** Automation trigger configuration. */
659
- trigger?: Trigger;
660
- /** List of IDs of root actions. Root actions are the first actions to run after the trigger. The actions in the list run in parallel. */
661
- rootActionIds?: string[];
662
- /**
663
- * Map of all actions that the automation may execute.
664
- * The key is the action ID, and the value is the action configuration.
665
- */
666
- actions?: Record<string, Action>;
667
- }
668
- declare enum TimeUnit {
669
- UNKNOWN_TIME_UNIT = "UNKNOWN_TIME_UNIT",
670
- MINUTES = "MINUTES",
671
- HOURS = "HOURS",
672
- DAYS = "DAYS",
673
- WEEKS = "WEEKS",
674
- MONTHS = "MONTHS"
675
- }
676
- interface Filter {
677
- /** Filter ID. */
678
- _id?: string;
679
- /** Field key from the payload schema, for example "formId". */
680
- fieldKey?: string;
681
- /** Filter expression that evaluates to a boolean. */
682
- filterExpression?: string;
683
- }
684
- interface FutureDateActivationOffset {
685
- /**
686
- * The offset value. The value is always taken as negative, so that the automation runs before the trigger date.
687
- * To create an offset that causes the automation to run after the trigger date, use a delay action.
688
- */
689
- preScheduledEventOffsetExpression?: string;
690
- /** Time unit for the scheduled event offset. */
691
- scheduledEventOffsetTimeUnit?: TimeUnit;
692
- }
693
- interface RateLimit {
694
- /** Value expressing the maximum number of times the trigger can be activated. */
695
- maxActivationsExpression?: string;
696
- /** Duration of the rate limiting window in the selected time unit. If no value is set, the rate limit is permanent. */
697
- durationExpression?: string | null;
698
- /** Time unit for the rate limit duration. */
699
- durationTimeUnit?: TimeUnit;
700
- /** Unique identifier of each activation, by which rate limiter will count activations. */
701
- uniqueIdentifierExpression?: string | null;
702
- }
703
- interface ConditionExpressionGroup {
704
- /** Expression group operator. */
705
- operator?: Operator;
706
- /** List of boolean expressions to be evaluated with the given operator. */
707
- booleanExpressions?: string[];
708
- }
709
- declare enum Operator {
710
- UNKNOWN_OPERATOR = "UNKNOWN_OPERATOR",
711
- OR = "OR",
712
- AND = "AND"
713
- }
714
- declare enum Type {
715
- /** Automation will be triggered according to the trigger configuration */
716
- UNKNOWN_ACTION_TYPE = "UNKNOWN_ACTION_TYPE",
717
- /** App defined Action */
718
- APP_DEFINED = "APP_DEFINED",
719
- /** Condition Action */
720
- CONDITION = "CONDITION",
721
- /** Delay Action */
722
- DELAY = "DELAY",
723
- /** RateLimit Action */
724
- RATE_LIMIT = "RATE_LIMIT",
725
- /** Output Action */
726
- OUTPUT = "OUTPUT"
727
- }
728
- interface AppDefinedAction {
729
- /** ID of the app that defines the action. */
730
- appId?: string;
731
- /** Action key. */
732
- actionKey?: string;
733
- /** Action input mapping. */
734
- inputMapping?: Record<string, any> | null;
735
- /**
736
- * Array of conditions determining whether to skip the action in the automation flow.
737
- * The action will be skipped if any of the expression groups evaluate to `true`.
738
- * Actions following a skipped action will still run.
739
- */
740
- skipConditionOrExpressionGroups?: ConditionExpressionGroup[];
741
- /** List of IDs of actions to run in parallel once the action completes. */
742
- postActionIds?: string[];
743
- }
744
- interface ConditionAction {
745
- /** The condition evaluates to `true` if either of the expression groups evaluate to `true`. */
746
- orExpressionGroups?: ConditionExpressionGroup[];
747
- /** List of IDs of actions to run when the entire condition is evaluated to `true`. */
748
- truePostActionIds?: string[];
749
- /** List of IDs of actions to run when the entire condition is evaluated to `false`. */
750
- falsePostActionIds?: string[];
751
- }
752
- interface DelayAction {
753
- /** Value expressing the amount of time to wait from a specific date or from the time the action is executed. */
754
- offsetExpression?: string | null;
755
- /** Time unit for delay offset. */
756
- offsetTimeUnit?: TimeUnit;
757
- /**
758
- * The action due date. If defined without an offset, the automation will wait until this date to execute the next step.
759
- * If an offset is defined, it's calculated from this date.
760
- * The date is expressed in the number of milliseconds since the Unix Epoch (1 January, 1970 UTC).
761
- */
762
- dueDateEpochExpression?: string | null;
763
- /** List of IDs of actions to run in parallel after the delay. */
764
- postActionIds?: string[];
765
- }
766
- interface RateLimitAction {
767
- /** The maximum number of activations allowed for the action. */
768
- maxActivationsExpression?: string;
769
- /**
770
- * Duration of the rate limiting window, expressed in selected time unit.
771
- * If no value is set, then there is no time limit on the rate limiter.
772
- */
773
- rateLimitDurationExpression?: string | null;
774
- /** Time unit for the rate limit duration. */
775
- rateLimitDurationTimeUnit?: TimeUnit;
776
- /** Unique identifier of each activation by which rate limiter counts activations. */
777
- uniqueIdentifierExpression?: string | null;
778
- /** List of IDs of actions to run in parallel once the action completes. */
779
- postActionIds?: string[];
780
- }
781
- interface OutputAction {
782
- /** Output action output mapping. */
783
- outputMapping?: Record<string, any> | null;
784
- }
785
- declare enum AutomationConfigurationStatus {
786
- /** unused */
787
- UNKNOWN_STATUS = "UNKNOWN_STATUS",
788
- /** Automation will be triggered according to the trigger configuration */
789
- ACTIVE = "ACTIVE",
790
- /** Automation will not be triggered */
791
- INACTIVE = "INACTIVE"
792
- }
793
- interface Trigger {
794
- /** ID of the app that defines the trigger. */
795
- appId?: string;
796
- /** Trigger key. */
797
- triggerKey?: string;
798
- /**
799
- * List of filters on schema fields.
800
- * In order for the automation to run, all filter expressions must evaluate to `true` for a given payload.
801
- */
802
- filters?: Filter[];
803
- /** Defines the time offset between the trigger date and when the automation runs. */
804
- scheduledEventOffset?: FutureDateActivationOffset;
805
- /** Limits the number of times an automation can be triggered. */
806
- rateLimit?: RateLimit;
807
- automationConfigMapping?: Record<string, any> | null;
808
- }
809
- interface Action extends ActionInfoOneOf {
810
- /** Action defined by an app (via RPC, HTTP or Velo). */
811
- appDefinedInfo?: AppDefinedAction;
812
- /** Condition action. */
813
- conditionInfo?: ConditionAction;
814
- /** Delay action. */
815
- delayInfo?: DelayAction;
816
- /** Rate-limiting action. */
817
- rateLimitInfo?: RateLimitAction;
818
- /** Action ID. If not specified, a new ID is generated. */
819
- _id?: string | null;
820
- /** Action type. */
821
- type?: Type;
822
- /**
823
- * Human-readable name to differentiate the action from other actions of the same type.
824
- * The name can contain only alphanumeric characters and underscores. If not provided, a namespace in the form `actionkey-indexOfAction` is
825
- * generated automatically.
826
- * If the action has output, the output will be available in the payload under this name.
827
- * If the user has multiple actions with the same appId and actionKey, previous action output will be overwritten.
828
- */
829
- namespace?: string | null;
830
- }
831
- /** @oneof */
832
- interface ActionInfoOneOf {
833
- /** Action defined by an app (via RPC, HTTP or Velo). */
834
- appDefinedInfo?: AppDefinedAction;
835
- /** Condition action. */
836
- conditionInfo?: ConditionAction;
837
- /** Delay action. */
838
- delayInfo?: DelayAction;
839
- /** Rate-limiting action. */
840
- rateLimitInfo?: RateLimitAction;
841
- }
842
- declare enum Origin {
843
- /** default value. this is unused */
844
- UNKNOWN_ORIGIN = "UNKNOWN_ORIGIN",
845
- /** user created automation */
846
- USER = "USER",
847
- /** automation created by application (site specific) */
848
- APPLICATION = "APPLICATION",
849
- /** preinstalled application automation */
850
- PREINSTALLED = "PREINSTALLED"
851
- }
852
- interface ApplicationOrigin {
853
- /** Application ID. */
854
- appId?: string;
855
- }
856
- interface PreinstalledOrigin {
857
- /** ID of the app that defines the preinstalled automation. */
858
- appId?: string;
859
- /** Application component ID. */
860
- componentId?: string;
861
- /** Application component version. */
862
- componentVersion?: number;
863
- /**
864
- * Whether the automation is an override automation. If the user modifies the preinstalled automation installed on their site, a site-specific
865
- * automation is created that overrides the original one. If the user makes no modifications this boolean is set to `false` and the original
866
- * preinstalled automation is used.
867
- *
868
- * Default: `false`
869
- * @readonly
870
- */
871
- override?: boolean | null;
872
- }
873
- interface AutomationSettings {
874
- /**
875
- * Whether the automation is hidden from users.
876
- * Default: `false`
877
- */
878
- hidden?: boolean;
879
- /**
880
- * Whether the automation is read-only.
881
- * Default: `false`
882
- */
883
- readonly?: boolean;
884
- /**
885
- * Whether the option to delete the automation from the site is disabled.
886
- * Default: `false`
887
- */
888
- disableDelete?: boolean;
889
- /**
890
- * Whether the option to change the automation status (from active to inactive and vice versa) is disabled.
891
- * Default: `false`
892
- */
893
- disableStatusChange?: boolean;
894
- /** Automation action settings. */
895
- actionSettings?: ActionSettings;
896
- }
897
- interface DraftInfo {
898
- /**
899
- * optional - automationId of the original automation
900
- * @readonly
901
- */
902
- originalAutomationId?: string | null;
903
- }
904
- interface DeletedWithEntity {
905
- /** Deleted automation */
906
- automation?: Automation;
907
- }
908
555
  interface DomainEvent$1 extends DomainEventBodyOneOf$1 {
909
556
  createdEvent?: EntityCreatedEvent$1;
910
557
  updatedEvent?: EntityUpdatedEvent$1;
@@ -977,46 +624,6 @@ interface ActionEvent$1 {
977
624
  }
978
625
  interface Empty {
979
626
  }
980
- interface MessageEnvelope$1 {
981
- /** App instance ID. */
982
- instanceId?: string | null;
983
- /** Event type. */
984
- eventType?: string;
985
- /** The identification type and identity data. */
986
- identity?: IdentificationData$1;
987
- /** Stringify payload. */
988
- data?: string;
989
- }
990
- interface IdentificationData$1 extends IdentificationDataIdOneOf$1 {
991
- /** ID of a site visitor that has not logged in to the site. */
992
- anonymousVisitorId?: string;
993
- /** ID of a site visitor that has logged in to the site. */
994
- memberId?: string;
995
- /** ID of a Wix user (site owner, contributor, etc.). */
996
- wixUserId?: string;
997
- /** ID of an app. */
998
- appId?: string;
999
- /** @readonly */
1000
- identityType?: WebhookIdentityType$1;
1001
- }
1002
- /** @oneof */
1003
- interface IdentificationDataIdOneOf$1 {
1004
- /** ID of a site visitor that has not logged in to the site. */
1005
- anonymousVisitorId?: string;
1006
- /** ID of a site visitor that has logged in to the site. */
1007
- memberId?: string;
1008
- /** ID of a Wix user (site owner, contributor, etc.). */
1009
- wixUserId?: string;
1010
- /** ID of an app. */
1011
- appId?: string;
1012
- }
1013
- declare enum WebhookIdentityType$1 {
1014
- UNKNOWN = "UNKNOWN",
1015
- ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
1016
- MEMBER = "MEMBER",
1017
- WIX_USER = "WIX_USER",
1018
- APP = "APP"
1019
- }
1020
627
  interface MemberGetOrderRequest {
1021
628
  /** Order ID. */
1022
629
  _id: string;
@@ -1177,6 +784,46 @@ interface OrderCanceled {
1177
784
  /** Canceled order. */
1178
785
  order?: Order;
1179
786
  }
787
+ interface MessageEnvelope$1 {
788
+ /** App instance ID. */
789
+ instanceId?: string | null;
790
+ /** Event type. */
791
+ eventType?: string;
792
+ /** The identification type and identity data. */
793
+ identity?: IdentificationData$1;
794
+ /** Stringify payload. */
795
+ data?: string;
796
+ }
797
+ interface IdentificationData$1 extends IdentificationDataIdOneOf$1 {
798
+ /** ID of a site visitor that has not logged in to the site. */
799
+ anonymousVisitorId?: string;
800
+ /** ID of a site visitor that has logged in to the site. */
801
+ memberId?: string;
802
+ /** ID of a Wix user (site owner, contributor, etc.). */
803
+ wixUserId?: string;
804
+ /** ID of an app. */
805
+ appId?: string;
806
+ /** @readonly */
807
+ identityType?: WebhookIdentityType$1;
808
+ }
809
+ /** @oneof */
810
+ interface IdentificationDataIdOneOf$1 {
811
+ /** ID of a site visitor that has not logged in to the site. */
812
+ anonymousVisitorId?: string;
813
+ /** ID of a site visitor that has logged in to the site. */
814
+ memberId?: string;
815
+ /** ID of a Wix user (site owner, contributor, etc.). */
816
+ wixUserId?: string;
817
+ /** ID of an app. */
818
+ appId?: string;
819
+ }
820
+ declare enum WebhookIdentityType$1 {
821
+ UNKNOWN = "UNKNOWN",
822
+ ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
823
+ MEMBER = "MEMBER",
824
+ WIX_USER = "WIX_USER",
825
+ APP = "APP"
826
+ }
1180
827
  interface CreateOnlineOrderRequest {
1181
828
  /** Plan ID. */
1182
829
  planId?: string;
@@ -1802,6 +1449,10 @@ interface EventMetadata$1 extends BaseEventMetadata$1 {
1802
1449
  */
1803
1450
  entityEventSequence?: string | null;
1804
1451
  }
1452
+ interface OrderCanceledEnvelope {
1453
+ data: OrderCanceled;
1454
+ metadata: EventMetadata$1;
1455
+ }
1805
1456
  interface OrderCreatedEnvelope {
1806
1457
  entity: Order;
1807
1458
  metadata: EventMetadata$1;
@@ -1810,10 +1461,6 @@ interface OrderUpdatedEnvelope {
1810
1461
  entity: Order;
1811
1462
  metadata: EventMetadata$1;
1812
1463
  }
1813
- interface OrderCanceledEnvelope {
1814
- data: OrderCanceled;
1815
- metadata: EventMetadata$1;
1816
- }
1817
1464
  interface OrderStartDateChangedEnvelope {
1818
1465
  data: OrderStartDateChanged;
1819
1466
  metadata: EventMetadata$1;
@@ -2254,9 +1901,9 @@ interface ResumeOrderSignature {
2254
1901
  */
2255
1902
  (_id: string): Promise<void>;
2256
1903
  }
1904
+ declare const onOrderCanceled$1: EventDefinition<OrderCanceledEnvelope, "wix.pricing_plans.v2.order_canceled">;
2257
1905
  declare const onOrderCreated$1: EventDefinition<OrderCreatedEnvelope, "wix.pricing_plans.v2.order_created">;
2258
1906
  declare const onOrderUpdated$1: EventDefinition<OrderUpdatedEnvelope, "wix.pricing_plans.v2.order_updated">;
2259
- declare const onOrderCanceled$1: EventDefinition<OrderCanceledEnvelope, "wix.pricing_plans.v2.order_canceled">;
2260
1907
  declare const onOrderStartDateChanged$1: EventDefinition<OrderStartDateChangedEnvelope, "wix.pricing_plans.v2.order_start_date_changed">;
2261
1908
  declare const onOrderPurchased$1: EventDefinition<OrderPurchasedEnvelope, "wix.pricing_plans.v2.order_purchased">;
2262
1909
  declare const onOrderStarted$1: EventDefinition<OrderStartedEnvelope, "wix.pricing_plans.v2.order_started">;
@@ -2284,6 +1931,16 @@ declare const markAsPaid: BuildRESTFunction<typeof markAsPaid$1> & typeof markAs
2284
1931
  declare const pauseOrder: BuildRESTFunction<typeof pauseOrder$1> & typeof pauseOrder$1;
2285
1932
  declare const resumeOrder: BuildRESTFunction<typeof resumeOrder$1> & typeof resumeOrder$1;
2286
1933
 
1934
+ type _publicOnOrderCanceledType = typeof onOrderCanceled$1;
1935
+ /**
1936
+ * Triggered when an order is canceled.
1937
+ *
1938
+ * This webhook is triggered either immediately or at the end of the current payment cycle, as follows:
1939
+ * + If the order is canceled and `effectiveAt` is set to `IMMEDIATELY`, the webhook is triggered immediately when canceled.
1940
+ * + If the order is canceled and `effectiveAt` is set to `NEXT_PAYMENT_DATE`, the webhook is triggered at the end of the current payment cycle. In this case, the [Order Auto Renew Canceled Webhook](https://dev.wix.com/api/rest/wix-pricing-plans/pricing-plans/orders/order-auto-renew-canceled-webhook) is triggered immediately.
1941
+ */
1942
+ declare const onOrderCanceled: ReturnType<typeof createEventModule$1<_publicOnOrderCanceledType>>;
1943
+
2287
1944
  type _publicOnOrderCreatedType = typeof onOrderCreated$1;
2288
1945
  /**
2289
1946
  * Triggered when an order is created.
@@ -2307,16 +1964,6 @@ type _publicOnOrderUpdatedType = typeof onOrderUpdated$1;
2307
1964
  */
2308
1965
  declare const onOrderUpdated: ReturnType<typeof createEventModule$1<_publicOnOrderUpdatedType>>;
2309
1966
 
2310
- type _publicOnOrderCanceledType = typeof onOrderCanceled$1;
2311
- /**
2312
- * Triggered when an order is canceled.
2313
- *
2314
- * This webhook is triggered either immediately or at the end of the current payment cycle, as follows:
2315
- * + If the order is canceled and `effectiveAt` is set to `IMMEDIATELY`, the webhook is triggered immediately when canceled.
2316
- * + If the order is canceled and `effectiveAt` is set to `NEXT_PAYMENT_DATE`, the webhook is triggered at the end of the current payment cycle. In this case, the [Order Auto Renew Canceled Webhook](https://dev.wix.com/api/rest/wix-pricing-plans/pricing-plans/orders/order-auto-renew-canceled-webhook) is triggered immediately.
2317
- */
2318
- declare const onOrderCanceled: ReturnType<typeof createEventModule$1<_publicOnOrderCanceledType>>;
2319
-
2320
1967
  type _publicOnOrderStartDateChangedType = typeof onOrderStartDateChanged$1;
2321
1968
  /**
2322
1969
  * Triggered when an order's `startDate` is changed.
@@ -2393,21 +2040,8 @@ type _publicOnOrderResumedType = typeof onOrderResumed$1;
2393
2040
  */
2394
2041
  declare const onOrderResumed: ReturnType<typeof createEventModule$1<_publicOnOrderResumedType>>;
2395
2042
 
2396
- type context$1_Action = Action;
2397
- type context$1_ActionInfoOneOf = ActionInfoOneOf;
2398
- type context$1_ActionSettings = ActionSettings;
2399
- type context$1_AppDefinedAction = AppDefinedAction;
2400
- type context$1_ApplicationOrigin = ApplicationOrigin;
2401
2043
  type context$1_ApplyCouponRequest = ApplyCouponRequest;
2402
2044
  type context$1_ApplyCouponResponse = ApplyCouponResponse;
2403
- type context$1_AuditInfo = AuditInfo;
2404
- type context$1_AuditInfoIdOneOf = AuditInfoIdOneOf;
2405
- type context$1_Automation = Automation;
2406
- type context$1_AutomationConfiguration = AutomationConfiguration;
2407
- type context$1_AutomationConfigurationStatus = AutomationConfigurationStatus;
2408
- declare const context$1_AutomationConfigurationStatus: typeof AutomationConfigurationStatus;
2409
- type context$1_AutomationOriginInfoOneOf = AutomationOriginInfoOneOf;
2410
- type context$1_AutomationSettings = AutomationSettings;
2411
2045
  type context$1_BulkOrderResult = BulkOrderResult;
2412
2046
  type context$1_BulkPauseOrderRequest = BulkPauseOrderRequest;
2413
2047
  type context$1_BulkPauseOrderResponse = BulkPauseOrderResponse;
@@ -2424,8 +2058,6 @@ declare const context$1_CancellationEffectiveAt: typeof CancellationEffectiveAt;
2424
2058
  type context$1_Captcha = Captcha;
2425
2059
  type context$1_ChangeStartDateRequest = ChangeStartDateRequest;
2426
2060
  type context$1_ChangeStartDateResponse = ChangeStartDateResponse;
2427
- type context$1_ConditionAction = ConditionAction;
2428
- type context$1_ConditionExpressionGroup = ConditionExpressionGroup;
2429
2061
  type context$1_Coupon = Coupon;
2430
2062
  type context$1_CouponsError = CouponsError;
2431
2063
  type context$1_CreateExternalOrderRequest = CreateExternalOrderRequest;
@@ -2440,13 +2072,8 @@ type context$1_CreateOnlineOrderRequest = CreateOnlineOrderRequest;
2440
2072
  type context$1_CreateOnlineOrderResponse = CreateOnlineOrderResponse;
2441
2073
  type context$1_CurrentCycle = CurrentCycle;
2442
2074
  type context$1_CursorPaging = CursorPaging;
2443
- type context$1_DelayAction = DelayAction;
2444
- type context$1_DeletedWithEntity = DeletedWithEntity;
2445
- type context$1_DraftInfo = DraftInfo;
2446
2075
  type context$1_Empty = Empty;
2447
- type context$1_Filter = Filter;
2448
2076
  type context$1_FormData = FormData;
2449
- type context$1_FutureDateActivationOffset = FutureDateActivationOffset;
2450
2077
  type context$1_GetAvailableOrderActionsRequest = GetAvailableOrderActionsRequest;
2451
2078
  type context$1_GetAvailableOrderActionsResponse = GetAvailableOrderActionsResponse;
2452
2079
  type context$1_GetGuestOnlineOrderPreviewRequest = GetGuestOnlineOrderPreviewRequest;
@@ -2483,8 +2110,6 @@ type context$1_MemberListOrdersRequest = MemberListOrdersRequest;
2483
2110
  type context$1_MemberListOrdersResponse = MemberListOrdersResponse;
2484
2111
  type context$1_MemberListOrdersResponseNonNullableFields = MemberListOrdersResponseNonNullableFields;
2485
2112
  type context$1_OnBehalf = OnBehalf;
2486
- type context$1_Operator = Operator;
2487
- declare const context$1_Operator: typeof Operator;
2488
2113
  type context$1_Order = Order;
2489
2114
  type context$1_OrderAutoRenewCanceled = OrderAutoRenewCanceled;
2490
2115
  type context$1_OrderAutoRenewCanceledEnvelope = OrderAutoRenewCanceledEnvelope;
@@ -2520,9 +2145,6 @@ declare const context$1_OrderType: typeof OrderType;
2520
2145
  type context$1_OrderUpdatedEnvelope = OrderUpdatedEnvelope;
2521
2146
  type context$1_OrdersQueryOrdersRequest = OrdersQueryOrdersRequest;
2522
2147
  type context$1_OrdersQueryOrdersResponse = OrdersQueryOrdersResponse;
2523
- type context$1_Origin = Origin;
2524
- declare const context$1_Origin: typeof Origin;
2525
- type context$1_OutputAction = OutputAction;
2526
2148
  type context$1_PauseOrderRequest = PauseOrderRequest;
2527
2149
  type context$1_PauseOrderResponse = PauseOrderResponse;
2528
2150
  type context$1_PausePeriod = PausePeriod;
@@ -2530,7 +2152,6 @@ type context$1_PaymentStatus = PaymentStatus;
2530
2152
  declare const context$1_PaymentStatus: typeof PaymentStatus;
2531
2153
  type context$1_PostponeEndDateRequest = PostponeEndDateRequest;
2532
2154
  type context$1_PostponeEndDateResponse = PostponeEndDateResponse;
2533
- type context$1_PreinstalledOrigin = PreinstalledOrigin;
2534
2155
  type context$1_Price = Price;
2535
2156
  type context$1_PriceDetails = PriceDetails;
2536
2157
  type context$1_PriceDetailsPricingModelOneOf = PriceDetailsPricingModelOneOf;
@@ -2540,8 +2161,6 @@ type context$1_PricingDetailsPricingModelOneOf = PricingDetailsPricingModelOneOf
2540
2161
  type context$1_QueryOrdersRequest = QueryOrdersRequest;
2541
2162
  type context$1_QueryOrdersResponse = QueryOrdersResponse;
2542
2163
  type context$1_QueryV2PagingMethodOneOf = QueryV2PagingMethodOneOf;
2543
- type context$1_RateLimit = RateLimit;
2544
- type context$1_RateLimitAction = RateLimitAction;
2545
2164
  type context$1_ReasonNotSuspendable = ReasonNotSuspendable;
2546
2165
  declare const context$1_ReasonNotSuspendable: typeof ReasonNotSuspendable;
2547
2166
  type context$1_RequestCancellationRequest = RequestCancellationRequest;
@@ -2556,12 +2175,6 @@ type context$1_SpannedPrice = SpannedPrice;
2556
2175
  type context$1_Status = Status;
2557
2176
  declare const context$1_Status: typeof Status;
2558
2177
  type context$1_Tax = Tax;
2559
- type context$1_TimeUnit = TimeUnit;
2560
- declare const context$1_TimeUnit: typeof TimeUnit;
2561
- type context$1_Trigger = Trigger;
2562
- type context$1_Type = Type;
2563
- declare const context$1_Type: typeof Type;
2564
- type context$1_UpdatedWithPreviousEntity = UpdatedWithPreviousEntity;
2565
2178
  type context$1__publicOnOrderAutoRenewCanceledType = _publicOnOrderAutoRenewCanceledType;
2566
2179
  type context$1__publicOnOrderCanceledType = _publicOnOrderCanceledType;
2567
2180
  type context$1__publicOnOrderCreatedType = _publicOnOrderCreatedType;
@@ -2602,7 +2215,7 @@ declare const context$1_postponeEndDate: typeof postponeEndDate;
2602
2215
  declare const context$1_requestCancellation: typeof requestCancellation;
2603
2216
  declare const context$1_resumeOrder: typeof resumeOrder;
2604
2217
  declare namespace context$1 {
2605
- export { type context$1_Action as Action, type ActionEvent$1 as ActionEvent, type context$1_ActionInfoOneOf as ActionInfoOneOf, type context$1_ActionSettings as ActionSettings, type context$1_AppDefinedAction as AppDefinedAction, type ApplicationError$1 as ApplicationError, type context$1_ApplicationOrigin as ApplicationOrigin, type context$1_ApplyCouponRequest as ApplyCouponRequest, type context$1_ApplyCouponResponse as ApplyCouponResponse, type context$1_AuditInfo as AuditInfo, type context$1_AuditInfoIdOneOf as AuditInfoIdOneOf, type context$1_Automation as Automation, type context$1_AutomationConfiguration as AutomationConfiguration, context$1_AutomationConfigurationStatus as AutomationConfigurationStatus, type context$1_AutomationOriginInfoOneOf as AutomationOriginInfoOneOf, type context$1_AutomationSettings as AutomationSettings, type BaseEventMetadata$1 as BaseEventMetadata, type BulkActionMetadata$1 as BulkActionMetadata, type context$1_BulkOrderResult as BulkOrderResult, type context$1_BulkPauseOrderRequest as BulkPauseOrderRequest, type context$1_BulkPauseOrderResponse as BulkPauseOrderResponse, type context$1_BulkResumeOrderRequest as BulkResumeOrderRequest, type context$1_BulkResumeOrderResponse as BulkResumeOrderResponse, type context$1_Buyer as Buyer, type context$1_CancelOrderRequest as CancelOrderRequest, type context$1_CancelOrderResponse as CancelOrderResponse, type context$1_Cancellation as Cancellation, context$1_CancellationCause as CancellationCause, context$1_CancellationEffectiveAt as CancellationEffectiveAt, type context$1_Captcha as Captcha, type context$1_ChangeStartDateRequest as ChangeStartDateRequest, type context$1_ChangeStartDateResponse as ChangeStartDateResponse, type context$1_ConditionAction as ConditionAction, type context$1_ConditionExpressionGroup as ConditionExpressionGroup, type context$1_Coupon as Coupon, type context$1_CouponsError as CouponsError, type context$1_CreateExternalOrderRequest as CreateExternalOrderRequest, type context$1_CreateExternalOrderResponse as CreateExternalOrderResponse, type context$1_CreateGuestOnlineOrderRequest as CreateGuestOnlineOrderRequest, type context$1_CreateGuestOnlineOrderResponse as CreateGuestOnlineOrderResponse, type context$1_CreateOfflineOrderOptions as CreateOfflineOrderOptions, type context$1_CreateOfflineOrderRequest as CreateOfflineOrderRequest, type context$1_CreateOfflineOrderResponse as CreateOfflineOrderResponse, type context$1_CreateOfflineOrderResponseNonNullableFields as CreateOfflineOrderResponseNonNullableFields, type context$1_CreateOnlineOrderRequest as CreateOnlineOrderRequest, type context$1_CreateOnlineOrderResponse as CreateOnlineOrderResponse, type context$1_CurrentCycle as CurrentCycle, type context$1_CursorPaging as CursorPaging, type Cursors$1 as Cursors, type context$1_DelayAction as DelayAction, type context$1_DeletedWithEntity as DeletedWithEntity, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type context$1_DraftInfo as DraftInfo, type Duration$1 as Duration, type context$1_Empty as Empty, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type EventMetadata$1 as EventMetadata, type Fee$1 as Fee, type context$1_Filter as Filter, type context$1_FormData as FormData, type context$1_FutureDateActivationOffset as FutureDateActivationOffset, type context$1_GetAvailableOrderActionsRequest as GetAvailableOrderActionsRequest, type context$1_GetAvailableOrderActionsResponse as GetAvailableOrderActionsResponse, type context$1_GetGuestOnlineOrderPreviewRequest as GetGuestOnlineOrderPreviewRequest, type context$1_GetGuestOnlineOrderPreviewResponse as GetGuestOnlineOrderPreviewResponse, type context$1_GetOfflineOrderPreviewOptions as GetOfflineOrderPreviewOptions, type context$1_GetOfflineOrderPreviewRequest as GetOfflineOrderPreviewRequest, type context$1_GetOfflineOrderPreviewResponse as GetOfflineOrderPreviewResponse, type context$1_GetOfflineOrderPreviewResponseNonNullableFields as GetOfflineOrderPreviewResponseNonNullableFields, type context$1_GetOnlineOrderPreviewRequest as GetOnlineOrderPreviewRequest, type context$1_GetOnlineOrderPreviewResponse as GetOnlineOrderPreviewResponse, type context$1_GetOrderRequest as GetOrderRequest, type context$1_GetOrderResponse as GetOrderResponse, type context$1_GetOrderResponseNonNullableFields as GetOrderResponseNonNullableFields, type context$1_GetOrdersStatsRequest as GetOrdersStatsRequest, type context$1_GetOrdersStatsResponse as GetOrdersStatsResponse, type context$1_GetPricePreviewOptions as GetPricePreviewOptions, type context$1_GetPricePreviewRequest as GetPricePreviewRequest, type context$1_GetPricePreviewResponse as GetPricePreviewResponse, type context$1_GetPricePreviewResponseNonNullableFields as GetPricePreviewResponseNonNullableFields, type context$1_Guest as Guest, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, type ItemMetadata$1 as ItemMetadata, type context$1_ListOrdersRequest as ListOrdersRequest, type context$1_ListOrdersResponse as ListOrdersResponse, type context$1_ListOrdersResponseNonNullableFields as ListOrdersResponseNonNullableFields, type context$1_ManagementGetOrderOptions as ManagementGetOrderOptions, type context$1_ManagementListOrdersOptions as ManagementListOrdersOptions, type context$1_MarkAsPaidRequest as MarkAsPaidRequest, type context$1_MarkAsPaidResponse as MarkAsPaidResponse, type context$1_MemberGetOrderOptions as MemberGetOrderOptions, type context$1_MemberGetOrderRequest as MemberGetOrderRequest, type context$1_MemberGetOrderResponse as MemberGetOrderResponse, type context$1_MemberGetOrderResponseNonNullableFields as MemberGetOrderResponseNonNullableFields, type context$1_MemberListOrdersOptions as MemberListOrdersOptions, type context$1_MemberListOrdersRequest as MemberListOrdersRequest, type context$1_MemberListOrdersResponse as MemberListOrdersResponse, type context$1_MemberListOrdersResponseNonNullableFields as MemberListOrdersResponseNonNullableFields, type MessageEnvelope$1 as MessageEnvelope, type context$1_OnBehalf as OnBehalf, context$1_Operator as Operator, type context$1_Order as Order, type context$1_OrderAutoRenewCanceled as OrderAutoRenewCanceled, type context$1_OrderAutoRenewCanceledEnvelope as OrderAutoRenewCanceledEnvelope, type context$1_OrderCanceled as OrderCanceled, type context$1_OrderCanceledEnvelope as OrderCanceledEnvelope, type context$1_OrderCreatedEnvelope as OrderCreatedEnvelope, type context$1_OrderCycle as OrderCycle, type context$1_OrderCycleStarted as OrderCycleStarted, type context$1_OrderCycleStartedEnvelope as OrderCycleStartedEnvelope, type context$1_OrderEndDatePostponed as OrderEndDatePostponed, type context$1_OrderEndDatePostponedEnvelope as OrderEndDatePostponedEnvelope, type context$1_OrderEnded as OrderEnded, type context$1_OrderEndedEnvelope as OrderEndedEnvelope, type context$1_OrderMarkedAsPaid as OrderMarkedAsPaid, type context$1_OrderMarkedAsPaidEnvelope as OrderMarkedAsPaidEnvelope, context$1_OrderMethod as OrderMethod, type context$1_OrderNonNullableFields as OrderNonNullableFields, type context$1_OrderPaused as OrderPaused, type context$1_OrderPausedEnvelope as OrderPausedEnvelope, type context$1_OrderPurchased as OrderPurchased, type context$1_OrderPurchasedEnvelope as OrderPurchasedEnvelope, type context$1_OrderResumed as OrderResumed, type context$1_OrderResumedEnvelope as OrderResumedEnvelope, type context$1_OrderStartDateChanged as OrderStartDateChanged, type context$1_OrderStartDateChangedEnvelope as OrderStartDateChangedEnvelope, type context$1_OrderStarted as OrderStarted, type context$1_OrderStartedEnvelope as OrderStartedEnvelope, context$1_OrderStatus as OrderStatus, context$1_OrderType as OrderType, type context$1_OrderUpdatedEnvelope as OrderUpdatedEnvelope, type context$1_OrdersQueryOrdersRequest as OrdersQueryOrdersRequest, type context$1_OrdersQueryOrdersResponse as OrdersQueryOrdersResponse, context$1_Origin as Origin, type context$1_OutputAction as OutputAction, type Paging$1 as Paging, type PagingMetadataV2$1 as PagingMetadataV2, type context$1_PauseOrderRequest as PauseOrderRequest, type context$1_PauseOrderResponse as PauseOrderResponse, type context$1_PausePeriod as PausePeriod, context$1_PaymentStatus as PaymentStatus, PeriodUnit$1 as PeriodUnit, type context$1_PostponeEndDateRequest as PostponeEndDateRequest, type context$1_PostponeEndDateResponse as PostponeEndDateResponse, type context$1_PreinstalledOrigin as PreinstalledOrigin, type context$1_Price as Price, type context$1_PriceDetails as PriceDetails, type context$1_PriceDetailsPricingModelOneOf as PriceDetailsPricingModelOneOf, type context$1_PriceDuration as PriceDuration, type context$1_PricingDetails as PricingDetails, type context$1_PricingDetailsPricingModelOneOf as PricingDetailsPricingModelOneOf, type context$1_QueryOrdersRequest as QueryOrdersRequest, type context$1_QueryOrdersResponse as QueryOrdersResponse, type QueryV2$1 as QueryV2, type context$1_QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOf, type context$1_RateLimit as RateLimit, type context$1_RateLimitAction as RateLimitAction, context$1_ReasonNotSuspendable as ReasonNotSuspendable, type Recurrence$1 as Recurrence, type context$1_RequestCancellationRequest as RequestCancellationRequest, type context$1_RequestCancellationResponse as RequestCancellationResponse, type RestoreInfo$1 as RestoreInfo, type context$1_ResumeOrderRequest as ResumeOrderRequest, type context$1_ResumeOrderResponse as ResumeOrderResponse, context$1_Set as Set, type context$1_SetSubmissionRequest as SetSubmissionRequest, type context$1_SetSubmissionResponse as SetSubmissionResponse, SortOrder$1 as SortOrder, type Sorting$1 as Sorting, type context$1_SpannedPrice as SpannedPrice, context$1_Status as Status, type context$1_Tax as Tax, context$1_TimeUnit as TimeUnit, type context$1_Trigger as Trigger, context$1_Type as Type, type context$1_UpdatedWithPreviousEntity as UpdatedWithPreviousEntity, WebhookIdentityType$1 as WebhookIdentityType, type context$1__publicOnOrderAutoRenewCanceledType as _publicOnOrderAutoRenewCanceledType, type context$1__publicOnOrderCanceledType as _publicOnOrderCanceledType, type context$1__publicOnOrderCreatedType as _publicOnOrderCreatedType, type context$1__publicOnOrderCycleStartedType as _publicOnOrderCycleStartedType, type context$1__publicOnOrderEndDatePostponedType as _publicOnOrderEndDatePostponedType, type context$1__publicOnOrderEndedType as _publicOnOrderEndedType, type context$1__publicOnOrderMarkedAsPaidType as _publicOnOrderMarkedAsPaidType, type context$1__publicOnOrderPausedType as _publicOnOrderPausedType, type context$1__publicOnOrderPurchasedType as _publicOnOrderPurchasedType, type context$1__publicOnOrderResumedType as _publicOnOrderResumedType, type context$1__publicOnOrderStartDateChangedType as _publicOnOrderStartDateChangedType, type context$1__publicOnOrderStartedType as _publicOnOrderStartedType, type context$1__publicOnOrderUpdatedType as _publicOnOrderUpdatedType, context$1_cancelOrder as cancelOrder, context$1_createOfflineOrder as createOfflineOrder, context$1_getOfflineOrderPreview as getOfflineOrderPreview, context$1_getPricePreview as getPricePreview, context$1_managementGetOrder as managementGetOrder, context$1_managementListOrders as managementListOrders, context$1_markAsPaid as markAsPaid, context$1_memberGetOrder as memberGetOrder, context$1_memberListOrders as memberListOrders, context$1_onOrderAutoRenewCanceled as onOrderAutoRenewCanceled, context$1_onOrderCanceled as onOrderCanceled, context$1_onOrderCreated as onOrderCreated, context$1_onOrderCycleStarted as onOrderCycleStarted, context$1_onOrderEndDatePostponed as onOrderEndDatePostponed, context$1_onOrderEnded as onOrderEnded, context$1_onOrderMarkedAsPaid as onOrderMarkedAsPaid, context$1_onOrderPaused as onOrderPaused, context$1_onOrderPurchased as onOrderPurchased, context$1_onOrderResumed as onOrderResumed, context$1_onOrderStartDateChanged as onOrderStartDateChanged, context$1_onOrderStarted as onOrderStarted, context$1_onOrderUpdated as onOrderUpdated, context$1_pauseOrder as pauseOrder, context$1_postponeEndDate as postponeEndDate, onOrderAutoRenewCanceled$1 as publicOnOrderAutoRenewCanceled, onOrderCanceled$1 as publicOnOrderCanceled, onOrderCreated$1 as publicOnOrderCreated, onOrderCycleStarted$1 as publicOnOrderCycleStarted, onOrderEndDatePostponed$1 as publicOnOrderEndDatePostponed, onOrderEnded$1 as publicOnOrderEnded, onOrderMarkedAsPaid$1 as publicOnOrderMarkedAsPaid, onOrderPaused$1 as publicOnOrderPaused, onOrderPurchased$1 as publicOnOrderPurchased, onOrderResumed$1 as publicOnOrderResumed, onOrderStartDateChanged$1 as publicOnOrderStartDateChanged, onOrderStarted$1 as publicOnOrderStarted, onOrderUpdated$1 as publicOnOrderUpdated, context$1_requestCancellation as requestCancellation, context$1_resumeOrder as resumeOrder };
2218
+ export { type ActionEvent$1 as ActionEvent, type ApplicationError$1 as ApplicationError, type context$1_ApplyCouponRequest as ApplyCouponRequest, type context$1_ApplyCouponResponse as ApplyCouponResponse, type BaseEventMetadata$1 as BaseEventMetadata, type BulkActionMetadata$1 as BulkActionMetadata, type context$1_BulkOrderResult as BulkOrderResult, type context$1_BulkPauseOrderRequest as BulkPauseOrderRequest, type context$1_BulkPauseOrderResponse as BulkPauseOrderResponse, type context$1_BulkResumeOrderRequest as BulkResumeOrderRequest, type context$1_BulkResumeOrderResponse as BulkResumeOrderResponse, type context$1_Buyer as Buyer, type context$1_CancelOrderRequest as CancelOrderRequest, type context$1_CancelOrderResponse as CancelOrderResponse, type context$1_Cancellation as Cancellation, context$1_CancellationCause as CancellationCause, context$1_CancellationEffectiveAt as CancellationEffectiveAt, type context$1_Captcha as Captcha, type context$1_ChangeStartDateRequest as ChangeStartDateRequest, type context$1_ChangeStartDateResponse as ChangeStartDateResponse, type context$1_Coupon as Coupon, type context$1_CouponsError as CouponsError, type context$1_CreateExternalOrderRequest as CreateExternalOrderRequest, type context$1_CreateExternalOrderResponse as CreateExternalOrderResponse, type context$1_CreateGuestOnlineOrderRequest as CreateGuestOnlineOrderRequest, type context$1_CreateGuestOnlineOrderResponse as CreateGuestOnlineOrderResponse, type context$1_CreateOfflineOrderOptions as CreateOfflineOrderOptions, type context$1_CreateOfflineOrderRequest as CreateOfflineOrderRequest, type context$1_CreateOfflineOrderResponse as CreateOfflineOrderResponse, type context$1_CreateOfflineOrderResponseNonNullableFields as CreateOfflineOrderResponseNonNullableFields, type context$1_CreateOnlineOrderRequest as CreateOnlineOrderRequest, type context$1_CreateOnlineOrderResponse as CreateOnlineOrderResponse, type context$1_CurrentCycle as CurrentCycle, type context$1_CursorPaging as CursorPaging, type Cursors$1 as Cursors, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type Duration$1 as Duration, type context$1_Empty as Empty, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type EventMetadata$1 as EventMetadata, type Fee$1 as Fee, type context$1_FormData as FormData, type context$1_GetAvailableOrderActionsRequest as GetAvailableOrderActionsRequest, type context$1_GetAvailableOrderActionsResponse as GetAvailableOrderActionsResponse, type context$1_GetGuestOnlineOrderPreviewRequest as GetGuestOnlineOrderPreviewRequest, type context$1_GetGuestOnlineOrderPreviewResponse as GetGuestOnlineOrderPreviewResponse, type context$1_GetOfflineOrderPreviewOptions as GetOfflineOrderPreviewOptions, type context$1_GetOfflineOrderPreviewRequest as GetOfflineOrderPreviewRequest, type context$1_GetOfflineOrderPreviewResponse as GetOfflineOrderPreviewResponse, type context$1_GetOfflineOrderPreviewResponseNonNullableFields as GetOfflineOrderPreviewResponseNonNullableFields, type context$1_GetOnlineOrderPreviewRequest as GetOnlineOrderPreviewRequest, type context$1_GetOnlineOrderPreviewResponse as GetOnlineOrderPreviewResponse, type context$1_GetOrderRequest as GetOrderRequest, type context$1_GetOrderResponse as GetOrderResponse, type context$1_GetOrderResponseNonNullableFields as GetOrderResponseNonNullableFields, type context$1_GetOrdersStatsRequest as GetOrdersStatsRequest, type context$1_GetOrdersStatsResponse as GetOrdersStatsResponse, type context$1_GetPricePreviewOptions as GetPricePreviewOptions, type context$1_GetPricePreviewRequest as GetPricePreviewRequest, type context$1_GetPricePreviewResponse as GetPricePreviewResponse, type context$1_GetPricePreviewResponseNonNullableFields as GetPricePreviewResponseNonNullableFields, type context$1_Guest as Guest, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, type ItemMetadata$1 as ItemMetadata, type context$1_ListOrdersRequest as ListOrdersRequest, type context$1_ListOrdersResponse as ListOrdersResponse, type context$1_ListOrdersResponseNonNullableFields as ListOrdersResponseNonNullableFields, type context$1_ManagementGetOrderOptions as ManagementGetOrderOptions, type context$1_ManagementListOrdersOptions as ManagementListOrdersOptions, type context$1_MarkAsPaidRequest as MarkAsPaidRequest, type context$1_MarkAsPaidResponse as MarkAsPaidResponse, type context$1_MemberGetOrderOptions as MemberGetOrderOptions, type context$1_MemberGetOrderRequest as MemberGetOrderRequest, type context$1_MemberGetOrderResponse as MemberGetOrderResponse, type context$1_MemberGetOrderResponseNonNullableFields as MemberGetOrderResponseNonNullableFields, type context$1_MemberListOrdersOptions as MemberListOrdersOptions, type context$1_MemberListOrdersRequest as MemberListOrdersRequest, type context$1_MemberListOrdersResponse as MemberListOrdersResponse, type context$1_MemberListOrdersResponseNonNullableFields as MemberListOrdersResponseNonNullableFields, type MessageEnvelope$1 as MessageEnvelope, type context$1_OnBehalf as OnBehalf, type context$1_Order as Order, type context$1_OrderAutoRenewCanceled as OrderAutoRenewCanceled, type context$1_OrderAutoRenewCanceledEnvelope as OrderAutoRenewCanceledEnvelope, type context$1_OrderCanceled as OrderCanceled, type context$1_OrderCanceledEnvelope as OrderCanceledEnvelope, type context$1_OrderCreatedEnvelope as OrderCreatedEnvelope, type context$1_OrderCycle as OrderCycle, type context$1_OrderCycleStarted as OrderCycleStarted, type context$1_OrderCycleStartedEnvelope as OrderCycleStartedEnvelope, type context$1_OrderEndDatePostponed as OrderEndDatePostponed, type context$1_OrderEndDatePostponedEnvelope as OrderEndDatePostponedEnvelope, type context$1_OrderEnded as OrderEnded, type context$1_OrderEndedEnvelope as OrderEndedEnvelope, type context$1_OrderMarkedAsPaid as OrderMarkedAsPaid, type context$1_OrderMarkedAsPaidEnvelope as OrderMarkedAsPaidEnvelope, context$1_OrderMethod as OrderMethod, type context$1_OrderNonNullableFields as OrderNonNullableFields, type context$1_OrderPaused as OrderPaused, type context$1_OrderPausedEnvelope as OrderPausedEnvelope, type context$1_OrderPurchased as OrderPurchased, type context$1_OrderPurchasedEnvelope as OrderPurchasedEnvelope, type context$1_OrderResumed as OrderResumed, type context$1_OrderResumedEnvelope as OrderResumedEnvelope, type context$1_OrderStartDateChanged as OrderStartDateChanged, type context$1_OrderStartDateChangedEnvelope as OrderStartDateChangedEnvelope, type context$1_OrderStarted as OrderStarted, type context$1_OrderStartedEnvelope as OrderStartedEnvelope, context$1_OrderStatus as OrderStatus, context$1_OrderType as OrderType, type context$1_OrderUpdatedEnvelope as OrderUpdatedEnvelope, type context$1_OrdersQueryOrdersRequest as OrdersQueryOrdersRequest, type context$1_OrdersQueryOrdersResponse as OrdersQueryOrdersResponse, type Paging$1 as Paging, type PagingMetadataV2$1 as PagingMetadataV2, type context$1_PauseOrderRequest as PauseOrderRequest, type context$1_PauseOrderResponse as PauseOrderResponse, type context$1_PausePeriod as PausePeriod, context$1_PaymentStatus as PaymentStatus, PeriodUnit$1 as PeriodUnit, type context$1_PostponeEndDateRequest as PostponeEndDateRequest, type context$1_PostponeEndDateResponse as PostponeEndDateResponse, type context$1_Price as Price, type context$1_PriceDetails as PriceDetails, type context$1_PriceDetailsPricingModelOneOf as PriceDetailsPricingModelOneOf, type context$1_PriceDuration as PriceDuration, type context$1_PricingDetails as PricingDetails, type context$1_PricingDetailsPricingModelOneOf as PricingDetailsPricingModelOneOf, type context$1_QueryOrdersRequest as QueryOrdersRequest, type context$1_QueryOrdersResponse as QueryOrdersResponse, type QueryV2$1 as QueryV2, type context$1_QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOf, context$1_ReasonNotSuspendable as ReasonNotSuspendable, type Recurrence$1 as Recurrence, type context$1_RequestCancellationRequest as RequestCancellationRequest, type context$1_RequestCancellationResponse as RequestCancellationResponse, type RestoreInfo$1 as RestoreInfo, type context$1_ResumeOrderRequest as ResumeOrderRequest, type context$1_ResumeOrderResponse as ResumeOrderResponse, context$1_Set as Set, type context$1_SetSubmissionRequest as SetSubmissionRequest, type context$1_SetSubmissionResponse as SetSubmissionResponse, SortOrder$1 as SortOrder, type Sorting$1 as Sorting, type context$1_SpannedPrice as SpannedPrice, context$1_Status as Status, type context$1_Tax as Tax, WebhookIdentityType$1 as WebhookIdentityType, type context$1__publicOnOrderAutoRenewCanceledType as _publicOnOrderAutoRenewCanceledType, type context$1__publicOnOrderCanceledType as _publicOnOrderCanceledType, type context$1__publicOnOrderCreatedType as _publicOnOrderCreatedType, type context$1__publicOnOrderCycleStartedType as _publicOnOrderCycleStartedType, type context$1__publicOnOrderEndDatePostponedType as _publicOnOrderEndDatePostponedType, type context$1__publicOnOrderEndedType as _publicOnOrderEndedType, type context$1__publicOnOrderMarkedAsPaidType as _publicOnOrderMarkedAsPaidType, type context$1__publicOnOrderPausedType as _publicOnOrderPausedType, type context$1__publicOnOrderPurchasedType as _publicOnOrderPurchasedType, type context$1__publicOnOrderResumedType as _publicOnOrderResumedType, type context$1__publicOnOrderStartDateChangedType as _publicOnOrderStartDateChangedType, type context$1__publicOnOrderStartedType as _publicOnOrderStartedType, type context$1__publicOnOrderUpdatedType as _publicOnOrderUpdatedType, context$1_cancelOrder as cancelOrder, context$1_createOfflineOrder as createOfflineOrder, context$1_getOfflineOrderPreview as getOfflineOrderPreview, context$1_getPricePreview as getPricePreview, context$1_managementGetOrder as managementGetOrder, context$1_managementListOrders as managementListOrders, context$1_markAsPaid as markAsPaid, context$1_memberGetOrder as memberGetOrder, context$1_memberListOrders as memberListOrders, context$1_onOrderAutoRenewCanceled as onOrderAutoRenewCanceled, context$1_onOrderCanceled as onOrderCanceled, context$1_onOrderCreated as onOrderCreated, context$1_onOrderCycleStarted as onOrderCycleStarted, context$1_onOrderEndDatePostponed as onOrderEndDatePostponed, context$1_onOrderEnded as onOrderEnded, context$1_onOrderMarkedAsPaid as onOrderMarkedAsPaid, context$1_onOrderPaused as onOrderPaused, context$1_onOrderPurchased as onOrderPurchased, context$1_onOrderResumed as onOrderResumed, context$1_onOrderStartDateChanged as onOrderStartDateChanged, context$1_onOrderStarted as onOrderStarted, context$1_onOrderUpdated as onOrderUpdated, context$1_pauseOrder as pauseOrder, context$1_postponeEndDate as postponeEndDate, onOrderAutoRenewCanceled$1 as publicOnOrderAutoRenewCanceled, onOrderCanceled$1 as publicOnOrderCanceled, onOrderCreated$1 as publicOnOrderCreated, onOrderCycleStarted$1 as publicOnOrderCycleStarted, onOrderEndDatePostponed$1 as publicOnOrderEndDatePostponed, onOrderEnded$1 as publicOnOrderEnded, onOrderMarkedAsPaid$1 as publicOnOrderMarkedAsPaid, onOrderPaused$1 as publicOnOrderPaused, onOrderPurchased$1 as publicOnOrderPurchased, onOrderResumed$1 as publicOnOrderResumed, onOrderStartDateChanged$1 as publicOnOrderStartDateChanged, onOrderStarted$1 as publicOnOrderStarted, onOrderUpdated$1 as publicOnOrderUpdated, context$1_requestCancellation as requestCancellation, context$1_resumeOrder as resumeOrder };
2606
2219
  }
2607
2220
 
2608
2221
  /** Information about the pricing plan. */
@@ -552,359 +552,6 @@ interface FormData {
552
552
  */
553
553
  submissionData?: Record<string, any>;
554
554
  }
555
- interface UpdatedWithPreviousEntity {
556
- /** previous automation */
557
- previousAutomation?: Automation;
558
- /** updated automation */
559
- currentAutomation?: Automation;
560
- }
561
- interface Automation extends AutomationOriginInfoOneOf {
562
- /** Application info */
563
- applicationInfo?: ApplicationOrigin;
564
- /** Preinstalled info */
565
- preinstalledInfo?: PreinstalledOrigin;
566
- /**
567
- * Automation ID.
568
- * @readonly
569
- */
570
- _id?: string | null;
571
- /**
572
- * Revision number, which increments by 1 each time the automation is updated.
573
- * To prevent conflicting changes,
574
- * the current revision must be passed when updating the automation.
575
- *
576
- * Ignored when creating an automation.
577
- * @readonly
578
- */
579
- revision?: string | null;
580
- /**
581
- * Information about the creator of the automation.
582
- * @readonly
583
- */
584
- createdBy?: AuditInfo;
585
- /**
586
- * Date and time the automation was created.
587
- * @readonly
588
- */
589
- _createdDate?: Date;
590
- /**
591
- * The entity that last updated the automation.
592
- * @readonly
593
- */
594
- updatedBy?: AuditInfo;
595
- /**
596
- * Date and time the automation was last updated.
597
- * @readonly
598
- */
599
- _updatedDate?: Date;
600
- /** Automation name that is displayed on the user's site. */
601
- name?: string;
602
- /** Automation description. */
603
- description?: string | null;
604
- /** Object that defines the automation's trigger, actions, and activation status. */
605
- configuration?: AutomationConfiguration;
606
- /** Defines how the automation was added to the site. */
607
- origin?: Origin;
608
- /** Automation settings. */
609
- settings?: AutomationSettings;
610
- /**
611
- * Draft info (optional - only if the automation is a draft)
612
- * @readonly
613
- */
614
- draftInfo?: DraftInfo;
615
- /** Namespace */
616
- namespace?: string | null;
617
- }
618
- /** @oneof */
619
- interface AutomationOriginInfoOneOf {
620
- /** Application info */
621
- applicationInfo?: ApplicationOrigin;
622
- /** Preinstalled info */
623
- preinstalledInfo?: PreinstalledOrigin;
624
- }
625
- interface ActionSettings {
626
- /**
627
- * List of actions that cannot be deleted.
628
- * Default: Empty. All actions are deletable by default.
629
- */
630
- permanentActionIds?: string[];
631
- /**
632
- * List of actions that cannot be edited.
633
- * Default: Empty. All actions are editable by default.
634
- */
635
- readonlyActionIds?: string[];
636
- /** Whether the option to add a delay is disabled for the automation. */
637
- disableDelayAddition?: boolean;
638
- /** Whether the option to add a condition is disabled for the automation. */
639
- disableConditionAddition?: boolean;
640
- }
641
- interface AuditInfo extends AuditInfoIdOneOf {
642
- /** User ID. */
643
- userId?: string;
644
- /** Application ID. */
645
- appId?: string;
646
- }
647
- /** @oneof */
648
- interface AuditInfoIdOneOf {
649
- /** User ID. */
650
- userId?: string;
651
- /** Application ID. */
652
- appId?: string;
653
- }
654
- /** Automation runtime configuration */
655
- interface AutomationConfiguration {
656
- /** Status of the automation on the site. */
657
- status?: AutomationConfigurationStatus;
658
- /** Automation trigger configuration. */
659
- trigger?: Trigger;
660
- /** List of IDs of root actions. Root actions are the first actions to run after the trigger. The actions in the list run in parallel. */
661
- rootActionIds?: string[];
662
- /**
663
- * Map of all actions that the automation may execute.
664
- * The key is the action ID, and the value is the action configuration.
665
- */
666
- actions?: Record<string, Action>;
667
- }
668
- declare enum TimeUnit {
669
- UNKNOWN_TIME_UNIT = "UNKNOWN_TIME_UNIT",
670
- MINUTES = "MINUTES",
671
- HOURS = "HOURS",
672
- DAYS = "DAYS",
673
- WEEKS = "WEEKS",
674
- MONTHS = "MONTHS"
675
- }
676
- interface Filter {
677
- /** Filter ID. */
678
- _id?: string;
679
- /** Field key from the payload schema, for example "formId". */
680
- fieldKey?: string;
681
- /** Filter expression that evaluates to a boolean. */
682
- filterExpression?: string;
683
- }
684
- interface FutureDateActivationOffset {
685
- /**
686
- * The offset value. The value is always taken as negative, so that the automation runs before the trigger date.
687
- * To create an offset that causes the automation to run after the trigger date, use a delay action.
688
- */
689
- preScheduledEventOffsetExpression?: string;
690
- /** Time unit for the scheduled event offset. */
691
- scheduledEventOffsetTimeUnit?: TimeUnit;
692
- }
693
- interface RateLimit {
694
- /** Value expressing the maximum number of times the trigger can be activated. */
695
- maxActivationsExpression?: string;
696
- /** Duration of the rate limiting window in the selected time unit. If no value is set, the rate limit is permanent. */
697
- durationExpression?: string | null;
698
- /** Time unit for the rate limit duration. */
699
- durationTimeUnit?: TimeUnit;
700
- /** Unique identifier of each activation, by which rate limiter will count activations. */
701
- uniqueIdentifierExpression?: string | null;
702
- }
703
- interface ConditionExpressionGroup {
704
- /** Expression group operator. */
705
- operator?: Operator;
706
- /** List of boolean expressions to be evaluated with the given operator. */
707
- booleanExpressions?: string[];
708
- }
709
- declare enum Operator {
710
- UNKNOWN_OPERATOR = "UNKNOWN_OPERATOR",
711
- OR = "OR",
712
- AND = "AND"
713
- }
714
- declare enum Type {
715
- /** Automation will be triggered according to the trigger configuration */
716
- UNKNOWN_ACTION_TYPE = "UNKNOWN_ACTION_TYPE",
717
- /** App defined Action */
718
- APP_DEFINED = "APP_DEFINED",
719
- /** Condition Action */
720
- CONDITION = "CONDITION",
721
- /** Delay Action */
722
- DELAY = "DELAY",
723
- /** RateLimit Action */
724
- RATE_LIMIT = "RATE_LIMIT",
725
- /** Output Action */
726
- OUTPUT = "OUTPUT"
727
- }
728
- interface AppDefinedAction {
729
- /** ID of the app that defines the action. */
730
- appId?: string;
731
- /** Action key. */
732
- actionKey?: string;
733
- /** Action input mapping. */
734
- inputMapping?: Record<string, any> | null;
735
- /**
736
- * Array of conditions determining whether to skip the action in the automation flow.
737
- * The action will be skipped if any of the expression groups evaluate to `true`.
738
- * Actions following a skipped action will still run.
739
- */
740
- skipConditionOrExpressionGroups?: ConditionExpressionGroup[];
741
- /** List of IDs of actions to run in parallel once the action completes. */
742
- postActionIds?: string[];
743
- }
744
- interface ConditionAction {
745
- /** The condition evaluates to `true` if either of the expression groups evaluate to `true`. */
746
- orExpressionGroups?: ConditionExpressionGroup[];
747
- /** List of IDs of actions to run when the entire condition is evaluated to `true`. */
748
- truePostActionIds?: string[];
749
- /** List of IDs of actions to run when the entire condition is evaluated to `false`. */
750
- falsePostActionIds?: string[];
751
- }
752
- interface DelayAction {
753
- /** Value expressing the amount of time to wait from a specific date or from the time the action is executed. */
754
- offsetExpression?: string | null;
755
- /** Time unit for delay offset. */
756
- offsetTimeUnit?: TimeUnit;
757
- /**
758
- * The action due date. If defined without an offset, the automation will wait until this date to execute the next step.
759
- * If an offset is defined, it's calculated from this date.
760
- * The date is expressed in the number of milliseconds since the Unix Epoch (1 January, 1970 UTC).
761
- */
762
- dueDateEpochExpression?: string | null;
763
- /** List of IDs of actions to run in parallel after the delay. */
764
- postActionIds?: string[];
765
- }
766
- interface RateLimitAction {
767
- /** The maximum number of activations allowed for the action. */
768
- maxActivationsExpression?: string;
769
- /**
770
- * Duration of the rate limiting window, expressed in selected time unit.
771
- * If no value is set, then there is no time limit on the rate limiter.
772
- */
773
- rateLimitDurationExpression?: string | null;
774
- /** Time unit for the rate limit duration. */
775
- rateLimitDurationTimeUnit?: TimeUnit;
776
- /** Unique identifier of each activation by which rate limiter counts activations. */
777
- uniqueIdentifierExpression?: string | null;
778
- /** List of IDs of actions to run in parallel once the action completes. */
779
- postActionIds?: string[];
780
- }
781
- interface OutputAction {
782
- /** Output action output mapping. */
783
- outputMapping?: Record<string, any> | null;
784
- }
785
- declare enum AutomationConfigurationStatus {
786
- /** unused */
787
- UNKNOWN_STATUS = "UNKNOWN_STATUS",
788
- /** Automation will be triggered according to the trigger configuration */
789
- ACTIVE = "ACTIVE",
790
- /** Automation will not be triggered */
791
- INACTIVE = "INACTIVE"
792
- }
793
- interface Trigger {
794
- /** ID of the app that defines the trigger. */
795
- appId?: string;
796
- /** Trigger key. */
797
- triggerKey?: string;
798
- /**
799
- * List of filters on schema fields.
800
- * In order for the automation to run, all filter expressions must evaluate to `true` for a given payload.
801
- */
802
- filters?: Filter[];
803
- /** Defines the time offset between the trigger date and when the automation runs. */
804
- scheduledEventOffset?: FutureDateActivationOffset;
805
- /** Limits the number of times an automation can be triggered. */
806
- rateLimit?: RateLimit;
807
- automationConfigMapping?: Record<string, any> | null;
808
- }
809
- interface Action extends ActionInfoOneOf {
810
- /** Action defined by an app (via RPC, HTTP or Velo). */
811
- appDefinedInfo?: AppDefinedAction;
812
- /** Condition action. */
813
- conditionInfo?: ConditionAction;
814
- /** Delay action. */
815
- delayInfo?: DelayAction;
816
- /** Rate-limiting action. */
817
- rateLimitInfo?: RateLimitAction;
818
- /** Action ID. If not specified, a new ID is generated. */
819
- _id?: string | null;
820
- /** Action type. */
821
- type?: Type;
822
- /**
823
- * Human-readable name to differentiate the action from other actions of the same type.
824
- * The name can contain only alphanumeric characters and underscores. If not provided, a namespace in the form `actionkey-indexOfAction` is
825
- * generated automatically.
826
- * If the action has output, the output will be available in the payload under this name.
827
- * If the user has multiple actions with the same appId and actionKey, previous action output will be overwritten.
828
- */
829
- namespace?: string | null;
830
- }
831
- /** @oneof */
832
- interface ActionInfoOneOf {
833
- /** Action defined by an app (via RPC, HTTP or Velo). */
834
- appDefinedInfo?: AppDefinedAction;
835
- /** Condition action. */
836
- conditionInfo?: ConditionAction;
837
- /** Delay action. */
838
- delayInfo?: DelayAction;
839
- /** Rate-limiting action. */
840
- rateLimitInfo?: RateLimitAction;
841
- }
842
- declare enum Origin {
843
- /** default value. this is unused */
844
- UNKNOWN_ORIGIN = "UNKNOWN_ORIGIN",
845
- /** user created automation */
846
- USER = "USER",
847
- /** automation created by application (site specific) */
848
- APPLICATION = "APPLICATION",
849
- /** preinstalled application automation */
850
- PREINSTALLED = "PREINSTALLED"
851
- }
852
- interface ApplicationOrigin {
853
- /** Application ID. */
854
- appId?: string;
855
- }
856
- interface PreinstalledOrigin {
857
- /** ID of the app that defines the preinstalled automation. */
858
- appId?: string;
859
- /** Application component ID. */
860
- componentId?: string;
861
- /** Application component version. */
862
- componentVersion?: number;
863
- /**
864
- * Whether the automation is an override automation. If the user modifies the preinstalled automation installed on their site, a site-specific
865
- * automation is created that overrides the original one. If the user makes no modifications this boolean is set to `false` and the original
866
- * preinstalled automation is used.
867
- *
868
- * Default: `false`
869
- * @readonly
870
- */
871
- override?: boolean | null;
872
- }
873
- interface AutomationSettings {
874
- /**
875
- * Whether the automation is hidden from users.
876
- * Default: `false`
877
- */
878
- hidden?: boolean;
879
- /**
880
- * Whether the automation is read-only.
881
- * Default: `false`
882
- */
883
- readonly?: boolean;
884
- /**
885
- * Whether the option to delete the automation from the site is disabled.
886
- * Default: `false`
887
- */
888
- disableDelete?: boolean;
889
- /**
890
- * Whether the option to change the automation status (from active to inactive and vice versa) is disabled.
891
- * Default: `false`
892
- */
893
- disableStatusChange?: boolean;
894
- /** Automation action settings. */
895
- actionSettings?: ActionSettings;
896
- }
897
- interface DraftInfo {
898
- /**
899
- * optional - automationId of the original automation
900
- * @readonly
901
- */
902
- originalAutomationId?: string | null;
903
- }
904
- interface DeletedWithEntity {
905
- /** Deleted automation */
906
- automation?: Automation;
907
- }
908
555
  interface DomainEvent$1 extends DomainEventBodyOneOf$1 {
909
556
  createdEvent?: EntityCreatedEvent$1;
910
557
  updatedEvent?: EntityUpdatedEvent$1;
@@ -977,46 +624,6 @@ interface ActionEvent$1 {
977
624
  }
978
625
  interface Empty {
979
626
  }
980
- interface MessageEnvelope$1 {
981
- /** App instance ID. */
982
- instanceId?: string | null;
983
- /** Event type. */
984
- eventType?: string;
985
- /** The identification type and identity data. */
986
- identity?: IdentificationData$1;
987
- /** Stringify payload. */
988
- data?: string;
989
- }
990
- interface IdentificationData$1 extends IdentificationDataIdOneOf$1 {
991
- /** ID of a site visitor that has not logged in to the site. */
992
- anonymousVisitorId?: string;
993
- /** ID of a site visitor that has logged in to the site. */
994
- memberId?: string;
995
- /** ID of a Wix user (site owner, contributor, etc.). */
996
- wixUserId?: string;
997
- /** ID of an app. */
998
- appId?: string;
999
- /** @readonly */
1000
- identityType?: WebhookIdentityType$1;
1001
- }
1002
- /** @oneof */
1003
- interface IdentificationDataIdOneOf$1 {
1004
- /** ID of a site visitor that has not logged in to the site. */
1005
- anonymousVisitorId?: string;
1006
- /** ID of a site visitor that has logged in to the site. */
1007
- memberId?: string;
1008
- /** ID of a Wix user (site owner, contributor, etc.). */
1009
- wixUserId?: string;
1010
- /** ID of an app. */
1011
- appId?: string;
1012
- }
1013
- declare enum WebhookIdentityType$1 {
1014
- UNKNOWN = "UNKNOWN",
1015
- ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
1016
- MEMBER = "MEMBER",
1017
- WIX_USER = "WIX_USER",
1018
- APP = "APP"
1019
- }
1020
627
  interface MemberGetOrderRequest {
1021
628
  /** Order ID. */
1022
629
  _id: string;
@@ -1177,6 +784,46 @@ interface OrderCanceled {
1177
784
  /** Canceled order. */
1178
785
  order?: Order;
1179
786
  }
787
+ interface MessageEnvelope$1 {
788
+ /** App instance ID. */
789
+ instanceId?: string | null;
790
+ /** Event type. */
791
+ eventType?: string;
792
+ /** The identification type and identity data. */
793
+ identity?: IdentificationData$1;
794
+ /** Stringify payload. */
795
+ data?: string;
796
+ }
797
+ interface IdentificationData$1 extends IdentificationDataIdOneOf$1 {
798
+ /** ID of a site visitor that has not logged in to the site. */
799
+ anonymousVisitorId?: string;
800
+ /** ID of a site visitor that has logged in to the site. */
801
+ memberId?: string;
802
+ /** ID of a Wix user (site owner, contributor, etc.). */
803
+ wixUserId?: string;
804
+ /** ID of an app. */
805
+ appId?: string;
806
+ /** @readonly */
807
+ identityType?: WebhookIdentityType$1;
808
+ }
809
+ /** @oneof */
810
+ interface IdentificationDataIdOneOf$1 {
811
+ /** ID of a site visitor that has not logged in to the site. */
812
+ anonymousVisitorId?: string;
813
+ /** ID of a site visitor that has logged in to the site. */
814
+ memberId?: string;
815
+ /** ID of a Wix user (site owner, contributor, etc.). */
816
+ wixUserId?: string;
817
+ /** ID of an app. */
818
+ appId?: string;
819
+ }
820
+ declare enum WebhookIdentityType$1 {
821
+ UNKNOWN = "UNKNOWN",
822
+ ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
823
+ MEMBER = "MEMBER",
824
+ WIX_USER = "WIX_USER",
825
+ APP = "APP"
826
+ }
1180
827
  interface CreateOnlineOrderRequest {
1181
828
  /** Plan ID. */
1182
829
  planId?: string;
@@ -1802,6 +1449,10 @@ interface EventMetadata$1 extends BaseEventMetadata$1 {
1802
1449
  */
1803
1450
  entityEventSequence?: string | null;
1804
1451
  }
1452
+ interface OrderCanceledEnvelope {
1453
+ data: OrderCanceled;
1454
+ metadata: EventMetadata$1;
1455
+ }
1805
1456
  interface OrderCreatedEnvelope {
1806
1457
  entity: Order;
1807
1458
  metadata: EventMetadata$1;
@@ -1810,10 +1461,6 @@ interface OrderUpdatedEnvelope {
1810
1461
  entity: Order;
1811
1462
  metadata: EventMetadata$1;
1812
1463
  }
1813
- interface OrderCanceledEnvelope {
1814
- data: OrderCanceled;
1815
- metadata: EventMetadata$1;
1816
- }
1817
1464
  interface OrderStartDateChangedEnvelope {
1818
1465
  data: OrderStartDateChanged;
1819
1466
  metadata: EventMetadata$1;
@@ -2254,9 +1901,9 @@ interface ResumeOrderSignature {
2254
1901
  */
2255
1902
  (_id: string): Promise<void>;
2256
1903
  }
1904
+ declare const onOrderCanceled$1: EventDefinition<OrderCanceledEnvelope, "wix.pricing_plans.v2.order_canceled">;
2257
1905
  declare const onOrderCreated$1: EventDefinition<OrderCreatedEnvelope, "wix.pricing_plans.v2.order_created">;
2258
1906
  declare const onOrderUpdated$1: EventDefinition<OrderUpdatedEnvelope, "wix.pricing_plans.v2.order_updated">;
2259
- declare const onOrderCanceled$1: EventDefinition<OrderCanceledEnvelope, "wix.pricing_plans.v2.order_canceled">;
2260
1907
  declare const onOrderStartDateChanged$1: EventDefinition<OrderStartDateChangedEnvelope, "wix.pricing_plans.v2.order_start_date_changed">;
2261
1908
  declare const onOrderPurchased$1: EventDefinition<OrderPurchasedEnvelope, "wix.pricing_plans.v2.order_purchased">;
2262
1909
  declare const onOrderStarted$1: EventDefinition<OrderStartedEnvelope, "wix.pricing_plans.v2.order_started">;
@@ -2284,6 +1931,16 @@ declare const markAsPaid: BuildRESTFunction<typeof markAsPaid$1> & typeof markAs
2284
1931
  declare const pauseOrder: BuildRESTFunction<typeof pauseOrder$1> & typeof pauseOrder$1;
2285
1932
  declare const resumeOrder: BuildRESTFunction<typeof resumeOrder$1> & typeof resumeOrder$1;
2286
1933
 
1934
+ type _publicOnOrderCanceledType = typeof onOrderCanceled$1;
1935
+ /**
1936
+ * Triggered when an order is canceled.
1937
+ *
1938
+ * This webhook is triggered either immediately or at the end of the current payment cycle, as follows:
1939
+ * + If the order is canceled and `effectiveAt` is set to `IMMEDIATELY`, the webhook is triggered immediately when canceled.
1940
+ * + If the order is canceled and `effectiveAt` is set to `NEXT_PAYMENT_DATE`, the webhook is triggered at the end of the current payment cycle. In this case, the [Order Auto Renew Canceled Webhook](https://dev.wix.com/api/rest/wix-pricing-plans/pricing-plans/orders/order-auto-renew-canceled-webhook) is triggered immediately.
1941
+ */
1942
+ declare const onOrderCanceled: ReturnType<typeof createEventModule$1<_publicOnOrderCanceledType>>;
1943
+
2287
1944
  type _publicOnOrderCreatedType = typeof onOrderCreated$1;
2288
1945
  /**
2289
1946
  * Triggered when an order is created.
@@ -2307,16 +1964,6 @@ type _publicOnOrderUpdatedType = typeof onOrderUpdated$1;
2307
1964
  */
2308
1965
  declare const onOrderUpdated: ReturnType<typeof createEventModule$1<_publicOnOrderUpdatedType>>;
2309
1966
 
2310
- type _publicOnOrderCanceledType = typeof onOrderCanceled$1;
2311
- /**
2312
- * Triggered when an order is canceled.
2313
- *
2314
- * This webhook is triggered either immediately or at the end of the current payment cycle, as follows:
2315
- * + If the order is canceled and `effectiveAt` is set to `IMMEDIATELY`, the webhook is triggered immediately when canceled.
2316
- * + If the order is canceled and `effectiveAt` is set to `NEXT_PAYMENT_DATE`, the webhook is triggered at the end of the current payment cycle. In this case, the [Order Auto Renew Canceled Webhook](https://dev.wix.com/api/rest/wix-pricing-plans/pricing-plans/orders/order-auto-renew-canceled-webhook) is triggered immediately.
2317
- */
2318
- declare const onOrderCanceled: ReturnType<typeof createEventModule$1<_publicOnOrderCanceledType>>;
2319
-
2320
1967
  type _publicOnOrderStartDateChangedType = typeof onOrderStartDateChanged$1;
2321
1968
  /**
2322
1969
  * Triggered when an order's `startDate` is changed.
@@ -2393,21 +2040,8 @@ type _publicOnOrderResumedType = typeof onOrderResumed$1;
2393
2040
  */
2394
2041
  declare const onOrderResumed: ReturnType<typeof createEventModule$1<_publicOnOrderResumedType>>;
2395
2042
 
2396
- type index_d$1_Action = Action;
2397
- type index_d$1_ActionInfoOneOf = ActionInfoOneOf;
2398
- type index_d$1_ActionSettings = ActionSettings;
2399
- type index_d$1_AppDefinedAction = AppDefinedAction;
2400
- type index_d$1_ApplicationOrigin = ApplicationOrigin;
2401
2043
  type index_d$1_ApplyCouponRequest = ApplyCouponRequest;
2402
2044
  type index_d$1_ApplyCouponResponse = ApplyCouponResponse;
2403
- type index_d$1_AuditInfo = AuditInfo;
2404
- type index_d$1_AuditInfoIdOneOf = AuditInfoIdOneOf;
2405
- type index_d$1_Automation = Automation;
2406
- type index_d$1_AutomationConfiguration = AutomationConfiguration;
2407
- type index_d$1_AutomationConfigurationStatus = AutomationConfigurationStatus;
2408
- declare const index_d$1_AutomationConfigurationStatus: typeof AutomationConfigurationStatus;
2409
- type index_d$1_AutomationOriginInfoOneOf = AutomationOriginInfoOneOf;
2410
- type index_d$1_AutomationSettings = AutomationSettings;
2411
2045
  type index_d$1_BulkOrderResult = BulkOrderResult;
2412
2046
  type index_d$1_BulkPauseOrderRequest = BulkPauseOrderRequest;
2413
2047
  type index_d$1_BulkPauseOrderResponse = BulkPauseOrderResponse;
@@ -2424,8 +2058,6 @@ declare const index_d$1_CancellationEffectiveAt: typeof CancellationEffectiveAt;
2424
2058
  type index_d$1_Captcha = Captcha;
2425
2059
  type index_d$1_ChangeStartDateRequest = ChangeStartDateRequest;
2426
2060
  type index_d$1_ChangeStartDateResponse = ChangeStartDateResponse;
2427
- type index_d$1_ConditionAction = ConditionAction;
2428
- type index_d$1_ConditionExpressionGroup = ConditionExpressionGroup;
2429
2061
  type index_d$1_Coupon = Coupon;
2430
2062
  type index_d$1_CouponsError = CouponsError;
2431
2063
  type index_d$1_CreateExternalOrderRequest = CreateExternalOrderRequest;
@@ -2440,13 +2072,8 @@ type index_d$1_CreateOnlineOrderRequest = CreateOnlineOrderRequest;
2440
2072
  type index_d$1_CreateOnlineOrderResponse = CreateOnlineOrderResponse;
2441
2073
  type index_d$1_CurrentCycle = CurrentCycle;
2442
2074
  type index_d$1_CursorPaging = CursorPaging;
2443
- type index_d$1_DelayAction = DelayAction;
2444
- type index_d$1_DeletedWithEntity = DeletedWithEntity;
2445
- type index_d$1_DraftInfo = DraftInfo;
2446
2075
  type index_d$1_Empty = Empty;
2447
- type index_d$1_Filter = Filter;
2448
2076
  type index_d$1_FormData = FormData;
2449
- type index_d$1_FutureDateActivationOffset = FutureDateActivationOffset;
2450
2077
  type index_d$1_GetAvailableOrderActionsRequest = GetAvailableOrderActionsRequest;
2451
2078
  type index_d$1_GetAvailableOrderActionsResponse = GetAvailableOrderActionsResponse;
2452
2079
  type index_d$1_GetGuestOnlineOrderPreviewRequest = GetGuestOnlineOrderPreviewRequest;
@@ -2483,8 +2110,6 @@ type index_d$1_MemberListOrdersRequest = MemberListOrdersRequest;
2483
2110
  type index_d$1_MemberListOrdersResponse = MemberListOrdersResponse;
2484
2111
  type index_d$1_MemberListOrdersResponseNonNullableFields = MemberListOrdersResponseNonNullableFields;
2485
2112
  type index_d$1_OnBehalf = OnBehalf;
2486
- type index_d$1_Operator = Operator;
2487
- declare const index_d$1_Operator: typeof Operator;
2488
2113
  type index_d$1_Order = Order;
2489
2114
  type index_d$1_OrderAutoRenewCanceled = OrderAutoRenewCanceled;
2490
2115
  type index_d$1_OrderAutoRenewCanceledEnvelope = OrderAutoRenewCanceledEnvelope;
@@ -2520,9 +2145,6 @@ declare const index_d$1_OrderType: typeof OrderType;
2520
2145
  type index_d$1_OrderUpdatedEnvelope = OrderUpdatedEnvelope;
2521
2146
  type index_d$1_OrdersQueryOrdersRequest = OrdersQueryOrdersRequest;
2522
2147
  type index_d$1_OrdersQueryOrdersResponse = OrdersQueryOrdersResponse;
2523
- type index_d$1_Origin = Origin;
2524
- declare const index_d$1_Origin: typeof Origin;
2525
- type index_d$1_OutputAction = OutputAction;
2526
2148
  type index_d$1_PauseOrderRequest = PauseOrderRequest;
2527
2149
  type index_d$1_PauseOrderResponse = PauseOrderResponse;
2528
2150
  type index_d$1_PausePeriod = PausePeriod;
@@ -2530,7 +2152,6 @@ type index_d$1_PaymentStatus = PaymentStatus;
2530
2152
  declare const index_d$1_PaymentStatus: typeof PaymentStatus;
2531
2153
  type index_d$1_PostponeEndDateRequest = PostponeEndDateRequest;
2532
2154
  type index_d$1_PostponeEndDateResponse = PostponeEndDateResponse;
2533
- type index_d$1_PreinstalledOrigin = PreinstalledOrigin;
2534
2155
  type index_d$1_Price = Price;
2535
2156
  type index_d$1_PriceDetails = PriceDetails;
2536
2157
  type index_d$1_PriceDetailsPricingModelOneOf = PriceDetailsPricingModelOneOf;
@@ -2540,8 +2161,6 @@ type index_d$1_PricingDetailsPricingModelOneOf = PricingDetailsPricingModelOneOf
2540
2161
  type index_d$1_QueryOrdersRequest = QueryOrdersRequest;
2541
2162
  type index_d$1_QueryOrdersResponse = QueryOrdersResponse;
2542
2163
  type index_d$1_QueryV2PagingMethodOneOf = QueryV2PagingMethodOneOf;
2543
- type index_d$1_RateLimit = RateLimit;
2544
- type index_d$1_RateLimitAction = RateLimitAction;
2545
2164
  type index_d$1_ReasonNotSuspendable = ReasonNotSuspendable;
2546
2165
  declare const index_d$1_ReasonNotSuspendable: typeof ReasonNotSuspendable;
2547
2166
  type index_d$1_RequestCancellationRequest = RequestCancellationRequest;
@@ -2556,12 +2175,6 @@ type index_d$1_SpannedPrice = SpannedPrice;
2556
2175
  type index_d$1_Status = Status;
2557
2176
  declare const index_d$1_Status: typeof Status;
2558
2177
  type index_d$1_Tax = Tax;
2559
- type index_d$1_TimeUnit = TimeUnit;
2560
- declare const index_d$1_TimeUnit: typeof TimeUnit;
2561
- type index_d$1_Trigger = Trigger;
2562
- type index_d$1_Type = Type;
2563
- declare const index_d$1_Type: typeof Type;
2564
- type index_d$1_UpdatedWithPreviousEntity = UpdatedWithPreviousEntity;
2565
2178
  type index_d$1__publicOnOrderAutoRenewCanceledType = _publicOnOrderAutoRenewCanceledType;
2566
2179
  type index_d$1__publicOnOrderCanceledType = _publicOnOrderCanceledType;
2567
2180
  type index_d$1__publicOnOrderCreatedType = _publicOnOrderCreatedType;
@@ -2602,7 +2215,7 @@ declare const index_d$1_postponeEndDate: typeof postponeEndDate;
2602
2215
  declare const index_d$1_requestCancellation: typeof requestCancellation;
2603
2216
  declare const index_d$1_resumeOrder: typeof resumeOrder;
2604
2217
  declare namespace index_d$1 {
2605
- export { type index_d$1_Action as Action, type ActionEvent$1 as ActionEvent, type index_d$1_ActionInfoOneOf as ActionInfoOneOf, type index_d$1_ActionSettings as ActionSettings, type index_d$1_AppDefinedAction as AppDefinedAction, type ApplicationError$1 as ApplicationError, type index_d$1_ApplicationOrigin as ApplicationOrigin, type index_d$1_ApplyCouponRequest as ApplyCouponRequest, type index_d$1_ApplyCouponResponse as ApplyCouponResponse, type index_d$1_AuditInfo as AuditInfo, type index_d$1_AuditInfoIdOneOf as AuditInfoIdOneOf, type index_d$1_Automation as Automation, type index_d$1_AutomationConfiguration as AutomationConfiguration, index_d$1_AutomationConfigurationStatus as AutomationConfigurationStatus, type index_d$1_AutomationOriginInfoOneOf as AutomationOriginInfoOneOf, type index_d$1_AutomationSettings as AutomationSettings, type BaseEventMetadata$1 as BaseEventMetadata, type BulkActionMetadata$1 as BulkActionMetadata, type index_d$1_BulkOrderResult as BulkOrderResult, type index_d$1_BulkPauseOrderRequest as BulkPauseOrderRequest, type index_d$1_BulkPauseOrderResponse as BulkPauseOrderResponse, type index_d$1_BulkResumeOrderRequest as BulkResumeOrderRequest, type index_d$1_BulkResumeOrderResponse as BulkResumeOrderResponse, type index_d$1_Buyer as Buyer, type index_d$1_CancelOrderRequest as CancelOrderRequest, type index_d$1_CancelOrderResponse as CancelOrderResponse, type index_d$1_Cancellation as Cancellation, index_d$1_CancellationCause as CancellationCause, index_d$1_CancellationEffectiveAt as CancellationEffectiveAt, type index_d$1_Captcha as Captcha, type index_d$1_ChangeStartDateRequest as ChangeStartDateRequest, type index_d$1_ChangeStartDateResponse as ChangeStartDateResponse, type index_d$1_ConditionAction as ConditionAction, type index_d$1_ConditionExpressionGroup as ConditionExpressionGroup, type index_d$1_Coupon as Coupon, type index_d$1_CouponsError as CouponsError, type index_d$1_CreateExternalOrderRequest as CreateExternalOrderRequest, type index_d$1_CreateExternalOrderResponse as CreateExternalOrderResponse, type index_d$1_CreateGuestOnlineOrderRequest as CreateGuestOnlineOrderRequest, type index_d$1_CreateGuestOnlineOrderResponse as CreateGuestOnlineOrderResponse, type index_d$1_CreateOfflineOrderOptions as CreateOfflineOrderOptions, type index_d$1_CreateOfflineOrderRequest as CreateOfflineOrderRequest, type index_d$1_CreateOfflineOrderResponse as CreateOfflineOrderResponse, type index_d$1_CreateOfflineOrderResponseNonNullableFields as CreateOfflineOrderResponseNonNullableFields, type index_d$1_CreateOnlineOrderRequest as CreateOnlineOrderRequest, type index_d$1_CreateOnlineOrderResponse as CreateOnlineOrderResponse, type index_d$1_CurrentCycle as CurrentCycle, type index_d$1_CursorPaging as CursorPaging, type Cursors$1 as Cursors, type index_d$1_DelayAction as DelayAction, type index_d$1_DeletedWithEntity as DeletedWithEntity, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type index_d$1_DraftInfo as DraftInfo, type Duration$1 as Duration, type index_d$1_Empty as Empty, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type EventMetadata$1 as EventMetadata, type Fee$1 as Fee, type index_d$1_Filter as Filter, type index_d$1_FormData as FormData, type index_d$1_FutureDateActivationOffset as FutureDateActivationOffset, type index_d$1_GetAvailableOrderActionsRequest as GetAvailableOrderActionsRequest, type index_d$1_GetAvailableOrderActionsResponse as GetAvailableOrderActionsResponse, type index_d$1_GetGuestOnlineOrderPreviewRequest as GetGuestOnlineOrderPreviewRequest, type index_d$1_GetGuestOnlineOrderPreviewResponse as GetGuestOnlineOrderPreviewResponse, type index_d$1_GetOfflineOrderPreviewOptions as GetOfflineOrderPreviewOptions, type index_d$1_GetOfflineOrderPreviewRequest as GetOfflineOrderPreviewRequest, type index_d$1_GetOfflineOrderPreviewResponse as GetOfflineOrderPreviewResponse, type index_d$1_GetOfflineOrderPreviewResponseNonNullableFields as GetOfflineOrderPreviewResponseNonNullableFields, type index_d$1_GetOnlineOrderPreviewRequest as GetOnlineOrderPreviewRequest, type index_d$1_GetOnlineOrderPreviewResponse as GetOnlineOrderPreviewResponse, type index_d$1_GetOrderRequest as GetOrderRequest, type index_d$1_GetOrderResponse as GetOrderResponse, type index_d$1_GetOrderResponseNonNullableFields as GetOrderResponseNonNullableFields, type index_d$1_GetOrdersStatsRequest as GetOrdersStatsRequest, type index_d$1_GetOrdersStatsResponse as GetOrdersStatsResponse, type index_d$1_GetPricePreviewOptions as GetPricePreviewOptions, type index_d$1_GetPricePreviewRequest as GetPricePreviewRequest, type index_d$1_GetPricePreviewResponse as GetPricePreviewResponse, type index_d$1_GetPricePreviewResponseNonNullableFields as GetPricePreviewResponseNonNullableFields, type index_d$1_Guest as Guest, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, type ItemMetadata$1 as ItemMetadata, type index_d$1_ListOrdersRequest as ListOrdersRequest, type index_d$1_ListOrdersResponse as ListOrdersResponse, type index_d$1_ListOrdersResponseNonNullableFields as ListOrdersResponseNonNullableFields, type index_d$1_ManagementGetOrderOptions as ManagementGetOrderOptions, type index_d$1_ManagementListOrdersOptions as ManagementListOrdersOptions, type index_d$1_MarkAsPaidRequest as MarkAsPaidRequest, type index_d$1_MarkAsPaidResponse as MarkAsPaidResponse, type index_d$1_MemberGetOrderOptions as MemberGetOrderOptions, type index_d$1_MemberGetOrderRequest as MemberGetOrderRequest, type index_d$1_MemberGetOrderResponse as MemberGetOrderResponse, type index_d$1_MemberGetOrderResponseNonNullableFields as MemberGetOrderResponseNonNullableFields, type index_d$1_MemberListOrdersOptions as MemberListOrdersOptions, type index_d$1_MemberListOrdersRequest as MemberListOrdersRequest, type index_d$1_MemberListOrdersResponse as MemberListOrdersResponse, type index_d$1_MemberListOrdersResponseNonNullableFields as MemberListOrdersResponseNonNullableFields, type MessageEnvelope$1 as MessageEnvelope, type index_d$1_OnBehalf as OnBehalf, index_d$1_Operator as Operator, type index_d$1_Order as Order, type index_d$1_OrderAutoRenewCanceled as OrderAutoRenewCanceled, type index_d$1_OrderAutoRenewCanceledEnvelope as OrderAutoRenewCanceledEnvelope, type index_d$1_OrderCanceled as OrderCanceled, type index_d$1_OrderCanceledEnvelope as OrderCanceledEnvelope, type index_d$1_OrderCreatedEnvelope as OrderCreatedEnvelope, type index_d$1_OrderCycle as OrderCycle, type index_d$1_OrderCycleStarted as OrderCycleStarted, type index_d$1_OrderCycleStartedEnvelope as OrderCycleStartedEnvelope, type index_d$1_OrderEndDatePostponed as OrderEndDatePostponed, type index_d$1_OrderEndDatePostponedEnvelope as OrderEndDatePostponedEnvelope, type index_d$1_OrderEnded as OrderEnded, type index_d$1_OrderEndedEnvelope as OrderEndedEnvelope, type index_d$1_OrderMarkedAsPaid as OrderMarkedAsPaid, type index_d$1_OrderMarkedAsPaidEnvelope as OrderMarkedAsPaidEnvelope, index_d$1_OrderMethod as OrderMethod, type index_d$1_OrderNonNullableFields as OrderNonNullableFields, type index_d$1_OrderPaused as OrderPaused, type index_d$1_OrderPausedEnvelope as OrderPausedEnvelope, type index_d$1_OrderPurchased as OrderPurchased, type index_d$1_OrderPurchasedEnvelope as OrderPurchasedEnvelope, type index_d$1_OrderResumed as OrderResumed, type index_d$1_OrderResumedEnvelope as OrderResumedEnvelope, type index_d$1_OrderStartDateChanged as OrderStartDateChanged, type index_d$1_OrderStartDateChangedEnvelope as OrderStartDateChangedEnvelope, type index_d$1_OrderStarted as OrderStarted, type index_d$1_OrderStartedEnvelope as OrderStartedEnvelope, index_d$1_OrderStatus as OrderStatus, index_d$1_OrderType as OrderType, type index_d$1_OrderUpdatedEnvelope as OrderUpdatedEnvelope, type index_d$1_OrdersQueryOrdersRequest as OrdersQueryOrdersRequest, type index_d$1_OrdersQueryOrdersResponse as OrdersQueryOrdersResponse, index_d$1_Origin as Origin, type index_d$1_OutputAction as OutputAction, type Paging$1 as Paging, type PagingMetadataV2$1 as PagingMetadataV2, type index_d$1_PauseOrderRequest as PauseOrderRequest, type index_d$1_PauseOrderResponse as PauseOrderResponse, type index_d$1_PausePeriod as PausePeriod, index_d$1_PaymentStatus as PaymentStatus, PeriodUnit$1 as PeriodUnit, type index_d$1_PostponeEndDateRequest as PostponeEndDateRequest, type index_d$1_PostponeEndDateResponse as PostponeEndDateResponse, type index_d$1_PreinstalledOrigin as PreinstalledOrigin, type index_d$1_Price as Price, type index_d$1_PriceDetails as PriceDetails, type index_d$1_PriceDetailsPricingModelOneOf as PriceDetailsPricingModelOneOf, type index_d$1_PriceDuration as PriceDuration, type index_d$1_PricingDetails as PricingDetails, type index_d$1_PricingDetailsPricingModelOneOf as PricingDetailsPricingModelOneOf, type index_d$1_QueryOrdersRequest as QueryOrdersRequest, type index_d$1_QueryOrdersResponse as QueryOrdersResponse, type QueryV2$1 as QueryV2, type index_d$1_QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOf, type index_d$1_RateLimit as RateLimit, type index_d$1_RateLimitAction as RateLimitAction, index_d$1_ReasonNotSuspendable as ReasonNotSuspendable, type Recurrence$1 as Recurrence, type index_d$1_RequestCancellationRequest as RequestCancellationRequest, type index_d$1_RequestCancellationResponse as RequestCancellationResponse, type RestoreInfo$1 as RestoreInfo, type index_d$1_ResumeOrderRequest as ResumeOrderRequest, type index_d$1_ResumeOrderResponse as ResumeOrderResponse, index_d$1_Set as Set, type index_d$1_SetSubmissionRequest as SetSubmissionRequest, type index_d$1_SetSubmissionResponse as SetSubmissionResponse, SortOrder$1 as SortOrder, type Sorting$1 as Sorting, type index_d$1_SpannedPrice as SpannedPrice, index_d$1_Status as Status, type index_d$1_Tax as Tax, index_d$1_TimeUnit as TimeUnit, type index_d$1_Trigger as Trigger, index_d$1_Type as Type, type index_d$1_UpdatedWithPreviousEntity as UpdatedWithPreviousEntity, WebhookIdentityType$1 as WebhookIdentityType, type index_d$1__publicOnOrderAutoRenewCanceledType as _publicOnOrderAutoRenewCanceledType, type index_d$1__publicOnOrderCanceledType as _publicOnOrderCanceledType, type index_d$1__publicOnOrderCreatedType as _publicOnOrderCreatedType, type index_d$1__publicOnOrderCycleStartedType as _publicOnOrderCycleStartedType, type index_d$1__publicOnOrderEndDatePostponedType as _publicOnOrderEndDatePostponedType, type index_d$1__publicOnOrderEndedType as _publicOnOrderEndedType, type index_d$1__publicOnOrderMarkedAsPaidType as _publicOnOrderMarkedAsPaidType, type index_d$1__publicOnOrderPausedType as _publicOnOrderPausedType, type index_d$1__publicOnOrderPurchasedType as _publicOnOrderPurchasedType, type index_d$1__publicOnOrderResumedType as _publicOnOrderResumedType, type index_d$1__publicOnOrderStartDateChangedType as _publicOnOrderStartDateChangedType, type index_d$1__publicOnOrderStartedType as _publicOnOrderStartedType, type index_d$1__publicOnOrderUpdatedType as _publicOnOrderUpdatedType, index_d$1_cancelOrder as cancelOrder, index_d$1_createOfflineOrder as createOfflineOrder, index_d$1_getOfflineOrderPreview as getOfflineOrderPreview, index_d$1_getPricePreview as getPricePreview, index_d$1_managementGetOrder as managementGetOrder, index_d$1_managementListOrders as managementListOrders, index_d$1_markAsPaid as markAsPaid, index_d$1_memberGetOrder as memberGetOrder, index_d$1_memberListOrders as memberListOrders, index_d$1_onOrderAutoRenewCanceled as onOrderAutoRenewCanceled, index_d$1_onOrderCanceled as onOrderCanceled, index_d$1_onOrderCreated as onOrderCreated, index_d$1_onOrderCycleStarted as onOrderCycleStarted, index_d$1_onOrderEndDatePostponed as onOrderEndDatePostponed, index_d$1_onOrderEnded as onOrderEnded, index_d$1_onOrderMarkedAsPaid as onOrderMarkedAsPaid, index_d$1_onOrderPaused as onOrderPaused, index_d$1_onOrderPurchased as onOrderPurchased, index_d$1_onOrderResumed as onOrderResumed, index_d$1_onOrderStartDateChanged as onOrderStartDateChanged, index_d$1_onOrderStarted as onOrderStarted, index_d$1_onOrderUpdated as onOrderUpdated, index_d$1_pauseOrder as pauseOrder, index_d$1_postponeEndDate as postponeEndDate, onOrderAutoRenewCanceled$1 as publicOnOrderAutoRenewCanceled, onOrderCanceled$1 as publicOnOrderCanceled, onOrderCreated$1 as publicOnOrderCreated, onOrderCycleStarted$1 as publicOnOrderCycleStarted, onOrderEndDatePostponed$1 as publicOnOrderEndDatePostponed, onOrderEnded$1 as publicOnOrderEnded, onOrderMarkedAsPaid$1 as publicOnOrderMarkedAsPaid, onOrderPaused$1 as publicOnOrderPaused, onOrderPurchased$1 as publicOnOrderPurchased, onOrderResumed$1 as publicOnOrderResumed, onOrderStartDateChanged$1 as publicOnOrderStartDateChanged, onOrderStarted$1 as publicOnOrderStarted, onOrderUpdated$1 as publicOnOrderUpdated, index_d$1_requestCancellation as requestCancellation, index_d$1_resumeOrder as resumeOrder };
2218
+ export { type ActionEvent$1 as ActionEvent, type ApplicationError$1 as ApplicationError, type index_d$1_ApplyCouponRequest as ApplyCouponRequest, type index_d$1_ApplyCouponResponse as ApplyCouponResponse, type BaseEventMetadata$1 as BaseEventMetadata, type BulkActionMetadata$1 as BulkActionMetadata, type index_d$1_BulkOrderResult as BulkOrderResult, type index_d$1_BulkPauseOrderRequest as BulkPauseOrderRequest, type index_d$1_BulkPauseOrderResponse as BulkPauseOrderResponse, type index_d$1_BulkResumeOrderRequest as BulkResumeOrderRequest, type index_d$1_BulkResumeOrderResponse as BulkResumeOrderResponse, type index_d$1_Buyer as Buyer, type index_d$1_CancelOrderRequest as CancelOrderRequest, type index_d$1_CancelOrderResponse as CancelOrderResponse, type index_d$1_Cancellation as Cancellation, index_d$1_CancellationCause as CancellationCause, index_d$1_CancellationEffectiveAt as CancellationEffectiveAt, type index_d$1_Captcha as Captcha, type index_d$1_ChangeStartDateRequest as ChangeStartDateRequest, type index_d$1_ChangeStartDateResponse as ChangeStartDateResponse, type index_d$1_Coupon as Coupon, type index_d$1_CouponsError as CouponsError, type index_d$1_CreateExternalOrderRequest as CreateExternalOrderRequest, type index_d$1_CreateExternalOrderResponse as CreateExternalOrderResponse, type index_d$1_CreateGuestOnlineOrderRequest as CreateGuestOnlineOrderRequest, type index_d$1_CreateGuestOnlineOrderResponse as CreateGuestOnlineOrderResponse, type index_d$1_CreateOfflineOrderOptions as CreateOfflineOrderOptions, type index_d$1_CreateOfflineOrderRequest as CreateOfflineOrderRequest, type index_d$1_CreateOfflineOrderResponse as CreateOfflineOrderResponse, type index_d$1_CreateOfflineOrderResponseNonNullableFields as CreateOfflineOrderResponseNonNullableFields, type index_d$1_CreateOnlineOrderRequest as CreateOnlineOrderRequest, type index_d$1_CreateOnlineOrderResponse as CreateOnlineOrderResponse, type index_d$1_CurrentCycle as CurrentCycle, type index_d$1_CursorPaging as CursorPaging, type Cursors$1 as Cursors, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type Duration$1 as Duration, type index_d$1_Empty as Empty, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type EventMetadata$1 as EventMetadata, type Fee$1 as Fee, type index_d$1_FormData as FormData, type index_d$1_GetAvailableOrderActionsRequest as GetAvailableOrderActionsRequest, type index_d$1_GetAvailableOrderActionsResponse as GetAvailableOrderActionsResponse, type index_d$1_GetGuestOnlineOrderPreviewRequest as GetGuestOnlineOrderPreviewRequest, type index_d$1_GetGuestOnlineOrderPreviewResponse as GetGuestOnlineOrderPreviewResponse, type index_d$1_GetOfflineOrderPreviewOptions as GetOfflineOrderPreviewOptions, type index_d$1_GetOfflineOrderPreviewRequest as GetOfflineOrderPreviewRequest, type index_d$1_GetOfflineOrderPreviewResponse as GetOfflineOrderPreviewResponse, type index_d$1_GetOfflineOrderPreviewResponseNonNullableFields as GetOfflineOrderPreviewResponseNonNullableFields, type index_d$1_GetOnlineOrderPreviewRequest as GetOnlineOrderPreviewRequest, type index_d$1_GetOnlineOrderPreviewResponse as GetOnlineOrderPreviewResponse, type index_d$1_GetOrderRequest as GetOrderRequest, type index_d$1_GetOrderResponse as GetOrderResponse, type index_d$1_GetOrderResponseNonNullableFields as GetOrderResponseNonNullableFields, type index_d$1_GetOrdersStatsRequest as GetOrdersStatsRequest, type index_d$1_GetOrdersStatsResponse as GetOrdersStatsResponse, type index_d$1_GetPricePreviewOptions as GetPricePreviewOptions, type index_d$1_GetPricePreviewRequest as GetPricePreviewRequest, type index_d$1_GetPricePreviewResponse as GetPricePreviewResponse, type index_d$1_GetPricePreviewResponseNonNullableFields as GetPricePreviewResponseNonNullableFields, type index_d$1_Guest as Guest, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, type ItemMetadata$1 as ItemMetadata, type index_d$1_ListOrdersRequest as ListOrdersRequest, type index_d$1_ListOrdersResponse as ListOrdersResponse, type index_d$1_ListOrdersResponseNonNullableFields as ListOrdersResponseNonNullableFields, type index_d$1_ManagementGetOrderOptions as ManagementGetOrderOptions, type index_d$1_ManagementListOrdersOptions as ManagementListOrdersOptions, type index_d$1_MarkAsPaidRequest as MarkAsPaidRequest, type index_d$1_MarkAsPaidResponse as MarkAsPaidResponse, type index_d$1_MemberGetOrderOptions as MemberGetOrderOptions, type index_d$1_MemberGetOrderRequest as MemberGetOrderRequest, type index_d$1_MemberGetOrderResponse as MemberGetOrderResponse, type index_d$1_MemberGetOrderResponseNonNullableFields as MemberGetOrderResponseNonNullableFields, type index_d$1_MemberListOrdersOptions as MemberListOrdersOptions, type index_d$1_MemberListOrdersRequest as MemberListOrdersRequest, type index_d$1_MemberListOrdersResponse as MemberListOrdersResponse, type index_d$1_MemberListOrdersResponseNonNullableFields as MemberListOrdersResponseNonNullableFields, type MessageEnvelope$1 as MessageEnvelope, type index_d$1_OnBehalf as OnBehalf, type index_d$1_Order as Order, type index_d$1_OrderAutoRenewCanceled as OrderAutoRenewCanceled, type index_d$1_OrderAutoRenewCanceledEnvelope as OrderAutoRenewCanceledEnvelope, type index_d$1_OrderCanceled as OrderCanceled, type index_d$1_OrderCanceledEnvelope as OrderCanceledEnvelope, type index_d$1_OrderCreatedEnvelope as OrderCreatedEnvelope, type index_d$1_OrderCycle as OrderCycle, type index_d$1_OrderCycleStarted as OrderCycleStarted, type index_d$1_OrderCycleStartedEnvelope as OrderCycleStartedEnvelope, type index_d$1_OrderEndDatePostponed as OrderEndDatePostponed, type index_d$1_OrderEndDatePostponedEnvelope as OrderEndDatePostponedEnvelope, type index_d$1_OrderEnded as OrderEnded, type index_d$1_OrderEndedEnvelope as OrderEndedEnvelope, type index_d$1_OrderMarkedAsPaid as OrderMarkedAsPaid, type index_d$1_OrderMarkedAsPaidEnvelope as OrderMarkedAsPaidEnvelope, index_d$1_OrderMethod as OrderMethod, type index_d$1_OrderNonNullableFields as OrderNonNullableFields, type index_d$1_OrderPaused as OrderPaused, type index_d$1_OrderPausedEnvelope as OrderPausedEnvelope, type index_d$1_OrderPurchased as OrderPurchased, type index_d$1_OrderPurchasedEnvelope as OrderPurchasedEnvelope, type index_d$1_OrderResumed as OrderResumed, type index_d$1_OrderResumedEnvelope as OrderResumedEnvelope, type index_d$1_OrderStartDateChanged as OrderStartDateChanged, type index_d$1_OrderStartDateChangedEnvelope as OrderStartDateChangedEnvelope, type index_d$1_OrderStarted as OrderStarted, type index_d$1_OrderStartedEnvelope as OrderStartedEnvelope, index_d$1_OrderStatus as OrderStatus, index_d$1_OrderType as OrderType, type index_d$1_OrderUpdatedEnvelope as OrderUpdatedEnvelope, type index_d$1_OrdersQueryOrdersRequest as OrdersQueryOrdersRequest, type index_d$1_OrdersQueryOrdersResponse as OrdersQueryOrdersResponse, type Paging$1 as Paging, type PagingMetadataV2$1 as PagingMetadataV2, type index_d$1_PauseOrderRequest as PauseOrderRequest, type index_d$1_PauseOrderResponse as PauseOrderResponse, type index_d$1_PausePeriod as PausePeriod, index_d$1_PaymentStatus as PaymentStatus, PeriodUnit$1 as PeriodUnit, type index_d$1_PostponeEndDateRequest as PostponeEndDateRequest, type index_d$1_PostponeEndDateResponse as PostponeEndDateResponse, type index_d$1_Price as Price, type index_d$1_PriceDetails as PriceDetails, type index_d$1_PriceDetailsPricingModelOneOf as PriceDetailsPricingModelOneOf, type index_d$1_PriceDuration as PriceDuration, type index_d$1_PricingDetails as PricingDetails, type index_d$1_PricingDetailsPricingModelOneOf as PricingDetailsPricingModelOneOf, type index_d$1_QueryOrdersRequest as QueryOrdersRequest, type index_d$1_QueryOrdersResponse as QueryOrdersResponse, type QueryV2$1 as QueryV2, type index_d$1_QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOf, index_d$1_ReasonNotSuspendable as ReasonNotSuspendable, type Recurrence$1 as Recurrence, type index_d$1_RequestCancellationRequest as RequestCancellationRequest, type index_d$1_RequestCancellationResponse as RequestCancellationResponse, type RestoreInfo$1 as RestoreInfo, type index_d$1_ResumeOrderRequest as ResumeOrderRequest, type index_d$1_ResumeOrderResponse as ResumeOrderResponse, index_d$1_Set as Set, type index_d$1_SetSubmissionRequest as SetSubmissionRequest, type index_d$1_SetSubmissionResponse as SetSubmissionResponse, SortOrder$1 as SortOrder, type Sorting$1 as Sorting, type index_d$1_SpannedPrice as SpannedPrice, index_d$1_Status as Status, type index_d$1_Tax as Tax, WebhookIdentityType$1 as WebhookIdentityType, type index_d$1__publicOnOrderAutoRenewCanceledType as _publicOnOrderAutoRenewCanceledType, type index_d$1__publicOnOrderCanceledType as _publicOnOrderCanceledType, type index_d$1__publicOnOrderCreatedType as _publicOnOrderCreatedType, type index_d$1__publicOnOrderCycleStartedType as _publicOnOrderCycleStartedType, type index_d$1__publicOnOrderEndDatePostponedType as _publicOnOrderEndDatePostponedType, type index_d$1__publicOnOrderEndedType as _publicOnOrderEndedType, type index_d$1__publicOnOrderMarkedAsPaidType as _publicOnOrderMarkedAsPaidType, type index_d$1__publicOnOrderPausedType as _publicOnOrderPausedType, type index_d$1__publicOnOrderPurchasedType as _publicOnOrderPurchasedType, type index_d$1__publicOnOrderResumedType as _publicOnOrderResumedType, type index_d$1__publicOnOrderStartDateChangedType as _publicOnOrderStartDateChangedType, type index_d$1__publicOnOrderStartedType as _publicOnOrderStartedType, type index_d$1__publicOnOrderUpdatedType as _publicOnOrderUpdatedType, index_d$1_cancelOrder as cancelOrder, index_d$1_createOfflineOrder as createOfflineOrder, index_d$1_getOfflineOrderPreview as getOfflineOrderPreview, index_d$1_getPricePreview as getPricePreview, index_d$1_managementGetOrder as managementGetOrder, index_d$1_managementListOrders as managementListOrders, index_d$1_markAsPaid as markAsPaid, index_d$1_memberGetOrder as memberGetOrder, index_d$1_memberListOrders as memberListOrders, index_d$1_onOrderAutoRenewCanceled as onOrderAutoRenewCanceled, index_d$1_onOrderCanceled as onOrderCanceled, index_d$1_onOrderCreated as onOrderCreated, index_d$1_onOrderCycleStarted as onOrderCycleStarted, index_d$1_onOrderEndDatePostponed as onOrderEndDatePostponed, index_d$1_onOrderEnded as onOrderEnded, index_d$1_onOrderMarkedAsPaid as onOrderMarkedAsPaid, index_d$1_onOrderPaused as onOrderPaused, index_d$1_onOrderPurchased as onOrderPurchased, index_d$1_onOrderResumed as onOrderResumed, index_d$1_onOrderStartDateChanged as onOrderStartDateChanged, index_d$1_onOrderStarted as onOrderStarted, index_d$1_onOrderUpdated as onOrderUpdated, index_d$1_pauseOrder as pauseOrder, index_d$1_postponeEndDate as postponeEndDate, onOrderAutoRenewCanceled$1 as publicOnOrderAutoRenewCanceled, onOrderCanceled$1 as publicOnOrderCanceled, onOrderCreated$1 as publicOnOrderCreated, onOrderCycleStarted$1 as publicOnOrderCycleStarted, onOrderEndDatePostponed$1 as publicOnOrderEndDatePostponed, onOrderEnded$1 as publicOnOrderEnded, onOrderMarkedAsPaid$1 as publicOnOrderMarkedAsPaid, onOrderPaused$1 as publicOnOrderPaused, onOrderPurchased$1 as publicOnOrderPurchased, onOrderResumed$1 as publicOnOrderResumed, onOrderStartDateChanged$1 as publicOnOrderStartDateChanged, onOrderStarted$1 as publicOnOrderStarted, onOrderUpdated$1 as publicOnOrderUpdated, index_d$1_requestCancellation as requestCancellation, index_d$1_resumeOrder as resumeOrder };
2606
2219
  }
2607
2220
 
2608
2221
  /** Information about the pricing plan. */