@wix/auto_sdk_ecom_shipping-options 1.0.16 → 1.0.18
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.
- package/build/cjs/src/ecom-v1-shipping-option-shipping-options.types.d.ts +30 -10
- package/build/cjs/src/ecom-v1-shipping-option-shipping-options.types.js.map +1 -1
- package/build/cjs/src/ecom-v1-shipping-option-shipping-options.universal.d.ts +62 -11
- package/build/cjs/src/ecom-v1-shipping-option-shipping-options.universal.js.map +1 -1
- package/build/es/src/ecom-v1-shipping-option-shipping-options.types.d.ts +30 -10
- package/build/es/src/ecom-v1-shipping-option-shipping-options.types.js.map +1 -1
- package/build/es/src/ecom-v1-shipping-option-shipping-options.universal.d.ts +62 -11
- package/build/es/src/ecom-v1-shipping-option-shipping-options.universal.js.map +1 -1
- package/build/internal/cjs/src/ecom-v1-shipping-option-shipping-options.types.d.ts +30 -10
- package/build/internal/cjs/src/ecom-v1-shipping-option-shipping-options.types.js.map +1 -1
- package/build/internal/cjs/src/ecom-v1-shipping-option-shipping-options.universal.d.ts +62 -11
- package/build/internal/cjs/src/ecom-v1-shipping-option-shipping-options.universal.js.map +1 -1
- package/build/internal/es/src/ecom-v1-shipping-option-shipping-options.types.d.ts +30 -10
- package/build/internal/es/src/ecom-v1-shipping-option-shipping-options.types.js.map +1 -1
- package/build/internal/es/src/ecom-v1-shipping-option-shipping-options.universal.d.ts +62 -11
- package/build/internal/es/src/ecom-v1-shipping-option-shipping-options.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -45,8 +45,19 @@ export interface ShippingOption {
|
|
|
45
45
|
* @maxLength 1000
|
|
46
46
|
*/
|
|
47
47
|
title?: string | null;
|
|
48
|
-
/**
|
|
48
|
+
/**
|
|
49
|
+
* Estimated delivery time. For example, "2-3 business days".
|
|
50
|
+
* @maxLength 500
|
|
51
|
+
* @deprecated Estimated delivery time. For example, "2-3 business days".
|
|
52
|
+
* @replacedBy estimated_delivery_time
|
|
53
|
+
* @targetRemovalDate 2025-07-01
|
|
54
|
+
*/
|
|
49
55
|
estimateDeliveryTime?: string | null;
|
|
56
|
+
/**
|
|
57
|
+
* Estimated delivery time. For example, "2-3 business days".
|
|
58
|
+
* @maxLength 500
|
|
59
|
+
*/
|
|
60
|
+
estimatedDeliveryTime?: string | null;
|
|
50
61
|
/**
|
|
51
62
|
* at runtime for a given shipment input, up to one rate (price) should be returned in an option. If more than one rate is valid then we return the lowest one.
|
|
52
63
|
* @minSize 1
|
|
@@ -59,20 +70,20 @@ export interface ShippingOption {
|
|
|
59
70
|
export interface ConditionalRates {
|
|
60
71
|
/**
|
|
61
72
|
* there is an AND logic between all the conditions. Empty conditions means true.
|
|
62
|
-
* For example: weight > 0 and weight <= 10
|
|
63
|
-
* @maxSize 10
|
|
64
|
-
*/
|
|
65
|
-
conditions?: Condition[];
|
|
66
|
-
/**
|
|
67
73
|
* The amount of the rate that will be returned if all conditions are met.
|
|
68
74
|
* @decimalValue options { gte:0, lte:999999999, maxScale:3 }
|
|
69
75
|
*/
|
|
70
76
|
amount?: string;
|
|
77
|
+
/**
|
|
78
|
+
* For example: weight > 0 and weight <= 10
|
|
79
|
+
* @maxSize 10
|
|
80
|
+
*/
|
|
81
|
+
conditions?: Condition[];
|
|
71
82
|
/** When this flag is set to true, multiply the amount by the number of line items passed on the request. */
|
|
72
83
|
multiplyByQuantity?: boolean;
|
|
73
84
|
}
|
|
74
85
|
export interface Condition {
|
|
75
|
-
type?:
|
|
86
|
+
type?: ConditionTypeWithLiterals;
|
|
76
87
|
/**
|
|
77
88
|
* The value in respective to the condition type
|
|
78
89
|
* Weight values should be in the same weight units of the store: KG / LB
|
|
@@ -81,7 +92,8 @@ export interface Condition {
|
|
|
81
92
|
* @decimalValue options { gte:0, lte:999999999, maxScale:6 }
|
|
82
93
|
*/
|
|
83
94
|
value?: string;
|
|
84
|
-
operator
|
|
95
|
+
/** Logical operator. */
|
|
96
|
+
operator?: LogicalOperatorWithLiterals;
|
|
85
97
|
}
|
|
86
98
|
export declare enum ConditionType {
|
|
87
99
|
UNKNOWN_TYPE = "UNKNOWN_TYPE",
|
|
@@ -89,6 +101,8 @@ export declare enum ConditionType {
|
|
|
89
101
|
BY_TOTAL_PRICE = "BY_TOTAL_PRICE",
|
|
90
102
|
BY_TOTAL_QUANTITY = "BY_TOTAL_QUANTITY"
|
|
91
103
|
}
|
|
104
|
+
/** @enumType */
|
|
105
|
+
export type ConditionTypeWithLiterals = ConditionType | 'UNKNOWN_TYPE' | 'BY_TOTAL_WEIGHT' | 'BY_TOTAL_PRICE' | 'BY_TOTAL_QUANTITY';
|
|
92
106
|
export declare enum LogicalOperator {
|
|
93
107
|
UNKNOWN_LOGICAL_OPERATOR_TYPE = "UNKNOWN_LOGICAL_OPERATOR_TYPE",
|
|
94
108
|
EQ = "EQ",
|
|
@@ -97,6 +111,8 @@ export declare enum LogicalOperator {
|
|
|
97
111
|
LT = "LT",
|
|
98
112
|
LTE = "LTE"
|
|
99
113
|
}
|
|
114
|
+
/** @enumType */
|
|
115
|
+
export type LogicalOperatorWithLiterals = LogicalOperator | 'UNKNOWN_LOGICAL_OPERATOR_TYPE' | 'EQ' | 'GT' | 'GTE' | 'LT' | 'LTE';
|
|
100
116
|
export interface ExtendedFields {
|
|
101
117
|
/**
|
|
102
118
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
@@ -179,12 +195,14 @@ export interface Sorting {
|
|
|
179
195
|
*/
|
|
180
196
|
fieldName?: string;
|
|
181
197
|
/** Sort order. */
|
|
182
|
-
order?:
|
|
198
|
+
order?: SortOrderWithLiterals;
|
|
183
199
|
}
|
|
184
200
|
export declare enum SortOrder {
|
|
185
201
|
ASC = "ASC",
|
|
186
202
|
DESC = "DESC"
|
|
187
203
|
}
|
|
204
|
+
/** @enumType */
|
|
205
|
+
export type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
|
|
188
206
|
export interface CursorPaging {
|
|
189
207
|
/**
|
|
190
208
|
* Maximum number of items to return in the results.
|
|
@@ -383,7 +401,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
383
401
|
*/
|
|
384
402
|
appId?: string;
|
|
385
403
|
/** @readonly */
|
|
386
|
-
identityType?:
|
|
404
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
387
405
|
}
|
|
388
406
|
/** @oneof */
|
|
389
407
|
export interface IdentificationDataIdOneOf {
|
|
@@ -415,3 +433,5 @@ export declare enum WebhookIdentityType {
|
|
|
415
433
|
WIX_USER = "WIX_USER",
|
|
416
434
|
APP = "APP"
|
|
417
435
|
}
|
|
436
|
+
/** @enumType */
|
|
437
|
+
export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ecom-v1-shipping-option-shipping-options.types.js","sourceRoot":"","sources":["../../../src/ecom-v1-shipping-option-shipping-options.types.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"ecom-v1-shipping-option-shipping-options.types.js","sourceRoot":"","sources":["../../../src/ecom-v1-shipping-option-shipping-options.types.ts"],"names":[],"mappings":";;;AAoGA,IAAY,aAKX;AALD,WAAY,aAAa;IACvB,8CAA6B,CAAA;IAC7B,oDAAmC,CAAA;IACnC,kDAAiC,CAAA;IACjC,wDAAuC,CAAA;AACzC,CAAC,EALW,aAAa,6BAAb,aAAa,QAKxB;AAUD,IAAY,eAOX;AAPD,WAAY,eAAe;IACzB,kFAA+D,CAAA;IAC/D,4BAAS,CAAA;IACT,4BAAS,CAAA;IACT,8BAAW,CAAA;IACX,4BAAS,CAAA;IACT,8BAAW,CAAA;AACb,CAAC,EAPW,eAAe,+BAAf,eAAe,QAO1B;AA4GD,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;AAwPD,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,mCAAnB,mBAAmB,QAM9B"}
|
|
@@ -46,8 +46,19 @@ export interface ShippingOption {
|
|
|
46
46
|
* @maxLength 1000
|
|
47
47
|
*/
|
|
48
48
|
title?: string | null;
|
|
49
|
-
/**
|
|
49
|
+
/**
|
|
50
|
+
* Estimated delivery time. For example, "2-3 business days".
|
|
51
|
+
* @maxLength 500
|
|
52
|
+
* @deprecated Estimated delivery time. For example, "2-3 business days".
|
|
53
|
+
* @replacedBy estimated_delivery_time
|
|
54
|
+
* @targetRemovalDate 2025-07-01
|
|
55
|
+
*/
|
|
50
56
|
estimateDeliveryTime?: string | null;
|
|
57
|
+
/**
|
|
58
|
+
* Estimated delivery time. For example, "2-3 business days".
|
|
59
|
+
* @maxLength 500
|
|
60
|
+
*/
|
|
61
|
+
estimatedDeliveryTime?: string | null;
|
|
51
62
|
/**
|
|
52
63
|
* at runtime for a given shipment input, up to one rate (price) should be returned in an option. If more than one rate is valid then we return the lowest one.
|
|
53
64
|
* @minSize 1
|
|
@@ -60,20 +71,20 @@ export interface ShippingOption {
|
|
|
60
71
|
export interface ConditionalRates {
|
|
61
72
|
/**
|
|
62
73
|
* there is an AND logic between all the conditions. Empty conditions means true.
|
|
63
|
-
* For example: weight > 0 and weight <= 10
|
|
64
|
-
* @maxSize 10
|
|
65
|
-
*/
|
|
66
|
-
conditions?: Condition[];
|
|
67
|
-
/**
|
|
68
74
|
* The amount of the rate that will be returned if all conditions are met.
|
|
69
75
|
* @decimalValue options { gte:0, lte:999999999, maxScale:3 }
|
|
70
76
|
*/
|
|
71
77
|
amount?: string;
|
|
78
|
+
/**
|
|
79
|
+
* For example: weight > 0 and weight <= 10
|
|
80
|
+
* @maxSize 10
|
|
81
|
+
*/
|
|
82
|
+
conditions?: Condition[];
|
|
72
83
|
/** When this flag is set to true, multiply the amount by the number of line items passed on the request. */
|
|
73
84
|
multiplyByQuantity?: boolean;
|
|
74
85
|
}
|
|
75
86
|
export interface Condition {
|
|
76
|
-
type?:
|
|
87
|
+
type?: ConditionTypeWithLiterals;
|
|
77
88
|
/**
|
|
78
89
|
* The value in respective to the condition type
|
|
79
90
|
* Weight values should be in the same weight units of the store: KG / LB
|
|
@@ -82,7 +93,8 @@ export interface Condition {
|
|
|
82
93
|
* @decimalValue options { gte:0, lte:999999999, maxScale:6 }
|
|
83
94
|
*/
|
|
84
95
|
value?: string;
|
|
85
|
-
operator
|
|
96
|
+
/** Logical operator. */
|
|
97
|
+
operator?: LogicalOperatorWithLiterals;
|
|
86
98
|
}
|
|
87
99
|
export declare enum ConditionType {
|
|
88
100
|
UNKNOWN_TYPE = "UNKNOWN_TYPE",
|
|
@@ -90,6 +102,8 @@ export declare enum ConditionType {
|
|
|
90
102
|
BY_TOTAL_PRICE = "BY_TOTAL_PRICE",
|
|
91
103
|
BY_TOTAL_QUANTITY = "BY_TOTAL_QUANTITY"
|
|
92
104
|
}
|
|
105
|
+
/** @enumType */
|
|
106
|
+
export type ConditionTypeWithLiterals = ConditionType | 'UNKNOWN_TYPE' | 'BY_TOTAL_WEIGHT' | 'BY_TOTAL_PRICE' | 'BY_TOTAL_QUANTITY';
|
|
93
107
|
export declare enum LogicalOperator {
|
|
94
108
|
UNKNOWN_LOGICAL_OPERATOR_TYPE = "UNKNOWN_LOGICAL_OPERATOR_TYPE",
|
|
95
109
|
EQ = "EQ",
|
|
@@ -98,6 +112,8 @@ export declare enum LogicalOperator {
|
|
|
98
112
|
LT = "LT",
|
|
99
113
|
LTE = "LTE"
|
|
100
114
|
}
|
|
115
|
+
/** @enumType */
|
|
116
|
+
export type LogicalOperatorWithLiterals = LogicalOperator | 'UNKNOWN_LOGICAL_OPERATOR_TYPE' | 'EQ' | 'GT' | 'GTE' | 'LT' | 'LTE';
|
|
101
117
|
export interface ExtendedFields {
|
|
102
118
|
/**
|
|
103
119
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
@@ -180,12 +196,14 @@ export interface Sorting {
|
|
|
180
196
|
*/
|
|
181
197
|
fieldName?: string;
|
|
182
198
|
/** Sort order. */
|
|
183
|
-
order?:
|
|
199
|
+
order?: SortOrderWithLiterals;
|
|
184
200
|
}
|
|
185
201
|
export declare enum SortOrder {
|
|
186
202
|
ASC = "ASC",
|
|
187
203
|
DESC = "DESC"
|
|
188
204
|
}
|
|
205
|
+
/** @enumType */
|
|
206
|
+
export type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
|
|
189
207
|
export interface CursorPaging {
|
|
190
208
|
/**
|
|
191
209
|
* Maximum number of items to return in the results.
|
|
@@ -382,7 +400,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
382
400
|
*/
|
|
383
401
|
appId?: string;
|
|
384
402
|
/** @readonly */
|
|
385
|
-
identityType?:
|
|
403
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
386
404
|
}
|
|
387
405
|
/** @oneof */
|
|
388
406
|
export interface IdentificationDataIdOneOf {
|
|
@@ -414,6 +432,8 @@ export declare enum WebhookIdentityType {
|
|
|
414
432
|
WIX_USER = "WIX_USER",
|
|
415
433
|
APP = "APP"
|
|
416
434
|
}
|
|
435
|
+
/** @enumType */
|
|
436
|
+
export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
417
437
|
export interface BaseEventMetadata {
|
|
418
438
|
/**
|
|
419
439
|
* App instance ID.
|
|
@@ -636,8 +656,19 @@ export interface UpdateShippingOption {
|
|
|
636
656
|
* @maxLength 1000
|
|
637
657
|
*/
|
|
638
658
|
title?: string | null;
|
|
639
|
-
/**
|
|
659
|
+
/**
|
|
660
|
+
* Estimated delivery time. For example, "2-3 business days".
|
|
661
|
+
* @maxLength 500
|
|
662
|
+
* @deprecated Estimated delivery time. For example, "2-3 business days".
|
|
663
|
+
* @replacedBy estimated_delivery_time
|
|
664
|
+
* @targetRemovalDate 2025-07-01
|
|
665
|
+
*/
|
|
640
666
|
estimateDeliveryTime?: string | null;
|
|
667
|
+
/**
|
|
668
|
+
* Estimated delivery time. For example, "2-3 business days".
|
|
669
|
+
* @maxLength 500
|
|
670
|
+
*/
|
|
671
|
+
estimatedDeliveryTime?: string | null;
|
|
641
672
|
/**
|
|
642
673
|
* at runtime for a given shipment input, up to one rate (price) should be returned in an option. If more than one rate is valid then we return the lowest one.
|
|
643
674
|
* @minSize 1
|
|
@@ -713,6 +744,26 @@ export interface ShippingOptionsQueryBuilder {
|
|
|
713
744
|
* @documentationMaturity preview
|
|
714
745
|
*/
|
|
715
746
|
ne: (propertyName: '_id' | 'deliveryRegionId' | 'deliveryRegionIds', value: any) => ShippingOptionsQueryBuilder;
|
|
747
|
+
/** @param propertyName - Property whose value is compared with `value`.
|
|
748
|
+
* @param value - Value to compare against.
|
|
749
|
+
* @documentationMaturity preview
|
|
750
|
+
*/
|
|
751
|
+
ge: (propertyName: '_id' | 'deliveryRegionId', value: any) => ShippingOptionsQueryBuilder;
|
|
752
|
+
/** @param propertyName - Property whose value is compared with `value`.
|
|
753
|
+
* @param value - Value to compare against.
|
|
754
|
+
* @documentationMaturity preview
|
|
755
|
+
*/
|
|
756
|
+
gt: (propertyName: '_id' | 'deliveryRegionId', value: any) => ShippingOptionsQueryBuilder;
|
|
757
|
+
/** @param propertyName - Property whose value is compared with `value`.
|
|
758
|
+
* @param value - Value to compare against.
|
|
759
|
+
* @documentationMaturity preview
|
|
760
|
+
*/
|
|
761
|
+
le: (propertyName: '_id' | 'deliveryRegionId', value: any) => ShippingOptionsQueryBuilder;
|
|
762
|
+
/** @param propertyName - Property whose value is compared with `value`.
|
|
763
|
+
* @param value - Value to compare against.
|
|
764
|
+
* @documentationMaturity preview
|
|
765
|
+
*/
|
|
766
|
+
lt: (propertyName: '_id' | 'deliveryRegionId', value: any) => ShippingOptionsQueryBuilder;
|
|
716
767
|
/** @param propertyName - Property whose value is compared with `string`.
|
|
717
768
|
* @param string - String to compare against. Case-insensitive.
|
|
718
769
|
* @documentationMaturity preview
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ecom-v1-shipping-option-shipping-options.universal.js","sourceRoot":"","sources":["../../../src/ecom-v1-shipping-option-shipping-options.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,kEAA8D;AAC9D,oFAGiD;AAEjD,sHAAwG;AACxG,aAAa;AACb,sFAAkF;
|
|
1
|
+
{"version":3,"file":"ecom-v1-shipping-option-shipping-options.universal.js","sourceRoot":"","sources":["../../../src/ecom-v1-shipping-option-shipping-options.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,kEAA8D;AAC9D,oFAGiD;AAEjD,sHAAwG;AACxG,aAAa;AACb,sFAAkF;AAsGlF,IAAY,aAKX;AALD,WAAY,aAAa;IACvB,8CAA6B,CAAA;IAC7B,oDAAmC,CAAA;IACnC,kDAAiC,CAAA;IACjC,wDAAuC,CAAA;AACzC,CAAC,EALW,aAAa,6BAAb,aAAa,QAKxB;AAUD,IAAY,eAOX;AAPD,WAAY,eAAe;IACzB,kFAA+D,CAAA;IAC/D,4BAAS,CAAA;IACT,4BAAS,CAAA;IACT,8BAAW,CAAA;IACX,4BAAS,CAAA;IACT,8BAAW,CAAA;AACb,CAAC,EAPW,eAAe,+BAAf,eAAe,QAO1B;AA4GD,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;AAsPD,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAA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AAe;aAC1B;YACD,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,kBAAkB,EAAE,kBAAkB,EAAE,SAAS,CAAC,CACpD,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AAnDD,oDAmDC"}
|
|
@@ -45,8 +45,19 @@ export interface ShippingOption {
|
|
|
45
45
|
* @maxLength 1000
|
|
46
46
|
*/
|
|
47
47
|
title?: string | null;
|
|
48
|
-
/**
|
|
48
|
+
/**
|
|
49
|
+
* Estimated delivery time. For example, "2-3 business days".
|
|
50
|
+
* @maxLength 500
|
|
51
|
+
* @deprecated Estimated delivery time. For example, "2-3 business days".
|
|
52
|
+
* @replacedBy estimated_delivery_time
|
|
53
|
+
* @targetRemovalDate 2025-07-01
|
|
54
|
+
*/
|
|
49
55
|
estimateDeliveryTime?: string | null;
|
|
56
|
+
/**
|
|
57
|
+
* Estimated delivery time. For example, "2-3 business days".
|
|
58
|
+
* @maxLength 500
|
|
59
|
+
*/
|
|
60
|
+
estimatedDeliveryTime?: string | null;
|
|
50
61
|
/**
|
|
51
62
|
* at runtime for a given shipment input, up to one rate (price) should be returned in an option. If more than one rate is valid then we return the lowest one.
|
|
52
63
|
* @minSize 1
|
|
@@ -59,20 +70,20 @@ export interface ShippingOption {
|
|
|
59
70
|
export interface ConditionalRates {
|
|
60
71
|
/**
|
|
61
72
|
* there is an AND logic between all the conditions. Empty conditions means true.
|
|
62
|
-
* For example: weight > 0 and weight <= 10
|
|
63
|
-
* @maxSize 10
|
|
64
|
-
*/
|
|
65
|
-
conditions?: Condition[];
|
|
66
|
-
/**
|
|
67
73
|
* The amount of the rate that will be returned if all conditions are met.
|
|
68
74
|
* @decimalValue options { gte:0, lte:999999999, maxScale:3 }
|
|
69
75
|
*/
|
|
70
76
|
amount?: string;
|
|
77
|
+
/**
|
|
78
|
+
* For example: weight > 0 and weight <= 10
|
|
79
|
+
* @maxSize 10
|
|
80
|
+
*/
|
|
81
|
+
conditions?: Condition[];
|
|
71
82
|
/** When this flag is set to true, multiply the amount by the number of line items passed on the request. */
|
|
72
83
|
multiplyByQuantity?: boolean;
|
|
73
84
|
}
|
|
74
85
|
export interface Condition {
|
|
75
|
-
type?:
|
|
86
|
+
type?: ConditionTypeWithLiterals;
|
|
76
87
|
/**
|
|
77
88
|
* The value in respective to the condition type
|
|
78
89
|
* Weight values should be in the same weight units of the store: KG / LB
|
|
@@ -81,7 +92,8 @@ export interface Condition {
|
|
|
81
92
|
* @decimalValue options { gte:0, lte:999999999, maxScale:6 }
|
|
82
93
|
*/
|
|
83
94
|
value?: string;
|
|
84
|
-
operator
|
|
95
|
+
/** Logical operator. */
|
|
96
|
+
operator?: LogicalOperatorWithLiterals;
|
|
85
97
|
}
|
|
86
98
|
export declare enum ConditionType {
|
|
87
99
|
UNKNOWN_TYPE = "UNKNOWN_TYPE",
|
|
@@ -89,6 +101,8 @@ export declare enum ConditionType {
|
|
|
89
101
|
BY_TOTAL_PRICE = "BY_TOTAL_PRICE",
|
|
90
102
|
BY_TOTAL_QUANTITY = "BY_TOTAL_QUANTITY"
|
|
91
103
|
}
|
|
104
|
+
/** @enumType */
|
|
105
|
+
export type ConditionTypeWithLiterals = ConditionType | 'UNKNOWN_TYPE' | 'BY_TOTAL_WEIGHT' | 'BY_TOTAL_PRICE' | 'BY_TOTAL_QUANTITY';
|
|
92
106
|
export declare enum LogicalOperator {
|
|
93
107
|
UNKNOWN_LOGICAL_OPERATOR_TYPE = "UNKNOWN_LOGICAL_OPERATOR_TYPE",
|
|
94
108
|
EQ = "EQ",
|
|
@@ -97,6 +111,8 @@ export declare enum LogicalOperator {
|
|
|
97
111
|
LT = "LT",
|
|
98
112
|
LTE = "LTE"
|
|
99
113
|
}
|
|
114
|
+
/** @enumType */
|
|
115
|
+
export type LogicalOperatorWithLiterals = LogicalOperator | 'UNKNOWN_LOGICAL_OPERATOR_TYPE' | 'EQ' | 'GT' | 'GTE' | 'LT' | 'LTE';
|
|
100
116
|
export interface ExtendedFields {
|
|
101
117
|
/**
|
|
102
118
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
@@ -179,12 +195,14 @@ export interface Sorting {
|
|
|
179
195
|
*/
|
|
180
196
|
fieldName?: string;
|
|
181
197
|
/** Sort order. */
|
|
182
|
-
order?:
|
|
198
|
+
order?: SortOrderWithLiterals;
|
|
183
199
|
}
|
|
184
200
|
export declare enum SortOrder {
|
|
185
201
|
ASC = "ASC",
|
|
186
202
|
DESC = "DESC"
|
|
187
203
|
}
|
|
204
|
+
/** @enumType */
|
|
205
|
+
export type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
|
|
188
206
|
export interface CursorPaging {
|
|
189
207
|
/**
|
|
190
208
|
* Maximum number of items to return in the results.
|
|
@@ -383,7 +401,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
383
401
|
*/
|
|
384
402
|
appId?: string;
|
|
385
403
|
/** @readonly */
|
|
386
|
-
identityType?:
|
|
404
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
387
405
|
}
|
|
388
406
|
/** @oneof */
|
|
389
407
|
export interface IdentificationDataIdOneOf {
|
|
@@ -415,3 +433,5 @@ export declare enum WebhookIdentityType {
|
|
|
415
433
|
WIX_USER = "WIX_USER",
|
|
416
434
|
APP = "APP"
|
|
417
435
|
}
|
|
436
|
+
/** @enumType */
|
|
437
|
+
export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ecom-v1-shipping-option-shipping-options.types.js","sourceRoot":"","sources":["../../../src/ecom-v1-shipping-option-shipping-options.types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ecom-v1-shipping-option-shipping-options.types.js","sourceRoot":"","sources":["../../../src/ecom-v1-shipping-option-shipping-options.types.ts"],"names":[],"mappings":"AAoGA,MAAM,CAAN,IAAY,aAKX;AALD,WAAY,aAAa;IACvB,8CAA6B,CAAA;IAC7B,oDAAmC,CAAA;IACnC,kDAAiC,CAAA;IACjC,wDAAuC,CAAA;AACzC,CAAC,EALW,aAAa,KAAb,aAAa,QAKxB;AAUD,MAAM,CAAN,IAAY,eAOX;AAPD,WAAY,eAAe;IACzB,kFAA+D,CAAA;IAC/D,4BAAS,CAAA;IACT,4BAAS,CAAA;IACT,8BAAW,CAAA;IACX,4BAAS,CAAA;IACT,8BAAW,CAAA;AACb,CAAC,EAPW,eAAe,KAAf,eAAe,QAO1B;AA4GD,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AAwPD,MAAM,CAAN,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,KAAnB,mBAAmB,QAM9B"}
|
|
@@ -46,8 +46,19 @@ export interface ShippingOption {
|
|
|
46
46
|
* @maxLength 1000
|
|
47
47
|
*/
|
|
48
48
|
title?: string | null;
|
|
49
|
-
/**
|
|
49
|
+
/**
|
|
50
|
+
* Estimated delivery time. For example, "2-3 business days".
|
|
51
|
+
* @maxLength 500
|
|
52
|
+
* @deprecated Estimated delivery time. For example, "2-3 business days".
|
|
53
|
+
* @replacedBy estimated_delivery_time
|
|
54
|
+
* @targetRemovalDate 2025-07-01
|
|
55
|
+
*/
|
|
50
56
|
estimateDeliveryTime?: string | null;
|
|
57
|
+
/**
|
|
58
|
+
* Estimated delivery time. For example, "2-3 business days".
|
|
59
|
+
* @maxLength 500
|
|
60
|
+
*/
|
|
61
|
+
estimatedDeliveryTime?: string | null;
|
|
51
62
|
/**
|
|
52
63
|
* at runtime for a given shipment input, up to one rate (price) should be returned in an option. If more than one rate is valid then we return the lowest one.
|
|
53
64
|
* @minSize 1
|
|
@@ -60,20 +71,20 @@ export interface ShippingOption {
|
|
|
60
71
|
export interface ConditionalRates {
|
|
61
72
|
/**
|
|
62
73
|
* there is an AND logic between all the conditions. Empty conditions means true.
|
|
63
|
-
* For example: weight > 0 and weight <= 10
|
|
64
|
-
* @maxSize 10
|
|
65
|
-
*/
|
|
66
|
-
conditions?: Condition[];
|
|
67
|
-
/**
|
|
68
74
|
* The amount of the rate that will be returned if all conditions are met.
|
|
69
75
|
* @decimalValue options { gte:0, lte:999999999, maxScale:3 }
|
|
70
76
|
*/
|
|
71
77
|
amount?: string;
|
|
78
|
+
/**
|
|
79
|
+
* For example: weight > 0 and weight <= 10
|
|
80
|
+
* @maxSize 10
|
|
81
|
+
*/
|
|
82
|
+
conditions?: Condition[];
|
|
72
83
|
/** When this flag is set to true, multiply the amount by the number of line items passed on the request. */
|
|
73
84
|
multiplyByQuantity?: boolean;
|
|
74
85
|
}
|
|
75
86
|
export interface Condition {
|
|
76
|
-
type?:
|
|
87
|
+
type?: ConditionTypeWithLiterals;
|
|
77
88
|
/**
|
|
78
89
|
* The value in respective to the condition type
|
|
79
90
|
* Weight values should be in the same weight units of the store: KG / LB
|
|
@@ -82,7 +93,8 @@ export interface Condition {
|
|
|
82
93
|
* @decimalValue options { gte:0, lte:999999999, maxScale:6 }
|
|
83
94
|
*/
|
|
84
95
|
value?: string;
|
|
85
|
-
operator
|
|
96
|
+
/** Logical operator. */
|
|
97
|
+
operator?: LogicalOperatorWithLiterals;
|
|
86
98
|
}
|
|
87
99
|
export declare enum ConditionType {
|
|
88
100
|
UNKNOWN_TYPE = "UNKNOWN_TYPE",
|
|
@@ -90,6 +102,8 @@ export declare enum ConditionType {
|
|
|
90
102
|
BY_TOTAL_PRICE = "BY_TOTAL_PRICE",
|
|
91
103
|
BY_TOTAL_QUANTITY = "BY_TOTAL_QUANTITY"
|
|
92
104
|
}
|
|
105
|
+
/** @enumType */
|
|
106
|
+
export type ConditionTypeWithLiterals = ConditionType | 'UNKNOWN_TYPE' | 'BY_TOTAL_WEIGHT' | 'BY_TOTAL_PRICE' | 'BY_TOTAL_QUANTITY';
|
|
93
107
|
export declare enum LogicalOperator {
|
|
94
108
|
UNKNOWN_LOGICAL_OPERATOR_TYPE = "UNKNOWN_LOGICAL_OPERATOR_TYPE",
|
|
95
109
|
EQ = "EQ",
|
|
@@ -98,6 +112,8 @@ export declare enum LogicalOperator {
|
|
|
98
112
|
LT = "LT",
|
|
99
113
|
LTE = "LTE"
|
|
100
114
|
}
|
|
115
|
+
/** @enumType */
|
|
116
|
+
export type LogicalOperatorWithLiterals = LogicalOperator | 'UNKNOWN_LOGICAL_OPERATOR_TYPE' | 'EQ' | 'GT' | 'GTE' | 'LT' | 'LTE';
|
|
101
117
|
export interface ExtendedFields {
|
|
102
118
|
/**
|
|
103
119
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
@@ -180,12 +196,14 @@ export interface Sorting {
|
|
|
180
196
|
*/
|
|
181
197
|
fieldName?: string;
|
|
182
198
|
/** Sort order. */
|
|
183
|
-
order?:
|
|
199
|
+
order?: SortOrderWithLiterals;
|
|
184
200
|
}
|
|
185
201
|
export declare enum SortOrder {
|
|
186
202
|
ASC = "ASC",
|
|
187
203
|
DESC = "DESC"
|
|
188
204
|
}
|
|
205
|
+
/** @enumType */
|
|
206
|
+
export type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
|
|
189
207
|
export interface CursorPaging {
|
|
190
208
|
/**
|
|
191
209
|
* Maximum number of items to return in the results.
|
|
@@ -382,7 +400,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
382
400
|
*/
|
|
383
401
|
appId?: string;
|
|
384
402
|
/** @readonly */
|
|
385
|
-
identityType?:
|
|
403
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
386
404
|
}
|
|
387
405
|
/** @oneof */
|
|
388
406
|
export interface IdentificationDataIdOneOf {
|
|
@@ -414,6 +432,8 @@ export declare enum WebhookIdentityType {
|
|
|
414
432
|
WIX_USER = "WIX_USER",
|
|
415
433
|
APP = "APP"
|
|
416
434
|
}
|
|
435
|
+
/** @enumType */
|
|
436
|
+
export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
417
437
|
export interface BaseEventMetadata {
|
|
418
438
|
/**
|
|
419
439
|
* App instance ID.
|
|
@@ -636,8 +656,19 @@ export interface UpdateShippingOption {
|
|
|
636
656
|
* @maxLength 1000
|
|
637
657
|
*/
|
|
638
658
|
title?: string | null;
|
|
639
|
-
/**
|
|
659
|
+
/**
|
|
660
|
+
* Estimated delivery time. For example, "2-3 business days".
|
|
661
|
+
* @maxLength 500
|
|
662
|
+
* @deprecated Estimated delivery time. For example, "2-3 business days".
|
|
663
|
+
* @replacedBy estimated_delivery_time
|
|
664
|
+
* @targetRemovalDate 2025-07-01
|
|
665
|
+
*/
|
|
640
666
|
estimateDeliveryTime?: string | null;
|
|
667
|
+
/**
|
|
668
|
+
* Estimated delivery time. For example, "2-3 business days".
|
|
669
|
+
* @maxLength 500
|
|
670
|
+
*/
|
|
671
|
+
estimatedDeliveryTime?: string | null;
|
|
641
672
|
/**
|
|
642
673
|
* at runtime for a given shipment input, up to one rate (price) should be returned in an option. If more than one rate is valid then we return the lowest one.
|
|
643
674
|
* @minSize 1
|
|
@@ -713,6 +744,26 @@ export interface ShippingOptionsQueryBuilder {
|
|
|
713
744
|
* @documentationMaturity preview
|
|
714
745
|
*/
|
|
715
746
|
ne: (propertyName: '_id' | 'deliveryRegionId' | 'deliveryRegionIds', value: any) => ShippingOptionsQueryBuilder;
|
|
747
|
+
/** @param propertyName - Property whose value is compared with `value`.
|
|
748
|
+
* @param value - Value to compare against.
|
|
749
|
+
* @documentationMaturity preview
|
|
750
|
+
*/
|
|
751
|
+
ge: (propertyName: '_id' | 'deliveryRegionId', value: any) => ShippingOptionsQueryBuilder;
|
|
752
|
+
/** @param propertyName - Property whose value is compared with `value`.
|
|
753
|
+
* @param value - Value to compare against.
|
|
754
|
+
* @documentationMaturity preview
|
|
755
|
+
*/
|
|
756
|
+
gt: (propertyName: '_id' | 'deliveryRegionId', value: any) => ShippingOptionsQueryBuilder;
|
|
757
|
+
/** @param propertyName - Property whose value is compared with `value`.
|
|
758
|
+
* @param value - Value to compare against.
|
|
759
|
+
* @documentationMaturity preview
|
|
760
|
+
*/
|
|
761
|
+
le: (propertyName: '_id' | 'deliveryRegionId', value: any) => ShippingOptionsQueryBuilder;
|
|
762
|
+
/** @param propertyName - Property whose value is compared with `value`.
|
|
763
|
+
* @param value - Value to compare against.
|
|
764
|
+
* @documentationMaturity preview
|
|
765
|
+
*/
|
|
766
|
+
lt: (propertyName: '_id' | 'deliveryRegionId', value: any) => ShippingOptionsQueryBuilder;
|
|
716
767
|
/** @param propertyName - Property whose value is compared with `string`.
|
|
717
768
|
* @param string - String to compare against. Case-insensitive.
|
|
718
769
|
* @documentationMaturity preview
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ecom-v1-shipping-option-shipping-options.universal.js","sourceRoot":"","sources":["../../../src/ecom-v1-shipping-option-shipping-options.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAC9D,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,iCAAiC,MAAM,oDAAoD,CAAC;AACxG,aAAa;AACb,OAAO,EAAE,cAAc,EAAE,MAAM,kDAAkD,CAAC;
|
|
1
|
+
{"version":3,"file":"ecom-v1-shipping-option-shipping-options.universal.js","sourceRoot":"","sources":["../../../src/ecom-v1-shipping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AAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,qCAAqC,CAAC;QACpD,gBAAgB,EAAE,gBAAgB;QAClC,gBAAgB,EAAE,gBAAgB;QAClC,QAAQ,EAAE,OAAO,EAAE,QAAQ;KAC5B,CAAC,CAAC;IAEH,MAAM,OAAO,GACX,iCAAiC,CAAC,oBAAoB,CAAC,OAAO,CAAC,CAAC;IAElE,WAAW,EAAE,UAAU,EAAE,EAAE,CAAC;IAC5B,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACjD,WAAW,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,CAAC;QAEjC,OAAO,uCAAuC,CAAC,MAAM,CAAC,IAAI,CAAE,CAAC;IAC/D,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,iBAAiB,CACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE;gBACxB,gBAAgB,EAAE,MAAM;gBACxB,gBAAgB,EAAE,MAAM;gBACxB,QAAQ,EAAE,eAAe;aAC1B;YACD,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,kBAAkB,EAAE,kBAAkB,EAAE,SAAS,CAAC,CACpD,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC"}
|
|
@@ -45,8 +45,19 @@ export interface ShippingOption {
|
|
|
45
45
|
* @maxLength 1000
|
|
46
46
|
*/
|
|
47
47
|
title?: string | null;
|
|
48
|
-
/**
|
|
48
|
+
/**
|
|
49
|
+
* Estimated delivery time. For example, "2-3 business days".
|
|
50
|
+
* @maxLength 500
|
|
51
|
+
* @deprecated Estimated delivery time. For example, "2-3 business days".
|
|
52
|
+
* @replacedBy estimated_delivery_time
|
|
53
|
+
* @targetRemovalDate 2025-07-01
|
|
54
|
+
*/
|
|
49
55
|
estimateDeliveryTime?: string | null;
|
|
56
|
+
/**
|
|
57
|
+
* Estimated delivery time. For example, "2-3 business days".
|
|
58
|
+
* @maxLength 500
|
|
59
|
+
*/
|
|
60
|
+
estimatedDeliveryTime?: string | null;
|
|
50
61
|
/**
|
|
51
62
|
* at runtime for a given shipment input, up to one rate (price) should be returned in an option. If more than one rate is valid then we return the lowest one.
|
|
52
63
|
* @minSize 1
|
|
@@ -59,20 +70,20 @@ export interface ShippingOption {
|
|
|
59
70
|
export interface ConditionalRates {
|
|
60
71
|
/**
|
|
61
72
|
* there is an AND logic between all the conditions. Empty conditions means true.
|
|
62
|
-
* For example: weight > 0 and weight <= 10
|
|
63
|
-
* @maxSize 10
|
|
64
|
-
*/
|
|
65
|
-
conditions?: Condition[];
|
|
66
|
-
/**
|
|
67
73
|
* The amount of the rate that will be returned if all conditions are met.
|
|
68
74
|
* @decimalValue options { gte:0, lte:999999999, maxScale:3 }
|
|
69
75
|
*/
|
|
70
76
|
amount?: string;
|
|
77
|
+
/**
|
|
78
|
+
* For example: weight > 0 and weight <= 10
|
|
79
|
+
* @maxSize 10
|
|
80
|
+
*/
|
|
81
|
+
conditions?: Condition[];
|
|
71
82
|
/** When this flag is set to true, multiply the amount by the number of line items passed on the request. */
|
|
72
83
|
multiplyByQuantity?: boolean;
|
|
73
84
|
}
|
|
74
85
|
export interface Condition {
|
|
75
|
-
type?:
|
|
86
|
+
type?: ConditionTypeWithLiterals;
|
|
76
87
|
/**
|
|
77
88
|
* The value in respective to the condition type
|
|
78
89
|
* Weight values should be in the same weight units of the store: KG / LB
|
|
@@ -81,7 +92,8 @@ export interface Condition {
|
|
|
81
92
|
* @decimalValue options { gte:0, lte:999999999, maxScale:6 }
|
|
82
93
|
*/
|
|
83
94
|
value?: string;
|
|
84
|
-
operator
|
|
95
|
+
/** Logical operator. */
|
|
96
|
+
operator?: LogicalOperatorWithLiterals;
|
|
85
97
|
}
|
|
86
98
|
export declare enum ConditionType {
|
|
87
99
|
UNKNOWN_TYPE = "UNKNOWN_TYPE",
|
|
@@ -89,6 +101,8 @@ export declare enum ConditionType {
|
|
|
89
101
|
BY_TOTAL_PRICE = "BY_TOTAL_PRICE",
|
|
90
102
|
BY_TOTAL_QUANTITY = "BY_TOTAL_QUANTITY"
|
|
91
103
|
}
|
|
104
|
+
/** @enumType */
|
|
105
|
+
export type ConditionTypeWithLiterals = ConditionType | 'UNKNOWN_TYPE' | 'BY_TOTAL_WEIGHT' | 'BY_TOTAL_PRICE' | 'BY_TOTAL_QUANTITY';
|
|
92
106
|
export declare enum LogicalOperator {
|
|
93
107
|
UNKNOWN_LOGICAL_OPERATOR_TYPE = "UNKNOWN_LOGICAL_OPERATOR_TYPE",
|
|
94
108
|
EQ = "EQ",
|
|
@@ -97,6 +111,8 @@ export declare enum LogicalOperator {
|
|
|
97
111
|
LT = "LT",
|
|
98
112
|
LTE = "LTE"
|
|
99
113
|
}
|
|
114
|
+
/** @enumType */
|
|
115
|
+
export type LogicalOperatorWithLiterals = LogicalOperator | 'UNKNOWN_LOGICAL_OPERATOR_TYPE' | 'EQ' | 'GT' | 'GTE' | 'LT' | 'LTE';
|
|
100
116
|
export interface ExtendedFields {
|
|
101
117
|
/**
|
|
102
118
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
@@ -179,12 +195,14 @@ export interface Sorting {
|
|
|
179
195
|
*/
|
|
180
196
|
fieldName?: string;
|
|
181
197
|
/** Sort order. */
|
|
182
|
-
order?:
|
|
198
|
+
order?: SortOrderWithLiterals;
|
|
183
199
|
}
|
|
184
200
|
export declare enum SortOrder {
|
|
185
201
|
ASC = "ASC",
|
|
186
202
|
DESC = "DESC"
|
|
187
203
|
}
|
|
204
|
+
/** @enumType */
|
|
205
|
+
export type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
|
|
188
206
|
export interface CursorPaging {
|
|
189
207
|
/**
|
|
190
208
|
* Maximum number of items to return in the results.
|
|
@@ -383,7 +401,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
383
401
|
*/
|
|
384
402
|
appId?: string;
|
|
385
403
|
/** @readonly */
|
|
386
|
-
identityType?:
|
|
404
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
387
405
|
}
|
|
388
406
|
/** @oneof */
|
|
389
407
|
export interface IdentificationDataIdOneOf {
|
|
@@ -415,3 +433,5 @@ export declare enum WebhookIdentityType {
|
|
|
415
433
|
WIX_USER = "WIX_USER",
|
|
416
434
|
APP = "APP"
|
|
417
435
|
}
|
|
436
|
+
/** @enumType */
|
|
437
|
+
export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ecom-v1-shipping-option-shipping-options.types.js","sourceRoot":"","sources":["../../../../src/ecom-v1-shipping-option-shipping-options.types.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"ecom-v1-shipping-option-shipping-options.types.js","sourceRoot":"","sources":["../../../../src/ecom-v1-shipping-option-shipping-options.types.ts"],"names":[],"mappings":";;;AAoGA,IAAY,aAKX;AALD,WAAY,aAAa;IACvB,8CAA6B,CAAA;IAC7B,oDAAmC,CAAA;IACnC,kDAAiC,CAAA;IACjC,wDAAuC,CAAA;AACzC,CAAC,EALW,aAAa,6BAAb,aAAa,QAKxB;AAUD,IAAY,eAOX;AAPD,WAAY,eAAe;IACzB,kFAA+D,CAAA;IAC/D,4BAAS,CAAA;IACT,4BAAS,CAAA;IACT,8BAAW,CAAA;IACX,4BAAS,CAAA;IACT,8BAAW,CAAA;AACb,CAAC,EAPW,eAAe,+BAAf,eAAe,QAO1B;AA4GD,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;AAwPD,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,mCAAnB,mBAAmB,QAM9B"}
|
|
@@ -46,8 +46,19 @@ export interface ShippingOption {
|
|
|
46
46
|
* @maxLength 1000
|
|
47
47
|
*/
|
|
48
48
|
title?: string | null;
|
|
49
|
-
/**
|
|
49
|
+
/**
|
|
50
|
+
* Estimated delivery time. For example, "2-3 business days".
|
|
51
|
+
* @maxLength 500
|
|
52
|
+
* @deprecated Estimated delivery time. For example, "2-3 business days".
|
|
53
|
+
* @replacedBy estimated_delivery_time
|
|
54
|
+
* @targetRemovalDate 2025-07-01
|
|
55
|
+
*/
|
|
50
56
|
estimateDeliveryTime?: string | null;
|
|
57
|
+
/**
|
|
58
|
+
* Estimated delivery time. For example, "2-3 business days".
|
|
59
|
+
* @maxLength 500
|
|
60
|
+
*/
|
|
61
|
+
estimatedDeliveryTime?: string | null;
|
|
51
62
|
/**
|
|
52
63
|
* at runtime for a given shipment input, up to one rate (price) should be returned in an option. If more than one rate is valid then we return the lowest one.
|
|
53
64
|
* @minSize 1
|
|
@@ -60,20 +71,20 @@ export interface ShippingOption {
|
|
|
60
71
|
export interface ConditionalRates {
|
|
61
72
|
/**
|
|
62
73
|
* there is an AND logic between all the conditions. Empty conditions means true.
|
|
63
|
-
* For example: weight > 0 and weight <= 10
|
|
64
|
-
* @maxSize 10
|
|
65
|
-
*/
|
|
66
|
-
conditions?: Condition[];
|
|
67
|
-
/**
|
|
68
74
|
* The amount of the rate that will be returned if all conditions are met.
|
|
69
75
|
* @decimalValue options { gte:0, lte:999999999, maxScale:3 }
|
|
70
76
|
*/
|
|
71
77
|
amount?: string;
|
|
78
|
+
/**
|
|
79
|
+
* For example: weight > 0 and weight <= 10
|
|
80
|
+
* @maxSize 10
|
|
81
|
+
*/
|
|
82
|
+
conditions?: Condition[];
|
|
72
83
|
/** When this flag is set to true, multiply the amount by the number of line items passed on the request. */
|
|
73
84
|
multiplyByQuantity?: boolean;
|
|
74
85
|
}
|
|
75
86
|
export interface Condition {
|
|
76
|
-
type?:
|
|
87
|
+
type?: ConditionTypeWithLiterals;
|
|
77
88
|
/**
|
|
78
89
|
* The value in respective to the condition type
|
|
79
90
|
* Weight values should be in the same weight units of the store: KG / LB
|
|
@@ -82,7 +93,8 @@ export interface Condition {
|
|
|
82
93
|
* @decimalValue options { gte:0, lte:999999999, maxScale:6 }
|
|
83
94
|
*/
|
|
84
95
|
value?: string;
|
|
85
|
-
operator
|
|
96
|
+
/** Logical operator. */
|
|
97
|
+
operator?: LogicalOperatorWithLiterals;
|
|
86
98
|
}
|
|
87
99
|
export declare enum ConditionType {
|
|
88
100
|
UNKNOWN_TYPE = "UNKNOWN_TYPE",
|
|
@@ -90,6 +102,8 @@ export declare enum ConditionType {
|
|
|
90
102
|
BY_TOTAL_PRICE = "BY_TOTAL_PRICE",
|
|
91
103
|
BY_TOTAL_QUANTITY = "BY_TOTAL_QUANTITY"
|
|
92
104
|
}
|
|
105
|
+
/** @enumType */
|
|
106
|
+
export type ConditionTypeWithLiterals = ConditionType | 'UNKNOWN_TYPE' | 'BY_TOTAL_WEIGHT' | 'BY_TOTAL_PRICE' | 'BY_TOTAL_QUANTITY';
|
|
93
107
|
export declare enum LogicalOperator {
|
|
94
108
|
UNKNOWN_LOGICAL_OPERATOR_TYPE = "UNKNOWN_LOGICAL_OPERATOR_TYPE",
|
|
95
109
|
EQ = "EQ",
|
|
@@ -98,6 +112,8 @@ export declare enum LogicalOperator {
|
|
|
98
112
|
LT = "LT",
|
|
99
113
|
LTE = "LTE"
|
|
100
114
|
}
|
|
115
|
+
/** @enumType */
|
|
116
|
+
export type LogicalOperatorWithLiterals = LogicalOperator | 'UNKNOWN_LOGICAL_OPERATOR_TYPE' | 'EQ' | 'GT' | 'GTE' | 'LT' | 'LTE';
|
|
101
117
|
export interface ExtendedFields {
|
|
102
118
|
/**
|
|
103
119
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
@@ -180,12 +196,14 @@ export interface Sorting {
|
|
|
180
196
|
*/
|
|
181
197
|
fieldName?: string;
|
|
182
198
|
/** Sort order. */
|
|
183
|
-
order?:
|
|
199
|
+
order?: SortOrderWithLiterals;
|
|
184
200
|
}
|
|
185
201
|
export declare enum SortOrder {
|
|
186
202
|
ASC = "ASC",
|
|
187
203
|
DESC = "DESC"
|
|
188
204
|
}
|
|
205
|
+
/** @enumType */
|
|
206
|
+
export type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
|
|
189
207
|
export interface CursorPaging {
|
|
190
208
|
/**
|
|
191
209
|
* Maximum number of items to return in the results.
|
|
@@ -382,7 +400,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
382
400
|
*/
|
|
383
401
|
appId?: string;
|
|
384
402
|
/** @readonly */
|
|
385
|
-
identityType?:
|
|
403
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
386
404
|
}
|
|
387
405
|
/** @oneof */
|
|
388
406
|
export interface IdentificationDataIdOneOf {
|
|
@@ -414,6 +432,8 @@ export declare enum WebhookIdentityType {
|
|
|
414
432
|
WIX_USER = "WIX_USER",
|
|
415
433
|
APP = "APP"
|
|
416
434
|
}
|
|
435
|
+
/** @enumType */
|
|
436
|
+
export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
417
437
|
export interface BaseEventMetadata {
|
|
418
438
|
/**
|
|
419
439
|
* App instance ID.
|
|
@@ -636,8 +656,19 @@ export interface UpdateShippingOption {
|
|
|
636
656
|
* @maxLength 1000
|
|
637
657
|
*/
|
|
638
658
|
title?: string | null;
|
|
639
|
-
/**
|
|
659
|
+
/**
|
|
660
|
+
* Estimated delivery time. For example, "2-3 business days".
|
|
661
|
+
* @maxLength 500
|
|
662
|
+
* @deprecated Estimated delivery time. For example, "2-3 business days".
|
|
663
|
+
* @replacedBy estimated_delivery_time
|
|
664
|
+
* @targetRemovalDate 2025-07-01
|
|
665
|
+
*/
|
|
640
666
|
estimateDeliveryTime?: string | null;
|
|
667
|
+
/**
|
|
668
|
+
* Estimated delivery time. For example, "2-3 business days".
|
|
669
|
+
* @maxLength 500
|
|
670
|
+
*/
|
|
671
|
+
estimatedDeliveryTime?: string | null;
|
|
641
672
|
/**
|
|
642
673
|
* at runtime for a given shipment input, up to one rate (price) should be returned in an option. If more than one rate is valid then we return the lowest one.
|
|
643
674
|
* @minSize 1
|
|
@@ -713,6 +744,26 @@ export interface ShippingOptionsQueryBuilder {
|
|
|
713
744
|
* @documentationMaturity preview
|
|
714
745
|
*/
|
|
715
746
|
ne: (propertyName: '_id' | 'deliveryRegionId' | 'deliveryRegionIds', value: any) => ShippingOptionsQueryBuilder;
|
|
747
|
+
/** @param propertyName - Property whose value is compared with `value`.
|
|
748
|
+
* @param value - Value to compare against.
|
|
749
|
+
* @documentationMaturity preview
|
|
750
|
+
*/
|
|
751
|
+
ge: (propertyName: '_id' | 'deliveryRegionId', value: any) => ShippingOptionsQueryBuilder;
|
|
752
|
+
/** @param propertyName - Property whose value is compared with `value`.
|
|
753
|
+
* @param value - Value to compare against.
|
|
754
|
+
* @documentationMaturity preview
|
|
755
|
+
*/
|
|
756
|
+
gt: (propertyName: '_id' | 'deliveryRegionId', value: any) => ShippingOptionsQueryBuilder;
|
|
757
|
+
/** @param propertyName - Property whose value is compared with `value`.
|
|
758
|
+
* @param value - Value to compare against.
|
|
759
|
+
* @documentationMaturity preview
|
|
760
|
+
*/
|
|
761
|
+
le: (propertyName: '_id' | 'deliveryRegionId', value: any) => ShippingOptionsQueryBuilder;
|
|
762
|
+
/** @param propertyName - Property whose value is compared with `value`.
|
|
763
|
+
* @param value - Value to compare against.
|
|
764
|
+
* @documentationMaturity preview
|
|
765
|
+
*/
|
|
766
|
+
lt: (propertyName: '_id' | 'deliveryRegionId', value: any) => ShippingOptionsQueryBuilder;
|
|
716
767
|
/** @param propertyName - Property whose value is compared with `string`.
|
|
717
768
|
* @param string - String to compare against. Case-insensitive.
|
|
718
769
|
* @documentationMaturity preview
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ecom-v1-shipping-option-shipping-options.universal.js","sourceRoot":"","sources":["../../../../src/ecom-v1-shipping-option-shipping-options.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,kEAA8D;AAC9D,oFAGiD;AAEjD,sHAAwG;AACxG,aAAa;AACb,sFAAkF;
|
|
1
|
+
{"version":3,"file":"ecom-v1-shipping-option-shipping-options.universal.js","sourceRoot":"","sources":["../../../../src/ecom-v1-shipping-option-shipping-options.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,kEAA8D;AAC9D,oFAGiD;AAEjD,sHAAwG;AACxG,aAAa;AACb,sFAAkF;AAsGlF,IAAY,aAKX;AALD,WAAY,aAAa;IACvB,8CAA6B,CAAA;IAC7B,oDAAmC,CAAA;IACnC,kDAAiC,CAAA;IACjC,wDAAuC,CAAA;AACzC,CAAC,EALW,aAAa,6BAAb,aAAa,QAKxB;AAUD,IAAY,eAOX;AAPD,WAAY,eAAe;IACzB,kFAA+D,CAAA;IAC/D,4BAAS,CAAA;IACT,4BAAS,CAAA;IACT,8BAAW,CAAA;IACX,4BAAS,CAAA;IACT,8BAAW,CAAA;AACb,CAAC,EAPW,eAAe,+BAAf,eAAe,QAO1B;AA4GD,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;AAsPD,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACn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,EAAE,MAAM;gBACxB,QAAQ,EAAE,eAAe;aAC1B;YACD,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,kBAAkB,EAAE,kBAAkB,EAAE,SAAS,CAAC,CACpD,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AAnDD,oDAmDC"}
|
|
@@ -45,8 +45,19 @@ export interface ShippingOption {
|
|
|
45
45
|
* @maxLength 1000
|
|
46
46
|
*/
|
|
47
47
|
title?: string | null;
|
|
48
|
-
/**
|
|
48
|
+
/**
|
|
49
|
+
* Estimated delivery time. For example, "2-3 business days".
|
|
50
|
+
* @maxLength 500
|
|
51
|
+
* @deprecated Estimated delivery time. For example, "2-3 business days".
|
|
52
|
+
* @replacedBy estimated_delivery_time
|
|
53
|
+
* @targetRemovalDate 2025-07-01
|
|
54
|
+
*/
|
|
49
55
|
estimateDeliveryTime?: string | null;
|
|
56
|
+
/**
|
|
57
|
+
* Estimated delivery time. For example, "2-3 business days".
|
|
58
|
+
* @maxLength 500
|
|
59
|
+
*/
|
|
60
|
+
estimatedDeliveryTime?: string | null;
|
|
50
61
|
/**
|
|
51
62
|
* at runtime for a given shipment input, up to one rate (price) should be returned in an option. If more than one rate is valid then we return the lowest one.
|
|
52
63
|
* @minSize 1
|
|
@@ -59,20 +70,20 @@ export interface ShippingOption {
|
|
|
59
70
|
export interface ConditionalRates {
|
|
60
71
|
/**
|
|
61
72
|
* there is an AND logic between all the conditions. Empty conditions means true.
|
|
62
|
-
* For example: weight > 0 and weight <= 10
|
|
63
|
-
* @maxSize 10
|
|
64
|
-
*/
|
|
65
|
-
conditions?: Condition[];
|
|
66
|
-
/**
|
|
67
73
|
* The amount of the rate that will be returned if all conditions are met.
|
|
68
74
|
* @decimalValue options { gte:0, lte:999999999, maxScale:3 }
|
|
69
75
|
*/
|
|
70
76
|
amount?: string;
|
|
77
|
+
/**
|
|
78
|
+
* For example: weight > 0 and weight <= 10
|
|
79
|
+
* @maxSize 10
|
|
80
|
+
*/
|
|
81
|
+
conditions?: Condition[];
|
|
71
82
|
/** When this flag is set to true, multiply the amount by the number of line items passed on the request. */
|
|
72
83
|
multiplyByQuantity?: boolean;
|
|
73
84
|
}
|
|
74
85
|
export interface Condition {
|
|
75
|
-
type?:
|
|
86
|
+
type?: ConditionTypeWithLiterals;
|
|
76
87
|
/**
|
|
77
88
|
* The value in respective to the condition type
|
|
78
89
|
* Weight values should be in the same weight units of the store: KG / LB
|
|
@@ -81,7 +92,8 @@ export interface Condition {
|
|
|
81
92
|
* @decimalValue options { gte:0, lte:999999999, maxScale:6 }
|
|
82
93
|
*/
|
|
83
94
|
value?: string;
|
|
84
|
-
operator
|
|
95
|
+
/** Logical operator. */
|
|
96
|
+
operator?: LogicalOperatorWithLiterals;
|
|
85
97
|
}
|
|
86
98
|
export declare enum ConditionType {
|
|
87
99
|
UNKNOWN_TYPE = "UNKNOWN_TYPE",
|
|
@@ -89,6 +101,8 @@ export declare enum ConditionType {
|
|
|
89
101
|
BY_TOTAL_PRICE = "BY_TOTAL_PRICE",
|
|
90
102
|
BY_TOTAL_QUANTITY = "BY_TOTAL_QUANTITY"
|
|
91
103
|
}
|
|
104
|
+
/** @enumType */
|
|
105
|
+
export type ConditionTypeWithLiterals = ConditionType | 'UNKNOWN_TYPE' | 'BY_TOTAL_WEIGHT' | 'BY_TOTAL_PRICE' | 'BY_TOTAL_QUANTITY';
|
|
92
106
|
export declare enum LogicalOperator {
|
|
93
107
|
UNKNOWN_LOGICAL_OPERATOR_TYPE = "UNKNOWN_LOGICAL_OPERATOR_TYPE",
|
|
94
108
|
EQ = "EQ",
|
|
@@ -97,6 +111,8 @@ export declare enum LogicalOperator {
|
|
|
97
111
|
LT = "LT",
|
|
98
112
|
LTE = "LTE"
|
|
99
113
|
}
|
|
114
|
+
/** @enumType */
|
|
115
|
+
export type LogicalOperatorWithLiterals = LogicalOperator | 'UNKNOWN_LOGICAL_OPERATOR_TYPE' | 'EQ' | 'GT' | 'GTE' | 'LT' | 'LTE';
|
|
100
116
|
export interface ExtendedFields {
|
|
101
117
|
/**
|
|
102
118
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
@@ -179,12 +195,14 @@ export interface Sorting {
|
|
|
179
195
|
*/
|
|
180
196
|
fieldName?: string;
|
|
181
197
|
/** Sort order. */
|
|
182
|
-
order?:
|
|
198
|
+
order?: SortOrderWithLiterals;
|
|
183
199
|
}
|
|
184
200
|
export declare enum SortOrder {
|
|
185
201
|
ASC = "ASC",
|
|
186
202
|
DESC = "DESC"
|
|
187
203
|
}
|
|
204
|
+
/** @enumType */
|
|
205
|
+
export type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
|
|
188
206
|
export interface CursorPaging {
|
|
189
207
|
/**
|
|
190
208
|
* Maximum number of items to return in the results.
|
|
@@ -383,7 +401,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
383
401
|
*/
|
|
384
402
|
appId?: string;
|
|
385
403
|
/** @readonly */
|
|
386
|
-
identityType?:
|
|
404
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
387
405
|
}
|
|
388
406
|
/** @oneof */
|
|
389
407
|
export interface IdentificationDataIdOneOf {
|
|
@@ -415,3 +433,5 @@ export declare enum WebhookIdentityType {
|
|
|
415
433
|
WIX_USER = "WIX_USER",
|
|
416
434
|
APP = "APP"
|
|
417
435
|
}
|
|
436
|
+
/** @enumType */
|
|
437
|
+
export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ecom-v1-shipping-option-shipping-options.types.js","sourceRoot":"","sources":["../../../../src/ecom-v1-shipping-option-shipping-options.types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ecom-v1-shipping-option-shipping-options.types.js","sourceRoot":"","sources":["../../../../src/ecom-v1-shipping-option-shipping-options.types.ts"],"names":[],"mappings":"AAoGA,MAAM,CAAN,IAAY,aAKX;AALD,WAAY,aAAa;IACvB,8CAA6B,CAAA;IAC7B,oDAAmC,CAAA;IACnC,kDAAiC,CAAA;IACjC,wDAAuC,CAAA;AACzC,CAAC,EALW,aAAa,KAAb,aAAa,QAKxB;AAUD,MAAM,CAAN,IAAY,eAOX;AAPD,WAAY,eAAe;IACzB,kFAA+D,CAAA;IAC/D,4BAAS,CAAA;IACT,4BAAS,CAAA;IACT,8BAAW,CAAA;IACX,4BAAS,CAAA;IACT,8BAAW,CAAA;AACb,CAAC,EAPW,eAAe,KAAf,eAAe,QAO1B;AA4GD,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AAwPD,MAAM,CAAN,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,KAAnB,mBAAmB,QAM9B"}
|
|
@@ -46,8 +46,19 @@ export interface ShippingOption {
|
|
|
46
46
|
* @maxLength 1000
|
|
47
47
|
*/
|
|
48
48
|
title?: string | null;
|
|
49
|
-
/**
|
|
49
|
+
/**
|
|
50
|
+
* Estimated delivery time. For example, "2-3 business days".
|
|
51
|
+
* @maxLength 500
|
|
52
|
+
* @deprecated Estimated delivery time. For example, "2-3 business days".
|
|
53
|
+
* @replacedBy estimated_delivery_time
|
|
54
|
+
* @targetRemovalDate 2025-07-01
|
|
55
|
+
*/
|
|
50
56
|
estimateDeliveryTime?: string | null;
|
|
57
|
+
/**
|
|
58
|
+
* Estimated delivery time. For example, "2-3 business days".
|
|
59
|
+
* @maxLength 500
|
|
60
|
+
*/
|
|
61
|
+
estimatedDeliveryTime?: string | null;
|
|
51
62
|
/**
|
|
52
63
|
* at runtime for a given shipment input, up to one rate (price) should be returned in an option. If more than one rate is valid then we return the lowest one.
|
|
53
64
|
* @minSize 1
|
|
@@ -60,20 +71,20 @@ export interface ShippingOption {
|
|
|
60
71
|
export interface ConditionalRates {
|
|
61
72
|
/**
|
|
62
73
|
* there is an AND logic between all the conditions. Empty conditions means true.
|
|
63
|
-
* For example: weight > 0 and weight <= 10
|
|
64
|
-
* @maxSize 10
|
|
65
|
-
*/
|
|
66
|
-
conditions?: Condition[];
|
|
67
|
-
/**
|
|
68
74
|
* The amount of the rate that will be returned if all conditions are met.
|
|
69
75
|
* @decimalValue options { gte:0, lte:999999999, maxScale:3 }
|
|
70
76
|
*/
|
|
71
77
|
amount?: string;
|
|
78
|
+
/**
|
|
79
|
+
* For example: weight > 0 and weight <= 10
|
|
80
|
+
* @maxSize 10
|
|
81
|
+
*/
|
|
82
|
+
conditions?: Condition[];
|
|
72
83
|
/** When this flag is set to true, multiply the amount by the number of line items passed on the request. */
|
|
73
84
|
multiplyByQuantity?: boolean;
|
|
74
85
|
}
|
|
75
86
|
export interface Condition {
|
|
76
|
-
type?:
|
|
87
|
+
type?: ConditionTypeWithLiterals;
|
|
77
88
|
/**
|
|
78
89
|
* The value in respective to the condition type
|
|
79
90
|
* Weight values should be in the same weight units of the store: KG / LB
|
|
@@ -82,7 +93,8 @@ export interface Condition {
|
|
|
82
93
|
* @decimalValue options { gte:0, lte:999999999, maxScale:6 }
|
|
83
94
|
*/
|
|
84
95
|
value?: string;
|
|
85
|
-
operator
|
|
96
|
+
/** Logical operator. */
|
|
97
|
+
operator?: LogicalOperatorWithLiterals;
|
|
86
98
|
}
|
|
87
99
|
export declare enum ConditionType {
|
|
88
100
|
UNKNOWN_TYPE = "UNKNOWN_TYPE",
|
|
@@ -90,6 +102,8 @@ export declare enum ConditionType {
|
|
|
90
102
|
BY_TOTAL_PRICE = "BY_TOTAL_PRICE",
|
|
91
103
|
BY_TOTAL_QUANTITY = "BY_TOTAL_QUANTITY"
|
|
92
104
|
}
|
|
105
|
+
/** @enumType */
|
|
106
|
+
export type ConditionTypeWithLiterals = ConditionType | 'UNKNOWN_TYPE' | 'BY_TOTAL_WEIGHT' | 'BY_TOTAL_PRICE' | 'BY_TOTAL_QUANTITY';
|
|
93
107
|
export declare enum LogicalOperator {
|
|
94
108
|
UNKNOWN_LOGICAL_OPERATOR_TYPE = "UNKNOWN_LOGICAL_OPERATOR_TYPE",
|
|
95
109
|
EQ = "EQ",
|
|
@@ -98,6 +112,8 @@ export declare enum LogicalOperator {
|
|
|
98
112
|
LT = "LT",
|
|
99
113
|
LTE = "LTE"
|
|
100
114
|
}
|
|
115
|
+
/** @enumType */
|
|
116
|
+
export type LogicalOperatorWithLiterals = LogicalOperator | 'UNKNOWN_LOGICAL_OPERATOR_TYPE' | 'EQ' | 'GT' | 'GTE' | 'LT' | 'LTE';
|
|
101
117
|
export interface ExtendedFields {
|
|
102
118
|
/**
|
|
103
119
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
@@ -180,12 +196,14 @@ export interface Sorting {
|
|
|
180
196
|
*/
|
|
181
197
|
fieldName?: string;
|
|
182
198
|
/** Sort order. */
|
|
183
|
-
order?:
|
|
199
|
+
order?: SortOrderWithLiterals;
|
|
184
200
|
}
|
|
185
201
|
export declare enum SortOrder {
|
|
186
202
|
ASC = "ASC",
|
|
187
203
|
DESC = "DESC"
|
|
188
204
|
}
|
|
205
|
+
/** @enumType */
|
|
206
|
+
export type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
|
|
189
207
|
export interface CursorPaging {
|
|
190
208
|
/**
|
|
191
209
|
* Maximum number of items to return in the results.
|
|
@@ -382,7 +400,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
382
400
|
*/
|
|
383
401
|
appId?: string;
|
|
384
402
|
/** @readonly */
|
|
385
|
-
identityType?:
|
|
403
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
386
404
|
}
|
|
387
405
|
/** @oneof */
|
|
388
406
|
export interface IdentificationDataIdOneOf {
|
|
@@ -414,6 +432,8 @@ export declare enum WebhookIdentityType {
|
|
|
414
432
|
WIX_USER = "WIX_USER",
|
|
415
433
|
APP = "APP"
|
|
416
434
|
}
|
|
435
|
+
/** @enumType */
|
|
436
|
+
export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
417
437
|
export interface BaseEventMetadata {
|
|
418
438
|
/**
|
|
419
439
|
* App instance ID.
|
|
@@ -636,8 +656,19 @@ export interface UpdateShippingOption {
|
|
|
636
656
|
* @maxLength 1000
|
|
637
657
|
*/
|
|
638
658
|
title?: string | null;
|
|
639
|
-
/**
|
|
659
|
+
/**
|
|
660
|
+
* Estimated delivery time. For example, "2-3 business days".
|
|
661
|
+
* @maxLength 500
|
|
662
|
+
* @deprecated Estimated delivery time. For example, "2-3 business days".
|
|
663
|
+
* @replacedBy estimated_delivery_time
|
|
664
|
+
* @targetRemovalDate 2025-07-01
|
|
665
|
+
*/
|
|
640
666
|
estimateDeliveryTime?: string | null;
|
|
667
|
+
/**
|
|
668
|
+
* Estimated delivery time. For example, "2-3 business days".
|
|
669
|
+
* @maxLength 500
|
|
670
|
+
*/
|
|
671
|
+
estimatedDeliveryTime?: string | null;
|
|
641
672
|
/**
|
|
642
673
|
* at runtime for a given shipment input, up to one rate (price) should be returned in an option. If more than one rate is valid then we return the lowest one.
|
|
643
674
|
* @minSize 1
|
|
@@ -713,6 +744,26 @@ export interface ShippingOptionsQueryBuilder {
|
|
|
713
744
|
* @documentationMaturity preview
|
|
714
745
|
*/
|
|
715
746
|
ne: (propertyName: '_id' | 'deliveryRegionId' | 'deliveryRegionIds', value: any) => ShippingOptionsQueryBuilder;
|
|
747
|
+
/** @param propertyName - Property whose value is compared with `value`.
|
|
748
|
+
* @param value - Value to compare against.
|
|
749
|
+
* @documentationMaturity preview
|
|
750
|
+
*/
|
|
751
|
+
ge: (propertyName: '_id' | 'deliveryRegionId', value: any) => ShippingOptionsQueryBuilder;
|
|
752
|
+
/** @param propertyName - Property whose value is compared with `value`.
|
|
753
|
+
* @param value - Value to compare against.
|
|
754
|
+
* @documentationMaturity preview
|
|
755
|
+
*/
|
|
756
|
+
gt: (propertyName: '_id' | 'deliveryRegionId', value: any) => ShippingOptionsQueryBuilder;
|
|
757
|
+
/** @param propertyName - Property whose value is compared with `value`.
|
|
758
|
+
* @param value - Value to compare against.
|
|
759
|
+
* @documentationMaturity preview
|
|
760
|
+
*/
|
|
761
|
+
le: (propertyName: '_id' | 'deliveryRegionId', value: any) => ShippingOptionsQueryBuilder;
|
|
762
|
+
/** @param propertyName - Property whose value is compared with `value`.
|
|
763
|
+
* @param value - Value to compare against.
|
|
764
|
+
* @documentationMaturity preview
|
|
765
|
+
*/
|
|
766
|
+
lt: (propertyName: '_id' | 'deliveryRegionId', value: any) => ShippingOptionsQueryBuilder;
|
|
716
767
|
/** @param propertyName - Property whose value is compared with `string`.
|
|
717
768
|
* @param string - String to compare against. Case-insensitive.
|
|
718
769
|
* @documentationMaturity preview
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ecom-v1-shipping-option-shipping-options.universal.js","sourceRoot":"","sources":["../../../../src/ecom-v1-shipping-option-shipping-options.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAC9D,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,iCAAiC,MAAM,oDAAoD,CAAC;AACxG,aAAa;AACb,OAAO,EAAE,cAAc,EAAE,MAAM,kDAAkD,CAAC;
|
|
1
|
+
{"version":3,"file":"ecom-v1-shipping-option-shipping-options.univers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AwB,EACxB,gBAAwB,EACxB,OAAkE;IASlE,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,qCAAqC,CAAC;QACpD,gBAAgB,EAAE,gBAAgB;QAClC,gBAAgB,EAAE,gBAAgB;QAClC,QAAQ,EAAE,OAAO,EAAE,QAAQ;KAC5B,CAAC,CAAC;IAEH,MAAM,OAAO,GACX,iCAAiC,CAAC,oBAAoB,CAAC,OAAO,CAAC,CAAC;IAElE,WAAW,EAAE,UAAU,EAAE,EAAE,CAAC;IAC5B,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACjD,WAAW,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,CAAC;QAEjC,OAAO,uCAAuC,CAAC,MAAM,CAAC,IAAI,CAAE,CAAC;IAC/D,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,iBAAiB,CACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE;gBACxB,gBAAgB,EAAE,MAAM;gBACxB,gBAAgB,EAAE,MAAM;gBACxB,QAAQ,EAAE,eAAe;aAC1B;YACD,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,kBAAkB,EAAE,kBAAkB,EAAE,SAAS,CAAC,CACpD,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_ecom_shipping-options",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.18",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"fqdn": "wix.ecom.v1.shipping_option"
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
|
-
"falconPackageHash": "
|
|
51
|
+
"falconPackageHash": "8fe1715b33c73a86cefc61d22c07416074882bef301afe61b4b25ad9"
|
|
52
52
|
}
|