@wix/pricing-plans 1.0.74 → 1.0.76

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.
@@ -531,7 +531,7 @@ interface DomainEvent$1 extends DomainEventBodyOneOf$1 {
531
531
  slug?: string;
532
532
  /** ID of the entity associated with the event. */
533
533
  entityId?: string;
534
- /** Event timestamp. */
534
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
535
535
  eventTime?: Date;
536
536
  /**
537
537
  * Whether the event was triggered as a result of a privacy regulation application
@@ -560,6 +560,9 @@ interface DomainEventBodyOneOf$1 {
560
560
  interface EntityCreatedEvent$1 {
561
561
  entity?: string;
562
562
  }
563
+ interface RestoreInfo$1 {
564
+ deletedDate?: Date;
565
+ }
563
566
  interface EntityUpdatedEvent$1 {
564
567
  /**
565
568
  * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
@@ -580,6 +583,7 @@ interface Empty {
580
583
  interface MemberGetOrderRequest {
581
584
  /** Order ID. */
582
585
  _id: string;
586
+ /** Parameter to define amount of fields to return. FULL returns each order's submission data. Supported values: UNKNOWN_SET, BASIC, FULL. */
583
587
  fieldSet?: Set;
584
588
  }
585
589
  declare enum Set {
@@ -615,6 +619,7 @@ interface MemberListOrdersRequest {
615
619
  offset?: number | null;
616
620
  /** Sorting direction (defaults to ASC) and field to sort by. [See available fields here](https://dev.wix.com/api/rest/pricing-plans/pricing-plans/order-v2/filter-and-sort). */
617
621
  sorting?: Sorting$1;
622
+ /** Parameter to define amount of fields to return. FULL returns each order's submission data. Supported values: UNKNOWN_SET, BASIC, FULL */
618
623
  fieldSet?: Set;
619
624
  }
620
625
  interface Sorting$1 {
@@ -656,6 +661,7 @@ interface Cursors$1 {
656
661
  * Retrieves a list of up to 1,000 orders, based on the provided paging, [sorting, and filtering](https://dev.wix.com/api/rest/pricing-plans/pricing-plans/order-v2/filter-and-sort).
657
662
  */
658
663
  interface QueryOrdersRequest {
664
+ /** [See available fields here](https://dev.wix.com/api/rest/pricing-plans/pricing-plans/order-v2/filter-and-sort). */
659
665
  query?: QueryV2$1;
660
666
  }
661
667
  interface QueryV2$1 extends QueryV2PagingMethodOneOf {
@@ -664,17 +670,15 @@ interface QueryV2$1 extends QueryV2PagingMethodOneOf {
664
670
  /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
665
671
  cursorPaging?: CursorPaging;
666
672
  /**
667
- * Filter object in the following format:
668
- * `"filter" : {
669
- * "fieldName1": "value1",
670
- * "fieldName2":{"$operator":"value2"}
671
- * }`
672
- * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
673
+ * Filter object.
674
+ *
675
+ * Learn more about the [filter section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-filter-section).
673
676
  */
674
677
  filter?: Record<string, any> | null;
675
678
  /**
676
- * Sort object in the following format:
677
- * `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
679
+ * Sort object.
680
+ *
681
+ * Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
678
682
  */
679
683
  sort?: Sorting$1[];
680
684
  /** Array of projected fields. A list of specific field names to return. If `fieldsets` are also specified, the union of `fieldsets` and `fields` is returned. */
@@ -803,7 +807,9 @@ interface CreateOnlineOrderResponse {
803
807
  order?: Order;
804
808
  }
805
809
  interface CouponsError {
810
+ /** Coupon code. */
806
811
  couponCode?: string;
812
+ /** Plan ID. */
807
813
  planId?: string;
808
814
  }
809
815
  interface CreateGuestOnlineOrderRequest {
@@ -908,6 +914,7 @@ interface GetGuestOnlineOrderPreviewRequest {
908
914
  startDate?: Date;
909
915
  /** Coupon code to apply. */
910
916
  couponCode?: string | null;
917
+ /** Email for checkout */
911
918
  email?: string;
912
919
  }
913
920
  interface GetGuestOnlineOrderPreviewResponse {
@@ -991,7 +998,9 @@ interface ApplyCouponResponse {
991
998
  order?: Order;
992
999
  }
993
1000
  interface SetSubmissionRequest {
1001
+ /** Order ID. */
994
1002
  orderId?: string;
1003
+ /** Submission ID. */
995
1004
  submissionId?: string;
996
1005
  }
997
1006
  interface SetSubmissionResponse {
@@ -1029,6 +1038,7 @@ interface OrderEnded {
1029
1038
  interface GetOrderRequest {
1030
1039
  /** Order ID. */
1031
1040
  _id: string;
1041
+ /** Parameter to define amount of fields to return. FULL returns each order's submission data. Supported values: UNKNOWN_SET, BASIC, FULL */
1032
1042
  fieldSet?: Set;
1033
1043
  }
1034
1044
  interface GetOrderResponse {
@@ -1176,11 +1186,15 @@ interface BulkPauseOrderRequest {
1176
1186
  returnFullEntity?: boolean;
1177
1187
  }
1178
1188
  interface BulkPauseOrderResponse {
1189
+ /** Orders that were paused. */
1179
1190
  results?: BulkOrderResult[];
1191
+ /** Bulk action metadata. */
1180
1192
  bulkActionMetadata?: BulkActionMetadata$1;
1181
1193
  }
1182
1194
  interface BulkOrderResult {
1195
+ /** Item metadata */
1183
1196
  itemMetadata?: ItemMetadata$1;
1197
+ /** The order. */
1184
1198
  order?: Order;
1185
1199
  }
1186
1200
  interface ItemMetadata$1 {
@@ -1226,7 +1240,9 @@ interface BulkResumeOrderRequest {
1226
1240
  returnFullEntity?: boolean;
1227
1241
  }
1228
1242
  interface BulkResumeOrderResponse {
1243
+ /** Orders that were resumed. */
1229
1244
  results?: BulkOrderResult[];
1245
+ /** Bulk action metadata. */
1230
1246
  bulkActionMetadata?: BulkActionMetadata$1;
1231
1247
  }
1232
1248
  interface BuyerNonNullableFields {
@@ -1370,7 +1386,7 @@ interface EventMetadata$1 extends BaseEventMetadata$1 {
1370
1386
  slug?: string;
1371
1387
  /** ID of the entity associated with the event. */
1372
1388
  entityId?: string;
1373
- /** Event timestamp. */
1389
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
1374
1390
  eventTime?: Date;
1375
1391
  /**
1376
1392
  * Whether the event was triggered as a result of a privacy regulation application
@@ -1442,6 +1458,7 @@ interface OrderResumedEnvelope {
1442
1458
  metadata: EventMetadata$1;
1443
1459
  }
1444
1460
  interface MemberGetOrderOptions {
1461
+ /** Parameter to define amount of fields to return. FULL returns each order's submission data. Supported values: UNKNOWN_SET, BASIC, FULL. */
1445
1462
  fieldSet?: Set;
1446
1463
  }
1447
1464
  interface MemberListOrdersOptions {
@@ -1503,6 +1520,7 @@ interface MemberListOrdersOptions {
1503
1520
  * Default: `ASC`
1504
1521
  */
1505
1522
  sorting?: Sorting$1;
1523
+ /** Parameter to define amount of fields to return. FULL returns each order's submission data. Supported values: UNKNOWN_SET, BASIC, FULL */
1506
1524
  fieldSet?: Set;
1507
1525
  }
1508
1526
  interface CreateOfflineOrderOptions {
@@ -1538,6 +1556,7 @@ interface GetPricePreviewOptions {
1538
1556
  couponCode?: string | null;
1539
1557
  }
1540
1558
  interface ManagementGetOrderOptions {
1559
+ /** Parameter to define amount of fields to return. FULL returns each order's submission data. Supported values: UNKNOWN_SET, BASIC, FULL */
1541
1560
  fieldSet?: Set;
1542
1561
  }
1543
1562
  interface ManagementListOrdersOptions {
@@ -1633,36 +1652,102 @@ declare global {
1633
1652
  }
1634
1653
  }
1635
1654
 
1655
+ declare function memberGetOrder$1(httpClient: HttpClient): (_id: string, options?: MemberGetOrderOptions) => Promise<Order & OrderNonNullableFields>;
1656
+ declare function memberListOrders$1(httpClient: HttpClient): (options?: MemberListOrdersOptions) => Promise<MemberListOrdersResponse & MemberListOrdersResponseNonNullableFields>;
1657
+ declare function requestCancellation$1(httpClient: HttpClient): (_id: string, effectiveAt: CancellationEffectiveAt) => Promise<void>;
1658
+ declare function createOfflineOrder$1(httpClient: HttpClient): (planId: string, memberId: string, options?: CreateOfflineOrderOptions) => Promise<CreateOfflineOrderResponse & CreateOfflineOrderResponseNonNullableFields>;
1659
+ declare function getOfflineOrderPreview$1(httpClient: HttpClient): (planId: string, memberId: string, options?: GetOfflineOrderPreviewOptions) => Promise<GetOfflineOrderPreviewResponse & GetOfflineOrderPreviewResponseNonNullableFields>;
1660
+ declare function getPricePreview$1(httpClient: HttpClient): (planId: string, options?: GetPricePreviewOptions) => Promise<GetPricePreviewResponse & GetPricePreviewResponseNonNullableFields>;
1661
+ declare function managementGetOrder$1(httpClient: HttpClient): (_id: string, options?: ManagementGetOrderOptions) => Promise<GetOrderResponse & GetOrderResponseNonNullableFields>;
1662
+ declare function managementListOrders$1(httpClient: HttpClient): (options?: ManagementListOrdersOptions) => Promise<ListOrdersResponse & ListOrdersResponseNonNullableFields>;
1663
+ declare function postponeEndDate$1(httpClient: HttpClient): (_id: string, endDate: Date) => Promise<void>;
1664
+ declare function cancelOrder$1(httpClient: HttpClient): (_id: string, effectiveAt: CancellationEffectiveAt) => Promise<void>;
1665
+ declare function markAsPaid$1(httpClient: HttpClient): (_id: string) => Promise<void>;
1666
+ declare function pauseOrder$1(httpClient: HttpClient): (_id: string) => Promise<void>;
1667
+ declare function resumeOrder$1(httpClient: HttpClient): (_id: string) => Promise<void>;
1668
+ declare const onOrderCanceled$1: EventDefinition<OrderCanceledEnvelope, "wix.pricing_plans.v2.order_canceled">;
1669
+ declare const onOrderCreated$1: EventDefinition<OrderCreatedEnvelope, "wix.pricing_plans.v2.order_created">;
1670
+ declare const onOrderUpdated$1: EventDefinition<OrderUpdatedEnvelope, "wix.pricing_plans.v2.order_updated">;
1671
+ declare const onOrderStartDateChanged$1: EventDefinition<OrderStartDateChangedEnvelope, "wix.pricing_plans.v2.order_start_date_changed">;
1672
+ declare const onOrderPurchased$1: EventDefinition<OrderPurchasedEnvelope, "wix.pricing_plans.v2.order_purchased">;
1673
+ declare const onOrderStarted$1: EventDefinition<OrderStartedEnvelope, "wix.pricing_plans.v2.order_started">;
1674
+ declare const onOrderCycleStarted$1: EventDefinition<OrderCycleStartedEnvelope, "wix.pricing_plans.v2.order_cycle_started">;
1675
+ declare const onOrderAutoRenewCanceled$1: EventDefinition<OrderAutoRenewCanceledEnvelope, "wix.pricing_plans.v2.order_auto_renew_canceled">;
1676
+ declare const onOrderEnded$1: EventDefinition<OrderEndedEnvelope, "wix.pricing_plans.v2.order_ended">;
1677
+ declare const onOrderEndDatePostponed$1: EventDefinition<OrderEndDatePostponedEnvelope, "wix.pricing_plans.v2.order_end_date_postponed">;
1678
+ declare const onOrderMarkedAsPaid$1: EventDefinition<OrderMarkedAsPaidEnvelope, "wix.pricing_plans.v2.order_marked_as_paid">;
1679
+ declare const onOrderPaused$1: EventDefinition<OrderPausedEnvelope, "wix.pricing_plans.v2.order_paused">;
1680
+ declare const onOrderResumed$1: EventDefinition<OrderResumedEnvelope, "wix.pricing_plans.v2.order_resumed">;
1681
+
1636
1682
  declare function createRESTModule$1<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
1637
1683
 
1638
1684
  declare function createEventModule$1<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
1639
1685
 
1640
- declare const memberGetOrder: ReturnType<typeof createRESTModule$1<typeof publicMemberGetOrder>>;
1641
- declare const memberListOrders: ReturnType<typeof createRESTModule$1<typeof publicMemberListOrders>>;
1642
- declare const requestCancellation: ReturnType<typeof createRESTModule$1<typeof publicRequestCancellation>>;
1643
- declare const createOfflineOrder: ReturnType<typeof createRESTModule$1<typeof publicCreateOfflineOrder>>;
1644
- declare const getOfflineOrderPreview: ReturnType<typeof createRESTModule$1<typeof publicGetOfflineOrderPreview>>;
1645
- declare const getPricePreview: ReturnType<typeof createRESTModule$1<typeof publicGetPricePreview>>;
1646
- declare const managementGetOrder: ReturnType<typeof createRESTModule$1<typeof publicManagementGetOrder>>;
1647
- declare const managementListOrders: ReturnType<typeof createRESTModule$1<typeof publicManagementListOrders>>;
1648
- declare const postponeEndDate: ReturnType<typeof createRESTModule$1<typeof publicPostponeEndDate>>;
1649
- declare const cancelOrder: ReturnType<typeof createRESTModule$1<typeof publicCancelOrder>>;
1650
- declare const markAsPaid: ReturnType<typeof createRESTModule$1<typeof publicMarkAsPaid>>;
1651
- declare const pauseOrder: ReturnType<typeof createRESTModule$1<typeof publicPauseOrder>>;
1652
- declare const resumeOrder: ReturnType<typeof createRESTModule$1<typeof publicResumeOrder>>;
1653
- declare const onOrderCanceled: ReturnType<typeof createEventModule$1<typeof publicOnOrderCanceled>>;
1654
- declare const onOrderCreated: ReturnType<typeof createEventModule$1<typeof publicOnOrderCreated>>;
1655
- declare const onOrderUpdated: ReturnType<typeof createEventModule$1<typeof publicOnOrderUpdated>>;
1656
- declare const onOrderStartDateChanged: ReturnType<typeof createEventModule$1<typeof publicOnOrderStartDateChanged>>;
1657
- declare const onOrderPurchased: ReturnType<typeof createEventModule$1<typeof publicOnOrderPurchased>>;
1658
- declare const onOrderStarted: ReturnType<typeof createEventModule$1<typeof publicOnOrderStarted>>;
1659
- declare const onOrderCycleStarted: ReturnType<typeof createEventModule$1<typeof publicOnOrderCycleStarted>>;
1660
- declare const onOrderAutoRenewCanceled: ReturnType<typeof createEventModule$1<typeof publicOnOrderAutoRenewCanceled>>;
1661
- declare const onOrderEnded: ReturnType<typeof createEventModule$1<typeof publicOnOrderEnded>>;
1662
- declare const onOrderEndDatePostponed: ReturnType<typeof createEventModule$1<typeof publicOnOrderEndDatePostponed>>;
1663
- declare const onOrderMarkedAsPaid: ReturnType<typeof createEventModule$1<typeof publicOnOrderMarkedAsPaid>>;
1664
- declare const onOrderPaused: ReturnType<typeof createEventModule$1<typeof publicOnOrderPaused>>;
1665
- declare const onOrderResumed: ReturnType<typeof createEventModule$1<typeof publicOnOrderResumed>>;
1686
+ type _publicMemberGetOrderType = typeof memberGetOrder$1;
1687
+ declare const memberGetOrder: ReturnType<typeof createRESTModule$1<_publicMemberGetOrderType>>;
1688
+ type _publicMemberListOrdersType = typeof memberListOrders$1;
1689
+ declare const memberListOrders: ReturnType<typeof createRESTModule$1<_publicMemberListOrdersType>>;
1690
+ type _publicRequestCancellationType = typeof requestCancellation$1;
1691
+ declare const requestCancellation: ReturnType<typeof createRESTModule$1<_publicRequestCancellationType>>;
1692
+ type _publicCreateOfflineOrderType = typeof createOfflineOrder$1;
1693
+ declare const createOfflineOrder: ReturnType<typeof createRESTModule$1<_publicCreateOfflineOrderType>>;
1694
+ type _publicGetOfflineOrderPreviewType = typeof getOfflineOrderPreview$1;
1695
+ declare const getOfflineOrderPreview: ReturnType<typeof createRESTModule$1<_publicGetOfflineOrderPreviewType>>;
1696
+ type _publicGetPricePreviewType = typeof getPricePreview$1;
1697
+ declare const getPricePreview: ReturnType<typeof createRESTModule$1<_publicGetPricePreviewType>>;
1698
+ type _publicManagementGetOrderType = typeof managementGetOrder$1;
1699
+ declare const managementGetOrder: ReturnType<typeof createRESTModule$1<_publicManagementGetOrderType>>;
1700
+ type _publicManagementListOrdersType = typeof managementListOrders$1;
1701
+ declare const managementListOrders: ReturnType<typeof createRESTModule$1<_publicManagementListOrdersType>>;
1702
+ type _publicPostponeEndDateType = typeof postponeEndDate$1;
1703
+ declare const postponeEndDate: ReturnType<typeof createRESTModule$1<_publicPostponeEndDateType>>;
1704
+ type _publicCancelOrderType = typeof cancelOrder$1;
1705
+ declare const cancelOrder: ReturnType<typeof createRESTModule$1<_publicCancelOrderType>>;
1706
+ type _publicMarkAsPaidType = typeof markAsPaid$1;
1707
+ declare const markAsPaid: ReturnType<typeof createRESTModule$1<_publicMarkAsPaidType>>;
1708
+ type _publicPauseOrderType = typeof pauseOrder$1;
1709
+ declare const pauseOrder: ReturnType<typeof createRESTModule$1<_publicPauseOrderType>>;
1710
+ type _publicResumeOrderType = typeof resumeOrder$1;
1711
+ declare const resumeOrder: ReturnType<typeof createRESTModule$1<_publicResumeOrderType>>;
1712
+
1713
+ type _publicOnOrderCanceledType = typeof onOrderCanceled$1;
1714
+ declare const onOrderCanceled: ReturnType<typeof createEventModule$1<_publicOnOrderCanceledType>>;
1715
+
1716
+ type _publicOnOrderCreatedType = typeof onOrderCreated$1;
1717
+ declare const onOrderCreated: ReturnType<typeof createEventModule$1<_publicOnOrderCreatedType>>;
1718
+
1719
+ type _publicOnOrderUpdatedType = typeof onOrderUpdated$1;
1720
+ declare const onOrderUpdated: ReturnType<typeof createEventModule$1<_publicOnOrderUpdatedType>>;
1721
+
1722
+ type _publicOnOrderStartDateChangedType = typeof onOrderStartDateChanged$1;
1723
+ declare const onOrderStartDateChanged: ReturnType<typeof createEventModule$1<_publicOnOrderStartDateChangedType>>;
1724
+
1725
+ type _publicOnOrderPurchasedType = typeof onOrderPurchased$1;
1726
+ declare const onOrderPurchased: ReturnType<typeof createEventModule$1<_publicOnOrderPurchasedType>>;
1727
+
1728
+ type _publicOnOrderStartedType = typeof onOrderStarted$1;
1729
+ declare const onOrderStarted: ReturnType<typeof createEventModule$1<_publicOnOrderStartedType>>;
1730
+
1731
+ type _publicOnOrderCycleStartedType = typeof onOrderCycleStarted$1;
1732
+ declare const onOrderCycleStarted: ReturnType<typeof createEventModule$1<_publicOnOrderCycleStartedType>>;
1733
+
1734
+ type _publicOnOrderAutoRenewCanceledType = typeof onOrderAutoRenewCanceled$1;
1735
+ declare const onOrderAutoRenewCanceled: ReturnType<typeof createEventModule$1<_publicOnOrderAutoRenewCanceledType>>;
1736
+
1737
+ type _publicOnOrderEndedType = typeof onOrderEnded$1;
1738
+ declare const onOrderEnded: ReturnType<typeof createEventModule$1<_publicOnOrderEndedType>>;
1739
+
1740
+ type _publicOnOrderEndDatePostponedType = typeof onOrderEndDatePostponed$1;
1741
+ declare const onOrderEndDatePostponed: ReturnType<typeof createEventModule$1<_publicOnOrderEndDatePostponedType>>;
1742
+
1743
+ type _publicOnOrderMarkedAsPaidType = typeof onOrderMarkedAsPaid$1;
1744
+ declare const onOrderMarkedAsPaid: ReturnType<typeof createEventModule$1<_publicOnOrderMarkedAsPaidType>>;
1745
+
1746
+ type _publicOnOrderPausedType = typeof onOrderPaused$1;
1747
+ declare const onOrderPaused: ReturnType<typeof createEventModule$1<_publicOnOrderPausedType>>;
1748
+
1749
+ type _publicOnOrderResumedType = typeof onOrderResumed$1;
1750
+ declare const onOrderResumed: ReturnType<typeof createEventModule$1<_publicOnOrderResumedType>>;
1666
1751
 
1667
1752
  type index_d$1_ApplyCouponRequest = ApplyCouponRequest;
1668
1753
  type index_d$1_ApplyCouponResponse = ApplyCouponResponse;
@@ -1799,6 +1884,32 @@ type index_d$1_SpannedPrice = SpannedPrice;
1799
1884
  type index_d$1_Status = Status;
1800
1885
  declare const index_d$1_Status: typeof Status;
1801
1886
  type index_d$1_Tax = Tax;
1887
+ type index_d$1__publicCancelOrderType = _publicCancelOrderType;
1888
+ type index_d$1__publicCreateOfflineOrderType = _publicCreateOfflineOrderType;
1889
+ type index_d$1__publicGetOfflineOrderPreviewType = _publicGetOfflineOrderPreviewType;
1890
+ type index_d$1__publicGetPricePreviewType = _publicGetPricePreviewType;
1891
+ type index_d$1__publicManagementGetOrderType = _publicManagementGetOrderType;
1892
+ type index_d$1__publicManagementListOrdersType = _publicManagementListOrdersType;
1893
+ type index_d$1__publicMarkAsPaidType = _publicMarkAsPaidType;
1894
+ type index_d$1__publicMemberGetOrderType = _publicMemberGetOrderType;
1895
+ type index_d$1__publicMemberListOrdersType = _publicMemberListOrdersType;
1896
+ type index_d$1__publicOnOrderAutoRenewCanceledType = _publicOnOrderAutoRenewCanceledType;
1897
+ type index_d$1__publicOnOrderCanceledType = _publicOnOrderCanceledType;
1898
+ type index_d$1__publicOnOrderCreatedType = _publicOnOrderCreatedType;
1899
+ type index_d$1__publicOnOrderCycleStartedType = _publicOnOrderCycleStartedType;
1900
+ type index_d$1__publicOnOrderEndDatePostponedType = _publicOnOrderEndDatePostponedType;
1901
+ type index_d$1__publicOnOrderEndedType = _publicOnOrderEndedType;
1902
+ type index_d$1__publicOnOrderMarkedAsPaidType = _publicOnOrderMarkedAsPaidType;
1903
+ type index_d$1__publicOnOrderPausedType = _publicOnOrderPausedType;
1904
+ type index_d$1__publicOnOrderPurchasedType = _publicOnOrderPurchasedType;
1905
+ type index_d$1__publicOnOrderResumedType = _publicOnOrderResumedType;
1906
+ type index_d$1__publicOnOrderStartDateChangedType = _publicOnOrderStartDateChangedType;
1907
+ type index_d$1__publicOnOrderStartedType = _publicOnOrderStartedType;
1908
+ type index_d$1__publicOnOrderUpdatedType = _publicOnOrderUpdatedType;
1909
+ type index_d$1__publicPauseOrderType = _publicPauseOrderType;
1910
+ type index_d$1__publicPostponeEndDateType = _publicPostponeEndDateType;
1911
+ type index_d$1__publicRequestCancellationType = _publicRequestCancellationType;
1912
+ type index_d$1__publicResumeOrderType = _publicResumeOrderType;
1802
1913
  declare const index_d$1_cancelOrder: typeof cancelOrder;
1803
1914
  declare const index_d$1_createOfflineOrder: typeof createOfflineOrder;
1804
1915
  declare const index_d$1_getOfflineOrderPreview: typeof getOfflineOrderPreview;
@@ -1826,7 +1937,7 @@ declare const index_d$1_postponeEndDate: typeof postponeEndDate;
1826
1937
  declare const index_d$1_requestCancellation: typeof requestCancellation;
1827
1938
  declare const index_d$1_resumeOrder: typeof resumeOrder;
1828
1939
  declare namespace index_d$1 {
1829
- 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 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, 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, index_d$1_requestCancellation as requestCancellation, index_d$1_resumeOrder as resumeOrder };
1940
+ 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__publicCancelOrderType as _publicCancelOrderType, type index_d$1__publicCreateOfflineOrderType as _publicCreateOfflineOrderType, type index_d$1__publicGetOfflineOrderPreviewType as _publicGetOfflineOrderPreviewType, type index_d$1__publicGetPricePreviewType as _publicGetPricePreviewType, type index_d$1__publicManagementGetOrderType as _publicManagementGetOrderType, type index_d$1__publicManagementListOrdersType as _publicManagementListOrdersType, type index_d$1__publicMarkAsPaidType as _publicMarkAsPaidType, type index_d$1__publicMemberGetOrderType as _publicMemberGetOrderType, type index_d$1__publicMemberListOrdersType as _publicMemberListOrdersType, 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, type index_d$1__publicPauseOrderType as _publicPauseOrderType, type index_d$1__publicPostponeEndDateType as _publicPostponeEndDateType, type index_d$1__publicRequestCancellationType as _publicRequestCancellationType, type index_d$1__publicResumeOrderType as _publicResumeOrderType, 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 };
1830
1941
  }
1831
1942
 
1832
1943
  /** Information about the pricing plan. */
@@ -1973,6 +2084,7 @@ interface Money {
1973
2084
  currency?: string;
1974
2085
  }
1975
2086
  interface FeeConfig {
2087
+ /** Fee configuration. */
1976
2088
  fee?: Fee;
1977
2089
  /** The time this fee will be charged */
1978
2090
  appliedAt?: AppliedAt;
@@ -2060,6 +2172,7 @@ interface Cursors {
2060
2172
  prev?: string | null;
2061
2173
  }
2062
2174
  interface QueryPublicPlansRequest {
2175
+ /** Query */
2063
2176
  query?: QueryV2;
2064
2177
  }
2065
2178
  interface QueryV2 {
@@ -2174,6 +2287,7 @@ interface UpdatePlanResponse {
2174
2287
  plan?: Plan;
2175
2288
  }
2176
2289
  interface BuyerCanCancelUpdated {
2290
+ /** Pricing plan. */
2177
2291
  plan?: Plan;
2178
2292
  }
2179
2293
  interface SetPlanVisibilityRequest {
@@ -2206,6 +2320,7 @@ interface ArchivePlanResponse {
2206
2320
  plan?: Plan;
2207
2321
  }
2208
2322
  interface PlanArchived {
2323
+ /** Pricing plan. */
2209
2324
  plan?: Plan;
2210
2325
  }
2211
2326
  interface BulkArchivePlanRequest {
@@ -2215,11 +2330,15 @@ interface BulkArchivePlanRequest {
2215
2330
  returnFullEntity?: boolean;
2216
2331
  }
2217
2332
  interface BulkArchivePlanResponse {
2333
+ /** Plans to be archived. */
2218
2334
  results?: BulkPlanResult[];
2335
+ /** Bulk action metadata. */
2219
2336
  bulkActionMetadata?: BulkActionMetadata;
2220
2337
  }
2221
2338
  interface BulkPlanResult {
2339
+ /** Item metadata. */
2222
2340
  itemMetadata?: ItemMetadata;
2341
+ /** Pricing plan. */
2223
2342
  plan?: Plan;
2224
2343
  }
2225
2344
  interface ItemMetadata {
@@ -2254,6 +2373,34 @@ interface ArrangePlansRequest {
2254
2373
  }
2255
2374
  interface ArrangePlansResponse {
2256
2375
  }
2376
+ interface CountPlansRequest {
2377
+ /** The filter. */
2378
+ filter?: Record<string, any> | null;
2379
+ /** If true, will count only visible plans (visible and not archived). If no value is given all site's plans will be counted. */
2380
+ visibility?: boolean | null;
2381
+ }
2382
+ interface CountPlansResponse {
2383
+ /** Number of plans in the response. */
2384
+ count?: number;
2385
+ }
2386
+ interface GetPlansPremiumStatusRequest {
2387
+ }
2388
+ interface GetPlansPremiumStatusResponse {
2389
+ /** True if site has non-free, non-template plans. */
2390
+ hasPaidPlans?: boolean;
2391
+ /** True if site has plans that were created before Pricing Plans became a premium app. */
2392
+ hasOldPlans?: boolean;
2393
+ }
2394
+ interface QueryPlansRequest {
2395
+ /** Query */
2396
+ query?: QueryV2;
2397
+ }
2398
+ interface QueryPlansResponse {
2399
+ /** List of pricing plans that match the specified query. */
2400
+ plans?: Plan[];
2401
+ /** Object containing paging-related data (number of plans returned, offset). */
2402
+ pagingMetadata?: PagingMetadataV2;
2403
+ }
2257
2404
  interface DomainEvent extends DomainEventBodyOneOf {
2258
2405
  createdEvent?: EntityCreatedEvent;
2259
2406
  updatedEvent?: EntityUpdatedEvent;
@@ -2277,7 +2424,7 @@ interface DomainEvent extends DomainEventBodyOneOf {
2277
2424
  slug?: string;
2278
2425
  /** ID of the entity associated with the event. */
2279
2426
  entityId?: string;
2280
- /** Event timestamp. */
2427
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
2281
2428
  eventTime?: Date;
2282
2429
  /**
2283
2430
  * Whether the event was triggered as a result of a privacy regulation application
@@ -2306,6 +2453,9 @@ interface DomainEventBodyOneOf {
2306
2453
  interface EntityCreatedEvent {
2307
2454
  entity?: string;
2308
2455
  }
2456
+ interface RestoreInfo {
2457
+ deletedDate?: Date;
2458
+ }
2309
2459
  interface EntityUpdatedEvent {
2310
2460
  /**
2311
2461
  * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
@@ -2459,7 +2609,7 @@ interface EventMetadata extends BaseEventMetadata {
2459
2609
  slug?: string;
2460
2610
  /** ID of the entity associated with the event. */
2461
2611
  entityId?: string;
2462
- /** Event timestamp. */
2612
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
2463
2613
  eventTime?: Date;
2464
2614
  /**
2465
2615
  * Whether the event was triggered as a result of a privacy regulation application
@@ -2510,65 +2660,9 @@ interface ListPublicPlansOptions {
2510
2660
  /** IDs of public plans to list. If non-existent IDs are specified, they are ignored and don't cause errors. If no IDs are specified, all public are listed according to the [order](#arrangeplans) displayed in the Dashboard. You can pass a maximum of 100 IDs. */
2511
2661
  planIds?: string[];
2512
2662
  }
2513
- interface QueryOffsetResult {
2514
- currentPage: number | undefined;
2515
- totalPages: number | undefined;
2516
- totalCount: number | undefined;
2517
- hasNext: () => boolean;
2518
- hasPrev: () => boolean;
2519
- length: number;
2520
- pageSize: number;
2521
- }
2522
- interface PlansQueryResult extends QueryOffsetResult {
2523
- items: PublicPlan[];
2524
- query: PlansQueryBuilder;
2525
- next: () => Promise<PlansQueryResult>;
2526
- prev: () => Promise<PlansQueryResult>;
2527
- }
2528
- interface PlansQueryBuilder {
2529
- /** @param propertyName - Property whose value is compared with `value`.
2530
- * @param value - Value to compare against.
2531
- */
2532
- eq: (propertyName: '_id' | 'primary' | '_createdDate' | '_updatedDate' | 'slug', value: any) => PlansQueryBuilder;
2533
- /** @param propertyName - Property whose value is compared with `value`.
2534
- * @param value - Value to compare against.
2535
- */
2536
- ne: (propertyName: '_id' | 'primary' | '_createdDate' | '_updatedDate' | 'slug', value: any) => PlansQueryBuilder;
2537
- /** @param propertyName - Property whose value is compared with `value`.
2538
- * @param value - Value to compare against.
2539
- */
2540
- ge: (propertyName: '_createdDate' | '_updatedDate', value: any) => PlansQueryBuilder;
2541
- /** @param propertyName - Property whose value is compared with `value`.
2542
- * @param value - Value to compare against.
2543
- */
2544
- gt: (propertyName: '_createdDate' | '_updatedDate', value: any) => PlansQueryBuilder;
2545
- /** @param propertyName - Property whose value is compared with `value`.
2546
- * @param value - Value to compare against.
2547
- */
2548
- le: (propertyName: '_createdDate' | '_updatedDate', value: any) => PlansQueryBuilder;
2549
- /** @param propertyName - Property whose value is compared with `value`.
2550
- * @param value - Value to compare against.
2551
- */
2552
- lt: (propertyName: '_createdDate' | '_updatedDate', value: any) => PlansQueryBuilder;
2553
- /** @param propertyName - Property whose value is compared with `string`.
2554
- * @param string - String to compare against. Case-insensitive.
2555
- */
2556
- startsWith: (propertyName: '_id' | 'slug', value: string) => PlansQueryBuilder;
2557
- /** @param propertyName - Property whose value is compared with `values`.
2558
- * @param values - List of values to compare against.
2559
- */
2560
- hasSome: (propertyName: '_id' | 'primary' | '_createdDate' | '_updatedDate' | 'slug', value: any[]) => PlansQueryBuilder;
2561
- in: (propertyName: '_id' | 'primary' | '_createdDate' | '_updatedDate' | 'slug', value: any) => PlansQueryBuilder;
2562
- exists: (propertyName: '_id' | 'primary' | '_createdDate' | '_updatedDate' | 'slug', value: boolean) => PlansQueryBuilder;
2563
- /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments. */
2564
- ascending: (...propertyNames: Array<'_id' | 'primary' | '_createdDate' | '_updatedDate' | 'slug'>) => PlansQueryBuilder;
2565
- /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments. */
2566
- descending: (...propertyNames: Array<'_id' | 'primary' | '_createdDate' | '_updatedDate' | 'slug'>) => PlansQueryBuilder;
2567
- /** @param limit - Number of items to return, which is also the `pageSize` of the results object. */
2568
- limit: (limit: number) => PlansQueryBuilder;
2569
- /** @param skip - Number of items to skip in the query results before returning the results. */
2570
- skip: (skip: number) => PlansQueryBuilder;
2571
- find: () => Promise<PlansQueryResult>;
2663
+ interface QueryPublicPlansOptions {
2664
+ /** Query */
2665
+ query?: QueryV2;
2572
2666
  }
2573
2667
  interface ListPlansOptions {
2574
2668
  /**
@@ -2677,26 +2771,63 @@ interface UpdatePlan {
2677
2771
  formId?: string | null;
2678
2772
  }
2679
2773
 
2774
+ declare function listPublicPlans$1(httpClient: HttpClient): (options?: ListPublicPlansOptions) => Promise<ListPublicPlansResponse & ListPublicPlansResponseNonNullableFields>;
2775
+ declare function queryPublicPlans$1(httpClient: HttpClient): (options?: QueryPublicPlansOptions) => Promise<QueryPublicPlansResponse & QueryPublicPlansResponseNonNullableFields>;
2776
+ declare function getPlan$1(httpClient: HttpClient): (_id: string) => Promise<Plan & PlanNonNullableFields>;
2777
+ declare function listPlans$1(httpClient: HttpClient): (options?: ListPlansOptions) => Promise<ListPlansResponse & ListPlansResponseNonNullableFields>;
2778
+ declare function getPlanStats$1(httpClient: HttpClient): () => Promise<GetPlanStatsResponse & GetPlanStatsResponseNonNullableFields>;
2779
+ declare function createPlan$1(httpClient: HttpClient): (plan: Plan) => Promise<Plan & PlanNonNullableFields>;
2780
+ declare function updatePlan$1(httpClient: HttpClient): (_id: string, plan: UpdatePlan) => Promise<Plan & PlanNonNullableFields>;
2781
+ declare function setPlanVisibility$1(httpClient: HttpClient): (_id: string, visible: boolean) => Promise<SetPlanVisibilityResponse & SetPlanVisibilityResponseNonNullableFields>;
2782
+ declare function makePlanPrimary$1(httpClient: HttpClient): (_id: string) => Promise<MakePlanPrimaryResponse & MakePlanPrimaryResponseNonNullableFields>;
2783
+ declare function clearPrimary$1(httpClient: HttpClient): () => Promise<void>;
2784
+ declare function archivePlan$1(httpClient: HttpClient): (_id: string) => Promise<ArchivePlanResponse & ArchivePlanResponseNonNullableFields>;
2785
+ declare function arrangePlans$1(httpClient: HttpClient): (ids: string[]) => Promise<void>;
2786
+ declare const onPlanUpdated$1: EventDefinition<PlanUpdatedEnvelope, "wix.pricing_plans.plan_updated">;
2787
+ declare const onPlanCreated$1: EventDefinition<PlanCreatedEnvelope, "wix.pricing_plans.plan_created">;
2788
+ declare const onPlanBuyerCanCancelUpdated$1: EventDefinition<PlanBuyerCanCancelUpdatedEnvelope, "wix.pricing_plans.plan_buyer_can_cancel_updated">;
2789
+ declare const onPlanArchived$1: EventDefinition<PlanArchivedEnvelope, "wix.pricing_plans.plan_plan_archived">;
2790
+
2680
2791
  declare function createRESTModule<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
2681
2792
 
2682
2793
  declare function createEventModule<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
2683
2794
 
2684
- declare const listPublicPlans: ReturnType<typeof createRESTModule<typeof publicListPublicPlans>>;
2685
- declare const queryPublicPlans: ReturnType<typeof createRESTModule<typeof publicQueryPublicPlans>>;
2686
- declare const getPlan: ReturnType<typeof createRESTModule<typeof publicGetPlan>>;
2687
- declare const listPlans: ReturnType<typeof createRESTModule<typeof publicListPlans>>;
2688
- declare const getPlanStats: ReturnType<typeof createRESTModule<typeof publicGetPlanStats>>;
2689
- declare const createPlan: ReturnType<typeof createRESTModule<typeof publicCreatePlan>>;
2690
- declare const updatePlan: ReturnType<typeof createRESTModule<typeof publicUpdatePlan>>;
2691
- declare const setPlanVisibility: ReturnType<typeof createRESTModule<typeof publicSetPlanVisibility>>;
2692
- declare const makePlanPrimary: ReturnType<typeof createRESTModule<typeof publicMakePlanPrimary>>;
2693
- declare const clearPrimary: ReturnType<typeof createRESTModule<typeof publicClearPrimary>>;
2694
- declare const archivePlan: ReturnType<typeof createRESTModule<typeof publicArchivePlan>>;
2695
- declare const arrangePlans: ReturnType<typeof createRESTModule<typeof publicArrangePlans>>;
2696
- declare const onPlanUpdated: ReturnType<typeof createEventModule<typeof publicOnPlanUpdated>>;
2697
- declare const onPlanCreated: ReturnType<typeof createEventModule<typeof publicOnPlanCreated>>;
2698
- declare const onPlanBuyerCanCancelUpdated: ReturnType<typeof createEventModule<typeof publicOnPlanBuyerCanCancelUpdated>>;
2699
- declare const onPlanArchived: ReturnType<typeof createEventModule<typeof publicOnPlanArchived>>;
2795
+ type _publicListPublicPlansType = typeof listPublicPlans$1;
2796
+ declare const listPublicPlans: ReturnType<typeof createRESTModule<_publicListPublicPlansType>>;
2797
+ type _publicQueryPublicPlansType = typeof queryPublicPlans$1;
2798
+ declare const queryPublicPlans: ReturnType<typeof createRESTModule<_publicQueryPublicPlansType>>;
2799
+ type _publicGetPlanType = typeof getPlan$1;
2800
+ declare const getPlan: ReturnType<typeof createRESTModule<_publicGetPlanType>>;
2801
+ type _publicListPlansType = typeof listPlans$1;
2802
+ declare const listPlans: ReturnType<typeof createRESTModule<_publicListPlansType>>;
2803
+ type _publicGetPlanStatsType = typeof getPlanStats$1;
2804
+ declare const getPlanStats: ReturnType<typeof createRESTModule<_publicGetPlanStatsType>>;
2805
+ type _publicCreatePlanType = typeof createPlan$1;
2806
+ declare const createPlan: ReturnType<typeof createRESTModule<_publicCreatePlanType>>;
2807
+ type _publicUpdatePlanType = typeof updatePlan$1;
2808
+ declare const updatePlan: ReturnType<typeof createRESTModule<_publicUpdatePlanType>>;
2809
+ type _publicSetPlanVisibilityType = typeof setPlanVisibility$1;
2810
+ declare const setPlanVisibility: ReturnType<typeof createRESTModule<_publicSetPlanVisibilityType>>;
2811
+ type _publicMakePlanPrimaryType = typeof makePlanPrimary$1;
2812
+ declare const makePlanPrimary: ReturnType<typeof createRESTModule<_publicMakePlanPrimaryType>>;
2813
+ type _publicClearPrimaryType = typeof clearPrimary$1;
2814
+ declare const clearPrimary: ReturnType<typeof createRESTModule<_publicClearPrimaryType>>;
2815
+ type _publicArchivePlanType = typeof archivePlan$1;
2816
+ declare const archivePlan: ReturnType<typeof createRESTModule<_publicArchivePlanType>>;
2817
+ type _publicArrangePlansType = typeof arrangePlans$1;
2818
+ declare const arrangePlans: ReturnType<typeof createRESTModule<_publicArrangePlansType>>;
2819
+
2820
+ type _publicOnPlanUpdatedType = typeof onPlanUpdated$1;
2821
+ declare const onPlanUpdated: ReturnType<typeof createEventModule<_publicOnPlanUpdatedType>>;
2822
+
2823
+ type _publicOnPlanCreatedType = typeof onPlanCreated$1;
2824
+ declare const onPlanCreated: ReturnType<typeof createEventModule<_publicOnPlanCreatedType>>;
2825
+
2826
+ type _publicOnPlanBuyerCanCancelUpdatedType = typeof onPlanBuyerCanCancelUpdated$1;
2827
+ declare const onPlanBuyerCanCancelUpdated: ReturnType<typeof createEventModule<_publicOnPlanBuyerCanCancelUpdatedType>>;
2828
+
2829
+ type _publicOnPlanArchivedType = typeof onPlanArchived$1;
2830
+ declare const onPlanArchived: ReturnType<typeof createEventModule<_publicOnPlanArchivedType>>;
2700
2831
 
2701
2832
  type index_d_ActionEvent = ActionEvent;
2702
2833
  type index_d_ApplicationError = ApplicationError;
@@ -2717,6 +2848,8 @@ type index_d_BulkPlanResult = BulkPlanResult;
2717
2848
  type index_d_BuyerCanCancelUpdated = BuyerCanCancelUpdated;
2718
2849
  type index_d_ClearPrimaryRequest = ClearPrimaryRequest;
2719
2850
  type index_d_ClearPrimaryResponse = ClearPrimaryResponse;
2851
+ type index_d_CountPlansRequest = CountPlansRequest;
2852
+ type index_d_CountPlansResponse = CountPlansResponse;
2720
2853
  type index_d_CreatePlanRequest = CreatePlanRequest;
2721
2854
  type index_d_CreatePlanResponse = CreatePlanResponse;
2722
2855
  type index_d_CreatePlanResponseNonNullableFields = CreatePlanResponseNonNullableFields;
@@ -2736,6 +2869,8 @@ type index_d_GetPlanResponseNonNullableFields = GetPlanResponseNonNullableFields
2736
2869
  type index_d_GetPlanStatsRequest = GetPlanStatsRequest;
2737
2870
  type index_d_GetPlanStatsResponse = GetPlanStatsResponse;
2738
2871
  type index_d_GetPlanStatsResponseNonNullableFields = GetPlanStatsResponseNonNullableFields;
2872
+ type index_d_GetPlansPremiumStatusRequest = GetPlansPremiumStatusRequest;
2873
+ type index_d_GetPlansPremiumStatusResponse = GetPlansPremiumStatusResponse;
2739
2874
  type index_d_IdentificationData = IdentificationData;
2740
2875
  type index_d_IdentificationDataIdOneOf = IdentificationDataIdOneOf;
2741
2876
  type index_d_ItemMetadata = ItemMetadata;
@@ -2763,18 +2898,20 @@ type index_d_PlanBuyerCanCancelUpdatedEnvelope = PlanBuyerCanCancelUpdatedEnvelo
2763
2898
  type index_d_PlanCreatedEnvelope = PlanCreatedEnvelope;
2764
2899
  type index_d_PlanNonNullableFields = PlanNonNullableFields;
2765
2900
  type index_d_PlanUpdatedEnvelope = PlanUpdatedEnvelope;
2766
- type index_d_PlansQueryBuilder = PlansQueryBuilder;
2767
- type index_d_PlansQueryResult = PlansQueryResult;
2768
2901
  type index_d_Pricing = Pricing;
2769
2902
  type index_d_PricingPricingModelOneOf = PricingPricingModelOneOf;
2770
2903
  type index_d_PublicFilter = PublicFilter;
2771
2904
  declare const index_d_PublicFilter: typeof PublicFilter;
2772
2905
  type index_d_PublicPlan = PublicPlan;
2906
+ type index_d_QueryPlansRequest = QueryPlansRequest;
2907
+ type index_d_QueryPlansResponse = QueryPlansResponse;
2908
+ type index_d_QueryPublicPlansOptions = QueryPublicPlansOptions;
2773
2909
  type index_d_QueryPublicPlansRequest = QueryPublicPlansRequest;
2774
2910
  type index_d_QueryPublicPlansResponse = QueryPublicPlansResponse;
2775
2911
  type index_d_QueryPublicPlansResponseNonNullableFields = QueryPublicPlansResponseNonNullableFields;
2776
2912
  type index_d_QueryV2 = QueryV2;
2777
2913
  type index_d_Recurrence = Recurrence;
2914
+ type index_d_RestoreInfo = RestoreInfo;
2778
2915
  type index_d_SetPlanVisibilityRequest = SetPlanVisibilityRequest;
2779
2916
  type index_d_SetPlanVisibilityResponse = SetPlanVisibilityResponse;
2780
2917
  type index_d_SetPlanVisibilityResponseNonNullableFields = SetPlanVisibilityResponseNonNullableFields;
@@ -2788,6 +2925,22 @@ type index_d_UpdatePlanResponse = UpdatePlanResponse;
2788
2925
  type index_d_UpdatePlanResponseNonNullableFields = UpdatePlanResponseNonNullableFields;
2789
2926
  type index_d_WebhookIdentityType = WebhookIdentityType;
2790
2927
  declare const index_d_WebhookIdentityType: typeof WebhookIdentityType;
2928
+ type index_d__publicArchivePlanType = _publicArchivePlanType;
2929
+ type index_d__publicArrangePlansType = _publicArrangePlansType;
2930
+ type index_d__publicClearPrimaryType = _publicClearPrimaryType;
2931
+ type index_d__publicCreatePlanType = _publicCreatePlanType;
2932
+ type index_d__publicGetPlanStatsType = _publicGetPlanStatsType;
2933
+ type index_d__publicGetPlanType = _publicGetPlanType;
2934
+ type index_d__publicListPlansType = _publicListPlansType;
2935
+ type index_d__publicListPublicPlansType = _publicListPublicPlansType;
2936
+ type index_d__publicMakePlanPrimaryType = _publicMakePlanPrimaryType;
2937
+ type index_d__publicOnPlanArchivedType = _publicOnPlanArchivedType;
2938
+ type index_d__publicOnPlanBuyerCanCancelUpdatedType = _publicOnPlanBuyerCanCancelUpdatedType;
2939
+ type index_d__publicOnPlanCreatedType = _publicOnPlanCreatedType;
2940
+ type index_d__publicOnPlanUpdatedType = _publicOnPlanUpdatedType;
2941
+ type index_d__publicQueryPublicPlansType = _publicQueryPublicPlansType;
2942
+ type index_d__publicSetPlanVisibilityType = _publicSetPlanVisibilityType;
2943
+ type index_d__publicUpdatePlanType = _publicUpdatePlanType;
2791
2944
  declare const index_d_archivePlan: typeof archivePlan;
2792
2945
  declare const index_d_arrangePlans: typeof arrangePlans;
2793
2946
  declare const index_d_clearPrimary: typeof clearPrimary;
@@ -2805,7 +2958,7 @@ declare const index_d_queryPublicPlans: typeof queryPublicPlans;
2805
2958
  declare const index_d_setPlanVisibility: typeof setPlanVisibility;
2806
2959
  declare const index_d_updatePlan: typeof updatePlan;
2807
2960
  declare namespace index_d {
2808
- export { type index_d_ActionEvent as ActionEvent, type index_d_ApplicationError as ApplicationError, index_d_AppliedAt as AppliedAt, type index_d_ArchivePlanRequest as ArchivePlanRequest, type index_d_ArchivePlanResponse as ArchivePlanResponse, type index_d_ArchivePlanResponseNonNullableFields as ArchivePlanResponseNonNullableFields, index_d_ArchivedFilter as ArchivedFilter, type index_d_ArrangePlansRequest as ArrangePlansRequest, type index_d_ArrangePlansResponse as ArrangePlansResponse, type index_d_BaseEventMetadata as BaseEventMetadata, type index_d_BulkActionMetadata as BulkActionMetadata, type index_d_BulkArchivePlanRequest as BulkArchivePlanRequest, type index_d_BulkArchivePlanResponse as BulkArchivePlanResponse, type index_d_BulkPlanResult as BulkPlanResult, type index_d_BuyerCanCancelUpdated as BuyerCanCancelUpdated, type index_d_ClearPrimaryRequest as ClearPrimaryRequest, type index_d_ClearPrimaryResponse as ClearPrimaryResponse, type index_d_CreatePlanRequest as CreatePlanRequest, type index_d_CreatePlanResponse as CreatePlanResponse, type index_d_CreatePlanResponseNonNullableFields as CreatePlanResponseNonNullableFields, type index_d_Cursors as Cursors, type index_d_DomainEvent as DomainEvent, type index_d_DomainEventBodyOneOf as DomainEventBodyOneOf, type index_d_Duration as Duration, type index_d_EntityCreatedEvent as EntityCreatedEvent, type index_d_EntityDeletedEvent as EntityDeletedEvent, type index_d_EntityUpdatedEvent as EntityUpdatedEvent, type index_d_EventMetadata as EventMetadata, type index_d_Fee as Fee, type index_d_FeeConfig as FeeConfig, type index_d_GetPlanRequest as GetPlanRequest, type index_d_GetPlanResponse as GetPlanResponse, type index_d_GetPlanResponseNonNullableFields as GetPlanResponseNonNullableFields, type index_d_GetPlanStatsRequest as GetPlanStatsRequest, type index_d_GetPlanStatsResponse as GetPlanStatsResponse, type index_d_GetPlanStatsResponseNonNullableFields as GetPlanStatsResponseNonNullableFields, type index_d_IdentificationData as IdentificationData, type index_d_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type index_d_ItemMetadata as ItemMetadata, type index_d_ListPlansOptions as ListPlansOptions, type index_d_ListPlansRequest as ListPlansRequest, type index_d_ListPlansResponse as ListPlansResponse, type index_d_ListPlansResponseNonNullableFields as ListPlansResponseNonNullableFields, type index_d_ListPublicPlansOptions as ListPublicPlansOptions, type index_d_ListPublicPlansRequest as ListPublicPlansRequest, type index_d_ListPublicPlansResponse as ListPublicPlansResponse, type index_d_ListPublicPlansResponseNonNullableFields as ListPublicPlansResponseNonNullableFields, type index_d_MakePlanPrimaryRequest as MakePlanPrimaryRequest, type index_d_MakePlanPrimaryResponse as MakePlanPrimaryResponse, type index_d_MakePlanPrimaryResponseNonNullableFields as MakePlanPrimaryResponseNonNullableFields, type index_d_MessageEnvelope as MessageEnvelope, type index_d_Money as Money, type index_d_Paging as Paging, type index_d_PagingMetadataV2 as PagingMetadataV2, index_d_PeriodUnit as PeriodUnit, type index_d_Plan as Plan, type index_d_PlanArchived as PlanArchived, type index_d_PlanArchivedEnvelope as PlanArchivedEnvelope, type index_d_PlanBuyerCanCancelUpdatedEnvelope as PlanBuyerCanCancelUpdatedEnvelope, type index_d_PlanCreatedEnvelope as PlanCreatedEnvelope, type index_d_PlanNonNullableFields as PlanNonNullableFields, type index_d_PlanUpdatedEnvelope as PlanUpdatedEnvelope, type index_d_PlansQueryBuilder as PlansQueryBuilder, type index_d_PlansQueryResult as PlansQueryResult, type index_d_Pricing as Pricing, type index_d_PricingPricingModelOneOf as PricingPricingModelOneOf, index_d_PublicFilter as PublicFilter, type index_d_PublicPlan as PublicPlan, type index_d_QueryPublicPlansRequest as QueryPublicPlansRequest, type index_d_QueryPublicPlansResponse as QueryPublicPlansResponse, type index_d_QueryPublicPlansResponseNonNullableFields as QueryPublicPlansResponseNonNullableFields, type index_d_QueryV2 as QueryV2, type index_d_Recurrence as Recurrence, type index_d_SetPlanVisibilityRequest as SetPlanVisibilityRequest, type index_d_SetPlanVisibilityResponse as SetPlanVisibilityResponse, type index_d_SetPlanVisibilityResponseNonNullableFields as SetPlanVisibilityResponseNonNullableFields, index_d_SortOrder as SortOrder, type index_d_Sorting as Sorting, type index_d_StringList as StringList, type index_d_UpdatePlan as UpdatePlan, type index_d_UpdatePlanRequest as UpdatePlanRequest, type index_d_UpdatePlanResponse as UpdatePlanResponse, type index_d_UpdatePlanResponseNonNullableFields as UpdatePlanResponseNonNullableFields, index_d_WebhookIdentityType as WebhookIdentityType, index_d_archivePlan as archivePlan, index_d_arrangePlans as arrangePlans, index_d_clearPrimary as clearPrimary, index_d_createPlan as createPlan, index_d_getPlan as getPlan, index_d_getPlanStats as getPlanStats, index_d_listPlans as listPlans, index_d_listPublicPlans as listPublicPlans, index_d_makePlanPrimary as makePlanPrimary, index_d_onPlanArchived as onPlanArchived, index_d_onPlanBuyerCanCancelUpdated as onPlanBuyerCanCancelUpdated, index_d_onPlanCreated as onPlanCreated, index_d_onPlanUpdated as onPlanUpdated, index_d_queryPublicPlans as queryPublicPlans, index_d_setPlanVisibility as setPlanVisibility, index_d_updatePlan as updatePlan };
2961
+ export { type index_d_ActionEvent as ActionEvent, type index_d_ApplicationError as ApplicationError, index_d_AppliedAt as AppliedAt, type index_d_ArchivePlanRequest as ArchivePlanRequest, type index_d_ArchivePlanResponse as ArchivePlanResponse, type index_d_ArchivePlanResponseNonNullableFields as ArchivePlanResponseNonNullableFields, index_d_ArchivedFilter as ArchivedFilter, type index_d_ArrangePlansRequest as ArrangePlansRequest, type index_d_ArrangePlansResponse as ArrangePlansResponse, type index_d_BaseEventMetadata as BaseEventMetadata, type index_d_BulkActionMetadata as BulkActionMetadata, type index_d_BulkArchivePlanRequest as BulkArchivePlanRequest, type index_d_BulkArchivePlanResponse as BulkArchivePlanResponse, type index_d_BulkPlanResult as BulkPlanResult, type index_d_BuyerCanCancelUpdated as BuyerCanCancelUpdated, type index_d_ClearPrimaryRequest as ClearPrimaryRequest, type index_d_ClearPrimaryResponse as ClearPrimaryResponse, type index_d_CountPlansRequest as CountPlansRequest, type index_d_CountPlansResponse as CountPlansResponse, type index_d_CreatePlanRequest as CreatePlanRequest, type index_d_CreatePlanResponse as CreatePlanResponse, type index_d_CreatePlanResponseNonNullableFields as CreatePlanResponseNonNullableFields, type index_d_Cursors as Cursors, type index_d_DomainEvent as DomainEvent, type index_d_DomainEventBodyOneOf as DomainEventBodyOneOf, type index_d_Duration as Duration, type index_d_EntityCreatedEvent as EntityCreatedEvent, type index_d_EntityDeletedEvent as EntityDeletedEvent, type index_d_EntityUpdatedEvent as EntityUpdatedEvent, type index_d_EventMetadata as EventMetadata, type index_d_Fee as Fee, type index_d_FeeConfig as FeeConfig, type index_d_GetPlanRequest as GetPlanRequest, type index_d_GetPlanResponse as GetPlanResponse, type index_d_GetPlanResponseNonNullableFields as GetPlanResponseNonNullableFields, type index_d_GetPlanStatsRequest as GetPlanStatsRequest, type index_d_GetPlanStatsResponse as GetPlanStatsResponse, type index_d_GetPlanStatsResponseNonNullableFields as GetPlanStatsResponseNonNullableFields, type index_d_GetPlansPremiumStatusRequest as GetPlansPremiumStatusRequest, type index_d_GetPlansPremiumStatusResponse as GetPlansPremiumStatusResponse, type index_d_IdentificationData as IdentificationData, type index_d_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type index_d_ItemMetadata as ItemMetadata, type index_d_ListPlansOptions as ListPlansOptions, type index_d_ListPlansRequest as ListPlansRequest, type index_d_ListPlansResponse as ListPlansResponse, type index_d_ListPlansResponseNonNullableFields as ListPlansResponseNonNullableFields, type index_d_ListPublicPlansOptions as ListPublicPlansOptions, type index_d_ListPublicPlansRequest as ListPublicPlansRequest, type index_d_ListPublicPlansResponse as ListPublicPlansResponse, type index_d_ListPublicPlansResponseNonNullableFields as ListPublicPlansResponseNonNullableFields, type index_d_MakePlanPrimaryRequest as MakePlanPrimaryRequest, type index_d_MakePlanPrimaryResponse as MakePlanPrimaryResponse, type index_d_MakePlanPrimaryResponseNonNullableFields as MakePlanPrimaryResponseNonNullableFields, type index_d_MessageEnvelope as MessageEnvelope, type index_d_Money as Money, type index_d_Paging as Paging, type index_d_PagingMetadataV2 as PagingMetadataV2, index_d_PeriodUnit as PeriodUnit, type index_d_Plan as Plan, type index_d_PlanArchived as PlanArchived, type index_d_PlanArchivedEnvelope as PlanArchivedEnvelope, type index_d_PlanBuyerCanCancelUpdatedEnvelope as PlanBuyerCanCancelUpdatedEnvelope, type index_d_PlanCreatedEnvelope as PlanCreatedEnvelope, type index_d_PlanNonNullableFields as PlanNonNullableFields, type index_d_PlanUpdatedEnvelope as PlanUpdatedEnvelope, type index_d_Pricing as Pricing, type index_d_PricingPricingModelOneOf as PricingPricingModelOneOf, index_d_PublicFilter as PublicFilter, type index_d_PublicPlan as PublicPlan, type index_d_QueryPlansRequest as QueryPlansRequest, type index_d_QueryPlansResponse as QueryPlansResponse, type index_d_QueryPublicPlansOptions as QueryPublicPlansOptions, type index_d_QueryPublicPlansRequest as QueryPublicPlansRequest, type index_d_QueryPublicPlansResponse as QueryPublicPlansResponse, type index_d_QueryPublicPlansResponseNonNullableFields as QueryPublicPlansResponseNonNullableFields, type index_d_QueryV2 as QueryV2, type index_d_Recurrence as Recurrence, type index_d_RestoreInfo as RestoreInfo, type index_d_SetPlanVisibilityRequest as SetPlanVisibilityRequest, type index_d_SetPlanVisibilityResponse as SetPlanVisibilityResponse, type index_d_SetPlanVisibilityResponseNonNullableFields as SetPlanVisibilityResponseNonNullableFields, index_d_SortOrder as SortOrder, type index_d_Sorting as Sorting, type index_d_StringList as StringList, type index_d_UpdatePlan as UpdatePlan, type index_d_UpdatePlanRequest as UpdatePlanRequest, type index_d_UpdatePlanResponse as UpdatePlanResponse, type index_d_UpdatePlanResponseNonNullableFields as UpdatePlanResponseNonNullableFields, index_d_WebhookIdentityType as WebhookIdentityType, type index_d__publicArchivePlanType as _publicArchivePlanType, type index_d__publicArrangePlansType as _publicArrangePlansType, type index_d__publicClearPrimaryType as _publicClearPrimaryType, type index_d__publicCreatePlanType as _publicCreatePlanType, type index_d__publicGetPlanStatsType as _publicGetPlanStatsType, type index_d__publicGetPlanType as _publicGetPlanType, type index_d__publicListPlansType as _publicListPlansType, type index_d__publicListPublicPlansType as _publicListPublicPlansType, type index_d__publicMakePlanPrimaryType as _publicMakePlanPrimaryType, type index_d__publicOnPlanArchivedType as _publicOnPlanArchivedType, type index_d__publicOnPlanBuyerCanCancelUpdatedType as _publicOnPlanBuyerCanCancelUpdatedType, type index_d__publicOnPlanCreatedType as _publicOnPlanCreatedType, type index_d__publicOnPlanUpdatedType as _publicOnPlanUpdatedType, type index_d__publicQueryPublicPlansType as _publicQueryPublicPlansType, type index_d__publicSetPlanVisibilityType as _publicSetPlanVisibilityType, type index_d__publicUpdatePlanType as _publicUpdatePlanType, index_d_archivePlan as archivePlan, index_d_arrangePlans as arrangePlans, index_d_clearPrimary as clearPrimary, index_d_createPlan as createPlan, index_d_getPlan as getPlan, index_d_getPlanStats as getPlanStats, index_d_listPlans as listPlans, index_d_listPublicPlans as listPublicPlans, index_d_makePlanPrimary as makePlanPrimary, index_d_onPlanArchived as onPlanArchived, index_d_onPlanBuyerCanCancelUpdated as onPlanBuyerCanCancelUpdated, index_d_onPlanCreated as onPlanCreated, index_d_onPlanUpdated as onPlanUpdated, onPlanArchived$1 as publicOnPlanArchived, onPlanBuyerCanCancelUpdated$1 as publicOnPlanBuyerCanCancelUpdated, onPlanCreated$1 as publicOnPlanCreated, onPlanUpdated$1 as publicOnPlanUpdated, index_d_queryPublicPlans as queryPublicPlans, index_d_setPlanVisibility as setPlanVisibility, index_d_updatePlan as updatePlan };
2809
2962
  }
2810
2963
 
2811
2964
  export { index_d$1 as orders, index_d as plans };