@wix/ecom 1.0.736 → 1.0.738

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.
@@ -5479,7 +5479,7 @@ interface TaxBreakdownNonNullableFields$3 {
5479
5479
  taxableAmount?: MultiCurrencyPriceNonNullableFields$3;
5480
5480
  jurisdictionType: JurisdictionType$6;
5481
5481
  }
5482
- interface ItemTaxFullDetailsNonNullableFields$4 {
5482
+ interface ItemTaxFullDetailsNonNullableFields$5 {
5483
5483
  taxableAmount?: MultiCurrencyPriceNonNullableFields$3;
5484
5484
  taxRate: string;
5485
5485
  totalTax?: MultiCurrencyPriceNonNullableFields$3;
@@ -5490,7 +5490,7 @@ interface ItemTaxFullDetailsNonNullableFields$4 {
5490
5490
  interface LineItemPricesDataNonNullableFields$2 {
5491
5491
  totalPriceAfterTax?: MultiCurrencyPriceNonNullableFields$3;
5492
5492
  totalPriceBeforeTax?: MultiCurrencyPriceNonNullableFields$3;
5493
- taxDetails?: ItemTaxFullDetailsNonNullableFields$4;
5493
+ taxDetails?: ItemTaxFullDetailsNonNullableFields$5;
5494
5494
  totalDiscount?: MultiCurrencyPriceNonNullableFields$3;
5495
5495
  price?: MultiCurrencyPriceNonNullableFields$3;
5496
5496
  priceBeforeDiscounts?: MultiCurrencyPriceNonNullableFields$3;
@@ -5538,7 +5538,7 @@ interface AggregatedTaxBreakdownNonNullableFields$3 {
5538
5538
  aggregatedTaxAmount?: MultiCurrencyPriceNonNullableFields$3;
5539
5539
  aggregatedTaxableAmount?: MultiCurrencyPriceNonNullableFields$3;
5540
5540
  }
5541
- interface TaxSummaryNonNullableFields$4 {
5541
+ interface TaxSummaryNonNullableFields$5 {
5542
5542
  taxableAmount?: MultiCurrencyPriceNonNullableFields$3;
5543
5543
  totalTax?: MultiCurrencyPriceNonNullableFields$3;
5544
5544
  manualTaxRate: string;
@@ -5561,7 +5561,7 @@ interface DeliveryLogisticsNonNullableFields$5 {
5561
5561
  interface SelectedCarrierServiceOptionPricesNonNullableFields$3 {
5562
5562
  totalPriceAfterTax?: MultiCurrencyPriceNonNullableFields$3;
5563
5563
  totalPriceBeforeTax?: MultiCurrencyPriceNonNullableFields$3;
5564
- taxDetails?: ItemTaxFullDetailsNonNullableFields$4;
5564
+ taxDetails?: ItemTaxFullDetailsNonNullableFields$5;
5565
5565
  totalDiscount?: MultiCurrencyPriceNonNullableFields$3;
5566
5566
  price?: MultiCurrencyPriceNonNullableFields$3;
5567
5567
  }
@@ -5690,7 +5690,7 @@ interface MembershipOptionsNonNullableFields$3 {
5690
5690
  interface AdditionalFeeNonNullableFields$4 {
5691
5691
  name: string;
5692
5692
  price?: MultiCurrencyPriceNonNullableFields$3;
5693
- taxDetails?: ItemTaxFullDetailsNonNullableFields$4;
5693
+ taxDetails?: ItemTaxFullDetailsNonNullableFields$5;
5694
5694
  priceBeforeTax?: MultiCurrencyPriceNonNullableFields$3;
5695
5695
  priceAfterTax?: MultiCurrencyPriceNonNullableFields$3;
5696
5696
  lineItemIds: string[];
@@ -5714,7 +5714,7 @@ interface EstimateTotalsResponseNonNullableFields$1 {
5714
5714
  calculatedLineItems: CalculatedLineItemNonNullableFields$2[];
5715
5715
  priceSummary?: PriceSummaryNonNullableFields$5;
5716
5716
  giftCard?: GiftCardNonNullableFields$3;
5717
- taxSummary?: TaxSummaryNonNullableFields$4;
5717
+ taxSummary?: TaxSummaryNonNullableFields$5;
5718
5718
  shippingInfo?: ShippingInformationNonNullableFields$4;
5719
5719
  appliedDiscounts: AppliedDiscountNonNullableFields$5[];
5720
5720
  calculationErrors?: CalculationErrorsNonNullableFields$4;
@@ -8074,7 +8074,7 @@ interface TaxBreakdownNonNullableFields$2 {
8074
8074
  taxableAmount?: MultiCurrencyPriceNonNullableFields$2;
8075
8075
  jurisdictionType: JurisdictionType$5;
8076
8076
  }
8077
- interface ItemTaxFullDetailsNonNullableFields$3 {
8077
+ interface ItemTaxFullDetailsNonNullableFields$4 {
8078
8078
  taxableAmount?: MultiCurrencyPriceNonNullableFields$2;
8079
8079
  taxRate: string;
8080
8080
  totalTax?: MultiCurrencyPriceNonNullableFields$2;
@@ -8085,7 +8085,7 @@ interface ItemTaxFullDetailsNonNullableFields$3 {
8085
8085
  interface LineItemPricesDataNonNullableFields$1 {
8086
8086
  totalPriceAfterTax?: MultiCurrencyPriceNonNullableFields$2;
8087
8087
  totalPriceBeforeTax?: MultiCurrencyPriceNonNullableFields$2;
8088
- taxDetails?: ItemTaxFullDetailsNonNullableFields$3;
8088
+ taxDetails?: ItemTaxFullDetailsNonNullableFields$4;
8089
8089
  totalDiscount?: MultiCurrencyPriceNonNullableFields$2;
8090
8090
  price?: MultiCurrencyPriceNonNullableFields$2;
8091
8091
  priceBeforeDiscounts?: MultiCurrencyPriceNonNullableFields$2;
@@ -8133,7 +8133,7 @@ interface AggregatedTaxBreakdownNonNullableFields$2 {
8133
8133
  aggregatedTaxAmount?: MultiCurrencyPriceNonNullableFields$2;
8134
8134
  aggregatedTaxableAmount?: MultiCurrencyPriceNonNullableFields$2;
8135
8135
  }
8136
- interface TaxSummaryNonNullableFields$3 {
8136
+ interface TaxSummaryNonNullableFields$4 {
8137
8137
  taxableAmount?: MultiCurrencyPriceNonNullableFields$2;
8138
8138
  totalTax?: MultiCurrencyPriceNonNullableFields$2;
8139
8139
  manualTaxRate: string;
@@ -8156,7 +8156,7 @@ interface DeliveryLogisticsNonNullableFields$4 {
8156
8156
  interface SelectedCarrierServiceOptionPricesNonNullableFields$2 {
8157
8157
  totalPriceAfterTax?: MultiCurrencyPriceNonNullableFields$2;
8158
8158
  totalPriceBeforeTax?: MultiCurrencyPriceNonNullableFields$2;
8159
- taxDetails?: ItemTaxFullDetailsNonNullableFields$3;
8159
+ taxDetails?: ItemTaxFullDetailsNonNullableFields$4;
8160
8160
  totalDiscount?: MultiCurrencyPriceNonNullableFields$2;
8161
8161
  price?: MultiCurrencyPriceNonNullableFields$2;
8162
8162
  }
@@ -8285,7 +8285,7 @@ interface MembershipOptionsNonNullableFields$2 {
8285
8285
  interface AdditionalFeeNonNullableFields$3 {
8286
8286
  name: string;
8287
8287
  price?: MultiCurrencyPriceNonNullableFields$2;
8288
- taxDetails?: ItemTaxFullDetailsNonNullableFields$3;
8288
+ taxDetails?: ItemTaxFullDetailsNonNullableFields$4;
8289
8289
  priceBeforeTax?: MultiCurrencyPriceNonNullableFields$2;
8290
8290
  priceAfterTax?: MultiCurrencyPriceNonNullableFields$2;
8291
8291
  lineItemIds: string[];
@@ -8309,7 +8309,7 @@ interface EstimateTotalsResponseNonNullableFields {
8309
8309
  calculatedLineItems: CalculatedLineItemNonNullableFields$1[];
8310
8310
  priceSummary?: PriceSummaryNonNullableFields$4;
8311
8311
  giftCard?: GiftCardNonNullableFields$2;
8312
- taxSummary?: TaxSummaryNonNullableFields$3;
8312
+ taxSummary?: TaxSummaryNonNullableFields$4;
8313
8313
  shippingInfo?: ShippingInformationNonNullableFields$3;
8314
8314
  appliedDiscounts: AppliedDiscountNonNullableFields$4[];
8315
8315
  calculationErrors?: CalculationErrorsNonNullableFields$3;
@@ -10995,7 +10995,7 @@ interface TaxBreakdownNonNullableFields$1 {
10995
10995
  taxableAmount?: MultiCurrencyPriceNonNullableFields$1;
10996
10996
  jurisdictionType: JurisdictionType$4;
10997
10997
  }
10998
- interface ItemTaxFullDetailsNonNullableFields$2 {
10998
+ interface ItemTaxFullDetailsNonNullableFields$3 {
10999
10999
  taxableAmount?: MultiCurrencyPriceNonNullableFields$1;
11000
11000
  taxRate: string;
11001
11001
  totalTax?: MultiCurrencyPriceNonNullableFields$1;
@@ -11078,7 +11078,7 @@ interface LineItemNonNullableFields {
11078
11078
  priceBeforeDiscounts?: MultiCurrencyPriceNonNullableFields$1;
11079
11079
  totalPriceAfterTax?: MultiCurrencyPriceNonNullableFields$1;
11080
11080
  totalPriceBeforeTax?: MultiCurrencyPriceNonNullableFields$1;
11081
- taxDetails?: ItemTaxFullDetailsNonNullableFields$2;
11081
+ taxDetails?: ItemTaxFullDetailsNonNullableFields$3;
11082
11082
  discount?: MultiCurrencyPriceNonNullableFields$1;
11083
11083
  descriptionLines: DescriptionLineNonNullableFields$3[];
11084
11084
  media: string;
@@ -11127,7 +11127,7 @@ interface DeliveryLogisticsNonNullableFields$3 {
11127
11127
  interface SelectedCarrierServiceOptionPricesNonNullableFields$1 {
11128
11128
  totalPriceAfterTax?: MultiCurrencyPriceNonNullableFields$1;
11129
11129
  totalPriceBeforeTax?: MultiCurrencyPriceNonNullableFields$1;
11130
- taxDetails?: ItemTaxFullDetailsNonNullableFields$2;
11130
+ taxDetails?: ItemTaxFullDetailsNonNullableFields$3;
11131
11131
  totalDiscount?: MultiCurrencyPriceNonNullableFields$1;
11132
11132
  price?: MultiCurrencyPriceNonNullableFields$1;
11133
11133
  }
@@ -11274,7 +11274,7 @@ interface AggregatedTaxBreakdownNonNullableFields$1 {
11274
11274
  aggregatedTaxAmount?: MultiCurrencyPriceNonNullableFields$1;
11275
11275
  aggregatedTaxableAmount?: MultiCurrencyPriceNonNullableFields$1;
11276
11276
  }
11277
- interface TaxSummaryNonNullableFields$2 {
11277
+ interface TaxSummaryNonNullableFields$3 {
11278
11278
  taxableAmount?: MultiCurrencyPriceNonNullableFields$1;
11279
11279
  totalTax?: MultiCurrencyPriceNonNullableFields$1;
11280
11280
  manualTaxRate: string;
@@ -11322,7 +11322,7 @@ interface MembershipOptionsNonNullableFields$1 {
11322
11322
  interface AdditionalFeeNonNullableFields$2 {
11323
11323
  name: string;
11324
11324
  price?: MultiCurrencyPriceNonNullableFields$1;
11325
- taxDetails?: ItemTaxFullDetailsNonNullableFields$2;
11325
+ taxDetails?: ItemTaxFullDetailsNonNullableFields$3;
11326
11326
  priceBeforeTax?: MultiCurrencyPriceNonNullableFields$1;
11327
11327
  priceAfterTax?: MultiCurrencyPriceNonNullableFields$1;
11328
11328
  lineItemIds: string[];
@@ -11370,7 +11370,7 @@ interface CheckoutNonNullableFields {
11370
11370
  appliedDiscounts: AppliedDiscountNonNullableFields$3[];
11371
11371
  customFields: CustomFieldNonNullableFields$2[];
11372
11372
  weightUnit: WeightUnit$5;
11373
- taxSummary?: TaxSummaryNonNullableFields$2;
11373
+ taxSummary?: TaxSummaryNonNullableFields$3;
11374
11374
  currency: string;
11375
11375
  channelType: ChannelType$4;
11376
11376
  siteLanguage: string;
@@ -18517,7 +18517,7 @@ interface V1BalanceSummary {
18517
18517
  */
18518
18518
  refunded?: Price$3;
18519
18519
  /**
18520
- * Sum of all authorized payments
18520
+ * Sum of all authorized payments.
18521
18521
  * @readonly
18522
18522
  */
18523
18523
  authorized?: Price$3;
@@ -18815,7 +18815,7 @@ interface ItemTypeNonNullableFields$1 {
18815
18815
  preset: ItemTypeItemType$2;
18816
18816
  custom: string;
18817
18817
  }
18818
- interface ItemTaxFullDetailsNonNullableFields$1 {
18818
+ interface ItemTaxFullDetailsNonNullableFields$2 {
18819
18819
  taxableAmount?: PriceNonNullableFields$3;
18820
18820
  taxRate: string;
18821
18821
  totalTax?: PriceNonNullableFields$3;
@@ -18864,7 +18864,7 @@ interface OrderLineItemNonNullableFields$1 {
18864
18864
  totalPriceBeforeTax?: PriceNonNullableFields$3;
18865
18865
  totalPriceAfterTax?: PriceNonNullableFields$3;
18866
18866
  paymentOption: PaymentOptionType$2;
18867
- taxDetails?: ItemTaxFullDetailsNonNullableFields$1;
18867
+ taxDetails?: ItemTaxFullDetailsNonNullableFields$2;
18868
18868
  taxInfo?: LineItemTaxInfoNonNullableFields$1;
18869
18869
  digitalFile?: DigitalFileNonNullableFields$1;
18870
18870
  subscriptionInfo?: SubscriptionInfoNonNullableFields$1;
@@ -18913,7 +18913,7 @@ interface V1ShippingPriceNonNullableFields {
18913
18913
  price?: PriceNonNullableFields$3;
18914
18914
  totalPriceBeforeTax?: PriceNonNullableFields$3;
18915
18915
  totalPriceAfterTax?: PriceNonNullableFields$3;
18916
- taxDetails?: ItemTaxFullDetailsNonNullableFields$1;
18916
+ taxDetails?: ItemTaxFullDetailsNonNullableFields$2;
18917
18917
  discount?: PriceNonNullableFields$3;
18918
18918
  }
18919
18919
  interface V1ShippingInformationNonNullableFields$1 {
@@ -18937,7 +18937,7 @@ interface BuyerInfoNonNullableFields$1 {
18937
18937
  interface AdditionalFeeNonNullableFields$1 {
18938
18938
  name: string;
18939
18939
  price?: PriceNonNullableFields$3;
18940
- taxDetails?: ItemTaxFullDetailsNonNullableFields$1;
18940
+ taxDetails?: ItemTaxFullDetailsNonNullableFields$2;
18941
18941
  priceBeforeTax?: PriceNonNullableFields$3;
18942
18942
  priceAfterTax?: PriceNonNullableFields$3;
18943
18943
  _id: string;
@@ -19002,7 +19002,7 @@ interface PriceSummaryNonNullableFields$2 {
19002
19002
  totalWithoutGiftCard?: PriceNonNullableFields$3;
19003
19003
  totalAdditionalFees?: PriceNonNullableFields$3;
19004
19004
  }
19005
- interface TaxSummaryNonNullableFields$1 {
19005
+ interface TaxSummaryNonNullableFields$2 {
19006
19006
  totalTax?: PriceNonNullableFields$3;
19007
19007
  }
19008
19008
  interface BalanceNonNullableFields$1 {
@@ -19072,7 +19072,7 @@ interface DraftOrderNonNullableFields {
19072
19072
  status: EditingStatus;
19073
19073
  weightUnit: WeightUnit$3;
19074
19074
  priceSummary?: PriceSummaryNonNullableFields$2;
19075
- taxSummary?: TaxSummaryNonNullableFields$1;
19075
+ taxSummary?: TaxSummaryNonNullableFields$2;
19076
19076
  balanceSummary?: BalanceSummaryNonNullableFields$1;
19077
19077
  commitSettings?: DraftOrderCommitSettingsNonNullableFields;
19078
19078
  recipientInfo?: RecipientInfoDetailsNonNullableFields;
@@ -19326,6 +19326,7 @@ interface V1BalanceSummaryNonNullableFields {
19326
19326
  paid?: PriceNonNullableFields$3;
19327
19327
  refunded?: PriceNonNullableFields$3;
19328
19328
  authorized?: PriceNonNullableFields$3;
19329
+ pendingRefund?: PriceNonNullableFields$3;
19329
19330
  }
19330
19331
  interface TagListNonNullableFields$1 {
19331
19332
  tagIds: string[];
@@ -19346,7 +19347,7 @@ interface OrderNonNullableFields$1 {
19346
19347
  billingInfo?: AddressWithContactNonNullableFields$1;
19347
19348
  shippingInfo?: V1ShippingInformationNonNullableFields$1;
19348
19349
  status: OrderStatus$1;
19349
- taxSummary?: TaxSummaryNonNullableFields$1;
19350
+ taxSummary?: TaxSummaryNonNullableFields$2;
19350
19351
  taxInfo?: OrderTaxInfoNonNullableFields$1;
19351
19352
  appliedDiscounts: AppliedDiscountNonNullableFields$2[];
19352
19353
  activities: ActivityNonNullableFields$1[];
@@ -21141,7 +21142,7 @@ interface Order$1 {
21141
21142
  * @replacedBy tax_info
21142
21143
  * @targetRemovalDate 2024-09-30
21143
21144
  */
21144
- taxSummary?: ApiTaxSummary;
21145
+ taxSummary?: TaxSummary$1;
21145
21146
  /** Tax information. */
21146
21147
  taxInfo?: OrderTaxInfo;
21147
21148
  /** Applied discounts. */
@@ -21268,7 +21269,7 @@ interface OrderLineItem {
21268
21269
  * @replacedBy tax_info
21269
21270
  * @targetRemovalDate 2024-09-30
21270
21271
  */
21271
- taxDetails?: ApiItemTaxFullDetails;
21272
+ taxDetails?: ItemTaxFullDetails$1;
21272
21273
  /** Represents all the relevant tax details for a specific line item. */
21273
21274
  taxInfo?: LineItemTaxInfo;
21274
21275
  /** Digital file identifier, relevant only for items with type DIGITAL. */
@@ -21429,7 +21430,7 @@ declare enum PaymentOptionType$1 {
21429
21430
  /** Payment for this item can only be done by charging a membership and must be manually redeemed in the dashboard by the site admin. When selected, `price` is `0`. */
21430
21431
  MEMBERSHIP_OFFLINE = "MEMBERSHIP_OFFLINE"
21431
21432
  }
21432
- interface ApiItemTaxFullDetails {
21433
+ interface ItemTaxFullDetails$1 {
21433
21434
  /** Taxable amount of this line item. */
21434
21435
  taxableAmount?: Price$2;
21435
21436
  /** Tax rate percentage, as a decimal numeral between 0 and 1. For example, `"0.13"`. */
@@ -21771,7 +21772,7 @@ interface ShippingPrice$1 {
21771
21772
  */
21772
21773
  totalPriceAfterTax?: Price$2;
21773
21774
  /** Tax details. */
21774
- taxDetails?: ApiItemTaxFullDetails;
21775
+ taxDetails?: ItemTaxFullDetails$1;
21775
21776
  /**
21776
21777
  * Shipping discount before tax.
21777
21778
  * @readonly
@@ -21787,7 +21788,7 @@ declare enum OrderStatus {
21787
21788
  APPROVED = "APPROVED",
21788
21789
  CANCELED = "CANCELED"
21789
21790
  }
21790
- interface ApiTaxSummary {
21791
+ interface TaxSummary$1 {
21791
21792
  /**
21792
21793
  * Total tax.
21793
21794
  * @readonly
@@ -22303,7 +22304,7 @@ interface BalanceSummary {
22303
22304
  */
22304
22305
  refunded?: Price$2;
22305
22306
  /**
22306
- * Sum of all authorized payments
22307
+ * Sum of all authorized payments.
22307
22308
  * @readonly
22308
22309
  */
22309
22310
  authorized?: Price$2;
@@ -22337,7 +22338,7 @@ interface AdditionalFee$1 {
22337
22338
  /** Additional fee's price. */
22338
22339
  price?: Price$2;
22339
22340
  /** Tax details. */
22340
- taxDetails?: ApiItemTaxFullDetails;
22341
+ taxDetails?: ItemTaxFullDetails$1;
22341
22342
  /** SPI implementer's `appId`. */
22342
22343
  providerAppId?: string | null;
22343
22344
  /** Additional fee's price before tax. */
@@ -22407,509 +22408,214 @@ interface SnapshotMessage$1 {
22407
22408
  _id?: string;
22408
22409
  opType?: number;
22409
22410
  }
22410
- /** Triggered when a payment is updated. */
22411
- interface PaymentsUpdated$2 {
22412
- /** Updated order transactions. */
22413
- orderTransactions?: OrderTransactions$2;
22414
- /** List of IDs of the updated payments. */
22415
- paymentIds?: string[];
22416
- /** List of IDs of the updated refunds. */
22417
- refundIds?: string[];
22411
+ interface GetMetasiteDataRequest {
22412
+ /** meta site Id for data to retrieve */
22413
+ metasiteId?: string;
22418
22414
  }
22419
- interface OrderTransactions$2 {
22420
- /** Order ID. */
22421
- orderId?: string;
22422
- /** Record of payments made to the merchant. */
22423
- payments?: Payment$2[];
22424
- /** Record of refunds made to the buyer. */
22425
- refunds?: Refund$2[];
22415
+ interface GetMetasiteDataResponse {
22416
+ /** meta site data */
22417
+ metasite?: MetaSite;
22418
+ /** is metasite added to new SDL population via population manager */
22419
+ isInNewPopulation?: boolean;
22420
+ /** metasite url */
22421
+ metasiteUrl?: string;
22422
+ /** owner data */
22423
+ userDataResponse?: UserDataResponse;
22426
22424
  }
22427
- interface Payment$2 extends PaymentPaymentDetailsOneOf$2 {
22428
- /** Regular payment details. */
22429
- regularPaymentDetails?: RegularPaymentDetails$2;
22430
- /** Gift card payment details. */
22431
- giftcardPaymentDetails?: GiftCardPaymentDetails$2;
22425
+ /**
22426
+ * Represents Meta Site.
22427
+ *
22428
+ * Meta Site is a legacy concept, it aggregates data from several domains. Generally, it contains and manages
22429
+ * relations between different entities related to the site (or, as a new concept, to the container).
22430
+ *
22431
+ * We prefer to pronounce it as 2 separate words, therefore we use terms "meta site" or "metaSite" or "meta_site" in code.
22432
+ */
22433
+ interface MetaSite {
22432
22434
  /**
22433
- * Payment ID.
22435
+ * Identifier of meta site.
22434
22436
  * @readonly
22435
22437
  */
22436
- _id?: string | null;
22437
- /** Date and time the payment was created in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format. Defaults to current time when not provided. */
22438
- _createdDate?: Date;
22438
+ metaSiteId?: string;
22439
22439
  /**
22440
- * Date and time the payment was last updated in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format.
22440
+ * Internal version of meta site. Monotonically increasing number.
22441
+ *
22442
+ * If passed within update request, it will be used for optimistic locking. In this case,
22443
+ * StaleStateException will be thrown if current version doesn't match.
22444
+ *
22445
+ * In old MetaSiteDTO -- revision.
22441
22446
  * @readonly
22442
22447
  */
22443
- _updatedDate?: Date;
22444
- /** Payment amount. */
22445
- amount?: Price$2;
22448
+ version?: string;
22446
22449
  /**
22447
- * Whether refunds for this payment are disabled.
22448
- * + `true`: This payment is not refundable.
22449
- * + `false`: This payment may be refunded. However, this ultimately depends on the payment provider.
22450
+ * Identifier of account that owns this meta site.
22451
+ * @readonly
22450
22452
  */
22451
- refundDisabled?: boolean;
22452
- }
22453
- /** @oneof */
22454
- interface PaymentPaymentDetailsOneOf$2 {
22455
- /** Regular payment details. */
22456
- regularPaymentDetails?: RegularPaymentDetails$2;
22457
- /** Gift card payment details. */
22458
- giftcardPaymentDetails?: GiftCardPaymentDetails$2;
22459
- }
22460
- interface RegularPaymentDetails$2 extends RegularPaymentDetailsPaymentMethodDetailsOneOf$2 {
22461
- /** Whether regular card used */
22462
- creditCardDetails?: CreditCardPaymentMethodDetails$2;
22463
- /** Wix Payments order ID. */
22464
- paymentOrderId?: string | null;
22453
+ ownerId?: string;
22465
22454
  /**
22466
- * Payment gateway's transaction ID. This ID can be used with the Wix Payments [Transactions API](https://dev.wix.com/docs/rest/api-reference/wix-payments/transactions/introduction).
22467
- * This field is only returned when the value of `offline_payment` is `false`.
22455
+ * Date and time when meta site was created.
22456
+ * @readonly
22468
22457
  */
22469
- gatewayTransactionId?: string | null;
22458
+ dateCreated?: Date;
22470
22459
  /**
22471
- * Payment method. Non-exhaustive list of supported values:
22472
- * + `CreditCard`, `Alipay`, `AstropayCash`, `AstropayDBT`, `AstropayMBT`, `Bitcoin`, `BitPay`, `Cash`, `ConvenienceStore`, `EPay`, `Fake`, `Giropay`, `IDeal`, `InPerson`, `Klarna`, `MercadoPago`, `Netpay`, `NordeaSolo`, `Offline`, `PagSeguro`, `PayEasy`, `PayPal`, `Paysafecard`, `Paysafecash`, `PointOfSale`, `Poli`, `Privat24`, `Przelewy24`, `RapidTransfer`, `Sepa`, `Skrill`, `Sofort`, `Trustly`, `Neteller`, `Unionpay`, `UniPay`, `Yandex`
22460
+ * Date and time when meta site was updated for the last time.
22461
+ * @readonly
22473
22462
  */
22474
- paymentMethod?: string | null;
22475
- /** Transaction ID in the payment provider's system. For example, at PayPal, Square, Stripe, etc. Not returned for offline payments. */
22476
- providerTransactionId?: string | null;
22477
- /** Whether the payment was made offline. For example, when using cash or when marked as paid in the Business Manager. */
22478
- offlinePayment?: boolean;
22479
- /** Payment status. */
22480
- status?: TransactionStatus$2;
22481
- /** Whether there is a payment agreement that allows for future charges. */
22482
- savedPaymentMethod?: boolean;
22483
- /** Authorization details. */
22484
- authorizationDetails?: AuthorizationDetails$2;
22485
- }
22486
- /** @oneof */
22487
- interface RegularPaymentDetailsPaymentMethodDetailsOneOf$2 {
22488
- /** Whether regular card used */
22489
- creditCardDetails?: CreditCardPaymentMethodDetails$2;
22490
- }
22491
- declare enum TransactionStatus$2 {
22492
- UNDEFINED = "UNDEFINED",
22493
- APPROVED = "APPROVED",
22494
- PENDING = "PENDING",
22495
- PENDING_MERCHANT = "PENDING_MERCHANT",
22496
- CANCELED = "CANCELED",
22497
- DECLINED = "DECLINED",
22498
- REFUNDED = "REFUNDED",
22499
- PARTIALLY_REFUNDED = "PARTIALLY_REFUNDED",
22500
- AUTHORIZED = "AUTHORIZED",
22501
- VOIDED = "VOIDED"
22502
- }
22503
- interface CreditCardPaymentMethodDetails$2 {
22504
- /** The last 4 digits of the card number. */
22505
- lastFourDigits?: string | null;
22506
- /** Card issuer's brand. */
22507
- brand?: string | null;
22508
- }
22509
- interface AuthorizationDetails$2 {
22463
+ dateUpdated?: Date;
22510
22464
  /**
22511
- * Whether the authorized payment is of a delayed capture.
22465
+ * All "applications" of this meta site.
22466
+ *
22467
+ * In old MetaSiteDTO -- embeddedServices.
22468
+ */
22469
+ apps?: App[];
22470
+ /** Namespace of meta site. */
22471
+ namespace?: Namespace;
22472
+ /**
22473
+ * Indicates whether https should be used for viewing a site.
22474
+ *
22475
+ * In old MetaSiteDTO -- flags.UseHttps.
22476
+ */
22477
+ useHttps?: boolean;
22478
+ defaultSeoData?: SeoData;
22479
+ /**
22480
+ * Information about HTML application.
22481
+ *
22482
+ * In old MetaSiteDTO -- appplications.find(_.applicationType == HtmlWeb).
22483
+ */
22484
+ htmlApp?: HtmlApplication;
22485
+ /** @deprecated */
22486
+ externalUriMappings?: ExternalUriMapping[];
22487
+ /** Indicates whether meta site was published. If true - site should be accessible for viewing. */
22488
+ published?: boolean;
22489
+ /**
22490
+ * The name of meta site.
22491
+ *
22492
+ * Matches this regular expression: [a-z0-9_\-]{4,20} (but for some legacy sites might be shorted/longer).
22493
+ */
22494
+ name?: string;
22495
+ /**
22496
+ * Indicates whether this site is managed by ADI editor
22497
+ *
22498
+ * Values:
22499
+ * None - not managed.
22500
+ * Some(false) - site was created via ADI editor, but later on user switched to regular editor.
22501
+ * Some(true) - site was created and still is managed by ADI editor.
22502
+ *
22503
+ * In old MetaSiteDTO: embeddedService[embeddedServiceType=Onboarding].attributes.isInUse.
22504
+ */
22505
+ adi?: boolean | null;
22506
+ /**
22507
+ * Indicates whether this meta site is template.
22508
+ *
22509
+ * In old MetaSiteDTO: documentType == Template.
22512
22510
  * @readonly
22513
22511
  */
22514
- delayedCapture?: boolean;
22515
- /** Date and time the payment was authorized in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format. */
22516
- authorizedDate?: Date;
22512
+ template?: boolean | null;
22517
22513
  /**
22518
- * List of captures associated with payment
22519
- * In case of failed it can be replaced with new one with PENDING or SUCCESS statuses
22514
+ * Identifier of a template (meta site) from which this site was created.
22515
+ *
22516
+ * If it's empty it either means that site wasn't created from a template OR it's very old, so we didn't store
22517
+ * it back then.
22518
+ *
22519
+ * For example, if "site" was created from "template", then "template"'s id will be in origin_template_id.
22520
+ * When "site" is cloned, clone will also have "template"'s id in origin_instance_id.
22521
+ * @readonly
22520
22522
  */
22521
- captures?: AuthorizationCapture$2[];
22522
- /** Void associated with payment */
22523
- void?: AuthorizationVoid$2;
22524
- /** Scheduled action for this transaction */
22525
- scheduledAction?: V1ScheduledAction;
22526
- }
22527
- interface AuthorizationCapture$2 {
22523
+ originTemplateId?: string | null;
22528
22524
  /**
22529
- * Capture ID.
22525
+ * Indicates meta site blocked from publishing and added additional filtering in listing API (MSS). READ_ONLY.
22530
22526
  * @readonly
22531
22527
  */
22532
- _id?: string | null;
22533
- /** Status of this capture action */
22534
- status?: AuthorizationCaptureStatus$2;
22535
- /** Amount of this capture */
22536
- amount?: Price$2;
22537
- /** Date and time the capture was initiated in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format. */
22538
- _createdDate?: Date;
22539
- /** In case of status is FAILED may contain failure details */
22540
- failureDetails?: AuthorizationActionFailureDetails$2;
22541
- }
22542
- declare enum AuthorizationCaptureStatus$2 {
22543
- UNKNOWN_STATUS = "UNKNOWN_STATUS",
22544
- /** Whether capture operation still in progress */
22545
- PENDING = "PENDING",
22546
- /** The capture operation was succeeded */
22547
- SUCCEEDED = "SUCCEEDED",
22548
- /** The capture operation was failed */
22549
- FAILED = "FAILED"
22550
- }
22551
- interface AuthorizationActionFailureDetails$2 {
22552
- failureCode?: string;
22553
- }
22554
- interface AuthorizationVoid$2 {
22555
- /** Status of this void action */
22556
- status?: AuthorizationVoidStatus$2;
22557
- /** Date and time the void was initiated in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format. */
22558
- voidedDate?: Date;
22559
- /** In case of status is FAILED may contain failure details */
22560
- failureDetails?: AuthorizationActionFailureDetails$2;
22561
- /** Reason of void action */
22562
- reason?: Reason$2;
22563
- }
22564
- declare enum AuthorizationVoidStatus$2 {
22565
- UNKNOWN_STATUS = "UNKNOWN_STATUS",
22566
- /** Whether void operation still in progress */
22567
- PENDING = "PENDING",
22568
- /** The void operation was succeeded */
22569
- SUCCEEDED = "SUCCEEDED",
22570
- /** The void operation was failed */
22571
- FAILED = "FAILED"
22572
- }
22573
- /**
22574
- * Reason the authorization was voided.
22575
- *
22576
- * + `MANUAL`: Authorization was voided by user.
22577
- * + `SCHEDULED`: Authorization passed execution date.
22578
- */
22579
- declare enum Reason$2 {
22580
- UNKNOWN_REASON = "UNKNOWN_REASON",
22581
- MANUAL = "MANUAL",
22582
- SCHEDULED = "SCHEDULED"
22583
- }
22584
- interface V1ScheduledAction {
22585
- /** type of the action */
22586
- actionType?: ActionType$2;
22587
- /** the date and time of the action */
22588
- executionDate?: Date;
22589
- }
22590
- declare enum ActionType$2 {
22591
- UNKNOWN_ACTION_TYPE = "UNKNOWN_ACTION_TYPE",
22592
- VOID = "VOID",
22593
- CAPTURE = "CAPTURE"
22594
- }
22595
- interface GiftCardPaymentDetails$2 {
22596
- /** Gift card payment ID. */
22597
- giftCardPaymentId?: string;
22598
- /** ID of the app that created the gift card. */
22599
- appId?: string;
22528
+ blocked?: boolean;
22600
22529
  /**
22601
- * Whether the gift card is voided.
22602
- * @readonly
22530
+ * If true - default meta site routing (connected domains, free url, ML) is not used for this meta site.
22531
+ *
22532
+ * Meaning, that if `example.org` is connected to this meta site, `router-server` will return 404 for `example.org`
22533
+ * anyway.
22534
+ *
22535
+ * This flag is set for some sites that have custom mapping in Routes API / wix-pages-bo.
22603
22536
  */
22604
- voided?: boolean;
22605
- }
22606
- interface MembershipPaymentDetails$2 {
22607
- /** Membership ID. */
22608
- membershipId?: string;
22609
- /** ID of the line item this membership applies to. */
22610
- lineItemId?: string;
22611
- /** Payment status. */
22612
- status?: MembershipPaymentStatus$2;
22613
- /** Membership name. */
22614
- name?: MembershipName$3;
22615
- /** The transaction ID in the membership system. Can be used to void the transaction. */
22616
- externalTransactionId?: string | null;
22537
+ dontUseDefaultRouting?: boolean;
22617
22538
  /**
22618
- * Whether the membership is voided.
22539
+ * Indicates the site is used as critical asset and as such is protected. You would be only able to provision applications to this meta site. READ_ONLY.
22619
22540
  * @readonly
22620
22541
  */
22621
- voided?: boolean;
22622
- /** ID of the application providing this payment option. */
22623
- providerAppId?: string;
22624
- }
22625
- declare enum MembershipPaymentStatus$2 {
22626
- /** CHARGED - Payment was charged */
22627
- CHARGED = "CHARGED",
22628
- /** CHARGE_FAILED - The attempt to charge that payment have failed, for example due to lack of credits */
22629
- CHARGE_FAILED = "CHARGE_FAILED"
22630
- }
22631
- interface MembershipName$3 {
22632
- /** The name of this membership */
22633
- original?: string;
22634
- /** Optional - Translated name of this membership. Defaults to `original` when not provided. */
22635
- translated?: string | null;
22542
+ criticalAsset?: boolean;
22636
22543
  }
22637
- interface Refund$2 {
22544
+ interface App {
22638
22545
  /**
22639
- * Refund ID.
22640
- * @readonly
22546
+ * Identifier of application type (application definition id).
22547
+ *
22548
+ * Can be both UUID and non-UUID, for example: SiteMembers, Onboarding, CloudSiteExtension etc.
22641
22549
  */
22642
- _id?: string;
22643
- /** List of transactions. */
22644
- transactions?: RefundTransaction$2[];
22645
- /** Refund business details. */
22646
- details?: RefundDetails$2;
22647
- /** Date and time the refund was created in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format. Defaults to current time when not provided. */
22648
- _createdDate?: Date;
22649
- }
22650
- interface RefundTransaction$2 {
22651
- /** ID of the payment associated with this refund. */
22652
- paymentId?: string;
22653
- /** Refund amount. */
22654
- amount?: Price$2;
22655
- /** Refund status. */
22656
- refundStatus?: RefundStatus$2;
22550
+ appDefId?: string;
22657
22551
  /**
22658
- * Payment gateway's refund ID. This ID can be used with the Wix Payments [Transactions API](https://dev.wix.com/docs/rest/api-reference/wix-payments/transactions/introduction).
22659
- * This field is only returned when the value of `external_refund` is `false`.
22552
+ * Identifier of the instance (concrete application, installed on a site).
22553
+ *
22554
+ * Mostly UUID, but for some specific legacy cases might be something else.
22660
22555
  */
22661
- gatewayRefundId?: string | null;
22662
- /** ID of the refund in the payment provider's system. For example, at PayPal, Square, Stripe, etc. Not returned for external refunds. */
22663
- providerRefundId?: string | null;
22664
- /** Whether refund was made externally and manually on the payment provider's side. */
22665
- externalRefund?: boolean;
22666
- }
22667
- /**
22668
- * Refund transaction status.
22669
- * + `PENDING`: Refund was initiated on payment provider side. PENDING status was assigned by provider.
22670
- * + `SUCCEEDED`: Refund transaction succeeded.
22671
- * + `FAILED`: Refund transaction failed.
22672
- * + `SCHEDULED`: Refund request acknowledged, and will be executed soon.
22673
- * + `STARTED`: Refund was initiated on payment provider side.
22674
- */
22675
- declare enum RefundStatus$2 {
22676
- PENDING = "PENDING",
22677
- SUCCEEDED = "SUCCEEDED",
22678
- FAILED = "FAILED",
22679
- SCHEDULED = "SCHEDULED",
22680
- STARTED = "STARTED"
22681
- }
22682
- /** Business model of a refund request */
22683
- interface RefundDetails$2 {
22684
- /** Order line item IDs and quantities that were refunded. */
22685
- items?: RefundItem$2[];
22686
- /** Whether the shipping fee was also refunded. */
22687
- shippingIncluded?: boolean;
22688
- /** Reason for the refund, provided by customer (optional). */
22689
- reason?: string | null;
22690
- }
22691
- interface RefundItem$2 {
22692
- /** Line item ID the refunded line item. */
22693
- lineItemId?: string;
22694
- /** Line item quantity refunded. */
22695
- quantity?: number;
22696
- }
22697
- interface LineItemRefund$2 {
22698
- }
22699
- interface AdditionalFeeRefund$2 {
22700
- }
22701
- interface ShippingRefund$2 {
22702
- }
22703
- interface AggregatedRefundSummary$2 {
22704
- }
22705
- interface GetMetasiteDataRequest {
22706
- /** meta site Id for data to retrieve */
22707
- metasiteId?: string;
22708
- }
22709
- interface GetMetasiteDataResponse {
22710
- /** meta site data */
22711
- metasite?: MetaSite;
22712
- /** is metasite added to new SDL population via population manager */
22713
- isInNewPopulation?: boolean;
22714
- /** metasite url */
22715
- metasiteUrl?: string;
22716
- /** owner data */
22717
- userDataResponse?: UserDataResponse;
22718
- }
22719
- /**
22720
- * Represents Meta Site.
22721
- *
22722
- * Meta Site is a legacy concept, it aggregates data from several domains. Generally, it contains and manages
22723
- * relations between different entities related to the site (or, as a new concept, to the container).
22724
- *
22725
- * We prefer to pronounce it as 2 separate words, therefore we use terms "meta site" or "metaSite" or "meta_site" in code.
22726
- */
22727
- interface MetaSite {
22556
+ instanceId?: string;
22728
22557
  /**
22729
- * Identifier of meta site.
22558
+ * State of this app (see docs for state).
22730
22559
  * @readonly
22731
22560
  */
22732
- metaSiteId?: string;
22561
+ state?: State;
22733
22562
  /**
22734
- * Internal version of meta site. Monotonically increasing number.
22563
+ * Identifier of the originating application. For example, if this app was part of a template,
22564
+ * then an app will get instance_id of that app as origin instance id.
22735
22565
  *
22736
- * If passed within update request, it will be used for optimistic locking. In this case,
22737
- * StaleStateException will be thrown if current version doesn't match.
22566
+ * If application was provisioned not from some template, it should be empty.
22738
22567
  *
22739
- * In old MetaSiteDTO -- revision.
22740
- * @readonly
22568
+ * Note, it could be == to instance_id (for old sites).
22741
22569
  */
22742
- version?: string;
22570
+ originInstanceId?: string;
22571
+ }
22572
+ /**
22573
+ * Represents the actual state of the application on site. Do not confuse with the State in the old MetaSiteDTO,
22574
+ * which has less values and doesn't have 1-to-1 correspondence with this one (this one is exact and correct!)
22575
+ */
22576
+ declare enum State {
22577
+ UNKNOWN = "UNKNOWN",
22578
+ /** App is installed on a site. */
22579
+ ENABLED = "ENABLED",
22580
+ /** App is removed from a site (but we preserve it just in case). */
22581
+ DISABLED = "DISABLED",
22582
+ /** App is in "demo" mode, meaning that it's in read-only mode (it's in a template OR not installed yet). */
22583
+ TEMPLATE = "TEMPLATE",
22584
+ /** App is not installed, there is a user intention for it only (user will see the pimpl in the editor). */
22585
+ PENDING = "PENDING"
22586
+ }
22587
+ declare enum Namespace {
22588
+ UNKNOWN_NAMESPACE = "UNKNOWN_NAMESPACE",
22589
+ /** Default namespace for UGC sites. MetaSites with this namespace will be shown in a user's site list by default. */
22590
+ WIX = "WIX",
22591
+ /** ShoutOut stand alone product. These are siteless (no actual Wix site, no HtmlWeb). MetaSites with this namespace will *not* be shown in a user's site list by default. */
22592
+ SHOUT_OUT = "SHOUT_OUT",
22593
+ /** MetaSites created by the Albums product, they appear as part of the Albums app. MetaSites with this namespace will *not* be shown in a user's site list by default. */
22594
+ ALBUMS = "ALBUMS",
22595
+ /** Part of the WixStores migration flow, a user tries to migrate and gets this site to view and if the user likes it then stores removes this namespace and deletes the old site with the old stores. MetaSites with this namespace will *not* be shown in a user's site list by default. */
22596
+ WIX_STORES_TEST_DRIVE = "WIX_STORES_TEST_DRIVE",
22597
+ /** Hotels standalone (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
22598
+ HOTELS = "HOTELS",
22599
+ /** Clubs siteless MetaSites, a club without a wix website. MetaSites with this namespace will *not* be shown in a user's site list by default. */
22600
+ CLUBS = "CLUBS",
22601
+ /** A partially created ADI website. MetaSites with this namespace will *not* be shown in a user's site list by default. */
22602
+ ONBOARDING_DRAFT = "ONBOARDING_DRAFT",
22603
+ /** AppBuilder for AppStudio / shmite (c). MetaSites with this namespace will *not* be shown in a user's site list by default. */
22604
+ DEV_SITE = "DEV_SITE",
22605
+ /** LogoMaker websites offered to the user after logo purchase. MetaSites with this namespace will *not* be shown in a user's site list by default. */
22606
+ LOGOS = "LOGOS",
22607
+ /** VideoMaker websites offered to the user after video purchase. MetaSites with this namespace will *not* be shown in a user's site list by default. */
22608
+ VIDEO_MAKER = "VIDEO_MAKER",
22609
+ /** MetaSites with this namespace will *not* be shown in a user's site list by default. */
22610
+ PARTNER_DASHBOARD = "PARTNER_DASHBOARD",
22611
+ /** MetaSites with this namespace will *not* be shown in a user's site list by default. */
22612
+ DEV_CENTER_COMPANY = "DEV_CENTER_COMPANY",
22743
22613
  /**
22744
- * Identifier of account that owns this meta site.
22745
- * @readonly
22614
+ * A draft created by HTML editor on open. Upon "first save" it will be moved to be of WIX domain.
22615
+ *
22616
+ * Meta site with this namespace will *not* be shown in a user's site list by default.
22746
22617
  */
22747
- ownerId?: string;
22748
- /**
22749
- * Date and time when meta site was created.
22750
- * @readonly
22751
- */
22752
- dateCreated?: Date;
22753
- /**
22754
- * Date and time when meta site was updated for the last time.
22755
- * @readonly
22756
- */
22757
- dateUpdated?: Date;
22758
- /**
22759
- * All "applications" of this meta site.
22760
- *
22761
- * In old MetaSiteDTO -- embeddedServices.
22762
- */
22763
- apps?: App[];
22764
- /** Namespace of meta site. */
22765
- namespace?: Namespace;
22766
- /**
22767
- * Indicates whether https should be used for viewing a site.
22768
- *
22769
- * In old MetaSiteDTO -- flags.UseHttps.
22770
- */
22771
- useHttps?: boolean;
22772
- defaultSeoData?: SeoData;
22773
- /**
22774
- * Information about HTML application.
22775
- *
22776
- * In old MetaSiteDTO -- appplications.find(_.applicationType == HtmlWeb).
22777
- */
22778
- htmlApp?: HtmlApplication;
22779
- /** @deprecated */
22780
- externalUriMappings?: ExternalUriMapping[];
22781
- /** Indicates whether meta site was published. If true - site should be accessible for viewing. */
22782
- published?: boolean;
22783
- /**
22784
- * The name of meta site.
22785
- *
22786
- * Matches this regular expression: [a-z0-9_\-]{4,20} (but for some legacy sites might be shorted/longer).
22787
- */
22788
- name?: string;
22789
- /**
22790
- * Indicates whether this site is managed by ADI editor
22791
- *
22792
- * Values:
22793
- * None - not managed.
22794
- * Some(false) - site was created via ADI editor, but later on user switched to regular editor.
22795
- * Some(true) - site was created and still is managed by ADI editor.
22796
- *
22797
- * In old MetaSiteDTO: embeddedService[embeddedServiceType=Onboarding].attributes.isInUse.
22798
- */
22799
- adi?: boolean | null;
22800
- /**
22801
- * Indicates whether this meta site is template.
22802
- *
22803
- * In old MetaSiteDTO: documentType == Template.
22804
- * @readonly
22805
- */
22806
- template?: boolean | null;
22807
- /**
22808
- * Identifier of a template (meta site) from which this site was created.
22809
- *
22810
- * If it's empty it either means that site wasn't created from a template OR it's very old, so we didn't store
22811
- * it back then.
22812
- *
22813
- * For example, if "site" was created from "template", then "template"'s id will be in origin_template_id.
22814
- * When "site" is cloned, clone will also have "template"'s id in origin_instance_id.
22815
- * @readonly
22816
- */
22817
- originTemplateId?: string | null;
22818
- /**
22819
- * Indicates meta site blocked from publishing and added additional filtering in listing API (MSS). READ_ONLY.
22820
- * @readonly
22821
- */
22822
- blocked?: boolean;
22823
- /**
22824
- * If true - default meta site routing (connected domains, free url, ML) is not used for this meta site.
22825
- *
22826
- * Meaning, that if `example.org` is connected to this meta site, `router-server` will return 404 for `example.org`
22827
- * anyway.
22828
- *
22829
- * This flag is set for some sites that have custom mapping in Routes API / wix-pages-bo.
22830
- */
22831
- dontUseDefaultRouting?: boolean;
22832
- /**
22833
- * Indicates the site is used as critical asset and as such is protected. You would be only able to provision applications to this meta site. READ_ONLY.
22834
- * @readonly
22835
- */
22836
- criticalAsset?: boolean;
22837
- }
22838
- interface App {
22839
- /**
22840
- * Identifier of application type (application definition id).
22841
- *
22842
- * Can be both UUID and non-UUID, for example: SiteMembers, Onboarding, CloudSiteExtension etc.
22843
- */
22844
- appDefId?: string;
22845
- /**
22846
- * Identifier of the instance (concrete application, installed on a site).
22847
- *
22848
- * Mostly UUID, but for some specific legacy cases might be something else.
22849
- */
22850
- instanceId?: string;
22851
- /**
22852
- * State of this app (see docs for state).
22853
- * @readonly
22854
- */
22855
- state?: State;
22856
- /**
22857
- * Identifier of the originating application. For example, if this app was part of a template,
22858
- * then an app will get instance_id of that app as origin instance id.
22859
- *
22860
- * If application was provisioned not from some template, it should be empty.
22861
- *
22862
- * Note, it could be == to instance_id (for old sites).
22863
- */
22864
- originInstanceId?: string;
22865
- }
22866
- /**
22867
- * Represents the actual state of the application on site. Do not confuse with the State in the old MetaSiteDTO,
22868
- * which has less values and doesn't have 1-to-1 correspondence with this one (this one is exact and correct!)
22869
- */
22870
- declare enum State {
22871
- UNKNOWN = "UNKNOWN",
22872
- /** App is installed on a site. */
22873
- ENABLED = "ENABLED",
22874
- /** App is removed from a site (but we preserve it just in case). */
22875
- DISABLED = "DISABLED",
22876
- /** App is in "demo" mode, meaning that it's in read-only mode (it's in a template OR not installed yet). */
22877
- TEMPLATE = "TEMPLATE",
22878
- /** App is not installed, there is a user intention for it only (user will see the pimpl in the editor). */
22879
- PENDING = "PENDING"
22880
- }
22881
- declare enum Namespace {
22882
- UNKNOWN_NAMESPACE = "UNKNOWN_NAMESPACE",
22883
- /** Default namespace for UGC sites. MetaSites with this namespace will be shown in a user's site list by default. */
22884
- WIX = "WIX",
22885
- /** ShoutOut stand alone product. These are siteless (no actual Wix site, no HtmlWeb). MetaSites with this namespace will *not* be shown in a user's site list by default. */
22886
- SHOUT_OUT = "SHOUT_OUT",
22887
- /** MetaSites created by the Albums product, they appear as part of the Albums app. MetaSites with this namespace will *not* be shown in a user's site list by default. */
22888
- ALBUMS = "ALBUMS",
22889
- /** Part of the WixStores migration flow, a user tries to migrate and gets this site to view and if the user likes it then stores removes this namespace and deletes the old site with the old stores. MetaSites with this namespace will *not* be shown in a user's site list by default. */
22890
- WIX_STORES_TEST_DRIVE = "WIX_STORES_TEST_DRIVE",
22891
- /** Hotels standalone (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
22892
- HOTELS = "HOTELS",
22893
- /** Clubs siteless MetaSites, a club without a wix website. MetaSites with this namespace will *not* be shown in a user's site list by default. */
22894
- CLUBS = "CLUBS",
22895
- /** A partially created ADI website. MetaSites with this namespace will *not* be shown in a user's site list by default. */
22896
- ONBOARDING_DRAFT = "ONBOARDING_DRAFT",
22897
- /** AppBuilder for AppStudio / shmite (c). MetaSites with this namespace will *not* be shown in a user's site list by default. */
22898
- DEV_SITE = "DEV_SITE",
22899
- /** LogoMaker websites offered to the user after logo purchase. MetaSites with this namespace will *not* be shown in a user's site list by default. */
22900
- LOGOS = "LOGOS",
22901
- /** VideoMaker websites offered to the user after video purchase. MetaSites with this namespace will *not* be shown in a user's site list by default. */
22902
- VIDEO_MAKER = "VIDEO_MAKER",
22903
- /** MetaSites with this namespace will *not* be shown in a user's site list by default. */
22904
- PARTNER_DASHBOARD = "PARTNER_DASHBOARD",
22905
- /** MetaSites with this namespace will *not* be shown in a user's site list by default. */
22906
- DEV_CENTER_COMPANY = "DEV_CENTER_COMPANY",
22907
- /**
22908
- * A draft created by HTML editor on open. Upon "first save" it will be moved to be of WIX domain.
22909
- *
22910
- * Meta site with this namespace will *not* be shown in a user's site list by default.
22911
- */
22912
- HTML_DRAFT = "HTML_DRAFT",
22618
+ HTML_DRAFT = "HTML_DRAFT",
22913
22619
  /**
22914
22620
  * the user-journey for Fitness users who want to start from managing their business instead of designing their website.
22915
22621
  * Will be accessible from Site List and will not have a website app.
@@ -23049,49 +22755,335 @@ interface CursorPaging$5 {
23049
22755
  * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
23050
22756
  * Not relevant for the first request.
23051
22757
  */
23052
- cursor?: string | null;
22758
+ cursor?: string | null;
22759
+ }
22760
+ interface QueryOrdersForMetasiteResponse {
22761
+ /** found exisitng orders according to pagination and query provided. */
22762
+ orders?: Order$1[];
22763
+ /** Details on the paged set of results returned. */
22764
+ pagingMetadata?: PlatformPagingMetadata;
22765
+ }
22766
+ interface PlatformPagingMetadata {
22767
+ /** The number of items returned in this response. */
22768
+ count?: number | null;
22769
+ /** The offset which was requested. Returned if offset paging was used. */
22770
+ offset?: number | null;
22771
+ /** The total number of items that match the query. Returned if offset paging was used. */
22772
+ total?: number | null;
22773
+ /** Cursors to navigate through result pages. Returned if cursor paging was used. */
22774
+ cursors?: Cursors$5;
22775
+ }
22776
+ interface Cursors$5 {
22777
+ /** Cursor string pointing to the next page in the list of results. */
22778
+ next?: string | null;
22779
+ /** Cursor pointing to the previous page in the list of results. */
22780
+ prev?: string | null;
22781
+ }
22782
+ interface GetOrderForMetasiteRequest {
22783
+ /** meta site Id for EP order to retrieve */
22784
+ metasiteId?: string;
22785
+ /** Order Id for EP order to retrieve */
22786
+ orderId?: string;
22787
+ }
22788
+ interface GetOrderForMetasiteResponse {
22789
+ /** Existing EP order */
22790
+ order?: Order$1;
22791
+ }
22792
+ interface ListOrderTransactionsForMetasiteRequest {
22793
+ /** meta site Id for EP order transactions to retrieve */
22794
+ metasiteId?: string;
22795
+ /** Order Id for EP order transactions to retrieve */
22796
+ orderId?: string;
22797
+ }
22798
+ interface ListOrderTransactionsForMetasiteResponse {
22799
+ /** Order ID and its associated transactions. */
22800
+ orderTransactions?: OrderTransactions$2;
22801
+ }
22802
+ interface OrderTransactions$2 {
22803
+ /** Order ID. */
22804
+ orderId?: string;
22805
+ /** Record of payments made to the merchant. */
22806
+ payments?: Payment$2[];
22807
+ /** Record of refunds made to the buyer. */
22808
+ refunds?: Refund$2[];
22809
+ }
22810
+ interface Payment$2 extends PaymentPaymentDetailsOneOf$2 {
22811
+ /** Regular payment details. */
22812
+ regularPaymentDetails?: RegularPaymentDetails$2;
22813
+ /** Gift card payment details. */
22814
+ giftcardPaymentDetails?: GiftCardPaymentDetails$2;
22815
+ /**
22816
+ * Payment ID.
22817
+ * @readonly
22818
+ */
22819
+ _id?: string | null;
22820
+ /** Date and time the payment was created in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format. Defaults to current time when not provided. */
22821
+ _createdDate?: Date;
22822
+ /**
22823
+ * Date and time the payment was last updated in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format.
22824
+ * @readonly
22825
+ */
22826
+ _updatedDate?: Date;
22827
+ /** Payment amount. */
22828
+ amount?: Price$2;
22829
+ /**
22830
+ * Whether refunds for this payment are disabled.
22831
+ * + `true`: This payment is not refundable.
22832
+ * + `false`: This payment may be refunded. However, this ultimately depends on the payment provider.
22833
+ */
22834
+ refundDisabled?: boolean;
22835
+ }
22836
+ /** @oneof */
22837
+ interface PaymentPaymentDetailsOneOf$2 {
22838
+ /** Regular payment details. */
22839
+ regularPaymentDetails?: RegularPaymentDetails$2;
22840
+ /** Gift card payment details. */
22841
+ giftcardPaymentDetails?: GiftCardPaymentDetails$2;
22842
+ }
22843
+ interface RegularPaymentDetails$2 extends RegularPaymentDetailsPaymentMethodDetailsOneOf$2 {
22844
+ /** Whether regular card used */
22845
+ creditCardDetails?: CreditCardPaymentMethodDetails$2;
22846
+ /** Wix Payments order ID. */
22847
+ paymentOrderId?: string | null;
22848
+ /**
22849
+ * Payment gateway's transaction ID. This ID can be used with the Wix Payments [Transactions API](https://dev.wix.com/docs/rest/api-reference/wix-payments/transactions/introduction).
22850
+ * This field is only returned when the value of `offline_payment` is `false`.
22851
+ */
22852
+ gatewayTransactionId?: string | null;
22853
+ /**
22854
+ * Payment method. Non-exhaustive list of supported values:
22855
+ * + `CreditCard`, `Alipay`, `AstropayCash`, `AstropayDBT`, `AstropayMBT`, `Bitcoin`, `BitPay`, `Cash`, `ConvenienceStore`, `EPay`, `Fake`, `Giropay`, `IDeal`, `InPerson`, `Klarna`, `MercadoPago`, `Netpay`, `NordeaSolo`, `Offline`, `PagSeguro`, `PayEasy`, `PayPal`, `Paysafecard`, `Paysafecash`, `PointOfSale`, `Poli`, `Privat24`, `Przelewy24`, `RapidTransfer`, `Sepa`, `Skrill`, `Sofort`, `Trustly`, `Neteller`, `Unionpay`, `UniPay`, `Yandex`
22856
+ */
22857
+ paymentMethod?: string | null;
22858
+ /** Transaction ID in the payment provider's system. For example, at PayPal, Square, Stripe, etc. Not returned for offline payments. */
22859
+ providerTransactionId?: string | null;
22860
+ /** Whether the payment was made offline. For example, when using cash or when marked as paid in the Business Manager. */
22861
+ offlinePayment?: boolean;
22862
+ /** Payment status. */
22863
+ status?: TransactionStatus$2;
22864
+ /** Whether there is a payment agreement that allows for future charges. */
22865
+ savedPaymentMethod?: boolean;
22866
+ /** Authorization details. */
22867
+ authorizationDetails?: AuthorizationDetails$2;
22868
+ }
22869
+ /** @oneof */
22870
+ interface RegularPaymentDetailsPaymentMethodDetailsOneOf$2 {
22871
+ /** Whether regular card used */
22872
+ creditCardDetails?: CreditCardPaymentMethodDetails$2;
22873
+ }
22874
+ declare enum TransactionStatus$2 {
22875
+ UNDEFINED = "UNDEFINED",
22876
+ APPROVED = "APPROVED",
22877
+ PENDING = "PENDING",
22878
+ PENDING_MERCHANT = "PENDING_MERCHANT",
22879
+ CANCELED = "CANCELED",
22880
+ DECLINED = "DECLINED",
22881
+ REFUNDED = "REFUNDED",
22882
+ PARTIALLY_REFUNDED = "PARTIALLY_REFUNDED",
22883
+ AUTHORIZED = "AUTHORIZED",
22884
+ VOIDED = "VOIDED"
22885
+ }
22886
+ interface CreditCardPaymentMethodDetails$2 {
22887
+ /** The last 4 digits of the card number. */
22888
+ lastFourDigits?: string | null;
22889
+ /** Card issuer's brand. */
22890
+ brand?: string | null;
22891
+ }
22892
+ interface AuthorizationDetails$2 {
22893
+ /**
22894
+ * Whether the authorized payment is of a delayed capture.
22895
+ * @readonly
22896
+ */
22897
+ delayedCapture?: boolean;
22898
+ /** Date and time the payment was authorized in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format. */
22899
+ authorizedDate?: Date;
22900
+ /**
22901
+ * List of captures associated with payment
22902
+ * In case of failed it can be replaced with new one with PENDING or SUCCESS statuses
22903
+ */
22904
+ captures?: AuthorizationCapture$2[];
22905
+ /** Void associated with payment */
22906
+ void?: AuthorizationVoid$2;
22907
+ /** Scheduled action for this transaction */
22908
+ scheduledAction?: V1ScheduledAction;
22909
+ }
22910
+ interface AuthorizationCapture$2 {
22911
+ /**
22912
+ * Capture ID.
22913
+ * @readonly
22914
+ */
22915
+ _id?: string | null;
22916
+ /** Status of this capture action */
22917
+ status?: AuthorizationCaptureStatus$2;
22918
+ /** Amount of this capture */
22919
+ amount?: Price$2;
22920
+ /** Date and time the capture was initiated in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format. */
22921
+ _createdDate?: Date;
22922
+ /** In case of status is FAILED may contain failure details */
22923
+ failureDetails?: AuthorizationActionFailureDetails$2;
22924
+ }
22925
+ declare enum AuthorizationCaptureStatus$2 {
22926
+ UNKNOWN_STATUS = "UNKNOWN_STATUS",
22927
+ /** Whether capture operation still in progress */
22928
+ PENDING = "PENDING",
22929
+ /** The capture operation was succeeded */
22930
+ SUCCEEDED = "SUCCEEDED",
22931
+ /** The capture operation was failed */
22932
+ FAILED = "FAILED"
22933
+ }
22934
+ interface AuthorizationActionFailureDetails$2 {
22935
+ failureCode?: string;
22936
+ }
22937
+ interface AuthorizationVoid$2 {
22938
+ /** Status of this void action */
22939
+ status?: AuthorizationVoidStatus$2;
22940
+ /** Date and time the void was initiated in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format. */
22941
+ voidedDate?: Date;
22942
+ /** In case of status is FAILED may contain failure details */
22943
+ failureDetails?: AuthorizationActionFailureDetails$2;
22944
+ /** Reason of void action */
22945
+ reason?: Reason$2;
22946
+ }
22947
+ declare enum AuthorizationVoidStatus$2 {
22948
+ UNKNOWN_STATUS = "UNKNOWN_STATUS",
22949
+ /** Whether void operation still in progress */
22950
+ PENDING = "PENDING",
22951
+ /** The void operation was succeeded */
22952
+ SUCCEEDED = "SUCCEEDED",
22953
+ /** The void operation was failed */
22954
+ FAILED = "FAILED"
22955
+ }
22956
+ /**
22957
+ * Reason the authorization was voided.
22958
+ *
22959
+ * + `MANUAL`: Authorization was voided by user.
22960
+ * + `SCHEDULED`: Authorization passed execution date.
22961
+ */
22962
+ declare enum Reason$2 {
22963
+ UNKNOWN_REASON = "UNKNOWN_REASON",
22964
+ MANUAL = "MANUAL",
22965
+ SCHEDULED = "SCHEDULED"
22966
+ }
22967
+ interface V1ScheduledAction {
22968
+ /** type of the action */
22969
+ actionType?: ActionType$2;
22970
+ /** the date and time of the action */
22971
+ executionDate?: Date;
22972
+ }
22973
+ declare enum ActionType$2 {
22974
+ UNKNOWN_ACTION_TYPE = "UNKNOWN_ACTION_TYPE",
22975
+ VOID = "VOID",
22976
+ CAPTURE = "CAPTURE"
22977
+ }
22978
+ interface GiftCardPaymentDetails$2 {
22979
+ /** Gift card payment ID. */
22980
+ giftCardPaymentId?: string;
22981
+ /** ID of the app that created the gift card. */
22982
+ appId?: string;
22983
+ /**
22984
+ * Whether the gift card is voided.
22985
+ * @readonly
22986
+ */
22987
+ voided?: boolean;
22988
+ }
22989
+ interface MembershipPaymentDetails$2 {
22990
+ /** Membership ID. */
22991
+ membershipId?: string;
22992
+ /** ID of the line item this membership applies to. */
22993
+ lineItemId?: string;
22994
+ /** Payment status. */
22995
+ status?: MembershipPaymentStatus$2;
22996
+ /** Membership name. */
22997
+ name?: MembershipName$3;
22998
+ /** The transaction ID in the membership system. Can be used to void the transaction. */
22999
+ externalTransactionId?: string | null;
23000
+ /**
23001
+ * Whether the membership is voided.
23002
+ * @readonly
23003
+ */
23004
+ voided?: boolean;
23005
+ /** ID of the application providing this payment option. */
23006
+ providerAppId?: string;
23007
+ }
23008
+ declare enum MembershipPaymentStatus$2 {
23009
+ /** CHARGED - Payment was charged */
23010
+ CHARGED = "CHARGED",
23011
+ /** CHARGE_FAILED - The attempt to charge that payment have failed, for example due to lack of credits */
23012
+ CHARGE_FAILED = "CHARGE_FAILED"
23013
+ }
23014
+ interface MembershipName$3 {
23015
+ /** The name of this membership */
23016
+ original?: string;
23017
+ /** Optional - Translated name of this membership. Defaults to `original` when not provided. */
23018
+ translated?: string | null;
23019
+ }
23020
+ interface Refund$2 {
23021
+ /**
23022
+ * Refund ID.
23023
+ * @readonly
23024
+ */
23025
+ _id?: string;
23026
+ /** List of transactions. */
23027
+ transactions?: RefundTransaction$2[];
23028
+ /** Refund business details. */
23029
+ details?: RefundDetails$2;
23030
+ /** Date and time the refund was created in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format. Defaults to current time when not provided. */
23031
+ _createdDate?: Date;
23032
+ }
23033
+ interface RefundTransaction$2 {
23034
+ /** ID of the payment associated with this refund. */
23035
+ paymentId?: string;
23036
+ /** Refund amount. */
23037
+ amount?: Price$2;
23038
+ /** Refund status. */
23039
+ refundStatus?: RefundStatus$2;
23040
+ /**
23041
+ * Payment gateway's refund ID. This ID can be used with the Wix Payments [Transactions API](https://dev.wix.com/docs/rest/api-reference/wix-payments/transactions/introduction).
23042
+ * This field is only returned when the value of `external_refund` is `false`.
23043
+ */
23044
+ gatewayRefundId?: string | null;
23045
+ /** ID of the refund in the payment provider's system. For example, at PayPal, Square, Stripe, etc. Not returned for external refunds. */
23046
+ providerRefundId?: string | null;
23047
+ /** Whether refund was made externally and manually on the payment provider's side. */
23048
+ externalRefund?: boolean;
23053
23049
  }
23054
- interface QueryOrdersForMetasiteResponse {
23055
- /** found exisitng orders according to pagination and query provided. */
23056
- orders?: Order$1[];
23057
- /** Details on the paged set of results returned. */
23058
- pagingMetadata?: PlatformPagingMetadata;
23050
+ /**
23051
+ * Refund transaction status.
23052
+ * + `PENDING`: Refund was initiated on payment provider side. PENDING status was assigned by provider.
23053
+ * + `SUCCEEDED`: Refund transaction succeeded.
23054
+ * + `FAILED`: Refund transaction failed.
23055
+ * + `SCHEDULED`: Refund request acknowledged, and will be executed soon.
23056
+ * + `STARTED`: Refund was initiated on payment provider side.
23057
+ */
23058
+ declare enum RefundStatus$2 {
23059
+ PENDING = "PENDING",
23060
+ SUCCEEDED = "SUCCEEDED",
23061
+ FAILED = "FAILED",
23062
+ SCHEDULED = "SCHEDULED",
23063
+ STARTED = "STARTED"
23059
23064
  }
23060
- interface PlatformPagingMetadata {
23061
- /** The number of items returned in this response. */
23062
- count?: number | null;
23063
- /** The offset which was requested. Returned if offset paging was used. */
23064
- offset?: number | null;
23065
- /** The total number of items that match the query. Returned if offset paging was used. */
23066
- total?: number | null;
23067
- /** Cursors to navigate through result pages. Returned if cursor paging was used. */
23068
- cursors?: Cursors$5;
23065
+ /** Business model of a refund request */
23066
+ interface RefundDetails$2 {
23067
+ /** Order line item IDs and quantities that were refunded. */
23068
+ items?: RefundItem$2[];
23069
+ /** Whether the shipping fee was also refunded. */
23070
+ shippingIncluded?: boolean;
23071
+ /** Reason for the refund, provided by customer (optional). */
23072
+ reason?: string | null;
23069
23073
  }
23070
- interface Cursors$5 {
23071
- /** Cursor string pointing to the next page in the list of results. */
23072
- next?: string | null;
23073
- /** Cursor pointing to the previous page in the list of results. */
23074
- prev?: string | null;
23074
+ interface RefundItem$2 {
23075
+ /** Line item ID the refunded line item. */
23076
+ lineItemId?: string;
23077
+ /** Line item quantity refunded. */
23078
+ quantity?: number;
23075
23079
  }
23076
- interface GetOrderForMetasiteRequest {
23077
- /** meta site Id for EP order to retrieve */
23078
- metasiteId?: string;
23079
- /** Order Id for EP order to retrieve */
23080
- orderId?: string;
23080
+ interface LineItemRefund$2 {
23081
23081
  }
23082
- interface GetOrderForMetasiteResponse {
23083
- /** Existing EP order */
23084
- order?: Order$1;
23082
+ interface AdditionalFeeRefund$2 {
23085
23083
  }
23086
- interface ListOrderTransactionsForMetasiteRequest {
23087
- /** meta site Id for EP order transactions to retrieve */
23088
- metasiteId?: string;
23089
- /** Order Id for EP order transactions to retrieve */
23090
- orderId?: string;
23084
+ interface ShippingRefund$2 {
23091
23085
  }
23092
- interface ListOrderTransactionsForMetasiteResponse {
23093
- /** Order ID and its associated transactions. */
23094
- orderTransactions?: OrderTransactions$2;
23086
+ interface AggregatedRefundSummary$2 {
23095
23087
  }
23096
23088
  interface UpsertRefundRequest {
23097
23089
  /** Meta site ID. */
@@ -23111,76 +23103,6 @@ interface TestUrlAdditionalBindingsRequest {
23111
23103
  interface TestUrlAdditionalBindingsResponse {
23112
23104
  responseString?: string;
23113
23105
  }
23114
- interface DomainEvent$6 extends DomainEventBodyOneOf$6 {
23115
- createdEvent?: EntityCreatedEvent$6;
23116
- updatedEvent?: EntityUpdatedEvent$6;
23117
- deletedEvent?: EntityDeletedEvent$6;
23118
- actionEvent?: ActionEvent$6;
23119
- /**
23120
- * Unique event ID.
23121
- * Allows clients to ignore duplicate webhooks.
23122
- */
23123
- _id?: string;
23124
- /**
23125
- * Assumes actions are also always typed to an entity_type
23126
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
23127
- */
23128
- entityFqdn?: string;
23129
- /**
23130
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
23131
- * This is although the created/updated/deleted notion is duplication of the oneof types
23132
- * Example: created/updated/deleted/started/completed/email_opened
23133
- */
23134
- slug?: string;
23135
- /** ID of the entity associated with the event. */
23136
- entityId?: string;
23137
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
23138
- eventTime?: Date;
23139
- /**
23140
- * Whether the event was triggered as a result of a privacy regulation application
23141
- * (for example, GDPR).
23142
- */
23143
- triggeredByAnonymizeRequest?: boolean | null;
23144
- /** If present, indicates the action that triggered the event. */
23145
- originatedFrom?: string | null;
23146
- /**
23147
- * A sequence number defining the order of updates to the underlying entity.
23148
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
23149
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
23150
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
23151
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
23152
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
23153
- */
23154
- entityEventSequence?: string | null;
23155
- }
23156
- /** @oneof */
23157
- interface DomainEventBodyOneOf$6 {
23158
- createdEvent?: EntityCreatedEvent$6;
23159
- updatedEvent?: EntityUpdatedEvent$6;
23160
- deletedEvent?: EntityDeletedEvent$6;
23161
- actionEvent?: ActionEvent$6;
23162
- }
23163
- interface EntityCreatedEvent$6 {
23164
- entity?: string;
23165
- }
23166
- interface RestoreInfo$6 {
23167
- deletedDate?: Date;
23168
- }
23169
- interface EntityUpdatedEvent$6 {
23170
- /**
23171
- * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
23172
- * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
23173
- * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
23174
- */
23175
- currentEntity?: string;
23176
- }
23177
- interface EntityDeletedEvent$6 {
23178
- /** Entity that was deleted */
23179
- deletedEntity?: string | null;
23180
- }
23181
- interface ActionEvent$6 {
23182
- body?: string;
23183
- }
23184
23106
  interface MessageEnvelope$6 {
23185
23107
  /** App instance ID. */
23186
23108
  instanceId?: string | null;
@@ -23328,6 +23250,76 @@ interface TriggerReindexRequest {
23328
23250
  }
23329
23251
  interface TriggerReindexResponse {
23330
23252
  }
23253
+ interface DomainEvent$6 extends DomainEventBodyOneOf$6 {
23254
+ createdEvent?: EntityCreatedEvent$6;
23255
+ updatedEvent?: EntityUpdatedEvent$6;
23256
+ deletedEvent?: EntityDeletedEvent$6;
23257
+ actionEvent?: ActionEvent$6;
23258
+ /**
23259
+ * Unique event ID.
23260
+ * Allows clients to ignore duplicate webhooks.
23261
+ */
23262
+ _id?: string;
23263
+ /**
23264
+ * Assumes actions are also always typed to an entity_type
23265
+ * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
23266
+ */
23267
+ entityFqdn?: string;
23268
+ /**
23269
+ * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
23270
+ * This is although the created/updated/deleted notion is duplication of the oneof types
23271
+ * Example: created/updated/deleted/started/completed/email_opened
23272
+ */
23273
+ slug?: string;
23274
+ /** ID of the entity associated with the event. */
23275
+ entityId?: string;
23276
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
23277
+ eventTime?: Date;
23278
+ /**
23279
+ * Whether the event was triggered as a result of a privacy regulation application
23280
+ * (for example, GDPR).
23281
+ */
23282
+ triggeredByAnonymizeRequest?: boolean | null;
23283
+ /** If present, indicates the action that triggered the event. */
23284
+ originatedFrom?: string | null;
23285
+ /**
23286
+ * A sequence number defining the order of updates to the underlying entity.
23287
+ * For example, given that some entity was updated at 16:00 and than again at 16:01,
23288
+ * it is guaranteed that the sequence number of the second update is strictly higher than the first.
23289
+ * As the consumer, you can use this value to ensure that you handle messages in the correct order.
23290
+ * To do so, you will need to persist this number on your end, and compare the sequence number from the
23291
+ * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
23292
+ */
23293
+ entityEventSequence?: string | null;
23294
+ }
23295
+ /** @oneof */
23296
+ interface DomainEventBodyOneOf$6 {
23297
+ createdEvent?: EntityCreatedEvent$6;
23298
+ updatedEvent?: EntityUpdatedEvent$6;
23299
+ deletedEvent?: EntityDeletedEvent$6;
23300
+ actionEvent?: ActionEvent$6;
23301
+ }
23302
+ interface EntityCreatedEvent$6 {
23303
+ entity?: string;
23304
+ }
23305
+ interface RestoreInfo$6 {
23306
+ deletedDate?: Date;
23307
+ }
23308
+ interface EntityUpdatedEvent$6 {
23309
+ /**
23310
+ * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
23311
+ * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
23312
+ * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
23313
+ */
23314
+ currentEntity?: string;
23315
+ }
23316
+ interface EntityDeletedEvent$6 {
23317
+ /** Entity that was deleted */
23318
+ deletedEntity?: string | null;
23319
+ }
23320
+ interface ActionEvent$6 {
23321
+ body?: string;
23322
+ }
23331
23323
  interface Empty$4 {
23332
23324
  }
23333
23325
  interface BatchOfTriggerReindexOrderRequest {
@@ -23452,21 +23444,6 @@ interface PreviewResendDownloadLinksEmailRequest {
23452
23444
  interface PreviewResendDownloadLinksEmailResponse {
23453
23445
  emailPreview?: string;
23454
23446
  }
23455
- interface ItemTaxFullDetails$1 {
23456
- /** Taxable amount of this line item. */
23457
- taxableAmount?: Price$2;
23458
- /** Tax rate percentage, as a decimal numeral between 0 and 1. For example, `"0.13"`. */
23459
- taxRate?: string;
23460
- /** The calculated tax, based on the `taxableAmount` and `taxRate`. */
23461
- totalTax?: Price$2;
23462
- }
23463
- interface TaxSummary$1 {
23464
- /**
23465
- * Total tax.
23466
- * @readonly
23467
- */
23468
- totalTax?: Price$2;
23469
- }
23470
23447
  interface PreparePaymentCollectionRequest {
23471
23448
  /** Ecom order ID. */
23472
23449
  ecomOrderId?: string;
@@ -24072,7 +24049,7 @@ interface DraftOrderDiffs extends DraftOrderDiffsShippingUpdateInfoOneOf, DraftO
24072
24049
  * @replacedBy tax_info
24073
24050
  * @targetRemovalDate 2024-09-30
24074
24051
  */
24075
- taxSummary?: ApiTaxSummary;
24052
+ taxSummary?: TaxSummary$1;
24076
24053
  /**
24077
24054
  * Updated order price summary. overwrites existing price summary.
24078
24055
  * balance will be updated automatically.
@@ -24168,7 +24145,7 @@ interface OrderLineItemChangedDetails {
24168
24145
  * @replacedBy tax_info
24169
24146
  * @targetRemovalDate 2024-09-30
24170
24147
  */
24171
- taxDetails?: ApiItemTaxFullDetails;
24148
+ taxDetails?: ItemTaxFullDetails$1;
24172
24149
  /** Additional description for the price. For example, when price is 0 but additional details about the actual price are needed - "Starts at $67". */
24173
24150
  priceDescription?: PriceDescription;
24174
24151
  /** Total price **after** catalog-defined discount and line item discounts. */
@@ -24879,7 +24856,7 @@ interface V1RestockItem {
24879
24856
  }
24880
24857
  interface BulkUpdateOrderTagsRequest {
24881
24858
  /** IDs of orders to update tags for. */
24882
- orderIds?: string[];
24859
+ orderIds: string[];
24883
24860
  /** Tags to be added to orders */
24884
24861
  assignTags?: Tags;
24885
24862
  /** Tags to be removed from orders */
@@ -25458,7 +25435,7 @@ interface ItemTypeNonNullableFields {
25458
25435
  preset: ItemTypeItemType$1;
25459
25436
  custom: string;
25460
25437
  }
25461
- interface ApiItemTaxFullDetailsNonNullableFields {
25438
+ interface ItemTaxFullDetailsNonNullableFields$1 {
25462
25439
  taxableAmount?: PriceNonNullableFields$2;
25463
25440
  taxRate: string;
25464
25441
  totalTax?: PriceNonNullableFields$2;
@@ -25510,7 +25487,7 @@ interface OrderLineItemNonNullableFields {
25510
25487
  totalPriceBeforeTax?: PriceNonNullableFields$2;
25511
25488
  totalPriceAfterTax?: PriceNonNullableFields$2;
25512
25489
  paymentOption: PaymentOptionType$1;
25513
- taxDetails?: ApiItemTaxFullDetailsNonNullableFields;
25490
+ taxDetails?: ItemTaxFullDetailsNonNullableFields$1;
25514
25491
  taxInfo?: LineItemTaxInfoNonNullableFields;
25515
25492
  digitalFile?: DigitalFileNonNullableFields;
25516
25493
  subscriptionInfo?: SubscriptionInfoNonNullableFields;
@@ -25568,7 +25545,7 @@ interface ShippingPriceNonNullableFields$1 {
25568
25545
  price?: PriceNonNullableFields$2;
25569
25546
  totalPriceBeforeTax?: PriceNonNullableFields$2;
25570
25547
  totalPriceAfterTax?: PriceNonNullableFields$2;
25571
- taxDetails?: ApiItemTaxFullDetailsNonNullableFields;
25548
+ taxDetails?: ItemTaxFullDetailsNonNullableFields$1;
25572
25549
  discount?: PriceNonNullableFields$2;
25573
25550
  }
25574
25551
  interface V1ShippingInformationNonNullableFields {
@@ -25576,7 +25553,7 @@ interface V1ShippingInformationNonNullableFields {
25576
25553
  logistics?: DeliveryLogisticsNonNullableFields$1;
25577
25554
  cost?: ShippingPriceNonNullableFields$1;
25578
25555
  }
25579
- interface ApiTaxSummaryNonNullableFields {
25556
+ interface TaxSummaryNonNullableFields$1 {
25580
25557
  totalTax?: PriceNonNullableFields$2;
25581
25558
  }
25582
25559
  interface OrderTaxBreakdownNonNullableFields {
@@ -25786,11 +25763,12 @@ interface BalanceSummaryNonNullableFields {
25786
25763
  paid?: PriceNonNullableFields$2;
25787
25764
  refunded?: PriceNonNullableFields$2;
25788
25765
  authorized?: PriceNonNullableFields$2;
25766
+ pendingRefund?: PriceNonNullableFields$2;
25789
25767
  }
25790
25768
  interface AdditionalFeeNonNullableFields {
25791
25769
  name: string;
25792
25770
  price?: PriceNonNullableFields$2;
25793
- taxDetails?: ApiItemTaxFullDetailsNonNullableFields;
25771
+ taxDetails?: ItemTaxFullDetailsNonNullableFields$1;
25794
25772
  priceBeforeTax?: PriceNonNullableFields$2;
25795
25773
  priceAfterTax?: PriceNonNullableFields$2;
25796
25774
  _id: string;
@@ -25815,7 +25793,7 @@ interface OrderNonNullableFields {
25815
25793
  billingInfo?: AddressWithContactNonNullableFields;
25816
25794
  shippingInfo?: V1ShippingInformationNonNullableFields;
25817
25795
  status: OrderStatus;
25818
- taxSummary?: ApiTaxSummaryNonNullableFields;
25796
+ taxSummary?: TaxSummaryNonNullableFields$1;
25819
25797
  taxInfo?: OrderTaxInfoNonNullableFields;
25820
25798
  appliedDiscounts: AppliedDiscountNonNullableFields$1[];
25821
25799
  activities: ActivityNonNullableFields[];
@@ -25867,6 +25845,13 @@ interface BulkUpdateOrdersResponseNonNullableFields {
25867
25845
  interface CancelOrderResponseNonNullableFields {
25868
25846
  order?: OrderNonNullableFields;
25869
25847
  }
25848
+ interface BulkUpdateOrderTagsResultNonNullableFields {
25849
+ itemMetadata?: ItemMetadataNonNullableFields$1;
25850
+ }
25851
+ interface BulkUpdateOrderTagsResponseNonNullableFields {
25852
+ results: BulkUpdateOrderTagsResultNonNullableFields[];
25853
+ bulkActionMetadata?: BulkActionMetadataNonNullableFields$1;
25854
+ }
25870
25855
  interface BaseEventMetadata$5 {
25871
25856
  /** App instance ID. */
25872
25857
  instanceId?: string | null;
@@ -25917,6 +25902,10 @@ interface OrderPaymentStatusUpdatedEnvelope {
25917
25902
  data: PaymentStatusUpdated;
25918
25903
  metadata: EventMetadata$5;
25919
25904
  }
25905
+ interface OrderUpdatedEnvelope {
25906
+ entity: Order$1;
25907
+ metadata: EventMetadata$5;
25908
+ }
25920
25909
  interface OrderCreatedEnvelope {
25921
25910
  entity: Order$1;
25922
25911
  metadata: EventMetadata$5;
@@ -26023,7 +26012,7 @@ interface UpdateOrder {
26023
26012
  * @replacedBy tax_info
26024
26013
  * @targetRemovalDate 2024-09-30
26025
26014
  */
26026
- taxSummary?: ApiTaxSummary;
26015
+ taxSummary?: TaxSummary$1;
26027
26016
  /** Tax information. */
26028
26017
  taxInfo?: OrderTaxInfo;
26029
26018
  /** Applied discounts. */
@@ -26088,6 +26077,12 @@ interface CancelOrderOptions {
26088
26077
  /** Whether to restock all items in the order. This will only apply to products in the Wix Stores inventory. */
26089
26078
  restockAllItems?: boolean;
26090
26079
  }
26080
+ interface BulkUpdateOrderTagsOptions {
26081
+ /** Tags to be added to orders */
26082
+ assignTags?: Tags;
26083
+ /** Tags to be removed from orders */
26084
+ unassignTags?: Tags;
26085
+ }
26091
26086
 
26092
26087
  declare function getPaymentCollectabilityStatus$1(httpClient: HttpClient): GetPaymentCollectabilityStatusSignature;
26093
26088
  interface GetPaymentCollectabilityStatusSignature {
@@ -26245,7 +26240,17 @@ interface CancelOrderSignature {
26245
26240
  */
26246
26241
  (_id: string, options?: CancelOrderOptions | undefined): Promise<CancelOrderResponse & CancelOrderResponseNonNullableFields>;
26247
26242
  }
26243
+ declare function bulkUpdateOrderTags$1(httpClient: HttpClient): BulkUpdateOrderTagsSignature;
26244
+ interface BulkUpdateOrderTagsSignature {
26245
+ /**
26246
+ * Synchronously update tags on multiple orders, by list of order ids
26247
+ * A tag that appears both in the list of assign and unassign tags, will be assigned
26248
+ * @param - IDs of orders to update tags for.
26249
+ */
26250
+ (orderIds: string[], options?: BulkUpdateOrderTagsOptions | undefined): Promise<BulkUpdateOrderTagsResponse & BulkUpdateOrderTagsResponseNonNullableFields>;
26251
+ }
26248
26252
  declare const onOrderPaymentStatusUpdated$1: EventDefinition<OrderPaymentStatusUpdatedEnvelope, "wix.ecom.v1.order_payment_status_updated">;
26253
+ declare const onOrderUpdated$1: EventDefinition<OrderUpdatedEnvelope, "wix.ecom.v1.order_updated">;
26249
26254
  declare const onOrderCreated$1: EventDefinition<OrderCreatedEnvelope, "wix.ecom.v1.order_created">;
26250
26255
  declare const onOrderCanceled$1: EventDefinition<OrderCanceledEnvelope, "wix.ecom.v1.order_canceled">;
26251
26256
  declare const onOrderApproved$1: EventDefinition<OrderApprovedEnvelope, "wix.ecom.v1.order_approved">;
@@ -26261,6 +26266,7 @@ declare const createOrder: BuildRESTFunction<typeof createOrder$1> & typeof crea
26261
26266
  declare const updateOrder: BuildRESTFunction<typeof updateOrder$1> & typeof updateOrder$1;
26262
26267
  declare const bulkUpdateOrders: BuildRESTFunction<typeof bulkUpdateOrders$1> & typeof bulkUpdateOrders$1;
26263
26268
  declare const cancelOrder: BuildRESTFunction<typeof cancelOrder$1> & typeof cancelOrder$1;
26269
+ declare const bulkUpdateOrderTags: BuildRESTFunction<typeof bulkUpdateOrderTags$1> & typeof bulkUpdateOrderTags$1;
26264
26270
 
26265
26271
  type _publicOnOrderPaymentStatusUpdatedType = typeof onOrderPaymentStatusUpdated$1;
26266
26272
  /**
@@ -26268,6 +26274,10 @@ type _publicOnOrderPaymentStatusUpdatedType = typeof onOrderPaymentStatusUpdated
26268
26274
  */
26269
26275
  declare const onOrderPaymentStatusUpdated: ReturnType<typeof createEventModule$5<_publicOnOrderPaymentStatusUpdatedType>>;
26270
26276
 
26277
+ type _publicOnOrderUpdatedType = typeof onOrderUpdated$1;
26278
+ /** */
26279
+ declare const onOrderUpdated: ReturnType<typeof createEventModule$5<_publicOnOrderUpdatedType>>;
26280
+
26271
26281
  type _publicOnOrderCreatedType = typeof onOrderCreated$1;
26272
26282
  /**
26273
26283
  * Triggered when an order is created.
@@ -26302,8 +26312,6 @@ type context$8_AddressDescription = AddressDescription;
26302
26312
  type context$8_AddressWithContact = AddressWithContact;
26303
26313
  type context$8_AggregateOrdersRequest = AggregateOrdersRequest;
26304
26314
  type context$8_AggregateOrdersResponse = AggregateOrdersResponse;
26305
- type context$8_ApiItemTaxFullDetails = ApiItemTaxFullDetails;
26306
- type context$8_ApiTaxSummary = ApiTaxSummary;
26307
26315
  type context$8_App = App;
26308
26316
  type context$8_AppliedDiscountDelta = AppliedDiscountDelta;
26309
26317
  type context$8_AppliedDiscountDeltaDeltaOneOf = AppliedDiscountDeltaDeltaOneOf;
@@ -26341,8 +26349,10 @@ type context$8_BulkUnArchiveOrdersByFilterRequest = BulkUnArchiveOrdersByFilterR
26341
26349
  type context$8_BulkUnArchiveOrdersByFilterResponse = BulkUnArchiveOrdersByFilterResponse;
26342
26350
  type context$8_BulkUnArchiveOrdersRequest = BulkUnArchiveOrdersRequest;
26343
26351
  type context$8_BulkUnArchiveOrdersResponse = BulkUnArchiveOrdersResponse;
26352
+ type context$8_BulkUpdateOrderTagsOptions = BulkUpdateOrderTagsOptions;
26344
26353
  type context$8_BulkUpdateOrderTagsRequest = BulkUpdateOrderTagsRequest;
26345
26354
  type context$8_BulkUpdateOrderTagsResponse = BulkUpdateOrderTagsResponse;
26355
+ type context$8_BulkUpdateOrderTagsResponseNonNullableFields = BulkUpdateOrderTagsResponseNonNullableFields;
26346
26356
  type context$8_BulkUpdateOrderTagsResult = BulkUpdateOrderTagsResult;
26347
26357
  type context$8_BulkUpdateOrdersOptions = BulkUpdateOrdersOptions;
26348
26358
  type context$8_BulkUpdateOrdersRequest = BulkUpdateOrdersRequest;
@@ -26535,6 +26545,7 @@ type context$8_OrderStatus = OrderStatus;
26535
26545
  declare const context$8_OrderStatus: typeof OrderStatus;
26536
26546
  type context$8_OrderTaxBreakdown = OrderTaxBreakdown;
26537
26547
  type context$8_OrderTaxInfo = OrderTaxInfo;
26548
+ type context$8_OrderUpdatedEnvelope = OrderUpdatedEnvelope;
26538
26549
  type context$8_OrdersExperiments = OrdersExperiments;
26539
26550
  type context$8_PaymentCapture = PaymentCapture;
26540
26551
  type context$8_PaymentCollectabilityStatus = PaymentCollectabilityStatus;
@@ -26693,6 +26704,8 @@ type context$8__publicOnOrderApprovedType = _publicOnOrderApprovedType;
26693
26704
  type context$8__publicOnOrderCanceledType = _publicOnOrderCanceledType;
26694
26705
  type context$8__publicOnOrderCreatedType = _publicOnOrderCreatedType;
26695
26706
  type context$8__publicOnOrderPaymentStatusUpdatedType = _publicOnOrderPaymentStatusUpdatedType;
26707
+ type context$8__publicOnOrderUpdatedType = _publicOnOrderUpdatedType;
26708
+ declare const context$8_bulkUpdateOrderTags: typeof bulkUpdateOrderTags;
26696
26709
  declare const context$8_bulkUpdateOrders: typeof bulkUpdateOrders;
26697
26710
  declare const context$8_cancelOrder: typeof cancelOrder;
26698
26711
  declare const context$8_captureAuthorizedPayments: typeof captureAuthorizedPayments;
@@ -26703,11 +26716,12 @@ declare const context$8_onOrderApproved: typeof onOrderApproved;
26703
26716
  declare const context$8_onOrderCanceled: typeof onOrderCanceled;
26704
26717
  declare const context$8_onOrderCreated: typeof onOrderCreated;
26705
26718
  declare const context$8_onOrderPaymentStatusUpdated: typeof onOrderPaymentStatusUpdated;
26719
+ declare const context$8_onOrderUpdated: typeof onOrderUpdated;
26706
26720
  declare const context$8_searchOrders: typeof searchOrders;
26707
26721
  declare const context$8_updateOrder: typeof updateOrder;
26708
26722
  declare const context$8_voidAuthorizedPayments: typeof voidAuthorizedPayments;
26709
26723
  declare namespace context$8 {
26710
- export { type ActionEvent$6 as ActionEvent, ActionType$2 as ActionType, type Activity$1 as Activity, type context$8_ActivityContentOneOf as ActivityContentOneOf, ActivityType$1 as ActivityType, type context$8_AddActivitiesRequest as AddActivitiesRequest, type context$8_AddActivitiesResponse as AddActivitiesResponse, type context$8_AddActivityRequest as AddActivityRequest, type context$8_AddActivityResponse as AddActivityResponse, type context$8_AddInternalActivityRequest as AddInternalActivityRequest, type context$8_AddInternalActivityResponse as AddInternalActivityResponse, type AdditionalFee$1 as AdditionalFee, type context$8_AdditionalFeeDelta as AdditionalFeeDelta, type context$8_AdditionalFeeDeltaDeltaOneOf as AdditionalFeeDeltaDeltaOneOf, type AdditionalFeeRefund$2 as AdditionalFeeRefund, type Address$4 as Address, type context$8_AddressDescription as AddressDescription, type AddressLocation$2 as AddressLocation, type context$8_AddressWithContact as AddressWithContact, type context$8_AggregateOrdersRequest as AggregateOrdersRequest, type context$8_AggregateOrdersResponse as AggregateOrdersResponse, type AggregatedRefundSummary$2 as AggregatedRefundSummary, type context$8_ApiItemTaxFullDetails as ApiItemTaxFullDetails, type context$8_ApiTaxSummary as ApiTaxSummary, type context$8_App as App, type ApplicationError$3 as ApplicationError, type AppliedDiscount$1 as AppliedDiscount, type context$8_AppliedDiscountDelta as AppliedDiscountDelta, type context$8_AppliedDiscountDeltaDeltaOneOf as AppliedDiscountDeltaDeltaOneOf, type AppliedDiscountDiscountSourceOneOf$1 as AppliedDiscountDiscountSourceOneOf, type context$8_ArchiveOrderRequest as ArchiveOrderRequest, type context$8_ArchiveOrderResponse as ArchiveOrderResponse, context$8_AttributionSource as AttributionSource, type AuthorizationActionFailureDetails$2 as AuthorizationActionFailureDetails, type AuthorizationCapture$2 as AuthorizationCapture, AuthorizationCaptureStatus$2 as AuthorizationCaptureStatus, type AuthorizationDetails$2 as AuthorizationDetails, type AuthorizationVoid$2 as AuthorizationVoid, AuthorizationVoidStatus$2 as AuthorizationVoidStatus, type context$8_AuthorizedPaymentCaptured as AuthorizedPaymentCaptured, type context$8_AuthorizedPaymentCreated as AuthorizedPaymentCreated, type context$8_AuthorizedPaymentVoided as AuthorizedPaymentVoided, type context$8_Balance as Balance, type context$8_BalanceSummary as BalanceSummary, type BaseEventMetadata$5 as BaseEventMetadata, type context$8_BatchOfTriggerReindexOrderRequest as BatchOfTriggerReindexOrderRequest, type context$8_BigDecimalWrapper as BigDecimalWrapper, type BulkActionMetadata$1 as BulkActionMetadata, type context$8_BulkArchiveOrdersByFilterRequest as BulkArchiveOrdersByFilterRequest, type context$8_BulkArchiveOrdersByFilterResponse as BulkArchiveOrdersByFilterResponse, type context$8_BulkArchiveOrdersRequest as BulkArchiveOrdersRequest, type context$8_BulkArchiveOrdersResponse as BulkArchiveOrdersResponse, type context$8_BulkMarkAsFulfilledByFilterRequest as BulkMarkAsFulfilledByFilterRequest, type context$8_BulkMarkAsFulfilledByFilterResponse as BulkMarkAsFulfilledByFilterResponse, type context$8_BulkMarkAsFulfilledRequest as BulkMarkAsFulfilledRequest, type context$8_BulkMarkAsFulfilledResponse as BulkMarkAsFulfilledResponse, type context$8_BulkMarkAsUnfulfilledByFilterRequest as BulkMarkAsUnfulfilledByFilterRequest, type context$8_BulkMarkAsUnfulfilledByFilterResponse as BulkMarkAsUnfulfilledByFilterResponse, type context$8_BulkMarkAsUnfulfilledRequest as BulkMarkAsUnfulfilledRequest, type context$8_BulkMarkAsUnfulfilledResponse as BulkMarkAsUnfulfilledResponse, type context$8_BulkMarkOrdersAsPaidRequest as BulkMarkOrdersAsPaidRequest, type context$8_BulkMarkOrdersAsPaidResponse as BulkMarkOrdersAsPaidResponse, type context$8_BulkOrderResult as BulkOrderResult, type context$8_BulkSendBuyerPickupConfirmationEmailsRequest as BulkSendBuyerPickupConfirmationEmailsRequest, type context$8_BulkSendBuyerPickupConfirmationEmailsResponse as BulkSendBuyerPickupConfirmationEmailsResponse, type context$8_BulkSendBuyerShippingConfirmationEmailsRequest as BulkSendBuyerShippingConfirmationEmailsRequest, type context$8_BulkSendBuyerShippingConfirmationEmailsResponse as BulkSendBuyerShippingConfirmationEmailsResponse, type context$8_BulkUnArchiveOrdersByFilterRequest as BulkUnArchiveOrdersByFilterRequest, type context$8_BulkUnArchiveOrdersByFilterResponse as BulkUnArchiveOrdersByFilterResponse, type context$8_BulkUnArchiveOrdersRequest as BulkUnArchiveOrdersRequest, type context$8_BulkUnArchiveOrdersResponse as BulkUnArchiveOrdersResponse, type context$8_BulkUpdateOrderTagsRequest as BulkUpdateOrderTagsRequest, type context$8_BulkUpdateOrderTagsResponse as BulkUpdateOrderTagsResponse, type context$8_BulkUpdateOrderTagsResult as BulkUpdateOrderTagsResult, type context$8_BulkUpdateOrdersOptions as BulkUpdateOrdersOptions, type context$8_BulkUpdateOrdersRequest as BulkUpdateOrdersRequest, type context$8_BulkUpdateOrdersResponse as BulkUpdateOrdersResponse, type context$8_BulkUpdateOrdersResponseNonNullableFields as BulkUpdateOrdersResponseNonNullableFields, type BuyerInfo$1 as BuyerInfo, type context$8_BuyerInfoIdOneOf as BuyerInfoIdOneOf, type context$8_BuyerInfoUpdate as BuyerInfoUpdate, type CalculateRefundItemRequest$1 as CalculateRefundItemRequest, type CalculateRefundItemResponse$1 as CalculateRefundItemResponse, type CalculateRefundRequest$1 as CalculateRefundRequest, type CalculateRefundResponse$1 as CalculateRefundResponse, type context$8_CalculatedTax as CalculatedTax, type context$8_CalculatedTaxes as CalculatedTaxes, type context$8_Cancel as Cancel, type context$8_CancelOrderOptions as CancelOrderOptions, type context$8_CancelOrderRequest as CancelOrderRequest, type context$8_CancelOrderResponse as CancelOrderResponse, type context$8_CancelOrderResponseNonNullableFields as CancelOrderResponseNonNullableFields, type context$8_CaptureAuthorizedPaymentsRequest as CaptureAuthorizedPaymentsRequest, type context$8_CaptureAuthorizedPaymentsResponse as CaptureAuthorizedPaymentsResponse, type context$8_CaptureAuthorizedPaymentsResponseNonNullableFields as CaptureAuthorizedPaymentsResponseNonNullableFields, type CatalogReference$1 as CatalogReference, type ChannelInfo$1 as ChannelInfo, ChannelType$1 as ChannelType, type context$8_ChargeMembershipsRequest as ChargeMembershipsRequest, type context$8_ChargeMembershipsResponse as ChargeMembershipsResponse, type context$8_ChargeSavedPaymentMethodRequest as ChargeSavedPaymentMethodRequest, type context$8_ChargeSavedPaymentMethodResponse as ChargeSavedPaymentMethodResponse, type context$8_ChargedBy as ChargedBy, type context$8_Color as Color, type context$8_CommitDeltasRequest as CommitDeltasRequest, type context$8_CommitDeltasResponse as CommitDeltasResponse, type context$8_CommittedDiffs as CommittedDiffs, type context$8_CommittedDiffsShippingUpdateInfoOneOf as CommittedDiffsShippingUpdateInfoOneOf, type context$8_CommonAddress as CommonAddress, type context$8_CommonAddressStreetOneOf as CommonAddressStreetOneOf, type context$8_Company as Company, type context$8_Complete as Complete, type context$8_ContinueSideEffectsFlowInLegacyData as ContinueSideEffectsFlowInLegacyData, type Coupon$1 as Coupon, type context$8_CreateOrderRequest as CreateOrderRequest, type context$8_CreateOrderResponse as CreateOrderResponse, type context$8_CreateOrderResponseNonNullableFields as CreateOrderResponseNonNullableFields, type context$8_CreatePaymentGatewayOrderRequest as CreatePaymentGatewayOrderRequest, type context$8_CreatePaymentGatewayOrderResponse as CreatePaymentGatewayOrderResponse, type context$8_CreatedBy as CreatedBy, type context$8_CreatedByStringOneOf as CreatedByStringOneOf, type CreditCardPaymentMethodDetails$2 as CreditCardPaymentMethodDetails, type CursorPaging$5 as CursorPaging, type CursorPagingMetadata$5 as CursorPagingMetadata, type context$8_CursorSearch as CursorSearch, type context$8_CursorSearchPagingMethodOneOf as CursorSearchPagingMethodOneOf, type Cursors$5 as Cursors, type context$8_CustomActivity as CustomActivity, type CustomField$1 as CustomField, context$8_CustomFieldGroup as CustomFieldGroup, type context$8_CustomFieldValue as CustomFieldValue, type context$8_Customer as Customer, type context$8_DecrementData as DecrementData, type context$8_DecrementItemsQuantityRequest as DecrementItemsQuantityRequest, type context$8_DecrementItemsQuantityResponse as DecrementItemsQuantityResponse, type context$8_DelayedCaptureSettings as DelayedCaptureSettings, type context$8_DeleteActivityRequest as DeleteActivityRequest, type context$8_DeleteActivityResponse as DeleteActivityResponse, type context$8_DeleteByFilterOperation as DeleteByFilterOperation, type context$8_DeleteByIdsOperation as DeleteByIdsOperation, type DeliveryLogistics$1 as DeliveryLogistics, type context$8_DeliveryLogisticsAddressOneOf as DeliveryLogisticsAddressOneOf, type DeliveryTimeSlot$1 as DeliveryTimeSlot, context$8_DeltaPaymentOptionType as DeltaPaymentOptionType, type context$8_Deposit as Deposit, context$8_DepositType as DepositType, type context$8_DescriptionLine as DescriptionLine, type context$8_DescriptionLineDescriptionLineValueOneOf as DescriptionLineDescriptionLineValueOneOf, type context$8_DescriptionLineName as DescriptionLineName, context$8_DescriptionLineType as DescriptionLineType, type context$8_DescriptionLineValueOneOf as DescriptionLineValueOneOf, type DiffmatokyPayload$2 as DiffmatokyPayload, type DigitalFile$1 as DigitalFile, type Discount$1 as Discount, type context$8_DiscountOneDiscountTypeOneOf as DiscountOneDiscountTypeOneOf, context$8_DiscountReason as DiscountReason, type DiscountRule$1 as DiscountRule, type DiscountRuleName$1 as DiscountRuleName, DiscountType$1 as DiscountType, type DomainEvent$6 as DomainEvent, type DomainEventBodyOneOf$6 as DomainEventBodyOneOf, type context$8_DownloadLinkSent as DownloadLinkSent, type context$8_DraftOrderChangesApplied as DraftOrderChangesApplied, type context$8_DraftOrderCommitSettings as DraftOrderCommitSettings, type context$8_DraftOrderDiffs as DraftOrderDiffs, type context$8_DraftOrderDiffsBillingUpdateInfoOneOf as DraftOrderDiffsBillingUpdateInfoOneOf, type context$8_DraftOrderDiffsBuyerUpdateInfoOneOf as DraftOrderDiffsBuyerUpdateInfoOneOf, type context$8_DraftOrderDiffsRecipientUpdateInfoOneOf as DraftOrderDiffsRecipientUpdateInfoOneOf, type context$8_DraftOrderDiffsShippingUpdateInfoOneOf as DraftOrderDiffsShippingUpdateInfoOneOf, type context$8_Duration as Duration, context$8_DurationUnit as DurationUnit, type context$8_Email as Email, type context$8_EmailEdited as EmailEdited, type Empty$4 as Empty, type EntityCreatedEvent$6 as EntityCreatedEvent, type EntityDeletedEvent$6 as EntityDeletedEvent, type EntityUpdatedEvent$6 as EntityUpdatedEvent, type ErrorInformation$2 as ErrorInformation, type EventMetadata$5 as EventMetadata, type ExtendedFields$3 as ExtendedFields, type context$8_ExternalUriMapping as ExternalUriMapping, type context$8_FulfillerEmailSent as FulfillerEmailSent, FulfillmentStatus$1 as FulfillmentStatus, type context$8_FulfillmentStatusUpdated as FulfillmentStatusUpdated, type context$8_FulfillmentStatusesAggregate as FulfillmentStatusesAggregate, type context$8_FullAddressContactDetails as FullAddressContactDetails, type context$8_GetMetasiteDataRequest as GetMetasiteDataRequest, type context$8_GetMetasiteDataResponse as GetMetasiteDataResponse, type context$8_GetOrderForMetasiteRequest as GetOrderForMetasiteRequest, type context$8_GetOrderForMetasiteResponse as GetOrderForMetasiteResponse, type context$8_GetOrderRequest as GetOrderRequest, type context$8_GetOrderResponse as GetOrderResponse, type context$8_GetOrderResponseNonNullableFields as GetOrderResponseNonNullableFields, type context$8_GetPaymentCollectabilityStatusRequest as GetPaymentCollectabilityStatusRequest, type context$8_GetPaymentCollectabilityStatusResponse as GetPaymentCollectabilityStatusResponse, type context$8_GetPaymentCollectabilityStatusResponseNonNullableFields as GetPaymentCollectabilityStatusResponseNonNullableFields, type GetRefundabilityStatusRequest$1 as GetRefundabilityStatusRequest, type GetRefundabilityStatusResponse$1 as GetRefundabilityStatusResponse, type context$8_GetShipmentsRequest as GetShipmentsRequest, type context$8_GetShipmentsResponse as GetShipmentsResponse, type GiftCardPaymentDetails$2 as GiftCardPaymentDetails, type context$8_HtmlApplication as HtmlApplication, type context$8_IdAndVersion as IdAndVersion, type IdentificationData$6 as IdentificationData, type IdentificationDataIdOneOf$6 as IdentificationDataIdOneOf, type IndexingMessage$1 as IndexingMessage, type context$8_InternalActivity as InternalActivity, type context$8_InternalActivityContentOneOf as InternalActivityContentOneOf, type context$8_InternalDocument as InternalDocument, type context$8_InternalDocumentUpdateByFilterOperation as InternalDocumentUpdateByFilterOperation, type context$8_InternalDocumentUpdateOperation as InternalDocumentUpdateOperation, type context$8_InternalQueryOrdersRequest as InternalQueryOrdersRequest, type context$8_InternalQueryOrdersResponse as InternalQueryOrdersResponse, type context$8_InternalUpdateExistingOperation as InternalUpdateExistingOperation, context$8_InventoryAction as InventoryAction, type context$8_InventoryUpdateDetails as InventoryUpdateDetails, type context$8_InvoiceAdded as InvoiceAdded, type context$8_InvoiceDates as InvoiceDates, type context$8_InvoiceDynamicPriceTotals as InvoiceDynamicPriceTotals, type context$8_InvoiceFields as InvoiceFields, type context$8_InvoiceSent as InvoiceSent, type context$8_InvoiceSentEvent as InvoiceSentEvent, context$8_InvoiceStatus as InvoiceStatus, type context$8_InvoicesPayment as InvoicesPayment, type context$8_ItemChangedDetails as ItemChangedDetails, type ItemMetadata$1 as ItemMetadata, type ItemTaxFullDetails$1 as ItemTaxFullDetails, type ItemType$1 as ItemType, ItemTypeItemType$1 as ItemTypeItemType, type ItemTypeItemTypeDataOneOf$1 as ItemTypeItemTypeDataOneOf, type context$8_ItemizedFee as ItemizedFee, JurisdictionType$1 as JurisdictionType, type LineItem$2 as LineItem, type context$8_LineItemAmount as LineItemAmount, type context$8_LineItemChanges as LineItemChanges, type context$8_LineItemDelta as LineItemDelta, type context$8_LineItemDeltaDeltaOneOf as LineItemDeltaDeltaOneOf, type LineItemDiscount$1 as LineItemDiscount, type context$8_LineItemExchangeData as LineItemExchangeData, type context$8_LineItemMetaData as LineItemMetaData, type context$8_LineItemPriceChange as LineItemPriceChange, type context$8_LineItemQuantityChange as LineItemQuantityChange, context$8_LineItemQuantityChangeType as LineItemQuantityChangeType, type LineItemRefund$2 as LineItemRefund, type context$8_LineItemTax as LineItemTax, type context$8_LineItemTaxBreakdown as LineItemTaxBreakdown, type context$8_LineItemTaxInfo as LineItemTaxInfo, type context$8_LineItemUpdate as LineItemUpdate, type context$8_LineItems as LineItems, type context$8_ListOrderTransactionsForMetasiteRequest as ListOrderTransactionsForMetasiteRequest, type context$8_ListOrderTransactionsForMetasiteResponse as ListOrderTransactionsForMetasiteResponse, type context$8_Locale as Locale, type context$8_LocationAndQuantity as LocationAndQuantity, type context$8_ManagedAdditionalFee as ManagedAdditionalFee, type context$8_ManagedDiscount as ManagedDiscount, type context$8_ManagedLineItem as ManagedLineItem, ManuallyRefundableReason$1 as ManuallyRefundableReason, type context$8_MarkAsFulfilledRequest as MarkAsFulfilledRequest, type context$8_MarkAsFulfilledResponse as MarkAsFulfilledResponse, type context$8_MarkAsUnfulfilledRequest as MarkAsUnfulfilledRequest, type context$8_MarkAsUnfulfilledResponse as MarkAsUnfulfilledResponse, type context$8_MarkOrderAsPaidRequest as MarkOrderAsPaidRequest, type context$8_MarkOrderAsPaidResponse as MarkOrderAsPaidResponse, type context$8_MarkOrderAsSeenByHumanRequest as MarkOrderAsSeenByHumanRequest, type context$8_MarkOrderAsSeenByHumanResponse as MarkOrderAsSeenByHumanResponse, type context$8_MaskedOrder as MaskedOrder, type context$8_MaskedOrderLineItem as MaskedOrderLineItem, type context$8_MembershipChargeItem as MembershipChargeItem, type MembershipName$3 as MembershipName, type MembershipPaymentDetails$2 as MembershipPaymentDetails, MembershipPaymentStatus$2 as MembershipPaymentStatus, type context$8_MerchantComment as MerchantComment, type MerchantDiscount$1 as MerchantDiscount, type context$8_MerchantDiscountMerchantDiscountReasonOneOf as MerchantDiscountMerchantDiscountReasonOneOf, type MessageEnvelope$6 as MessageEnvelope, type context$8_MetaData as MetaData, type context$8_MetaSite as MetaSite, type context$8_MetaTag as MetaTag, context$8_Namespace as Namespace, type context$8_NewExchangeOrderCreated as NewExchangeOrderCreated, NonRefundableReason$1 as NonRefundableReason, type Order$1 as Order, context$8_OrderApprovalStrategy as OrderApprovalStrategy, type context$8_OrderApproved as OrderApproved, type context$8_OrderApprovedEnvelope as OrderApprovedEnvelope, type context$8_OrderCanceled as OrderCanceled, type context$8_OrderCanceledEnvelope as OrderCanceledEnvelope, type context$8_OrderCanceledEventOrderCanceled as OrderCanceledEventOrderCanceled, type context$8_OrderChange as OrderChange, type context$8_OrderChangeValueOneOf as OrderChangeValueOneOf, type context$8_OrderCreateNotifications as OrderCreateNotifications, type context$8_OrderCreatedEnvelope as OrderCreatedEnvelope, type context$8_OrderCreatedFromExchange as OrderCreatedFromExchange, type context$8_OrderCreationSettings as OrderCreationSettings, type context$8_OrderDeltasCommitted as OrderDeltasCommitted, type context$8_OrderFulfilled as OrderFulfilled, type context$8_OrderItemsRestocked as OrderItemsRestocked, type context$8_OrderLineItem as OrderLineItem, type context$8_OrderLineItemChangedDetails as OrderLineItemChangedDetails, type context$8_OrderNonNullableFields as OrderNonNullableFields, type context$8_OrderNotFulfilled as OrderNotFulfilled, type context$8_OrderPaid as OrderPaid, type context$8_OrderPartiallyPaid as OrderPartiallyPaid, type context$8_OrderPaymentStatusUpdatedEnvelope as OrderPaymentStatusUpdatedEnvelope, type context$8_OrderPlaced as OrderPlaced, type OrderRefunded$1 as OrderRefunded, context$8_OrderStatus as OrderStatus, type context$8_OrderTaxBreakdown as OrderTaxBreakdown, type context$8_OrderTaxInfo as OrderTaxInfo, type OrderTransactions$2 as OrderTransactions, type context$8_OrdersExperiments as OrdersExperiments, type Payment$2 as Payment, type context$8_PaymentCapture as PaymentCapture, context$8_PaymentCollectabilityStatus as PaymentCollectabilityStatus, PaymentOptionType$1 as PaymentOptionType, type PaymentPaymentDetailsOneOf$2 as PaymentPaymentDetailsOneOf, type PaymentRefund$1 as PaymentRefund, type context$8_PaymentRefundFailed as PaymentRefundFailed, type context$8_PaymentRefunded as PaymentRefunded, PaymentStatus$1 as PaymentStatus, type context$8_PaymentStatusUpdated as PaymentStatusUpdated, type context$8_Payments as Payments, type PaymentsUpdated$2 as PaymentsUpdated, type context$8_Phone as Phone, type PhysicalProperties$1 as PhysicalProperties, type PickupAddress$1 as PickupAddress, type PickupDetails$2 as PickupDetails, PickupMethod$1 as PickupMethod, type context$8_PickupReadyEmailSent as PickupReadyEmailSent, context$8_Placement as Placement, type context$8_PlainTextValue as PlainTextValue, type context$8_PlatformPaging as PlatformPaging, type context$8_PlatformPagingMetadata as PlatformPagingMetadata, type context$8_PlatformQuery as PlatformQuery, type context$8_PlatformQueryPagingMethodOneOf as PlatformQueryPagingMethodOneOf, type context$8_PreparePaymentCollectionRequest as PreparePaymentCollectionRequest, type context$8_PreparePaymentCollectionResponse as PreparePaymentCollectionResponse, type context$8_PreviewBuyerConfirmationEmailRequest as PreviewBuyerConfirmationEmailRequest, type context$8_PreviewBuyerConfirmationEmailResponse as PreviewBuyerConfirmationEmailResponse, type context$8_PreviewBuyerPaymentsReceivedEmailRequest as PreviewBuyerPaymentsReceivedEmailRequest, type context$8_PreviewBuyerPaymentsReceivedEmailResponse as PreviewBuyerPaymentsReceivedEmailResponse, type context$8_PreviewBuyerPickupConfirmationEmailRequest as PreviewBuyerPickupConfirmationEmailRequest, type context$8_PreviewBuyerPickupConfirmationEmailResponse as PreviewBuyerPickupConfirmationEmailResponse, type context$8_PreviewCancelEmailRequest as PreviewCancelEmailRequest, type context$8_PreviewCancelEmailResponse as PreviewCancelEmailResponse, type context$8_PreviewCancelRefundEmailRequest as PreviewCancelRefundEmailRequest, type context$8_PreviewCancelRefundEmailResponse as PreviewCancelRefundEmailResponse, type context$8_PreviewEmailByTypeRequest as PreviewEmailByTypeRequest, type context$8_PreviewEmailByTypeResponse as PreviewEmailByTypeResponse, context$8_PreviewEmailType as PreviewEmailType, type context$8_PreviewRefundEmailRequest as PreviewRefundEmailRequest, type context$8_PreviewRefundEmailResponse as PreviewRefundEmailResponse, type context$8_PreviewResendDownloadLinksEmailRequest as PreviewResendDownloadLinksEmailRequest, type context$8_PreviewResendDownloadLinksEmailResponse as PreviewResendDownloadLinksEmailResponse, type context$8_PreviewShippingConfirmationEmailRequest as PreviewShippingConfirmationEmailRequest, type context$8_PreviewShippingConfirmationEmailResponse as PreviewShippingConfirmationEmailResponse, type Price$2 as Price, type context$8_PriceDescription as PriceDescription, type PriceSummary$1 as PriceSummary, type context$8_ProductName as ProductName, type context$8_PublicActivity as PublicActivity, type context$8_PublicActivityContentOneOf as PublicActivityContentOneOf, type context$8_QueryOrderRequest as QueryOrderRequest, type context$8_QueryOrderResponse as QueryOrderResponse, type context$8_QueryOrdersForMetasiteRequest as QueryOrdersForMetasiteRequest, type context$8_QueryOrdersForMetasiteResponse as QueryOrdersForMetasiteResponse, type context$8_QuotesAddress as QuotesAddress, Reason$2 as Reason, type context$8_RecordManuallyCollectedPaymentRequest as RecordManuallyCollectedPaymentRequest, type context$8_RecordManuallyCollectedPaymentResponse as RecordManuallyCollectedPaymentResponse, type context$8_RedirectUrls as RedirectUrls, type Refund$2 as Refund, type RefundCreated$1 as RefundCreated, type RefundDetails$2 as RefundDetails, type context$8_RefundInitiated as RefundInitiated, type RefundItem$2 as RefundItem, type RefundSideEffects$1 as RefundSideEffects, RefundStatus$2 as RefundStatus, type RefundTransaction$2 as RefundTransaction, type Refundability$1 as Refundability, type RefundabilityAdditionalRefundabilityInfoOneOf$1 as RefundabilityAdditionalRefundabilityInfoOneOf, RefundableStatus$1 as RefundableStatus, type context$8_RefundedPayment as RefundedPayment, type context$8_RefundedPaymentKindOneOf as RefundedPaymentKindOneOf, type RegularPaymentDetails$2 as RegularPaymentDetails, type RegularPaymentDetailsPaymentMethodDetailsOneOf$2 as RegularPaymentDetailsPaymentMethodDetailsOneOf, type context$8_RegularPaymentRefund as RegularPaymentRefund, type context$8_Reschedule as Reschedule, type RestockInfo$1 as RestockInfo, type RestockItem$1 as RestockItem, RestockType$1 as RestockType, type RestoreInfo$6 as RestoreInfo, type context$8_SavedPaymentMethod as SavedPaymentMethod, ScheduledAction$2 as ScheduledAction, type context$8_SearchOrdersOptions as SearchOrdersOptions, type context$8_SearchOrdersRequest as SearchOrdersRequest, type context$8_SearchOrdersResponse as SearchOrdersResponse, type context$8_SearchOrdersResponseNonNullableFields as SearchOrdersResponseNonNullableFields, type context$8_SendBuyerConfirmationEmailRequest as SendBuyerConfirmationEmailRequest, type context$8_SendBuyerConfirmationEmailResponse as SendBuyerConfirmationEmailResponse, type context$8_SendBuyerPaymentsReceivedEmailRequest as SendBuyerPaymentsReceivedEmailRequest, type context$8_SendBuyerPaymentsReceivedEmailResponse as SendBuyerPaymentsReceivedEmailResponse, type context$8_SendBuyerPickupConfirmationEmailRequest as SendBuyerPickupConfirmationEmailRequest, type context$8_SendBuyerPickupConfirmationEmailResponse as SendBuyerPickupConfirmationEmailResponse, type context$8_SendBuyerShippingConfirmationEmailRequest as SendBuyerShippingConfirmationEmailRequest, type context$8_SendBuyerShippingConfirmationEmailResponse as SendBuyerShippingConfirmationEmailResponse, type context$8_SendCancelRefundEmailRequest as SendCancelRefundEmailRequest, type context$8_SendCancelRefundEmailResponse as SendCancelRefundEmailResponse, type context$8_SendMerchantOrderReceivedNotificationRequest as SendMerchantOrderReceivedNotificationRequest, type context$8_SendMerchantOrderReceivedNotificationResponse as SendMerchantOrderReceivedNotificationResponse, type context$8_SendMerchantOrderReceivedPushRequest as SendMerchantOrderReceivedPushRequest, type context$8_SendMerchantOrderReceivedPushResponse as SendMerchantOrderReceivedPushResponse, type context$8_SeoData as SeoData, type ServiceProperties$1 as ServiceProperties, type context$8_ShippingAddressEdited as ShippingAddressEdited, type context$8_ShippingConfirmationEmailSent as ShippingConfirmationEmailSent, type ShippingInformation$1 as ShippingInformation, type context$8_ShippingInformationChange as ShippingInformationChange, type ShippingPrice$1 as ShippingPrice, type ShippingRefund$2 as ShippingRefund, type ShippingRegion$1 as ShippingRegion, type SnapshotMessage$1 as SnapshotMessage, SortOrder$5 as SortOrder, type Sorting$5 as Sorting, type Source$1 as Source, context$8_SourceType as SourceType, type context$8_StandardDetails as StandardDetails, context$8_State as State, type StreetAddress$3 as StreetAddress, type context$8_Subdivision as Subdivision, context$8_SubdivisionType as SubdivisionType, SubscriptionFrequency$2 as SubscriptionFrequency, type SubscriptionInfo$1 as SubscriptionInfo, type SubscriptionSettings$2 as SubscriptionSettings, type context$8_TagList as TagList, type context$8_Tags as Tags, type context$8_Task as Task, type context$8_TaskAction as TaskAction, type context$8_TaskActionActionOneOf as TaskActionActionOneOf, type context$8_TaskKey as TaskKey, type TaxSummary$1 as TaxSummary, type context$8_TestUrlAdditionalBindingsRequest as TestUrlAdditionalBindingsRequest, type context$8_TestUrlAdditionalBindingsResponse as TestUrlAdditionalBindingsResponse, type context$8_TotalPrice as TotalPrice, type context$8_TotalPriceChange as TotalPriceChange, type context$8_TrackingLinkAdded as TrackingLinkAdded, type context$8_TrackingNumberAdded as TrackingNumberAdded, type context$8_TrackingNumberEdited as TrackingNumberEdited, TransactionStatus$2 as TransactionStatus, type context$8_TranslatedValue as TranslatedValue, type TriggerRefundRequest$1 as TriggerRefundRequest, type TriggerRefundResponse$1 as TriggerRefundResponse, type context$8_TriggerReindexOrderRequest as TriggerReindexOrderRequest, type context$8_TriggerReindexRequest as TriggerReindexRequest, type context$8_TriggerReindexResponse as TriggerReindexResponse, type context$8_TriggerSideEffectsFromLegacyData as TriggerSideEffectsFromLegacyData, type context$8_UnArchiveOrderRequest as UnArchiveOrderRequest, type context$8_UnArchiveOrderResponse as UnArchiveOrderResponse, type context$8_UpdateActivityRequest as UpdateActivityRequest, type context$8_UpdateActivityResponse as UpdateActivityResponse, type context$8_UpdateBillingContactDetailsRequest as UpdateBillingContactDetailsRequest, type context$8_UpdateBillingContactDetailsResponse as UpdateBillingContactDetailsResponse, type context$8_UpdateBuyerEmailRequest as UpdateBuyerEmailRequest, type context$8_UpdateBuyerEmailResponse as UpdateBuyerEmailResponse, type context$8_UpdateBuyerInfoRequest as UpdateBuyerInfoRequest, type context$8_UpdateBuyerInfoResponse as UpdateBuyerInfoResponse, type context$8_UpdateInternalDocumentsEvent as UpdateInternalDocumentsEvent, type context$8_UpdateInternalDocumentsEventOperationOneOf as UpdateInternalDocumentsEventOperationOneOf, type context$8_UpdateLineItemsDescriptionLinesRequest as UpdateLineItemsDescriptionLinesRequest, type context$8_UpdateLineItemsDescriptionLinesResponse as UpdateLineItemsDescriptionLinesResponse, type context$8_UpdateOrder as UpdateOrder, type context$8_UpdateOrderLineItemRequest as UpdateOrderLineItemRequest, type context$8_UpdateOrderLineItemResponse as UpdateOrderLineItemResponse, type context$8_UpdateOrderLineItemsRequest as UpdateOrderLineItemsRequest, type context$8_UpdateOrderLineItemsResponse as UpdateOrderLineItemsResponse, type context$8_UpdateOrderRequest as UpdateOrderRequest, type context$8_UpdateOrderResponse as UpdateOrderResponse, type context$8_UpdateOrderResponseNonNullableFields as UpdateOrderResponseNonNullableFields, type context$8_UpdateOrderShippingAddressRequest as UpdateOrderShippingAddressRequest, type context$8_UpdateOrderShippingAddressResponse as UpdateOrderShippingAddressResponse, type context$8_UpsertRefundRequest as UpsertRefundRequest, type context$8_UpsertRefundResponse as UpsertRefundResponse, type context$8_UserDataResponse as UserDataResponse, type context$8_V1BulkMarkOrdersAsPaidRequest as V1BulkMarkOrdersAsPaidRequest, type context$8_V1BulkMarkOrdersAsPaidResponse as V1BulkMarkOrdersAsPaidResponse, type context$8_V1CreatePaymentGatewayOrderRequest as V1CreatePaymentGatewayOrderRequest, type context$8_V1CreatePaymentGatewayOrderResponse as V1CreatePaymentGatewayOrderResponse, type context$8_V1LineItemDelta as V1LineItemDelta, type context$8_V1LineItemDeltaDeltaOneOf as V1LineItemDeltaDeltaOneOf, type context$8_V1MarkOrderAsPaidRequest as V1MarkOrderAsPaidRequest, type context$8_V1MarkOrderAsPaidResponse as V1MarkOrderAsPaidResponse, type context$8_V1RestockItem as V1RestockItem, type context$8_V1ScheduledAction as V1ScheduledAction, type context$8_V1ShippingInformation as V1ShippingInformation, type context$8_Value as Value, context$8_ValueType as ValueType, type VatId$1 as VatId, VatType$1 as VatType, type context$8_VersionedDeleteByIdsOperation as VersionedDeleteByIdsOperation, type context$8_VersionedDocumentId as VersionedDocumentId, type context$8_VersionedDocumentUpdateOperation as VersionedDocumentUpdateOperation, context$8_VersioningMode as VersioningMode, type context$8_VoidAuthorizedPaymentsRequest as VoidAuthorizedPaymentsRequest, type context$8_VoidAuthorizedPaymentsResponse as VoidAuthorizedPaymentsResponse, type context$8_VoidAuthorizedPaymentsResponseNonNullableFields as VoidAuthorizedPaymentsResponseNonNullableFields, WebhookIdentityType$6 as WebhookIdentityType, WeightUnit$2 as WeightUnit, type context$8__publicOnOrderApprovedType as _publicOnOrderApprovedType, type context$8__publicOnOrderCanceledType as _publicOnOrderCanceledType, type context$8__publicOnOrderCreatedType as _publicOnOrderCreatedType, type context$8__publicOnOrderPaymentStatusUpdatedType as _publicOnOrderPaymentStatusUpdatedType, context$8_bulkUpdateOrders as bulkUpdateOrders, context$8_cancelOrder as cancelOrder, context$8_captureAuthorizedPayments as captureAuthorizedPayments, context$8_createOrder as createOrder, context$8_getOrder as getOrder, context$8_getPaymentCollectabilityStatus as getPaymentCollectabilityStatus, context$8_onOrderApproved as onOrderApproved, context$8_onOrderCanceled as onOrderCanceled, context$8_onOrderCreated as onOrderCreated, context$8_onOrderPaymentStatusUpdated as onOrderPaymentStatusUpdated, onOrderApproved$1 as publicOnOrderApproved, onOrderCanceled$1 as publicOnOrderCanceled, onOrderCreated$1 as publicOnOrderCreated, onOrderPaymentStatusUpdated$1 as publicOnOrderPaymentStatusUpdated, context$8_searchOrders as searchOrders, context$8_updateOrder as updateOrder, context$8_voidAuthorizedPayments as voidAuthorizedPayments };
26724
+ export { type ActionEvent$6 as ActionEvent, ActionType$2 as ActionType, type Activity$1 as Activity, type context$8_ActivityContentOneOf as ActivityContentOneOf, ActivityType$1 as ActivityType, type context$8_AddActivitiesRequest as AddActivitiesRequest, type context$8_AddActivitiesResponse as AddActivitiesResponse, type context$8_AddActivityRequest as AddActivityRequest, type context$8_AddActivityResponse as AddActivityResponse, type context$8_AddInternalActivityRequest as AddInternalActivityRequest, type context$8_AddInternalActivityResponse as AddInternalActivityResponse, type AdditionalFee$1 as AdditionalFee, type context$8_AdditionalFeeDelta as AdditionalFeeDelta, type context$8_AdditionalFeeDeltaDeltaOneOf as AdditionalFeeDeltaDeltaOneOf, type AdditionalFeeRefund$2 as AdditionalFeeRefund, type Address$4 as Address, type context$8_AddressDescription as AddressDescription, type AddressLocation$2 as AddressLocation, type context$8_AddressWithContact as AddressWithContact, type context$8_AggregateOrdersRequest as AggregateOrdersRequest, type context$8_AggregateOrdersResponse as AggregateOrdersResponse, type AggregatedRefundSummary$2 as AggregatedRefundSummary, type context$8_App as App, type ApplicationError$3 as ApplicationError, type AppliedDiscount$1 as AppliedDiscount, type context$8_AppliedDiscountDelta as AppliedDiscountDelta, type context$8_AppliedDiscountDeltaDeltaOneOf as AppliedDiscountDeltaDeltaOneOf, type AppliedDiscountDiscountSourceOneOf$1 as AppliedDiscountDiscountSourceOneOf, type context$8_ArchiveOrderRequest as ArchiveOrderRequest, type context$8_ArchiveOrderResponse as ArchiveOrderResponse, context$8_AttributionSource as AttributionSource, type AuthorizationActionFailureDetails$2 as AuthorizationActionFailureDetails, type AuthorizationCapture$2 as AuthorizationCapture, AuthorizationCaptureStatus$2 as AuthorizationCaptureStatus, type AuthorizationDetails$2 as AuthorizationDetails, type AuthorizationVoid$2 as AuthorizationVoid, AuthorizationVoidStatus$2 as AuthorizationVoidStatus, type context$8_AuthorizedPaymentCaptured as AuthorizedPaymentCaptured, type context$8_AuthorizedPaymentCreated as AuthorizedPaymentCreated, type context$8_AuthorizedPaymentVoided as AuthorizedPaymentVoided, type context$8_Balance as Balance, type context$8_BalanceSummary as BalanceSummary, type BaseEventMetadata$5 as BaseEventMetadata, type context$8_BatchOfTriggerReindexOrderRequest as BatchOfTriggerReindexOrderRequest, type context$8_BigDecimalWrapper as BigDecimalWrapper, type BulkActionMetadata$1 as BulkActionMetadata, type context$8_BulkArchiveOrdersByFilterRequest as BulkArchiveOrdersByFilterRequest, type context$8_BulkArchiveOrdersByFilterResponse as BulkArchiveOrdersByFilterResponse, type context$8_BulkArchiveOrdersRequest as BulkArchiveOrdersRequest, type context$8_BulkArchiveOrdersResponse as BulkArchiveOrdersResponse, type context$8_BulkMarkAsFulfilledByFilterRequest as BulkMarkAsFulfilledByFilterRequest, type context$8_BulkMarkAsFulfilledByFilterResponse as BulkMarkAsFulfilledByFilterResponse, type context$8_BulkMarkAsFulfilledRequest as BulkMarkAsFulfilledRequest, type context$8_BulkMarkAsFulfilledResponse as BulkMarkAsFulfilledResponse, type context$8_BulkMarkAsUnfulfilledByFilterRequest as BulkMarkAsUnfulfilledByFilterRequest, type context$8_BulkMarkAsUnfulfilledByFilterResponse as BulkMarkAsUnfulfilledByFilterResponse, type context$8_BulkMarkAsUnfulfilledRequest as BulkMarkAsUnfulfilledRequest, type context$8_BulkMarkAsUnfulfilledResponse as BulkMarkAsUnfulfilledResponse, type context$8_BulkMarkOrdersAsPaidRequest as BulkMarkOrdersAsPaidRequest, type context$8_BulkMarkOrdersAsPaidResponse as BulkMarkOrdersAsPaidResponse, type context$8_BulkOrderResult as BulkOrderResult, type context$8_BulkSendBuyerPickupConfirmationEmailsRequest as BulkSendBuyerPickupConfirmationEmailsRequest, type context$8_BulkSendBuyerPickupConfirmationEmailsResponse as BulkSendBuyerPickupConfirmationEmailsResponse, type context$8_BulkSendBuyerShippingConfirmationEmailsRequest as BulkSendBuyerShippingConfirmationEmailsRequest, type context$8_BulkSendBuyerShippingConfirmationEmailsResponse as BulkSendBuyerShippingConfirmationEmailsResponse, type context$8_BulkUnArchiveOrdersByFilterRequest as BulkUnArchiveOrdersByFilterRequest, type context$8_BulkUnArchiveOrdersByFilterResponse as BulkUnArchiveOrdersByFilterResponse, type context$8_BulkUnArchiveOrdersRequest as BulkUnArchiveOrdersRequest, type context$8_BulkUnArchiveOrdersResponse as BulkUnArchiveOrdersResponse, type context$8_BulkUpdateOrderTagsOptions as BulkUpdateOrderTagsOptions, type context$8_BulkUpdateOrderTagsRequest as BulkUpdateOrderTagsRequest, type context$8_BulkUpdateOrderTagsResponse as BulkUpdateOrderTagsResponse, type context$8_BulkUpdateOrderTagsResponseNonNullableFields as BulkUpdateOrderTagsResponseNonNullableFields, type context$8_BulkUpdateOrderTagsResult as BulkUpdateOrderTagsResult, type context$8_BulkUpdateOrdersOptions as BulkUpdateOrdersOptions, type context$8_BulkUpdateOrdersRequest as BulkUpdateOrdersRequest, type context$8_BulkUpdateOrdersResponse as BulkUpdateOrdersResponse, type context$8_BulkUpdateOrdersResponseNonNullableFields as BulkUpdateOrdersResponseNonNullableFields, type BuyerInfo$1 as BuyerInfo, type context$8_BuyerInfoIdOneOf as BuyerInfoIdOneOf, type context$8_BuyerInfoUpdate as BuyerInfoUpdate, type CalculateRefundItemRequest$1 as CalculateRefundItemRequest, type CalculateRefundItemResponse$1 as CalculateRefundItemResponse, type CalculateRefundRequest$1 as CalculateRefundRequest, type CalculateRefundResponse$1 as CalculateRefundResponse, type context$8_CalculatedTax as CalculatedTax, type context$8_CalculatedTaxes as CalculatedTaxes, type context$8_Cancel as Cancel, type context$8_CancelOrderOptions as CancelOrderOptions, type context$8_CancelOrderRequest as CancelOrderRequest, type context$8_CancelOrderResponse as CancelOrderResponse, type context$8_CancelOrderResponseNonNullableFields as CancelOrderResponseNonNullableFields, type context$8_CaptureAuthorizedPaymentsRequest as CaptureAuthorizedPaymentsRequest, type context$8_CaptureAuthorizedPaymentsResponse as CaptureAuthorizedPaymentsResponse, type context$8_CaptureAuthorizedPaymentsResponseNonNullableFields as CaptureAuthorizedPaymentsResponseNonNullableFields, type CatalogReference$1 as CatalogReference, type ChannelInfo$1 as ChannelInfo, ChannelType$1 as ChannelType, type context$8_ChargeMembershipsRequest as ChargeMembershipsRequest, type context$8_ChargeMembershipsResponse as ChargeMembershipsResponse, type context$8_ChargeSavedPaymentMethodRequest as ChargeSavedPaymentMethodRequest, type context$8_ChargeSavedPaymentMethodResponse as ChargeSavedPaymentMethodResponse, type context$8_ChargedBy as ChargedBy, type context$8_Color as Color, type context$8_CommitDeltasRequest as CommitDeltasRequest, type context$8_CommitDeltasResponse as CommitDeltasResponse, type context$8_CommittedDiffs as CommittedDiffs, type context$8_CommittedDiffsShippingUpdateInfoOneOf as CommittedDiffsShippingUpdateInfoOneOf, type context$8_CommonAddress as CommonAddress, type context$8_CommonAddressStreetOneOf as CommonAddressStreetOneOf, type context$8_Company as Company, type context$8_Complete as Complete, type context$8_ContinueSideEffectsFlowInLegacyData as ContinueSideEffectsFlowInLegacyData, type Coupon$1 as Coupon, type context$8_CreateOrderRequest as CreateOrderRequest, type context$8_CreateOrderResponse as CreateOrderResponse, type context$8_CreateOrderResponseNonNullableFields as CreateOrderResponseNonNullableFields, type context$8_CreatePaymentGatewayOrderRequest as CreatePaymentGatewayOrderRequest, type context$8_CreatePaymentGatewayOrderResponse as CreatePaymentGatewayOrderResponse, type context$8_CreatedBy as CreatedBy, type context$8_CreatedByStringOneOf as CreatedByStringOneOf, type CreditCardPaymentMethodDetails$2 as CreditCardPaymentMethodDetails, type CursorPaging$5 as CursorPaging, type CursorPagingMetadata$5 as CursorPagingMetadata, type context$8_CursorSearch as CursorSearch, type context$8_CursorSearchPagingMethodOneOf as CursorSearchPagingMethodOneOf, type Cursors$5 as Cursors, type context$8_CustomActivity as CustomActivity, type CustomField$1 as CustomField, context$8_CustomFieldGroup as CustomFieldGroup, type context$8_CustomFieldValue as CustomFieldValue, type context$8_Customer as Customer, type context$8_DecrementData as DecrementData, type context$8_DecrementItemsQuantityRequest as DecrementItemsQuantityRequest, type context$8_DecrementItemsQuantityResponse as DecrementItemsQuantityResponse, type context$8_DelayedCaptureSettings as DelayedCaptureSettings, type context$8_DeleteActivityRequest as DeleteActivityRequest, type context$8_DeleteActivityResponse as DeleteActivityResponse, type context$8_DeleteByFilterOperation as DeleteByFilterOperation, type context$8_DeleteByIdsOperation as DeleteByIdsOperation, type DeliveryLogistics$1 as DeliveryLogistics, type context$8_DeliveryLogisticsAddressOneOf as DeliveryLogisticsAddressOneOf, type DeliveryTimeSlot$1 as DeliveryTimeSlot, context$8_DeltaPaymentOptionType as DeltaPaymentOptionType, type context$8_Deposit as Deposit, context$8_DepositType as DepositType, type context$8_DescriptionLine as DescriptionLine, type context$8_DescriptionLineDescriptionLineValueOneOf as DescriptionLineDescriptionLineValueOneOf, type context$8_DescriptionLineName as DescriptionLineName, context$8_DescriptionLineType as DescriptionLineType, type context$8_DescriptionLineValueOneOf as DescriptionLineValueOneOf, type DiffmatokyPayload$2 as DiffmatokyPayload, type DigitalFile$1 as DigitalFile, type Discount$1 as Discount, type context$8_DiscountOneDiscountTypeOneOf as DiscountOneDiscountTypeOneOf, context$8_DiscountReason as DiscountReason, type DiscountRule$1 as DiscountRule, type DiscountRuleName$1 as DiscountRuleName, DiscountType$1 as DiscountType, type DomainEvent$6 as DomainEvent, type DomainEventBodyOneOf$6 as DomainEventBodyOneOf, type context$8_DownloadLinkSent as DownloadLinkSent, type context$8_DraftOrderChangesApplied as DraftOrderChangesApplied, type context$8_DraftOrderCommitSettings as DraftOrderCommitSettings, type context$8_DraftOrderDiffs as DraftOrderDiffs, type context$8_DraftOrderDiffsBillingUpdateInfoOneOf as DraftOrderDiffsBillingUpdateInfoOneOf, type context$8_DraftOrderDiffsBuyerUpdateInfoOneOf as DraftOrderDiffsBuyerUpdateInfoOneOf, type context$8_DraftOrderDiffsRecipientUpdateInfoOneOf as DraftOrderDiffsRecipientUpdateInfoOneOf, type context$8_DraftOrderDiffsShippingUpdateInfoOneOf as DraftOrderDiffsShippingUpdateInfoOneOf, type context$8_Duration as Duration, context$8_DurationUnit as DurationUnit, type context$8_Email as Email, type context$8_EmailEdited as EmailEdited, type Empty$4 as Empty, type EntityCreatedEvent$6 as EntityCreatedEvent, type EntityDeletedEvent$6 as EntityDeletedEvent, type EntityUpdatedEvent$6 as EntityUpdatedEvent, type ErrorInformation$2 as ErrorInformation, type EventMetadata$5 as EventMetadata, type ExtendedFields$3 as ExtendedFields, type context$8_ExternalUriMapping as ExternalUriMapping, type context$8_FulfillerEmailSent as FulfillerEmailSent, FulfillmentStatus$1 as FulfillmentStatus, type context$8_FulfillmentStatusUpdated as FulfillmentStatusUpdated, type context$8_FulfillmentStatusesAggregate as FulfillmentStatusesAggregate, type context$8_FullAddressContactDetails as FullAddressContactDetails, type context$8_GetMetasiteDataRequest as GetMetasiteDataRequest, type context$8_GetMetasiteDataResponse as GetMetasiteDataResponse, type context$8_GetOrderForMetasiteRequest as GetOrderForMetasiteRequest, type context$8_GetOrderForMetasiteResponse as GetOrderForMetasiteResponse, type context$8_GetOrderRequest as GetOrderRequest, type context$8_GetOrderResponse as GetOrderResponse, type context$8_GetOrderResponseNonNullableFields as GetOrderResponseNonNullableFields, type context$8_GetPaymentCollectabilityStatusRequest as GetPaymentCollectabilityStatusRequest, type context$8_GetPaymentCollectabilityStatusResponse as GetPaymentCollectabilityStatusResponse, type context$8_GetPaymentCollectabilityStatusResponseNonNullableFields as GetPaymentCollectabilityStatusResponseNonNullableFields, type GetRefundabilityStatusRequest$1 as GetRefundabilityStatusRequest, type GetRefundabilityStatusResponse$1 as GetRefundabilityStatusResponse, type context$8_GetShipmentsRequest as GetShipmentsRequest, type context$8_GetShipmentsResponse as GetShipmentsResponse, type GiftCardPaymentDetails$2 as GiftCardPaymentDetails, type context$8_HtmlApplication as HtmlApplication, type context$8_IdAndVersion as IdAndVersion, type IdentificationData$6 as IdentificationData, type IdentificationDataIdOneOf$6 as IdentificationDataIdOneOf, type IndexingMessage$1 as IndexingMessage, type context$8_InternalActivity as InternalActivity, type context$8_InternalActivityContentOneOf as InternalActivityContentOneOf, type context$8_InternalDocument as InternalDocument, type context$8_InternalDocumentUpdateByFilterOperation as InternalDocumentUpdateByFilterOperation, type context$8_InternalDocumentUpdateOperation as InternalDocumentUpdateOperation, type context$8_InternalQueryOrdersRequest as InternalQueryOrdersRequest, type context$8_InternalQueryOrdersResponse as InternalQueryOrdersResponse, type context$8_InternalUpdateExistingOperation as InternalUpdateExistingOperation, context$8_InventoryAction as InventoryAction, type context$8_InventoryUpdateDetails as InventoryUpdateDetails, type context$8_InvoiceAdded as InvoiceAdded, type context$8_InvoiceDates as InvoiceDates, type context$8_InvoiceDynamicPriceTotals as InvoiceDynamicPriceTotals, type context$8_InvoiceFields as InvoiceFields, type context$8_InvoiceSent as InvoiceSent, type context$8_InvoiceSentEvent as InvoiceSentEvent, context$8_InvoiceStatus as InvoiceStatus, type context$8_InvoicesPayment as InvoicesPayment, type context$8_ItemChangedDetails as ItemChangedDetails, type ItemMetadata$1 as ItemMetadata, type ItemTaxFullDetails$1 as ItemTaxFullDetails, type ItemType$1 as ItemType, ItemTypeItemType$1 as ItemTypeItemType, type ItemTypeItemTypeDataOneOf$1 as ItemTypeItemTypeDataOneOf, type context$8_ItemizedFee as ItemizedFee, JurisdictionType$1 as JurisdictionType, type LineItem$2 as LineItem, type context$8_LineItemAmount as LineItemAmount, type context$8_LineItemChanges as LineItemChanges, type context$8_LineItemDelta as LineItemDelta, type context$8_LineItemDeltaDeltaOneOf as LineItemDeltaDeltaOneOf, type LineItemDiscount$1 as LineItemDiscount, type context$8_LineItemExchangeData as LineItemExchangeData, type context$8_LineItemMetaData as LineItemMetaData, type context$8_LineItemPriceChange as LineItemPriceChange, type context$8_LineItemQuantityChange as LineItemQuantityChange, context$8_LineItemQuantityChangeType as LineItemQuantityChangeType, type LineItemRefund$2 as LineItemRefund, type context$8_LineItemTax as LineItemTax, type context$8_LineItemTaxBreakdown as LineItemTaxBreakdown, type context$8_LineItemTaxInfo as LineItemTaxInfo, type context$8_LineItemUpdate as LineItemUpdate, type context$8_LineItems as LineItems, type context$8_ListOrderTransactionsForMetasiteRequest as ListOrderTransactionsForMetasiteRequest, type context$8_ListOrderTransactionsForMetasiteResponse as ListOrderTransactionsForMetasiteResponse, type context$8_Locale as Locale, type context$8_LocationAndQuantity as LocationAndQuantity, type context$8_ManagedAdditionalFee as ManagedAdditionalFee, type context$8_ManagedDiscount as ManagedDiscount, type context$8_ManagedLineItem as ManagedLineItem, ManuallyRefundableReason$1 as ManuallyRefundableReason, type context$8_MarkAsFulfilledRequest as MarkAsFulfilledRequest, type context$8_MarkAsFulfilledResponse as MarkAsFulfilledResponse, type context$8_MarkAsUnfulfilledRequest as MarkAsUnfulfilledRequest, type context$8_MarkAsUnfulfilledResponse as MarkAsUnfulfilledResponse, type context$8_MarkOrderAsPaidRequest as MarkOrderAsPaidRequest, type context$8_MarkOrderAsPaidResponse as MarkOrderAsPaidResponse, type context$8_MarkOrderAsSeenByHumanRequest as MarkOrderAsSeenByHumanRequest, type context$8_MarkOrderAsSeenByHumanResponse as MarkOrderAsSeenByHumanResponse, type context$8_MaskedOrder as MaskedOrder, type context$8_MaskedOrderLineItem as MaskedOrderLineItem, type context$8_MembershipChargeItem as MembershipChargeItem, type MembershipName$3 as MembershipName, type MembershipPaymentDetails$2 as MembershipPaymentDetails, MembershipPaymentStatus$2 as MembershipPaymentStatus, type context$8_MerchantComment as MerchantComment, type MerchantDiscount$1 as MerchantDiscount, type context$8_MerchantDiscountMerchantDiscountReasonOneOf as MerchantDiscountMerchantDiscountReasonOneOf, type MessageEnvelope$6 as MessageEnvelope, type context$8_MetaData as MetaData, type context$8_MetaSite as MetaSite, type context$8_MetaTag as MetaTag, context$8_Namespace as Namespace, type context$8_NewExchangeOrderCreated as NewExchangeOrderCreated, NonRefundableReason$1 as NonRefundableReason, type Order$1 as Order, context$8_OrderApprovalStrategy as OrderApprovalStrategy, type context$8_OrderApproved as OrderApproved, type context$8_OrderApprovedEnvelope as OrderApprovedEnvelope, type context$8_OrderCanceled as OrderCanceled, type context$8_OrderCanceledEnvelope as OrderCanceledEnvelope, type context$8_OrderCanceledEventOrderCanceled as OrderCanceledEventOrderCanceled, type context$8_OrderChange as OrderChange, type context$8_OrderChangeValueOneOf as OrderChangeValueOneOf, type context$8_OrderCreateNotifications as OrderCreateNotifications, type context$8_OrderCreatedEnvelope as OrderCreatedEnvelope, type context$8_OrderCreatedFromExchange as OrderCreatedFromExchange, type context$8_OrderCreationSettings as OrderCreationSettings, type context$8_OrderDeltasCommitted as OrderDeltasCommitted, type context$8_OrderFulfilled as OrderFulfilled, type context$8_OrderItemsRestocked as OrderItemsRestocked, type context$8_OrderLineItem as OrderLineItem, type context$8_OrderLineItemChangedDetails as OrderLineItemChangedDetails, type context$8_OrderNonNullableFields as OrderNonNullableFields, type context$8_OrderNotFulfilled as OrderNotFulfilled, type context$8_OrderPaid as OrderPaid, type context$8_OrderPartiallyPaid as OrderPartiallyPaid, type context$8_OrderPaymentStatusUpdatedEnvelope as OrderPaymentStatusUpdatedEnvelope, type context$8_OrderPlaced as OrderPlaced, type OrderRefunded$1 as OrderRefunded, context$8_OrderStatus as OrderStatus, type context$8_OrderTaxBreakdown as OrderTaxBreakdown, type context$8_OrderTaxInfo as OrderTaxInfo, type OrderTransactions$2 as OrderTransactions, type context$8_OrderUpdatedEnvelope as OrderUpdatedEnvelope, type context$8_OrdersExperiments as OrdersExperiments, type Payment$2 as Payment, type context$8_PaymentCapture as PaymentCapture, context$8_PaymentCollectabilityStatus as PaymentCollectabilityStatus, PaymentOptionType$1 as PaymentOptionType, type PaymentPaymentDetailsOneOf$2 as PaymentPaymentDetailsOneOf, type PaymentRefund$1 as PaymentRefund, type context$8_PaymentRefundFailed as PaymentRefundFailed, type context$8_PaymentRefunded as PaymentRefunded, PaymentStatus$1 as PaymentStatus, type context$8_PaymentStatusUpdated as PaymentStatusUpdated, type context$8_Payments as Payments, type context$8_Phone as Phone, type PhysicalProperties$1 as PhysicalProperties, type PickupAddress$1 as PickupAddress, type PickupDetails$2 as PickupDetails, PickupMethod$1 as PickupMethod, type context$8_PickupReadyEmailSent as PickupReadyEmailSent, context$8_Placement as Placement, type context$8_PlainTextValue as PlainTextValue, type context$8_PlatformPaging as PlatformPaging, type context$8_PlatformPagingMetadata as PlatformPagingMetadata, type context$8_PlatformQuery as PlatformQuery, type context$8_PlatformQueryPagingMethodOneOf as PlatformQueryPagingMethodOneOf, type context$8_PreparePaymentCollectionRequest as PreparePaymentCollectionRequest, type context$8_PreparePaymentCollectionResponse as PreparePaymentCollectionResponse, type context$8_PreviewBuyerConfirmationEmailRequest as PreviewBuyerConfirmationEmailRequest, type context$8_PreviewBuyerConfirmationEmailResponse as PreviewBuyerConfirmationEmailResponse, type context$8_PreviewBuyerPaymentsReceivedEmailRequest as PreviewBuyerPaymentsReceivedEmailRequest, type context$8_PreviewBuyerPaymentsReceivedEmailResponse as PreviewBuyerPaymentsReceivedEmailResponse, type context$8_PreviewBuyerPickupConfirmationEmailRequest as PreviewBuyerPickupConfirmationEmailRequest, type context$8_PreviewBuyerPickupConfirmationEmailResponse as PreviewBuyerPickupConfirmationEmailResponse, type context$8_PreviewCancelEmailRequest as PreviewCancelEmailRequest, type context$8_PreviewCancelEmailResponse as PreviewCancelEmailResponse, type context$8_PreviewCancelRefundEmailRequest as PreviewCancelRefundEmailRequest, type context$8_PreviewCancelRefundEmailResponse as PreviewCancelRefundEmailResponse, type context$8_PreviewEmailByTypeRequest as PreviewEmailByTypeRequest, type context$8_PreviewEmailByTypeResponse as PreviewEmailByTypeResponse, context$8_PreviewEmailType as PreviewEmailType, type context$8_PreviewRefundEmailRequest as PreviewRefundEmailRequest, type context$8_PreviewRefundEmailResponse as PreviewRefundEmailResponse, type context$8_PreviewResendDownloadLinksEmailRequest as PreviewResendDownloadLinksEmailRequest, type context$8_PreviewResendDownloadLinksEmailResponse as PreviewResendDownloadLinksEmailResponse, type context$8_PreviewShippingConfirmationEmailRequest as PreviewShippingConfirmationEmailRequest, type context$8_PreviewShippingConfirmationEmailResponse as PreviewShippingConfirmationEmailResponse, type Price$2 as Price, type context$8_PriceDescription as PriceDescription, type PriceSummary$1 as PriceSummary, type context$8_ProductName as ProductName, type context$8_PublicActivity as PublicActivity, type context$8_PublicActivityContentOneOf as PublicActivityContentOneOf, type context$8_QueryOrderRequest as QueryOrderRequest, type context$8_QueryOrderResponse as QueryOrderResponse, type context$8_QueryOrdersForMetasiteRequest as QueryOrdersForMetasiteRequest, type context$8_QueryOrdersForMetasiteResponse as QueryOrdersForMetasiteResponse, type context$8_QuotesAddress as QuotesAddress, Reason$2 as Reason, type context$8_RecordManuallyCollectedPaymentRequest as RecordManuallyCollectedPaymentRequest, type context$8_RecordManuallyCollectedPaymentResponse as RecordManuallyCollectedPaymentResponse, type context$8_RedirectUrls as RedirectUrls, type Refund$2 as Refund, type RefundCreated$1 as RefundCreated, type RefundDetails$2 as RefundDetails, type context$8_RefundInitiated as RefundInitiated, type RefundItem$2 as RefundItem, type RefundSideEffects$1 as RefundSideEffects, RefundStatus$2 as RefundStatus, type RefundTransaction$2 as RefundTransaction, type Refundability$1 as Refundability, type RefundabilityAdditionalRefundabilityInfoOneOf$1 as RefundabilityAdditionalRefundabilityInfoOneOf, RefundableStatus$1 as RefundableStatus, type context$8_RefundedPayment as RefundedPayment, type context$8_RefundedPaymentKindOneOf as RefundedPaymentKindOneOf, type RegularPaymentDetails$2 as RegularPaymentDetails, type RegularPaymentDetailsPaymentMethodDetailsOneOf$2 as RegularPaymentDetailsPaymentMethodDetailsOneOf, type context$8_RegularPaymentRefund as RegularPaymentRefund, type context$8_Reschedule as Reschedule, type RestockInfo$1 as RestockInfo, type RestockItem$1 as RestockItem, RestockType$1 as RestockType, type RestoreInfo$6 as RestoreInfo, type context$8_SavedPaymentMethod as SavedPaymentMethod, ScheduledAction$2 as ScheduledAction, type context$8_SearchOrdersOptions as SearchOrdersOptions, type context$8_SearchOrdersRequest as SearchOrdersRequest, type context$8_SearchOrdersResponse as SearchOrdersResponse, type context$8_SearchOrdersResponseNonNullableFields as SearchOrdersResponseNonNullableFields, type context$8_SendBuyerConfirmationEmailRequest as SendBuyerConfirmationEmailRequest, type context$8_SendBuyerConfirmationEmailResponse as SendBuyerConfirmationEmailResponse, type context$8_SendBuyerPaymentsReceivedEmailRequest as SendBuyerPaymentsReceivedEmailRequest, type context$8_SendBuyerPaymentsReceivedEmailResponse as SendBuyerPaymentsReceivedEmailResponse, type context$8_SendBuyerPickupConfirmationEmailRequest as SendBuyerPickupConfirmationEmailRequest, type context$8_SendBuyerPickupConfirmationEmailResponse as SendBuyerPickupConfirmationEmailResponse, type context$8_SendBuyerShippingConfirmationEmailRequest as SendBuyerShippingConfirmationEmailRequest, type context$8_SendBuyerShippingConfirmationEmailResponse as SendBuyerShippingConfirmationEmailResponse, type context$8_SendCancelRefundEmailRequest as SendCancelRefundEmailRequest, type context$8_SendCancelRefundEmailResponse as SendCancelRefundEmailResponse, type context$8_SendMerchantOrderReceivedNotificationRequest as SendMerchantOrderReceivedNotificationRequest, type context$8_SendMerchantOrderReceivedNotificationResponse as SendMerchantOrderReceivedNotificationResponse, type context$8_SendMerchantOrderReceivedPushRequest as SendMerchantOrderReceivedPushRequest, type context$8_SendMerchantOrderReceivedPushResponse as SendMerchantOrderReceivedPushResponse, type context$8_SeoData as SeoData, type ServiceProperties$1 as ServiceProperties, type context$8_ShippingAddressEdited as ShippingAddressEdited, type context$8_ShippingConfirmationEmailSent as ShippingConfirmationEmailSent, type ShippingInformation$1 as ShippingInformation, type context$8_ShippingInformationChange as ShippingInformationChange, type ShippingPrice$1 as ShippingPrice, type ShippingRefund$2 as ShippingRefund, type ShippingRegion$1 as ShippingRegion, type SnapshotMessage$1 as SnapshotMessage, SortOrder$5 as SortOrder, type Sorting$5 as Sorting, type Source$1 as Source, context$8_SourceType as SourceType, type context$8_StandardDetails as StandardDetails, context$8_State as State, type StreetAddress$3 as StreetAddress, type context$8_Subdivision as Subdivision, context$8_SubdivisionType as SubdivisionType, SubscriptionFrequency$2 as SubscriptionFrequency, type SubscriptionInfo$1 as SubscriptionInfo, type SubscriptionSettings$2 as SubscriptionSettings, type context$8_TagList as TagList, type context$8_Tags as Tags, type context$8_Task as Task, type context$8_TaskAction as TaskAction, type context$8_TaskActionActionOneOf as TaskActionActionOneOf, type context$8_TaskKey as TaskKey, type TaxSummary$1 as TaxSummary, type context$8_TestUrlAdditionalBindingsRequest as TestUrlAdditionalBindingsRequest, type context$8_TestUrlAdditionalBindingsResponse as TestUrlAdditionalBindingsResponse, type context$8_TotalPrice as TotalPrice, type context$8_TotalPriceChange as TotalPriceChange, type context$8_TrackingLinkAdded as TrackingLinkAdded, type context$8_TrackingNumberAdded as TrackingNumberAdded, type context$8_TrackingNumberEdited as TrackingNumberEdited, TransactionStatus$2 as TransactionStatus, type context$8_TranslatedValue as TranslatedValue, type TriggerRefundRequest$1 as TriggerRefundRequest, type TriggerRefundResponse$1 as TriggerRefundResponse, type context$8_TriggerReindexOrderRequest as TriggerReindexOrderRequest, type context$8_TriggerReindexRequest as TriggerReindexRequest, type context$8_TriggerReindexResponse as TriggerReindexResponse, type context$8_TriggerSideEffectsFromLegacyData as TriggerSideEffectsFromLegacyData, type context$8_UnArchiveOrderRequest as UnArchiveOrderRequest, type context$8_UnArchiveOrderResponse as UnArchiveOrderResponse, type context$8_UpdateActivityRequest as UpdateActivityRequest, type context$8_UpdateActivityResponse as UpdateActivityResponse, type context$8_UpdateBillingContactDetailsRequest as UpdateBillingContactDetailsRequest, type context$8_UpdateBillingContactDetailsResponse as UpdateBillingContactDetailsResponse, type context$8_UpdateBuyerEmailRequest as UpdateBuyerEmailRequest, type context$8_UpdateBuyerEmailResponse as UpdateBuyerEmailResponse, type context$8_UpdateBuyerInfoRequest as UpdateBuyerInfoRequest, type context$8_UpdateBuyerInfoResponse as UpdateBuyerInfoResponse, type context$8_UpdateInternalDocumentsEvent as UpdateInternalDocumentsEvent, type context$8_UpdateInternalDocumentsEventOperationOneOf as UpdateInternalDocumentsEventOperationOneOf, type context$8_UpdateLineItemsDescriptionLinesRequest as UpdateLineItemsDescriptionLinesRequest, type context$8_UpdateLineItemsDescriptionLinesResponse as UpdateLineItemsDescriptionLinesResponse, type context$8_UpdateOrder as UpdateOrder, type context$8_UpdateOrderLineItemRequest as UpdateOrderLineItemRequest, type context$8_UpdateOrderLineItemResponse as UpdateOrderLineItemResponse, type context$8_UpdateOrderLineItemsRequest as UpdateOrderLineItemsRequest, type context$8_UpdateOrderLineItemsResponse as UpdateOrderLineItemsResponse, type context$8_UpdateOrderRequest as UpdateOrderRequest, type context$8_UpdateOrderResponse as UpdateOrderResponse, type context$8_UpdateOrderResponseNonNullableFields as UpdateOrderResponseNonNullableFields, type context$8_UpdateOrderShippingAddressRequest as UpdateOrderShippingAddressRequest, type context$8_UpdateOrderShippingAddressResponse as UpdateOrderShippingAddressResponse, type context$8_UpsertRefundRequest as UpsertRefundRequest, type context$8_UpsertRefundResponse as UpsertRefundResponse, type context$8_UserDataResponse as UserDataResponse, type context$8_V1BulkMarkOrdersAsPaidRequest as V1BulkMarkOrdersAsPaidRequest, type context$8_V1BulkMarkOrdersAsPaidResponse as V1BulkMarkOrdersAsPaidResponse, type context$8_V1CreatePaymentGatewayOrderRequest as V1CreatePaymentGatewayOrderRequest, type context$8_V1CreatePaymentGatewayOrderResponse as V1CreatePaymentGatewayOrderResponse, type context$8_V1LineItemDelta as V1LineItemDelta, type context$8_V1LineItemDeltaDeltaOneOf as V1LineItemDeltaDeltaOneOf, type context$8_V1MarkOrderAsPaidRequest as V1MarkOrderAsPaidRequest, type context$8_V1MarkOrderAsPaidResponse as V1MarkOrderAsPaidResponse, type context$8_V1RestockItem as V1RestockItem, type context$8_V1ScheduledAction as V1ScheduledAction, type context$8_V1ShippingInformation as V1ShippingInformation, type context$8_Value as Value, context$8_ValueType as ValueType, type VatId$1 as VatId, VatType$1 as VatType, type context$8_VersionedDeleteByIdsOperation as VersionedDeleteByIdsOperation, type context$8_VersionedDocumentId as VersionedDocumentId, type context$8_VersionedDocumentUpdateOperation as VersionedDocumentUpdateOperation, context$8_VersioningMode as VersioningMode, type context$8_VoidAuthorizedPaymentsRequest as VoidAuthorizedPaymentsRequest, type context$8_VoidAuthorizedPaymentsResponse as VoidAuthorizedPaymentsResponse, type context$8_VoidAuthorizedPaymentsResponseNonNullableFields as VoidAuthorizedPaymentsResponseNonNullableFields, WebhookIdentityType$6 as WebhookIdentityType, WeightUnit$2 as WeightUnit, type context$8__publicOnOrderApprovedType as _publicOnOrderApprovedType, type context$8__publicOnOrderCanceledType as _publicOnOrderCanceledType, type context$8__publicOnOrderCreatedType as _publicOnOrderCreatedType, type context$8__publicOnOrderPaymentStatusUpdatedType as _publicOnOrderPaymentStatusUpdatedType, type context$8__publicOnOrderUpdatedType as _publicOnOrderUpdatedType, context$8_bulkUpdateOrderTags as bulkUpdateOrderTags, context$8_bulkUpdateOrders as bulkUpdateOrders, context$8_cancelOrder as cancelOrder, context$8_captureAuthorizedPayments as captureAuthorizedPayments, context$8_createOrder as createOrder, context$8_getOrder as getOrder, context$8_getPaymentCollectabilityStatus as getPaymentCollectabilityStatus, context$8_onOrderApproved as onOrderApproved, context$8_onOrderCanceled as onOrderCanceled, context$8_onOrderCreated as onOrderCreated, context$8_onOrderPaymentStatusUpdated as onOrderPaymentStatusUpdated, context$8_onOrderUpdated as onOrderUpdated, onOrderApproved$1 as publicOnOrderApproved, onOrderCanceled$1 as publicOnOrderCanceled, onOrderCreated$1 as publicOnOrderCreated, onOrderPaymentStatusUpdated$1 as publicOnOrderPaymentStatusUpdated, onOrderUpdated$1 as publicOnOrderUpdated, context$8_searchOrders as searchOrders, context$8_updateOrder as updateOrder, context$8_voidAuthorizedPayments as voidAuthorizedPayments };
26711
26725
  }
26712
26726
 
26713
26727
  interface OrderPaymentRequest {