@wix/ecom 1.0.846 → 1.0.848

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.
@@ -2421,11 +2421,16 @@ interface DescriptionLineNonNullableFields$d {
2421
2421
  name?: DescriptionLineNameNonNullableFields$d;
2422
2422
  lineType: DescriptionLineType$d;
2423
2423
  }
2424
+ interface FocalPointNonNullableFields$6 {
2425
+ x: number;
2426
+ y: number;
2427
+ }
2424
2428
  interface ImageNonNullableFields$8 {
2425
2429
  id: string;
2426
2430
  url: string;
2427
2431
  height: number;
2428
2432
  width: number;
2433
+ focalPoint?: FocalPointNonNullableFields$6;
2429
2434
  }
2430
2435
  interface PhysicalPropertiesNonNullableFields$d {
2431
2436
  shippable: boolean;
@@ -6943,11 +6948,16 @@ interface DescriptionLineNonNullableFields$b {
6943
6948
  name?: DescriptionLineNameNonNullableFields$b;
6944
6949
  lineType: DescriptionLineType$b;
6945
6950
  }
6951
+ interface FocalPointNonNullableFields$5 {
6952
+ x: number;
6953
+ y: number;
6954
+ }
6946
6955
  interface CommonImageNonNullableFields$2 {
6947
6956
  id: string;
6948
6957
  url: string;
6949
6958
  height: number;
6950
6959
  width: number;
6960
+ focalPoint?: FocalPointNonNullableFields$5;
6951
6961
  }
6952
6962
  interface ItemAvailabilityInfoNonNullableFields$5 {
6953
6963
  status: ItemAvailabilityStatus$5;
@@ -7028,6 +7038,7 @@ interface LineItemNonNullableFields$5 {
7028
7038
  price?: MultiCurrencyPriceNonNullableFields$7;
7029
7039
  fullPrice?: MultiCurrencyPriceNonNullableFields$7;
7030
7040
  priceBeforeDiscounts?: MultiCurrencyPriceNonNullableFields$7;
7041
+ lineItemPrice?: MultiCurrencyPriceNonNullableFields$7;
7031
7042
  descriptionLines: DescriptionLineNonNullableFields$b[];
7032
7043
  image?: CommonImageNonNullableFields$2;
7033
7044
  availability?: ItemAvailabilityInfoNonNullableFields$5;
@@ -7104,6 +7115,7 @@ interface CartNonNullableFields$3 {
7104
7115
  conversionCurrency: string;
7105
7116
  weightUnit: WeightUnit$d;
7106
7117
  subtotal?: MultiCurrencyPriceNonNullableFields$7;
7118
+ subtotalAfterDiscounts?: MultiCurrencyPriceNonNullableFields$7;
7107
7119
  appliedDiscounts: CartDiscountNonNullableFields$3[];
7108
7120
  contactInfo?: AddressWithContactNonNullableFields$9;
7109
7121
  selectedShippingOption?: SelectedShippingOptionNonNullableFields$3;
@@ -9014,6 +9026,7 @@ interface LineItemNonNullableFields$4 {
9014
9026
  price?: MultiCurrencyPriceNonNullableFields$6;
9015
9027
  fullPrice?: MultiCurrencyPriceNonNullableFields$6;
9016
9028
  priceBeforeDiscounts?: MultiCurrencyPriceNonNullableFields$6;
9029
+ lineItemPrice?: MultiCurrencyPriceNonNullableFields$6;
9017
9030
  descriptionLines: DescriptionLineNonNullableFields$a[];
9018
9031
  image: string;
9019
9032
  availability?: ItemAvailabilityInfoNonNullableFields$4;
@@ -9090,6 +9103,7 @@ interface CartNonNullableFields$2 {
9090
9103
  conversionCurrency: string;
9091
9104
  weightUnit: WeightUnit$c;
9092
9105
  subtotal?: MultiCurrencyPriceNonNullableFields$6;
9106
+ subtotalAfterDiscounts?: MultiCurrencyPriceNonNullableFields$6;
9093
9107
  appliedDiscounts: CartDiscountNonNullableFields$2[];
9094
9108
  contactInfo?: AddressWithContactNonNullableFields$8;
9095
9109
  selectedShippingOption?: SelectedShippingOptionNonNullableFields$2;
@@ -11004,11 +11018,16 @@ interface DescriptionLineNonNullableFields$9 {
11004
11018
  name?: DescriptionLineNameNonNullableFields$9;
11005
11019
  lineType: DescriptionLineType$9;
11006
11020
  }
11021
+ interface FocalPointNonNullableFields$4 {
11022
+ x: number;
11023
+ y: number;
11024
+ }
11007
11025
  interface CommonImageNonNullableFields$1 {
11008
11026
  id: string;
11009
11027
  url: string;
11010
11028
  height: number;
11011
11029
  width: number;
11030
+ focalPoint?: FocalPointNonNullableFields$4;
11012
11031
  }
11013
11032
  interface ItemAvailabilityInfoNonNullableFields$3 {
11014
11033
  status: ItemAvailabilityStatus$3;
@@ -11089,6 +11108,7 @@ interface LineItemNonNullableFields$3 {
11089
11108
  price?: MultiCurrencyPriceNonNullableFields$5;
11090
11109
  fullPrice?: MultiCurrencyPriceNonNullableFields$5;
11091
11110
  priceBeforeDiscounts?: MultiCurrencyPriceNonNullableFields$5;
11111
+ lineItemPrice?: MultiCurrencyPriceNonNullableFields$5;
11092
11112
  descriptionLines: DescriptionLineNonNullableFields$9[];
11093
11113
  image?: CommonImageNonNullableFields$1;
11094
11114
  availability?: ItemAvailabilityInfoNonNullableFields$3;
@@ -11165,6 +11185,7 @@ interface CartNonNullableFields$1 {
11165
11185
  conversionCurrency: string;
11166
11186
  weightUnit: WeightUnit$b;
11167
11187
  subtotal?: MultiCurrencyPriceNonNullableFields$5;
11188
+ subtotalAfterDiscounts?: MultiCurrencyPriceNonNullableFields$5;
11168
11189
  appliedDiscounts: CartDiscountNonNullableFields$1[];
11169
11190
  contactInfo?: AddressWithContactNonNullableFields$7;
11170
11191
  selectedShippingOption?: SelectedShippingOptionNonNullableFields$1;
@@ -13035,6 +13056,7 @@ interface LineItemNonNullableFields$2 {
13035
13056
  price?: MultiCurrencyPriceNonNullableFields$4;
13036
13057
  fullPrice?: MultiCurrencyPriceNonNullableFields$4;
13037
13058
  priceBeforeDiscounts?: MultiCurrencyPriceNonNullableFields$4;
13059
+ lineItemPrice?: MultiCurrencyPriceNonNullableFields$4;
13038
13060
  descriptionLines: DescriptionLineNonNullableFields$8[];
13039
13061
  image: string;
13040
13062
  availability?: ItemAvailabilityInfoNonNullableFields$2;
@@ -13111,6 +13133,7 @@ interface CartNonNullableFields {
13111
13133
  conversionCurrency: string;
13112
13134
  weightUnit: WeightUnit$a;
13113
13135
  subtotal?: MultiCurrencyPriceNonNullableFields$4;
13136
+ subtotalAfterDiscounts?: MultiCurrencyPriceNonNullableFields$4;
13114
13137
  appliedDiscounts: CartDiscountNonNullableFields[];
13115
13138
  contactInfo?: AddressWithContactNonNullableFields$6;
13116
13139
  selectedShippingOption?: SelectedShippingOptionNonNullableFields;
@@ -14007,18 +14030,6 @@ interface SubscriptionSettings$7 {
14007
14030
  autoRenewal?: boolean;
14008
14031
  /** Number of billing cycles before subscription ends. Ignored if `autoRenewal` is `true`. */
14009
14032
  billingCycles?: number | null;
14010
- /**
14011
- * Period until first cycle starts. If applied payNow will be 0
14012
- * If None => no free trial
14013
- */
14014
- freeTrialPeriod?: FreeTrialPeriod$1;
14015
- /** The date the subscription will start. The subscription will be charged either now or according to freeTrialDays. */
14016
- startDate?: Date | null;
14017
- /**
14018
- * Whether to generate an order each billing cycle. An order will always be generated for the first billing cycle.
14019
- * Default None => will behave like true
14020
- */
14021
- generateOrderEachBillingCycle?: boolean | null;
14022
14033
  }
14023
14034
  /** Frequency unit of recurring payment */
14024
14035
  declare enum SubscriptionFrequency$9 {
@@ -14028,12 +14039,6 @@ declare enum SubscriptionFrequency$9 {
14028
14039
  MONTH = "MONTH",
14029
14040
  YEAR = "YEAR"
14030
14041
  }
14031
- interface FreeTrialPeriod$1 {
14032
- /** Frequency of priod. Values: DAY, WEEK, MONTH, YEAR */
14033
- frequency?: SubscriptionFrequency$9;
14034
- /** interval of period */
14035
- interval?: number;
14036
- }
14037
14042
  interface Title$1 {
14038
14043
  /** Subscription option name in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope). */
14039
14044
  original?: string;
@@ -15225,17 +15230,6 @@ interface UpdateLineItemsQuantityResponse$1 {
15225
15230
  /** Updated checkout. */
15226
15231
  checkout?: Checkout$1;
15227
15232
  }
15228
- interface GetCheckoutPaymentSettingsRequest$1 {
15229
- /** Checkout ID. */
15230
- id: string;
15231
- }
15232
- interface GetCheckoutPaymentSettingsResponse$1 {
15233
- blockedPaymentOptions?: GetCheckoutPaymentSettingsResponsePaymentOption$1[];
15234
- }
15235
- declare enum GetCheckoutPaymentSettingsResponsePaymentOption$1 {
15236
- UNKNOWN_PAYMENT_OPTION = "UNKNOWN_PAYMENT_OPTION",
15237
- MANUAL = "MANUAL"
15238
- }
15239
15233
  interface CatalogReferenceNonNullableFields$7 {
15240
15234
  catalogItemId: string;
15241
15235
  appId: string;
@@ -15291,11 +15285,16 @@ interface DescriptionLineNonNullableFields$7 {
15291
15285
  name?: DescriptionLineNameNonNullableFields$7;
15292
15286
  lineType: DescriptionLineType$7;
15293
15287
  }
15288
+ interface FocalPointNonNullableFields$3 {
15289
+ x: number;
15290
+ y: number;
15291
+ }
15294
15292
  interface CommonImageNonNullableFields {
15295
15293
  id: string;
15296
15294
  url: string;
15297
15295
  height: number;
15298
15296
  width: number;
15297
+ focalPoint?: FocalPointNonNullableFields$3;
15299
15298
  }
15300
15299
  interface ItemAvailabilityInfoNonNullableFields$1 {
15301
15300
  status: ItemAvailabilityStatus$1;
@@ -15739,9 +15738,6 @@ interface CreateOrderResponseNonNullableFields$3 {
15739
15738
  interface UpdateLineItemsQuantityResponseNonNullableFields$1 {
15740
15739
  checkout?: CheckoutNonNullableFields$1;
15741
15740
  }
15742
- interface GetCheckoutPaymentSettingsResponseNonNullableFields$1 {
15743
- blockedPaymentOptions: GetCheckoutPaymentSettingsResponsePaymentOption$1[];
15744
- }
15745
15741
 
15746
15742
  interface Checkout {
15747
15743
  /**
@@ -16276,18 +16272,6 @@ interface SubscriptionSettings$6 {
16276
16272
  autoRenewal?: boolean;
16277
16273
  /** Number of billing cycles before subscription ends. Ignored if `autoRenewal` is `true`. */
16278
16274
  billingCycles?: number | null;
16279
- /**
16280
- * Period until first cycle starts. If applied payNow will be 0
16281
- * If None => no free trial
16282
- */
16283
- freeTrialPeriod?: FreeTrialPeriod;
16284
- /** The date the subscription will start. The subscription will be charged either now or according to freeTrialDays. */
16285
- startDate?: Date | null;
16286
- /**
16287
- * Whether to generate an order each billing cycle. An order will always be generated for the first billing cycle.
16288
- * Default None => will behave like true
16289
- */
16290
- generateOrderEachBillingCycle?: boolean | null;
16291
16275
  }
16292
16276
  /** Frequency unit of recurring payment */
16293
16277
  declare enum SubscriptionFrequency$8 {
@@ -16297,12 +16281,6 @@ declare enum SubscriptionFrequency$8 {
16297
16281
  MONTH = "MONTH",
16298
16282
  YEAR = "YEAR"
16299
16283
  }
16300
- interface FreeTrialPeriod {
16301
- /** Frequency of priod. Values: DAY, WEEK, MONTH, YEAR */
16302
- frequency?: SubscriptionFrequency$8;
16303
- /** interval of period */
16304
- interval?: number;
16305
- }
16306
16284
  interface Title {
16307
16285
  /** Subscription option name in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope). */
16308
16286
  original?: string;
@@ -17454,17 +17432,6 @@ interface UpdateLineItemsQuantityResponse {
17454
17432
  /** Updated checkout. */
17455
17433
  checkout?: Checkout;
17456
17434
  }
17457
- interface GetCheckoutPaymentSettingsRequest {
17458
- /** Checkout ID. */
17459
- _id: string;
17460
- }
17461
- interface GetCheckoutPaymentSettingsResponse {
17462
- blockedPaymentOptions?: GetCheckoutPaymentSettingsResponsePaymentOption[];
17463
- }
17464
- declare enum GetCheckoutPaymentSettingsResponsePaymentOption {
17465
- UNKNOWN_PAYMENT_OPTION = "UNKNOWN_PAYMENT_OPTION",
17466
- MANUAL = "MANUAL"
17467
- }
17468
17435
  interface CatalogReferenceNonNullableFields$6 {
17469
17436
  catalogItemId: string;
17470
17437
  appId: string;
@@ -17954,9 +17921,6 @@ interface CreateOrderResponseNonNullableFields$2 {
17954
17921
  interface UpdateLineItemsQuantityResponseNonNullableFields {
17955
17922
  checkout?: CheckoutNonNullableFields;
17956
17923
  }
17957
- interface GetCheckoutPaymentSettingsResponseNonNullableFields {
17958
- blockedPaymentOptions: GetCheckoutPaymentSettingsResponsePaymentOption[];
17959
- }
17960
17924
 
17961
17925
  type __PublicMethodMetaInfo$k<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
17962
17926
  getUrl: (context: any) => string;
@@ -18005,15 +17969,11 @@ declare function markCheckoutAsCompleted(): __PublicMethodMetaInfo$k<'POST', {
18005
17969
  declare function updateLineItemsQuantity(): __PublicMethodMetaInfo$k<'POST', {
18006
17970
  id: string;
18007
17971
  }, UpdateLineItemsQuantityRequest, UpdateLineItemsQuantityRequest$1, UpdateLineItemsQuantityResponse & UpdateLineItemsQuantityResponseNonNullableFields, UpdateLineItemsQuantityResponse$1 & UpdateLineItemsQuantityResponseNonNullableFields$1>;
18008
- declare function getCheckoutPaymentSettings(): __PublicMethodMetaInfo$k<'GET', {
18009
- id: string;
18010
- }, GetCheckoutPaymentSettingsRequest, GetCheckoutPaymentSettingsRequest$1, GetCheckoutPaymentSettingsResponse & GetCheckoutPaymentSettingsResponseNonNullableFields, GetCheckoutPaymentSettingsResponse$1 & GetCheckoutPaymentSettingsResponseNonNullableFields$1>;
18011
17972
 
18012
17973
  declare const meta$k_addToCheckout: typeof addToCheckout;
18013
17974
  declare const meta$k_createCheckout: typeof createCheckout;
18014
17975
  declare const meta$k_getCheckout: typeof getCheckout;
18015
17976
  declare const meta$k_getCheckoutByCartId: typeof getCheckoutByCartId;
18016
- declare const meta$k_getCheckoutPaymentSettings: typeof getCheckoutPaymentSettings;
18017
17977
  declare const meta$k_getCheckoutUrl: typeof getCheckoutUrl;
18018
17978
  declare const meta$k_markCheckoutAsCompleted: typeof markCheckoutAsCompleted;
18019
17979
  declare const meta$k_removeCoupon: typeof removeCoupon;
@@ -18023,7 +17983,7 @@ declare const meta$k_removeOverrideCheckoutUrl: typeof removeOverrideCheckoutUrl
18023
17983
  declare const meta$k_updateCheckout: typeof updateCheckout;
18024
17984
  declare const meta$k_updateLineItemsQuantity: typeof updateLineItemsQuantity;
18025
17985
  declare namespace meta$k {
18026
- export { type __PublicMethodMetaInfo$k as __PublicMethodMetaInfo, meta$k_addToCheckout as addToCheckout, meta$k_createCheckout as createCheckout, createOrder$1 as createOrder, meta$k_getCheckout as getCheckout, meta$k_getCheckoutByCartId as getCheckoutByCartId, meta$k_getCheckoutPaymentSettings as getCheckoutPaymentSettings, meta$k_getCheckoutUrl as getCheckoutUrl, meta$k_markCheckoutAsCompleted as markCheckoutAsCompleted, meta$k_removeCoupon as removeCoupon, meta$k_removeGiftCard as removeGiftCard, meta$k_removeLineItems as removeLineItems, meta$k_removeOverrideCheckoutUrl as removeOverrideCheckoutUrl, meta$k_updateCheckout as updateCheckout, meta$k_updateLineItemsQuantity as updateLineItemsQuantity };
17986
+ export { type __PublicMethodMetaInfo$k as __PublicMethodMetaInfo, meta$k_addToCheckout as addToCheckout, meta$k_createCheckout as createCheckout, createOrder$1 as createOrder, meta$k_getCheckout as getCheckout, meta$k_getCheckoutByCartId as getCheckoutByCartId, meta$k_getCheckoutUrl as getCheckoutUrl, meta$k_markCheckoutAsCompleted as markCheckoutAsCompleted, meta$k_removeCoupon as removeCoupon, meta$k_removeGiftCard as removeGiftCard, meta$k_removeLineItems as removeLineItems, meta$k_removeOverrideCheckoutUrl as removeOverrideCheckoutUrl, meta$k_updateCheckout as updateCheckout, meta$k_updateLineItemsQuantity as updateLineItemsQuantity };
18027
17987
  }
18028
17988
 
18029
17989
  interface CheckoutSettings$1 {
@@ -18222,11 +18182,16 @@ interface UpdateCheckoutSettingsResponse$1 {
18222
18182
  /** The updated checkout settings. */
18223
18183
  checkoutSettings?: CheckoutSettings$1;
18224
18184
  }
18185
+ interface FocalPointNonNullableFields$2 {
18186
+ x: number;
18187
+ y: number;
18188
+ }
18225
18189
  interface ImageNonNullableFields$4 {
18226
18190
  id: string;
18227
18191
  url: string;
18228
18192
  height: number;
18229
18193
  width: number;
18194
+ focalPoint?: FocalPointNonNullableFields$2;
18230
18195
  }
18231
18196
  interface LogoNonNullableFields$1 {
18232
18197
  image?: ImageNonNullableFields$4;
@@ -22967,11 +22932,16 @@ interface DescriptionLineNonNullableFields$3 {
22967
22932
  name?: DescriptionLineNameNonNullableFields$3;
22968
22933
  lineType: DescriptionLineType$3;
22969
22934
  }
22935
+ interface FocalPointNonNullableFields$1 {
22936
+ x: number;
22937
+ y: number;
22938
+ }
22970
22939
  interface ImageNonNullableFields$2 {
22971
22940
  id: string;
22972
22941
  url: string;
22973
22942
  height: number;
22974
22943
  width: number;
22944
+ focalPoint?: FocalPointNonNullableFields$1;
22975
22945
  }
22976
22946
  interface PhysicalPropertiesNonNullableFields$3 {
22977
22947
  shippable: boolean;
@@ -23232,6 +23202,19 @@ interface BillingDetailsNonNullableFields$1 {
23232
23202
  removed: boolean;
23233
23203
  billingInfo?: AddressWithContactNonNullableFields$3;
23234
23204
  }
23205
+ interface LocationNonNullableFields$3 {
23206
+ id: string;
23207
+ name: string;
23208
+ }
23209
+ interface BusinessLocationChangedDetailsNonNullableFields$1 {
23210
+ businessLocationBeforeChange?: LocationNonNullableFields$3;
23211
+ }
23212
+ interface BusinessLocationDetailsNonNullableFields$1 {
23213
+ added: boolean;
23214
+ changedDetails?: BusinessLocationChangedDetailsNonNullableFields$1;
23215
+ removed: boolean;
23216
+ businessLocation?: LocationNonNullableFields$3;
23217
+ }
23235
23218
  interface DraftOrderNonNullableFields$1 {
23236
23219
  lineItems: ItemDetailsNonNullableFields$1[];
23237
23220
  shippingInfo?: ShippingDetailsNonNullableFields$1;
@@ -23250,6 +23233,7 @@ interface DraftOrderNonNullableFields$1 {
23250
23233
  taxInfo?: OrderTaxInfoNonNullableFields$3;
23251
23234
  buyerDetails?: BuyerDetailsNonNullableFields$1;
23252
23235
  billingDetails?: BillingDetailsNonNullableFields$1;
23236
+ businessLocationDetails?: BusinessLocationDetailsNonNullableFields$1;
23253
23237
  }
23254
23238
  interface PickupDetailsNonNullableFields$7 {
23255
23239
  address?: AddressNonNullableFields$b;
@@ -23574,6 +23558,7 @@ interface OrderNonNullableFields$3 {
23574
23558
  additionalFees: AdditionalFeeNonNullableFields$3[];
23575
23559
  recipientInfo?: AddressWithContactNonNullableFields$3;
23576
23560
  tags?: TagsNonNullableFields$3;
23561
+ businessLocation?: LocationNonNullableFields$3;
23577
23562
  }
23578
23563
  interface CommitDraftOrderResponseNonNullableFields$1 {
23579
23564
  committedDraftOrder?: DraftOrderNonNullableFields$1;
@@ -25803,6 +25788,19 @@ interface BillingDetailsNonNullableFields {
25803
25788
  removed: boolean;
25804
25789
  billingInfo?: AddressWithContactNonNullableFields$2;
25805
25790
  }
25791
+ interface LocationNonNullableFields$2 {
25792
+ _id: string;
25793
+ name: string;
25794
+ }
25795
+ interface BusinessLocationChangedDetailsNonNullableFields {
25796
+ businessLocationBeforeChange?: LocationNonNullableFields$2;
25797
+ }
25798
+ interface BusinessLocationDetailsNonNullableFields {
25799
+ added: boolean;
25800
+ changedDetails?: BusinessLocationChangedDetailsNonNullableFields;
25801
+ removed: boolean;
25802
+ businessLocation?: LocationNonNullableFields$2;
25803
+ }
25806
25804
  interface DraftOrderNonNullableFields {
25807
25805
  lineItems: ItemDetailsNonNullableFields[];
25808
25806
  shippingInfo?: ShippingDetailsNonNullableFields;
@@ -25821,6 +25819,7 @@ interface DraftOrderNonNullableFields {
25821
25819
  taxInfo?: OrderTaxInfoNonNullableFields$2;
25822
25820
  buyerDetails?: BuyerDetailsNonNullableFields;
25823
25821
  billingDetails?: BillingDetailsNonNullableFields;
25822
+ businessLocationDetails?: BusinessLocationDetailsNonNullableFields;
25824
25823
  }
25825
25824
  interface PickupDetailsNonNullableFields$6 {
25826
25825
  address?: AddressNonNullableFields$a;
@@ -26145,6 +26144,7 @@ interface OrderNonNullableFields$2 {
26145
26144
  additionalFees: AdditionalFeeNonNullableFields$2[];
26146
26145
  recipientInfo?: AddressWithContactNonNullableFields$2;
26147
26146
  tags?: TagsNonNullableFields$2;
26147
+ businessLocation?: LocationNonNullableFields$2;
26148
26148
  }
26149
26149
  interface CommitDraftOrderResponseNonNullableFields {
26150
26150
  committedDraftOrder?: DraftOrderNonNullableFields;
@@ -26168,9 +26168,7 @@ type __PublicMethodMetaInfo$g<K = string, M = unknown, T = unknown, S = unknown,
26168
26168
  __responseType: Q;
26169
26169
  __originalResponseType: R;
26170
26170
  };
26171
- declare function createDraftOrder(): __PublicMethodMetaInfo$g<'POST', {
26172
- orderId: string;
26173
- }, CreateDraftOrderRequest, CreateDraftOrderRequest$1, CreateDraftOrderResponse & CreateDraftOrderResponseNonNullableFields, CreateDraftOrderResponse$1 & CreateDraftOrderResponseNonNullableFields$1>;
26171
+ declare function createDraftOrder(): __PublicMethodMetaInfo$g<'POST', {}, CreateDraftOrderRequest, CreateDraftOrderRequest$1, CreateDraftOrderResponse & CreateDraftOrderResponseNonNullableFields, CreateDraftOrderResponse$1 & CreateDraftOrderResponseNonNullableFields$1>;
26174
26172
  declare function createEmptyDraftOrder(): __PublicMethodMetaInfo$g<'POST', {}, CreateEmptyDraftOrderRequest, CreateEmptyDraftOrderRequest$1, CreateEmptyDraftOrderResponse & CreateEmptyDraftOrderResponseNonNullableFields, CreateEmptyDraftOrderResponse$1 & CreateEmptyDraftOrderResponseNonNullableFields$1>;
26175
26173
  declare function addLineItemsToDraftOrder(): __PublicMethodMetaInfo$g<'POST', {
26176
26174
  draftOrderId: string;
@@ -29365,7 +29363,9 @@ declare enum PaymentCollectabilityStatus$1 {
29365
29363
  COLLECTABLE = "COLLECTABLE",
29366
29364
  NONCOLLECTABLE_ORDER_IS_CANCELLED = "NONCOLLECTABLE_ORDER_IS_CANCELLED",
29367
29365
  NONCOLLECTABLE_ORDER_IS_PAID = "NONCOLLECTABLE_ORDER_IS_PAID",
29368
- NONCOLLECTABLE_MISSING_PAYMENT_METHOD = "NONCOLLECTABLE_MISSING_PAYMENT_METHOD"
29366
+ NONCOLLECTABLE_MISSING_PAYMENT_METHOD = "NONCOLLECTABLE_MISSING_PAYMENT_METHOD",
29367
+ NONCOLLECTABLE_ORDER_IS_PENDING = "NONCOLLECTABLE_ORDER_IS_PENDING",
29368
+ NONCOLLECTABLE_ORDER_IS_REJECTED = "NONCOLLECTABLE_ORDER_IS_REJECTED"
29369
29369
  }
29370
29370
  interface BulkOrderResult$1 {
29371
29371
  /** Item metadata. */
@@ -29703,11 +29703,16 @@ interface DescriptionLineNonNullableFields$1 {
29703
29703
  name?: DescriptionLineNameNonNullableFields$1;
29704
29704
  lineType: DescriptionLineType$1;
29705
29705
  }
29706
+ interface FocalPointNonNullableFields {
29707
+ x: number;
29708
+ y: number;
29709
+ }
29706
29710
  interface ImageNonNullableFields$1 {
29707
29711
  id: string;
29708
29712
  url: string;
29709
29713
  height: number;
29710
29714
  width: number;
29715
+ focalPoint?: FocalPointNonNullableFields;
29711
29716
  }
29712
29717
  interface PhysicalPropertiesNonNullableFields$1 {
29713
29718
  shippable: boolean;
@@ -30095,6 +30100,10 @@ interface TagsNonNullableFields$1 {
30095
30100
  privateTags?: TagListNonNullableFields$1;
30096
30101
  tags?: TagListNonNullableFields$1;
30097
30102
  }
30103
+ interface LocationNonNullableFields$1 {
30104
+ id: string;
30105
+ name: string;
30106
+ }
30098
30107
  interface OrderNonNullableFields$1 {
30099
30108
  number: string;
30100
30109
  lineItems: OrderLineItemNonNullableFields$1[];
@@ -30121,6 +30130,7 @@ interface OrderNonNullableFields$1 {
30121
30130
  additionalFees: AdditionalFeeNonNullableFields$1[];
30122
30131
  recipientInfo?: AddressWithContactNonNullableFields$1;
30123
30132
  tags?: TagsNonNullableFields$1;
30133
+ businessLocation?: LocationNonNullableFields$1;
30124
30134
  }
30125
30135
  interface GetOrderResponseNonNullableFields$1 {
30126
30136
  order?: OrderNonNullableFields$1;
@@ -31634,7 +31644,9 @@ declare enum PaymentCollectabilityStatus {
31634
31644
  COLLECTABLE = "COLLECTABLE",
31635
31645
  NONCOLLECTABLE_ORDER_IS_CANCELLED = "NONCOLLECTABLE_ORDER_IS_CANCELLED",
31636
31646
  NONCOLLECTABLE_ORDER_IS_PAID = "NONCOLLECTABLE_ORDER_IS_PAID",
31637
- NONCOLLECTABLE_MISSING_PAYMENT_METHOD = "NONCOLLECTABLE_MISSING_PAYMENT_METHOD"
31647
+ NONCOLLECTABLE_MISSING_PAYMENT_METHOD = "NONCOLLECTABLE_MISSING_PAYMENT_METHOD",
31648
+ NONCOLLECTABLE_ORDER_IS_PENDING = "NONCOLLECTABLE_ORDER_IS_PENDING",
31649
+ NONCOLLECTABLE_ORDER_IS_REJECTED = "NONCOLLECTABLE_ORDER_IS_REJECTED"
31638
31650
  }
31639
31651
  interface BulkOrderResult {
31640
31652
  /** Item metadata. */
@@ -32358,6 +32370,10 @@ interface TagsNonNullableFields {
32358
32370
  privateTags?: TagListNonNullableFields;
32359
32371
  tags?: TagListNonNullableFields;
32360
32372
  }
32373
+ interface LocationNonNullableFields {
32374
+ _id: string;
32375
+ name: string;
32376
+ }
32361
32377
  interface OrderNonNullableFields {
32362
32378
  number: string;
32363
32379
  lineItems: OrderLineItemNonNullableFields[];
@@ -32384,6 +32400,7 @@ interface OrderNonNullableFields {
32384
32400
  additionalFees: AdditionalFeeNonNullableFields[];
32385
32401
  recipientInfo?: AddressWithContactNonNullableFields;
32386
32402
  tags?: TagsNonNullableFields;
32403
+ businessLocation?: LocationNonNullableFields;
32387
32404
  }
32388
32405
  interface GetOrderResponseNonNullableFields {
32389
32406
  order?: OrderNonNullableFields;