@wix/ecom 1.0.845 → 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.
|
@@ -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$
|
|
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$
|
|
439
|
+
discountRule: DiscountRule$b;
|
|
440
440
|
}
|
|
441
441
|
interface CreateDiscountRuleResponse$1 {
|
|
442
442
|
/** Discount rule. */
|
|
443
|
-
discountRule?: DiscountRule$
|
|
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$
|
|
451
|
+
discountRule?: DiscountRule$b;
|
|
452
452
|
}
|
|
453
453
|
interface UpdateDiscountRuleRequest$1 {
|
|
454
454
|
/** Discount rule info. */
|
|
455
|
-
discountRule: DiscountRule$
|
|
455
|
+
discountRule: DiscountRule$b;
|
|
456
456
|
}
|
|
457
457
|
interface UpdateDiscountRuleResponse$1 {
|
|
458
458
|
/** Updated discount rule. */
|
|
459
|
-
discountRule?: DiscountRule$
|
|
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$
|
|
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$
|
|
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$
|
|
889
|
+
discountRule: DiscountRule$a;
|
|
890
890
|
}
|
|
891
891
|
interface CreateDiscountRuleResponse {
|
|
892
892
|
/** Discount rule. */
|
|
893
|
-
discountRule?: DiscountRule$
|
|
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$
|
|
901
|
+
discountRule?: DiscountRule$a;
|
|
902
902
|
}
|
|
903
903
|
interface UpdateDiscountRuleRequest {
|
|
904
904
|
/** Discount rule info. */
|
|
905
|
-
discountRule: DiscountRule$
|
|
905
|
+
discountRule: DiscountRule$a;
|
|
906
906
|
}
|
|
907
907
|
interface UpdateDiscountRuleResponse {
|
|
908
908
|
/** Updated discount rule. */
|
|
909
|
-
discountRule?: DiscountRule$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
2260
|
+
interface DiscountRule$9 {
|
|
2261
2261
|
/** Discount rule ID */
|
|
2262
2262
|
id?: string;
|
|
2263
2263
|
/** Discount rule name */
|
|
2264
|
-
name?: DiscountRuleName$
|
|
2264
|
+
name?: DiscountRuleName$9;
|
|
2265
2265
|
/** Discount value. */
|
|
2266
2266
|
amount?: Price$b;
|
|
2267
2267
|
}
|
|
2268
|
-
interface DiscountRuleName$
|
|
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. */
|
|
@@ -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;
|
|
@@ -3305,7 +3310,7 @@ interface AppliedDiscount$c extends AppliedDiscountDiscountSourceOneOf$c {
|
|
|
3305
3310
|
/** Merchant discount. */
|
|
3306
3311
|
merchantDiscount?: MerchantDiscount$c;
|
|
3307
3312
|
/** Automatic Discount */
|
|
3308
|
-
discountRule?: DiscountRule$
|
|
3313
|
+
discountRule?: DiscountRule$8;
|
|
3309
3314
|
/**
|
|
3310
3315
|
* Discount type.
|
|
3311
3316
|
* * `"GLOBAL"` - discount applies to entire order.
|
|
@@ -3332,7 +3337,7 @@ interface AppliedDiscountDiscountSourceOneOf$c {
|
|
|
3332
3337
|
/** Merchant discount. */
|
|
3333
3338
|
merchantDiscount?: MerchantDiscount$c;
|
|
3334
3339
|
/** Automatic Discount */
|
|
3335
|
-
discountRule?: DiscountRule$
|
|
3340
|
+
discountRule?: DiscountRule$8;
|
|
3336
3341
|
}
|
|
3337
3342
|
declare enum DiscountType$c {
|
|
3338
3343
|
GLOBAL = "GLOBAL",
|
|
@@ -3375,15 +3380,15 @@ declare enum DiscountReason$4 {
|
|
|
3375
3380
|
UNSPECIFIED = "UNSPECIFIED",
|
|
3376
3381
|
EXCHANGED_ITEMS = "EXCHANGED_ITEMS"
|
|
3377
3382
|
}
|
|
3378
|
-
interface DiscountRule$
|
|
3383
|
+
interface DiscountRule$8 {
|
|
3379
3384
|
/** Discount rule ID */
|
|
3380
3385
|
_id?: string;
|
|
3381
3386
|
/** Discount rule name */
|
|
3382
|
-
name?: DiscountRuleName$
|
|
3387
|
+
name?: DiscountRuleName$8;
|
|
3383
3388
|
/** Discount value. */
|
|
3384
3389
|
amount?: Price$a;
|
|
3385
3390
|
}
|
|
3386
|
-
interface DiscountRuleName$
|
|
3391
|
+
interface DiscountRuleName$8 {
|
|
3387
3392
|
/** Original discount rule name (in site's default language). */
|
|
3388
3393
|
original?: string;
|
|
3389
3394
|
/** Translated discount rule name according to buyer language. Defaults to `original` when not provided. */
|
|
@@ -6468,7 +6473,7 @@ interface AppliedDiscount$b extends AppliedDiscountDiscountSourceOneOf$b {
|
|
|
6468
6473
|
/** Merchant discount. */
|
|
6469
6474
|
merchantDiscount?: V1MerchantDiscount$3;
|
|
6470
6475
|
/** Discount rule */
|
|
6471
|
-
discountRule?:
|
|
6476
|
+
discountRule?: V1DiscountRule$3;
|
|
6472
6477
|
/** Discount type. */
|
|
6473
6478
|
discountType?: DiscountType$b;
|
|
6474
6479
|
/**
|
|
@@ -6486,7 +6491,7 @@ interface AppliedDiscountDiscountSourceOneOf$b {
|
|
|
6486
6491
|
/** Merchant discount. */
|
|
6487
6492
|
merchantDiscount?: V1MerchantDiscount$3;
|
|
6488
6493
|
/** Discount rule */
|
|
6489
|
-
discountRule?:
|
|
6494
|
+
discountRule?: V1DiscountRule$3;
|
|
6490
6495
|
}
|
|
6491
6496
|
declare enum DiscountType$b {
|
|
6492
6497
|
GLOBAL = "GLOBAL",
|
|
@@ -6510,15 +6515,15 @@ interface V1MerchantDiscount$3 {
|
|
|
6510
6515
|
/** Discount Percentage. Will be calculated from items price before other discounts. */
|
|
6511
6516
|
percentage?: number | null;
|
|
6512
6517
|
}
|
|
6513
|
-
interface
|
|
6518
|
+
interface V1DiscountRule$3 {
|
|
6514
6519
|
/** Discount rule ID */
|
|
6515
6520
|
id?: string;
|
|
6516
6521
|
/** Discount rule name */
|
|
6517
|
-
name?:
|
|
6522
|
+
name?: V1DiscountRuleName$3;
|
|
6518
6523
|
/** Discount value. */
|
|
6519
6524
|
amount?: MultiCurrencyPrice$7;
|
|
6520
6525
|
}
|
|
6521
|
-
interface
|
|
6526
|
+
interface V1DiscountRuleName$3 {
|
|
6522
6527
|
/** Original discount rule name (in site's default language). */
|
|
6523
6528
|
original?: string;
|
|
6524
6529
|
/** Translated discount rule name according to buyer language. Defaults to `original` when not provided. */
|
|
@@ -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;
|
|
@@ -7018,7 +7028,6 @@ interface TaxableAddressNonNullableFields$b {
|
|
|
7018
7028
|
addressType: TaxableAddressType$b;
|
|
7019
7029
|
}
|
|
7020
7030
|
interface PolicyNonNullableFields$7 {
|
|
7021
|
-
title: string;
|
|
7022
7031
|
content: string;
|
|
7023
7032
|
}
|
|
7024
7033
|
interface LineItemNonNullableFields$5 {
|
|
@@ -7029,6 +7038,7 @@ interface LineItemNonNullableFields$5 {
|
|
|
7029
7038
|
price?: MultiCurrencyPriceNonNullableFields$7;
|
|
7030
7039
|
fullPrice?: MultiCurrencyPriceNonNullableFields$7;
|
|
7031
7040
|
priceBeforeDiscounts?: MultiCurrencyPriceNonNullableFields$7;
|
|
7041
|
+
lineItemPrice?: MultiCurrencyPriceNonNullableFields$7;
|
|
7032
7042
|
descriptionLines: DescriptionLineNonNullableFields$b[];
|
|
7033
7043
|
image?: CommonImageNonNullableFields$2;
|
|
7034
7044
|
availability?: ItemAvailabilityInfoNonNullableFields$5;
|
|
@@ -7057,13 +7067,24 @@ interface BuyerInfoNonNullableFields$9 {
|
|
|
7057
7067
|
interface CouponNonNullableFields$b {
|
|
7058
7068
|
id: string;
|
|
7059
7069
|
code: string;
|
|
7070
|
+
amount?: MultiCurrencyPriceNonNullableFields$7;
|
|
7060
7071
|
}
|
|
7061
7072
|
interface MerchantDiscountNonNullableFields$b {
|
|
7062
7073
|
amount?: MultiCurrencyPriceNonNullableFields$7;
|
|
7063
7074
|
}
|
|
7075
|
+
interface DiscountRuleNameNonNullableFields$b {
|
|
7076
|
+
original: string;
|
|
7077
|
+
}
|
|
7078
|
+
interface DiscountRuleNonNullableFields$b {
|
|
7079
|
+
id: string;
|
|
7080
|
+
name?: DiscountRuleNameNonNullableFields$b;
|
|
7081
|
+
amount?: MultiCurrencyPriceNonNullableFields$7;
|
|
7082
|
+
}
|
|
7064
7083
|
interface CartDiscountNonNullableFields$3 {
|
|
7065
7084
|
coupon?: CouponNonNullableFields$b;
|
|
7066
7085
|
merchantDiscount?: MerchantDiscountNonNullableFields$b;
|
|
7086
|
+
discountRule?: DiscountRuleNonNullableFields$b;
|
|
7087
|
+
lineItemIds: string[];
|
|
7067
7088
|
}
|
|
7068
7089
|
interface StreetAddressNonNullableFields$h {
|
|
7069
7090
|
number: string;
|
|
@@ -7237,11 +7258,22 @@ interface ShippingPriceNonNullableFields$b {
|
|
|
7237
7258
|
price?: MultiCurrencyPriceNonNullableFields$7;
|
|
7238
7259
|
otherCharges: OtherChargeNonNullableFields$7[];
|
|
7239
7260
|
}
|
|
7261
|
+
interface CarrierNonNullableFields$9 {
|
|
7262
|
+
code: string;
|
|
7263
|
+
}
|
|
7264
|
+
interface ApplicableLineItemsNonNullableFields$9 {
|
|
7265
|
+
lineItemIds: string[];
|
|
7266
|
+
}
|
|
7267
|
+
interface DeliveryAllocationNonNullableFields$9 {
|
|
7268
|
+
deliveryCarrier?: CarrierNonNullableFields$9;
|
|
7269
|
+
applicableLineItems?: ApplicableLineItemsNonNullableFields$9;
|
|
7270
|
+
}
|
|
7240
7271
|
interface ShippingOptionNonNullableFields$b {
|
|
7241
7272
|
code: string;
|
|
7242
7273
|
title: string;
|
|
7243
7274
|
logistics?: DeliveryLogisticsNonNullableFields$d;
|
|
7244
7275
|
cost?: ShippingPriceNonNullableFields$b;
|
|
7276
|
+
deliveryAllocations: DeliveryAllocationNonNullableFields$9[];
|
|
7245
7277
|
}
|
|
7246
7278
|
interface CarrierServiceOptionNonNullableFields$7 {
|
|
7247
7279
|
carrierId: string;
|
|
@@ -7262,12 +7294,12 @@ interface V1CouponNonNullableFields$3 {
|
|
|
7262
7294
|
interface V1MerchantDiscountNonNullableFields$3 {
|
|
7263
7295
|
amount?: MultiCurrencyPriceNonNullableFields$7;
|
|
7264
7296
|
}
|
|
7265
|
-
interface
|
|
7297
|
+
interface V1DiscountRuleNameNonNullableFields$3 {
|
|
7266
7298
|
original: string;
|
|
7267
7299
|
}
|
|
7268
|
-
interface
|
|
7300
|
+
interface V1DiscountRuleNonNullableFields$3 {
|
|
7269
7301
|
id: string;
|
|
7270
|
-
name?:
|
|
7302
|
+
name?: V1DiscountRuleNameNonNullableFields$3;
|
|
7271
7303
|
amount?: MultiCurrencyPriceNonNullableFields$7;
|
|
7272
7304
|
}
|
|
7273
7305
|
interface LineItemDiscountNonNullableFields$b {
|
|
@@ -7277,7 +7309,7 @@ interface LineItemDiscountNonNullableFields$b {
|
|
|
7277
7309
|
interface AppliedDiscountNonNullableFields$b {
|
|
7278
7310
|
coupon?: V1CouponNonNullableFields$3;
|
|
7279
7311
|
merchantDiscount?: V1MerchantDiscountNonNullableFields$3;
|
|
7280
|
-
discountRule?:
|
|
7312
|
+
discountRule?: V1DiscountRuleNonNullableFields$3;
|
|
7281
7313
|
discountType: DiscountType$b;
|
|
7282
7314
|
lineItemIds: string[];
|
|
7283
7315
|
lineItemDiscounts: LineItemDiscountNonNullableFields$b[];
|
|
@@ -8447,7 +8479,7 @@ interface AppliedDiscount$a extends AppliedDiscountDiscountSourceOneOf$a {
|
|
|
8447
8479
|
/** Merchant discount. */
|
|
8448
8480
|
merchantDiscount?: V1MerchantDiscount$2;
|
|
8449
8481
|
/** Discount rule */
|
|
8450
|
-
discountRule?:
|
|
8482
|
+
discountRule?: V1DiscountRule$2;
|
|
8451
8483
|
/** Discount type. */
|
|
8452
8484
|
discountType?: DiscountType$a;
|
|
8453
8485
|
/**
|
|
@@ -8465,7 +8497,7 @@ interface AppliedDiscountDiscountSourceOneOf$a {
|
|
|
8465
8497
|
/** Merchant discount. */
|
|
8466
8498
|
merchantDiscount?: V1MerchantDiscount$2;
|
|
8467
8499
|
/** Discount rule */
|
|
8468
|
-
discountRule?:
|
|
8500
|
+
discountRule?: V1DiscountRule$2;
|
|
8469
8501
|
}
|
|
8470
8502
|
declare enum DiscountType$a {
|
|
8471
8503
|
GLOBAL = "GLOBAL",
|
|
@@ -8489,18 +8521,18 @@ interface V1MerchantDiscount$2 {
|
|
|
8489
8521
|
/** Discount Percentage. Will be calculated from items price before other discounts. */
|
|
8490
8522
|
percentage?: number | null;
|
|
8491
8523
|
}
|
|
8492
|
-
interface
|
|
8524
|
+
interface V1DiscountRule$2 {
|
|
8493
8525
|
/** Discount rule ID */
|
|
8494
8526
|
_id?: string;
|
|
8495
8527
|
/** Discount rule name */
|
|
8496
|
-
name?:
|
|
8528
|
+
name?: V1DiscountRuleName$2;
|
|
8497
8529
|
/** Discount value. */
|
|
8498
8530
|
amount?: MultiCurrencyPrice$6;
|
|
8499
8531
|
}
|
|
8500
|
-
interface
|
|
8532
|
+
interface V1DiscountRuleName$2 {
|
|
8501
8533
|
/** Original discount rule name (in site's default language). */
|
|
8502
8534
|
original?: string;
|
|
8503
|
-
/**
|
|
8535
|
+
/** Translated discount rule name according to buyer language. Defaults to `original` when not provided. */
|
|
8504
8536
|
translated?: string | null;
|
|
8505
8537
|
}
|
|
8506
8538
|
interface CalculationErrors$8 extends CalculationErrorsShippingCalculationErrorOneOf$8 {
|
|
@@ -8983,7 +9015,6 @@ interface TaxableAddressNonNullableFields$a {
|
|
|
8983
9015
|
addressType: TaxableAddressType$a;
|
|
8984
9016
|
}
|
|
8985
9017
|
interface PolicyNonNullableFields$6 {
|
|
8986
|
-
title: string;
|
|
8987
9018
|
content: string;
|
|
8988
9019
|
}
|
|
8989
9020
|
interface LineItemNonNullableFields$4 {
|
|
@@ -8994,6 +9025,7 @@ interface LineItemNonNullableFields$4 {
|
|
|
8994
9025
|
price?: MultiCurrencyPriceNonNullableFields$6;
|
|
8995
9026
|
fullPrice?: MultiCurrencyPriceNonNullableFields$6;
|
|
8996
9027
|
priceBeforeDiscounts?: MultiCurrencyPriceNonNullableFields$6;
|
|
9028
|
+
lineItemPrice?: MultiCurrencyPriceNonNullableFields$6;
|
|
8997
9029
|
descriptionLines: DescriptionLineNonNullableFields$a[];
|
|
8998
9030
|
image: string;
|
|
8999
9031
|
availability?: ItemAvailabilityInfoNonNullableFields$4;
|
|
@@ -9022,13 +9054,24 @@ interface BuyerInfoNonNullableFields$8 {
|
|
|
9022
9054
|
interface CouponNonNullableFields$a {
|
|
9023
9055
|
_id: string;
|
|
9024
9056
|
code: string;
|
|
9057
|
+
amount?: MultiCurrencyPriceNonNullableFields$6;
|
|
9025
9058
|
}
|
|
9026
9059
|
interface MerchantDiscountNonNullableFields$a {
|
|
9027
9060
|
amount?: MultiCurrencyPriceNonNullableFields$6;
|
|
9028
9061
|
}
|
|
9062
|
+
interface DiscountRuleNameNonNullableFields$a {
|
|
9063
|
+
original: string;
|
|
9064
|
+
}
|
|
9065
|
+
interface DiscountRuleNonNullableFields$a {
|
|
9066
|
+
_id: string;
|
|
9067
|
+
name?: DiscountRuleNameNonNullableFields$a;
|
|
9068
|
+
amount?: MultiCurrencyPriceNonNullableFields$6;
|
|
9069
|
+
}
|
|
9029
9070
|
interface CartDiscountNonNullableFields$2 {
|
|
9030
9071
|
coupon?: CouponNonNullableFields$a;
|
|
9031
9072
|
merchantDiscount?: MerchantDiscountNonNullableFields$a;
|
|
9073
|
+
discountRule?: DiscountRuleNonNullableFields$a;
|
|
9074
|
+
lineItemIds: string[];
|
|
9032
9075
|
}
|
|
9033
9076
|
interface StreetAddressNonNullableFields$g {
|
|
9034
9077
|
number: string;
|
|
@@ -9202,11 +9245,22 @@ interface ShippingPriceNonNullableFields$a {
|
|
|
9202
9245
|
price?: MultiCurrencyPriceNonNullableFields$6;
|
|
9203
9246
|
otherCharges: OtherChargeNonNullableFields$6[];
|
|
9204
9247
|
}
|
|
9248
|
+
interface CarrierNonNullableFields$8 {
|
|
9249
|
+
code: string;
|
|
9250
|
+
}
|
|
9251
|
+
interface ApplicableLineItemsNonNullableFields$8 {
|
|
9252
|
+
lineItemIds: string[];
|
|
9253
|
+
}
|
|
9254
|
+
interface DeliveryAllocationNonNullableFields$8 {
|
|
9255
|
+
deliveryCarrier?: CarrierNonNullableFields$8;
|
|
9256
|
+
applicableLineItems?: ApplicableLineItemsNonNullableFields$8;
|
|
9257
|
+
}
|
|
9205
9258
|
interface ShippingOptionNonNullableFields$a {
|
|
9206
9259
|
code: string;
|
|
9207
9260
|
title: string;
|
|
9208
9261
|
logistics?: DeliveryLogisticsNonNullableFields$c;
|
|
9209
9262
|
cost?: ShippingPriceNonNullableFields$a;
|
|
9263
|
+
deliveryAllocations: DeliveryAllocationNonNullableFields$8[];
|
|
9210
9264
|
}
|
|
9211
9265
|
interface CarrierServiceOptionNonNullableFields$6 {
|
|
9212
9266
|
carrierId: string;
|
|
@@ -9227,12 +9281,12 @@ interface V1CouponNonNullableFields$2 {
|
|
|
9227
9281
|
interface V1MerchantDiscountNonNullableFields$2 {
|
|
9228
9282
|
amount?: MultiCurrencyPriceNonNullableFields$6;
|
|
9229
9283
|
}
|
|
9230
|
-
interface
|
|
9284
|
+
interface V1DiscountRuleNameNonNullableFields$2 {
|
|
9231
9285
|
original: string;
|
|
9232
9286
|
}
|
|
9233
|
-
interface
|
|
9287
|
+
interface V1DiscountRuleNonNullableFields$2 {
|
|
9234
9288
|
_id: string;
|
|
9235
|
-
name?:
|
|
9289
|
+
name?: V1DiscountRuleNameNonNullableFields$2;
|
|
9236
9290
|
amount?: MultiCurrencyPriceNonNullableFields$6;
|
|
9237
9291
|
}
|
|
9238
9292
|
interface LineItemDiscountNonNullableFields$a {
|
|
@@ -9242,7 +9296,7 @@ interface LineItemDiscountNonNullableFields$a {
|
|
|
9242
9296
|
interface AppliedDiscountNonNullableFields$a {
|
|
9243
9297
|
coupon?: V1CouponNonNullableFields$2;
|
|
9244
9298
|
merchantDiscount?: V1MerchantDiscountNonNullableFields$2;
|
|
9245
|
-
discountRule?:
|
|
9299
|
+
discountRule?: V1DiscountRuleNonNullableFields$2;
|
|
9246
9300
|
discountType: DiscountType$a;
|
|
9247
9301
|
lineItemIds: string[];
|
|
9248
9302
|
lineItemDiscounts: LineItemDiscountNonNullableFields$a[];
|
|
@@ -10541,7 +10595,7 @@ interface AppliedDiscount$9 extends AppliedDiscountDiscountSourceOneOf$9 {
|
|
|
10541
10595
|
/** Merchant discount. */
|
|
10542
10596
|
merchantDiscount?: V1MerchantDiscount$1;
|
|
10543
10597
|
/** Discount rule */
|
|
10544
|
-
discountRule?:
|
|
10598
|
+
discountRule?: V1DiscountRule$1;
|
|
10545
10599
|
/** Discount type. */
|
|
10546
10600
|
discountType?: DiscountType$9;
|
|
10547
10601
|
/**
|
|
@@ -10559,7 +10613,7 @@ interface AppliedDiscountDiscountSourceOneOf$9 {
|
|
|
10559
10613
|
/** Merchant discount. */
|
|
10560
10614
|
merchantDiscount?: V1MerchantDiscount$1;
|
|
10561
10615
|
/** Discount rule */
|
|
10562
|
-
discountRule?:
|
|
10616
|
+
discountRule?: V1DiscountRule$1;
|
|
10563
10617
|
}
|
|
10564
10618
|
declare enum DiscountType$9 {
|
|
10565
10619
|
GLOBAL = "GLOBAL",
|
|
@@ -10583,15 +10637,15 @@ interface V1MerchantDiscount$1 {
|
|
|
10583
10637
|
/** Discount Percentage. Will be calculated from items price before other discounts. */
|
|
10584
10638
|
percentage?: number | null;
|
|
10585
10639
|
}
|
|
10586
|
-
interface
|
|
10640
|
+
interface V1DiscountRule$1 {
|
|
10587
10641
|
/** Discount rule ID */
|
|
10588
10642
|
id?: string;
|
|
10589
10643
|
/** Discount rule name */
|
|
10590
|
-
name?:
|
|
10644
|
+
name?: V1DiscountRuleName$1;
|
|
10591
10645
|
/** Discount value. */
|
|
10592
10646
|
amount?: MultiCurrencyPrice$5;
|
|
10593
10647
|
}
|
|
10594
|
-
interface
|
|
10648
|
+
interface V1DiscountRuleName$1 {
|
|
10595
10649
|
/** Original discount rule name (in site's default language). */
|
|
10596
10650
|
original?: string;
|
|
10597
10651
|
/** Translated discount rule name according to buyer language. Defaults to `original` when not provided. */
|
|
@@ -10962,11 +11016,16 @@ interface DescriptionLineNonNullableFields$9 {
|
|
|
10962
11016
|
name?: DescriptionLineNameNonNullableFields$9;
|
|
10963
11017
|
lineType: DescriptionLineType$9;
|
|
10964
11018
|
}
|
|
11019
|
+
interface FocalPointNonNullableFields$4 {
|
|
11020
|
+
x: number;
|
|
11021
|
+
y: number;
|
|
11022
|
+
}
|
|
10965
11023
|
interface CommonImageNonNullableFields$1 {
|
|
10966
11024
|
id: string;
|
|
10967
11025
|
url: string;
|
|
10968
11026
|
height: number;
|
|
10969
11027
|
width: number;
|
|
11028
|
+
focalPoint?: FocalPointNonNullableFields$4;
|
|
10970
11029
|
}
|
|
10971
11030
|
interface ItemAvailabilityInfoNonNullableFields$3 {
|
|
10972
11031
|
status: ItemAvailabilityStatus$3;
|
|
@@ -11037,7 +11096,6 @@ interface TaxableAddressNonNullableFields$9 {
|
|
|
11037
11096
|
addressType: TaxableAddressType$9;
|
|
11038
11097
|
}
|
|
11039
11098
|
interface PolicyNonNullableFields$5 {
|
|
11040
|
-
title: string;
|
|
11041
11099
|
content: string;
|
|
11042
11100
|
}
|
|
11043
11101
|
interface LineItemNonNullableFields$3 {
|
|
@@ -11048,6 +11106,7 @@ interface LineItemNonNullableFields$3 {
|
|
|
11048
11106
|
price?: MultiCurrencyPriceNonNullableFields$5;
|
|
11049
11107
|
fullPrice?: MultiCurrencyPriceNonNullableFields$5;
|
|
11050
11108
|
priceBeforeDiscounts?: MultiCurrencyPriceNonNullableFields$5;
|
|
11109
|
+
lineItemPrice?: MultiCurrencyPriceNonNullableFields$5;
|
|
11051
11110
|
descriptionLines: DescriptionLineNonNullableFields$9[];
|
|
11052
11111
|
image?: CommonImageNonNullableFields$1;
|
|
11053
11112
|
availability?: ItemAvailabilityInfoNonNullableFields$3;
|
|
@@ -11076,13 +11135,24 @@ interface BuyerInfoNonNullableFields$7 {
|
|
|
11076
11135
|
interface CouponNonNullableFields$9 {
|
|
11077
11136
|
id: string;
|
|
11078
11137
|
code: string;
|
|
11138
|
+
amount?: MultiCurrencyPriceNonNullableFields$5;
|
|
11079
11139
|
}
|
|
11080
11140
|
interface MerchantDiscountNonNullableFields$9 {
|
|
11081
11141
|
amount?: MultiCurrencyPriceNonNullableFields$5;
|
|
11082
11142
|
}
|
|
11143
|
+
interface DiscountRuleNameNonNullableFields$9 {
|
|
11144
|
+
original: string;
|
|
11145
|
+
}
|
|
11146
|
+
interface DiscountRuleNonNullableFields$9 {
|
|
11147
|
+
id: string;
|
|
11148
|
+
name?: DiscountRuleNameNonNullableFields$9;
|
|
11149
|
+
amount?: MultiCurrencyPriceNonNullableFields$5;
|
|
11150
|
+
}
|
|
11083
11151
|
interface CartDiscountNonNullableFields$1 {
|
|
11084
11152
|
coupon?: CouponNonNullableFields$9;
|
|
11085
11153
|
merchantDiscount?: MerchantDiscountNonNullableFields$9;
|
|
11154
|
+
discountRule?: DiscountRuleNonNullableFields$9;
|
|
11155
|
+
lineItemIds: string[];
|
|
11086
11156
|
}
|
|
11087
11157
|
interface StreetAddressNonNullableFields$f {
|
|
11088
11158
|
number: string;
|
|
@@ -11259,11 +11329,22 @@ interface ShippingPriceNonNullableFields$9 {
|
|
|
11259
11329
|
price?: MultiCurrencyPriceNonNullableFields$5;
|
|
11260
11330
|
otherCharges: OtherChargeNonNullableFields$5[];
|
|
11261
11331
|
}
|
|
11332
|
+
interface CarrierNonNullableFields$7 {
|
|
11333
|
+
code: string;
|
|
11334
|
+
}
|
|
11335
|
+
interface ApplicableLineItemsNonNullableFields$7 {
|
|
11336
|
+
lineItemIds: string[];
|
|
11337
|
+
}
|
|
11338
|
+
interface DeliveryAllocationNonNullableFields$7 {
|
|
11339
|
+
deliveryCarrier?: CarrierNonNullableFields$7;
|
|
11340
|
+
applicableLineItems?: ApplicableLineItemsNonNullableFields$7;
|
|
11341
|
+
}
|
|
11262
11342
|
interface ShippingOptionNonNullableFields$9 {
|
|
11263
11343
|
code: string;
|
|
11264
11344
|
title: string;
|
|
11265
11345
|
logistics?: DeliveryLogisticsNonNullableFields$b;
|
|
11266
11346
|
cost?: ShippingPriceNonNullableFields$9;
|
|
11347
|
+
deliveryAllocations: DeliveryAllocationNonNullableFields$7[];
|
|
11267
11348
|
}
|
|
11268
11349
|
interface CarrierServiceOptionNonNullableFields$5 {
|
|
11269
11350
|
carrierId: string;
|
|
@@ -11284,12 +11365,12 @@ interface V1CouponNonNullableFields$1 {
|
|
|
11284
11365
|
interface V1MerchantDiscountNonNullableFields$1 {
|
|
11285
11366
|
amount?: MultiCurrencyPriceNonNullableFields$5;
|
|
11286
11367
|
}
|
|
11287
|
-
interface
|
|
11368
|
+
interface V1DiscountRuleNameNonNullableFields$1 {
|
|
11288
11369
|
original: string;
|
|
11289
11370
|
}
|
|
11290
|
-
interface
|
|
11371
|
+
interface V1DiscountRuleNonNullableFields$1 {
|
|
11291
11372
|
id: string;
|
|
11292
|
-
name?:
|
|
11373
|
+
name?: V1DiscountRuleNameNonNullableFields$1;
|
|
11293
11374
|
amount?: MultiCurrencyPriceNonNullableFields$5;
|
|
11294
11375
|
}
|
|
11295
11376
|
interface LineItemDiscountNonNullableFields$9 {
|
|
@@ -11299,7 +11380,7 @@ interface LineItemDiscountNonNullableFields$9 {
|
|
|
11299
11380
|
interface AppliedDiscountNonNullableFields$9 {
|
|
11300
11381
|
coupon?: V1CouponNonNullableFields$1;
|
|
11301
11382
|
merchantDiscount?: V1MerchantDiscountNonNullableFields$1;
|
|
11302
|
-
discountRule?:
|
|
11383
|
+
discountRule?: V1DiscountRuleNonNullableFields$1;
|
|
11303
11384
|
discountType: DiscountType$9;
|
|
11304
11385
|
lineItemIds: string[];
|
|
11305
11386
|
lineItemDiscounts: LineItemDiscountNonNullableFields$9[];
|
|
@@ -12480,7 +12561,7 @@ interface AppliedDiscount$8 extends AppliedDiscountDiscountSourceOneOf$8 {
|
|
|
12480
12561
|
/** Merchant discount. */
|
|
12481
12562
|
merchantDiscount?: V1MerchantDiscount;
|
|
12482
12563
|
/** Discount rule */
|
|
12483
|
-
discountRule?:
|
|
12564
|
+
discountRule?: V1DiscountRule;
|
|
12484
12565
|
/** Discount type. */
|
|
12485
12566
|
discountType?: DiscountType$8;
|
|
12486
12567
|
/**
|
|
@@ -12498,7 +12579,7 @@ interface AppliedDiscountDiscountSourceOneOf$8 {
|
|
|
12498
12579
|
/** Merchant discount. */
|
|
12499
12580
|
merchantDiscount?: V1MerchantDiscount;
|
|
12500
12581
|
/** Discount rule */
|
|
12501
|
-
discountRule?:
|
|
12582
|
+
discountRule?: V1DiscountRule;
|
|
12502
12583
|
}
|
|
12503
12584
|
declare enum DiscountType$8 {
|
|
12504
12585
|
GLOBAL = "GLOBAL",
|
|
@@ -12522,18 +12603,18 @@ interface V1MerchantDiscount {
|
|
|
12522
12603
|
/** Discount Percentage. Will be calculated from items price before other discounts. */
|
|
12523
12604
|
percentage?: number | null;
|
|
12524
12605
|
}
|
|
12525
|
-
interface
|
|
12606
|
+
interface V1DiscountRule {
|
|
12526
12607
|
/** Discount rule ID */
|
|
12527
12608
|
_id?: string;
|
|
12528
12609
|
/** Discount rule name */
|
|
12529
|
-
name?:
|
|
12610
|
+
name?: V1DiscountRuleName;
|
|
12530
12611
|
/** Discount value. */
|
|
12531
12612
|
amount?: MultiCurrencyPrice$4;
|
|
12532
12613
|
}
|
|
12533
|
-
interface
|
|
12614
|
+
interface V1DiscountRuleName {
|
|
12534
12615
|
/** Original discount rule name (in site's default language). */
|
|
12535
12616
|
original?: string;
|
|
12536
|
-
/**
|
|
12617
|
+
/** Translated discount rule name according to buyer language. Defaults to `original` when not provided. */
|
|
12537
12618
|
translated?: string | null;
|
|
12538
12619
|
}
|
|
12539
12620
|
interface CalculationErrors$6 extends CalculationErrorsShippingCalculationErrorOneOf$6 {
|
|
@@ -12962,7 +13043,6 @@ interface TaxableAddressNonNullableFields$8 {
|
|
|
12962
13043
|
addressType: TaxableAddressType$8;
|
|
12963
13044
|
}
|
|
12964
13045
|
interface PolicyNonNullableFields$4 {
|
|
12965
|
-
title: string;
|
|
12966
13046
|
content: string;
|
|
12967
13047
|
}
|
|
12968
13048
|
interface LineItemNonNullableFields$2 {
|
|
@@ -12973,6 +13053,7 @@ interface LineItemNonNullableFields$2 {
|
|
|
12973
13053
|
price?: MultiCurrencyPriceNonNullableFields$4;
|
|
12974
13054
|
fullPrice?: MultiCurrencyPriceNonNullableFields$4;
|
|
12975
13055
|
priceBeforeDiscounts?: MultiCurrencyPriceNonNullableFields$4;
|
|
13056
|
+
lineItemPrice?: MultiCurrencyPriceNonNullableFields$4;
|
|
12976
13057
|
descriptionLines: DescriptionLineNonNullableFields$8[];
|
|
12977
13058
|
image: string;
|
|
12978
13059
|
availability?: ItemAvailabilityInfoNonNullableFields$2;
|
|
@@ -13001,13 +13082,24 @@ interface BuyerInfoNonNullableFields$6 {
|
|
|
13001
13082
|
interface CouponNonNullableFields$8 {
|
|
13002
13083
|
_id: string;
|
|
13003
13084
|
code: string;
|
|
13085
|
+
amount?: MultiCurrencyPriceNonNullableFields$4;
|
|
13004
13086
|
}
|
|
13005
13087
|
interface MerchantDiscountNonNullableFields$8 {
|
|
13006
13088
|
amount?: MultiCurrencyPriceNonNullableFields$4;
|
|
13007
13089
|
}
|
|
13090
|
+
interface DiscountRuleNameNonNullableFields$8 {
|
|
13091
|
+
original: string;
|
|
13092
|
+
}
|
|
13093
|
+
interface DiscountRuleNonNullableFields$8 {
|
|
13094
|
+
_id: string;
|
|
13095
|
+
name?: DiscountRuleNameNonNullableFields$8;
|
|
13096
|
+
amount?: MultiCurrencyPriceNonNullableFields$4;
|
|
13097
|
+
}
|
|
13008
13098
|
interface CartDiscountNonNullableFields {
|
|
13009
13099
|
coupon?: CouponNonNullableFields$8;
|
|
13010
13100
|
merchantDiscount?: MerchantDiscountNonNullableFields$8;
|
|
13101
|
+
discountRule?: DiscountRuleNonNullableFields$8;
|
|
13102
|
+
lineItemIds: string[];
|
|
13011
13103
|
}
|
|
13012
13104
|
interface StreetAddressNonNullableFields$e {
|
|
13013
13105
|
number: string;
|
|
@@ -13184,11 +13276,22 @@ interface ShippingPriceNonNullableFields$8 {
|
|
|
13184
13276
|
price?: MultiCurrencyPriceNonNullableFields$4;
|
|
13185
13277
|
otherCharges: OtherChargeNonNullableFields$4[];
|
|
13186
13278
|
}
|
|
13279
|
+
interface CarrierNonNullableFields$6 {
|
|
13280
|
+
code: string;
|
|
13281
|
+
}
|
|
13282
|
+
interface ApplicableLineItemsNonNullableFields$6 {
|
|
13283
|
+
lineItemIds: string[];
|
|
13284
|
+
}
|
|
13285
|
+
interface DeliveryAllocationNonNullableFields$6 {
|
|
13286
|
+
deliveryCarrier?: CarrierNonNullableFields$6;
|
|
13287
|
+
applicableLineItems?: ApplicableLineItemsNonNullableFields$6;
|
|
13288
|
+
}
|
|
13187
13289
|
interface ShippingOptionNonNullableFields$8 {
|
|
13188
13290
|
code: string;
|
|
13189
13291
|
title: string;
|
|
13190
13292
|
logistics?: DeliveryLogisticsNonNullableFields$a;
|
|
13191
13293
|
cost?: ShippingPriceNonNullableFields$8;
|
|
13294
|
+
deliveryAllocations: DeliveryAllocationNonNullableFields$6[];
|
|
13192
13295
|
}
|
|
13193
13296
|
interface CarrierServiceOptionNonNullableFields$4 {
|
|
13194
13297
|
carrierId: string;
|
|
@@ -13209,12 +13312,12 @@ interface V1CouponNonNullableFields {
|
|
|
13209
13312
|
interface V1MerchantDiscountNonNullableFields {
|
|
13210
13313
|
amount?: MultiCurrencyPriceNonNullableFields$4;
|
|
13211
13314
|
}
|
|
13212
|
-
interface
|
|
13315
|
+
interface V1DiscountRuleNameNonNullableFields {
|
|
13213
13316
|
original: string;
|
|
13214
13317
|
}
|
|
13215
|
-
interface
|
|
13318
|
+
interface V1DiscountRuleNonNullableFields {
|
|
13216
13319
|
_id: string;
|
|
13217
|
-
name?:
|
|
13320
|
+
name?: V1DiscountRuleNameNonNullableFields;
|
|
13218
13321
|
amount?: MultiCurrencyPriceNonNullableFields$4;
|
|
13219
13322
|
}
|
|
13220
13323
|
interface LineItemDiscountNonNullableFields$8 {
|
|
@@ -13224,7 +13327,7 @@ interface LineItemDiscountNonNullableFields$8 {
|
|
|
13224
13327
|
interface AppliedDiscountNonNullableFields$8 {
|
|
13225
13328
|
coupon?: V1CouponNonNullableFields;
|
|
13226
13329
|
merchantDiscount?: V1MerchantDiscountNonNullableFields;
|
|
13227
|
-
discountRule?:
|
|
13330
|
+
discountRule?: V1DiscountRuleNonNullableFields;
|
|
13228
13331
|
discountType: DiscountType$8;
|
|
13229
13332
|
lineItemIds: string[];
|
|
13230
13333
|
lineItemDiscounts: LineItemDiscountNonNullableFields$8[];
|
|
@@ -13923,18 +14026,6 @@ interface SubscriptionSettings$7 {
|
|
|
13923
14026
|
autoRenewal?: boolean;
|
|
13924
14027
|
/** Number of billing cycles before subscription ends. Ignored if `autoRenewal` is `true`. */
|
|
13925
14028
|
billingCycles?: number | null;
|
|
13926
|
-
/**
|
|
13927
|
-
* Period until first cycle starts. If applied payNow will be 0
|
|
13928
|
-
* If None => no free trial
|
|
13929
|
-
*/
|
|
13930
|
-
freeTrialPeriod?: FreeTrialPeriod$1;
|
|
13931
|
-
/** The date the subscription will start. The subscription will be charged either now or according to freeTrialDays. */
|
|
13932
|
-
startDate?: Date | null;
|
|
13933
|
-
/**
|
|
13934
|
-
* Whether to generate an order each billing cycle. An order will always be generated for the first billing cycle.
|
|
13935
|
-
* Default None => will behave like true
|
|
13936
|
-
*/
|
|
13937
|
-
generateOrderEachBillingCycle?: boolean | null;
|
|
13938
14029
|
}
|
|
13939
14030
|
/** Frequency unit of recurring payment */
|
|
13940
14031
|
declare enum SubscriptionFrequency$9 {
|
|
@@ -13944,12 +14035,6 @@ declare enum SubscriptionFrequency$9 {
|
|
|
13944
14035
|
MONTH = "MONTH",
|
|
13945
14036
|
YEAR = "YEAR"
|
|
13946
14037
|
}
|
|
13947
|
-
interface FreeTrialPeriod$1 {
|
|
13948
|
-
/** Frequency of priod. Values: DAY, WEEK, MONTH, YEAR */
|
|
13949
|
-
frequency?: SubscriptionFrequency$9;
|
|
13950
|
-
/** interval of period */
|
|
13951
|
-
interval?: number;
|
|
13952
|
-
}
|
|
13953
14038
|
interface Title$1 {
|
|
13954
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). */
|
|
13955
14040
|
original?: string;
|
|
@@ -14430,7 +14515,8 @@ declare enum RuleType$7 {
|
|
|
14430
14515
|
REQUIRED_FIELD = "REQUIRED_FIELD",
|
|
14431
14516
|
FIELD_NOT_ALLOWED = "FIELD_NOT_ALLOWED",
|
|
14432
14517
|
ONE_OF_ALIGNMENT = "ONE_OF_ALIGNMENT",
|
|
14433
|
-
EXACT_LENGTH = "EXACT_LENGTH"
|
|
14518
|
+
EXACT_LENGTH = "EXACT_LENGTH",
|
|
14519
|
+
EXACT_SIZE = "EXACT_SIZE"
|
|
14434
14520
|
}
|
|
14435
14521
|
interface FieldViolation$7 {
|
|
14436
14522
|
field?: string;
|
|
@@ -15140,17 +15226,6 @@ interface UpdateLineItemsQuantityResponse$1 {
|
|
|
15140
15226
|
/** Updated checkout. */
|
|
15141
15227
|
checkout?: Checkout$1;
|
|
15142
15228
|
}
|
|
15143
|
-
interface GetCheckoutPaymentSettingsRequest$1 {
|
|
15144
|
-
/** Checkout ID. */
|
|
15145
|
-
id: string;
|
|
15146
|
-
}
|
|
15147
|
-
interface GetCheckoutPaymentSettingsResponse$1 {
|
|
15148
|
-
blockedPaymentOptions?: GetCheckoutPaymentSettingsResponsePaymentOption$1[];
|
|
15149
|
-
}
|
|
15150
|
-
declare enum GetCheckoutPaymentSettingsResponsePaymentOption$1 {
|
|
15151
|
-
UNKNOWN_PAYMENT_OPTION = "UNKNOWN_PAYMENT_OPTION",
|
|
15152
|
-
MANUAL = "MANUAL"
|
|
15153
|
-
}
|
|
15154
15229
|
interface CatalogReferenceNonNullableFields$7 {
|
|
15155
15230
|
catalogItemId: string;
|
|
15156
15231
|
appId: string;
|
|
@@ -15206,11 +15281,16 @@ interface DescriptionLineNonNullableFields$7 {
|
|
|
15206
15281
|
name?: DescriptionLineNameNonNullableFields$7;
|
|
15207
15282
|
lineType: DescriptionLineType$7;
|
|
15208
15283
|
}
|
|
15284
|
+
interface FocalPointNonNullableFields$3 {
|
|
15285
|
+
x: number;
|
|
15286
|
+
y: number;
|
|
15287
|
+
}
|
|
15209
15288
|
interface CommonImageNonNullableFields {
|
|
15210
15289
|
id: string;
|
|
15211
15290
|
url: string;
|
|
15212
15291
|
height: number;
|
|
15213
15292
|
width: number;
|
|
15293
|
+
focalPoint?: FocalPointNonNullableFields$3;
|
|
15214
15294
|
}
|
|
15215
15295
|
interface ItemAvailabilityInfoNonNullableFields$1 {
|
|
15216
15296
|
status: ItemAvailabilityStatus$1;
|
|
@@ -15277,7 +15357,6 @@ interface TaxableAddressNonNullableFields$7 {
|
|
|
15277
15357
|
addressType: TaxableAddressType$7;
|
|
15278
15358
|
}
|
|
15279
15359
|
interface PolicyNonNullableFields$3 {
|
|
15280
|
-
title: string;
|
|
15281
15360
|
content: string;
|
|
15282
15361
|
}
|
|
15283
15362
|
interface LineItemNonNullableFields$1 {
|
|
@@ -15370,11 +15449,22 @@ interface ShippingPriceNonNullableFields$7 {
|
|
|
15370
15449
|
price?: MultiCurrencyPriceNonNullableFields$3;
|
|
15371
15450
|
otherCharges: OtherChargeNonNullableFields$3[];
|
|
15372
15451
|
}
|
|
15452
|
+
interface CarrierNonNullableFields$5 {
|
|
15453
|
+
code: string;
|
|
15454
|
+
}
|
|
15455
|
+
interface ApplicableLineItemsNonNullableFields$5 {
|
|
15456
|
+
lineItemIds: string[];
|
|
15457
|
+
}
|
|
15458
|
+
interface DeliveryAllocationNonNullableFields$5 {
|
|
15459
|
+
deliveryCarrier?: CarrierNonNullableFields$5;
|
|
15460
|
+
applicableLineItems?: ApplicableLineItemsNonNullableFields$5;
|
|
15461
|
+
}
|
|
15373
15462
|
interface ShippingOptionNonNullableFields$7 {
|
|
15374
15463
|
code: string;
|
|
15375
15464
|
title: string;
|
|
15376
15465
|
logistics?: DeliveryLogisticsNonNullableFields$9;
|
|
15377
15466
|
cost?: ShippingPriceNonNullableFields$7;
|
|
15467
|
+
deliveryAllocations: DeliveryAllocationNonNullableFields$5[];
|
|
15378
15468
|
}
|
|
15379
15469
|
interface CarrierServiceOptionNonNullableFields$3 {
|
|
15380
15470
|
carrierId: string;
|
|
@@ -15605,6 +15695,7 @@ interface CheckoutNonNullableFields$1 {
|
|
|
15605
15695
|
customSettings?: CustomSettingsNonNullableFields$1;
|
|
15606
15696
|
customContentReference?: CustomContentReferenceNonNullableFields$3;
|
|
15607
15697
|
externalReference?: ExternalReferenceNonNullableFields$3;
|
|
15698
|
+
payAfterFreeTrial?: PriceSummaryNonNullableFields$7;
|
|
15608
15699
|
}
|
|
15609
15700
|
interface CreateCheckoutResponseNonNullableFields$1 {
|
|
15610
15701
|
checkout?: CheckoutNonNullableFields$1;
|
|
@@ -15643,9 +15734,6 @@ interface CreateOrderResponseNonNullableFields$3 {
|
|
|
15643
15734
|
interface UpdateLineItemsQuantityResponseNonNullableFields$1 {
|
|
15644
15735
|
checkout?: CheckoutNonNullableFields$1;
|
|
15645
15736
|
}
|
|
15646
|
-
interface GetCheckoutPaymentSettingsResponseNonNullableFields$1 {
|
|
15647
|
-
blockedPaymentOptions: GetCheckoutPaymentSettingsResponsePaymentOption$1[];
|
|
15648
|
-
}
|
|
15649
15737
|
|
|
15650
15738
|
interface Checkout {
|
|
15651
15739
|
/**
|
|
@@ -16180,18 +16268,6 @@ interface SubscriptionSettings$6 {
|
|
|
16180
16268
|
autoRenewal?: boolean;
|
|
16181
16269
|
/** Number of billing cycles before subscription ends. Ignored if `autoRenewal` is `true`. */
|
|
16182
16270
|
billingCycles?: number | null;
|
|
16183
|
-
/**
|
|
16184
|
-
* Period until first cycle starts. If applied payNow will be 0
|
|
16185
|
-
* If None => no free trial
|
|
16186
|
-
*/
|
|
16187
|
-
freeTrialPeriod?: FreeTrialPeriod;
|
|
16188
|
-
/** The date the subscription will start. The subscription will be charged either now or according to freeTrialDays. */
|
|
16189
|
-
startDate?: Date | null;
|
|
16190
|
-
/**
|
|
16191
|
-
* Whether to generate an order each billing cycle. An order will always be generated for the first billing cycle.
|
|
16192
|
-
* Default None => will behave like true
|
|
16193
|
-
*/
|
|
16194
|
-
generateOrderEachBillingCycle?: boolean | null;
|
|
16195
16271
|
}
|
|
16196
16272
|
/** Frequency unit of recurring payment */
|
|
16197
16273
|
declare enum SubscriptionFrequency$8 {
|
|
@@ -16201,12 +16277,6 @@ declare enum SubscriptionFrequency$8 {
|
|
|
16201
16277
|
MONTH = "MONTH",
|
|
16202
16278
|
YEAR = "YEAR"
|
|
16203
16279
|
}
|
|
16204
|
-
interface FreeTrialPeriod {
|
|
16205
|
-
/** Frequency of priod. Values: DAY, WEEK, MONTH, YEAR */
|
|
16206
|
-
frequency?: SubscriptionFrequency$8;
|
|
16207
|
-
/** interval of period */
|
|
16208
|
-
interval?: number;
|
|
16209
|
-
}
|
|
16210
16280
|
interface Title {
|
|
16211
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). */
|
|
16212
16282
|
original?: string;
|
|
@@ -16665,7 +16735,8 @@ declare enum RuleType$6 {
|
|
|
16665
16735
|
REQUIRED_FIELD = "REQUIRED_FIELD",
|
|
16666
16736
|
FIELD_NOT_ALLOWED = "FIELD_NOT_ALLOWED",
|
|
16667
16737
|
ONE_OF_ALIGNMENT = "ONE_OF_ALIGNMENT",
|
|
16668
|
-
EXACT_LENGTH = "EXACT_LENGTH"
|
|
16738
|
+
EXACT_LENGTH = "EXACT_LENGTH",
|
|
16739
|
+
EXACT_SIZE = "EXACT_SIZE"
|
|
16669
16740
|
}
|
|
16670
16741
|
interface FieldViolation$6 {
|
|
16671
16742
|
field?: string;
|
|
@@ -17357,17 +17428,6 @@ interface UpdateLineItemsQuantityResponse {
|
|
|
17357
17428
|
/** Updated checkout. */
|
|
17358
17429
|
checkout?: Checkout;
|
|
17359
17430
|
}
|
|
17360
|
-
interface GetCheckoutPaymentSettingsRequest {
|
|
17361
|
-
/** Checkout ID. */
|
|
17362
|
-
_id: string;
|
|
17363
|
-
}
|
|
17364
|
-
interface GetCheckoutPaymentSettingsResponse {
|
|
17365
|
-
blockedPaymentOptions?: GetCheckoutPaymentSettingsResponsePaymentOption[];
|
|
17366
|
-
}
|
|
17367
|
-
declare enum GetCheckoutPaymentSettingsResponsePaymentOption {
|
|
17368
|
-
UNKNOWN_PAYMENT_OPTION = "UNKNOWN_PAYMENT_OPTION",
|
|
17369
|
-
MANUAL = "MANUAL"
|
|
17370
|
-
}
|
|
17371
17431
|
interface CatalogReferenceNonNullableFields$6 {
|
|
17372
17432
|
catalogItemId: string;
|
|
17373
17433
|
appId: string;
|
|
@@ -17480,7 +17540,6 @@ interface TaxableAddressNonNullableFields$6 {
|
|
|
17480
17540
|
addressType: TaxableAddressType$6;
|
|
17481
17541
|
}
|
|
17482
17542
|
interface PolicyNonNullableFields$2 {
|
|
17483
|
-
title: string;
|
|
17484
17543
|
content: string;
|
|
17485
17544
|
}
|
|
17486
17545
|
interface LineItemNonNullableFields {
|
|
@@ -17573,11 +17632,22 @@ interface ShippingPriceNonNullableFields$6 {
|
|
|
17573
17632
|
price?: MultiCurrencyPriceNonNullableFields$2;
|
|
17574
17633
|
otherCharges: OtherChargeNonNullableFields$2[];
|
|
17575
17634
|
}
|
|
17635
|
+
interface CarrierNonNullableFields$4 {
|
|
17636
|
+
code: string;
|
|
17637
|
+
}
|
|
17638
|
+
interface ApplicableLineItemsNonNullableFields$4 {
|
|
17639
|
+
lineItemIds: string[];
|
|
17640
|
+
}
|
|
17641
|
+
interface DeliveryAllocationNonNullableFields$4 {
|
|
17642
|
+
deliveryCarrier?: CarrierNonNullableFields$4;
|
|
17643
|
+
applicableLineItems?: ApplicableLineItemsNonNullableFields$4;
|
|
17644
|
+
}
|
|
17576
17645
|
interface ShippingOptionNonNullableFields$6 {
|
|
17577
17646
|
code: string;
|
|
17578
17647
|
title: string;
|
|
17579
17648
|
logistics?: DeliveryLogisticsNonNullableFields$8;
|
|
17580
17649
|
cost?: ShippingPriceNonNullableFields$6;
|
|
17650
|
+
deliveryAllocations: DeliveryAllocationNonNullableFields$4[];
|
|
17581
17651
|
}
|
|
17582
17652
|
interface CarrierServiceOptionNonNullableFields$2 {
|
|
17583
17653
|
carrierId: string;
|
|
@@ -17808,6 +17878,7 @@ interface CheckoutNonNullableFields {
|
|
|
17808
17878
|
customSettings?: CustomSettingsNonNullableFields;
|
|
17809
17879
|
customContentReference?: CustomContentReferenceNonNullableFields$2;
|
|
17810
17880
|
externalReference?: ExternalReferenceNonNullableFields$2;
|
|
17881
|
+
payAfterFreeTrial?: PriceSummaryNonNullableFields$6;
|
|
17811
17882
|
}
|
|
17812
17883
|
interface CreateCheckoutResponseNonNullableFields {
|
|
17813
17884
|
checkout?: CheckoutNonNullableFields;
|
|
@@ -17846,9 +17917,6 @@ interface CreateOrderResponseNonNullableFields$2 {
|
|
|
17846
17917
|
interface UpdateLineItemsQuantityResponseNonNullableFields {
|
|
17847
17918
|
checkout?: CheckoutNonNullableFields;
|
|
17848
17919
|
}
|
|
17849
|
-
interface GetCheckoutPaymentSettingsResponseNonNullableFields {
|
|
17850
|
-
blockedPaymentOptions: GetCheckoutPaymentSettingsResponsePaymentOption[];
|
|
17851
|
-
}
|
|
17852
17920
|
|
|
17853
17921
|
type __PublicMethodMetaInfo$k<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
17854
17922
|
getUrl: (context: any) => string;
|
|
@@ -17897,15 +17965,11 @@ declare function markCheckoutAsCompleted(): __PublicMethodMetaInfo$k<'POST', {
|
|
|
17897
17965
|
declare function updateLineItemsQuantity(): __PublicMethodMetaInfo$k<'POST', {
|
|
17898
17966
|
id: string;
|
|
17899
17967
|
}, UpdateLineItemsQuantityRequest, UpdateLineItemsQuantityRequest$1, UpdateLineItemsQuantityResponse & UpdateLineItemsQuantityResponseNonNullableFields, UpdateLineItemsQuantityResponse$1 & UpdateLineItemsQuantityResponseNonNullableFields$1>;
|
|
17900
|
-
declare function getCheckoutPaymentSettings(): __PublicMethodMetaInfo$k<'GET', {
|
|
17901
|
-
id: string;
|
|
17902
|
-
}, GetCheckoutPaymentSettingsRequest, GetCheckoutPaymentSettingsRequest$1, GetCheckoutPaymentSettingsResponse & GetCheckoutPaymentSettingsResponseNonNullableFields, GetCheckoutPaymentSettingsResponse$1 & GetCheckoutPaymentSettingsResponseNonNullableFields$1>;
|
|
17903
17968
|
|
|
17904
17969
|
declare const meta$k_addToCheckout: typeof addToCheckout;
|
|
17905
17970
|
declare const meta$k_createCheckout: typeof createCheckout;
|
|
17906
17971
|
declare const meta$k_getCheckout: typeof getCheckout;
|
|
17907
17972
|
declare const meta$k_getCheckoutByCartId: typeof getCheckoutByCartId;
|
|
17908
|
-
declare const meta$k_getCheckoutPaymentSettings: typeof getCheckoutPaymentSettings;
|
|
17909
17973
|
declare const meta$k_getCheckoutUrl: typeof getCheckoutUrl;
|
|
17910
17974
|
declare const meta$k_markCheckoutAsCompleted: typeof markCheckoutAsCompleted;
|
|
17911
17975
|
declare const meta$k_removeCoupon: typeof removeCoupon;
|
|
@@ -17915,7 +17979,7 @@ declare const meta$k_removeOverrideCheckoutUrl: typeof removeOverrideCheckoutUrl
|
|
|
17915
17979
|
declare const meta$k_updateCheckout: typeof updateCheckout;
|
|
17916
17980
|
declare const meta$k_updateLineItemsQuantity: typeof updateLineItemsQuantity;
|
|
17917
17981
|
declare namespace meta$k {
|
|
17918
|
-
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$
|
|
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 };
|
|
17919
17983
|
}
|
|
17920
17984
|
|
|
17921
17985
|
interface CheckoutSettings$1 {
|
|
@@ -18114,11 +18178,16 @@ interface UpdateCheckoutSettingsResponse$1 {
|
|
|
18114
18178
|
/** The updated checkout settings. */
|
|
18115
18179
|
checkoutSettings?: CheckoutSettings$1;
|
|
18116
18180
|
}
|
|
18181
|
+
interface FocalPointNonNullableFields$2 {
|
|
18182
|
+
x: number;
|
|
18183
|
+
y: number;
|
|
18184
|
+
}
|
|
18117
18185
|
interface ImageNonNullableFields$4 {
|
|
18118
18186
|
id: string;
|
|
18119
18187
|
url: string;
|
|
18120
18188
|
height: number;
|
|
18121
18189
|
width: number;
|
|
18190
|
+
focalPoint?: FocalPointNonNullableFields$2;
|
|
18122
18191
|
}
|
|
18123
18192
|
interface LogoNonNullableFields$1 {
|
|
18124
18193
|
image?: ImageNonNullableFields$4;
|
|
@@ -19019,7 +19088,6 @@ interface SecuredMediaNonNullableFields$1 {
|
|
|
19019
19088
|
fileType: FileType$1;
|
|
19020
19089
|
}
|
|
19021
19090
|
interface PolicyNonNullableFields$1 {
|
|
19022
|
-
title: string;
|
|
19023
19091
|
content: string;
|
|
19024
19092
|
}
|
|
19025
19093
|
interface CustomLineItemNonNullableFields$1 {
|
|
@@ -19702,7 +19770,6 @@ interface SecuredMediaNonNullableFields {
|
|
|
19702
19770
|
fileType: FileType;
|
|
19703
19771
|
}
|
|
19704
19772
|
interface PolicyNonNullableFields {
|
|
19705
|
-
title: string;
|
|
19706
19773
|
content: string;
|
|
19707
19774
|
}
|
|
19708
19775
|
interface CustomLineItemNonNullableFields {
|
|
@@ -22861,11 +22928,16 @@ interface DescriptionLineNonNullableFields$3 {
|
|
|
22861
22928
|
name?: DescriptionLineNameNonNullableFields$3;
|
|
22862
22929
|
lineType: DescriptionLineType$3;
|
|
22863
22930
|
}
|
|
22931
|
+
interface FocalPointNonNullableFields$1 {
|
|
22932
|
+
x: number;
|
|
22933
|
+
y: number;
|
|
22934
|
+
}
|
|
22864
22935
|
interface ImageNonNullableFields$2 {
|
|
22865
22936
|
id: string;
|
|
22866
22937
|
url: string;
|
|
22867
22938
|
height: number;
|
|
22868
22939
|
width: number;
|
|
22940
|
+
focalPoint?: FocalPointNonNullableFields$1;
|
|
22869
22941
|
}
|
|
22870
22942
|
interface PhysicalPropertiesNonNullableFields$3 {
|
|
22871
22943
|
shippable: boolean;
|
|
@@ -23126,6 +23198,19 @@ interface BillingDetailsNonNullableFields$1 {
|
|
|
23126
23198
|
removed: boolean;
|
|
23127
23199
|
billingInfo?: AddressWithContactNonNullableFields$3;
|
|
23128
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
|
+
}
|
|
23129
23214
|
interface DraftOrderNonNullableFields$1 {
|
|
23130
23215
|
lineItems: ItemDetailsNonNullableFields$1[];
|
|
23131
23216
|
shippingInfo?: ShippingDetailsNonNullableFields$1;
|
|
@@ -23144,6 +23229,7 @@ interface DraftOrderNonNullableFields$1 {
|
|
|
23144
23229
|
taxInfo?: OrderTaxInfoNonNullableFields$3;
|
|
23145
23230
|
buyerDetails?: BuyerDetailsNonNullableFields$1;
|
|
23146
23231
|
billingDetails?: BillingDetailsNonNullableFields$1;
|
|
23232
|
+
businessLocationDetails?: BusinessLocationDetailsNonNullableFields$1;
|
|
23147
23233
|
}
|
|
23148
23234
|
interface PickupDetailsNonNullableFields$7 {
|
|
23149
23235
|
address?: AddressNonNullableFields$b;
|
|
@@ -23468,6 +23554,7 @@ interface OrderNonNullableFields$3 {
|
|
|
23468
23554
|
additionalFees: AdditionalFeeNonNullableFields$3[];
|
|
23469
23555
|
recipientInfo?: AddressWithContactNonNullableFields$3;
|
|
23470
23556
|
tags?: TagsNonNullableFields$3;
|
|
23557
|
+
businessLocation?: LocationNonNullableFields$3;
|
|
23471
23558
|
}
|
|
23472
23559
|
interface CommitDraftOrderResponseNonNullableFields$1 {
|
|
23473
23560
|
committedDraftOrder?: DraftOrderNonNullableFields$1;
|
|
@@ -25697,6 +25784,19 @@ interface BillingDetailsNonNullableFields {
|
|
|
25697
25784
|
removed: boolean;
|
|
25698
25785
|
billingInfo?: AddressWithContactNonNullableFields$2;
|
|
25699
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
|
+
}
|
|
25700
25800
|
interface DraftOrderNonNullableFields {
|
|
25701
25801
|
lineItems: ItemDetailsNonNullableFields[];
|
|
25702
25802
|
shippingInfo?: ShippingDetailsNonNullableFields;
|
|
@@ -25715,6 +25815,7 @@ interface DraftOrderNonNullableFields {
|
|
|
25715
25815
|
taxInfo?: OrderTaxInfoNonNullableFields$2;
|
|
25716
25816
|
buyerDetails?: BuyerDetailsNonNullableFields;
|
|
25717
25817
|
billingDetails?: BillingDetailsNonNullableFields;
|
|
25818
|
+
businessLocationDetails?: BusinessLocationDetailsNonNullableFields;
|
|
25718
25819
|
}
|
|
25719
25820
|
interface PickupDetailsNonNullableFields$6 {
|
|
25720
25821
|
address?: AddressNonNullableFields$a;
|
|
@@ -26039,6 +26140,7 @@ interface OrderNonNullableFields$2 {
|
|
|
26039
26140
|
additionalFees: AdditionalFeeNonNullableFields$2[];
|
|
26040
26141
|
recipientInfo?: AddressWithContactNonNullableFields$2;
|
|
26041
26142
|
tags?: TagsNonNullableFields$2;
|
|
26143
|
+
businessLocation?: LocationNonNullableFields$2;
|
|
26042
26144
|
}
|
|
26043
26145
|
interface CommitDraftOrderResponseNonNullableFields {
|
|
26044
26146
|
committedDraftOrder?: DraftOrderNonNullableFields;
|
|
@@ -26062,9 +26164,7 @@ type __PublicMethodMetaInfo$g<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
26062
26164
|
__responseType: Q;
|
|
26063
26165
|
__originalResponseType: R;
|
|
26064
26166
|
};
|
|
26065
|
-
declare function createDraftOrder(): __PublicMethodMetaInfo$g<'POST', {
|
|
26066
|
-
orderId: string;
|
|
26067
|
-
}, 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>;
|
|
26068
26168
|
declare function createEmptyDraftOrder(): __PublicMethodMetaInfo$g<'POST', {}, CreateEmptyDraftOrderRequest, CreateEmptyDraftOrderRequest$1, CreateEmptyDraftOrderResponse & CreateEmptyDraftOrderResponseNonNullableFields, CreateEmptyDraftOrderResponse$1 & CreateEmptyDraftOrderResponseNonNullableFields$1>;
|
|
26069
26169
|
declare function addLineItemsToDraftOrder(): __PublicMethodMetaInfo$g<'POST', {
|
|
26070
26170
|
draftOrderId: string;
|
|
@@ -29259,7 +29359,9 @@ declare enum PaymentCollectabilityStatus$1 {
|
|
|
29259
29359
|
COLLECTABLE = "COLLECTABLE",
|
|
29260
29360
|
NONCOLLECTABLE_ORDER_IS_CANCELLED = "NONCOLLECTABLE_ORDER_IS_CANCELLED",
|
|
29261
29361
|
NONCOLLECTABLE_ORDER_IS_PAID = "NONCOLLECTABLE_ORDER_IS_PAID",
|
|
29262
|
-
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"
|
|
29263
29365
|
}
|
|
29264
29366
|
interface BulkOrderResult$1 {
|
|
29265
29367
|
/** Item metadata. */
|
|
@@ -29597,11 +29699,16 @@ interface DescriptionLineNonNullableFields$1 {
|
|
|
29597
29699
|
name?: DescriptionLineNameNonNullableFields$1;
|
|
29598
29700
|
lineType: DescriptionLineType$1;
|
|
29599
29701
|
}
|
|
29702
|
+
interface FocalPointNonNullableFields {
|
|
29703
|
+
x: number;
|
|
29704
|
+
y: number;
|
|
29705
|
+
}
|
|
29600
29706
|
interface ImageNonNullableFields$1 {
|
|
29601
29707
|
id: string;
|
|
29602
29708
|
url: string;
|
|
29603
29709
|
height: number;
|
|
29604
29710
|
width: number;
|
|
29711
|
+
focalPoint?: FocalPointNonNullableFields;
|
|
29605
29712
|
}
|
|
29606
29713
|
interface PhysicalPropertiesNonNullableFields$1 {
|
|
29607
29714
|
shippable: boolean;
|
|
@@ -29989,6 +30096,10 @@ interface TagsNonNullableFields$1 {
|
|
|
29989
30096
|
privateTags?: TagListNonNullableFields$1;
|
|
29990
30097
|
tags?: TagListNonNullableFields$1;
|
|
29991
30098
|
}
|
|
30099
|
+
interface LocationNonNullableFields$1 {
|
|
30100
|
+
id: string;
|
|
30101
|
+
name: string;
|
|
30102
|
+
}
|
|
29992
30103
|
interface OrderNonNullableFields$1 {
|
|
29993
30104
|
number: string;
|
|
29994
30105
|
lineItems: OrderLineItemNonNullableFields$1[];
|
|
@@ -30015,6 +30126,7 @@ interface OrderNonNullableFields$1 {
|
|
|
30015
30126
|
additionalFees: AdditionalFeeNonNullableFields$1[];
|
|
30016
30127
|
recipientInfo?: AddressWithContactNonNullableFields$1;
|
|
30017
30128
|
tags?: TagsNonNullableFields$1;
|
|
30129
|
+
businessLocation?: LocationNonNullableFields$1;
|
|
30018
30130
|
}
|
|
30019
30131
|
interface GetOrderResponseNonNullableFields$1 {
|
|
30020
30132
|
order?: OrderNonNullableFields$1;
|
|
@@ -31528,7 +31640,9 @@ declare enum PaymentCollectabilityStatus {
|
|
|
31528
31640
|
COLLECTABLE = "COLLECTABLE",
|
|
31529
31641
|
NONCOLLECTABLE_ORDER_IS_CANCELLED = "NONCOLLECTABLE_ORDER_IS_CANCELLED",
|
|
31530
31642
|
NONCOLLECTABLE_ORDER_IS_PAID = "NONCOLLECTABLE_ORDER_IS_PAID",
|
|
31531
|
-
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"
|
|
31532
31646
|
}
|
|
31533
31647
|
interface BulkOrderResult {
|
|
31534
31648
|
/** Item metadata. */
|
|
@@ -32252,6 +32366,10 @@ interface TagsNonNullableFields {
|
|
|
32252
32366
|
privateTags?: TagListNonNullableFields;
|
|
32253
32367
|
tags?: TagListNonNullableFields;
|
|
32254
32368
|
}
|
|
32369
|
+
interface LocationNonNullableFields {
|
|
32370
|
+
_id: string;
|
|
32371
|
+
name: string;
|
|
32372
|
+
}
|
|
32255
32373
|
interface OrderNonNullableFields {
|
|
32256
32374
|
number: string;
|
|
32257
32375
|
lineItems: OrderLineItemNonNullableFields[];
|
|
@@ -32278,6 +32396,7 @@ interface OrderNonNullableFields {
|
|
|
32278
32396
|
additionalFees: AdditionalFeeNonNullableFields[];
|
|
32279
32397
|
recipientInfo?: AddressWithContactNonNullableFields;
|
|
32280
32398
|
tags?: TagsNonNullableFields;
|
|
32399
|
+
businessLocation?: LocationNonNullableFields;
|
|
32281
32400
|
}
|
|
32282
32401
|
interface GetOrderResponseNonNullableFields {
|
|
32283
32402
|
order?: OrderNonNullableFields;
|
|
@@ -36987,11 +37106,22 @@ interface ShippingPriceNonNullableFields$1 {
|
|
|
36987
37106
|
price?: MultiCurrencyPriceNonNullableFields$1;
|
|
36988
37107
|
otherCharges: OtherChargeNonNullableFields$1[];
|
|
36989
37108
|
}
|
|
37109
|
+
interface CarrierNonNullableFields$3 {
|
|
37110
|
+
code: string;
|
|
37111
|
+
}
|
|
37112
|
+
interface ApplicableLineItemsNonNullableFields$3 {
|
|
37113
|
+
lineItemIds: string[];
|
|
37114
|
+
}
|
|
37115
|
+
interface DeliveryAllocationNonNullableFields$3 {
|
|
37116
|
+
deliveryCarrier?: CarrierNonNullableFields$3;
|
|
37117
|
+
applicableLineItems?: ApplicableLineItemsNonNullableFields$3;
|
|
37118
|
+
}
|
|
36990
37119
|
interface ShippingOptionNonNullableFields$1 {
|
|
36991
37120
|
code: string;
|
|
36992
37121
|
title: string;
|
|
36993
37122
|
logistics?: DeliveryLogisticsNonNullableFields$3;
|
|
36994
37123
|
cost?: ShippingPriceNonNullableFields$1;
|
|
37124
|
+
deliveryAllocations: DeliveryAllocationNonNullableFields$3[];
|
|
36995
37125
|
}
|
|
36996
37126
|
interface CarrierServiceOptionNonNullableFields$1 {
|
|
36997
37127
|
carrierId: string;
|
|
@@ -37116,6 +37246,7 @@ interface CalculateTotalsResponseNonNullableFields$1 {
|
|
|
37116
37246
|
siteCurrency: string;
|
|
37117
37247
|
payNowTotalAfterGiftCard?: MultiCurrencyPriceNonNullableFields$1;
|
|
37118
37248
|
totalAfterGiftCard?: MultiCurrencyPriceNonNullableFields$1;
|
|
37249
|
+
payAfterFreeTrial?: PriceSummaryNonNullableFields$1;
|
|
37119
37250
|
}
|
|
37120
37251
|
|
|
37121
37252
|
interface CalculateTotalsRequest extends CalculateTotalsRequestCouponOneOf, CalculateTotalsRequestGiftCardOneOf {
|
|
@@ -38130,11 +38261,22 @@ interface ShippingPriceNonNullableFields {
|
|
|
38130
38261
|
price?: MultiCurrencyPriceNonNullableFields;
|
|
38131
38262
|
otherCharges: OtherChargeNonNullableFields[];
|
|
38132
38263
|
}
|
|
38264
|
+
interface CarrierNonNullableFields$2 {
|
|
38265
|
+
code: string;
|
|
38266
|
+
}
|
|
38267
|
+
interface ApplicableLineItemsNonNullableFields$2 {
|
|
38268
|
+
lineItemIds: string[];
|
|
38269
|
+
}
|
|
38270
|
+
interface DeliveryAllocationNonNullableFields$2 {
|
|
38271
|
+
deliveryCarrier?: CarrierNonNullableFields$2;
|
|
38272
|
+
applicableLineItems?: ApplicableLineItemsNonNullableFields$2;
|
|
38273
|
+
}
|
|
38133
38274
|
interface ShippingOptionNonNullableFields {
|
|
38134
38275
|
code: string;
|
|
38135
38276
|
title: string;
|
|
38136
38277
|
logistics?: DeliveryLogisticsNonNullableFields$2;
|
|
38137
38278
|
cost?: ShippingPriceNonNullableFields;
|
|
38279
|
+
deliveryAllocations: DeliveryAllocationNonNullableFields$2[];
|
|
38138
38280
|
}
|
|
38139
38281
|
interface CarrierServiceOptionNonNullableFields {
|
|
38140
38282
|
carrierId: string;
|
|
@@ -38259,6 +38401,7 @@ interface CalculateTotalsResponseNonNullableFields {
|
|
|
38259
38401
|
siteCurrency: string;
|
|
38260
38402
|
payNowTotalAfterGiftCard?: MultiCurrencyPriceNonNullableFields;
|
|
38261
38403
|
totalAfterGiftCard?: MultiCurrencyPriceNonNullableFields;
|
|
38404
|
+
payAfterFreeTrial?: PriceSummaryNonNullableFields;
|
|
38262
38405
|
}
|
|
38263
38406
|
|
|
38264
38407
|
type __PublicMethodMetaInfo$5<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
@@ -38759,12 +38902,12 @@ interface DeliverySolution$1 {
|
|
|
38759
38902
|
logistics?: DeliveryLogistics$1;
|
|
38760
38903
|
/** Delivery cost. */
|
|
38761
38904
|
cost?: DeliveryCost$1;
|
|
38762
|
-
/** Delivery solution
|
|
38763
|
-
|
|
38905
|
+
/** Delivery solution allocations to different delivery carriers and delivery regions */
|
|
38906
|
+
deliveryAllocations?: DeliveryAllocation$1[];
|
|
38764
38907
|
/** If the delivery solution is a partial and doesn't apply to all items. */
|
|
38765
38908
|
partial?: boolean | null;
|
|
38766
38909
|
}
|
|
38767
|
-
interface
|
|
38910
|
+
interface DeliveryAllocation$1 {
|
|
38768
38911
|
/** The delivery option's carrier details, could be multiple if the delivery option is a combination of multiple carriers */
|
|
38769
38912
|
deliveryCarrier?: Carrier$1;
|
|
38770
38913
|
/** The delivery region that are relevant for this delivery solution. */
|
|
@@ -38830,7 +38973,7 @@ interface CarrierNonNullableFields$1 {
|
|
|
38830
38973
|
interface ApplicableLineItemsNonNullableFields$1 {
|
|
38831
38974
|
lineItemIds: string[];
|
|
38832
38975
|
}
|
|
38833
|
-
interface
|
|
38976
|
+
interface DeliveryAllocationNonNullableFields$1 {
|
|
38834
38977
|
deliveryCarrier?: CarrierNonNullableFields$1;
|
|
38835
38978
|
applicableLineItems?: ApplicableLineItemsNonNullableFields$1;
|
|
38836
38979
|
}
|
|
@@ -38839,7 +38982,7 @@ interface DeliverySolutionNonNullableFields$1 {
|
|
|
38839
38982
|
title: string;
|
|
38840
38983
|
logistics?: DeliveryLogisticsNonNullableFields$1;
|
|
38841
38984
|
cost?: DeliveryCostNonNullableFields$1;
|
|
38842
|
-
|
|
38985
|
+
deliveryAllocations: DeliveryAllocationNonNullableFields$1[];
|
|
38843
38986
|
}
|
|
38844
38987
|
interface ApplicationErrorNonNullableFields$1 {
|
|
38845
38988
|
code: string;
|
|
@@ -39180,12 +39323,12 @@ interface DeliverySolution {
|
|
|
39180
39323
|
logistics?: DeliveryLogistics;
|
|
39181
39324
|
/** Delivery cost. */
|
|
39182
39325
|
cost?: DeliveryCost;
|
|
39183
|
-
/** Delivery solution
|
|
39184
|
-
|
|
39326
|
+
/** Delivery solution allocations to different delivery carriers and delivery regions */
|
|
39327
|
+
deliveryAllocations?: DeliveryAllocation[];
|
|
39185
39328
|
/** If the delivery solution is a partial and doesn't apply to all items. */
|
|
39186
39329
|
partial?: boolean | null;
|
|
39187
39330
|
}
|
|
39188
|
-
interface
|
|
39331
|
+
interface DeliveryAllocation {
|
|
39189
39332
|
/** The delivery option's carrier details, could be multiple if the delivery option is a combination of multiple carriers */
|
|
39190
39333
|
deliveryCarrier?: Carrier;
|
|
39191
39334
|
/** The delivery region that are relevant for this delivery solution. */
|
|
@@ -39245,7 +39388,7 @@ interface CarrierNonNullableFields {
|
|
|
39245
39388
|
interface ApplicableLineItemsNonNullableFields {
|
|
39246
39389
|
lineItemIds: string[];
|
|
39247
39390
|
}
|
|
39248
|
-
interface
|
|
39391
|
+
interface DeliveryAllocationNonNullableFields {
|
|
39249
39392
|
deliveryCarrier?: CarrierNonNullableFields;
|
|
39250
39393
|
applicableLineItems?: ApplicableLineItemsNonNullableFields;
|
|
39251
39394
|
}
|
|
@@ -39254,7 +39397,7 @@ interface DeliverySolutionNonNullableFields {
|
|
|
39254
39397
|
title: string;
|
|
39255
39398
|
logistics?: DeliveryLogisticsNonNullableFields;
|
|
39256
39399
|
cost?: DeliveryCostNonNullableFields;
|
|
39257
|
-
|
|
39400
|
+
deliveryAllocations: DeliveryAllocationNonNullableFields[];
|
|
39258
39401
|
}
|
|
39259
39402
|
interface ApplicationErrorNonNullableFields {
|
|
39260
39403
|
code: string;
|
|
@@ -39626,7 +39769,7 @@ interface CreateDefaultTipSettingsResponseNonNullableFields$1 {
|
|
|
39626
39769
|
*/
|
|
39627
39770
|
interface TipSettings extends TipSettingsIdentifierOneOf {
|
|
39628
39771
|
/**
|
|
39629
|
-
* ID of the [location](https://dev.wix.com/docs/
|
|
39772
|
+
* ID of the [location](https://dev.wix.com/docs/sdk/backend-modules/business-tools/locations/introduction)
|
|
39630
39773
|
* for which the tip settings apply.
|
|
39631
39774
|
*/
|
|
39632
39775
|
locationId?: string | null;
|
|
@@ -39658,7 +39801,7 @@ interface TipSettings extends TipSettingsIdentifierOneOf {
|
|
|
39658
39801
|
tipType?: TipType$2;
|
|
39659
39802
|
/**
|
|
39660
39803
|
* Information about the tip choices that Wix Tips displays to customers during the
|
|
39661
|
-
* [eCommerce checkout](https://dev.wix.com/docs/
|
|
39804
|
+
* [eCommerce checkout](https://dev.wix.com/docs/sdk/backend-modules/ecom/checkout/setup).
|
|
39662
39805
|
*
|
|
39663
39806
|
* Min: `1` preset
|
|
39664
39807
|
* Max: `3` presets
|
|
@@ -39666,9 +39809,7 @@ interface TipSettings extends TipSettingsIdentifierOneOf {
|
|
|
39666
39809
|
presets?: Preset[];
|
|
39667
39810
|
/**
|
|
39668
39811
|
* Whether customer are allowed to tip during the
|
|
39669
|
-
* [eCommerce checkout](https://dev.wix.com/docs/
|
|
39670
|
-
*
|
|
39671
|
-
* Default: `true`
|
|
39812
|
+
* [eCommerce checkout](https://dev.wix.com/docs/sdk/backend-modules/ecom/checkout/setup).
|
|
39672
39813
|
*/
|
|
39673
39814
|
allowCustomerTip?: boolean | null;
|
|
39674
39815
|
/**
|
|
@@ -39743,7 +39884,7 @@ interface TipSettings extends TipSettingsIdentifierOneOf {
|
|
|
39743
39884
|
/** @oneof */
|
|
39744
39885
|
interface TipSettingsIdentifierOneOf {
|
|
39745
39886
|
/**
|
|
39746
|
-
* ID of the [location](https://dev.wix.com/docs/
|
|
39887
|
+
* ID of the [location](https://dev.wix.com/docs/sdk/backend-modules/business-tools/locations/introduction)
|
|
39747
39888
|
* for which the tip settings apply.
|
|
39748
39889
|
*/
|
|
39749
39890
|
locationId?: string | null;
|
|
@@ -39771,7 +39912,7 @@ declare enum TipType$2 {
|
|
|
39771
39912
|
interface Preset {
|
|
39772
39913
|
/**
|
|
39773
39914
|
* Value of the preset tip choice that's displayed to customers in the
|
|
39774
|
-
* [eCommerce checkout](https://dev.wix.com/docs/
|
|
39915
|
+
* [eCommerce checkout](https://dev.wix.com/docs/sdk/backend-modules/ecom/checkout/setup).
|
|
39775
39916
|
* For example, `5`, `10`, and `15` percent or `1`, `3`, and `5` USD.
|
|
39776
39917
|
*
|
|
39777
39918
|
* Min: `0`
|
|
@@ -39779,7 +39920,7 @@ interface Preset {
|
|
|
39779
39920
|
value?: number | null;
|
|
39780
39921
|
/**
|
|
39781
39922
|
* Whether this tip choice value is the dafault preset that's highlighted automatically in the
|
|
39782
|
-
* [eCommerce checkout](https://dev.wix.com/docs/
|
|
39923
|
+
* [eCommerce checkout](https://dev.wix.com/docs/sdk/backend-modules/ecom/checkout/setup).
|
|
39783
39924
|
*
|
|
39784
39925
|
* Default: `false`
|
|
39785
39926
|
*/
|
|
@@ -39966,7 +40107,7 @@ declare namespace meta$2 {
|
|
|
39966
40107
|
|
|
39967
40108
|
/**
|
|
39968
40109
|
* 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
|
|
40110
|
+
* Currently, only [Bookings staff members](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members/introduction)
|
|
39970
40111
|
* and [site collaborators](https://support.wix.com/en/article/inviting-people-to-contribute-to-your-site)
|
|
39971
40112
|
* are eligible for tip distributions.
|
|
39972
40113
|
*/
|
|
@@ -39979,13 +40120,13 @@ interface Staff$3 {
|
|
|
39979
40120
|
id?: string | null;
|
|
39980
40121
|
/**
|
|
39981
40122
|
* Staff name. Matches the name of the
|
|
39982
|
-
* [Bookings staff member](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members
|
|
40123
|
+
* [Bookings staff member](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members/staff-member-object)
|
|
39983
40124
|
* if available.
|
|
39984
40125
|
*/
|
|
39985
40126
|
name?: string | null;
|
|
39986
40127
|
/**
|
|
39987
40128
|
* 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
|
|
40129
|
+
* [Bookings staff member](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members/staff-member-object).
|
|
39989
40130
|
*/
|
|
39990
40131
|
staffMemberId?: string | null;
|
|
39991
40132
|
/**
|
|
@@ -40036,7 +40177,7 @@ declare enum IdentityType$3 {
|
|
|
40036
40177
|
interface ListTippableStaffRequest$1 {
|
|
40037
40178
|
/**
|
|
40038
40179
|
* 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
|
|
40180
|
+
* [Bookings staff members](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members/introduction)
|
|
40040
40181
|
* in the response. Setting `{"includeWixUsers": true}` returns all tippable
|
|
40041
40182
|
* staff, including Bookings staff, site collaborators, or those who are both.
|
|
40042
40183
|
* By default, or if you provide `{"includeWixUsers": false}`, only Bookings
|
|
@@ -40081,7 +40222,7 @@ interface ListTippableStaffResponseNonNullableFields$1 {
|
|
|
40081
40222
|
|
|
40082
40223
|
/**
|
|
40083
40224
|
* 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
|
|
40225
|
+
* Currently, only [Bookings staff members](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members/introduction)
|
|
40085
40226
|
* and [site collaborators](https://support.wix.com/en/article/inviting-people-to-contribute-to-your-site)
|
|
40086
40227
|
* are eligible for tip distributions.
|
|
40087
40228
|
*/
|
|
@@ -40092,15 +40233,11 @@ interface Staff$2 {
|
|
|
40092
40233
|
* @readonly
|
|
40093
40234
|
*/
|
|
40094
40235
|
_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
|
-
*/
|
|
40236
|
+
/** Staff name. Matches the name of the Bookings staff member if available. */
|
|
40100
40237
|
name?: string | null;
|
|
40101
40238
|
/**
|
|
40102
40239
|
* Staff member ID. Available only if the staff is connected to a
|
|
40103
|
-
*
|
|
40240
|
+
* Bookings staff member.
|
|
40104
40241
|
*/
|
|
40105
40242
|
staffMemberId?: string | null;
|
|
40106
40243
|
/**
|
|
@@ -40122,7 +40259,7 @@ interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
40122
40259
|
/** ID of an app. */
|
|
40123
40260
|
appId?: string;
|
|
40124
40261
|
/**
|
|
40125
|
-
* ID of the [contact](https://dev.wix.com/docs/
|
|
40262
|
+
* ID of the [contact](https://dev.wix.com/docs/sdk/backend-modules/crm/contacts/introduction)
|
|
40126
40263
|
* in the site's [CRM by Ascend](https://www.wix.com/ascend/crm) system.
|
|
40127
40264
|
*/
|
|
40128
40265
|
contactId?: string | null;
|
|
@@ -40151,8 +40288,7 @@ declare enum IdentityType$2 {
|
|
|
40151
40288
|
interface ListTippableStaffRequest {
|
|
40152
40289
|
/**
|
|
40153
40290
|
* Whether to include staff who are only Wix users and not
|
|
40154
|
-
*
|
|
40155
|
-
* in the response. Setting `{"includeWixUsers": true}` returns all tippable
|
|
40291
|
+
* Bookings staff members in the response. Setting `{"includeWixUsers": true}` returns all tippable
|
|
40156
40292
|
* staff, including Bookings staff, site collaborators, or those who are both.
|
|
40157
40293
|
* By default, or if you provide `{"includeWixUsers": false}`, only Bookings
|
|
40158
40294
|
* staff members or those who are both are returned.
|
|
@@ -40348,7 +40484,7 @@ interface Staff$1 {
|
|
|
40348
40484
|
id?: string | null;
|
|
40349
40485
|
/**
|
|
40350
40486
|
* 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
|
|
40487
|
+
* [Bookings staff member](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members/staff-member-object),
|
|
40352
40488
|
* or the [contact](https://dev.wix.com/docs/rest/crm/members-contacts/contacts/contacts/contact-v4/contact-object)'s
|
|
40353
40489
|
* `info.name` if not.
|
|
40354
40490
|
*
|
|
@@ -40357,7 +40493,7 @@ interface Staff$1 {
|
|
|
40357
40493
|
*/
|
|
40358
40494
|
name?: string | null;
|
|
40359
40495
|
/**
|
|
40360
|
-
* ID of the [staff member](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members
|
|
40496
|
+
* ID of the [staff member](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members/staff-member-object).
|
|
40361
40497
|
* Available only if the staff is a staff member and not a
|
|
40362
40498
|
* [site collaborator](https://support.wix.com/en/article/inviting-people-to-contribute-to-your-site).
|
|
40363
40499
|
*/
|
|
@@ -40366,7 +40502,7 @@ interface Staff$1 {
|
|
|
40366
40502
|
* Identification data. Available only if the staff is a
|
|
40367
40503
|
* [contact](https://dev.wix.com/docs/rest/crm/members-contacts/contacts/contacts/contact-v4/contact-object)
|
|
40368
40504
|
* 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
|
|
40505
|
+
* [staff members](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members/introduction).
|
|
40370
40506
|
*/
|
|
40371
40507
|
identificationData?: CommonIdentificationData$1;
|
|
40372
40508
|
}
|
|
@@ -40913,7 +41049,7 @@ interface Staff {
|
|
|
40913
41049
|
* Identification data. Available only if the staff is a
|
|
40914
41050
|
* [contact](https://dev.wix.com/docs/rest/crm/members-contacts/contacts/contacts/contact-v4/contact-object)
|
|
40915
41051
|
* 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
|
|
41052
|
+
* [staff members](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members/introduction).
|
|
40917
41053
|
*/
|
|
40918
41054
|
identificationData?: CommonIdentificationData;
|
|
40919
41055
|
}
|