@wix/auto_sdk_ecom_shipping-options 1.0.14 → 1.0.16
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 +9 -17
- 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 +17 -33
- package/build/cjs/src/ecom-v1-shipping-option-shipping-options.universal.js +3 -1
- 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 +9 -17
- 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 +17 -33
- package/build/es/src/ecom-v1-shipping-option-shipping-options.universal.js +3 -1
- 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 +9 -17
- 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 +17 -33
- package/build/internal/cjs/src/ecom-v1-shipping-option-shipping-options.universal.js +3 -1
- 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 +9 -17
- 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 +17 -33
- package/build/internal/es/src/ecom-v1-shipping-option-shipping-options.universal.js +3 -1
- package/build/internal/es/src/ecom-v1-shipping-option-shipping-options.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -248,25 +248,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
248
248
|
updatedEvent?: EntityUpdatedEvent;
|
|
249
249
|
deletedEvent?: EntityDeletedEvent;
|
|
250
250
|
actionEvent?: ActionEvent;
|
|
251
|
-
/**
|
|
252
|
-
* Unique event ID.
|
|
253
|
-
* Allows clients to ignore duplicate webhooks.
|
|
254
|
-
*/
|
|
251
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
255
252
|
id?: string;
|
|
256
253
|
/**
|
|
257
|
-
*
|
|
258
|
-
*
|
|
254
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
255
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
259
256
|
*/
|
|
260
257
|
entityFqdn?: string;
|
|
261
258
|
/**
|
|
262
|
-
*
|
|
263
|
-
*
|
|
264
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
259
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
260
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
265
261
|
*/
|
|
266
262
|
slug?: string;
|
|
267
263
|
/** ID of the entity associated with the event. */
|
|
268
264
|
entityId?: string;
|
|
269
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
265
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
270
266
|
eventTime?: Date | null;
|
|
271
267
|
/**
|
|
272
268
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -276,12 +272,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
276
272
|
/** If present, indicates the action that triggered the event. */
|
|
277
273
|
originatedFrom?: string | null;
|
|
278
274
|
/**
|
|
279
|
-
* A sequence number
|
|
280
|
-
*
|
|
281
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
282
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
283
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
284
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
275
|
+
* A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
|
|
276
|
+
* You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
|
|
285
277
|
*/
|
|
286
278
|
entityEventSequence?: string | null;
|
|
287
279
|
}
|
|
@@ -309,7 +301,7 @@ export interface EntityUpdatedEvent {
|
|
|
309
301
|
currentEntityAsJson?: string;
|
|
310
302
|
}
|
|
311
303
|
export interface EntityDeletedEvent {
|
|
312
|
-
/** Entity that was deleted */
|
|
304
|
+
/** Entity that was deleted. */
|
|
313
305
|
deletedEntityAsJson?: string | null;
|
|
314
306
|
}
|
|
315
307
|
export interface ActionEvent {
|
|
@@ -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":";;;AAwFA,IAAY,aAKX;AALD,WAAY,aAAa;IACvB,8CAA6B,CAAA;IAC7B,oDAAmC,CAAA;IACnC,kDAAiC,CAAA;IACjC,wDAAuC,CAAA;AACzC,CAAC,EALW,aAAa,6BAAb,aAAa,QAKxB;AAED,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;AAkGD,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;
|
|
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":";;;AAwFA,IAAY,aAKX;AALD,WAAY,aAAa;IACvB,8CAA6B,CAAA;IAC7B,oDAAmC,CAAA;IACnC,kDAAiC,CAAA;IACjC,wDAAuC,CAAA;AACzC,CAAC,EALW,aAAa,6BAAb,aAAa,QAKxB;AAED,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;AAkGD,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;AAqPD,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"}
|
|
@@ -249,25 +249,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
249
249
|
updatedEvent?: EntityUpdatedEvent;
|
|
250
250
|
deletedEvent?: EntityDeletedEvent;
|
|
251
251
|
actionEvent?: ActionEvent;
|
|
252
|
-
/**
|
|
253
|
-
* Unique event ID.
|
|
254
|
-
* Allows clients to ignore duplicate webhooks.
|
|
255
|
-
*/
|
|
252
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
256
253
|
_id?: string;
|
|
257
254
|
/**
|
|
258
|
-
*
|
|
259
|
-
*
|
|
255
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
256
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
260
257
|
*/
|
|
261
258
|
entityFqdn?: string;
|
|
262
259
|
/**
|
|
263
|
-
*
|
|
264
|
-
*
|
|
265
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
260
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
261
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
266
262
|
*/
|
|
267
263
|
slug?: string;
|
|
268
264
|
/** ID of the entity associated with the event. */
|
|
269
265
|
entityId?: string;
|
|
270
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
266
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
271
267
|
eventTime?: Date | null;
|
|
272
268
|
/**
|
|
273
269
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -277,12 +273,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
277
273
|
/** If present, indicates the action that triggered the event. */
|
|
278
274
|
originatedFrom?: string | null;
|
|
279
275
|
/**
|
|
280
|
-
* A sequence number
|
|
281
|
-
*
|
|
282
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
283
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
284
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
285
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
276
|
+
* A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
|
|
277
|
+
* You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
|
|
286
278
|
*/
|
|
287
279
|
entityEventSequence?: string | null;
|
|
288
280
|
}
|
|
@@ -308,7 +300,7 @@ export interface EntityUpdatedEvent {
|
|
|
308
300
|
currentEntity?: string;
|
|
309
301
|
}
|
|
310
302
|
export interface EntityDeletedEvent {
|
|
311
|
-
/** Entity that was deleted */
|
|
303
|
+
/** Entity that was deleted. */
|
|
312
304
|
deletedEntity?: string | null;
|
|
313
305
|
}
|
|
314
306
|
export interface ActionEvent {
|
|
@@ -437,25 +429,21 @@ export interface BaseEventMetadata {
|
|
|
437
429
|
identity?: IdentificationData;
|
|
438
430
|
}
|
|
439
431
|
export interface EventMetadata extends BaseEventMetadata {
|
|
440
|
-
/**
|
|
441
|
-
* Unique event ID.
|
|
442
|
-
* Allows clients to ignore duplicate webhooks.
|
|
443
|
-
*/
|
|
432
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
444
433
|
_id?: string;
|
|
445
434
|
/**
|
|
446
|
-
*
|
|
447
|
-
*
|
|
435
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
436
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
448
437
|
*/
|
|
449
438
|
entityFqdn?: string;
|
|
450
439
|
/**
|
|
451
|
-
*
|
|
452
|
-
*
|
|
453
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
440
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
441
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
454
442
|
*/
|
|
455
443
|
slug?: string;
|
|
456
444
|
/** ID of the entity associated with the event. */
|
|
457
445
|
entityId?: string;
|
|
458
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
446
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
459
447
|
eventTime?: Date | null;
|
|
460
448
|
/**
|
|
461
449
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -465,12 +453,8 @@ export interface EventMetadata extends BaseEventMetadata {
|
|
|
465
453
|
/** If present, indicates the action that triggered the event. */
|
|
466
454
|
originatedFrom?: string | null;
|
|
467
455
|
/**
|
|
468
|
-
* A sequence number
|
|
469
|
-
*
|
|
470
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
471
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
472
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
473
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
456
|
+
* A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
|
|
457
|
+
* You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
|
|
474
458
|
*/
|
|
475
459
|
entityEventSequence?: string | null;
|
|
476
460
|
}
|
|
@@ -28,6 +28,8 @@ const transform_error_1 = require("@wix/sdk-runtime/transform-error");
|
|
|
28
28
|
const query_builder_1 = require("@wix/sdk-runtime/query-builder");
|
|
29
29
|
const rename_all_nested_keys_1 = require("@wix/sdk-runtime/rename-all-nested-keys");
|
|
30
30
|
const ambassadorWixEcomV1ShippingOption = __importStar(require("./ecom-v1-shipping-option-shipping-options.http.js"));
|
|
31
|
+
// @ts-ignore
|
|
32
|
+
const transform_paths_1 = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
31
33
|
var ConditionType;
|
|
32
34
|
(function (ConditionType) {
|
|
33
35
|
ConditionType["UNKNOWN_TYPE"] = "UNKNOWN_TYPE";
|
|
@@ -284,7 +286,7 @@ function queryShippingOptions() {
|
|
|
284
286
|
});
|
|
285
287
|
},
|
|
286
288
|
responseTransformer: ({ data, }) => {
|
|
287
|
-
const transformedData = (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)(data);
|
|
289
|
+
const transformedData = (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)((0, transform_paths_1.transformPaths)(data, []));
|
|
288
290
|
return {
|
|
289
291
|
items: transformedData?.shippingOptions,
|
|
290
292
|
pagingMetadata: transformedData?.pagingMetadata,
|
|
@@ -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;
|
|
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;AA0FlF,IAAY,aAKX;AALD,WAAY,aAAa;IACvB,8CAA6B,CAAA;IAC7B,oDAAmC,CAAA;IACnC,kDAAiC,CAAA;IACjC,wDAAuC,CAAA;AACzC,CAAC,EALW,aAAa,6BAAb,aAAa,QAKxB;AAED,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;AAkGD,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;AAmPD,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;AAkID;;;;;;;;;;;;;;;;;;GA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EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AAnDD,oDAmDC"}
|
|
@@ -248,25 +248,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
248
248
|
updatedEvent?: EntityUpdatedEvent;
|
|
249
249
|
deletedEvent?: EntityDeletedEvent;
|
|
250
250
|
actionEvent?: ActionEvent;
|
|
251
|
-
/**
|
|
252
|
-
* Unique event ID.
|
|
253
|
-
* Allows clients to ignore duplicate webhooks.
|
|
254
|
-
*/
|
|
251
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
255
252
|
id?: string;
|
|
256
253
|
/**
|
|
257
|
-
*
|
|
258
|
-
*
|
|
254
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
255
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
259
256
|
*/
|
|
260
257
|
entityFqdn?: string;
|
|
261
258
|
/**
|
|
262
|
-
*
|
|
263
|
-
*
|
|
264
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
259
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
260
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
265
261
|
*/
|
|
266
262
|
slug?: string;
|
|
267
263
|
/** ID of the entity associated with the event. */
|
|
268
264
|
entityId?: string;
|
|
269
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
265
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
270
266
|
eventTime?: Date | null;
|
|
271
267
|
/**
|
|
272
268
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -276,12 +272,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
276
272
|
/** If present, indicates the action that triggered the event. */
|
|
277
273
|
originatedFrom?: string | null;
|
|
278
274
|
/**
|
|
279
|
-
* A sequence number
|
|
280
|
-
*
|
|
281
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
282
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
283
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
284
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
275
|
+
* A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
|
|
276
|
+
* You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
|
|
285
277
|
*/
|
|
286
278
|
entityEventSequence?: string | null;
|
|
287
279
|
}
|
|
@@ -309,7 +301,7 @@ export interface EntityUpdatedEvent {
|
|
|
309
301
|
currentEntityAsJson?: string;
|
|
310
302
|
}
|
|
311
303
|
export interface EntityDeletedEvent {
|
|
312
|
-
/** Entity that was deleted */
|
|
304
|
+
/** Entity that was deleted. */
|
|
313
305
|
deletedEntityAsJson?: string | null;
|
|
314
306
|
}
|
|
315
307
|
export interface ActionEvent {
|
|
@@ -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":"AAwFA,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;AAED,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;AAkGD,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;
|
|
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":"AAwFA,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;AAED,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;AAkGD,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AAqPD,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"}
|
|
@@ -249,25 +249,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
249
249
|
updatedEvent?: EntityUpdatedEvent;
|
|
250
250
|
deletedEvent?: EntityDeletedEvent;
|
|
251
251
|
actionEvent?: ActionEvent;
|
|
252
|
-
/**
|
|
253
|
-
* Unique event ID.
|
|
254
|
-
* Allows clients to ignore duplicate webhooks.
|
|
255
|
-
*/
|
|
252
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
256
253
|
_id?: string;
|
|
257
254
|
/**
|
|
258
|
-
*
|
|
259
|
-
*
|
|
255
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
256
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
260
257
|
*/
|
|
261
258
|
entityFqdn?: string;
|
|
262
259
|
/**
|
|
263
|
-
*
|
|
264
|
-
*
|
|
265
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
260
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
261
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
266
262
|
*/
|
|
267
263
|
slug?: string;
|
|
268
264
|
/** ID of the entity associated with the event. */
|
|
269
265
|
entityId?: string;
|
|
270
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
266
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
271
267
|
eventTime?: Date | null;
|
|
272
268
|
/**
|
|
273
269
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -277,12 +273,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
277
273
|
/** If present, indicates the action that triggered the event. */
|
|
278
274
|
originatedFrom?: string | null;
|
|
279
275
|
/**
|
|
280
|
-
* A sequence number
|
|
281
|
-
*
|
|
282
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
283
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
284
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
285
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
276
|
+
* A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
|
|
277
|
+
* You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
|
|
286
278
|
*/
|
|
287
279
|
entityEventSequence?: string | null;
|
|
288
280
|
}
|
|
@@ -308,7 +300,7 @@ export interface EntityUpdatedEvent {
|
|
|
308
300
|
currentEntity?: string;
|
|
309
301
|
}
|
|
310
302
|
export interface EntityDeletedEvent {
|
|
311
|
-
/** Entity that was deleted */
|
|
303
|
+
/** Entity that was deleted. */
|
|
312
304
|
deletedEntity?: string | null;
|
|
313
305
|
}
|
|
314
306
|
export interface ActionEvent {
|
|
@@ -437,25 +429,21 @@ export interface BaseEventMetadata {
|
|
|
437
429
|
identity?: IdentificationData;
|
|
438
430
|
}
|
|
439
431
|
export interface EventMetadata extends BaseEventMetadata {
|
|
440
|
-
/**
|
|
441
|
-
* Unique event ID.
|
|
442
|
-
* Allows clients to ignore duplicate webhooks.
|
|
443
|
-
*/
|
|
432
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
444
433
|
_id?: string;
|
|
445
434
|
/**
|
|
446
|
-
*
|
|
447
|
-
*
|
|
435
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
436
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
448
437
|
*/
|
|
449
438
|
entityFqdn?: string;
|
|
450
439
|
/**
|
|
451
|
-
*
|
|
452
|
-
*
|
|
453
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
440
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
441
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
454
442
|
*/
|
|
455
443
|
slug?: string;
|
|
456
444
|
/** ID of the entity associated with the event. */
|
|
457
445
|
entityId?: string;
|
|
458
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
446
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
459
447
|
eventTime?: Date | null;
|
|
460
448
|
/**
|
|
461
449
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -465,12 +453,8 @@ export interface EventMetadata extends BaseEventMetadata {
|
|
|
465
453
|
/** If present, indicates the action that triggered the event. */
|
|
466
454
|
originatedFrom?: string | null;
|
|
467
455
|
/**
|
|
468
|
-
* A sequence number
|
|
469
|
-
*
|
|
470
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
471
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
472
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
473
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
456
|
+
* A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
|
|
457
|
+
* You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
|
|
474
458
|
*/
|
|
475
459
|
entityEventSequence?: string | null;
|
|
476
460
|
}
|
|
@@ -2,6 +2,8 @@ import { transformError as sdkTransformError } from '@wix/sdk-runtime/transform-
|
|
|
2
2
|
import { queryBuilder } from '@wix/sdk-runtime/query-builder';
|
|
3
3
|
import { renameKeysFromSDKRequestToRESTRequest, renameKeysFromRESTResponseToSDKResponse, } from '@wix/sdk-runtime/rename-all-nested-keys';
|
|
4
4
|
import * as ambassadorWixEcomV1ShippingOption from './ecom-v1-shipping-option-shipping-options.http.js';
|
|
5
|
+
// @ts-ignore
|
|
6
|
+
import { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';
|
|
5
7
|
export var ConditionType;
|
|
6
8
|
(function (ConditionType) {
|
|
7
9
|
ConditionType["UNKNOWN_TYPE"] = "UNKNOWN_TYPE";
|
|
@@ -254,7 +256,7 @@ export function queryShippingOptions() {
|
|
|
254
256
|
});
|
|
255
257
|
},
|
|
256
258
|
responseTransformer: ({ data, }) => {
|
|
257
|
-
const transformedData = renameKeysFromRESTResponseToSDKResponse(data);
|
|
259
|
+
const transformedData = renameKeysFromRESTResponseToSDKResponse(transformPaths(data, []));
|
|
258
260
|
return {
|
|
259
261
|
items: transformedData?.shippingOptions,
|
|
260
262
|
pagingMetadata: transformedData?.pagingMetadata,
|
|
@@ -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;
|
|
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;AA0FlF,MAAM,CAAN,IAAY,aAKX;AALD,WAAY,aAAa;IACvB,8CAA6B,CAAA;IAC7B,oDAAmC,CAAA;IACnC,kDAAiC,CAAA;IACjC,wDAAuC,CAAA;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AAS,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"}
|
|
@@ -248,25 +248,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
248
248
|
updatedEvent?: EntityUpdatedEvent;
|
|
249
249
|
deletedEvent?: EntityDeletedEvent;
|
|
250
250
|
actionEvent?: ActionEvent;
|
|
251
|
-
/**
|
|
252
|
-
* Unique event ID.
|
|
253
|
-
* Allows clients to ignore duplicate webhooks.
|
|
254
|
-
*/
|
|
251
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
255
252
|
id?: string;
|
|
256
253
|
/**
|
|
257
|
-
*
|
|
258
|
-
*
|
|
254
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
255
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
259
256
|
*/
|
|
260
257
|
entityFqdn?: string;
|
|
261
258
|
/**
|
|
262
|
-
*
|
|
263
|
-
*
|
|
264
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
259
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
260
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
265
261
|
*/
|
|
266
262
|
slug?: string;
|
|
267
263
|
/** ID of the entity associated with the event. */
|
|
268
264
|
entityId?: string;
|
|
269
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
265
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
270
266
|
eventTime?: Date | null;
|
|
271
267
|
/**
|
|
272
268
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -276,12 +272,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
276
272
|
/** If present, indicates the action that triggered the event. */
|
|
277
273
|
originatedFrom?: string | null;
|
|
278
274
|
/**
|
|
279
|
-
* A sequence number
|
|
280
|
-
*
|
|
281
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
282
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
283
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
284
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
275
|
+
* A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
|
|
276
|
+
* You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
|
|
285
277
|
*/
|
|
286
278
|
entityEventSequence?: string | null;
|
|
287
279
|
}
|
|
@@ -309,7 +301,7 @@ export interface EntityUpdatedEvent {
|
|
|
309
301
|
currentEntityAsJson?: string;
|
|
310
302
|
}
|
|
311
303
|
export interface EntityDeletedEvent {
|
|
312
|
-
/** Entity that was deleted */
|
|
304
|
+
/** Entity that was deleted. */
|
|
313
305
|
deletedEntityAsJson?: string | null;
|
|
314
306
|
}
|
|
315
307
|
export interface ActionEvent {
|
|
@@ -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":";;;AAwFA,IAAY,aAKX;AALD,WAAY,aAAa;IACvB,8CAA6B,CAAA;IAC7B,oDAAmC,CAAA;IACnC,kDAAiC,CAAA;IACjC,wDAAuC,CAAA;AACzC,CAAC,EALW,aAAa,6BAAb,aAAa,QAKxB;AAED,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;AAkGD,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;
|
|
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":";;;AAwFA,IAAY,aAKX;AALD,WAAY,aAAa;IACvB,8CAA6B,CAAA;IAC7B,oDAAmC,CAAA;IACnC,kDAAiC,CAAA;IACjC,wDAAuC,CAAA;AACzC,CAAC,EALW,aAAa,6BAAb,aAAa,QAKxB;AAED,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;AAkGD,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;AAqPD,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"}
|
|
@@ -249,25 +249,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
249
249
|
updatedEvent?: EntityUpdatedEvent;
|
|
250
250
|
deletedEvent?: EntityDeletedEvent;
|
|
251
251
|
actionEvent?: ActionEvent;
|
|
252
|
-
/**
|
|
253
|
-
* Unique event ID.
|
|
254
|
-
* Allows clients to ignore duplicate webhooks.
|
|
255
|
-
*/
|
|
252
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
256
253
|
_id?: string;
|
|
257
254
|
/**
|
|
258
|
-
*
|
|
259
|
-
*
|
|
255
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
256
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
260
257
|
*/
|
|
261
258
|
entityFqdn?: string;
|
|
262
259
|
/**
|
|
263
|
-
*
|
|
264
|
-
*
|
|
265
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
260
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
261
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
266
262
|
*/
|
|
267
263
|
slug?: string;
|
|
268
264
|
/** ID of the entity associated with the event. */
|
|
269
265
|
entityId?: string;
|
|
270
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
266
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
271
267
|
eventTime?: Date | null;
|
|
272
268
|
/**
|
|
273
269
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -277,12 +273,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
277
273
|
/** If present, indicates the action that triggered the event. */
|
|
278
274
|
originatedFrom?: string | null;
|
|
279
275
|
/**
|
|
280
|
-
* A sequence number
|
|
281
|
-
*
|
|
282
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
283
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
284
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
285
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
276
|
+
* A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
|
|
277
|
+
* You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
|
|
286
278
|
*/
|
|
287
279
|
entityEventSequence?: string | null;
|
|
288
280
|
}
|
|
@@ -308,7 +300,7 @@ export interface EntityUpdatedEvent {
|
|
|
308
300
|
currentEntity?: string;
|
|
309
301
|
}
|
|
310
302
|
export interface EntityDeletedEvent {
|
|
311
|
-
/** Entity that was deleted */
|
|
303
|
+
/** Entity that was deleted. */
|
|
312
304
|
deletedEntity?: string | null;
|
|
313
305
|
}
|
|
314
306
|
export interface ActionEvent {
|
|
@@ -437,25 +429,21 @@ export interface BaseEventMetadata {
|
|
|
437
429
|
identity?: IdentificationData;
|
|
438
430
|
}
|
|
439
431
|
export interface EventMetadata extends BaseEventMetadata {
|
|
440
|
-
/**
|
|
441
|
-
* Unique event ID.
|
|
442
|
-
* Allows clients to ignore duplicate webhooks.
|
|
443
|
-
*/
|
|
432
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
444
433
|
_id?: string;
|
|
445
434
|
/**
|
|
446
|
-
*
|
|
447
|
-
*
|
|
435
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
436
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
448
437
|
*/
|
|
449
438
|
entityFqdn?: string;
|
|
450
439
|
/**
|
|
451
|
-
*
|
|
452
|
-
*
|
|
453
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
440
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
441
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
454
442
|
*/
|
|
455
443
|
slug?: string;
|
|
456
444
|
/** ID of the entity associated with the event. */
|
|
457
445
|
entityId?: string;
|
|
458
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
446
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
459
447
|
eventTime?: Date | null;
|
|
460
448
|
/**
|
|
461
449
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -465,12 +453,8 @@ export interface EventMetadata extends BaseEventMetadata {
|
|
|
465
453
|
/** If present, indicates the action that triggered the event. */
|
|
466
454
|
originatedFrom?: string | null;
|
|
467
455
|
/**
|
|
468
|
-
* A sequence number
|
|
469
|
-
*
|
|
470
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
471
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
472
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
473
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
456
|
+
* A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
|
|
457
|
+
* You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
|
|
474
458
|
*/
|
|
475
459
|
entityEventSequence?: string | null;
|
|
476
460
|
}
|
|
@@ -28,6 +28,8 @@ const transform_error_1 = require("@wix/sdk-runtime/transform-error");
|
|
|
28
28
|
const query_builder_1 = require("@wix/sdk-runtime/query-builder");
|
|
29
29
|
const rename_all_nested_keys_1 = require("@wix/sdk-runtime/rename-all-nested-keys");
|
|
30
30
|
const ambassadorWixEcomV1ShippingOption = __importStar(require("./ecom-v1-shipping-option-shipping-options.http.js"));
|
|
31
|
+
// @ts-ignore
|
|
32
|
+
const transform_paths_1 = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
31
33
|
var ConditionType;
|
|
32
34
|
(function (ConditionType) {
|
|
33
35
|
ConditionType["UNKNOWN_TYPE"] = "UNKNOWN_TYPE";
|
|
@@ -284,7 +286,7 @@ function queryShippingOptions() {
|
|
|
284
286
|
});
|
|
285
287
|
},
|
|
286
288
|
responseTransformer: ({ data, }) => {
|
|
287
|
-
const transformedData = (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)(data);
|
|
289
|
+
const transformedData = (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)((0, transform_paths_1.transformPaths)(data, []));
|
|
288
290
|
return {
|
|
289
291
|
items: transformedData?.shippingOptions,
|
|
290
292
|
pagingMetadata: transformedData?.pagingMetadata,
|
|
@@ -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;
|
|
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;AA0FlF,IAAY,aAKX;AALD,WAAY,aAAa;IACvB,8CAA6B,CAAA;IAC7B,oDAAmC,CAAA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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,IAAA,gEAAuC,EAAC,MAAM,CAAC,IAAI,CAAE,CAAC;IAC/D,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,IAAA,gCAAiB,EACxC,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;AAnDD,oDAmDC"}
|
|
@@ -248,25 +248,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
248
248
|
updatedEvent?: EntityUpdatedEvent;
|
|
249
249
|
deletedEvent?: EntityDeletedEvent;
|
|
250
250
|
actionEvent?: ActionEvent;
|
|
251
|
-
/**
|
|
252
|
-
* Unique event ID.
|
|
253
|
-
* Allows clients to ignore duplicate webhooks.
|
|
254
|
-
*/
|
|
251
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
255
252
|
id?: string;
|
|
256
253
|
/**
|
|
257
|
-
*
|
|
258
|
-
*
|
|
254
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
255
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
259
256
|
*/
|
|
260
257
|
entityFqdn?: string;
|
|
261
258
|
/**
|
|
262
|
-
*
|
|
263
|
-
*
|
|
264
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
259
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
260
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
265
261
|
*/
|
|
266
262
|
slug?: string;
|
|
267
263
|
/** ID of the entity associated with the event. */
|
|
268
264
|
entityId?: string;
|
|
269
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
265
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
270
266
|
eventTime?: Date | null;
|
|
271
267
|
/**
|
|
272
268
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -276,12 +272,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
276
272
|
/** If present, indicates the action that triggered the event. */
|
|
277
273
|
originatedFrom?: string | null;
|
|
278
274
|
/**
|
|
279
|
-
* A sequence number
|
|
280
|
-
*
|
|
281
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
282
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
283
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
284
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
275
|
+
* A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
|
|
276
|
+
* You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
|
|
285
277
|
*/
|
|
286
278
|
entityEventSequence?: string | null;
|
|
287
279
|
}
|
|
@@ -309,7 +301,7 @@ export interface EntityUpdatedEvent {
|
|
|
309
301
|
currentEntityAsJson?: string;
|
|
310
302
|
}
|
|
311
303
|
export interface EntityDeletedEvent {
|
|
312
|
-
/** Entity that was deleted */
|
|
304
|
+
/** Entity that was deleted. */
|
|
313
305
|
deletedEntityAsJson?: string | null;
|
|
314
306
|
}
|
|
315
307
|
export interface ActionEvent {
|
|
@@ -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":"AAwFA,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;AAED,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;AAkGD,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;
|
|
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":"AAwFA,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;AAED,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;AAkGD,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AAqPD,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"}
|
|
@@ -249,25 +249,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
249
249
|
updatedEvent?: EntityUpdatedEvent;
|
|
250
250
|
deletedEvent?: EntityDeletedEvent;
|
|
251
251
|
actionEvent?: ActionEvent;
|
|
252
|
-
/**
|
|
253
|
-
* Unique event ID.
|
|
254
|
-
* Allows clients to ignore duplicate webhooks.
|
|
255
|
-
*/
|
|
252
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
256
253
|
_id?: string;
|
|
257
254
|
/**
|
|
258
|
-
*
|
|
259
|
-
*
|
|
255
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
256
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
260
257
|
*/
|
|
261
258
|
entityFqdn?: string;
|
|
262
259
|
/**
|
|
263
|
-
*
|
|
264
|
-
*
|
|
265
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
260
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
261
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
266
262
|
*/
|
|
267
263
|
slug?: string;
|
|
268
264
|
/** ID of the entity associated with the event. */
|
|
269
265
|
entityId?: string;
|
|
270
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
266
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
271
267
|
eventTime?: Date | null;
|
|
272
268
|
/**
|
|
273
269
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -277,12 +273,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
277
273
|
/** If present, indicates the action that triggered the event. */
|
|
278
274
|
originatedFrom?: string | null;
|
|
279
275
|
/**
|
|
280
|
-
* A sequence number
|
|
281
|
-
*
|
|
282
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
283
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
284
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
285
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
276
|
+
* A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
|
|
277
|
+
* You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
|
|
286
278
|
*/
|
|
287
279
|
entityEventSequence?: string | null;
|
|
288
280
|
}
|
|
@@ -308,7 +300,7 @@ export interface EntityUpdatedEvent {
|
|
|
308
300
|
currentEntity?: string;
|
|
309
301
|
}
|
|
310
302
|
export interface EntityDeletedEvent {
|
|
311
|
-
/** Entity that was deleted */
|
|
303
|
+
/** Entity that was deleted. */
|
|
312
304
|
deletedEntity?: string | null;
|
|
313
305
|
}
|
|
314
306
|
export interface ActionEvent {
|
|
@@ -437,25 +429,21 @@ export interface BaseEventMetadata {
|
|
|
437
429
|
identity?: IdentificationData;
|
|
438
430
|
}
|
|
439
431
|
export interface EventMetadata extends BaseEventMetadata {
|
|
440
|
-
/**
|
|
441
|
-
* Unique event ID.
|
|
442
|
-
* Allows clients to ignore duplicate webhooks.
|
|
443
|
-
*/
|
|
432
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
444
433
|
_id?: string;
|
|
445
434
|
/**
|
|
446
|
-
*
|
|
447
|
-
*
|
|
435
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
436
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
448
437
|
*/
|
|
449
438
|
entityFqdn?: string;
|
|
450
439
|
/**
|
|
451
|
-
*
|
|
452
|
-
*
|
|
453
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
440
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
441
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
454
442
|
*/
|
|
455
443
|
slug?: string;
|
|
456
444
|
/** ID of the entity associated with the event. */
|
|
457
445
|
entityId?: string;
|
|
458
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
446
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
459
447
|
eventTime?: Date | null;
|
|
460
448
|
/**
|
|
461
449
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -465,12 +453,8 @@ export interface EventMetadata extends BaseEventMetadata {
|
|
|
465
453
|
/** If present, indicates the action that triggered the event. */
|
|
466
454
|
originatedFrom?: string | null;
|
|
467
455
|
/**
|
|
468
|
-
* A sequence number
|
|
469
|
-
*
|
|
470
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
471
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
472
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
473
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
456
|
+
* A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
|
|
457
|
+
* You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
|
|
474
458
|
*/
|
|
475
459
|
entityEventSequence?: string | null;
|
|
476
460
|
}
|
|
@@ -2,6 +2,8 @@ import { transformError as sdkTransformError } from '@wix/sdk-runtime/transform-
|
|
|
2
2
|
import { queryBuilder } from '@wix/sdk-runtime/query-builder';
|
|
3
3
|
import { renameKeysFromSDKRequestToRESTRequest, renameKeysFromRESTResponseToSDKResponse, } from '@wix/sdk-runtime/rename-all-nested-keys';
|
|
4
4
|
import * as ambassadorWixEcomV1ShippingOption from './ecom-v1-shipping-option-shipping-options.http.js';
|
|
5
|
+
// @ts-ignore
|
|
6
|
+
import { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';
|
|
5
7
|
export var ConditionType;
|
|
6
8
|
(function (ConditionType) {
|
|
7
9
|
ConditionType["UNKNOWN_TYPE"] = "UNKNOWN_TYPE";
|
|
@@ -254,7 +256,7 @@ export function queryShippingOptions() {
|
|
|
254
256
|
});
|
|
255
257
|
},
|
|
256
258
|
responseTransformer: ({ data, }) => {
|
|
257
|
-
const transformedData = renameKeysFromRESTResponseToSDKResponse(data);
|
|
259
|
+
const transformedData = renameKeysFromRESTResponseToSDKResponse(transformPaths(data, []));
|
|
258
260
|
return {
|
|
259
261
|
items: transformedData?.shippingOptions,
|
|
260
262
|
pagingMetadata: transformedData?.pagingMetadata,
|
|
@@ -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;
|
|
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;AA0FlF,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;AAED,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;AAkGD,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AAmPD,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;AAkID;;;;;;;;;;;;;;;;;;GAkBG;AACH,M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ecom_shipping-options",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.16",
|
|
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": "226a0407ed6ef4ad6737efba716ab20219a336e434b09cb5fc9e0d18"
|
|
52
52
|
}
|