@wix/ecom 1.0.845 → 1.0.846

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.
@@ -171,7 +171,7 @@ declare namespace meta$u {
171
171
  export { type __PublicMethodMetaInfo$u as __PublicMethodMetaInfo, meta$u_listTriggers as listTriggers };
172
172
  }
173
173
 
174
- interface DiscountRule$f {
174
+ interface DiscountRule$b {
175
175
  /**
176
176
  * Discount rule ID.
177
177
  * @readonly
@@ -436,11 +436,11 @@ declare enum AppliedSubjectType$1 {
436
436
  }
437
437
  interface CreateDiscountRuleRequest$1 {
438
438
  /** Discount rule info. */
439
- discountRule: DiscountRule$f;
439
+ discountRule: DiscountRule$b;
440
440
  }
441
441
  interface CreateDiscountRuleResponse$1 {
442
442
  /** Discount rule. */
443
- discountRule?: DiscountRule$f;
443
+ discountRule?: DiscountRule$b;
444
444
  }
445
445
  interface GetDiscountRuleRequest$1 {
446
446
  /** ID of the discount rule to retrieve. */
@@ -448,15 +448,15 @@ interface GetDiscountRuleRequest$1 {
448
448
  }
449
449
  interface GetDiscountRuleResponse$1 {
450
450
  /** The requested discount rule. */
451
- discountRule?: DiscountRule$f;
451
+ discountRule?: DiscountRule$b;
452
452
  }
453
453
  interface UpdateDiscountRuleRequest$1 {
454
454
  /** Discount rule info. */
455
- discountRule: DiscountRule$f;
455
+ discountRule: DiscountRule$b;
456
456
  }
457
457
  interface UpdateDiscountRuleResponse$1 {
458
458
  /** Updated discount rule. */
459
- discountRule?: DiscountRule$f;
459
+ discountRule?: DiscountRule$b;
460
460
  }
461
461
  interface DeleteDiscountRuleRequest$1 {
462
462
  /** ID of the discount rule to delete. */
@@ -514,7 +514,7 @@ interface CursorPaging$t {
514
514
  }
515
515
  interface QueryDiscountRulesResponse$1 {
516
516
  /** List of discount rules. */
517
- discountRules?: DiscountRule$f[];
517
+ discountRules?: DiscountRule$b[];
518
518
  /** Details on the paged set of results returned. */
519
519
  pagingMetadata?: PlatformPagingMetadata$3;
520
520
  }
@@ -621,7 +621,7 @@ interface QueryDiscountRulesResponseNonNullableFields$1 {
621
621
  discountRules: DiscountRuleNonNullableFields$f[];
622
622
  }
623
623
 
624
- interface DiscountRule$e {
624
+ interface DiscountRule$a {
625
625
  /**
626
626
  * Discount rule ID.
627
627
  * @readonly
@@ -886,11 +886,11 @@ declare enum AppliedSubjectType {
886
886
  }
887
887
  interface CreateDiscountRuleRequest {
888
888
  /** Discount rule info. */
889
- discountRule: DiscountRule$e;
889
+ discountRule: DiscountRule$a;
890
890
  }
891
891
  interface CreateDiscountRuleResponse {
892
892
  /** Discount rule. */
893
- discountRule?: DiscountRule$e;
893
+ discountRule?: DiscountRule$a;
894
894
  }
895
895
  interface GetDiscountRuleRequest {
896
896
  /** ID of the discount rule to retrieve. */
@@ -898,15 +898,15 @@ interface GetDiscountRuleRequest {
898
898
  }
899
899
  interface GetDiscountRuleResponse {
900
900
  /** The requested discount rule. */
901
- discountRule?: DiscountRule$e;
901
+ discountRule?: DiscountRule$a;
902
902
  }
903
903
  interface UpdateDiscountRuleRequest {
904
904
  /** Discount rule info. */
905
- discountRule: DiscountRule$e;
905
+ discountRule: DiscountRule$a;
906
906
  }
907
907
  interface UpdateDiscountRuleResponse {
908
908
  /** Updated discount rule. */
909
- discountRule?: DiscountRule$e;
909
+ discountRule?: DiscountRule$a;
910
910
  }
911
911
  interface DeleteDiscountRuleRequest {
912
912
  /** ID of the discount rule to delete. */
@@ -964,7 +964,7 @@ interface CursorPaging$s {
964
964
  }
965
965
  interface QueryDiscountRulesResponse {
966
966
  /** List of discount rules. */
967
- discountRules?: DiscountRule$e[];
967
+ discountRules?: DiscountRule$a[];
968
968
  /** Details on the paged set of results returned. */
969
969
  pagingMetadata?: PlatformPagingMetadata$2;
970
970
  }
@@ -2187,7 +2187,7 @@ interface AppliedDiscount$d extends AppliedDiscountDiscountSourceOneOf$d {
2187
2187
  /** Merchant discount. */
2188
2188
  merchantDiscount?: MerchantDiscount$d;
2189
2189
  /** Automatic Discount */
2190
- discountRule?: DiscountRule$d;
2190
+ discountRule?: DiscountRule$9;
2191
2191
  /**
2192
2192
  * Discount type.
2193
2193
  * * `"GLOBAL"` - discount applies to entire order.
@@ -2214,7 +2214,7 @@ interface AppliedDiscountDiscountSourceOneOf$d {
2214
2214
  /** Merchant discount. */
2215
2215
  merchantDiscount?: MerchantDiscount$d;
2216
2216
  /** Automatic Discount */
2217
- discountRule?: DiscountRule$d;
2217
+ discountRule?: DiscountRule$9;
2218
2218
  }
2219
2219
  declare enum DiscountType$d {
2220
2220
  GLOBAL = "GLOBAL",
@@ -2257,15 +2257,15 @@ declare enum DiscountReason$5 {
2257
2257
  UNSPECIFIED = "UNSPECIFIED",
2258
2258
  EXCHANGED_ITEMS = "EXCHANGED_ITEMS"
2259
2259
  }
2260
- interface DiscountRule$d {
2260
+ interface DiscountRule$9 {
2261
2261
  /** Discount rule ID */
2262
2262
  id?: string;
2263
2263
  /** Discount rule name */
2264
- name?: DiscountRuleName$d;
2264
+ name?: DiscountRuleName$9;
2265
2265
  /** Discount value. */
2266
2266
  amount?: Price$b;
2267
2267
  }
2268
- interface DiscountRuleName$d {
2268
+ interface DiscountRuleName$9 {
2269
2269
  /** Original discount rule name (in site's default language). */
2270
2270
  original?: string;
2271
2271
  /** Translated discount rule name according to buyer language. Defaults to `original` when not provided. */
@@ -3305,7 +3305,7 @@ interface AppliedDiscount$c extends AppliedDiscountDiscountSourceOneOf$c {
3305
3305
  /** Merchant discount. */
3306
3306
  merchantDiscount?: MerchantDiscount$c;
3307
3307
  /** Automatic Discount */
3308
- discountRule?: DiscountRule$c;
3308
+ discountRule?: DiscountRule$8;
3309
3309
  /**
3310
3310
  * Discount type.
3311
3311
  * * `"GLOBAL"` - discount applies to entire order.
@@ -3332,7 +3332,7 @@ interface AppliedDiscountDiscountSourceOneOf$c {
3332
3332
  /** Merchant discount. */
3333
3333
  merchantDiscount?: MerchantDiscount$c;
3334
3334
  /** Automatic Discount */
3335
- discountRule?: DiscountRule$c;
3335
+ discountRule?: DiscountRule$8;
3336
3336
  }
3337
3337
  declare enum DiscountType$c {
3338
3338
  GLOBAL = "GLOBAL",
@@ -3375,15 +3375,15 @@ declare enum DiscountReason$4 {
3375
3375
  UNSPECIFIED = "UNSPECIFIED",
3376
3376
  EXCHANGED_ITEMS = "EXCHANGED_ITEMS"
3377
3377
  }
3378
- interface DiscountRule$c {
3378
+ interface DiscountRule$8 {
3379
3379
  /** Discount rule ID */
3380
3380
  _id?: string;
3381
3381
  /** Discount rule name */
3382
- name?: DiscountRuleName$c;
3382
+ name?: DiscountRuleName$8;
3383
3383
  /** Discount value. */
3384
3384
  amount?: Price$a;
3385
3385
  }
3386
- interface DiscountRuleName$c {
3386
+ interface DiscountRuleName$8 {
3387
3387
  /** Original discount rule name (in site's default language). */
3388
3388
  original?: string;
3389
3389
  /** Translated discount rule name according to buyer language. Defaults to `original` when not provided. */
@@ -6468,7 +6468,7 @@ interface AppliedDiscount$b extends AppliedDiscountDiscountSourceOneOf$b {
6468
6468
  /** Merchant discount. */
6469
6469
  merchantDiscount?: V1MerchantDiscount$3;
6470
6470
  /** Discount rule */
6471
- discountRule?: DiscountRule$b;
6471
+ discountRule?: V1DiscountRule$3;
6472
6472
  /** Discount type. */
6473
6473
  discountType?: DiscountType$b;
6474
6474
  /**
@@ -6486,7 +6486,7 @@ interface AppliedDiscountDiscountSourceOneOf$b {
6486
6486
  /** Merchant discount. */
6487
6487
  merchantDiscount?: V1MerchantDiscount$3;
6488
6488
  /** Discount rule */
6489
- discountRule?: DiscountRule$b;
6489
+ discountRule?: V1DiscountRule$3;
6490
6490
  }
6491
6491
  declare enum DiscountType$b {
6492
6492
  GLOBAL = "GLOBAL",
@@ -6510,15 +6510,15 @@ interface V1MerchantDiscount$3 {
6510
6510
  /** Discount Percentage. Will be calculated from items price before other discounts. */
6511
6511
  percentage?: number | null;
6512
6512
  }
6513
- interface DiscountRule$b {
6513
+ interface V1DiscountRule$3 {
6514
6514
  /** Discount rule ID */
6515
6515
  id?: string;
6516
6516
  /** Discount rule name */
6517
- name?: DiscountRuleName$b;
6517
+ name?: V1DiscountRuleName$3;
6518
6518
  /** Discount value. */
6519
6519
  amount?: MultiCurrencyPrice$7;
6520
6520
  }
6521
- interface DiscountRuleName$b {
6521
+ interface V1DiscountRuleName$3 {
6522
6522
  /** Original discount rule name (in site's default language). */
6523
6523
  original?: string;
6524
6524
  /** Translated discount rule name according to buyer language. Defaults to `original` when not provided. */
@@ -7018,7 +7018,6 @@ interface TaxableAddressNonNullableFields$b {
7018
7018
  addressType: TaxableAddressType$b;
7019
7019
  }
7020
7020
  interface PolicyNonNullableFields$7 {
7021
- title: string;
7022
7021
  content: string;
7023
7022
  }
7024
7023
  interface LineItemNonNullableFields$5 {
@@ -7057,13 +7056,24 @@ interface BuyerInfoNonNullableFields$9 {
7057
7056
  interface CouponNonNullableFields$b {
7058
7057
  id: string;
7059
7058
  code: string;
7059
+ amount?: MultiCurrencyPriceNonNullableFields$7;
7060
7060
  }
7061
7061
  interface MerchantDiscountNonNullableFields$b {
7062
7062
  amount?: MultiCurrencyPriceNonNullableFields$7;
7063
7063
  }
7064
+ interface DiscountRuleNameNonNullableFields$b {
7065
+ original: string;
7066
+ }
7067
+ interface DiscountRuleNonNullableFields$b {
7068
+ id: string;
7069
+ name?: DiscountRuleNameNonNullableFields$b;
7070
+ amount?: MultiCurrencyPriceNonNullableFields$7;
7071
+ }
7064
7072
  interface CartDiscountNonNullableFields$3 {
7065
7073
  coupon?: CouponNonNullableFields$b;
7066
7074
  merchantDiscount?: MerchantDiscountNonNullableFields$b;
7075
+ discountRule?: DiscountRuleNonNullableFields$b;
7076
+ lineItemIds: string[];
7067
7077
  }
7068
7078
  interface StreetAddressNonNullableFields$h {
7069
7079
  number: string;
@@ -7237,11 +7247,22 @@ interface ShippingPriceNonNullableFields$b {
7237
7247
  price?: MultiCurrencyPriceNonNullableFields$7;
7238
7248
  otherCharges: OtherChargeNonNullableFields$7[];
7239
7249
  }
7250
+ interface CarrierNonNullableFields$9 {
7251
+ code: string;
7252
+ }
7253
+ interface ApplicableLineItemsNonNullableFields$9 {
7254
+ lineItemIds: string[];
7255
+ }
7256
+ interface DeliveryAllocationNonNullableFields$9 {
7257
+ deliveryCarrier?: CarrierNonNullableFields$9;
7258
+ applicableLineItems?: ApplicableLineItemsNonNullableFields$9;
7259
+ }
7240
7260
  interface ShippingOptionNonNullableFields$b {
7241
7261
  code: string;
7242
7262
  title: string;
7243
7263
  logistics?: DeliveryLogisticsNonNullableFields$d;
7244
7264
  cost?: ShippingPriceNonNullableFields$b;
7265
+ deliveryAllocations: DeliveryAllocationNonNullableFields$9[];
7245
7266
  }
7246
7267
  interface CarrierServiceOptionNonNullableFields$7 {
7247
7268
  carrierId: string;
@@ -7262,12 +7283,12 @@ interface V1CouponNonNullableFields$3 {
7262
7283
  interface V1MerchantDiscountNonNullableFields$3 {
7263
7284
  amount?: MultiCurrencyPriceNonNullableFields$7;
7264
7285
  }
7265
- interface DiscountRuleNameNonNullableFields$b {
7286
+ interface V1DiscountRuleNameNonNullableFields$3 {
7266
7287
  original: string;
7267
7288
  }
7268
- interface DiscountRuleNonNullableFields$b {
7289
+ interface V1DiscountRuleNonNullableFields$3 {
7269
7290
  id: string;
7270
- name?: DiscountRuleNameNonNullableFields$b;
7291
+ name?: V1DiscountRuleNameNonNullableFields$3;
7271
7292
  amount?: MultiCurrencyPriceNonNullableFields$7;
7272
7293
  }
7273
7294
  interface LineItemDiscountNonNullableFields$b {
@@ -7277,7 +7298,7 @@ interface LineItemDiscountNonNullableFields$b {
7277
7298
  interface AppliedDiscountNonNullableFields$b {
7278
7299
  coupon?: V1CouponNonNullableFields$3;
7279
7300
  merchantDiscount?: V1MerchantDiscountNonNullableFields$3;
7280
- discountRule?: DiscountRuleNonNullableFields$b;
7301
+ discountRule?: V1DiscountRuleNonNullableFields$3;
7281
7302
  discountType: DiscountType$b;
7282
7303
  lineItemIds: string[];
7283
7304
  lineItemDiscounts: LineItemDiscountNonNullableFields$b[];
@@ -8447,7 +8468,7 @@ interface AppliedDiscount$a extends AppliedDiscountDiscountSourceOneOf$a {
8447
8468
  /** Merchant discount. */
8448
8469
  merchantDiscount?: V1MerchantDiscount$2;
8449
8470
  /** Discount rule */
8450
- discountRule?: DiscountRule$a;
8471
+ discountRule?: V1DiscountRule$2;
8451
8472
  /** Discount type. */
8452
8473
  discountType?: DiscountType$a;
8453
8474
  /**
@@ -8465,7 +8486,7 @@ interface AppliedDiscountDiscountSourceOneOf$a {
8465
8486
  /** Merchant discount. */
8466
8487
  merchantDiscount?: V1MerchantDiscount$2;
8467
8488
  /** Discount rule */
8468
- discountRule?: DiscountRule$a;
8489
+ discountRule?: V1DiscountRule$2;
8469
8490
  }
8470
8491
  declare enum DiscountType$a {
8471
8492
  GLOBAL = "GLOBAL",
@@ -8489,18 +8510,18 @@ interface V1MerchantDiscount$2 {
8489
8510
  /** Discount Percentage. Will be calculated from items price before other discounts. */
8490
8511
  percentage?: number | null;
8491
8512
  }
8492
- interface DiscountRule$a {
8513
+ interface V1DiscountRule$2 {
8493
8514
  /** Discount rule ID */
8494
8515
  _id?: string;
8495
8516
  /** Discount rule name */
8496
- name?: DiscountRuleName$a;
8517
+ name?: V1DiscountRuleName$2;
8497
8518
  /** Discount value. */
8498
8519
  amount?: MultiCurrencyPrice$6;
8499
8520
  }
8500
- interface DiscountRuleName$a {
8521
+ interface V1DiscountRuleName$2 {
8501
8522
  /** Original discount rule name (in site's default language). */
8502
8523
  original?: string;
8503
- /** Discount rule name translated into buyer's language. Defaults to `original` when not defined. */
8524
+ /** Translated discount rule name according to buyer language. Defaults to `original` when not provided. */
8504
8525
  translated?: string | null;
8505
8526
  }
8506
8527
  interface CalculationErrors$8 extends CalculationErrorsShippingCalculationErrorOneOf$8 {
@@ -8983,7 +9004,6 @@ interface TaxableAddressNonNullableFields$a {
8983
9004
  addressType: TaxableAddressType$a;
8984
9005
  }
8985
9006
  interface PolicyNonNullableFields$6 {
8986
- title: string;
8987
9007
  content: string;
8988
9008
  }
8989
9009
  interface LineItemNonNullableFields$4 {
@@ -9022,13 +9042,24 @@ interface BuyerInfoNonNullableFields$8 {
9022
9042
  interface CouponNonNullableFields$a {
9023
9043
  _id: string;
9024
9044
  code: string;
9045
+ amount?: MultiCurrencyPriceNonNullableFields$6;
9025
9046
  }
9026
9047
  interface MerchantDiscountNonNullableFields$a {
9027
9048
  amount?: MultiCurrencyPriceNonNullableFields$6;
9028
9049
  }
9050
+ interface DiscountRuleNameNonNullableFields$a {
9051
+ original: string;
9052
+ }
9053
+ interface DiscountRuleNonNullableFields$a {
9054
+ _id: string;
9055
+ name?: DiscountRuleNameNonNullableFields$a;
9056
+ amount?: MultiCurrencyPriceNonNullableFields$6;
9057
+ }
9029
9058
  interface CartDiscountNonNullableFields$2 {
9030
9059
  coupon?: CouponNonNullableFields$a;
9031
9060
  merchantDiscount?: MerchantDiscountNonNullableFields$a;
9061
+ discountRule?: DiscountRuleNonNullableFields$a;
9062
+ lineItemIds: string[];
9032
9063
  }
9033
9064
  interface StreetAddressNonNullableFields$g {
9034
9065
  number: string;
@@ -9202,11 +9233,22 @@ interface ShippingPriceNonNullableFields$a {
9202
9233
  price?: MultiCurrencyPriceNonNullableFields$6;
9203
9234
  otherCharges: OtherChargeNonNullableFields$6[];
9204
9235
  }
9236
+ interface CarrierNonNullableFields$8 {
9237
+ code: string;
9238
+ }
9239
+ interface ApplicableLineItemsNonNullableFields$8 {
9240
+ lineItemIds: string[];
9241
+ }
9242
+ interface DeliveryAllocationNonNullableFields$8 {
9243
+ deliveryCarrier?: CarrierNonNullableFields$8;
9244
+ applicableLineItems?: ApplicableLineItemsNonNullableFields$8;
9245
+ }
9205
9246
  interface ShippingOptionNonNullableFields$a {
9206
9247
  code: string;
9207
9248
  title: string;
9208
9249
  logistics?: DeliveryLogisticsNonNullableFields$c;
9209
9250
  cost?: ShippingPriceNonNullableFields$a;
9251
+ deliveryAllocations: DeliveryAllocationNonNullableFields$8[];
9210
9252
  }
9211
9253
  interface CarrierServiceOptionNonNullableFields$6 {
9212
9254
  carrierId: string;
@@ -9227,12 +9269,12 @@ interface V1CouponNonNullableFields$2 {
9227
9269
  interface V1MerchantDiscountNonNullableFields$2 {
9228
9270
  amount?: MultiCurrencyPriceNonNullableFields$6;
9229
9271
  }
9230
- interface DiscountRuleNameNonNullableFields$a {
9272
+ interface V1DiscountRuleNameNonNullableFields$2 {
9231
9273
  original: string;
9232
9274
  }
9233
- interface DiscountRuleNonNullableFields$a {
9275
+ interface V1DiscountRuleNonNullableFields$2 {
9234
9276
  _id: string;
9235
- name?: DiscountRuleNameNonNullableFields$a;
9277
+ name?: V1DiscountRuleNameNonNullableFields$2;
9236
9278
  amount?: MultiCurrencyPriceNonNullableFields$6;
9237
9279
  }
9238
9280
  interface LineItemDiscountNonNullableFields$a {
@@ -9242,7 +9284,7 @@ interface LineItemDiscountNonNullableFields$a {
9242
9284
  interface AppliedDiscountNonNullableFields$a {
9243
9285
  coupon?: V1CouponNonNullableFields$2;
9244
9286
  merchantDiscount?: V1MerchantDiscountNonNullableFields$2;
9245
- discountRule?: DiscountRuleNonNullableFields$a;
9287
+ discountRule?: V1DiscountRuleNonNullableFields$2;
9246
9288
  discountType: DiscountType$a;
9247
9289
  lineItemIds: string[];
9248
9290
  lineItemDiscounts: LineItemDiscountNonNullableFields$a[];
@@ -10541,7 +10583,7 @@ interface AppliedDiscount$9 extends AppliedDiscountDiscountSourceOneOf$9 {
10541
10583
  /** Merchant discount. */
10542
10584
  merchantDiscount?: V1MerchantDiscount$1;
10543
10585
  /** Discount rule */
10544
- discountRule?: DiscountRule$9;
10586
+ discountRule?: V1DiscountRule$1;
10545
10587
  /** Discount type. */
10546
10588
  discountType?: DiscountType$9;
10547
10589
  /**
@@ -10559,7 +10601,7 @@ interface AppliedDiscountDiscountSourceOneOf$9 {
10559
10601
  /** Merchant discount. */
10560
10602
  merchantDiscount?: V1MerchantDiscount$1;
10561
10603
  /** Discount rule */
10562
- discountRule?: DiscountRule$9;
10604
+ discountRule?: V1DiscountRule$1;
10563
10605
  }
10564
10606
  declare enum DiscountType$9 {
10565
10607
  GLOBAL = "GLOBAL",
@@ -10583,15 +10625,15 @@ interface V1MerchantDiscount$1 {
10583
10625
  /** Discount Percentage. Will be calculated from items price before other discounts. */
10584
10626
  percentage?: number | null;
10585
10627
  }
10586
- interface DiscountRule$9 {
10628
+ interface V1DiscountRule$1 {
10587
10629
  /** Discount rule ID */
10588
10630
  id?: string;
10589
10631
  /** Discount rule name */
10590
- name?: DiscountRuleName$9;
10632
+ name?: V1DiscountRuleName$1;
10591
10633
  /** Discount value. */
10592
10634
  amount?: MultiCurrencyPrice$5;
10593
10635
  }
10594
- interface DiscountRuleName$9 {
10636
+ interface V1DiscountRuleName$1 {
10595
10637
  /** Original discount rule name (in site's default language). */
10596
10638
  original?: string;
10597
10639
  /** Translated discount rule name according to buyer language. Defaults to `original` when not provided. */
@@ -11037,7 +11079,6 @@ interface TaxableAddressNonNullableFields$9 {
11037
11079
  addressType: TaxableAddressType$9;
11038
11080
  }
11039
11081
  interface PolicyNonNullableFields$5 {
11040
- title: string;
11041
11082
  content: string;
11042
11083
  }
11043
11084
  interface LineItemNonNullableFields$3 {
@@ -11076,13 +11117,24 @@ interface BuyerInfoNonNullableFields$7 {
11076
11117
  interface CouponNonNullableFields$9 {
11077
11118
  id: string;
11078
11119
  code: string;
11120
+ amount?: MultiCurrencyPriceNonNullableFields$5;
11079
11121
  }
11080
11122
  interface MerchantDiscountNonNullableFields$9 {
11081
11123
  amount?: MultiCurrencyPriceNonNullableFields$5;
11082
11124
  }
11125
+ interface DiscountRuleNameNonNullableFields$9 {
11126
+ original: string;
11127
+ }
11128
+ interface DiscountRuleNonNullableFields$9 {
11129
+ id: string;
11130
+ name?: DiscountRuleNameNonNullableFields$9;
11131
+ amount?: MultiCurrencyPriceNonNullableFields$5;
11132
+ }
11083
11133
  interface CartDiscountNonNullableFields$1 {
11084
11134
  coupon?: CouponNonNullableFields$9;
11085
11135
  merchantDiscount?: MerchantDiscountNonNullableFields$9;
11136
+ discountRule?: DiscountRuleNonNullableFields$9;
11137
+ lineItemIds: string[];
11086
11138
  }
11087
11139
  interface StreetAddressNonNullableFields$f {
11088
11140
  number: string;
@@ -11259,11 +11311,22 @@ interface ShippingPriceNonNullableFields$9 {
11259
11311
  price?: MultiCurrencyPriceNonNullableFields$5;
11260
11312
  otherCharges: OtherChargeNonNullableFields$5[];
11261
11313
  }
11314
+ interface CarrierNonNullableFields$7 {
11315
+ code: string;
11316
+ }
11317
+ interface ApplicableLineItemsNonNullableFields$7 {
11318
+ lineItemIds: string[];
11319
+ }
11320
+ interface DeliveryAllocationNonNullableFields$7 {
11321
+ deliveryCarrier?: CarrierNonNullableFields$7;
11322
+ applicableLineItems?: ApplicableLineItemsNonNullableFields$7;
11323
+ }
11262
11324
  interface ShippingOptionNonNullableFields$9 {
11263
11325
  code: string;
11264
11326
  title: string;
11265
11327
  logistics?: DeliveryLogisticsNonNullableFields$b;
11266
11328
  cost?: ShippingPriceNonNullableFields$9;
11329
+ deliveryAllocations: DeliveryAllocationNonNullableFields$7[];
11267
11330
  }
11268
11331
  interface CarrierServiceOptionNonNullableFields$5 {
11269
11332
  carrierId: string;
@@ -11284,12 +11347,12 @@ interface V1CouponNonNullableFields$1 {
11284
11347
  interface V1MerchantDiscountNonNullableFields$1 {
11285
11348
  amount?: MultiCurrencyPriceNonNullableFields$5;
11286
11349
  }
11287
- interface DiscountRuleNameNonNullableFields$9 {
11350
+ interface V1DiscountRuleNameNonNullableFields$1 {
11288
11351
  original: string;
11289
11352
  }
11290
- interface DiscountRuleNonNullableFields$9 {
11353
+ interface V1DiscountRuleNonNullableFields$1 {
11291
11354
  id: string;
11292
- name?: DiscountRuleNameNonNullableFields$9;
11355
+ name?: V1DiscountRuleNameNonNullableFields$1;
11293
11356
  amount?: MultiCurrencyPriceNonNullableFields$5;
11294
11357
  }
11295
11358
  interface LineItemDiscountNonNullableFields$9 {
@@ -11299,7 +11362,7 @@ interface LineItemDiscountNonNullableFields$9 {
11299
11362
  interface AppliedDiscountNonNullableFields$9 {
11300
11363
  coupon?: V1CouponNonNullableFields$1;
11301
11364
  merchantDiscount?: V1MerchantDiscountNonNullableFields$1;
11302
- discountRule?: DiscountRuleNonNullableFields$9;
11365
+ discountRule?: V1DiscountRuleNonNullableFields$1;
11303
11366
  discountType: DiscountType$9;
11304
11367
  lineItemIds: string[];
11305
11368
  lineItemDiscounts: LineItemDiscountNonNullableFields$9[];
@@ -12480,7 +12543,7 @@ interface AppliedDiscount$8 extends AppliedDiscountDiscountSourceOneOf$8 {
12480
12543
  /** Merchant discount. */
12481
12544
  merchantDiscount?: V1MerchantDiscount;
12482
12545
  /** Discount rule */
12483
- discountRule?: DiscountRule$8;
12546
+ discountRule?: V1DiscountRule;
12484
12547
  /** Discount type. */
12485
12548
  discountType?: DiscountType$8;
12486
12549
  /**
@@ -12498,7 +12561,7 @@ interface AppliedDiscountDiscountSourceOneOf$8 {
12498
12561
  /** Merchant discount. */
12499
12562
  merchantDiscount?: V1MerchantDiscount;
12500
12563
  /** Discount rule */
12501
- discountRule?: DiscountRule$8;
12564
+ discountRule?: V1DiscountRule;
12502
12565
  }
12503
12566
  declare enum DiscountType$8 {
12504
12567
  GLOBAL = "GLOBAL",
@@ -12522,18 +12585,18 @@ interface V1MerchantDiscount {
12522
12585
  /** Discount Percentage. Will be calculated from items price before other discounts. */
12523
12586
  percentage?: number | null;
12524
12587
  }
12525
- interface DiscountRule$8 {
12588
+ interface V1DiscountRule {
12526
12589
  /** Discount rule ID */
12527
12590
  _id?: string;
12528
12591
  /** Discount rule name */
12529
- name?: DiscountRuleName$8;
12592
+ name?: V1DiscountRuleName;
12530
12593
  /** Discount value. */
12531
12594
  amount?: MultiCurrencyPrice$4;
12532
12595
  }
12533
- interface DiscountRuleName$8 {
12596
+ interface V1DiscountRuleName {
12534
12597
  /** Original discount rule name (in site's default language). */
12535
12598
  original?: string;
12536
- /** Discount rule name translated into buyer's language. Defaults to `original` when not defined. */
12599
+ /** Translated discount rule name according to buyer language. Defaults to `original` when not provided. */
12537
12600
  translated?: string | null;
12538
12601
  }
12539
12602
  interface CalculationErrors$6 extends CalculationErrorsShippingCalculationErrorOneOf$6 {
@@ -12962,7 +13025,6 @@ interface TaxableAddressNonNullableFields$8 {
12962
13025
  addressType: TaxableAddressType$8;
12963
13026
  }
12964
13027
  interface PolicyNonNullableFields$4 {
12965
- title: string;
12966
13028
  content: string;
12967
13029
  }
12968
13030
  interface LineItemNonNullableFields$2 {
@@ -13001,13 +13063,24 @@ interface BuyerInfoNonNullableFields$6 {
13001
13063
  interface CouponNonNullableFields$8 {
13002
13064
  _id: string;
13003
13065
  code: string;
13066
+ amount?: MultiCurrencyPriceNonNullableFields$4;
13004
13067
  }
13005
13068
  interface MerchantDiscountNonNullableFields$8 {
13006
13069
  amount?: MultiCurrencyPriceNonNullableFields$4;
13007
13070
  }
13071
+ interface DiscountRuleNameNonNullableFields$8 {
13072
+ original: string;
13073
+ }
13074
+ interface DiscountRuleNonNullableFields$8 {
13075
+ _id: string;
13076
+ name?: DiscountRuleNameNonNullableFields$8;
13077
+ amount?: MultiCurrencyPriceNonNullableFields$4;
13078
+ }
13008
13079
  interface CartDiscountNonNullableFields {
13009
13080
  coupon?: CouponNonNullableFields$8;
13010
13081
  merchantDiscount?: MerchantDiscountNonNullableFields$8;
13082
+ discountRule?: DiscountRuleNonNullableFields$8;
13083
+ lineItemIds: string[];
13011
13084
  }
13012
13085
  interface StreetAddressNonNullableFields$e {
13013
13086
  number: string;
@@ -13184,11 +13257,22 @@ interface ShippingPriceNonNullableFields$8 {
13184
13257
  price?: MultiCurrencyPriceNonNullableFields$4;
13185
13258
  otherCharges: OtherChargeNonNullableFields$4[];
13186
13259
  }
13260
+ interface CarrierNonNullableFields$6 {
13261
+ code: string;
13262
+ }
13263
+ interface ApplicableLineItemsNonNullableFields$6 {
13264
+ lineItemIds: string[];
13265
+ }
13266
+ interface DeliveryAllocationNonNullableFields$6 {
13267
+ deliveryCarrier?: CarrierNonNullableFields$6;
13268
+ applicableLineItems?: ApplicableLineItemsNonNullableFields$6;
13269
+ }
13187
13270
  interface ShippingOptionNonNullableFields$8 {
13188
13271
  code: string;
13189
13272
  title: string;
13190
13273
  logistics?: DeliveryLogisticsNonNullableFields$a;
13191
13274
  cost?: ShippingPriceNonNullableFields$8;
13275
+ deliveryAllocations: DeliveryAllocationNonNullableFields$6[];
13192
13276
  }
13193
13277
  interface CarrierServiceOptionNonNullableFields$4 {
13194
13278
  carrierId: string;
@@ -13209,12 +13293,12 @@ interface V1CouponNonNullableFields {
13209
13293
  interface V1MerchantDiscountNonNullableFields {
13210
13294
  amount?: MultiCurrencyPriceNonNullableFields$4;
13211
13295
  }
13212
- interface DiscountRuleNameNonNullableFields$8 {
13296
+ interface V1DiscountRuleNameNonNullableFields {
13213
13297
  original: string;
13214
13298
  }
13215
- interface DiscountRuleNonNullableFields$8 {
13299
+ interface V1DiscountRuleNonNullableFields {
13216
13300
  _id: string;
13217
- name?: DiscountRuleNameNonNullableFields$8;
13301
+ name?: V1DiscountRuleNameNonNullableFields;
13218
13302
  amount?: MultiCurrencyPriceNonNullableFields$4;
13219
13303
  }
13220
13304
  interface LineItemDiscountNonNullableFields$8 {
@@ -13224,7 +13308,7 @@ interface LineItemDiscountNonNullableFields$8 {
13224
13308
  interface AppliedDiscountNonNullableFields$8 {
13225
13309
  coupon?: V1CouponNonNullableFields;
13226
13310
  merchantDiscount?: V1MerchantDiscountNonNullableFields;
13227
- discountRule?: DiscountRuleNonNullableFields$8;
13311
+ discountRule?: V1DiscountRuleNonNullableFields;
13228
13312
  discountType: DiscountType$8;
13229
13313
  lineItemIds: string[];
13230
13314
  lineItemDiscounts: LineItemDiscountNonNullableFields$8[];
@@ -14430,7 +14514,8 @@ declare enum RuleType$7 {
14430
14514
  REQUIRED_FIELD = "REQUIRED_FIELD",
14431
14515
  FIELD_NOT_ALLOWED = "FIELD_NOT_ALLOWED",
14432
14516
  ONE_OF_ALIGNMENT = "ONE_OF_ALIGNMENT",
14433
- EXACT_LENGTH = "EXACT_LENGTH"
14517
+ EXACT_LENGTH = "EXACT_LENGTH",
14518
+ EXACT_SIZE = "EXACT_SIZE"
14434
14519
  }
14435
14520
  interface FieldViolation$7 {
14436
14521
  field?: string;
@@ -15277,7 +15362,6 @@ interface TaxableAddressNonNullableFields$7 {
15277
15362
  addressType: TaxableAddressType$7;
15278
15363
  }
15279
15364
  interface PolicyNonNullableFields$3 {
15280
- title: string;
15281
15365
  content: string;
15282
15366
  }
15283
15367
  interface LineItemNonNullableFields$1 {
@@ -15370,11 +15454,22 @@ interface ShippingPriceNonNullableFields$7 {
15370
15454
  price?: MultiCurrencyPriceNonNullableFields$3;
15371
15455
  otherCharges: OtherChargeNonNullableFields$3[];
15372
15456
  }
15457
+ interface CarrierNonNullableFields$5 {
15458
+ code: string;
15459
+ }
15460
+ interface ApplicableLineItemsNonNullableFields$5 {
15461
+ lineItemIds: string[];
15462
+ }
15463
+ interface DeliveryAllocationNonNullableFields$5 {
15464
+ deliveryCarrier?: CarrierNonNullableFields$5;
15465
+ applicableLineItems?: ApplicableLineItemsNonNullableFields$5;
15466
+ }
15373
15467
  interface ShippingOptionNonNullableFields$7 {
15374
15468
  code: string;
15375
15469
  title: string;
15376
15470
  logistics?: DeliveryLogisticsNonNullableFields$9;
15377
15471
  cost?: ShippingPriceNonNullableFields$7;
15472
+ deliveryAllocations: DeliveryAllocationNonNullableFields$5[];
15378
15473
  }
15379
15474
  interface CarrierServiceOptionNonNullableFields$3 {
15380
15475
  carrierId: string;
@@ -15605,6 +15700,7 @@ interface CheckoutNonNullableFields$1 {
15605
15700
  customSettings?: CustomSettingsNonNullableFields$1;
15606
15701
  customContentReference?: CustomContentReferenceNonNullableFields$3;
15607
15702
  externalReference?: ExternalReferenceNonNullableFields$3;
15703
+ payAfterFreeTrial?: PriceSummaryNonNullableFields$7;
15608
15704
  }
15609
15705
  interface CreateCheckoutResponseNonNullableFields$1 {
15610
15706
  checkout?: CheckoutNonNullableFields$1;
@@ -16665,7 +16761,8 @@ declare enum RuleType$6 {
16665
16761
  REQUIRED_FIELD = "REQUIRED_FIELD",
16666
16762
  FIELD_NOT_ALLOWED = "FIELD_NOT_ALLOWED",
16667
16763
  ONE_OF_ALIGNMENT = "ONE_OF_ALIGNMENT",
16668
- EXACT_LENGTH = "EXACT_LENGTH"
16764
+ EXACT_LENGTH = "EXACT_LENGTH",
16765
+ EXACT_SIZE = "EXACT_SIZE"
16669
16766
  }
16670
16767
  interface FieldViolation$6 {
16671
16768
  field?: string;
@@ -17480,7 +17577,6 @@ interface TaxableAddressNonNullableFields$6 {
17480
17577
  addressType: TaxableAddressType$6;
17481
17578
  }
17482
17579
  interface PolicyNonNullableFields$2 {
17483
- title: string;
17484
17580
  content: string;
17485
17581
  }
17486
17582
  interface LineItemNonNullableFields {
@@ -17573,11 +17669,22 @@ interface ShippingPriceNonNullableFields$6 {
17573
17669
  price?: MultiCurrencyPriceNonNullableFields$2;
17574
17670
  otherCharges: OtherChargeNonNullableFields$2[];
17575
17671
  }
17672
+ interface CarrierNonNullableFields$4 {
17673
+ code: string;
17674
+ }
17675
+ interface ApplicableLineItemsNonNullableFields$4 {
17676
+ lineItemIds: string[];
17677
+ }
17678
+ interface DeliveryAllocationNonNullableFields$4 {
17679
+ deliveryCarrier?: CarrierNonNullableFields$4;
17680
+ applicableLineItems?: ApplicableLineItemsNonNullableFields$4;
17681
+ }
17576
17682
  interface ShippingOptionNonNullableFields$6 {
17577
17683
  code: string;
17578
17684
  title: string;
17579
17685
  logistics?: DeliveryLogisticsNonNullableFields$8;
17580
17686
  cost?: ShippingPriceNonNullableFields$6;
17687
+ deliveryAllocations: DeliveryAllocationNonNullableFields$4[];
17581
17688
  }
17582
17689
  interface CarrierServiceOptionNonNullableFields$2 {
17583
17690
  carrierId: string;
@@ -17808,6 +17915,7 @@ interface CheckoutNonNullableFields {
17808
17915
  customSettings?: CustomSettingsNonNullableFields;
17809
17916
  customContentReference?: CustomContentReferenceNonNullableFields$2;
17810
17917
  externalReference?: ExternalReferenceNonNullableFields$2;
17918
+ payAfterFreeTrial?: PriceSummaryNonNullableFields$6;
17811
17919
  }
17812
17920
  interface CreateCheckoutResponseNonNullableFields {
17813
17921
  checkout?: CheckoutNonNullableFields;
@@ -19019,7 +19127,6 @@ interface SecuredMediaNonNullableFields$1 {
19019
19127
  fileType: FileType$1;
19020
19128
  }
19021
19129
  interface PolicyNonNullableFields$1 {
19022
- title: string;
19023
19130
  content: string;
19024
19131
  }
19025
19132
  interface CustomLineItemNonNullableFields$1 {
@@ -19702,7 +19809,6 @@ interface SecuredMediaNonNullableFields {
19702
19809
  fileType: FileType;
19703
19810
  }
19704
19811
  interface PolicyNonNullableFields {
19705
- title: string;
19706
19812
  content: string;
19707
19813
  }
19708
19814
  interface CustomLineItemNonNullableFields {
@@ -36987,11 +37093,22 @@ interface ShippingPriceNonNullableFields$1 {
36987
37093
  price?: MultiCurrencyPriceNonNullableFields$1;
36988
37094
  otherCharges: OtherChargeNonNullableFields$1[];
36989
37095
  }
37096
+ interface CarrierNonNullableFields$3 {
37097
+ code: string;
37098
+ }
37099
+ interface ApplicableLineItemsNonNullableFields$3 {
37100
+ lineItemIds: string[];
37101
+ }
37102
+ interface DeliveryAllocationNonNullableFields$3 {
37103
+ deliveryCarrier?: CarrierNonNullableFields$3;
37104
+ applicableLineItems?: ApplicableLineItemsNonNullableFields$3;
37105
+ }
36990
37106
  interface ShippingOptionNonNullableFields$1 {
36991
37107
  code: string;
36992
37108
  title: string;
36993
37109
  logistics?: DeliveryLogisticsNonNullableFields$3;
36994
37110
  cost?: ShippingPriceNonNullableFields$1;
37111
+ deliveryAllocations: DeliveryAllocationNonNullableFields$3[];
36995
37112
  }
36996
37113
  interface CarrierServiceOptionNonNullableFields$1 {
36997
37114
  carrierId: string;
@@ -37116,6 +37233,7 @@ interface CalculateTotalsResponseNonNullableFields$1 {
37116
37233
  siteCurrency: string;
37117
37234
  payNowTotalAfterGiftCard?: MultiCurrencyPriceNonNullableFields$1;
37118
37235
  totalAfterGiftCard?: MultiCurrencyPriceNonNullableFields$1;
37236
+ payAfterFreeTrial?: PriceSummaryNonNullableFields$1;
37119
37237
  }
37120
37238
 
37121
37239
  interface CalculateTotalsRequest extends CalculateTotalsRequestCouponOneOf, CalculateTotalsRequestGiftCardOneOf {
@@ -38130,11 +38248,22 @@ interface ShippingPriceNonNullableFields {
38130
38248
  price?: MultiCurrencyPriceNonNullableFields;
38131
38249
  otherCharges: OtherChargeNonNullableFields[];
38132
38250
  }
38251
+ interface CarrierNonNullableFields$2 {
38252
+ code: string;
38253
+ }
38254
+ interface ApplicableLineItemsNonNullableFields$2 {
38255
+ lineItemIds: string[];
38256
+ }
38257
+ interface DeliveryAllocationNonNullableFields$2 {
38258
+ deliveryCarrier?: CarrierNonNullableFields$2;
38259
+ applicableLineItems?: ApplicableLineItemsNonNullableFields$2;
38260
+ }
38133
38261
  interface ShippingOptionNonNullableFields {
38134
38262
  code: string;
38135
38263
  title: string;
38136
38264
  logistics?: DeliveryLogisticsNonNullableFields$2;
38137
38265
  cost?: ShippingPriceNonNullableFields;
38266
+ deliveryAllocations: DeliveryAllocationNonNullableFields$2[];
38138
38267
  }
38139
38268
  interface CarrierServiceOptionNonNullableFields {
38140
38269
  carrierId: string;
@@ -38259,6 +38388,7 @@ interface CalculateTotalsResponseNonNullableFields {
38259
38388
  siteCurrency: string;
38260
38389
  payNowTotalAfterGiftCard?: MultiCurrencyPriceNonNullableFields;
38261
38390
  totalAfterGiftCard?: MultiCurrencyPriceNonNullableFields;
38391
+ payAfterFreeTrial?: PriceSummaryNonNullableFields;
38262
38392
  }
38263
38393
 
38264
38394
  type __PublicMethodMetaInfo$5<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
@@ -38759,12 +38889,12 @@ interface DeliverySolution$1 {
38759
38889
  logistics?: DeliveryLogistics$1;
38760
38890
  /** Delivery cost. */
38761
38891
  cost?: DeliveryCost$1;
38762
- /** Delivery solution breakdown by delivery carrier and delivery region */
38763
- breakdown?: Breakdown$1[];
38892
+ /** Delivery solution allocations to different delivery carriers and delivery regions */
38893
+ deliveryAllocations?: DeliveryAllocation$1[];
38764
38894
  /** If the delivery solution is a partial and doesn't apply to all items. */
38765
38895
  partial?: boolean | null;
38766
38896
  }
38767
- interface Breakdown$1 {
38897
+ interface DeliveryAllocation$1 {
38768
38898
  /** The delivery option's carrier details, could be multiple if the delivery option is a combination of multiple carriers */
38769
38899
  deliveryCarrier?: Carrier$1;
38770
38900
  /** The delivery region that are relevant for this delivery solution. */
@@ -38830,7 +38960,7 @@ interface CarrierNonNullableFields$1 {
38830
38960
  interface ApplicableLineItemsNonNullableFields$1 {
38831
38961
  lineItemIds: string[];
38832
38962
  }
38833
- interface BreakdownNonNullableFields$1 {
38963
+ interface DeliveryAllocationNonNullableFields$1 {
38834
38964
  deliveryCarrier?: CarrierNonNullableFields$1;
38835
38965
  applicableLineItems?: ApplicableLineItemsNonNullableFields$1;
38836
38966
  }
@@ -38839,7 +38969,7 @@ interface DeliverySolutionNonNullableFields$1 {
38839
38969
  title: string;
38840
38970
  logistics?: DeliveryLogisticsNonNullableFields$1;
38841
38971
  cost?: DeliveryCostNonNullableFields$1;
38842
- breakdown: BreakdownNonNullableFields$1[];
38972
+ deliveryAllocations: DeliveryAllocationNonNullableFields$1[];
38843
38973
  }
38844
38974
  interface ApplicationErrorNonNullableFields$1 {
38845
38975
  code: string;
@@ -39180,12 +39310,12 @@ interface DeliverySolution {
39180
39310
  logistics?: DeliveryLogistics;
39181
39311
  /** Delivery cost. */
39182
39312
  cost?: DeliveryCost;
39183
- /** Delivery solution breakdown by delivery carrier and delivery region */
39184
- breakdown?: Breakdown[];
39313
+ /** Delivery solution allocations to different delivery carriers and delivery regions */
39314
+ deliveryAllocations?: DeliveryAllocation[];
39185
39315
  /** If the delivery solution is a partial and doesn't apply to all items. */
39186
39316
  partial?: boolean | null;
39187
39317
  }
39188
- interface Breakdown {
39318
+ interface DeliveryAllocation {
39189
39319
  /** The delivery option's carrier details, could be multiple if the delivery option is a combination of multiple carriers */
39190
39320
  deliveryCarrier?: Carrier;
39191
39321
  /** The delivery region that are relevant for this delivery solution. */
@@ -39245,7 +39375,7 @@ interface CarrierNonNullableFields {
39245
39375
  interface ApplicableLineItemsNonNullableFields {
39246
39376
  lineItemIds: string[];
39247
39377
  }
39248
- interface BreakdownNonNullableFields {
39378
+ interface DeliveryAllocationNonNullableFields {
39249
39379
  deliveryCarrier?: CarrierNonNullableFields;
39250
39380
  applicableLineItems?: ApplicableLineItemsNonNullableFields;
39251
39381
  }
@@ -39254,7 +39384,7 @@ interface DeliverySolutionNonNullableFields {
39254
39384
  title: string;
39255
39385
  logistics?: DeliveryLogisticsNonNullableFields;
39256
39386
  cost?: DeliveryCostNonNullableFields;
39257
- breakdown: BreakdownNonNullableFields[];
39387
+ deliveryAllocations: DeliveryAllocationNonNullableFields[];
39258
39388
  }
39259
39389
  interface ApplicationErrorNonNullableFields {
39260
39390
  code: string;
@@ -39626,7 +39756,7 @@ interface CreateDefaultTipSettingsResponseNonNullableFields$1 {
39626
39756
  */
39627
39757
  interface TipSettings extends TipSettingsIdentifierOneOf {
39628
39758
  /**
39629
- * ID of the [location](https://dev.wix.com/docs/rest/business-management/locations/location-object)
39759
+ * ID of the [location](https://dev.wix.com/docs/sdk/backend-modules/business-tools/locations/introduction)
39630
39760
  * for which the tip settings apply.
39631
39761
  */
39632
39762
  locationId?: string | null;
@@ -39658,7 +39788,7 @@ interface TipSettings extends TipSettingsIdentifierOneOf {
39658
39788
  tipType?: TipType$2;
39659
39789
  /**
39660
39790
  * Information about the tip choices that Wix Tips displays to customers during the
39661
- * [eCommerce checkout](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/checkout-object).
39791
+ * [eCommerce checkout](https://dev.wix.com/docs/sdk/backend-modules/ecom/checkout/setup).
39662
39792
  *
39663
39793
  * Min: `1` preset
39664
39794
  * Max: `3` presets
@@ -39666,9 +39796,7 @@ interface TipSettings extends TipSettingsIdentifierOneOf {
39666
39796
  presets?: Preset[];
39667
39797
  /**
39668
39798
  * Whether customer are allowed to tip during the
39669
- * [eCommerce checkout](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/checkout-object).
39670
- *
39671
- * Default: `true`
39799
+ * [eCommerce checkout](https://dev.wix.com/docs/sdk/backend-modules/ecom/checkout/setup).
39672
39800
  */
39673
39801
  allowCustomerTip?: boolean | null;
39674
39802
  /**
@@ -39743,7 +39871,7 @@ interface TipSettings extends TipSettingsIdentifierOneOf {
39743
39871
  /** @oneof */
39744
39872
  interface TipSettingsIdentifierOneOf {
39745
39873
  /**
39746
- * ID of the [location](https://dev.wix.com/docs/rest/business-management/locations/location-object)
39874
+ * ID of the [location](https://dev.wix.com/docs/sdk/backend-modules/business-tools/locations/introduction)
39747
39875
  * for which the tip settings apply.
39748
39876
  */
39749
39877
  locationId?: string | null;
@@ -39771,7 +39899,7 @@ declare enum TipType$2 {
39771
39899
  interface Preset {
39772
39900
  /**
39773
39901
  * Value of the preset tip choice that's displayed to customers in the
39774
- * [eCommerce checkout](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/checkout-object).
39902
+ * [eCommerce checkout](https://dev.wix.com/docs/sdk/backend-modules/ecom/checkout/setup).
39775
39903
  * For example, `5`, `10`, and `15` percent or `1`, `3`, and `5` USD.
39776
39904
  *
39777
39905
  * Min: `0`
@@ -39779,7 +39907,7 @@ interface Preset {
39779
39907
  value?: number | null;
39780
39908
  /**
39781
39909
  * Whether this tip choice value is the dafault preset that's highlighted automatically in the
39782
- * [eCommerce checkout](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/checkout-object).
39910
+ * [eCommerce checkout](https://dev.wix.com/docs/sdk/backend-modules/ecom/checkout/setup).
39783
39911
  *
39784
39912
  * Default: `false`
39785
39913
  */
@@ -39966,7 +40094,7 @@ declare namespace meta$2 {
39966
40094
 
39967
40095
  /**
39968
40096
  * Information about a team member who's eligible to receive a portion of the tip.
39969
- * Currently, only [Bookings staff members](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members-and-resources/staff-member-v1/introduction)
40097
+ * Currently, only [Bookings staff members](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members/introduction)
39970
40098
  * and [site collaborators](https://support.wix.com/en/article/inviting-people-to-contribute-to-your-site)
39971
40099
  * are eligible for tip distributions.
39972
40100
  */
@@ -39979,13 +40107,13 @@ interface Staff$3 {
39979
40107
  id?: string | null;
39980
40108
  /**
39981
40109
  * Staff name. Matches the name of the
39982
- * [Bookings staff member](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members-and-resources/staff-member-v1/staff-member-object)
40110
+ * [Bookings staff member](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members/staff-member-object)
39983
40111
  * if available.
39984
40112
  */
39985
40113
  name?: string | null;
39986
40114
  /**
39987
40115
  * Staff member ID. Available only if the staff is connected to a
39988
- * [Bookings staff member](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members-and-resources/staff-member-v1/staff-member-object).
40116
+ * [Bookings staff member](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members/staff-member-object).
39989
40117
  */
39990
40118
  staffMemberId?: string | null;
39991
40119
  /**
@@ -40036,7 +40164,7 @@ declare enum IdentityType$3 {
40036
40164
  interface ListTippableStaffRequest$1 {
40037
40165
  /**
40038
40166
  * Whether to include staff who are only Wix users and not
40039
- * [Bookings staff members](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members-and-resources/about-staff-members-and-resources)
40167
+ * [Bookings staff members](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members/introduction)
40040
40168
  * in the response. Setting `{"includeWixUsers": true}` returns all tippable
40041
40169
  * staff, including Bookings staff, site collaborators, or those who are both.
40042
40170
  * By default, or if you provide `{"includeWixUsers": false}`, only Bookings
@@ -40081,7 +40209,7 @@ interface ListTippableStaffResponseNonNullableFields$1 {
40081
40209
 
40082
40210
  /**
40083
40211
  * Information about a team member who's eligible to receive a portion of the tip.
40084
- * Currently, only [Bookings staff members](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members-and-resources/staff-member-v1/introduction)
40212
+ * Currently, only [Bookings staff members](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members/introduction)
40085
40213
  * and [site collaborators](https://support.wix.com/en/article/inviting-people-to-contribute-to-your-site)
40086
40214
  * are eligible for tip distributions.
40087
40215
  */
@@ -40092,15 +40220,11 @@ interface Staff$2 {
40092
40220
  * @readonly
40093
40221
  */
40094
40222
  _id?: string | null;
40095
- /**
40096
- * Staff name. Matches the name of the
40097
- * [Bookings staff member](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members-and-resources/staff-member-v1/staff-member-object)
40098
- * if available.
40099
- */
40223
+ /** Staff name. Matches the name of the Bookings staff member if available. */
40100
40224
  name?: string | null;
40101
40225
  /**
40102
40226
  * Staff member ID. Available only if the staff is connected to a
40103
- * [Bookings staff member](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members-and-resources/staff-member-v1/staff-member-object).
40227
+ * Bookings staff member.
40104
40228
  */
40105
40229
  staffMemberId?: string | null;
40106
40230
  /**
@@ -40122,7 +40246,7 @@ interface IdentificationData extends IdentificationDataIdOneOf {
40122
40246
  /** ID of an app. */
40123
40247
  appId?: string;
40124
40248
  /**
40125
- * ID of the [contact](https://dev.wix.com/docs/rest/crm/members-contacts/contacts/introduction)
40249
+ * ID of the [contact](https://dev.wix.com/docs/sdk/backend-modules/crm/contacts/introduction)
40126
40250
  * in the site's [CRM by Ascend](https://www.wix.com/ascend/crm) system.
40127
40251
  */
40128
40252
  contactId?: string | null;
@@ -40151,8 +40275,7 @@ declare enum IdentityType$2 {
40151
40275
  interface ListTippableStaffRequest {
40152
40276
  /**
40153
40277
  * Whether to include staff who are only Wix users and not
40154
- * [Bookings staff members](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members-and-resources/about-staff-members-and-resources)
40155
- * in the response. Setting `{"includeWixUsers": true}` returns all tippable
40278
+ * Bookings staff members in the response. Setting `{"includeWixUsers": true}` returns all tippable
40156
40279
  * staff, including Bookings staff, site collaborators, or those who are both.
40157
40280
  * By default, or if you provide `{"includeWixUsers": false}`, only Bookings
40158
40281
  * staff members or those who are both are returned.
@@ -40348,7 +40471,7 @@ interface Staff$1 {
40348
40471
  id?: string | null;
40349
40472
  /**
40350
40473
  * Staff name. Matches `staffMember.name` if the staff is a
40351
- * [Bookings staff member](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members-and-resources/staff-member-v1/staff-member-object),
40474
+ * [Bookings staff member](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members/staff-member-object),
40352
40475
  * or the [contact](https://dev.wix.com/docs/rest/crm/members-contacts/contacts/contacts/contact-v4/contact-object)'s
40353
40476
  * `info.name` if not.
40354
40477
  *
@@ -40357,7 +40480,7 @@ interface Staff$1 {
40357
40480
  */
40358
40481
  name?: string | null;
40359
40482
  /**
40360
- * ID of the [staff member](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members-and-resources/staff-member-v1/staff-member-object).
40483
+ * ID of the [staff member](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members/staff-member-object).
40361
40484
  * Available only if the staff is a staff member and not a
40362
40485
  * [site collaborator](https://support.wix.com/en/article/inviting-people-to-contribute-to-your-site).
40363
40486
  */
@@ -40366,7 +40489,7 @@ interface Staff$1 {
40366
40489
  * Identification data. Available only if the staff is a
40367
40490
  * [contact](https://dev.wix.com/docs/rest/crm/members-contacts/contacts/contacts/contact-v4/contact-object)
40368
40491
  * on the Wix site. Note that not all site collaborators are also
40369
- * [staff members](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members-and-resources/staff-member-v1/introduction).
40492
+ * [staff members](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members/introduction).
40370
40493
  */
40371
40494
  identificationData?: CommonIdentificationData$1;
40372
40495
  }
@@ -40913,7 +41036,7 @@ interface Staff {
40913
41036
  * Identification data. Available only if the staff is a
40914
41037
  * [contact](https://dev.wix.com/docs/rest/crm/members-contacts/contacts/contacts/contact-v4/contact-object)
40915
41038
  * on the Wix site. Note that not all site collaborators are also
40916
- * [staff members](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members-and-resources/staff-member-v1/introduction).
41039
+ * [staff members](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members/introduction).
40917
41040
  */
40918
41041
  identificationData?: CommonIdentificationData;
40919
41042
  }