@wix/ecom 1.0.840 → 1.0.842
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.842",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"@wix/ecom_current-cart": "1.0.105",
|
|
36
36
|
"@wix/ecom_custom-triggers": "1.0.31",
|
|
37
37
|
"@wix/ecom_delivery-profile": "1.0.29",
|
|
38
|
-
"@wix/ecom_delivery-solutions": "1.0.
|
|
38
|
+
"@wix/ecom_delivery-solutions": "1.0.12",
|
|
39
39
|
"@wix/ecom_discount-rules": "1.0.62",
|
|
40
40
|
"@wix/ecom_discounts": "1.0.14",
|
|
41
41
|
"@wix/ecom_discounts-custom-trigger": "1.0.17",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"@wix/ecom_order-invoices": "1.0.48",
|
|
49
49
|
"@wix/ecom_order-payment-requests": "1.0.20",
|
|
50
50
|
"@wix/ecom_order-transactions": "1.0.78",
|
|
51
|
-
"@wix/ecom_orders": "1.0.
|
|
51
|
+
"@wix/ecom_orders": "1.0.148",
|
|
52
52
|
"@wix/ecom_orders-settings": "1.0.54",
|
|
53
53
|
"@wix/ecom_payment-settings": "1.0.77",
|
|
54
54
|
"@wix/ecom_pickup-locations": "1.0.18",
|
|
@@ -87,5 +87,5 @@
|
|
|
87
87
|
"fqdn": ""
|
|
88
88
|
}
|
|
89
89
|
},
|
|
90
|
-
"falconPackageHash": "
|
|
90
|
+
"falconPackageHash": "e9d4c512d266cc73713b7ecb67d0ada377693d0a96d2f372df203bac"
|
|
91
91
|
}
|
|
@@ -29139,16 +29139,16 @@ interface OrderUpdatedEnvelope {
|
|
|
29139
29139
|
entity: Order$1;
|
|
29140
29140
|
metadata: EventMetadata$3;
|
|
29141
29141
|
}
|
|
29142
|
-
interface
|
|
29143
|
-
|
|
29142
|
+
interface OrderApprovedEnvelope {
|
|
29143
|
+
data: OrderApproved;
|
|
29144
29144
|
metadata: EventMetadata$3;
|
|
29145
29145
|
}
|
|
29146
29146
|
interface OrderCanceledEnvelope {
|
|
29147
29147
|
data: OrderCanceledEventOrderCanceled;
|
|
29148
29148
|
metadata: EventMetadata$3;
|
|
29149
29149
|
}
|
|
29150
|
-
interface
|
|
29151
|
-
|
|
29150
|
+
interface OrderCreatedEnvelope {
|
|
29151
|
+
entity: Order$1;
|
|
29152
29152
|
metadata: EventMetadata$3;
|
|
29153
29153
|
}
|
|
29154
29154
|
interface PreparePaymentCollectionOptions {
|
|
@@ -29521,9 +29521,9 @@ interface BulkUpdateOrderTagsSignature {
|
|
|
29521
29521
|
}
|
|
29522
29522
|
declare const onOrderPaymentStatusUpdated$1: EventDefinition<OrderPaymentStatusUpdatedEnvelope, "wix.ecom.v1.order_payment_status_updated">;
|
|
29523
29523
|
declare const onOrderUpdated$1: EventDefinition<OrderUpdatedEnvelope, "wix.ecom.v1.order_updated">;
|
|
29524
|
-
declare const onOrderCreated$1: EventDefinition<OrderCreatedEnvelope, "wix.ecom.v1.order_created">;
|
|
29525
|
-
declare const onOrderCanceled$1: EventDefinition<OrderCanceledEnvelope, "wix.ecom.v1.order_canceled">;
|
|
29526
29524
|
declare const onOrderApproved$1: EventDefinition<OrderApprovedEnvelope, "wix.ecom.v1.order_approved">;
|
|
29525
|
+
declare const onOrderCanceled$1: EventDefinition<OrderCanceledEnvelope, "wix.ecom.v1.order_canceled">;
|
|
29526
|
+
declare const onOrderCreated$1: EventDefinition<OrderCreatedEnvelope, "wix.ecom.v1.order_created">;
|
|
29527
29527
|
|
|
29528
29528
|
declare function createEventModule$3<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
29529
29529
|
|
|
@@ -29549,12 +29549,12 @@ type _publicOnOrderUpdatedType = typeof onOrderUpdated$1;
|
|
|
29549
29549
|
/** */
|
|
29550
29550
|
declare const onOrderUpdated: ReturnType<typeof createEventModule$3<_publicOnOrderUpdatedType>>;
|
|
29551
29551
|
|
|
29552
|
-
type
|
|
29552
|
+
type _publicOnOrderApprovedType = typeof onOrderApproved$1;
|
|
29553
29553
|
/**
|
|
29554
|
-
* Triggered when an order is created
|
|
29555
|
-
* Learn more about [webhook payload structure](https://dev.wix.com/docs/rest/api-reference/wix-e-commerce/orders/order-object-conversion#webhook-conversion-table).
|
|
29554
|
+
* Triggered when an order is created and its status is updated to `"APPROVED"`.
|
|
29555
|
+
* Learn more about [eCommerce webhook payload structure](https://dev.wix.com/docs/rest/api-reference/wix-e-commerce/orders/order-object-conversion#webhook-conversion-table).
|
|
29556
29556
|
*/
|
|
29557
|
-
declare const
|
|
29557
|
+
declare const onOrderApproved: ReturnType<typeof createEventModule$3<_publicOnOrderApprovedType>>;
|
|
29558
29558
|
|
|
29559
29559
|
type _publicOnOrderCanceledType = typeof onOrderCanceled$1;
|
|
29560
29560
|
/**
|
|
@@ -29563,12 +29563,12 @@ type _publicOnOrderCanceledType = typeof onOrderCanceled$1;
|
|
|
29563
29563
|
*/
|
|
29564
29564
|
declare const onOrderCanceled: ReturnType<typeof createEventModule$3<_publicOnOrderCanceledType>>;
|
|
29565
29565
|
|
|
29566
|
-
type
|
|
29566
|
+
type _publicOnOrderCreatedType = typeof onOrderCreated$1;
|
|
29567
29567
|
/**
|
|
29568
|
-
* Triggered when an order is created
|
|
29569
|
-
* Learn more about [
|
|
29568
|
+
* Triggered when an order is created.
|
|
29569
|
+
* Learn more about [webhook payload structure](https://dev.wix.com/docs/rest/api-reference/wix-e-commerce/orders/order-object-conversion#webhook-conversion-table).
|
|
29570
29570
|
*/
|
|
29571
|
-
declare const
|
|
29571
|
+
declare const onOrderCreated: ReturnType<typeof createEventModule$3<_publicOnOrderCreatedType>>;
|
|
29572
29572
|
|
|
29573
29573
|
type context$c_ActivityContentOneOf = ActivityContentOneOf;
|
|
29574
29574
|
type context$c_AddActivitiesRequest = AddActivitiesRequest;
|
|
@@ -36947,7 +36947,9 @@ declare enum RuleType {
|
|
|
36947
36947
|
INVALID_ENUM_VALUE = "INVALID_ENUM_VALUE",
|
|
36948
36948
|
REQUIRED_FIELD = "REQUIRED_FIELD",
|
|
36949
36949
|
FIELD_NOT_ALLOWED = "FIELD_NOT_ALLOWED",
|
|
36950
|
-
ONE_OF_ALIGNMENT = "ONE_OF_ALIGNMENT"
|
|
36950
|
+
ONE_OF_ALIGNMENT = "ONE_OF_ALIGNMENT",
|
|
36951
|
+
EXACT_LENGTH = "EXACT_LENGTH",
|
|
36952
|
+
EXACT_SIZE = "EXACT_SIZE"
|
|
36951
36953
|
}
|
|
36952
36954
|
interface FieldViolation {
|
|
36953
36955
|
field?: string;
|
|
@@ -29139,16 +29139,16 @@ interface OrderUpdatedEnvelope {
|
|
|
29139
29139
|
entity: Order$1;
|
|
29140
29140
|
metadata: EventMetadata$3;
|
|
29141
29141
|
}
|
|
29142
|
-
interface
|
|
29143
|
-
|
|
29142
|
+
interface OrderApprovedEnvelope {
|
|
29143
|
+
data: OrderApproved;
|
|
29144
29144
|
metadata: EventMetadata$3;
|
|
29145
29145
|
}
|
|
29146
29146
|
interface OrderCanceledEnvelope {
|
|
29147
29147
|
data: OrderCanceledEventOrderCanceled;
|
|
29148
29148
|
metadata: EventMetadata$3;
|
|
29149
29149
|
}
|
|
29150
|
-
interface
|
|
29151
|
-
|
|
29150
|
+
interface OrderCreatedEnvelope {
|
|
29151
|
+
entity: Order$1;
|
|
29152
29152
|
metadata: EventMetadata$3;
|
|
29153
29153
|
}
|
|
29154
29154
|
interface PreparePaymentCollectionOptions {
|
|
@@ -29521,9 +29521,9 @@ interface BulkUpdateOrderTagsSignature {
|
|
|
29521
29521
|
}
|
|
29522
29522
|
declare const onOrderPaymentStatusUpdated$1: EventDefinition<OrderPaymentStatusUpdatedEnvelope, "wix.ecom.v1.order_payment_status_updated">;
|
|
29523
29523
|
declare const onOrderUpdated$1: EventDefinition<OrderUpdatedEnvelope, "wix.ecom.v1.order_updated">;
|
|
29524
|
-
declare const onOrderCreated$1: EventDefinition<OrderCreatedEnvelope, "wix.ecom.v1.order_created">;
|
|
29525
|
-
declare const onOrderCanceled$1: EventDefinition<OrderCanceledEnvelope, "wix.ecom.v1.order_canceled">;
|
|
29526
29524
|
declare const onOrderApproved$1: EventDefinition<OrderApprovedEnvelope, "wix.ecom.v1.order_approved">;
|
|
29525
|
+
declare const onOrderCanceled$1: EventDefinition<OrderCanceledEnvelope, "wix.ecom.v1.order_canceled">;
|
|
29526
|
+
declare const onOrderCreated$1: EventDefinition<OrderCreatedEnvelope, "wix.ecom.v1.order_created">;
|
|
29527
29527
|
|
|
29528
29528
|
declare function createEventModule$3<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
29529
29529
|
|
|
@@ -29549,12 +29549,12 @@ type _publicOnOrderUpdatedType = typeof onOrderUpdated$1;
|
|
|
29549
29549
|
/** */
|
|
29550
29550
|
declare const onOrderUpdated: ReturnType<typeof createEventModule$3<_publicOnOrderUpdatedType>>;
|
|
29551
29551
|
|
|
29552
|
-
type
|
|
29552
|
+
type _publicOnOrderApprovedType = typeof onOrderApproved$1;
|
|
29553
29553
|
/**
|
|
29554
|
-
* Triggered when an order is created
|
|
29555
|
-
* Learn more about [webhook payload structure](https://dev.wix.com/docs/rest/api-reference/wix-e-commerce/orders/order-object-conversion#webhook-conversion-table).
|
|
29554
|
+
* Triggered when an order is created and its status is updated to `"APPROVED"`.
|
|
29555
|
+
* Learn more about [eCommerce webhook payload structure](https://dev.wix.com/docs/rest/api-reference/wix-e-commerce/orders/order-object-conversion#webhook-conversion-table).
|
|
29556
29556
|
*/
|
|
29557
|
-
declare const
|
|
29557
|
+
declare const onOrderApproved: ReturnType<typeof createEventModule$3<_publicOnOrderApprovedType>>;
|
|
29558
29558
|
|
|
29559
29559
|
type _publicOnOrderCanceledType = typeof onOrderCanceled$1;
|
|
29560
29560
|
/**
|
|
@@ -29563,12 +29563,12 @@ type _publicOnOrderCanceledType = typeof onOrderCanceled$1;
|
|
|
29563
29563
|
*/
|
|
29564
29564
|
declare const onOrderCanceled: ReturnType<typeof createEventModule$3<_publicOnOrderCanceledType>>;
|
|
29565
29565
|
|
|
29566
|
-
type
|
|
29566
|
+
type _publicOnOrderCreatedType = typeof onOrderCreated$1;
|
|
29567
29567
|
/**
|
|
29568
|
-
* Triggered when an order is created
|
|
29569
|
-
* Learn more about [
|
|
29568
|
+
* Triggered when an order is created.
|
|
29569
|
+
* Learn more about [webhook payload structure](https://dev.wix.com/docs/rest/api-reference/wix-e-commerce/orders/order-object-conversion#webhook-conversion-table).
|
|
29570
29570
|
*/
|
|
29571
|
-
declare const
|
|
29571
|
+
declare const onOrderCreated: ReturnType<typeof createEventModule$3<_publicOnOrderCreatedType>>;
|
|
29572
29572
|
|
|
29573
29573
|
type index_d$c_ActivityContentOneOf = ActivityContentOneOf;
|
|
29574
29574
|
type index_d$c_AddActivitiesRequest = AddActivitiesRequest;
|
|
@@ -36947,7 +36947,9 @@ declare enum RuleType {
|
|
|
36947
36947
|
INVALID_ENUM_VALUE = "INVALID_ENUM_VALUE",
|
|
36948
36948
|
REQUIRED_FIELD = "REQUIRED_FIELD",
|
|
36949
36949
|
FIELD_NOT_ALLOWED = "FIELD_NOT_ALLOWED",
|
|
36950
|
-
ONE_OF_ALIGNMENT = "ONE_OF_ALIGNMENT"
|
|
36950
|
+
ONE_OF_ALIGNMENT = "ONE_OF_ALIGNMENT",
|
|
36951
|
+
EXACT_LENGTH = "EXACT_LENGTH",
|
|
36952
|
+
EXACT_SIZE = "EXACT_SIZE"
|
|
36951
36953
|
}
|
|
36952
36954
|
interface FieldViolation {
|
|
36953
36955
|
field?: string;
|
|
@@ -38734,7 +38734,9 @@ declare enum RuleType$1 {
|
|
|
38734
38734
|
INVALID_ENUM_VALUE = "INVALID_ENUM_VALUE",
|
|
38735
38735
|
REQUIRED_FIELD = "REQUIRED_FIELD",
|
|
38736
38736
|
FIELD_NOT_ALLOWED = "FIELD_NOT_ALLOWED",
|
|
38737
|
-
ONE_OF_ALIGNMENT = "ONE_OF_ALIGNMENT"
|
|
38737
|
+
ONE_OF_ALIGNMENT = "ONE_OF_ALIGNMENT",
|
|
38738
|
+
EXACT_LENGTH = "EXACT_LENGTH",
|
|
38739
|
+
EXACT_SIZE = "EXACT_SIZE"
|
|
38738
38740
|
}
|
|
38739
38741
|
interface FieldViolation$1 {
|
|
38740
38742
|
field?: string;
|
|
@@ -39153,7 +39155,9 @@ declare enum RuleType {
|
|
|
39153
39155
|
INVALID_ENUM_VALUE = "INVALID_ENUM_VALUE",
|
|
39154
39156
|
REQUIRED_FIELD = "REQUIRED_FIELD",
|
|
39155
39157
|
FIELD_NOT_ALLOWED = "FIELD_NOT_ALLOWED",
|
|
39156
|
-
ONE_OF_ALIGNMENT = "ONE_OF_ALIGNMENT"
|
|
39158
|
+
ONE_OF_ALIGNMENT = "ONE_OF_ALIGNMENT",
|
|
39159
|
+
EXACT_LENGTH = "EXACT_LENGTH",
|
|
39160
|
+
EXACT_SIZE = "EXACT_SIZE"
|
|
39157
39161
|
}
|
|
39158
39162
|
interface FieldViolation {
|
|
39159
39163
|
field?: string;
|