@wix/ecom 1.0.846 → 1.0.847

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;
@@ -9014,6 +9025,7 @@ interface LineItemNonNullableFields$4 {
9014
9025
  price?: MultiCurrencyPriceNonNullableFields$6;
9015
9026
  fullPrice?: MultiCurrencyPriceNonNullableFields$6;
9016
9027
  priceBeforeDiscounts?: MultiCurrencyPriceNonNullableFields$6;
9028
+ lineItemPrice?: MultiCurrencyPriceNonNullableFields$6;
9017
9029
  descriptionLines: DescriptionLineNonNullableFields$a[];
9018
9030
  image: string;
9019
9031
  availability?: ItemAvailabilityInfoNonNullableFields$4;
@@ -11004,11 +11016,16 @@ interface DescriptionLineNonNullableFields$9 {
11004
11016
  name?: DescriptionLineNameNonNullableFields$9;
11005
11017
  lineType: DescriptionLineType$9;
11006
11018
  }
11019
+ interface FocalPointNonNullableFields$4 {
11020
+ x: number;
11021
+ y: number;
11022
+ }
11007
11023
  interface CommonImageNonNullableFields$1 {
11008
11024
  id: string;
11009
11025
  url: string;
11010
11026
  height: number;
11011
11027
  width: number;
11028
+ focalPoint?: FocalPointNonNullableFields$4;
11012
11029
  }
11013
11030
  interface ItemAvailabilityInfoNonNullableFields$3 {
11014
11031
  status: ItemAvailabilityStatus$3;
@@ -11089,6 +11106,7 @@ interface LineItemNonNullableFields$3 {
11089
11106
  price?: MultiCurrencyPriceNonNullableFields$5;
11090
11107
  fullPrice?: MultiCurrencyPriceNonNullableFields$5;
11091
11108
  priceBeforeDiscounts?: MultiCurrencyPriceNonNullableFields$5;
11109
+ lineItemPrice?: MultiCurrencyPriceNonNullableFields$5;
11092
11110
  descriptionLines: DescriptionLineNonNullableFields$9[];
11093
11111
  image?: CommonImageNonNullableFields$1;
11094
11112
  availability?: ItemAvailabilityInfoNonNullableFields$3;
@@ -13035,6 +13053,7 @@ interface LineItemNonNullableFields$2 {
13035
13053
  price?: MultiCurrencyPriceNonNullableFields$4;
13036
13054
  fullPrice?: MultiCurrencyPriceNonNullableFields$4;
13037
13055
  priceBeforeDiscounts?: MultiCurrencyPriceNonNullableFields$4;
13056
+ lineItemPrice?: MultiCurrencyPriceNonNullableFields$4;
13038
13057
  descriptionLines: DescriptionLineNonNullableFields$8[];
13039
13058
  image: string;
13040
13059
  availability?: ItemAvailabilityInfoNonNullableFields$2;
@@ -14007,18 +14026,6 @@ interface SubscriptionSettings$7 {
14007
14026
  autoRenewal?: boolean;
14008
14027
  /** Number of billing cycles before subscription ends. Ignored if `autoRenewal` is `true`. */
14009
14028
  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
14029
  }
14023
14030
  /** Frequency unit of recurring payment */
14024
14031
  declare enum SubscriptionFrequency$9 {
@@ -14028,12 +14035,6 @@ declare enum SubscriptionFrequency$9 {
14028
14035
  MONTH = "MONTH",
14029
14036
  YEAR = "YEAR"
14030
14037
  }
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
14038
  interface Title$1 {
14038
14039
  /** 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
14040
  original?: string;
@@ -15225,17 +15226,6 @@ interface UpdateLineItemsQuantityResponse$1 {
15225
15226
  /** Updated checkout. */
15226
15227
  checkout?: Checkout$1;
15227
15228
  }
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
15229
  interface CatalogReferenceNonNullableFields$7 {
15240
15230
  catalogItemId: string;
15241
15231
  appId: string;
@@ -15291,11 +15281,16 @@ interface DescriptionLineNonNullableFields$7 {
15291
15281
  name?: DescriptionLineNameNonNullableFields$7;
15292
15282
  lineType: DescriptionLineType$7;
15293
15283
  }
15284
+ interface FocalPointNonNullableFields$3 {
15285
+ x: number;
15286
+ y: number;
15287
+ }
15294
15288
  interface CommonImageNonNullableFields {
15295
15289
  id: string;
15296
15290
  url: string;
15297
15291
  height: number;
15298
15292
  width: number;
15293
+ focalPoint?: FocalPointNonNullableFields$3;
15299
15294
  }
15300
15295
  interface ItemAvailabilityInfoNonNullableFields$1 {
15301
15296
  status: ItemAvailabilityStatus$1;
@@ -15739,9 +15734,6 @@ interface CreateOrderResponseNonNullableFields$3 {
15739
15734
  interface UpdateLineItemsQuantityResponseNonNullableFields$1 {
15740
15735
  checkout?: CheckoutNonNullableFields$1;
15741
15736
  }
15742
- interface GetCheckoutPaymentSettingsResponseNonNullableFields$1 {
15743
- blockedPaymentOptions: GetCheckoutPaymentSettingsResponsePaymentOption$1[];
15744
- }
15745
15737
 
15746
15738
  interface Checkout {
15747
15739
  /**
@@ -16276,18 +16268,6 @@ interface SubscriptionSettings$6 {
16276
16268
  autoRenewal?: boolean;
16277
16269
  /** Number of billing cycles before subscription ends. Ignored if `autoRenewal` is `true`. */
16278
16270
  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
16271
  }
16292
16272
  /** Frequency unit of recurring payment */
16293
16273
  declare enum SubscriptionFrequency$8 {
@@ -16297,12 +16277,6 @@ declare enum SubscriptionFrequency$8 {
16297
16277
  MONTH = "MONTH",
16298
16278
  YEAR = "YEAR"
16299
16279
  }
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
16280
  interface Title {
16307
16281
  /** 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
16282
  original?: string;
@@ -17454,17 +17428,6 @@ interface UpdateLineItemsQuantityResponse {
17454
17428
  /** Updated checkout. */
17455
17429
  checkout?: Checkout;
17456
17430
  }
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
17431
  interface CatalogReferenceNonNullableFields$6 {
17469
17432
  catalogItemId: string;
17470
17433
  appId: string;
@@ -17954,9 +17917,6 @@ interface CreateOrderResponseNonNullableFields$2 {
17954
17917
  interface UpdateLineItemsQuantityResponseNonNullableFields {
17955
17918
  checkout?: CheckoutNonNullableFields;
17956
17919
  }
17957
- interface GetCheckoutPaymentSettingsResponseNonNullableFields {
17958
- blockedPaymentOptions: GetCheckoutPaymentSettingsResponsePaymentOption[];
17959
- }
17960
17920
 
17961
17921
  type __PublicMethodMetaInfo$k<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
17962
17922
  getUrl: (context: any) => string;
@@ -18005,15 +17965,11 @@ declare function markCheckoutAsCompleted(): __PublicMethodMetaInfo$k<'POST', {
18005
17965
  declare function updateLineItemsQuantity(): __PublicMethodMetaInfo$k<'POST', {
18006
17966
  id: string;
18007
17967
  }, 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
17968
 
18012
17969
  declare const meta$k_addToCheckout: typeof addToCheckout;
18013
17970
  declare const meta$k_createCheckout: typeof createCheckout;
18014
17971
  declare const meta$k_getCheckout: typeof getCheckout;
18015
17972
  declare const meta$k_getCheckoutByCartId: typeof getCheckoutByCartId;
18016
- declare const meta$k_getCheckoutPaymentSettings: typeof getCheckoutPaymentSettings;
18017
17973
  declare const meta$k_getCheckoutUrl: typeof getCheckoutUrl;
18018
17974
  declare const meta$k_markCheckoutAsCompleted: typeof markCheckoutAsCompleted;
18019
17975
  declare const meta$k_removeCoupon: typeof removeCoupon;
@@ -18023,7 +17979,7 @@ declare const meta$k_removeOverrideCheckoutUrl: typeof removeOverrideCheckoutUrl
18023
17979
  declare const meta$k_updateCheckout: typeof updateCheckout;
18024
17980
  declare const meta$k_updateLineItemsQuantity: typeof updateLineItemsQuantity;
18025
17981
  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 };
17982
+ 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
17983
  }
18028
17984
 
18029
17985
  interface CheckoutSettings$1 {
@@ -18222,11 +18178,16 @@ interface UpdateCheckoutSettingsResponse$1 {
18222
18178
  /** The updated checkout settings. */
18223
18179
  checkoutSettings?: CheckoutSettings$1;
18224
18180
  }
18181
+ interface FocalPointNonNullableFields$2 {
18182
+ x: number;
18183
+ y: number;
18184
+ }
18225
18185
  interface ImageNonNullableFields$4 {
18226
18186
  id: string;
18227
18187
  url: string;
18228
18188
  height: number;
18229
18189
  width: number;
18190
+ focalPoint?: FocalPointNonNullableFields$2;
18230
18191
  }
18231
18192
  interface LogoNonNullableFields$1 {
18232
18193
  image?: ImageNonNullableFields$4;
@@ -22967,11 +22928,16 @@ interface DescriptionLineNonNullableFields$3 {
22967
22928
  name?: DescriptionLineNameNonNullableFields$3;
22968
22929
  lineType: DescriptionLineType$3;
22969
22930
  }
22931
+ interface FocalPointNonNullableFields$1 {
22932
+ x: number;
22933
+ y: number;
22934
+ }
22970
22935
  interface ImageNonNullableFields$2 {
22971
22936
  id: string;
22972
22937
  url: string;
22973
22938
  height: number;
22974
22939
  width: number;
22940
+ focalPoint?: FocalPointNonNullableFields$1;
22975
22941
  }
22976
22942
  interface PhysicalPropertiesNonNullableFields$3 {
22977
22943
  shippable: boolean;
@@ -23232,6 +23198,19 @@ interface BillingDetailsNonNullableFields$1 {
23232
23198
  removed: boolean;
23233
23199
  billingInfo?: AddressWithContactNonNullableFields$3;
23234
23200
  }
23201
+ interface LocationNonNullableFields$3 {
23202
+ id: string;
23203
+ name: string;
23204
+ }
23205
+ interface BusinessLocationChangedDetailsNonNullableFields$1 {
23206
+ businessLocationBeforeChange?: LocationNonNullableFields$3;
23207
+ }
23208
+ interface BusinessLocationDetailsNonNullableFields$1 {
23209
+ added: boolean;
23210
+ changedDetails?: BusinessLocationChangedDetailsNonNullableFields$1;
23211
+ removed: boolean;
23212
+ businessLocation?: LocationNonNullableFields$3;
23213
+ }
23235
23214
  interface DraftOrderNonNullableFields$1 {
23236
23215
  lineItems: ItemDetailsNonNullableFields$1[];
23237
23216
  shippingInfo?: ShippingDetailsNonNullableFields$1;
@@ -23250,6 +23229,7 @@ interface DraftOrderNonNullableFields$1 {
23250
23229
  taxInfo?: OrderTaxInfoNonNullableFields$3;
23251
23230
  buyerDetails?: BuyerDetailsNonNullableFields$1;
23252
23231
  billingDetails?: BillingDetailsNonNullableFields$1;
23232
+ businessLocationDetails?: BusinessLocationDetailsNonNullableFields$1;
23253
23233
  }
23254
23234
  interface PickupDetailsNonNullableFields$7 {
23255
23235
  address?: AddressNonNullableFields$b;
@@ -23574,6 +23554,7 @@ interface OrderNonNullableFields$3 {
23574
23554
  additionalFees: AdditionalFeeNonNullableFields$3[];
23575
23555
  recipientInfo?: AddressWithContactNonNullableFields$3;
23576
23556
  tags?: TagsNonNullableFields$3;
23557
+ businessLocation?: LocationNonNullableFields$3;
23577
23558
  }
23578
23559
  interface CommitDraftOrderResponseNonNullableFields$1 {
23579
23560
  committedDraftOrder?: DraftOrderNonNullableFields$1;
@@ -25803,6 +25784,19 @@ interface BillingDetailsNonNullableFields {
25803
25784
  removed: boolean;
25804
25785
  billingInfo?: AddressWithContactNonNullableFields$2;
25805
25786
  }
25787
+ interface LocationNonNullableFields$2 {
25788
+ _id: string;
25789
+ name: string;
25790
+ }
25791
+ interface BusinessLocationChangedDetailsNonNullableFields {
25792
+ businessLocationBeforeChange?: LocationNonNullableFields$2;
25793
+ }
25794
+ interface BusinessLocationDetailsNonNullableFields {
25795
+ added: boolean;
25796
+ changedDetails?: BusinessLocationChangedDetailsNonNullableFields;
25797
+ removed: boolean;
25798
+ businessLocation?: LocationNonNullableFields$2;
25799
+ }
25806
25800
  interface DraftOrderNonNullableFields {
25807
25801
  lineItems: ItemDetailsNonNullableFields[];
25808
25802
  shippingInfo?: ShippingDetailsNonNullableFields;
@@ -25821,6 +25815,7 @@ interface DraftOrderNonNullableFields {
25821
25815
  taxInfo?: OrderTaxInfoNonNullableFields$2;
25822
25816
  buyerDetails?: BuyerDetailsNonNullableFields;
25823
25817
  billingDetails?: BillingDetailsNonNullableFields;
25818
+ businessLocationDetails?: BusinessLocationDetailsNonNullableFields;
25824
25819
  }
25825
25820
  interface PickupDetailsNonNullableFields$6 {
25826
25821
  address?: AddressNonNullableFields$a;
@@ -26145,6 +26140,7 @@ interface OrderNonNullableFields$2 {
26145
26140
  additionalFees: AdditionalFeeNonNullableFields$2[];
26146
26141
  recipientInfo?: AddressWithContactNonNullableFields$2;
26147
26142
  tags?: TagsNonNullableFields$2;
26143
+ businessLocation?: LocationNonNullableFields$2;
26148
26144
  }
26149
26145
  interface CommitDraftOrderResponseNonNullableFields {
26150
26146
  committedDraftOrder?: DraftOrderNonNullableFields;
@@ -26168,9 +26164,7 @@ type __PublicMethodMetaInfo$g<K = string, M = unknown, T = unknown, S = unknown,
26168
26164
  __responseType: Q;
26169
26165
  __originalResponseType: R;
26170
26166
  };
26171
- declare function createDraftOrder(): __PublicMethodMetaInfo$g<'POST', {
26172
- orderId: string;
26173
- }, CreateDraftOrderRequest, CreateDraftOrderRequest$1, CreateDraftOrderResponse & CreateDraftOrderResponseNonNullableFields, CreateDraftOrderResponse$1 & CreateDraftOrderResponseNonNullableFields$1>;
26167
+ declare function createDraftOrder(): __PublicMethodMetaInfo$g<'POST', {}, CreateDraftOrderRequest, CreateDraftOrderRequest$1, CreateDraftOrderResponse & CreateDraftOrderResponseNonNullableFields, CreateDraftOrderResponse$1 & CreateDraftOrderResponseNonNullableFields$1>;
26174
26168
  declare function createEmptyDraftOrder(): __PublicMethodMetaInfo$g<'POST', {}, CreateEmptyDraftOrderRequest, CreateEmptyDraftOrderRequest$1, CreateEmptyDraftOrderResponse & CreateEmptyDraftOrderResponseNonNullableFields, CreateEmptyDraftOrderResponse$1 & CreateEmptyDraftOrderResponseNonNullableFields$1>;
26175
26169
  declare function addLineItemsToDraftOrder(): __PublicMethodMetaInfo$g<'POST', {
26176
26170
  draftOrderId: string;
@@ -29365,7 +29359,9 @@ declare enum PaymentCollectabilityStatus$1 {
29365
29359
  COLLECTABLE = "COLLECTABLE",
29366
29360
  NONCOLLECTABLE_ORDER_IS_CANCELLED = "NONCOLLECTABLE_ORDER_IS_CANCELLED",
29367
29361
  NONCOLLECTABLE_ORDER_IS_PAID = "NONCOLLECTABLE_ORDER_IS_PAID",
29368
- NONCOLLECTABLE_MISSING_PAYMENT_METHOD = "NONCOLLECTABLE_MISSING_PAYMENT_METHOD"
29362
+ NONCOLLECTABLE_MISSING_PAYMENT_METHOD = "NONCOLLECTABLE_MISSING_PAYMENT_METHOD",
29363
+ NONCOLLECTABLE_ORDER_IS_PENDING = "NONCOLLECTABLE_ORDER_IS_PENDING",
29364
+ NONCOLLECTABLE_ORDER_IS_REJECTED = "NONCOLLECTABLE_ORDER_IS_REJECTED"
29369
29365
  }
29370
29366
  interface BulkOrderResult$1 {
29371
29367
  /** Item metadata. */
@@ -29703,11 +29699,16 @@ interface DescriptionLineNonNullableFields$1 {
29703
29699
  name?: DescriptionLineNameNonNullableFields$1;
29704
29700
  lineType: DescriptionLineType$1;
29705
29701
  }
29702
+ interface FocalPointNonNullableFields {
29703
+ x: number;
29704
+ y: number;
29705
+ }
29706
29706
  interface ImageNonNullableFields$1 {
29707
29707
  id: string;
29708
29708
  url: string;
29709
29709
  height: number;
29710
29710
  width: number;
29711
+ focalPoint?: FocalPointNonNullableFields;
29711
29712
  }
29712
29713
  interface PhysicalPropertiesNonNullableFields$1 {
29713
29714
  shippable: boolean;
@@ -30095,6 +30096,10 @@ interface TagsNonNullableFields$1 {
30095
30096
  privateTags?: TagListNonNullableFields$1;
30096
30097
  tags?: TagListNonNullableFields$1;
30097
30098
  }
30099
+ interface LocationNonNullableFields$1 {
30100
+ id: string;
30101
+ name: string;
30102
+ }
30098
30103
  interface OrderNonNullableFields$1 {
30099
30104
  number: string;
30100
30105
  lineItems: OrderLineItemNonNullableFields$1[];
@@ -30121,6 +30126,7 @@ interface OrderNonNullableFields$1 {
30121
30126
  additionalFees: AdditionalFeeNonNullableFields$1[];
30122
30127
  recipientInfo?: AddressWithContactNonNullableFields$1;
30123
30128
  tags?: TagsNonNullableFields$1;
30129
+ businessLocation?: LocationNonNullableFields$1;
30124
30130
  }
30125
30131
  interface GetOrderResponseNonNullableFields$1 {
30126
30132
  order?: OrderNonNullableFields$1;
@@ -31634,7 +31640,9 @@ declare enum PaymentCollectabilityStatus {
31634
31640
  COLLECTABLE = "COLLECTABLE",
31635
31641
  NONCOLLECTABLE_ORDER_IS_CANCELLED = "NONCOLLECTABLE_ORDER_IS_CANCELLED",
31636
31642
  NONCOLLECTABLE_ORDER_IS_PAID = "NONCOLLECTABLE_ORDER_IS_PAID",
31637
- NONCOLLECTABLE_MISSING_PAYMENT_METHOD = "NONCOLLECTABLE_MISSING_PAYMENT_METHOD"
31643
+ NONCOLLECTABLE_MISSING_PAYMENT_METHOD = "NONCOLLECTABLE_MISSING_PAYMENT_METHOD",
31644
+ NONCOLLECTABLE_ORDER_IS_PENDING = "NONCOLLECTABLE_ORDER_IS_PENDING",
31645
+ NONCOLLECTABLE_ORDER_IS_REJECTED = "NONCOLLECTABLE_ORDER_IS_REJECTED"
31638
31646
  }
31639
31647
  interface BulkOrderResult {
31640
31648
  /** Item metadata. */
@@ -32358,6 +32366,10 @@ interface TagsNonNullableFields {
32358
32366
  privateTags?: TagListNonNullableFields;
32359
32367
  tags?: TagListNonNullableFields;
32360
32368
  }
32369
+ interface LocationNonNullableFields {
32370
+ _id: string;
32371
+ name: string;
32372
+ }
32361
32373
  interface OrderNonNullableFields {
32362
32374
  number: string;
32363
32375
  lineItems: OrderLineItemNonNullableFields[];
@@ -32384,6 +32396,7 @@ interface OrderNonNullableFields {
32384
32396
  additionalFees: AdditionalFeeNonNullableFields[];
32385
32397
  recipientInfo?: AddressWithContactNonNullableFields;
32386
32398
  tags?: TagsNonNullableFields;
32399
+ businessLocation?: LocationNonNullableFields;
32387
32400
  }
32388
32401
  interface GetOrderResponseNonNullableFields {
32389
32402
  order?: OrderNonNullableFields;
@@ -723,7 +723,7 @@ declare class InvalidSelectionWixError extends Error {
723
723
  /** @hidden */
724
724
  spiErrorData: object;
725
725
  data: MembershipInvalidSelectionErrors;
726
- constructor(data: MembershipInvalidSelectionErrors);
726
+ constructor(data?: MembershipInvalidSelectionErrors);
727
727
  /** @hidden */
728
728
  static readonly __type = "wix_spi_error";
729
729
  }
@@ -766,7 +766,7 @@ declare class MembershipCannotBeUsedWixError extends Error {
766
766
  /** @hidden */
767
767
  spiErrorData: object;
768
768
  data: MembershipCannotBeChargedError;
769
- constructor(data: MembershipCannotBeChargedError);
769
+ constructor(data?: MembershipCannotBeChargedError);
770
770
  /** @hidden */
771
771
  static readonly __type = "wix_spi_error";
772
772
  }
@@ -789,7 +789,7 @@ declare class MembershipAlreadyChargedWixError extends Error {
789
789
  /** @hidden */
790
790
  spiErrorData: object;
791
791
  data: MembershipAlreadyChargedError;
792
- constructor(data: MembershipAlreadyChargedError);
792
+ constructor(data?: MembershipAlreadyChargedError);
793
793
  /** @hidden */
794
794
  static readonly __type = "wix_spi_error";
795
795
  }
@@ -1089,7 +1089,7 @@ declare class AlgorithmNotSupportedWixError extends Error {
1089
1089
  /** @hidden */
1090
1090
  spiErrorData: object;
1091
1091
  data: RecommendationAlgorithmNotSupported;
1092
- constructor(data: RecommendationAlgorithmNotSupported);
1092
+ constructor(data?: RecommendationAlgorithmNotSupported);
1093
1093
  /** @hidden */
1094
1094
  static readonly __type = "wix_spi_error";
1095
1095
  }
@@ -1109,7 +1109,7 @@ declare class ItemAppIdNotSupportedWixError extends Error {
1109
1109
  /** @hidden */
1110
1110
  spiErrorData: object;
1111
1111
  data: ItemAppIdNotSupportedError;
1112
- constructor(data: ItemAppIdNotSupportedError);
1112
+ constructor(data?: ItemAppIdNotSupportedError);
1113
1113
  /** @hidden */
1114
1114
  static readonly __type = "wix_spi_error";
1115
1115
  }
@@ -1621,7 +1621,7 @@ declare class MissingPostalCodeWixError extends Error {
1621
1621
  /** @hidden */
1622
1622
  spiErrorData: object;
1623
1623
  data: MissingPostalCodeError;
1624
- constructor(data: MissingPostalCodeError);
1624
+ constructor(data?: MissingPostalCodeError);
1625
1625
  /** @hidden */
1626
1626
  static readonly __type = "wix_spi_error";
1627
1627
  }
@@ -1650,7 +1650,7 @@ declare class InvalidPostalCodeWixError extends Error {
1650
1650
  /** @hidden */
1651
1651
  spiErrorData: object;
1652
1652
  data: InvalidPostalCodeError;
1653
- constructor(data: InvalidPostalCodeError);
1653
+ constructor(data?: InvalidPostalCodeError);
1654
1654
  /** @hidden */
1655
1655
  static readonly __type = "wix_spi_error";
1656
1656
  }
@@ -1678,7 +1678,7 @@ declare class InvalidAddressWixError extends Error {
1678
1678
  /** @hidden */
1679
1679
  spiErrorData: object;
1680
1680
  data: InvalidAddressError;
1681
- constructor(data: InvalidAddressError);
1681
+ constructor(data?: InvalidAddressError);
1682
1682
  /** @hidden */
1683
1683
  static readonly __type = "wix_spi_error";
1684
1684
  }
@@ -1706,7 +1706,7 @@ declare class GenericShippingRatesWixError extends Error {
1706
1706
  /** @hidden */
1707
1707
  spiErrorData: object;
1708
1708
  data: GenericShippingRatesError;
1709
- constructor(data: GenericShippingRatesError);
1709
+ constructor(data?: GenericShippingRatesError);
1710
1710
  /** @hidden */
1711
1711
  static readonly __type = "wix_spi_error";
1712
1712
  }
@@ -3051,6 +3051,16 @@ declare enum DescriptionLineType {
3051
3051
  PLAIN_TEXT = "PLAIN_TEXT",
3052
3052
  COLOR = "COLOR"
3053
3053
  }
3054
+ interface FocalPoint {
3055
+ /** X-coordinate of the focal point. */
3056
+ x?: number;
3057
+ /** Y-coordinate of the focal point. */
3058
+ y?: number;
3059
+ /** crop by height */
3060
+ height?: number | null;
3061
+ /** crop by width */
3062
+ width?: number | null;
3063
+ }
3054
3064
  interface PhysicalProperties$1 {
3055
3065
  /** Line item weight. Measurement unit matches the weight unit specified in `weightUnit` in the request. */
3056
3066
  weight?: number | null;
@@ -4152,6 +4162,18 @@ interface TagList {
4152
4162
  /** List of tag IDs */
4153
4163
  tagIds?: string[];
4154
4164
  }
4165
+ interface Location {
4166
+ /**
4167
+ * Location ID.
4168
+ * Learn more about the [Wix Locations API](https://dev.wix.com/docs/rest/business-management/locations/introduction).
4169
+ */
4170
+ _id?: string;
4171
+ /**
4172
+ * Location name.
4173
+ * @readonly
4174
+ */
4175
+ name?: string;
4176
+ }
4155
4177
  interface GetPaymentSettingsResponse {
4156
4178
  /** Retrieved payment settings. */
4157
4179
  paymentSettings?: PaymentSettings;
@@ -4619,18 +4641,6 @@ interface V1SubscriptionSettings {
4619
4641
  autoRenewal?: boolean;
4620
4642
  /** Number of billing cycles before subscription ends. Ignored if `autoRenewal` is `true`. */
4621
4643
  billingCycles?: number | null;
4622
- /**
4623
- * Period until first cycle starts. If applied payNow will be 0
4624
- * If None => no free trial
4625
- */
4626
- freeTrialPeriod?: FreeTrialPeriod$1;
4627
- /** The date the subscription will start. The subscription will be charged either now or according to freeTrialDays. */
4628
- startDate?: Date | null;
4629
- /**
4630
- * Whether to generate an order each billing cycle. An order will always be generated for the first billing cycle.
4631
- * Default None => will behave like true
4632
- */
4633
- generateOrderEachBillingCycle?: boolean | null;
4634
4644
  }
4635
4645
  interface FreeTrialPeriod$1 {
4636
4646
  /** Frequency of priod. Values: DAY, WEEK, MONTH, YEAR */
@@ -5634,6 +5644,7 @@ declare const context$1_FallbackReason: typeof FallbackReason;
5634
5644
  type context$1_FieldViolation = FieldViolation;
5635
5645
  type context$1_FileType = FileType;
5636
5646
  declare const context$1_FileType: typeof FileType;
5647
+ type context$1_FocalPoint = FocalPoint;
5637
5648
  type context$1_FulfillmentStatus = FulfillmentStatus;
5638
5649
  declare const context$1_FulfillmentStatus: typeof FulfillmentStatus;
5639
5650
  type context$1_FulfillmentStatusesAggregate = FulfillmentStatusesAggregate;
@@ -5657,6 +5668,7 @@ type context$1_LineItemQuantityChangeType = LineItemQuantityChangeType;
5657
5668
  declare const context$1_LineItemQuantityChangeType: typeof LineItemQuantityChangeType;
5658
5669
  type context$1_LineItemTaxBreakdown = LineItemTaxBreakdown;
5659
5670
  type context$1_LineItemTaxInfo = LineItemTaxInfo;
5671
+ type context$1_Location = Location;
5660
5672
  type context$1_LocationAndQuantity = LocationAndQuantity;
5661
5673
  type context$1_ManagedAdditionalFee = ManagedAdditionalFee;
5662
5674
  type context$1_ManagedDiscount = ManagedDiscount;
@@ -5772,7 +5784,7 @@ type context$1_V1SubscriptionSettings = V1SubscriptionSettings;
5772
5784
  type context$1_V1TaxSummary = V1TaxSummary;
5773
5785
  type context$1_ValidationError = ValidationError;
5774
5786
  declare namespace context$1 {
5775
- export { type context$1_Activity as Activity, type context$1_ActivityContentOneOf as ActivityContentOneOf, context$1_ActivityType as ActivityType, type context$1_AdditionalFee as AdditionalFee, type Address$1 as Address, type AddressLocation$1 as AddressLocation, type AddressWithContact$1 as AddressWithContact, type context$1_AggregatedTaxBreakdown as AggregatedTaxBreakdown, type context$1_ApiAddressWithContact as ApiAddressWithContact, type ApplicableLineItems$1 as ApplicableLineItems, type context$1_ApplicationError as ApplicationError, type AppliedDiscount$1 as AppliedDiscount, type AppliedDiscountDiscountSourceOneOf$1 as AppliedDiscountDiscountSourceOneOf, context$1_AppliedDiscountDiscountType as AppliedDiscountDiscountType, context$1_AttributionSource as AttributionSource, type context$1_AuthorizedPaymentCaptured as AuthorizedPaymentCaptured, type context$1_AuthorizedPaymentCreated as AuthorizedPaymentCreated, type context$1_AuthorizedPaymentVoided as AuthorizedPaymentVoided, type context$1_AutoTaxFallbackCalculationDetails as AutoTaxFallbackCalculationDetails, type context$1_Balance as Balance, type context$1_BalanceSummary as BalanceSummary, type context$1_BuyerInfo as BuyerInfo, type context$1_BuyerInfoIdOneOf as BuyerInfoIdOneOf, type context$1_CalculationErrors as CalculationErrors, type context$1_CalculationErrorsShippingCalculationErrorOneOf as CalculationErrorsShippingCalculationErrorOneOf, type Carrier$1 as Carrier, type context$1_CarrierError as CarrierError, type context$1_CarrierErrors as CarrierErrors, type context$1_CarrierServiceOption as CarrierServiceOption, type context$1_CatalogOverrideFields as CatalogOverrideFields, type CatalogReference$1 as CatalogReference, type context$1_ChannelInfo as ChannelInfo, context$1_ChannelType as ChannelType, context$1_ChargeType as ChargeType, type context$1_Checkout as Checkout, type context$1_Color as Color, type Context$1 as Context, type context$1_ConversionInfo as ConversionInfo, type Coupon$1 as Coupon, type context$1_CreatedBy as CreatedBy, type context$1_CreatedByIdOneOf as CreatedByIdOneOf, type context$1_CreditCardDetails as CreditCardDetails, type context$1_CustomActivity as CustomActivity, type context$1_CustomContentReference as CustomContentReference, type CustomField$1 as CustomField, type context$1_CustomSettings as CustomSettings, type DeliveryAllocation$1 as DeliveryAllocation, type context$1_DeliveryLogistics as DeliveryLogistics, type context$1_DeliveryLogisticsAddressOneOf as DeliveryLogisticsAddressOneOf, type context$1_DeliveryTimeSlot as DeliveryTimeSlot, type Description$1 as Description, type context$1_DescriptionLine as DescriptionLine, type context$1_DescriptionLineDescriptionLineValueOneOf as DescriptionLineDescriptionLineValueOneOf, type context$1_DescriptionLineName as DescriptionLineName, context$1_DescriptionLineType as DescriptionLineType, type context$1_DescriptionLineValueOneOf as DescriptionLineValueOneOf, type context$1_Details as Details, type context$1_DetailsKindOneOf as DetailsKindOneOf, type context$1_DigitalFile as DigitalFile, context$1_DiscountReason as DiscountReason, type DiscountRule$1 as DiscountRule, type DiscountRuleName$1 as DiscountRuleName, DiscountType$1 as DiscountType, type context$1_DraftOrderChangesApplied as DraftOrderChangesApplied, type ExtendedFields$1 as ExtendedFields, type ExternalReference$1 as ExternalReference, context$1_FallbackReason as FallbackReason, type context$1_FieldViolation as FieldViolation, context$1_FileType as FileType, type FreeTrialPeriod$1 as FreeTrialPeriod, context$1_FulfillmentStatus as FulfillmentStatus, type context$1_FulfillmentStatusesAggregate as FulfillmentStatusesAggregate, type FullAddressContactDetails$1 as FullAddressContactDetails, type context$1_GetPaymentSettingsForCheckoutRequest as GetPaymentSettingsForCheckoutRequest, type context$1_GetPaymentSettingsForCheckoutResponse as GetPaymentSettingsForCheckoutResponse, type context$1_GetPaymentSettingsRequest as GetPaymentSettingsRequest, type context$1_GetPaymentSettingsResponse as GetPaymentSettingsResponse, type GiftCard$1 as GiftCard, type context$1_GiftCardPaymentRefund as GiftCardPaymentRefund, type context$1_Group as Group, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, IdentityType$1 as IdentityType, type context$1_InvalidMembership as InvalidMembership, type context$1_ItemAvailabilityInfo as ItemAvailabilityInfo, context$1_ItemAvailabilityStatus as ItemAvailabilityStatus, type ItemTaxFullDetails$1 as ItemTaxFullDetails, type ItemType$1 as ItemType, ItemTypeItemType$1 as ItemTypeItemType, type ItemTypeItemTypeDataOneOf$1 as ItemTypeItemTypeDataOneOf, JurisdictionType$1 as JurisdictionType, type LineItem$1 as LineItem, type context$1_LineItemAmount as LineItemAmount, type context$1_LineItemChanges as LineItemChanges, type context$1_LineItemDiscount as LineItemDiscount, type context$1_LineItemExchangeData as LineItemExchangeData, type context$1_LineItemPriceChange as LineItemPriceChange, type context$1_LineItemQuantityChange as LineItemQuantityChange, context$1_LineItemQuantityChangeType as LineItemQuantityChangeType, type context$1_LineItemTaxBreakdown as LineItemTaxBreakdown, type context$1_LineItemTaxInfo as LineItemTaxInfo, type context$1_LocationAndQuantity as LocationAndQuantity, type context$1_ManagedAdditionalFee as ManagedAdditionalFee, type context$1_ManagedDiscount as ManagedDiscount, type context$1_ManagedLineItem as ManagedLineItem, context$1_ManualCalculationReason as ManualCalculationReason, type context$1_Membership as Membership, type context$1_MembershipName as MembershipName, type context$1_MembershipOptions as MembershipOptions, type context$1_MembershipPaymentCredits as MembershipPaymentCredits, type context$1_MembershipPaymentRefund as MembershipPaymentRefund, type context$1_MerchantComment as MerchantComment, type MerchantDiscount$1 as MerchantDiscount, type context$1_MerchantDiscountMerchantDiscountReasonOneOf as MerchantDiscountMerchantDiscountReasonOneOf, type MultiCurrencyPrice$1 as MultiCurrencyPrice, NameInLineItem$1 as NameInLineItem, NameInOther$1 as NameInOther, type context$1_NewExchangeOrderCreated as NewExchangeOrderCreated, type context$1_Order as Order, type context$1_OrderChange as OrderChange, type context$1_OrderChangeValueOneOf as OrderChangeValueOneOf, type context$1_OrderCreatedFromExchange as OrderCreatedFromExchange, type context$1_OrderLineItem as OrderLineItem, type context$1_OrderRefunded as OrderRefunded, context$1_OrderStatus as OrderStatus, type context$1_OrderTaxBreakdown as OrderTaxBreakdown, type context$1_OrderTaxInfo as OrderTaxInfo, type Other$1 as Other, type context$1_OtherCharge as OtherCharge, type context$1_PaymentCanceled as PaymentCanceled, type context$1_PaymentCanceledPaymentDetailsOneOf as PaymentCanceledPaymentDetailsOneOf, type context$1_PaymentDeclined as PaymentDeclined, type context$1_PaymentDeclinedPaymentDetailsOneOf as PaymentDeclinedPaymentDetailsOneOf, type context$1_PaymentOption as PaymentOption, context$1_PaymentOptionType as PaymentOptionType, type context$1_PaymentPending as PaymentPending, type context$1_PaymentPendingPaymentDetailsOneOf as PaymentPendingPaymentDetailsOneOf, type context$1_PaymentRefundFailed as PaymentRefundFailed, type context$1_PaymentRefunded as PaymentRefunded, type context$1_PaymentSettings as PaymentSettings, type context$1_PaymentSettingsSPIConfig as PaymentSettingsSPIConfig, context$1_PaymentStatus as PaymentStatus, type PhysicalProperties$1 as PhysicalProperties, type context$1_PickupAddress as PickupAddress, type context$1_PickupDetails as PickupDetails, context$1_PickupDetailsPickupMethod as PickupDetailsPickupMethod, context$1_PickupMethod as PickupMethod, type context$1_PlainTextValue as PlainTextValue, type context$1_Policy as Policy, type context$1_Price as Price, type context$1_PriceDescription as PriceDescription, type PriceSummary$1 as PriceSummary, type ProductName$1 as ProductName, context$1_RateType as RateType, type context$1_RefundInitiated as RefundInitiated, type context$1_RefundedAsStoreCredit as RefundedAsStoreCredit, type context$1_RefundedPayment as RefundedPayment, type context$1_RefundedPaymentKindOneOf as RefundedPaymentKindOneOf, type Region$1 as Region, type context$1_RegularPayment as RegularPayment, type context$1_RegularPaymentPaymentMethodDetailsOneOf as RegularPaymentPaymentMethodDetailsOneOf, type context$1_RegularPaymentRefund as RegularPaymentRefund, context$1_RuleType as RuleType, type context$1_SavedPaymentMethod as SavedPaymentMethod, type context$1_Scope as Scope, type context$1_SecuredMedia as SecuredMedia, type SelectedCarrierServiceOption$1 as SelectedCarrierServiceOption, type context$1_SelectedCarrierServiceOptionOtherCharge as SelectedCarrierServiceOptionOtherCharge, type SelectedCarrierServiceOptionPrices$1 as SelectedCarrierServiceOptionPrices, type context$1_SelectedMembership as SelectedMembership, type context$1_SelectedMemberships as SelectedMemberships, type context$1_ServiceProperties as ServiceProperties, Severity$1 as Severity, type ShippingInfo$1 as ShippingInfo, type context$1_ShippingInformation as ShippingInformation, type context$1_ShippingInformationChange as ShippingInformationChange, type context$1_ShippingOption as ShippingOption, type context$1_ShippingPrice as ShippingPrice, type context$1_ShippingRegion as ShippingRegion, type StreetAddress$1 as StreetAddress, SubscriptionFrequency$1 as SubscriptionFrequency, type context$1_SubscriptionInfo as SubscriptionInfo, type SubscriptionOptionInfo$1 as SubscriptionOptionInfo, type SubscriptionSettings$1 as SubscriptionSettings, SuggestedFix$1 as SuggestedFix, type context$1_SystemError as SystemError, type context$1_TagList as TagList, type context$1_Tags as Tags, type Target$1 as Target, type TargetLineItem$1 as TargetLineItem, type TargetTargetTypeOneOf$1 as TargetTargetTypeOneOf, type TaxBreakdown$1 as TaxBreakdown, type context$1_TaxCalculationDetails as TaxCalculationDetails, type context$1_TaxCalculationDetailsCalculationDetailsOneOf as TaxCalculationDetailsCalculationDetailsOneOf, type context$1_TaxRateBreakdown as TaxRateBreakdown, type context$1_TaxSummary as TaxSummary, type context$1_TaxableAddress as TaxableAddress, type context$1_TaxableAddressTaxableAddressDataOneOf as TaxableAddressTaxableAddressDataOneOf, context$1_TaxableAddressType as TaxableAddressType, type Title$1 as Title, type context$1_TotalPriceChange as TotalPriceChange, type context$1_TranslatedValue as TranslatedValue, type context$1_V1AdditionalFee as V1AdditionalFee, type context$1_V1AppliedDiscount as V1AppliedDiscount, type context$1_V1AppliedDiscountDiscountSourceOneOf as V1AppliedDiscountDiscountSourceOneOf, type context$1_V1BuyerInfo as V1BuyerInfo, type context$1_V1BuyerInfoIdOneOf as V1BuyerInfoIdOneOf, type context$1_V1Coupon as V1Coupon, type context$1_V1CreatedBy as V1CreatedBy, type context$1_V1CreatedByStringOneOf as V1CreatedByStringOneOf, type context$1_V1DeliveryLogistics as V1DeliveryLogistics, type context$1_V1DeliveryTimeSlot as V1DeliveryTimeSlot, type context$1_V1DiscountRule as V1DiscountRule, type context$1_V1DiscountRuleName as V1DiscountRuleName, type context$1_V1ItemTaxFullDetails as V1ItemTaxFullDetails, context$1_V1JurisdictionType as V1JurisdictionType, type context$1_V1LineItemDiscount as V1LineItemDiscount, type context$1_V1MerchantDiscount as V1MerchantDiscount, context$1_V1PaymentOption as V1PaymentOption, type context$1_V1PickupDetails as V1PickupDetails, type context$1_V1PriceSummary as V1PriceSummary, type context$1_V1ShippingInformation as V1ShippingInformation, type context$1_V1ShippingPrice as V1ShippingPrice, type context$1_V1ShippingRegion as V1ShippingRegion, type context$1_V1SubscriptionSettings as V1SubscriptionSettings, type context$1_V1TaxSummary as V1TaxSummary, type context$1_ValidationError as ValidationError, type VatId$1 as VatId, VatType$1 as VatType, type Violation$1 as Violation, WeightUnit$1 as WeightUnit, type _publicProvideHandlersType$1 as _publicProvideHandlersType, provideHandlers$2 as provideHandlers, provideHandlers$3 as publicProvideHandlers };
5787
+ export { type context$1_Activity as Activity, type context$1_ActivityContentOneOf as ActivityContentOneOf, context$1_ActivityType as ActivityType, type context$1_AdditionalFee as AdditionalFee, type Address$1 as Address, type AddressLocation$1 as AddressLocation, type AddressWithContact$1 as AddressWithContact, type context$1_AggregatedTaxBreakdown as AggregatedTaxBreakdown, type context$1_ApiAddressWithContact as ApiAddressWithContact, type ApplicableLineItems$1 as ApplicableLineItems, type context$1_ApplicationError as ApplicationError, type AppliedDiscount$1 as AppliedDiscount, type AppliedDiscountDiscountSourceOneOf$1 as AppliedDiscountDiscountSourceOneOf, context$1_AppliedDiscountDiscountType as AppliedDiscountDiscountType, context$1_AttributionSource as AttributionSource, type context$1_AuthorizedPaymentCaptured as AuthorizedPaymentCaptured, type context$1_AuthorizedPaymentCreated as AuthorizedPaymentCreated, type context$1_AuthorizedPaymentVoided as AuthorizedPaymentVoided, type context$1_AutoTaxFallbackCalculationDetails as AutoTaxFallbackCalculationDetails, type context$1_Balance as Balance, type context$1_BalanceSummary as BalanceSummary, type context$1_BuyerInfo as BuyerInfo, type context$1_BuyerInfoIdOneOf as BuyerInfoIdOneOf, type context$1_CalculationErrors as CalculationErrors, type context$1_CalculationErrorsShippingCalculationErrorOneOf as CalculationErrorsShippingCalculationErrorOneOf, type Carrier$1 as Carrier, type context$1_CarrierError as CarrierError, type context$1_CarrierErrors as CarrierErrors, type context$1_CarrierServiceOption as CarrierServiceOption, type context$1_CatalogOverrideFields as CatalogOverrideFields, type CatalogReference$1 as CatalogReference, type context$1_ChannelInfo as ChannelInfo, context$1_ChannelType as ChannelType, context$1_ChargeType as ChargeType, type context$1_Checkout as Checkout, type context$1_Color as Color, type Context$1 as Context, type context$1_ConversionInfo as ConversionInfo, type Coupon$1 as Coupon, type context$1_CreatedBy as CreatedBy, type context$1_CreatedByIdOneOf as CreatedByIdOneOf, type context$1_CreditCardDetails as CreditCardDetails, type context$1_CustomActivity as CustomActivity, type context$1_CustomContentReference as CustomContentReference, type CustomField$1 as CustomField, type context$1_CustomSettings as CustomSettings, type DeliveryAllocation$1 as DeliveryAllocation, type context$1_DeliveryLogistics as DeliveryLogistics, type context$1_DeliveryLogisticsAddressOneOf as DeliveryLogisticsAddressOneOf, type context$1_DeliveryTimeSlot as DeliveryTimeSlot, type Description$1 as Description, type context$1_DescriptionLine as DescriptionLine, type context$1_DescriptionLineDescriptionLineValueOneOf as DescriptionLineDescriptionLineValueOneOf, type context$1_DescriptionLineName as DescriptionLineName, context$1_DescriptionLineType as DescriptionLineType, type context$1_DescriptionLineValueOneOf as DescriptionLineValueOneOf, type context$1_Details as Details, type context$1_DetailsKindOneOf as DetailsKindOneOf, type context$1_DigitalFile as DigitalFile, context$1_DiscountReason as DiscountReason, type DiscountRule$1 as DiscountRule, type DiscountRuleName$1 as DiscountRuleName, DiscountType$1 as DiscountType, type context$1_DraftOrderChangesApplied as DraftOrderChangesApplied, type ExtendedFields$1 as ExtendedFields, type ExternalReference$1 as ExternalReference, context$1_FallbackReason as FallbackReason, type context$1_FieldViolation as FieldViolation, context$1_FileType as FileType, type context$1_FocalPoint as FocalPoint, type FreeTrialPeriod$1 as FreeTrialPeriod, context$1_FulfillmentStatus as FulfillmentStatus, type context$1_FulfillmentStatusesAggregate as FulfillmentStatusesAggregate, type FullAddressContactDetails$1 as FullAddressContactDetails, type context$1_GetPaymentSettingsForCheckoutRequest as GetPaymentSettingsForCheckoutRequest, type context$1_GetPaymentSettingsForCheckoutResponse as GetPaymentSettingsForCheckoutResponse, type context$1_GetPaymentSettingsRequest as GetPaymentSettingsRequest, type context$1_GetPaymentSettingsResponse as GetPaymentSettingsResponse, type GiftCard$1 as GiftCard, type context$1_GiftCardPaymentRefund as GiftCardPaymentRefund, type context$1_Group as Group, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, IdentityType$1 as IdentityType, type context$1_InvalidMembership as InvalidMembership, type context$1_ItemAvailabilityInfo as ItemAvailabilityInfo, context$1_ItemAvailabilityStatus as ItemAvailabilityStatus, type ItemTaxFullDetails$1 as ItemTaxFullDetails, type ItemType$1 as ItemType, ItemTypeItemType$1 as ItemTypeItemType, type ItemTypeItemTypeDataOneOf$1 as ItemTypeItemTypeDataOneOf, JurisdictionType$1 as JurisdictionType, type LineItem$1 as LineItem, type context$1_LineItemAmount as LineItemAmount, type context$1_LineItemChanges as LineItemChanges, type context$1_LineItemDiscount as LineItemDiscount, type context$1_LineItemExchangeData as LineItemExchangeData, type context$1_LineItemPriceChange as LineItemPriceChange, type context$1_LineItemQuantityChange as LineItemQuantityChange, context$1_LineItemQuantityChangeType as LineItemQuantityChangeType, type context$1_LineItemTaxBreakdown as LineItemTaxBreakdown, type context$1_LineItemTaxInfo as LineItemTaxInfo, type context$1_Location as Location, type context$1_LocationAndQuantity as LocationAndQuantity, type context$1_ManagedAdditionalFee as ManagedAdditionalFee, type context$1_ManagedDiscount as ManagedDiscount, type context$1_ManagedLineItem as ManagedLineItem, context$1_ManualCalculationReason as ManualCalculationReason, type context$1_Membership as Membership, type context$1_MembershipName as MembershipName, type context$1_MembershipOptions as MembershipOptions, type context$1_MembershipPaymentCredits as MembershipPaymentCredits, type context$1_MembershipPaymentRefund as MembershipPaymentRefund, type context$1_MerchantComment as MerchantComment, type MerchantDiscount$1 as MerchantDiscount, type context$1_MerchantDiscountMerchantDiscountReasonOneOf as MerchantDiscountMerchantDiscountReasonOneOf, type MultiCurrencyPrice$1 as MultiCurrencyPrice, NameInLineItem$1 as NameInLineItem, NameInOther$1 as NameInOther, type context$1_NewExchangeOrderCreated as NewExchangeOrderCreated, type context$1_Order as Order, type context$1_OrderChange as OrderChange, type context$1_OrderChangeValueOneOf as OrderChangeValueOneOf, type context$1_OrderCreatedFromExchange as OrderCreatedFromExchange, type context$1_OrderLineItem as OrderLineItem, type context$1_OrderRefunded as OrderRefunded, context$1_OrderStatus as OrderStatus, type context$1_OrderTaxBreakdown as OrderTaxBreakdown, type context$1_OrderTaxInfo as OrderTaxInfo, type Other$1 as Other, type context$1_OtherCharge as OtherCharge, type context$1_PaymentCanceled as PaymentCanceled, type context$1_PaymentCanceledPaymentDetailsOneOf as PaymentCanceledPaymentDetailsOneOf, type context$1_PaymentDeclined as PaymentDeclined, type context$1_PaymentDeclinedPaymentDetailsOneOf as PaymentDeclinedPaymentDetailsOneOf, type context$1_PaymentOption as PaymentOption, context$1_PaymentOptionType as PaymentOptionType, type context$1_PaymentPending as PaymentPending, type context$1_PaymentPendingPaymentDetailsOneOf as PaymentPendingPaymentDetailsOneOf, type context$1_PaymentRefundFailed as PaymentRefundFailed, type context$1_PaymentRefunded as PaymentRefunded, type context$1_PaymentSettings as PaymentSettings, type context$1_PaymentSettingsSPIConfig as PaymentSettingsSPIConfig, context$1_PaymentStatus as PaymentStatus, type PhysicalProperties$1 as PhysicalProperties, type context$1_PickupAddress as PickupAddress, type context$1_PickupDetails as PickupDetails, context$1_PickupDetailsPickupMethod as PickupDetailsPickupMethod, context$1_PickupMethod as PickupMethod, type context$1_PlainTextValue as PlainTextValue, type context$1_Policy as Policy, type context$1_Price as Price, type context$1_PriceDescription as PriceDescription, type PriceSummary$1 as PriceSummary, type ProductName$1 as ProductName, context$1_RateType as RateType, type context$1_RefundInitiated as RefundInitiated, type context$1_RefundedAsStoreCredit as RefundedAsStoreCredit, type context$1_RefundedPayment as RefundedPayment, type context$1_RefundedPaymentKindOneOf as RefundedPaymentKindOneOf, type Region$1 as Region, type context$1_RegularPayment as RegularPayment, type context$1_RegularPaymentPaymentMethodDetailsOneOf as RegularPaymentPaymentMethodDetailsOneOf, type context$1_RegularPaymentRefund as RegularPaymentRefund, context$1_RuleType as RuleType, type context$1_SavedPaymentMethod as SavedPaymentMethod, type context$1_Scope as Scope, type context$1_SecuredMedia as SecuredMedia, type SelectedCarrierServiceOption$1 as SelectedCarrierServiceOption, type context$1_SelectedCarrierServiceOptionOtherCharge as SelectedCarrierServiceOptionOtherCharge, type SelectedCarrierServiceOptionPrices$1 as SelectedCarrierServiceOptionPrices, type context$1_SelectedMembership as SelectedMembership, type context$1_SelectedMemberships as SelectedMemberships, type context$1_ServiceProperties as ServiceProperties, Severity$1 as Severity, type ShippingInfo$1 as ShippingInfo, type context$1_ShippingInformation as ShippingInformation, type context$1_ShippingInformationChange as ShippingInformationChange, type context$1_ShippingOption as ShippingOption, type context$1_ShippingPrice as ShippingPrice, type context$1_ShippingRegion as ShippingRegion, type StreetAddress$1 as StreetAddress, SubscriptionFrequency$1 as SubscriptionFrequency, type context$1_SubscriptionInfo as SubscriptionInfo, type SubscriptionOptionInfo$1 as SubscriptionOptionInfo, type SubscriptionSettings$1 as SubscriptionSettings, SuggestedFix$1 as SuggestedFix, type context$1_SystemError as SystemError, type context$1_TagList as TagList, type context$1_Tags as Tags, type Target$1 as Target, type TargetLineItem$1 as TargetLineItem, type TargetTargetTypeOneOf$1 as TargetTargetTypeOneOf, type TaxBreakdown$1 as TaxBreakdown, type context$1_TaxCalculationDetails as TaxCalculationDetails, type context$1_TaxCalculationDetailsCalculationDetailsOneOf as TaxCalculationDetailsCalculationDetailsOneOf, type context$1_TaxRateBreakdown as TaxRateBreakdown, type context$1_TaxSummary as TaxSummary, type context$1_TaxableAddress as TaxableAddress, type context$1_TaxableAddressTaxableAddressDataOneOf as TaxableAddressTaxableAddressDataOneOf, context$1_TaxableAddressType as TaxableAddressType, type Title$1 as Title, type context$1_TotalPriceChange as TotalPriceChange, type context$1_TranslatedValue as TranslatedValue, type context$1_V1AdditionalFee as V1AdditionalFee, type context$1_V1AppliedDiscount as V1AppliedDiscount, type context$1_V1AppliedDiscountDiscountSourceOneOf as V1AppliedDiscountDiscountSourceOneOf, type context$1_V1BuyerInfo as V1BuyerInfo, type context$1_V1BuyerInfoIdOneOf as V1BuyerInfoIdOneOf, type context$1_V1Coupon as V1Coupon, type context$1_V1CreatedBy as V1CreatedBy, type context$1_V1CreatedByStringOneOf as V1CreatedByStringOneOf, type context$1_V1DeliveryLogistics as V1DeliveryLogistics, type context$1_V1DeliveryTimeSlot as V1DeliveryTimeSlot, type context$1_V1DiscountRule as V1DiscountRule, type context$1_V1DiscountRuleName as V1DiscountRuleName, type context$1_V1ItemTaxFullDetails as V1ItemTaxFullDetails, context$1_V1JurisdictionType as V1JurisdictionType, type context$1_V1LineItemDiscount as V1LineItemDiscount, type context$1_V1MerchantDiscount as V1MerchantDiscount, context$1_V1PaymentOption as V1PaymentOption, type context$1_V1PickupDetails as V1PickupDetails, type context$1_V1PriceSummary as V1PriceSummary, type context$1_V1ShippingInformation as V1ShippingInformation, type context$1_V1ShippingPrice as V1ShippingPrice, type context$1_V1ShippingRegion as V1ShippingRegion, type context$1_V1SubscriptionSettings as V1SubscriptionSettings, type context$1_V1TaxSummary as V1TaxSummary, type context$1_ValidationError as ValidationError, type VatId$1 as VatId, VatType$1 as VatType, type Violation$1 as Violation, WeightUnit$1 as WeightUnit, type _publicProvideHandlersType$1 as _publicProvideHandlersType, provideHandlers$2 as provideHandlers, provideHandlers$3 as publicProvideHandlers };
5776
5788
  }
5777
5789
 
5778
5790
  interface GetValidationViolationsRequest {
@@ -5995,18 +6007,6 @@ interface SubscriptionSettings {
5995
6007
  autoRenewal?: boolean;
5996
6008
  /** Number of billing cycles before subscription ends. Ignored if `autoRenewal` is `true`. */
5997
6009
  billingCycles?: number | null;
5998
- /**
5999
- * Period until first cycle starts. If applied payNow will be 0
6000
- * If None => no free trial
6001
- */
6002
- freeTrialPeriod?: FreeTrialPeriod;
6003
- /** The date the subscription will start. The subscription will be charged either now or according to freeTrialDays. */
6004
- startDate?: Date | null;
6005
- /**
6006
- * Whether to generate an order each billing cycle. An order will always be generated for the first billing cycle.
6007
- * Default None => will behave like true
6008
- */
6009
- generateOrderEachBillingCycle?: boolean | null;
6010
6010
  }
6011
6011
  /** Frequency unit of recurring payment */
6012
6012
  declare enum SubscriptionFrequency {