@wix/ecom 1.0.690 → 1.0.691
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/ecom",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.691",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"@wix/ecom_back-in-stock-notifications": "1.0.43",
|
|
25
25
|
"@wix/ecom_back-in-stock-settings": "1.0.29",
|
|
26
26
|
"@wix/ecom_cart": "1.0.59",
|
|
27
|
-
"@wix/ecom_checkout": "1.0.
|
|
27
|
+
"@wix/ecom_checkout": "1.0.65",
|
|
28
28
|
"@wix/ecom_checkout-content": "1.0.0",
|
|
29
29
|
"@wix/ecom_checkout-settings": "1.0.43",
|
|
30
30
|
"@wix/ecom_checkout-templates": "1.0.65",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"@wix/ecom_current-cart": "1.0.59",
|
|
33
33
|
"@wix/ecom_custom-triggers": "1.0.13",
|
|
34
34
|
"@wix/ecom_delivery-profile": "1.0.10",
|
|
35
|
-
"@wix/ecom_discount-rules": "1.0.
|
|
35
|
+
"@wix/ecom_discount-rules": "1.0.46",
|
|
36
36
|
"@wix/ecom_discounts-custom-trigger": "1.0.1",
|
|
37
37
|
"@wix/ecom_draft-orders": "1.0.1",
|
|
38
38
|
"@wix/ecom_local-delivery-options": "1.0.2",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"@wix/ecom_pickup-locations": "1.0.1",
|
|
47
47
|
"@wix/ecom_recommendations": "1.0.33",
|
|
48
48
|
"@wix/ecom_shipping-options": "1.0.1",
|
|
49
|
-
"@wix/ecom_shipping-rates": "1.0.
|
|
49
|
+
"@wix/ecom_shipping-rates": "1.0.30",
|
|
50
50
|
"@wix/ecom_shippo-configurations": "1.0.8",
|
|
51
51
|
"@wix/ecom_validations": "1.0.18"
|
|
52
52
|
},
|
|
@@ -72,5 +72,5 @@
|
|
|
72
72
|
"fqdn": ""
|
|
73
73
|
}
|
|
74
74
|
},
|
|
75
|
-
"falconPackageHash": "
|
|
75
|
+
"falconPackageHash": "36aa05c28115b466276317601381b8a580f5d883d80fe93df3954532"
|
|
76
76
|
}
|
|
@@ -364,13 +364,11 @@ interface CustomFilter {
|
|
|
364
364
|
params?: Record<string, any> | null;
|
|
365
365
|
}
|
|
366
366
|
interface And {
|
|
367
|
-
/**
|
|
368
|
-
* List of triggers.
|
|
369
|
-
* Max: 5 triggers.
|
|
370
|
-
*/
|
|
367
|
+
/** List of triggers to have an "AND" operator between their results. */
|
|
371
368
|
triggers?: DiscountTrigger[];
|
|
372
369
|
}
|
|
373
370
|
interface Or {
|
|
371
|
+
/** List of triggers to have an "OR" operator between their results. */
|
|
374
372
|
triggers?: DiscountTrigger[];
|
|
375
373
|
}
|
|
376
374
|
interface Custom {
|
|
@@ -659,6 +657,7 @@ interface Cursors$b {
|
|
|
659
657
|
interface GetAppliedDiscountsRequest {
|
|
660
658
|
/** Line items for which to check for discount rules. */
|
|
661
659
|
lineItems?: LineItem$6[];
|
|
660
|
+
/** Persistent ID that correlates between the various eCommerce elements: cart, checkout, and order. */
|
|
662
661
|
purchaseFlowId?: string | null;
|
|
663
662
|
}
|
|
664
663
|
interface LineItem$6 {
|
|
@@ -767,7 +766,7 @@ interface DomainEvent$j extends DomainEventBodyOneOf$j {
|
|
|
767
766
|
slug?: string;
|
|
768
767
|
/** ID of the entity associated with the event. */
|
|
769
768
|
entityId?: string;
|
|
770
|
-
/** Event timestamp. */
|
|
769
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
771
770
|
eventTime?: Date;
|
|
772
771
|
/**
|
|
773
772
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -796,7 +795,7 @@ interface DomainEventBodyOneOf$j {
|
|
|
796
795
|
interface EntityCreatedEvent$j {
|
|
797
796
|
entity?: string;
|
|
798
797
|
}
|
|
799
|
-
interface
|
|
798
|
+
interface RestoreInfo$i {
|
|
800
799
|
deletedDate?: Date;
|
|
801
800
|
}
|
|
802
801
|
interface EntityUpdatedEvent$j {
|
|
@@ -973,7 +972,7 @@ interface EventMetadata$g extends BaseEventMetadata$g {
|
|
|
973
972
|
slug?: string;
|
|
974
973
|
/** ID of the entity associated with the event. */
|
|
975
974
|
entityId?: string;
|
|
976
|
-
/** Event timestamp. */
|
|
975
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
977
976
|
eventTime?: Date;
|
|
978
977
|
/**
|
|
979
978
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -1181,7 +1180,6 @@ type context$m_TriggerType = TriggerType;
|
|
|
1181
1180
|
declare const context$m_TriggerType: typeof TriggerType;
|
|
1182
1181
|
type context$m_Type = Type;
|
|
1183
1182
|
declare const context$m_Type: typeof Type;
|
|
1184
|
-
type context$m_UndeleteInfo = UndeleteInfo;
|
|
1185
1183
|
type context$m_UpdateDiscountRule = UpdateDiscountRule;
|
|
1186
1184
|
type context$m_UpdateDiscountRuleRequest = UpdateDiscountRuleRequest;
|
|
1187
1185
|
type context$m_UpdateDiscountRuleResponse = UpdateDiscountRuleResponse;
|
|
@@ -1195,7 +1193,7 @@ declare const context$m_onDiscountRuleUpdated: typeof onDiscountRuleUpdated;
|
|
|
1195
1193
|
declare const context$m_queryDiscountRules: typeof queryDiscountRules;
|
|
1196
1194
|
declare const context$m_updateDiscountRule: typeof updateDiscountRule;
|
|
1197
1195
|
declare namespace context$m {
|
|
1198
|
-
export { type ActionEvent$j as ActionEvent, type context$m_ActiveTimeInfo as ActiveTimeInfo, type context$m_And as And, type AppliedDiscount$6 as AppliedDiscount, type context$m_AppliedDiscountRule as AppliedDiscountRule, context$m_AppliedSubjectType as AppliedSubjectType, type BaseEventMetadata$g as BaseEventMetadata, type context$m_BuyXGetYInfo as BuyXGetYInfo, type context$m_CatalogItemFilter as CatalogItemFilter, type CatalogReference$8 as CatalogReference, type context$m_CreateDiscountRuleRequest as CreateDiscountRuleRequest, type context$m_CreateDiscountRuleResponse as CreateDiscountRuleResponse, type context$m_CreateDiscountRuleResponseNonNullableFields as CreateDiscountRuleResponseNonNullableFields, type CursorPaging$b as CursorPaging, type Cursors$b as Cursors, type context$m_Custom as Custom, type context$m_CustomFilter as CustomFilter, type context$m_CustomerBuy as CustomerBuy, type context$m_CustomerBuyConditionOneOf as CustomerBuyConditionOneOf, type context$m_CustomerGet as CustomerGet, type context$m_DeleteDiscountRuleRequest as DeleteDiscountRuleRequest, type context$m_DeleteDiscountRuleResponse as DeleteDiscountRuleResponse, type Discount$3 as Discount, type context$m_DiscountDiscountOneOf as DiscountDiscountOneOf, type DiscountRule$6 as DiscountRule, type context$m_DiscountRuleCreatedEnvelope as DiscountRuleCreatedEnvelope, type context$m_DiscountRuleDeletedEnvelope as DiscountRuleDeletedEnvelope, type DiscountRuleName$6 as DiscountRuleName, type DiscountRuleNonNullableFields$5 as DiscountRuleNonNullableFields, type context$m_DiscountRuleUpdatedEnvelope as DiscountRuleUpdatedEnvelope, type context$m_DiscountRuleUsageLimitReached as DiscountRuleUsageLimitReached, type context$m_DiscountRulesQueryBuilder as DiscountRulesQueryBuilder, type context$m_DiscountRulesQueryResult as DiscountRulesQueryResult, type context$m_DiscountSettings as DiscountSettings, type context$m_DiscountTrigger as DiscountTrigger, type context$m_DiscountTriggerTriggerOneOf as DiscountTriggerTriggerOneOf, DiscountType$6 as DiscountType, type context$m_Discounts as Discounts, type DomainEvent$j as DomainEvent, type DomainEventBodyOneOf$j as DomainEventBodyOneOf, type Empty$e as Empty, type EntityCreatedEvent$j as EntityCreatedEvent, type EntityDeletedEvent$j as EntityDeletedEvent, type EntityUpdatedEvent$j as EntityUpdatedEvent, type EventMetadata$g as EventMetadata, type ExtendedFields$a as ExtendedFields, type context$m_GetAppliedDiscountsRequest as GetAppliedDiscountsRequest, type context$m_GetAppliedDiscountsResponse as GetAppliedDiscountsResponse, type context$m_GetDiscountRuleRequest as GetDiscountRuleRequest, type context$m_GetDiscountRuleResponse as GetDiscountRuleResponse, type context$m_GetDiscountRuleResponseNonNullableFields as GetDiscountRuleResponseNonNullableFields, type IdentificationData$j as IdentificationData, type IdentificationDataIdOneOf$j as IdentificationDataIdOneOf, type context$m_ItemQuantityRange as ItemQuantityRange, type LineItem$6 as LineItem, type MessageEnvelope$j as MessageEnvelope, type MultiCurrencyPrice$5 as MultiCurrencyPrice, type context$m_Or as Or, type PlatformPaging$2 as PlatformPaging, type PlatformPagingMetadata$2 as PlatformPagingMetadata, type PlatformQuery$2 as PlatformQuery, type PlatformQueryPagingMethodOneOf$2 as PlatformQueryPagingMethodOneOf, type context$m_QueryDiscountRulesRequest as QueryDiscountRulesRequest, type context$m_QueryDiscountRulesResponse as QueryDiscountRulesResponse, type context$m_QueryDiscountRulesResponseNonNullableFields as QueryDiscountRulesResponseNonNullableFields, type Scope$4 as Scope, type context$m_ScopeScopeItemsOneOf as ScopeScopeItemsOneOf, context$m_ScopeType as ScopeType, SortOrder$b as SortOrder, type Sorting$b as Sorting, type context$m_SpecificItemsInfo as SpecificItemsInfo, Status$4 as Status, type context$m_SubtotalRange as SubtotalRange, context$m_TriggerType as TriggerType, context$m_Type as Type, type context$
|
|
1196
|
+
export { type ActionEvent$j as ActionEvent, type context$m_ActiveTimeInfo as ActiveTimeInfo, type context$m_And as And, type AppliedDiscount$6 as AppliedDiscount, type context$m_AppliedDiscountRule as AppliedDiscountRule, context$m_AppliedSubjectType as AppliedSubjectType, type BaseEventMetadata$g as BaseEventMetadata, type context$m_BuyXGetYInfo as BuyXGetYInfo, type context$m_CatalogItemFilter as CatalogItemFilter, type CatalogReference$8 as CatalogReference, type context$m_CreateDiscountRuleRequest as CreateDiscountRuleRequest, type context$m_CreateDiscountRuleResponse as CreateDiscountRuleResponse, type context$m_CreateDiscountRuleResponseNonNullableFields as CreateDiscountRuleResponseNonNullableFields, type CursorPaging$b as CursorPaging, type Cursors$b as Cursors, type context$m_Custom as Custom, type context$m_CustomFilter as CustomFilter, type context$m_CustomerBuy as CustomerBuy, type context$m_CustomerBuyConditionOneOf as CustomerBuyConditionOneOf, type context$m_CustomerGet as CustomerGet, type context$m_DeleteDiscountRuleRequest as DeleteDiscountRuleRequest, type context$m_DeleteDiscountRuleResponse as DeleteDiscountRuleResponse, type Discount$3 as Discount, type context$m_DiscountDiscountOneOf as DiscountDiscountOneOf, type DiscountRule$6 as DiscountRule, type context$m_DiscountRuleCreatedEnvelope as DiscountRuleCreatedEnvelope, type context$m_DiscountRuleDeletedEnvelope as DiscountRuleDeletedEnvelope, type DiscountRuleName$6 as DiscountRuleName, type DiscountRuleNonNullableFields$5 as DiscountRuleNonNullableFields, type context$m_DiscountRuleUpdatedEnvelope as DiscountRuleUpdatedEnvelope, type context$m_DiscountRuleUsageLimitReached as DiscountRuleUsageLimitReached, type context$m_DiscountRulesQueryBuilder as DiscountRulesQueryBuilder, type context$m_DiscountRulesQueryResult as DiscountRulesQueryResult, type context$m_DiscountSettings as DiscountSettings, type context$m_DiscountTrigger as DiscountTrigger, type context$m_DiscountTriggerTriggerOneOf as DiscountTriggerTriggerOneOf, DiscountType$6 as DiscountType, type context$m_Discounts as Discounts, type DomainEvent$j as DomainEvent, type DomainEventBodyOneOf$j as DomainEventBodyOneOf, type Empty$e as Empty, type EntityCreatedEvent$j as EntityCreatedEvent, type EntityDeletedEvent$j as EntityDeletedEvent, type EntityUpdatedEvent$j as EntityUpdatedEvent, type EventMetadata$g as EventMetadata, type ExtendedFields$a as ExtendedFields, type context$m_GetAppliedDiscountsRequest as GetAppliedDiscountsRequest, type context$m_GetAppliedDiscountsResponse as GetAppliedDiscountsResponse, type context$m_GetDiscountRuleRequest as GetDiscountRuleRequest, type context$m_GetDiscountRuleResponse as GetDiscountRuleResponse, type context$m_GetDiscountRuleResponseNonNullableFields as GetDiscountRuleResponseNonNullableFields, type IdentificationData$j as IdentificationData, type IdentificationDataIdOneOf$j as IdentificationDataIdOneOf, type context$m_ItemQuantityRange as ItemQuantityRange, type LineItem$6 as LineItem, type MessageEnvelope$j as MessageEnvelope, type MultiCurrencyPrice$5 as MultiCurrencyPrice, type context$m_Or as Or, type PlatformPaging$2 as PlatformPaging, type PlatformPagingMetadata$2 as PlatformPagingMetadata, type PlatformQuery$2 as PlatformQuery, type PlatformQueryPagingMethodOneOf$2 as PlatformQueryPagingMethodOneOf, type context$m_QueryDiscountRulesRequest as QueryDiscountRulesRequest, type context$m_QueryDiscountRulesResponse as QueryDiscountRulesResponse, type context$m_QueryDiscountRulesResponseNonNullableFields as QueryDiscountRulesResponseNonNullableFields, type RestoreInfo$i as RestoreInfo, type Scope$4 as Scope, type context$m_ScopeScopeItemsOneOf as ScopeScopeItemsOneOf, context$m_ScopeType as ScopeType, SortOrder$b as SortOrder, type Sorting$b as Sorting, type context$m_SpecificItemsInfo as SpecificItemsInfo, Status$4 as Status, type context$m_SubtotalRange as SubtotalRange, context$m_TriggerType as TriggerType, context$m_Type as Type, type context$m_UpdateDiscountRule as UpdateDiscountRule, type context$m_UpdateDiscountRuleRequest as UpdateDiscountRuleRequest, type context$m_UpdateDiscountRuleResponse as UpdateDiscountRuleResponse, type context$m_UpdateDiscountRuleResponseNonNullableFields as UpdateDiscountRuleResponseNonNullableFields, WebhookIdentityType$j as WebhookIdentityType, context$m_createDiscountRule as createDiscountRule, context$m_deleteDiscountRule as deleteDiscountRule, context$m_getDiscountRule as getDiscountRule, context$m_onDiscountRuleCreated as onDiscountRuleCreated, context$m_onDiscountRuleDeleted as onDiscountRuleDeleted, context$m_onDiscountRuleUpdated as onDiscountRuleUpdated, context$m_queryDiscountRules as queryDiscountRules, context$m_updateDiscountRule as updateDiscountRule };
|
|
1199
1197
|
}
|
|
1200
1198
|
|
|
1201
1199
|
interface Invoice {
|
|
@@ -364,13 +364,11 @@ interface CustomFilter {
|
|
|
364
364
|
params?: Record<string, any> | null;
|
|
365
365
|
}
|
|
366
366
|
interface And {
|
|
367
|
-
/**
|
|
368
|
-
* List of triggers.
|
|
369
|
-
* Max: 5 triggers.
|
|
370
|
-
*/
|
|
367
|
+
/** List of triggers to have an "AND" operator between their results. */
|
|
371
368
|
triggers?: DiscountTrigger[];
|
|
372
369
|
}
|
|
373
370
|
interface Or {
|
|
371
|
+
/** List of triggers to have an "OR" operator between their results. */
|
|
374
372
|
triggers?: DiscountTrigger[];
|
|
375
373
|
}
|
|
376
374
|
interface Custom {
|
|
@@ -659,6 +657,7 @@ interface Cursors$b {
|
|
|
659
657
|
interface GetAppliedDiscountsRequest {
|
|
660
658
|
/** Line items for which to check for discount rules. */
|
|
661
659
|
lineItems?: LineItem$6[];
|
|
660
|
+
/** Persistent ID that correlates between the various eCommerce elements: cart, checkout, and order. */
|
|
662
661
|
purchaseFlowId?: string | null;
|
|
663
662
|
}
|
|
664
663
|
interface LineItem$6 {
|
|
@@ -767,7 +766,7 @@ interface DomainEvent$j extends DomainEventBodyOneOf$j {
|
|
|
767
766
|
slug?: string;
|
|
768
767
|
/** ID of the entity associated with the event. */
|
|
769
768
|
entityId?: string;
|
|
770
|
-
/** Event timestamp. */
|
|
769
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
771
770
|
eventTime?: Date;
|
|
772
771
|
/**
|
|
773
772
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -796,7 +795,7 @@ interface DomainEventBodyOneOf$j {
|
|
|
796
795
|
interface EntityCreatedEvent$j {
|
|
797
796
|
entity?: string;
|
|
798
797
|
}
|
|
799
|
-
interface
|
|
798
|
+
interface RestoreInfo$i {
|
|
800
799
|
deletedDate?: Date;
|
|
801
800
|
}
|
|
802
801
|
interface EntityUpdatedEvent$j {
|
|
@@ -973,7 +972,7 @@ interface EventMetadata$g extends BaseEventMetadata$g {
|
|
|
973
972
|
slug?: string;
|
|
974
973
|
/** ID of the entity associated with the event. */
|
|
975
974
|
entityId?: string;
|
|
976
|
-
/** Event timestamp. */
|
|
975
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
977
976
|
eventTime?: Date;
|
|
978
977
|
/**
|
|
979
978
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -1181,7 +1180,6 @@ type index_d$m_TriggerType = TriggerType;
|
|
|
1181
1180
|
declare const index_d$m_TriggerType: typeof TriggerType;
|
|
1182
1181
|
type index_d$m_Type = Type;
|
|
1183
1182
|
declare const index_d$m_Type: typeof Type;
|
|
1184
|
-
type index_d$m_UndeleteInfo = UndeleteInfo;
|
|
1185
1183
|
type index_d$m_UpdateDiscountRule = UpdateDiscountRule;
|
|
1186
1184
|
type index_d$m_UpdateDiscountRuleRequest = UpdateDiscountRuleRequest;
|
|
1187
1185
|
type index_d$m_UpdateDiscountRuleResponse = UpdateDiscountRuleResponse;
|
|
@@ -1195,7 +1193,7 @@ declare const index_d$m_onDiscountRuleUpdated: typeof onDiscountRuleUpdated;
|
|
|
1195
1193
|
declare const index_d$m_queryDiscountRules: typeof queryDiscountRules;
|
|
1196
1194
|
declare const index_d$m_updateDiscountRule: typeof updateDiscountRule;
|
|
1197
1195
|
declare namespace index_d$m {
|
|
1198
|
-
export { type ActionEvent$j as ActionEvent, type index_d$m_ActiveTimeInfo as ActiveTimeInfo, type index_d$m_And as And, type AppliedDiscount$6 as AppliedDiscount, type index_d$m_AppliedDiscountRule as AppliedDiscountRule, index_d$m_AppliedSubjectType as AppliedSubjectType, type BaseEventMetadata$g as BaseEventMetadata, type index_d$m_BuyXGetYInfo as BuyXGetYInfo, type index_d$m_CatalogItemFilter as CatalogItemFilter, type CatalogReference$8 as CatalogReference, type index_d$m_CreateDiscountRuleRequest as CreateDiscountRuleRequest, type index_d$m_CreateDiscountRuleResponse as CreateDiscountRuleResponse, type index_d$m_CreateDiscountRuleResponseNonNullableFields as CreateDiscountRuleResponseNonNullableFields, type CursorPaging$b as CursorPaging, type Cursors$b as Cursors, type index_d$m_Custom as Custom, type index_d$m_CustomFilter as CustomFilter, type index_d$m_CustomerBuy as CustomerBuy, type index_d$m_CustomerBuyConditionOneOf as CustomerBuyConditionOneOf, type index_d$m_CustomerGet as CustomerGet, type index_d$m_DeleteDiscountRuleRequest as DeleteDiscountRuleRequest, type index_d$m_DeleteDiscountRuleResponse as DeleteDiscountRuleResponse, type Discount$3 as Discount, type index_d$m_DiscountDiscountOneOf as DiscountDiscountOneOf, type DiscountRule$6 as DiscountRule, type index_d$m_DiscountRuleCreatedEnvelope as DiscountRuleCreatedEnvelope, type index_d$m_DiscountRuleDeletedEnvelope as DiscountRuleDeletedEnvelope, type DiscountRuleName$6 as DiscountRuleName, type DiscountRuleNonNullableFields$5 as DiscountRuleNonNullableFields, type index_d$m_DiscountRuleUpdatedEnvelope as DiscountRuleUpdatedEnvelope, type index_d$m_DiscountRuleUsageLimitReached as DiscountRuleUsageLimitReached, type index_d$m_DiscountRulesQueryBuilder as DiscountRulesQueryBuilder, type index_d$m_DiscountRulesQueryResult as DiscountRulesQueryResult, type index_d$m_DiscountSettings as DiscountSettings, type index_d$m_DiscountTrigger as DiscountTrigger, type index_d$m_DiscountTriggerTriggerOneOf as DiscountTriggerTriggerOneOf, DiscountType$6 as DiscountType, type index_d$m_Discounts as Discounts, type DomainEvent$j as DomainEvent, type DomainEventBodyOneOf$j as DomainEventBodyOneOf, type Empty$e as Empty, type EntityCreatedEvent$j as EntityCreatedEvent, type EntityDeletedEvent$j as EntityDeletedEvent, type EntityUpdatedEvent$j as EntityUpdatedEvent, type EventMetadata$g as EventMetadata, type ExtendedFields$a as ExtendedFields, type index_d$m_GetAppliedDiscountsRequest as GetAppliedDiscountsRequest, type index_d$m_GetAppliedDiscountsResponse as GetAppliedDiscountsResponse, type index_d$m_GetDiscountRuleRequest as GetDiscountRuleRequest, type index_d$m_GetDiscountRuleResponse as GetDiscountRuleResponse, type index_d$m_GetDiscountRuleResponseNonNullableFields as GetDiscountRuleResponseNonNullableFields, type IdentificationData$j as IdentificationData, type IdentificationDataIdOneOf$j as IdentificationDataIdOneOf, type index_d$m_ItemQuantityRange as ItemQuantityRange, type LineItem$6 as LineItem, type MessageEnvelope$j as MessageEnvelope, type MultiCurrencyPrice$5 as MultiCurrencyPrice, type index_d$m_Or as Or, type PlatformPaging$2 as PlatformPaging, type PlatformPagingMetadata$2 as PlatformPagingMetadata, type PlatformQuery$2 as PlatformQuery, type PlatformQueryPagingMethodOneOf$2 as PlatformQueryPagingMethodOneOf, type index_d$m_QueryDiscountRulesRequest as QueryDiscountRulesRequest, type index_d$m_QueryDiscountRulesResponse as QueryDiscountRulesResponse, type index_d$m_QueryDiscountRulesResponseNonNullableFields as QueryDiscountRulesResponseNonNullableFields, type Scope$4 as Scope, type index_d$m_ScopeScopeItemsOneOf as ScopeScopeItemsOneOf, index_d$m_ScopeType as ScopeType, SortOrder$b as SortOrder, type Sorting$b as Sorting, type index_d$m_SpecificItemsInfo as SpecificItemsInfo, Status$4 as Status, type index_d$m_SubtotalRange as SubtotalRange, index_d$m_TriggerType as TriggerType, index_d$m_Type as Type, type index_d$
|
|
1196
|
+
export { type ActionEvent$j as ActionEvent, type index_d$m_ActiveTimeInfo as ActiveTimeInfo, type index_d$m_And as And, type AppliedDiscount$6 as AppliedDiscount, type index_d$m_AppliedDiscountRule as AppliedDiscountRule, index_d$m_AppliedSubjectType as AppliedSubjectType, type BaseEventMetadata$g as BaseEventMetadata, type index_d$m_BuyXGetYInfo as BuyXGetYInfo, type index_d$m_CatalogItemFilter as CatalogItemFilter, type CatalogReference$8 as CatalogReference, type index_d$m_CreateDiscountRuleRequest as CreateDiscountRuleRequest, type index_d$m_CreateDiscountRuleResponse as CreateDiscountRuleResponse, type index_d$m_CreateDiscountRuleResponseNonNullableFields as CreateDiscountRuleResponseNonNullableFields, type CursorPaging$b as CursorPaging, type Cursors$b as Cursors, type index_d$m_Custom as Custom, type index_d$m_CustomFilter as CustomFilter, type index_d$m_CustomerBuy as CustomerBuy, type index_d$m_CustomerBuyConditionOneOf as CustomerBuyConditionOneOf, type index_d$m_CustomerGet as CustomerGet, type index_d$m_DeleteDiscountRuleRequest as DeleteDiscountRuleRequest, type index_d$m_DeleteDiscountRuleResponse as DeleteDiscountRuleResponse, type Discount$3 as Discount, type index_d$m_DiscountDiscountOneOf as DiscountDiscountOneOf, type DiscountRule$6 as DiscountRule, type index_d$m_DiscountRuleCreatedEnvelope as DiscountRuleCreatedEnvelope, type index_d$m_DiscountRuleDeletedEnvelope as DiscountRuleDeletedEnvelope, type DiscountRuleName$6 as DiscountRuleName, type DiscountRuleNonNullableFields$5 as DiscountRuleNonNullableFields, type index_d$m_DiscountRuleUpdatedEnvelope as DiscountRuleUpdatedEnvelope, type index_d$m_DiscountRuleUsageLimitReached as DiscountRuleUsageLimitReached, type index_d$m_DiscountRulesQueryBuilder as DiscountRulesQueryBuilder, type index_d$m_DiscountRulesQueryResult as DiscountRulesQueryResult, type index_d$m_DiscountSettings as DiscountSettings, type index_d$m_DiscountTrigger as DiscountTrigger, type index_d$m_DiscountTriggerTriggerOneOf as DiscountTriggerTriggerOneOf, DiscountType$6 as DiscountType, type index_d$m_Discounts as Discounts, type DomainEvent$j as DomainEvent, type DomainEventBodyOneOf$j as DomainEventBodyOneOf, type Empty$e as Empty, type EntityCreatedEvent$j as EntityCreatedEvent, type EntityDeletedEvent$j as EntityDeletedEvent, type EntityUpdatedEvent$j as EntityUpdatedEvent, type EventMetadata$g as EventMetadata, type ExtendedFields$a as ExtendedFields, type index_d$m_GetAppliedDiscountsRequest as GetAppliedDiscountsRequest, type index_d$m_GetAppliedDiscountsResponse as GetAppliedDiscountsResponse, type index_d$m_GetDiscountRuleRequest as GetDiscountRuleRequest, type index_d$m_GetDiscountRuleResponse as GetDiscountRuleResponse, type index_d$m_GetDiscountRuleResponseNonNullableFields as GetDiscountRuleResponseNonNullableFields, type IdentificationData$j as IdentificationData, type IdentificationDataIdOneOf$j as IdentificationDataIdOneOf, type index_d$m_ItemQuantityRange as ItemQuantityRange, type LineItem$6 as LineItem, type MessageEnvelope$j as MessageEnvelope, type MultiCurrencyPrice$5 as MultiCurrencyPrice, type index_d$m_Or as Or, type PlatformPaging$2 as PlatformPaging, type PlatformPagingMetadata$2 as PlatformPagingMetadata, type PlatformQuery$2 as PlatformQuery, type PlatformQueryPagingMethodOneOf$2 as PlatformQueryPagingMethodOneOf, type index_d$m_QueryDiscountRulesRequest as QueryDiscountRulesRequest, type index_d$m_QueryDiscountRulesResponse as QueryDiscountRulesResponse, type index_d$m_QueryDiscountRulesResponseNonNullableFields as QueryDiscountRulesResponseNonNullableFields, type RestoreInfo$i as RestoreInfo, type Scope$4 as Scope, type index_d$m_ScopeScopeItemsOneOf as ScopeScopeItemsOneOf, index_d$m_ScopeType as ScopeType, SortOrder$b as SortOrder, type Sorting$b as Sorting, type index_d$m_SpecificItemsInfo as SpecificItemsInfo, Status$4 as Status, type index_d$m_SubtotalRange as SubtotalRange, index_d$m_TriggerType as TriggerType, index_d$m_Type as Type, type index_d$m_UpdateDiscountRule as UpdateDiscountRule, type index_d$m_UpdateDiscountRuleRequest as UpdateDiscountRuleRequest, type index_d$m_UpdateDiscountRuleResponse as UpdateDiscountRuleResponse, type index_d$m_UpdateDiscountRuleResponseNonNullableFields as UpdateDiscountRuleResponseNonNullableFields, WebhookIdentityType$j as WebhookIdentityType, index_d$m_createDiscountRule as createDiscountRule, index_d$m_deleteDiscountRule as deleteDiscountRule, index_d$m_getDiscountRule as getDiscountRule, index_d$m_onDiscountRuleCreated as onDiscountRuleCreated, index_d$m_onDiscountRuleDeleted as onDiscountRuleDeleted, index_d$m_onDiscountRuleUpdated as onDiscountRuleUpdated, index_d$m_queryDiscountRules as queryDiscountRules, index_d$m_updateDiscountRule as updateDiscountRule };
|
|
1199
1197
|
}
|
|
1200
1198
|
|
|
1201
1199
|
interface Invoice {
|
|
@@ -312,13 +312,11 @@ interface CustomFilter$1 {
|
|
|
312
312
|
params?: Record<string, any> | null;
|
|
313
313
|
}
|
|
314
314
|
interface And$1 {
|
|
315
|
-
/**
|
|
316
|
-
* List of triggers.
|
|
317
|
-
* Max: 5 triggers.
|
|
318
|
-
*/
|
|
315
|
+
/** List of triggers to have an "AND" operator between their results. */
|
|
319
316
|
triggers?: DiscountTrigger$1[];
|
|
320
317
|
}
|
|
321
318
|
interface Or$1 {
|
|
319
|
+
/** List of triggers to have an "OR" operator between their results. */
|
|
322
320
|
triggers?: DiscountTrigger$1[];
|
|
323
321
|
}
|
|
324
322
|
interface Custom$1 {
|
|
@@ -766,13 +764,11 @@ interface CustomFilter {
|
|
|
766
764
|
params?: Record<string, any> | null;
|
|
767
765
|
}
|
|
768
766
|
interface And {
|
|
769
|
-
/**
|
|
770
|
-
* List of triggers.
|
|
771
|
-
* Max: 5 triggers.
|
|
772
|
-
*/
|
|
767
|
+
/** List of triggers to have an "AND" operator between their results. */
|
|
773
768
|
triggers?: DiscountTrigger[];
|
|
774
769
|
}
|
|
775
770
|
interface Or {
|
|
771
|
+
/** List of triggers to have an "OR" operator between their results. */
|
|
776
772
|
triggers?: DiscountTrigger[];
|
|
777
773
|
}
|
|
778
774
|
interface Custom {
|
|
@@ -424,7 +424,11 @@ interface IdentificationDataIdOneOf$4 {
|
|
|
424
424
|
}
|
|
425
425
|
|
|
426
426
|
/**
|
|
427
|
-
* Postal Code was missing from request
|
|
427
|
+
* Postal Code was missing from request.
|
|
428
|
+
This error should be returned when the postal code is missing from the request and it is impossible to calculate the shipping rates.
|
|
429
|
+
If it is returned in cases where the postal code exists, it will be ignored and considered as a bug in the carrier's implementation.
|
|
430
|
+
Error data is optional. If provided, it will appear in the monitoring system but will not be exposed to the user.
|
|
431
|
+
Zipcode errors may block the user from proceeding to checkout, thus it is important to use it only if there is no other way to proceed.
|
|
428
432
|
*/
|
|
429
433
|
declare class MissingPostalCodeWixError extends Error {
|
|
430
434
|
/** @hidden */
|
|
@@ -437,15 +441,17 @@ declare class MissingPostalCodeWixError extends Error {
|
|
|
437
441
|
name: string;
|
|
438
442
|
/** @hidden */
|
|
439
443
|
errorSchemaName: string;
|
|
440
|
-
/** @hidden */
|
|
441
|
-
description: string;
|
|
442
444
|
data: MissingPostalCodeError;
|
|
443
445
|
constructor(data: MissingPostalCodeError);
|
|
444
446
|
/** @hidden */
|
|
445
447
|
static readonly __type = "wix_spi_error";
|
|
446
448
|
}
|
|
447
449
|
/**
|
|
448
|
-
* Postal Code was invalid
|
|
450
|
+
* Postal Code was invalid.
|
|
451
|
+
This error should be returned when the postal code is invalid and it is impossible to calculate the shipping rates.
|
|
452
|
+
If it is returned in cases where the postal code is valid, it will be ignored and considered as a bug in the carrier's implementation.
|
|
453
|
+
Error data is optional. If provided, it will appear in the monitoring system but will not be exposed to the user.
|
|
454
|
+
Zipcode errors may block the user from proceeding to checkout, thus it is important to use it only if there is no other way to proceed.
|
|
449
455
|
*/
|
|
450
456
|
declare class InvalidPostalCodeWixError extends Error {
|
|
451
457
|
/** @hidden */
|
|
@@ -458,15 +464,17 @@ declare class InvalidPostalCodeWixError extends Error {
|
|
|
458
464
|
name: string;
|
|
459
465
|
/** @hidden */
|
|
460
466
|
errorSchemaName: string;
|
|
461
|
-
/** @hidden */
|
|
462
|
-
description: string;
|
|
463
467
|
data: InvalidPostalCodeError;
|
|
464
468
|
constructor(data: InvalidPostalCodeError);
|
|
465
469
|
/** @hidden */
|
|
466
470
|
static readonly __type = "wix_spi_error";
|
|
467
471
|
}
|
|
468
472
|
/**
|
|
469
|
-
* The provided address was
|
|
473
|
+
* The provided address was invalid.
|
|
474
|
+
This error is to indicate the system that more detailed information is needed (such as subdivision) in order to provide shipping rates.
|
|
475
|
+
This may happen in early stages of the purchase flow, where not all shipping address information has been collected yet.
|
|
476
|
+
Client, such as cart page, that receive this error can use it to customise the flow to ask for more detailed address information in order to get valid shipping rates.
|
|
477
|
+
Data is mandatory and should include the invalid fields in the address. for example: "ShippingDestination.subdivision".
|
|
470
478
|
*/
|
|
471
479
|
declare class InvalidAddressWixError extends Error {
|
|
472
480
|
/** @hidden */
|
|
@@ -479,15 +487,17 @@ declare class InvalidAddressWixError extends Error {
|
|
|
479
487
|
name: string;
|
|
480
488
|
/** @hidden */
|
|
481
489
|
errorSchemaName: string;
|
|
482
|
-
/** @hidden */
|
|
483
|
-
description: string;
|
|
484
490
|
data: InvalidAddressError;
|
|
485
491
|
constructor(data: InvalidAddressError);
|
|
486
492
|
/** @hidden */
|
|
487
493
|
static readonly __type = "wix_spi_error";
|
|
488
494
|
}
|
|
489
495
|
/**
|
|
490
|
-
*
|
|
496
|
+
* Generic error for shipping rates calculation.
|
|
497
|
+
This error should be returned when there is a generic error in the shipping rates calculation that is not covered by the other errors.
|
|
498
|
+
Since this error is generic it is highly encouraged to provide error data that will help in debugging the issue.
|
|
499
|
+
If error data is provided, it will appear in the monitoring system but will not be exposed to the user.
|
|
500
|
+
This error may block the user from proceeding to checkout, thus it is important to use it only if there is no other way to proceed.
|
|
491
501
|
*/
|
|
492
502
|
declare class GenericShippingRatesWixError extends Error {
|
|
493
503
|
/** @hidden */
|
|
@@ -500,8 +510,6 @@ declare class GenericShippingRatesWixError extends Error {
|
|
|
500
510
|
name: string;
|
|
501
511
|
/** @hidden */
|
|
502
512
|
errorSchemaName: string;
|
|
503
|
-
/** @hidden */
|
|
504
|
-
description: string;
|
|
505
513
|
data: GenericShippingRatesError;
|
|
506
514
|
constructor(data: GenericShippingRatesError);
|
|
507
515
|
/** @hidden */
|
|
@@ -460,7 +460,11 @@ declare const provideHandlers$4: ServicePluginDefinition<{
|
|
|
460
460
|
}>;
|
|
461
461
|
|
|
462
462
|
/**
|
|
463
|
-
* Postal Code was missing from request
|
|
463
|
+
* Postal Code was missing from request.
|
|
464
|
+
This error should be returned when the postal code is missing from the request and it is impossible to calculate the shipping rates.
|
|
465
|
+
If it is returned in cases where the postal code exists, it will be ignored and considered as a bug in the carrier's implementation.
|
|
466
|
+
Error data is optional. If provided, it will appear in the monitoring system but will not be exposed to the user.
|
|
467
|
+
Zipcode errors may block the user from proceeding to checkout, thus it is important to use it only if there is no other way to proceed.
|
|
464
468
|
*/
|
|
465
469
|
declare class MissingPostalCodeWixError extends Error {
|
|
466
470
|
/** @hidden */
|
|
@@ -473,15 +477,17 @@ declare class MissingPostalCodeWixError extends Error {
|
|
|
473
477
|
name: string;
|
|
474
478
|
/** @hidden */
|
|
475
479
|
errorSchemaName: string;
|
|
476
|
-
/** @hidden */
|
|
477
|
-
description: string;
|
|
478
480
|
data: MissingPostalCodeError;
|
|
479
481
|
constructor(data: MissingPostalCodeError);
|
|
480
482
|
/** @hidden */
|
|
481
483
|
static readonly __type = "wix_spi_error";
|
|
482
484
|
}
|
|
483
485
|
/**
|
|
484
|
-
* Postal Code was invalid
|
|
486
|
+
* Postal Code was invalid.
|
|
487
|
+
This error should be returned when the postal code is invalid and it is impossible to calculate the shipping rates.
|
|
488
|
+
If it is returned in cases where the postal code is valid, it will be ignored and considered as a bug in the carrier's implementation.
|
|
489
|
+
Error data is optional. If provided, it will appear in the monitoring system but will not be exposed to the user.
|
|
490
|
+
Zipcode errors may block the user from proceeding to checkout, thus it is important to use it only if there is no other way to proceed.
|
|
485
491
|
*/
|
|
486
492
|
declare class InvalidPostalCodeWixError extends Error {
|
|
487
493
|
/** @hidden */
|
|
@@ -494,15 +500,17 @@ declare class InvalidPostalCodeWixError extends Error {
|
|
|
494
500
|
name: string;
|
|
495
501
|
/** @hidden */
|
|
496
502
|
errorSchemaName: string;
|
|
497
|
-
/** @hidden */
|
|
498
|
-
description: string;
|
|
499
503
|
data: InvalidPostalCodeError;
|
|
500
504
|
constructor(data: InvalidPostalCodeError);
|
|
501
505
|
/** @hidden */
|
|
502
506
|
static readonly __type = "wix_spi_error";
|
|
503
507
|
}
|
|
504
508
|
/**
|
|
505
|
-
* The provided address was
|
|
509
|
+
* The provided address was invalid.
|
|
510
|
+
This error is to indicate the system that more detailed information is needed (such as subdivision) in order to provide shipping rates.
|
|
511
|
+
This may happen in early stages of the purchase flow, where not all shipping address information has been collected yet.
|
|
512
|
+
Client, such as cart page, that receive this error can use it to customise the flow to ask for more detailed address information in order to get valid shipping rates.
|
|
513
|
+
Data is mandatory and should include the invalid fields in the address. for example: "ShippingDestination.subdivision".
|
|
506
514
|
*/
|
|
507
515
|
declare class InvalidAddressWixError extends Error {
|
|
508
516
|
/** @hidden */
|
|
@@ -515,15 +523,17 @@ declare class InvalidAddressWixError extends Error {
|
|
|
515
523
|
name: string;
|
|
516
524
|
/** @hidden */
|
|
517
525
|
errorSchemaName: string;
|
|
518
|
-
/** @hidden */
|
|
519
|
-
description: string;
|
|
520
526
|
data: InvalidAddressError;
|
|
521
527
|
constructor(data: InvalidAddressError);
|
|
522
528
|
/** @hidden */
|
|
523
529
|
static readonly __type = "wix_spi_error";
|
|
524
530
|
}
|
|
525
531
|
/**
|
|
526
|
-
*
|
|
532
|
+
* Generic error for shipping rates calculation.
|
|
533
|
+
This error should be returned when there is a generic error in the shipping rates calculation that is not covered by the other errors.
|
|
534
|
+
Since this error is generic it is highly encouraged to provide error data that will help in debugging the issue.
|
|
535
|
+
If error data is provided, it will appear in the monitoring system but will not be exposed to the user.
|
|
536
|
+
This error may block the user from proceeding to checkout, thus it is important to use it only if there is no other way to proceed.
|
|
527
537
|
*/
|
|
528
538
|
declare class GenericShippingRatesWixError extends Error {
|
|
529
539
|
/** @hidden */
|
|
@@ -536,8 +546,6 @@ declare class GenericShippingRatesWixError extends Error {
|
|
|
536
546
|
name: string;
|
|
537
547
|
/** @hidden */
|
|
538
548
|
errorSchemaName: string;
|
|
539
|
-
/** @hidden */
|
|
540
|
-
description: string;
|
|
541
549
|
data: GenericShippingRatesError;
|
|
542
550
|
constructor(data: GenericShippingRatesError);
|
|
543
551
|
/** @hidden */
|