@wix/auto_sdk_payments_saved-payment-methods 1.0.9 → 1.0.10
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/payments-saved-payment-methods-v1-saved-payment-method-saved-payment-methods.types.d.ts +9 -17
- package/build/cjs/src/payments-saved-payment-methods-v1-saved-payment-method-saved-payment-methods.types.js.map +1 -1
- package/build/cjs/src/payments-saved-payment-methods-v1-saved-payment-method-saved-payment-methods.universal.d.ts +17 -33
- package/build/cjs/src/payments-saved-payment-methods-v1-saved-payment-method-saved-payment-methods.universal.js.map +1 -1
- package/build/es/src/payments-saved-payment-methods-v1-saved-payment-method-saved-payment-methods.types.d.ts +9 -17
- package/build/es/src/payments-saved-payment-methods-v1-saved-payment-method-saved-payment-methods.types.js.map +1 -1
- package/build/es/src/payments-saved-payment-methods-v1-saved-payment-method-saved-payment-methods.universal.d.ts +17 -33
- package/build/es/src/payments-saved-payment-methods-v1-saved-payment-method-saved-payment-methods.universal.js.map +1 -1
- package/build/internal/cjs/src/payments-saved-payment-methods-v1-saved-payment-method-saved-payment-methods.types.d.ts +9 -17
- package/build/internal/cjs/src/payments-saved-payment-methods-v1-saved-payment-method-saved-payment-methods.types.js.map +1 -1
- package/build/internal/cjs/src/payments-saved-payment-methods-v1-saved-payment-method-saved-payment-methods.universal.d.ts +17 -33
- package/build/internal/cjs/src/payments-saved-payment-methods-v1-saved-payment-method-saved-payment-methods.universal.js.map +1 -1
- package/build/internal/es/src/payments-saved-payment-methods-v1-saved-payment-method-saved-payment-methods.types.d.ts +9 -17
- package/build/internal/es/src/payments-saved-payment-methods-v1-saved-payment-method-saved-payment-methods.types.js.map +1 -1
- package/build/internal/es/src/payments-saved-payment-methods-v1-saved-payment-method-saved-payment-methods.universal.d.ts +17 -33
- package/build/internal/es/src/payments-saved-payment-methods-v1-saved-payment-method-saved-payment-methods.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -288,25 +288,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
288
288
|
updatedEvent?: EntityUpdatedEvent;
|
|
289
289
|
deletedEvent?: EntityDeletedEvent;
|
|
290
290
|
actionEvent?: ActionEvent;
|
|
291
|
-
/**
|
|
292
|
-
* Unique event ID.
|
|
293
|
-
* Allows clients to ignore duplicate webhooks.
|
|
294
|
-
*/
|
|
291
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
295
292
|
id?: string;
|
|
296
293
|
/**
|
|
297
|
-
*
|
|
298
|
-
*
|
|
294
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
295
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
299
296
|
*/
|
|
300
297
|
entityFqdn?: string;
|
|
301
298
|
/**
|
|
302
|
-
*
|
|
303
|
-
*
|
|
304
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
299
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
300
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
305
301
|
*/
|
|
306
302
|
slug?: string;
|
|
307
303
|
/** ID of the entity associated with the event. */
|
|
308
304
|
entityId?: string;
|
|
309
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
305
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
310
306
|
eventTime?: Date | null;
|
|
311
307
|
/**
|
|
312
308
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -316,12 +312,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
316
312
|
/** If present, indicates the action that triggered the event. */
|
|
317
313
|
originatedFrom?: string | null;
|
|
318
314
|
/**
|
|
319
|
-
* A sequence number
|
|
320
|
-
*
|
|
321
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
322
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
323
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
324
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
315
|
+
* 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.
|
|
316
|
+
* 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.
|
|
325
317
|
*/
|
|
326
318
|
entityEventSequence?: string | null;
|
|
327
319
|
}
|
|
@@ -349,7 +341,7 @@ export interface EntityUpdatedEvent {
|
|
|
349
341
|
currentEntityAsJson?: string;
|
|
350
342
|
}
|
|
351
343
|
export interface EntityDeletedEvent {
|
|
352
|
-
/** Entity that was deleted */
|
|
344
|
+
/** Entity that was deleted. */
|
|
353
345
|
deletedEntityAsJson?: string | null;
|
|
354
346
|
}
|
|
355
347
|
export interface ActionEvent {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payments-saved-payment-methods-v1-saved-payment-method-saved-payment-methods.types.js","sourceRoot":"","sources":["../../../src/payments-saved-payment-methods-v1-saved-payment-method-saved-payment-methods.types.ts"],"names":[],"mappings":";;;AAsFA,IAAY,SAaX;AAbD,WAAY,SAAS;IACnB,sDAAyC,CAAA;IACzC,0BAAa,CAAA;IACb,gCAAmB,CAAA;IACnB,8BAAiB,CAAA;IACjB,kCAAqB,CAAA;IACrB,kCAAqB,CAAA;IACrB,wBAAW,CAAA;IACX,gCAAmB,CAAA;IACnB,sCAAyB,CAAA;IACzB,kCAAqB,CAAA;IACrB,0BAAa,CAAA;IACb,4BAAe,CAAA;AACjB,CAAC,EAbW,SAAS,yBAAT,SAAS,QAapB;AAkFD,IAAY,eAIX;AAJD,WAAY,eAAe;IACzB,2CAA2C;IAC3C,sEAAmD,CAAA;IACnD,oDAAiC,CAAA;AACnC,CAAC,EAJW,eAAe,+BAAf,eAAe,QAI1B;
|
|
1
|
+
{"version":3,"file":"payments-saved-payment-methods-v1-saved-payment-method-saved-payment-methods.types.js","sourceRoot":"","sources":["../../../src/payments-saved-payment-methods-v1-saved-payment-method-saved-payment-methods.types.ts"],"names":[],"mappings":";;;AAsFA,IAAY,SAaX;AAbD,WAAY,SAAS;IACnB,sDAAyC,CAAA;IACzC,0BAAa,CAAA;IACb,gCAAmB,CAAA;IACnB,8BAAiB,CAAA;IACjB,kCAAqB,CAAA;IACrB,kCAAqB,CAAA;IACrB,wBAAW,CAAA;IACX,gCAAmB,CAAA;IACnB,sCAAyB,CAAA;IACzB,kCAAqB,CAAA;IACrB,0BAAa,CAAA;IACb,4BAAe,CAAA;AACjB,CAAC,EAbW,SAAS,yBAAT,SAAS,QAapB;AAkFD,IAAY,eAIX;AAJD,WAAY,eAAe;IACzB,2CAA2C;IAC3C,sEAAmD,CAAA;IACnD,oDAAiC,CAAA;AACnC,CAAC,EAJW,eAAe,+BAAf,eAAe,QAI1B;AAkQD,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"}
|
|
@@ -289,25 +289,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
289
289
|
updatedEvent?: EntityUpdatedEvent;
|
|
290
290
|
deletedEvent?: EntityDeletedEvent;
|
|
291
291
|
actionEvent?: ActionEvent;
|
|
292
|
-
/**
|
|
293
|
-
* Unique event ID.
|
|
294
|
-
* Allows clients to ignore duplicate webhooks.
|
|
295
|
-
*/
|
|
292
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
296
293
|
_id?: string;
|
|
297
294
|
/**
|
|
298
|
-
*
|
|
299
|
-
*
|
|
295
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
296
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
300
297
|
*/
|
|
301
298
|
entityFqdn?: string;
|
|
302
299
|
/**
|
|
303
|
-
*
|
|
304
|
-
*
|
|
305
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
300
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
301
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
306
302
|
*/
|
|
307
303
|
slug?: string;
|
|
308
304
|
/** ID of the entity associated with the event. */
|
|
309
305
|
entityId?: string;
|
|
310
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
306
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
311
307
|
eventTime?: Date | null;
|
|
312
308
|
/**
|
|
313
309
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -317,12 +313,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
317
313
|
/** If present, indicates the action that triggered the event. */
|
|
318
314
|
originatedFrom?: string | null;
|
|
319
315
|
/**
|
|
320
|
-
* A sequence number
|
|
321
|
-
*
|
|
322
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
323
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
324
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
325
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
316
|
+
* 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.
|
|
317
|
+
* 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.
|
|
326
318
|
*/
|
|
327
319
|
entityEventSequence?: string | null;
|
|
328
320
|
}
|
|
@@ -348,7 +340,7 @@ export interface EntityUpdatedEvent {
|
|
|
348
340
|
currentEntity?: string;
|
|
349
341
|
}
|
|
350
342
|
export interface EntityDeletedEvent {
|
|
351
|
-
/** Entity that was deleted */
|
|
343
|
+
/** Entity that was deleted. */
|
|
352
344
|
deletedEntity?: string | null;
|
|
353
345
|
}
|
|
354
346
|
export interface ActionEvent {
|
|
@@ -470,25 +462,21 @@ export interface BaseEventMetadata {
|
|
|
470
462
|
identity?: IdentificationData;
|
|
471
463
|
}
|
|
472
464
|
export interface EventMetadata extends BaseEventMetadata {
|
|
473
|
-
/**
|
|
474
|
-
* Unique event ID.
|
|
475
|
-
* Allows clients to ignore duplicate webhooks.
|
|
476
|
-
*/
|
|
465
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
477
466
|
_id?: string;
|
|
478
467
|
/**
|
|
479
|
-
*
|
|
480
|
-
*
|
|
468
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
469
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
481
470
|
*/
|
|
482
471
|
entityFqdn?: string;
|
|
483
472
|
/**
|
|
484
|
-
*
|
|
485
|
-
*
|
|
486
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
473
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
474
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
487
475
|
*/
|
|
488
476
|
slug?: string;
|
|
489
477
|
/** ID of the entity associated with the event. */
|
|
490
478
|
entityId?: string;
|
|
491
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
479
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
492
480
|
eventTime?: Date | null;
|
|
493
481
|
/**
|
|
494
482
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -498,12 +486,8 @@ export interface EventMetadata extends BaseEventMetadata {
|
|
|
498
486
|
/** If present, indicates the action that triggered the event. */
|
|
499
487
|
originatedFrom?: string | null;
|
|
500
488
|
/**
|
|
501
|
-
* A sequence number
|
|
502
|
-
*
|
|
503
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
504
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
505
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
506
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
489
|
+
* 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.
|
|
490
|
+
* 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.
|
|
507
491
|
*/
|
|
508
492
|
entityEventSequence?: string | null;
|
|
509
493
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payments-saved-payment-methods-v1-saved-payment-method-saved-payment-methods.universal.js","sourceRoot":"","sources":["../../../src/payments-saved-payment-methods-v1-saved-payment-method-saved-payment-methods.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,qLAAuK;AAwFvK,IAAY,SAaX;AAbD,WAAY,SAAS;IACnB,sDAAyC,CAAA;IACzC,0BAAa,CAAA;IACb,gCAAmB,CAAA;IACnB,8BAAiB,CAAA;IACjB,kCAAqB,CAAA;IACrB,kCAAqB,CAAA;IACrB,wBAAW,CAAA;IACX,gCAAmB,CAAA;IACnB,sCAAyB,CAAA;IACzB,kCAAqB,CAAA;IACrB,0BAAa,CAAA;IACb,4BAAe,CAAA;AACjB,CAAC,EAbW,SAAS,yBAAT,SAAS,QAapB;AAkFD,IAAY,eAIX;AAJD,WAAY,eAAe;IACzB,2CAA2C;IAC3C,sEAAmD,CAAA;IACnD,oDAAiC,CAAA;AACnC,CAAC,EAJW,eAAe,+BAAf,eAAe,QAI1B;
|
|
1
|
+
{"version":3,"file":"payments-saved-payment-methods-v1-saved-payment-method-saved-payment-methods.universal.js","sourceRoot":"","sources":["../../../src/payments-saved-payment-methods-v1-saved-payment-method-saved-payment-methods.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,qLAAuK;AAwFvK,IAAY,SAaX;AAbD,WAAY,SAAS;IACnB,sDAAyC,CAAA;IACzC,0BAAa,CAAA;IACb,gCAAmB,CAAA;IACnB,8BAAiB,CAAA;IACjB,kCAAqB,CAAA;IACrB,kCAAqB,CAAA;IACrB,wBAAW,CAAA;IACX,gCAAmB,CAAA;IACnB,sCAAyB,CAAA;IACzB,kCAAqB,CAAA;IACrB,0BAAa,CAAA;IACb,4BAAe,CAAA;AACjB,CAAC,EAbW,SAAS,yBAAT,SAAS,QAapB;AAkFD,IAAY,eAIX;AAJD,WAAY,eAAe;IACzB,2CAA2C;IAC3C,sEAAmD,CAAA;IACnD,oDAAiC,CAAA;AACnC,CAAC,EAJW,eAAe,+BAAf,eAAe,QAI1B;AAgQD,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;AAoID;;;;;;;;;;;;;;;;;GAiBG;AACI,KAAK,UAAU,wBAAwB,CAC5C,kBAMC,EACD,OAGC;IASD,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,IAAA,8DAAqC,EAAC;QACpD,kBAAkB,EAAE,kBAAkB;QACtC,kBAAkB,EAAE,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AC;AACH,CAAC;AA/CD,4DA+CC;AAqDD;;;;;;;;;;;GAWG;AACI,KAAK,UAAU,6BAA6B,CACjD,oBAA4B;IAE5B,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,IAAA,8DAAqC,EAAC;QACpD,oBAAoB,EAAE,oBAAoB;KAC3C,CAAC,CAAC;IAEH,MAAM,OAAO,GACX,4DAA4D,CAAC,6BAA6B,CACxF,OAAO,CACR,CAAC;IAEJ,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;IACnC,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,IAAA,gCAAiB,EACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE,EAAE,oBAAoB,EAAE,MAAM,EAAE;YAC1D,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,sBAAsB,CAAC,CACzB,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AApCD,sEAoCC"}
|
|
@@ -288,25 +288,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
288
288
|
updatedEvent?: EntityUpdatedEvent;
|
|
289
289
|
deletedEvent?: EntityDeletedEvent;
|
|
290
290
|
actionEvent?: ActionEvent;
|
|
291
|
-
/**
|
|
292
|
-
* Unique event ID.
|
|
293
|
-
* Allows clients to ignore duplicate webhooks.
|
|
294
|
-
*/
|
|
291
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
295
292
|
id?: string;
|
|
296
293
|
/**
|
|
297
|
-
*
|
|
298
|
-
*
|
|
294
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
295
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
299
296
|
*/
|
|
300
297
|
entityFqdn?: string;
|
|
301
298
|
/**
|
|
302
|
-
*
|
|
303
|
-
*
|
|
304
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
299
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
300
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
305
301
|
*/
|
|
306
302
|
slug?: string;
|
|
307
303
|
/** ID of the entity associated with the event. */
|
|
308
304
|
entityId?: string;
|
|
309
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
305
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
310
306
|
eventTime?: Date | null;
|
|
311
307
|
/**
|
|
312
308
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -316,12 +312,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
316
312
|
/** If present, indicates the action that triggered the event. */
|
|
317
313
|
originatedFrom?: string | null;
|
|
318
314
|
/**
|
|
319
|
-
* A sequence number
|
|
320
|
-
*
|
|
321
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
322
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
323
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
324
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
315
|
+
* 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.
|
|
316
|
+
* 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.
|
|
325
317
|
*/
|
|
326
318
|
entityEventSequence?: string | null;
|
|
327
319
|
}
|
|
@@ -349,7 +341,7 @@ export interface EntityUpdatedEvent {
|
|
|
349
341
|
currentEntityAsJson?: string;
|
|
350
342
|
}
|
|
351
343
|
export interface EntityDeletedEvent {
|
|
352
|
-
/** Entity that was deleted */
|
|
344
|
+
/** Entity that was deleted. */
|
|
353
345
|
deletedEntityAsJson?: string | null;
|
|
354
346
|
}
|
|
355
347
|
export interface ActionEvent {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payments-saved-payment-methods-v1-saved-payment-method-saved-payment-methods.types.js","sourceRoot":"","sources":["../../../src/payments-saved-payment-methods-v1-saved-payment-method-saved-payment-methods.types.ts"],"names":[],"mappings":"AAsFA,MAAM,CAAN,IAAY,SAaX;AAbD,WAAY,SAAS;IACnB,sDAAyC,CAAA;IACzC,0BAAa,CAAA;IACb,gCAAmB,CAAA;IACnB,8BAAiB,CAAA;IACjB,kCAAqB,CAAA;IACrB,kCAAqB,CAAA;IACrB,wBAAW,CAAA;IACX,gCAAmB,CAAA;IACnB,sCAAyB,CAAA;IACzB,kCAAqB,CAAA;IACrB,0BAAa,CAAA;IACb,4BAAe,CAAA;AACjB,CAAC,EAbW,SAAS,KAAT,SAAS,QAapB;AAkFD,MAAM,CAAN,IAAY,eAIX;AAJD,WAAY,eAAe;IACzB,2CAA2C;IAC3C,sEAAmD,CAAA;IACnD,oDAAiC,CAAA;AACnC,CAAC,EAJW,eAAe,KAAf,eAAe,QAI1B;
|
|
1
|
+
{"version":3,"file":"payments-saved-payment-methods-v1-saved-payment-method-saved-payment-methods.types.js","sourceRoot":"","sources":["../../../src/payments-saved-payment-methods-v1-saved-payment-method-saved-payment-methods.types.ts"],"names":[],"mappings":"AAsFA,MAAM,CAAN,IAAY,SAaX;AAbD,WAAY,SAAS;IACnB,sDAAyC,CAAA;IACzC,0BAAa,CAAA;IACb,gCAAmB,CAAA;IACnB,8BAAiB,CAAA;IACjB,kCAAqB,CAAA;IACrB,kCAAqB,CAAA;IACrB,wBAAW,CAAA;IACX,gCAAmB,CAAA;IACnB,sCAAyB,CAAA;IACzB,kCAAqB,CAAA;IACrB,0BAAa,CAAA;IACb,4BAAe,CAAA;AACjB,CAAC,EAbW,SAAS,KAAT,SAAS,QAapB;AAkFD,MAAM,CAAN,IAAY,eAIX;AAJD,WAAY,eAAe;IACzB,2CAA2C;IAC3C,sEAAmD,CAAA;IACnD,oDAAiC,CAAA;AACnC,CAAC,EAJW,eAAe,KAAf,eAAe,QAI1B;AAkQD,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"}
|
|
@@ -289,25 +289,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
289
289
|
updatedEvent?: EntityUpdatedEvent;
|
|
290
290
|
deletedEvent?: EntityDeletedEvent;
|
|
291
291
|
actionEvent?: ActionEvent;
|
|
292
|
-
/**
|
|
293
|
-
* Unique event ID.
|
|
294
|
-
* Allows clients to ignore duplicate webhooks.
|
|
295
|
-
*/
|
|
292
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
296
293
|
_id?: string;
|
|
297
294
|
/**
|
|
298
|
-
*
|
|
299
|
-
*
|
|
295
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
296
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
300
297
|
*/
|
|
301
298
|
entityFqdn?: string;
|
|
302
299
|
/**
|
|
303
|
-
*
|
|
304
|
-
*
|
|
305
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
300
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
301
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
306
302
|
*/
|
|
307
303
|
slug?: string;
|
|
308
304
|
/** ID of the entity associated with the event. */
|
|
309
305
|
entityId?: string;
|
|
310
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
306
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
311
307
|
eventTime?: Date | null;
|
|
312
308
|
/**
|
|
313
309
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -317,12 +313,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
317
313
|
/** If present, indicates the action that triggered the event. */
|
|
318
314
|
originatedFrom?: string | null;
|
|
319
315
|
/**
|
|
320
|
-
* A sequence number
|
|
321
|
-
*
|
|
322
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
323
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
324
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
325
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
316
|
+
* 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.
|
|
317
|
+
* 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.
|
|
326
318
|
*/
|
|
327
319
|
entityEventSequence?: string | null;
|
|
328
320
|
}
|
|
@@ -348,7 +340,7 @@ export interface EntityUpdatedEvent {
|
|
|
348
340
|
currentEntity?: string;
|
|
349
341
|
}
|
|
350
342
|
export interface EntityDeletedEvent {
|
|
351
|
-
/** Entity that was deleted */
|
|
343
|
+
/** Entity that was deleted. */
|
|
352
344
|
deletedEntity?: string | null;
|
|
353
345
|
}
|
|
354
346
|
export interface ActionEvent {
|
|
@@ -470,25 +462,21 @@ export interface BaseEventMetadata {
|
|
|
470
462
|
identity?: IdentificationData;
|
|
471
463
|
}
|
|
472
464
|
export interface EventMetadata extends BaseEventMetadata {
|
|
473
|
-
/**
|
|
474
|
-
* Unique event ID.
|
|
475
|
-
* Allows clients to ignore duplicate webhooks.
|
|
476
|
-
*/
|
|
465
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
477
466
|
_id?: string;
|
|
478
467
|
/**
|
|
479
|
-
*
|
|
480
|
-
*
|
|
468
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
469
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
481
470
|
*/
|
|
482
471
|
entityFqdn?: string;
|
|
483
472
|
/**
|
|
484
|
-
*
|
|
485
|
-
*
|
|
486
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
473
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
474
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
487
475
|
*/
|
|
488
476
|
slug?: string;
|
|
489
477
|
/** ID of the entity associated with the event. */
|
|
490
478
|
entityId?: string;
|
|
491
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
479
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
492
480
|
eventTime?: Date | null;
|
|
493
481
|
/**
|
|
494
482
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -498,12 +486,8 @@ export interface EventMetadata extends BaseEventMetadata {
|
|
|
498
486
|
/** If present, indicates the action that triggered the event. */
|
|
499
487
|
originatedFrom?: string | null;
|
|
500
488
|
/**
|
|
501
|
-
* A sequence number
|
|
502
|
-
*
|
|
503
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
504
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
505
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
506
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
489
|
+
* 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.
|
|
490
|
+
* 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.
|
|
507
491
|
*/
|
|
508
492
|
entityEventSequence?: string | null;
|
|
509
493
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payments-saved-payment-methods-v1-saved-payment-method-saved-payment-methods.universal.js","sourceRoot":"","sources":["../../../src/payments-saved-payment-methods-v1-saved-payment-method-saved-payment-methods.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,4DAA4D,MAAM,wFAAwF,CAAC;AAwFvK,MAAM,CAAN,IAAY,SAaX;AAbD,WAAY,SAAS;IACnB,sDAAyC,CAAA;IACzC,0BAAa,CAAA;IACb,gCAAmB,CAAA;IACnB,8BAAiB,CAAA;IACjB,kCAAqB,CAAA;IACrB,kCAAqB,CAAA;IACrB,wBAAW,CAAA;IACX,gCAAmB,CAAA;IACnB,sCAAyB,CAAA;IACzB,kCAAqB,CAAA;IACrB,0BAAa,CAAA;IACb,4BAAe,CAAA;AACjB,CAAC,EAbW,SAAS,KAAT,SAAS,QAapB;AAkFD,MAAM,CAAN,IAAY,eAIX;AAJD,WAAY,eAAe;IACzB,2CAA2C;IAC3C,sEAAmD,CAAA;IACnD,oDAAiC,CAAA;AACnC,CAAC,EAJW,eAAe,KAAf,eAAe,QAI1B;
|
|
1
|
+
{"version":3,"file":"payments-saved-payment-methods-v1-saved-payment-method-saved-payment-methods.universal.js","sourceRoot":"","sources":["../../../src/payments-saved-payment-methods-v1-saved-payment-method-saved-payment-methods.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,4DAA4D,MAAM,wFAAwF,CAAC;AAwFvK,MAAM,CAAN,IAAY,SAaX;AAbD,WAAY,SAAS;IACnB,sDAAyC,CAAA;IACzC,0BAAa,CAAA;IACb,gCAAmB,CAAA;IACnB,8BAAiB,CAAA;IACjB,kCAAqB,CAAA;IACrB,kCAAqB,CAAA;IACrB,wBAAW,CAAA;IACX,gCAAmB,CAAA;IACnB,sCAAyB,CAAA;IACzB,kCAAqB,CAAA;IACrB,0BAAa,CAAA;IACb,4BAAe,CAAA;AACjB,CAAC,EAbW,SAAS,KAAT,SAAS,QAapB;AAkFD,MAAM,CAAN,IAAY,eAIX;AAJD,WAAY,eAAe;IACzB,2CAA2C;IAC3C,sEAAmD,CAAA;IACnD,oDAAiC,CAAA;AACnC,CAAC,EAJW,eAAe,KAAf,eAAe,QAI1B;AAgQD,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;AAoID;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,CAAC,KAAK,UAAU,wBAAwB,CAC5C,kBAMC,EACD,OAGC;IASD,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,qCAAqC,CAAC;QACpD,kBAAkB,EAAE,kBAAkB;Q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A6B,CACjD,oBAA4B;IAE5B,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,qCAAqC,CAAC;QACpD,oBAAoB,EAAE,oBAAoB;KAC3C,CAAC,CAAC;IAEH,MAAM,OAAO,GACX,4DAA4D,CAAC,6BAA6B,CACxF,OAAO,CACR,CAAC;IAEJ,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;IACnC,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,iBAAiB,CACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE,EAAE,oBAAoB,EAAE,MAAM,EAAE;YAC1D,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,sBAAsB,CAAC,CACzB,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC"}
|
|
@@ -288,25 +288,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
288
288
|
updatedEvent?: EntityUpdatedEvent;
|
|
289
289
|
deletedEvent?: EntityDeletedEvent;
|
|
290
290
|
actionEvent?: ActionEvent;
|
|
291
|
-
/**
|
|
292
|
-
* Unique event ID.
|
|
293
|
-
* Allows clients to ignore duplicate webhooks.
|
|
294
|
-
*/
|
|
291
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
295
292
|
id?: string;
|
|
296
293
|
/**
|
|
297
|
-
*
|
|
298
|
-
*
|
|
294
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
295
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
299
296
|
*/
|
|
300
297
|
entityFqdn?: string;
|
|
301
298
|
/**
|
|
302
|
-
*
|
|
303
|
-
*
|
|
304
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
299
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
300
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
305
301
|
*/
|
|
306
302
|
slug?: string;
|
|
307
303
|
/** ID of the entity associated with the event. */
|
|
308
304
|
entityId?: string;
|
|
309
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
305
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
310
306
|
eventTime?: Date | null;
|
|
311
307
|
/**
|
|
312
308
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -316,12 +312,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
316
312
|
/** If present, indicates the action that triggered the event. */
|
|
317
313
|
originatedFrom?: string | null;
|
|
318
314
|
/**
|
|
319
|
-
* A sequence number
|
|
320
|
-
*
|
|
321
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
322
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
323
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
324
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
315
|
+
* 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.
|
|
316
|
+
* 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.
|
|
325
317
|
*/
|
|
326
318
|
entityEventSequence?: string | null;
|
|
327
319
|
}
|
|
@@ -349,7 +341,7 @@ export interface EntityUpdatedEvent {
|
|
|
349
341
|
currentEntityAsJson?: string;
|
|
350
342
|
}
|
|
351
343
|
export interface EntityDeletedEvent {
|
|
352
|
-
/** Entity that was deleted */
|
|
344
|
+
/** Entity that was deleted. */
|
|
353
345
|
deletedEntityAsJson?: string | null;
|
|
354
346
|
}
|
|
355
347
|
export interface ActionEvent {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payments-saved-payment-methods-v1-saved-payment-method-saved-payment-methods.types.js","sourceRoot":"","sources":["../../../../src/payments-saved-payment-methods-v1-saved-payment-method-saved-payment-methods.types.ts"],"names":[],"mappings":";;;AAsFA,IAAY,SAaX;AAbD,WAAY,SAAS;IACnB,sDAAyC,CAAA;IACzC,0BAAa,CAAA;IACb,gCAAmB,CAAA;IACnB,8BAAiB,CAAA;IACjB,kCAAqB,CAAA;IACrB,kCAAqB,CAAA;IACrB,wBAAW,CAAA;IACX,gCAAmB,CAAA;IACnB,sCAAyB,CAAA;IACzB,kCAAqB,CAAA;IACrB,0BAAa,CAAA;IACb,4BAAe,CAAA;AACjB,CAAC,EAbW,SAAS,yBAAT,SAAS,QAapB;AAkFD,IAAY,eAIX;AAJD,WAAY,eAAe;IACzB,2CAA2C;IAC3C,sEAAmD,CAAA;IACnD,oDAAiC,CAAA;AACnC,CAAC,EAJW,eAAe,+BAAf,eAAe,QAI1B;
|
|
1
|
+
{"version":3,"file":"payments-saved-payment-methods-v1-saved-payment-method-saved-payment-methods.types.js","sourceRoot":"","sources":["../../../../src/payments-saved-payment-methods-v1-saved-payment-method-saved-payment-methods.types.ts"],"names":[],"mappings":";;;AAsFA,IAAY,SAaX;AAbD,WAAY,SAAS;IACnB,sDAAyC,CAAA;IACzC,0BAAa,CAAA;IACb,gCAAmB,CAAA;IACnB,8BAAiB,CAAA;IACjB,kCAAqB,CAAA;IACrB,kCAAqB,CAAA;IACrB,wBAAW,CAAA;IACX,gCAAmB,CAAA;IACnB,sCAAyB,CAAA;IACzB,kCAAqB,CAAA;IACrB,0BAAa,CAAA;IACb,4BAAe,CAAA;AACjB,CAAC,EAbW,SAAS,yBAAT,SAAS,QAapB;AAkFD,IAAY,eAIX;AAJD,WAAY,eAAe;IACzB,2CAA2C;IAC3C,sEAAmD,CAAA;IACnD,oDAAiC,CAAA;AACnC,CAAC,EAJW,eAAe,+BAAf,eAAe,QAI1B;AAkQD,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"}
|
|
@@ -289,25 +289,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
289
289
|
updatedEvent?: EntityUpdatedEvent;
|
|
290
290
|
deletedEvent?: EntityDeletedEvent;
|
|
291
291
|
actionEvent?: ActionEvent;
|
|
292
|
-
/**
|
|
293
|
-
* Unique event ID.
|
|
294
|
-
* Allows clients to ignore duplicate webhooks.
|
|
295
|
-
*/
|
|
292
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
296
293
|
_id?: string;
|
|
297
294
|
/**
|
|
298
|
-
*
|
|
299
|
-
*
|
|
295
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
296
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
300
297
|
*/
|
|
301
298
|
entityFqdn?: string;
|
|
302
299
|
/**
|
|
303
|
-
*
|
|
304
|
-
*
|
|
305
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
300
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
301
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
306
302
|
*/
|
|
307
303
|
slug?: string;
|
|
308
304
|
/** ID of the entity associated with the event. */
|
|
309
305
|
entityId?: string;
|
|
310
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
306
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
311
307
|
eventTime?: Date | null;
|
|
312
308
|
/**
|
|
313
309
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -317,12 +313,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
317
313
|
/** If present, indicates the action that triggered the event. */
|
|
318
314
|
originatedFrom?: string | null;
|
|
319
315
|
/**
|
|
320
|
-
* A sequence number
|
|
321
|
-
*
|
|
322
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
323
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
324
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
325
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
316
|
+
* 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.
|
|
317
|
+
* 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.
|
|
326
318
|
*/
|
|
327
319
|
entityEventSequence?: string | null;
|
|
328
320
|
}
|
|
@@ -348,7 +340,7 @@ export interface EntityUpdatedEvent {
|
|
|
348
340
|
currentEntity?: string;
|
|
349
341
|
}
|
|
350
342
|
export interface EntityDeletedEvent {
|
|
351
|
-
/** Entity that was deleted */
|
|
343
|
+
/** Entity that was deleted. */
|
|
352
344
|
deletedEntity?: string | null;
|
|
353
345
|
}
|
|
354
346
|
export interface ActionEvent {
|
|
@@ -470,25 +462,21 @@ export interface BaseEventMetadata {
|
|
|
470
462
|
identity?: IdentificationData;
|
|
471
463
|
}
|
|
472
464
|
export interface EventMetadata extends BaseEventMetadata {
|
|
473
|
-
/**
|
|
474
|
-
* Unique event ID.
|
|
475
|
-
* Allows clients to ignore duplicate webhooks.
|
|
476
|
-
*/
|
|
465
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
477
466
|
_id?: string;
|
|
478
467
|
/**
|
|
479
|
-
*
|
|
480
|
-
*
|
|
468
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
469
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
481
470
|
*/
|
|
482
471
|
entityFqdn?: string;
|
|
483
472
|
/**
|
|
484
|
-
*
|
|
485
|
-
*
|
|
486
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
473
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
474
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
487
475
|
*/
|
|
488
476
|
slug?: string;
|
|
489
477
|
/** ID of the entity associated with the event. */
|
|
490
478
|
entityId?: string;
|
|
491
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
479
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
492
480
|
eventTime?: Date | null;
|
|
493
481
|
/**
|
|
494
482
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -498,12 +486,8 @@ export interface EventMetadata extends BaseEventMetadata {
|
|
|
498
486
|
/** If present, indicates the action that triggered the event. */
|
|
499
487
|
originatedFrom?: string | null;
|
|
500
488
|
/**
|
|
501
|
-
* A sequence number
|
|
502
|
-
*
|
|
503
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
504
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
505
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
506
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
489
|
+
* 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.
|
|
490
|
+
* 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.
|
|
507
491
|
*/
|
|
508
492
|
entityEventSequence?: string | null;
|
|
509
493
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payments-saved-payment-methods-v1-saved-payment-method-saved-payment-methods.universal.js","sourceRoot":"","sources":["../../../../src/payments-saved-payment-methods-v1-saved-payment-method-saved-payment-methods.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,qLAAuK;AAwFvK,IAAY,SAaX;AAbD,WAAY,SAAS;IACnB,sDAAyC,CAAA;IACzC,0BAAa,CAAA;IACb,gCAAmB,CAAA;IACnB,8BAAiB,CAAA;IACjB,kCAAqB,CAAA;IACrB,kCAAqB,CAAA;IACrB,wBAAW,CAAA;IACX,gCAAmB,CAAA;IACnB,sCAAyB,CAAA;IACzB,kCAAqB,CAAA;IACrB,0BAAa,CAAA;IACb,4BAAe,CAAA;AACjB,CAAC,EAbW,SAAS,yBAAT,SAAS,QAapB;AAkFD,IAAY,eAIX;AAJD,WAAY,eAAe;IACzB,2CAA2C;IAC3C,sEAAmD,CAAA;IACnD,oDAAiC,CAAA;AACnC,CAAC,EAJW,eAAe,+BAAf,eAAe,QAI1B;
|
|
1
|
+
{"version":3,"file":"payments-saved-payment-methods-v1-saved-payment-method-saved-payment-methods.universal.js","sourceRoot":"","sources":["../../../../src/payments-saved-payment-methods-v1-saved-payment-method-saved-payment-methods.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,qLAAuK;AAwFvK,IAAY,SAaX;AAbD,WAAY,SAAS;IACnB,sDAAyC,CAAA;IACzC,0BAAa,CAAA;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,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACjD,WAAW,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,CAAC;IACnC,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,IAAA,gCAAiB,EACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE,EAAE,oBAAoB,EAAE,MAAM,EAAE;YAC1D,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,sBAAsB,CAAC,CACzB,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AApCD,sEAoCC"}
|
|
@@ -288,25 +288,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
288
288
|
updatedEvent?: EntityUpdatedEvent;
|
|
289
289
|
deletedEvent?: EntityDeletedEvent;
|
|
290
290
|
actionEvent?: ActionEvent;
|
|
291
|
-
/**
|
|
292
|
-
* Unique event ID.
|
|
293
|
-
* Allows clients to ignore duplicate webhooks.
|
|
294
|
-
*/
|
|
291
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
295
292
|
id?: string;
|
|
296
293
|
/**
|
|
297
|
-
*
|
|
298
|
-
*
|
|
294
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
295
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
299
296
|
*/
|
|
300
297
|
entityFqdn?: string;
|
|
301
298
|
/**
|
|
302
|
-
*
|
|
303
|
-
*
|
|
304
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
299
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
300
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
305
301
|
*/
|
|
306
302
|
slug?: string;
|
|
307
303
|
/** ID of the entity associated with the event. */
|
|
308
304
|
entityId?: string;
|
|
309
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
305
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
310
306
|
eventTime?: Date | null;
|
|
311
307
|
/**
|
|
312
308
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -316,12 +312,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
316
312
|
/** If present, indicates the action that triggered the event. */
|
|
317
313
|
originatedFrom?: string | null;
|
|
318
314
|
/**
|
|
319
|
-
* A sequence number
|
|
320
|
-
*
|
|
321
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
322
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
323
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
324
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
315
|
+
* 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.
|
|
316
|
+
* 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.
|
|
325
317
|
*/
|
|
326
318
|
entityEventSequence?: string | null;
|
|
327
319
|
}
|
|
@@ -349,7 +341,7 @@ export interface EntityUpdatedEvent {
|
|
|
349
341
|
currentEntityAsJson?: string;
|
|
350
342
|
}
|
|
351
343
|
export interface EntityDeletedEvent {
|
|
352
|
-
/** Entity that was deleted */
|
|
344
|
+
/** Entity that was deleted. */
|
|
353
345
|
deletedEntityAsJson?: string | null;
|
|
354
346
|
}
|
|
355
347
|
export interface ActionEvent {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payments-saved-payment-methods-v1-saved-payment-method-saved-payment-methods.types.js","sourceRoot":"","sources":["../../../../src/payments-saved-payment-methods-v1-saved-payment-method-saved-payment-methods.types.ts"],"names":[],"mappings":"AAsFA,MAAM,CAAN,IAAY,SAaX;AAbD,WAAY,SAAS;IACnB,sDAAyC,CAAA;IACzC,0BAAa,CAAA;IACb,gCAAmB,CAAA;IACnB,8BAAiB,CAAA;IACjB,kCAAqB,CAAA;IACrB,kCAAqB,CAAA;IACrB,wBAAW,CAAA;IACX,gCAAmB,CAAA;IACnB,sCAAyB,CAAA;IACzB,kCAAqB,CAAA;IACrB,0BAAa,CAAA;IACb,4BAAe,CAAA;AACjB,CAAC,EAbW,SAAS,KAAT,SAAS,QAapB;AAkFD,MAAM,CAAN,IAAY,eAIX;AAJD,WAAY,eAAe;IACzB,2CAA2C;IAC3C,sEAAmD,CAAA;IACnD,oDAAiC,CAAA;AACnC,CAAC,EAJW,eAAe,KAAf,eAAe,QAI1B;
|
|
1
|
+
{"version":3,"file":"payments-saved-payment-methods-v1-saved-payment-method-saved-payment-methods.types.js","sourceRoot":"","sources":["../../../../src/payments-saved-payment-methods-v1-saved-payment-method-saved-payment-methods.types.ts"],"names":[],"mappings":"AAsFA,MAAM,CAAN,IAAY,SAaX;AAbD,WAAY,SAAS;IACnB,sDAAyC,CAAA;IACzC,0BAAa,CAAA;IACb,gCAAmB,CAAA;IACnB,8BAAiB,CAAA;IACjB,kCAAqB,CAAA;IACrB,kCAAqB,CAAA;IACrB,wBAAW,CAAA;IACX,gCAAmB,CAAA;IACnB,sCAAyB,CAAA;IACzB,kCAAqB,CAAA;IACrB,0BAAa,CAAA;IACb,4BAAe,CAAA;AACjB,CAAC,EAbW,SAAS,KAAT,SAAS,QAapB;AAkFD,MAAM,CAAN,IAAY,eAIX;AAJD,WAAY,eAAe;IACzB,2CAA2C;IAC3C,sEAAmD,CAAA;IACnD,oDAAiC,CAAA;AACnC,CAAC,EAJW,eAAe,KAAf,eAAe,QAI1B;AAkQD,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"}
|
|
@@ -289,25 +289,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
289
289
|
updatedEvent?: EntityUpdatedEvent;
|
|
290
290
|
deletedEvent?: EntityDeletedEvent;
|
|
291
291
|
actionEvent?: ActionEvent;
|
|
292
|
-
/**
|
|
293
|
-
* Unique event ID.
|
|
294
|
-
* Allows clients to ignore duplicate webhooks.
|
|
295
|
-
*/
|
|
292
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
296
293
|
_id?: string;
|
|
297
294
|
/**
|
|
298
|
-
*
|
|
299
|
-
*
|
|
295
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
296
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
300
297
|
*/
|
|
301
298
|
entityFqdn?: string;
|
|
302
299
|
/**
|
|
303
|
-
*
|
|
304
|
-
*
|
|
305
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
300
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
301
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
306
302
|
*/
|
|
307
303
|
slug?: string;
|
|
308
304
|
/** ID of the entity associated with the event. */
|
|
309
305
|
entityId?: string;
|
|
310
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
306
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
311
307
|
eventTime?: Date | null;
|
|
312
308
|
/**
|
|
313
309
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -317,12 +313,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
317
313
|
/** If present, indicates the action that triggered the event. */
|
|
318
314
|
originatedFrom?: string | null;
|
|
319
315
|
/**
|
|
320
|
-
* A sequence number
|
|
321
|
-
*
|
|
322
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
323
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
324
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
325
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
316
|
+
* 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.
|
|
317
|
+
* 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.
|
|
326
318
|
*/
|
|
327
319
|
entityEventSequence?: string | null;
|
|
328
320
|
}
|
|
@@ -348,7 +340,7 @@ export interface EntityUpdatedEvent {
|
|
|
348
340
|
currentEntity?: string;
|
|
349
341
|
}
|
|
350
342
|
export interface EntityDeletedEvent {
|
|
351
|
-
/** Entity that was deleted */
|
|
343
|
+
/** Entity that was deleted. */
|
|
352
344
|
deletedEntity?: string | null;
|
|
353
345
|
}
|
|
354
346
|
export interface ActionEvent {
|
|
@@ -470,25 +462,21 @@ export interface BaseEventMetadata {
|
|
|
470
462
|
identity?: IdentificationData;
|
|
471
463
|
}
|
|
472
464
|
export interface EventMetadata extends BaseEventMetadata {
|
|
473
|
-
/**
|
|
474
|
-
* Unique event ID.
|
|
475
|
-
* Allows clients to ignore duplicate webhooks.
|
|
476
|
-
*/
|
|
465
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
477
466
|
_id?: string;
|
|
478
467
|
/**
|
|
479
|
-
*
|
|
480
|
-
*
|
|
468
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
469
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
481
470
|
*/
|
|
482
471
|
entityFqdn?: string;
|
|
483
472
|
/**
|
|
484
|
-
*
|
|
485
|
-
*
|
|
486
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
473
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
474
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
487
475
|
*/
|
|
488
476
|
slug?: string;
|
|
489
477
|
/** ID of the entity associated with the event. */
|
|
490
478
|
entityId?: string;
|
|
491
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
479
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
492
480
|
eventTime?: Date | null;
|
|
493
481
|
/**
|
|
494
482
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -498,12 +486,8 @@ export interface EventMetadata extends BaseEventMetadata {
|
|
|
498
486
|
/** If present, indicates the action that triggered the event. */
|
|
499
487
|
originatedFrom?: string | null;
|
|
500
488
|
/**
|
|
501
|
-
* A sequence number
|
|
502
|
-
*
|
|
503
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
504
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
505
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
506
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
489
|
+
* 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.
|
|
490
|
+
* 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.
|
|
507
491
|
*/
|
|
508
492
|
entityEventSequence?: string | null;
|
|
509
493
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payments-saved-payment-methods-v1-saved-payment-method-saved-payment-methods.universal.js","sourceRoot":"","sources":["../../../../src/payments-saved-payment-methods-v1-saved-payment-method-saved-payment-methods.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,4DAA4D,MAAM,wFAAwF,CAAC;AAwFvK,MAAM,CAAN,IAAY,SAaX;AAbD,WAAY,SAAS;IACnB,sDAAyC,CAAA;IACzC,0BAAa,CAAA;IACb,gCAAmB,CAAA;IACnB,8BAAiB,CAAA;IACjB,kCAAqB,CAAA;IACrB,kCAAqB,CAAA;IACrB,wBAAW,CAAA;IACX,gCAAmB,CAAA;IACnB,sCAAyB,CAAA;IACzB,kCAAqB,CAAA;IACrB,0BAAa,CAAA;IACb,4BAAe,CAAA;AACjB,CAAC,EAbW,SAAS,KAAT,SAAS,QAapB;AAkFD,MAAM,CAAN,IAAY,eAIX;AAJD,WAAY,eAAe;IACzB,2CAA2C;IAC3C,sEAAmD,CAAA;IACnD,oDAAiC,CAAA;AACnC,CAAC,EAJW,eAAe,KAAf,eAAe,QAI1B;
|
|
1
|
+
{"version":3,"file":"payments-saved-payment-methods-v1-saved-payment-method-saved-payment-methods.universal.js","sourceRoot":"","sources":["../../../../src/payments-saved-payment-methods-v1-saved-payment-method-saved-payment-methods.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,4DAA4D,MAAM,wFAAwF,CAAC;AAwFvK,MAAM,CAAN,IAAY,SAaX;AAbD,WAAY,SAAS;IACnB,sDAAyC,CAAA;IACzC,0BAAa,CAAA;IAC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,CAAC;QACjD,WAAW,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,CAAC;IACnC,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,iBAAiB,CACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE,EAAE,oBAAoB,EAAE,MAAM,EAAE;YAC1D,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,sBAAsB,CAAC,CACzB,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_payments_saved-payment-methods",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.10",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"fqdn": "wix.payments.saved_payment_methods.v1.saved_payment_method"
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
|
-
"falconPackageHash": "
|
|
51
|
+
"falconPackageHash": "abcf6aa484f7bf07077cd532ce9fe8d07b62fa85999026cfcebc442a"
|
|
52
52
|
}
|