@wix/auto_sdk_ecom_order-payment-requests 1.0.13 → 1.0.15
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-order-payment-request-order-payment-requests.types.d.ts +18 -20
- package/build/cjs/src/ecom-v1-order-payment-request-order-payment-requests.types.js.map +1 -1
- package/build/cjs/src/ecom-v1-order-payment-request-order-payment-requests.universal.d.ts +23 -25
- package/build/cjs/src/ecom-v1-order-payment-request-order-payment-requests.universal.js.map +1 -1
- package/build/es/src/ecom-v1-order-payment-request-order-payment-requests.types.d.ts +18 -20
- package/build/es/src/ecom-v1-order-payment-request-order-payment-requests.types.js.map +1 -1
- package/build/es/src/ecom-v1-order-payment-request-order-payment-requests.universal.d.ts +23 -25
- package/build/es/src/ecom-v1-order-payment-request-order-payment-requests.universal.js.map +1 -1
- package/build/internal/cjs/src/ecom-v1-order-payment-request-order-payment-requests.types.d.ts +18 -20
- package/build/internal/cjs/src/ecom-v1-order-payment-request-order-payment-requests.types.js.map +1 -1
- package/build/internal/cjs/src/ecom-v1-order-payment-request-order-payment-requests.universal.d.ts +23 -25
- package/build/internal/cjs/src/ecom-v1-order-payment-request-order-payment-requests.universal.js.map +1 -1
- package/build/internal/es/src/ecom-v1-order-payment-request-order-payment-requests.types.d.ts +18 -20
- package/build/internal/es/src/ecom-v1-order-payment-request-order-payment-requests.types.js.map +1 -1
- package/build/internal/es/src/ecom-v1-order-payment-request-order-payment-requests.universal.d.ts +23 -25
- package/build/internal/es/src/ecom-v1-order-payment-request-order-payment-requests.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -14,7 +14,7 @@ export interface OrderPaymentRequest {
|
|
|
14
14
|
* status.
|
|
15
15
|
* @readonly
|
|
16
16
|
*/
|
|
17
|
-
status?:
|
|
17
|
+
status?: StatusWithLiterals;
|
|
18
18
|
/**
|
|
19
19
|
* Order ID.
|
|
20
20
|
* @format GUID
|
|
@@ -100,6 +100,8 @@ export declare enum Status {
|
|
|
100
100
|
PAID = "PAID",
|
|
101
101
|
EXPIRED = "EXPIRED"
|
|
102
102
|
}
|
|
103
|
+
/** @enumType */
|
|
104
|
+
export type StatusWithLiterals = Status | 'UNKNOWN_STATUS' | 'UNPAID' | 'PAID' | 'EXPIRED';
|
|
103
105
|
export interface Price {
|
|
104
106
|
/**
|
|
105
107
|
* Amount.
|
|
@@ -238,12 +240,14 @@ export interface Sorting {
|
|
|
238
240
|
*/
|
|
239
241
|
fieldName?: string;
|
|
240
242
|
/** Sort order. */
|
|
241
|
-
order?:
|
|
243
|
+
order?: SortOrderWithLiterals;
|
|
242
244
|
}
|
|
243
245
|
export declare enum SortOrder {
|
|
244
246
|
ASC = "ASC",
|
|
245
247
|
DESC = "DESC"
|
|
246
248
|
}
|
|
249
|
+
/** @enumType */
|
|
250
|
+
export type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
|
|
247
251
|
export interface CursorPaging {
|
|
248
252
|
/**
|
|
249
253
|
* Maximum number of items to return in the results.
|
|
@@ -325,25 +329,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
325
329
|
updatedEvent?: EntityUpdatedEvent;
|
|
326
330
|
deletedEvent?: EntityDeletedEvent;
|
|
327
331
|
actionEvent?: ActionEvent;
|
|
328
|
-
/**
|
|
329
|
-
* Unique event ID.
|
|
330
|
-
* Allows clients to ignore duplicate webhooks.
|
|
331
|
-
*/
|
|
332
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
332
333
|
id?: string;
|
|
333
334
|
/**
|
|
334
|
-
*
|
|
335
|
-
*
|
|
335
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
336
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
336
337
|
*/
|
|
337
338
|
entityFqdn?: string;
|
|
338
339
|
/**
|
|
339
|
-
*
|
|
340
|
-
*
|
|
341
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
340
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
341
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
342
342
|
*/
|
|
343
343
|
slug?: string;
|
|
344
344
|
/** ID of the entity associated with the event. */
|
|
345
345
|
entityId?: string;
|
|
346
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
346
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
347
347
|
eventTime?: Date | null;
|
|
348
348
|
/**
|
|
349
349
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -353,12 +353,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
353
353
|
/** If present, indicates the action that triggered the event. */
|
|
354
354
|
originatedFrom?: string | null;
|
|
355
355
|
/**
|
|
356
|
-
* A sequence number
|
|
357
|
-
*
|
|
358
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
359
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
360
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
361
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
356
|
+
* 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.
|
|
357
|
+
* 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.
|
|
362
358
|
*/
|
|
363
359
|
entityEventSequence?: string | null;
|
|
364
360
|
}
|
|
@@ -386,7 +382,7 @@ export interface EntityUpdatedEvent {
|
|
|
386
382
|
currentEntityAsJson?: string;
|
|
387
383
|
}
|
|
388
384
|
export interface EntityDeletedEvent {
|
|
389
|
-
/** Entity that was deleted */
|
|
385
|
+
/** Entity that was deleted. */
|
|
390
386
|
deletedEntityAsJson?: string | null;
|
|
391
387
|
}
|
|
392
388
|
export interface ActionEvent {
|
|
@@ -432,7 +428,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
432
428
|
*/
|
|
433
429
|
appId?: string;
|
|
434
430
|
/** @readonly */
|
|
435
|
-
identityType?:
|
|
431
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
436
432
|
}
|
|
437
433
|
/** @oneof */
|
|
438
434
|
export interface IdentificationDataIdOneOf {
|
|
@@ -464,3 +460,5 @@ export declare enum WebhookIdentityType {
|
|
|
464
460
|
WIX_USER = "WIX_USER",
|
|
465
461
|
APP = "APP"
|
|
466
462
|
}
|
|
463
|
+
/** @enumType */
|
|
464
|
+
export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ecom-v1-order-payment-request-order-payment-requests.types.js","sourceRoot":"","sources":["../../../src/ecom-v1-order-payment-request-order-payment-requests.types.ts"],"names":[],"mappings":";;;AAkGA,IAAY,MAKX;AALD,WAAY,MAAM;IAChB,2CAAiC,CAAA;IACjC,2BAAiB,CAAA;IACjB,uBAAa,CAAA;IACb,6BAAmB,CAAA;AACrB,CAAC,EALW,MAAM,sBAAN,MAAM,QAKjB;
|
|
1
|
+
{"version":3,"file":"ecom-v1-order-payment-request-order-payment-requests.types.js","sourceRoot":"","sources":["../../../src/ecom-v1-order-payment-request-order-payment-requests.types.ts"],"names":[],"mappings":";;;AAkGA,IAAY,MAKX;AALD,WAAY,MAAM;IAChB,2CAAiC,CAAA;IACjC,2BAAiB,CAAA;IACjB,uBAAa,CAAA;IACb,6BAAmB,CAAA;AACrB,CAAC,EALW,MAAM,sBAAN,MAAM,QAKjB;AAsKD,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;AAoOD,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"}
|
|
@@ -15,7 +15,7 @@ export interface OrderPaymentRequest {
|
|
|
15
15
|
* status.
|
|
16
16
|
* @readonly
|
|
17
17
|
*/
|
|
18
|
-
status?:
|
|
18
|
+
status?: StatusWithLiterals;
|
|
19
19
|
/**
|
|
20
20
|
* Order ID.
|
|
21
21
|
* @format GUID
|
|
@@ -101,6 +101,8 @@ export declare enum Status {
|
|
|
101
101
|
PAID = "PAID",
|
|
102
102
|
EXPIRED = "EXPIRED"
|
|
103
103
|
}
|
|
104
|
+
/** @enumType */
|
|
105
|
+
export type StatusWithLiterals = Status | 'UNKNOWN_STATUS' | 'UNPAID' | 'PAID' | 'EXPIRED';
|
|
104
106
|
export interface Price {
|
|
105
107
|
/**
|
|
106
108
|
* Amount.
|
|
@@ -211,12 +213,14 @@ export interface Sorting {
|
|
|
211
213
|
*/
|
|
212
214
|
fieldName?: string;
|
|
213
215
|
/** Sort order. */
|
|
214
|
-
order?:
|
|
216
|
+
order?: SortOrderWithLiterals;
|
|
215
217
|
}
|
|
216
218
|
export declare enum SortOrder {
|
|
217
219
|
ASC = "ASC",
|
|
218
220
|
DESC = "DESC"
|
|
219
221
|
}
|
|
222
|
+
/** @enumType */
|
|
223
|
+
export type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
|
|
220
224
|
export interface CursorPaging {
|
|
221
225
|
/**
|
|
222
226
|
* Maximum number of items to return in the results.
|
|
@@ -298,25 +302,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
298
302
|
updatedEvent?: EntityUpdatedEvent;
|
|
299
303
|
deletedEvent?: EntityDeletedEvent;
|
|
300
304
|
actionEvent?: ActionEvent;
|
|
301
|
-
/**
|
|
302
|
-
* Unique event ID.
|
|
303
|
-
* Allows clients to ignore duplicate webhooks.
|
|
304
|
-
*/
|
|
305
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
305
306
|
_id?: string;
|
|
306
307
|
/**
|
|
307
|
-
*
|
|
308
|
-
*
|
|
308
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
309
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
309
310
|
*/
|
|
310
311
|
entityFqdn?: string;
|
|
311
312
|
/**
|
|
312
|
-
*
|
|
313
|
-
*
|
|
314
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
313
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
314
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
315
315
|
*/
|
|
316
316
|
slug?: string;
|
|
317
317
|
/** ID of the entity associated with the event. */
|
|
318
318
|
entityId?: string;
|
|
319
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
319
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
320
320
|
eventTime?: Date | null;
|
|
321
321
|
/**
|
|
322
322
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -326,12 +326,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
326
326
|
/** If present, indicates the action that triggered the event. */
|
|
327
327
|
originatedFrom?: string | null;
|
|
328
328
|
/**
|
|
329
|
-
* A sequence number
|
|
330
|
-
*
|
|
331
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
332
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
333
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
334
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
329
|
+
* 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.
|
|
330
|
+
* 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.
|
|
335
331
|
*/
|
|
336
332
|
entityEventSequence?: string | null;
|
|
337
333
|
}
|
|
@@ -357,7 +353,7 @@ export interface EntityUpdatedEvent {
|
|
|
357
353
|
currentEntity?: string;
|
|
358
354
|
}
|
|
359
355
|
export interface EntityDeletedEvent {
|
|
360
|
-
/** Entity that was deleted */
|
|
356
|
+
/** Entity that was deleted. */
|
|
361
357
|
deletedEntity?: string | null;
|
|
362
358
|
}
|
|
363
359
|
export interface ActionEvent {
|
|
@@ -403,7 +399,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
403
399
|
*/
|
|
404
400
|
appId?: string;
|
|
405
401
|
/** @readonly */
|
|
406
|
-
identityType?:
|
|
402
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
407
403
|
}
|
|
408
404
|
/** @oneof */
|
|
409
405
|
export interface IdentificationDataIdOneOf {
|
|
@@ -435,6 +431,8 @@ export declare enum WebhookIdentityType {
|
|
|
435
431
|
WIX_USER = "WIX_USER",
|
|
436
432
|
APP = "APP"
|
|
437
433
|
}
|
|
434
|
+
/** @enumType */
|
|
435
|
+
export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
438
436
|
type OrderPaymentRequestNonNullablePaths = `source.externalId` | `status` | `orderId` | `amount.amount` | `amount.formattedAmount` | `currency` | `title`;
|
|
439
437
|
/**
|
|
440
438
|
* Creates a order payment request.
|
|
@@ -515,7 +513,7 @@ export interface UpdateOrderPaymentRequest {
|
|
|
515
513
|
* status.
|
|
516
514
|
* @readonly
|
|
517
515
|
*/
|
|
518
|
-
status?:
|
|
516
|
+
status?: StatusWithLiterals;
|
|
519
517
|
/**
|
|
520
518
|
* Order ID.
|
|
521
519
|
* @format GUID
|
|
@@ -649,22 +647,22 @@ export interface OrderPaymentRequestsQueryBuilder {
|
|
|
649
647
|
* @param value - Value to compare against.
|
|
650
648
|
* @documentationMaturity preview
|
|
651
649
|
*/
|
|
652
|
-
ge: (propertyName: 'expirationDate' | '_createdDate' | '_updatedDate', value: any) => OrderPaymentRequestsQueryBuilder;
|
|
650
|
+
ge: (propertyName: '_id' | 'source.appId' | 'source.externalId' | 'orderId' | 'orderNumber' | 'paymentGatewayOrderId' | 'title' | 'description' | 'expirationDate' | '_createdDate' | '_updatedDate', value: any) => OrderPaymentRequestsQueryBuilder;
|
|
653
651
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
654
652
|
* @param value - Value to compare against.
|
|
655
653
|
* @documentationMaturity preview
|
|
656
654
|
*/
|
|
657
|
-
gt: (propertyName: 'expirationDate' | '_createdDate' | '_updatedDate', value: any) => OrderPaymentRequestsQueryBuilder;
|
|
655
|
+
gt: (propertyName: '_id' | 'source.appId' | 'source.externalId' | 'orderId' | 'orderNumber' | 'paymentGatewayOrderId' | 'title' | 'description' | 'expirationDate' | '_createdDate' | '_updatedDate', value: any) => OrderPaymentRequestsQueryBuilder;
|
|
658
656
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
659
657
|
* @param value - Value to compare against.
|
|
660
658
|
* @documentationMaturity preview
|
|
661
659
|
*/
|
|
662
|
-
le: (propertyName: 'expirationDate' | '_createdDate' | '_updatedDate', value: any) => OrderPaymentRequestsQueryBuilder;
|
|
660
|
+
le: (propertyName: '_id' | 'source.appId' | 'source.externalId' | 'orderId' | 'orderNumber' | 'paymentGatewayOrderId' | 'title' | 'description' | 'expirationDate' | '_createdDate' | '_updatedDate', value: any) => OrderPaymentRequestsQueryBuilder;
|
|
663
661
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
664
662
|
* @param value - Value to compare against.
|
|
665
663
|
* @documentationMaturity preview
|
|
666
664
|
*/
|
|
667
|
-
lt: (propertyName: 'expirationDate' | '_createdDate' | '_updatedDate', value: any) => OrderPaymentRequestsQueryBuilder;
|
|
665
|
+
lt: (propertyName: '_id' | 'source.appId' | 'source.externalId' | 'orderId' | 'orderNumber' | 'paymentGatewayOrderId' | 'title' | 'description' | 'expirationDate' | '_createdDate' | '_updatedDate', value: any) => OrderPaymentRequestsQueryBuilder;
|
|
668
666
|
/** @param propertyName - Property whose value is compared with `string`.
|
|
669
667
|
* @param string - String to compare against. Case-insensitive.
|
|
670
668
|
* @documentationMaturity preview
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ecom-v1-order-payment-request-order-payment-requests.universal.js","sourceRoot":"","sources":["../../../src/ecom-v1-order-payment-request-order-payment-requests.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,kEAA8D;AAC9D,oFAGiD;AAEjD,uIAAyH;AACzH,aAAa;AACb,kEAAsF;AACtF,kEAAsF;AACtF,sFAAkF;AAoGlF,IAAY,MAKX;AALD,WAAY,MAAM;IAChB,2CAAiC,CAAA;IACjC,2BAAiB,CAAA;IACjB,uBAAa,CAAA;IACb,6BAAmB,CAAA;AACrB,CAAC,EALW,MAAM,sBAAN,MAAM,QAKjB;
|
|
1
|
+
{"version":3,"file":"ecom-v1-order-payment-request-order-payment-requests.universal.js","sourceRoot":"","sources":["../../../src/ecom-v1-order-payment-request-order-payment-requests.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,kEAA8D;AAC9D,oFAGiD;AAEjD,uIAAyH;AACzH,aAAa;AACb,kEAAsF;AACtF,kEAAsF;AACtF,sFAAkF;AAoGlF,IAAY,MAKX;AALD,WAAY,MAAM;IAChB,2CAAiC,CAAA;IACjC,2BAAiB,CAAA;IACjB,uBAAa,CAAA;IACb,6BAAmB,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AW,EAAE,SAAS,CAAC,CAChC,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AA1DD,oDA0DC"}
|
|
@@ -14,7 +14,7 @@ export interface OrderPaymentRequest {
|
|
|
14
14
|
* status.
|
|
15
15
|
* @readonly
|
|
16
16
|
*/
|
|
17
|
-
status?:
|
|
17
|
+
status?: StatusWithLiterals;
|
|
18
18
|
/**
|
|
19
19
|
* Order ID.
|
|
20
20
|
* @format GUID
|
|
@@ -100,6 +100,8 @@ export declare enum Status {
|
|
|
100
100
|
PAID = "PAID",
|
|
101
101
|
EXPIRED = "EXPIRED"
|
|
102
102
|
}
|
|
103
|
+
/** @enumType */
|
|
104
|
+
export type StatusWithLiterals = Status | 'UNKNOWN_STATUS' | 'UNPAID' | 'PAID' | 'EXPIRED';
|
|
103
105
|
export interface Price {
|
|
104
106
|
/**
|
|
105
107
|
* Amount.
|
|
@@ -238,12 +240,14 @@ export interface Sorting {
|
|
|
238
240
|
*/
|
|
239
241
|
fieldName?: string;
|
|
240
242
|
/** Sort order. */
|
|
241
|
-
order?:
|
|
243
|
+
order?: SortOrderWithLiterals;
|
|
242
244
|
}
|
|
243
245
|
export declare enum SortOrder {
|
|
244
246
|
ASC = "ASC",
|
|
245
247
|
DESC = "DESC"
|
|
246
248
|
}
|
|
249
|
+
/** @enumType */
|
|
250
|
+
export type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
|
|
247
251
|
export interface CursorPaging {
|
|
248
252
|
/**
|
|
249
253
|
* Maximum number of items to return in the results.
|
|
@@ -325,25 +329,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
325
329
|
updatedEvent?: EntityUpdatedEvent;
|
|
326
330
|
deletedEvent?: EntityDeletedEvent;
|
|
327
331
|
actionEvent?: ActionEvent;
|
|
328
|
-
/**
|
|
329
|
-
* Unique event ID.
|
|
330
|
-
* Allows clients to ignore duplicate webhooks.
|
|
331
|
-
*/
|
|
332
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
332
333
|
id?: string;
|
|
333
334
|
/**
|
|
334
|
-
*
|
|
335
|
-
*
|
|
335
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
336
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
336
337
|
*/
|
|
337
338
|
entityFqdn?: string;
|
|
338
339
|
/**
|
|
339
|
-
*
|
|
340
|
-
*
|
|
341
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
340
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
341
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
342
342
|
*/
|
|
343
343
|
slug?: string;
|
|
344
344
|
/** ID of the entity associated with the event. */
|
|
345
345
|
entityId?: string;
|
|
346
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
346
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
347
347
|
eventTime?: Date | null;
|
|
348
348
|
/**
|
|
349
349
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -353,12 +353,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
353
353
|
/** If present, indicates the action that triggered the event. */
|
|
354
354
|
originatedFrom?: string | null;
|
|
355
355
|
/**
|
|
356
|
-
* A sequence number
|
|
357
|
-
*
|
|
358
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
359
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
360
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
361
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
356
|
+
* 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.
|
|
357
|
+
* 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.
|
|
362
358
|
*/
|
|
363
359
|
entityEventSequence?: string | null;
|
|
364
360
|
}
|
|
@@ -386,7 +382,7 @@ export interface EntityUpdatedEvent {
|
|
|
386
382
|
currentEntityAsJson?: string;
|
|
387
383
|
}
|
|
388
384
|
export interface EntityDeletedEvent {
|
|
389
|
-
/** Entity that was deleted */
|
|
385
|
+
/** Entity that was deleted. */
|
|
390
386
|
deletedEntityAsJson?: string | null;
|
|
391
387
|
}
|
|
392
388
|
export interface ActionEvent {
|
|
@@ -432,7 +428,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
432
428
|
*/
|
|
433
429
|
appId?: string;
|
|
434
430
|
/** @readonly */
|
|
435
|
-
identityType?:
|
|
431
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
436
432
|
}
|
|
437
433
|
/** @oneof */
|
|
438
434
|
export interface IdentificationDataIdOneOf {
|
|
@@ -464,3 +460,5 @@ export declare enum WebhookIdentityType {
|
|
|
464
460
|
WIX_USER = "WIX_USER",
|
|
465
461
|
APP = "APP"
|
|
466
462
|
}
|
|
463
|
+
/** @enumType */
|
|
464
|
+
export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ecom-v1-order-payment-request-order-payment-requests.types.js","sourceRoot":"","sources":["../../../src/ecom-v1-order-payment-request-order-payment-requests.types.ts"],"names":[],"mappings":"AAkGA,MAAM,CAAN,IAAY,MAKX;AALD,WAAY,MAAM;IAChB,2CAAiC,CAAA;IACjC,2BAAiB,CAAA;IACjB,uBAAa,CAAA;IACb,6BAAmB,CAAA;AACrB,CAAC,EALW,MAAM,KAAN,MAAM,QAKjB;
|
|
1
|
+
{"version":3,"file":"ecom-v1-order-payment-request-order-payment-requests.types.js","sourceRoot":"","sources":["../../../src/ecom-v1-order-payment-request-order-payment-requests.types.ts"],"names":[],"mappings":"AAkGA,MAAM,CAAN,IAAY,MAKX;AALD,WAAY,MAAM;IAChB,2CAAiC,CAAA;IACjC,2BAAiB,CAAA;IACjB,uBAAa,CAAA;IACb,6BAAmB,CAAA;AACrB,CAAC,EALW,MAAM,KAAN,MAAM,QAKjB;AAsKD,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AAoOD,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"}
|
|
@@ -15,7 +15,7 @@ export interface OrderPaymentRequest {
|
|
|
15
15
|
* status.
|
|
16
16
|
* @readonly
|
|
17
17
|
*/
|
|
18
|
-
status?:
|
|
18
|
+
status?: StatusWithLiterals;
|
|
19
19
|
/**
|
|
20
20
|
* Order ID.
|
|
21
21
|
* @format GUID
|
|
@@ -101,6 +101,8 @@ export declare enum Status {
|
|
|
101
101
|
PAID = "PAID",
|
|
102
102
|
EXPIRED = "EXPIRED"
|
|
103
103
|
}
|
|
104
|
+
/** @enumType */
|
|
105
|
+
export type StatusWithLiterals = Status | 'UNKNOWN_STATUS' | 'UNPAID' | 'PAID' | 'EXPIRED';
|
|
104
106
|
export interface Price {
|
|
105
107
|
/**
|
|
106
108
|
* Amount.
|
|
@@ -211,12 +213,14 @@ export interface Sorting {
|
|
|
211
213
|
*/
|
|
212
214
|
fieldName?: string;
|
|
213
215
|
/** Sort order. */
|
|
214
|
-
order?:
|
|
216
|
+
order?: SortOrderWithLiterals;
|
|
215
217
|
}
|
|
216
218
|
export declare enum SortOrder {
|
|
217
219
|
ASC = "ASC",
|
|
218
220
|
DESC = "DESC"
|
|
219
221
|
}
|
|
222
|
+
/** @enumType */
|
|
223
|
+
export type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
|
|
220
224
|
export interface CursorPaging {
|
|
221
225
|
/**
|
|
222
226
|
* Maximum number of items to return in the results.
|
|
@@ -298,25 +302,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
298
302
|
updatedEvent?: EntityUpdatedEvent;
|
|
299
303
|
deletedEvent?: EntityDeletedEvent;
|
|
300
304
|
actionEvent?: ActionEvent;
|
|
301
|
-
/**
|
|
302
|
-
* Unique event ID.
|
|
303
|
-
* Allows clients to ignore duplicate webhooks.
|
|
304
|
-
*/
|
|
305
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
305
306
|
_id?: string;
|
|
306
307
|
/**
|
|
307
|
-
*
|
|
308
|
-
*
|
|
308
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
309
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
309
310
|
*/
|
|
310
311
|
entityFqdn?: string;
|
|
311
312
|
/**
|
|
312
|
-
*
|
|
313
|
-
*
|
|
314
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
313
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
314
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
315
315
|
*/
|
|
316
316
|
slug?: string;
|
|
317
317
|
/** ID of the entity associated with the event. */
|
|
318
318
|
entityId?: string;
|
|
319
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
319
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
320
320
|
eventTime?: Date | null;
|
|
321
321
|
/**
|
|
322
322
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -326,12 +326,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
326
326
|
/** If present, indicates the action that triggered the event. */
|
|
327
327
|
originatedFrom?: string | null;
|
|
328
328
|
/**
|
|
329
|
-
* A sequence number
|
|
330
|
-
*
|
|
331
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
332
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
333
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
334
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
329
|
+
* 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.
|
|
330
|
+
* 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.
|
|
335
331
|
*/
|
|
336
332
|
entityEventSequence?: string | null;
|
|
337
333
|
}
|
|
@@ -357,7 +353,7 @@ export interface EntityUpdatedEvent {
|
|
|
357
353
|
currentEntity?: string;
|
|
358
354
|
}
|
|
359
355
|
export interface EntityDeletedEvent {
|
|
360
|
-
/** Entity that was deleted */
|
|
356
|
+
/** Entity that was deleted. */
|
|
361
357
|
deletedEntity?: string | null;
|
|
362
358
|
}
|
|
363
359
|
export interface ActionEvent {
|
|
@@ -403,7 +399,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
403
399
|
*/
|
|
404
400
|
appId?: string;
|
|
405
401
|
/** @readonly */
|
|
406
|
-
identityType?:
|
|
402
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
407
403
|
}
|
|
408
404
|
/** @oneof */
|
|
409
405
|
export interface IdentificationDataIdOneOf {
|
|
@@ -435,6 +431,8 @@ export declare enum WebhookIdentityType {
|
|
|
435
431
|
WIX_USER = "WIX_USER",
|
|
436
432
|
APP = "APP"
|
|
437
433
|
}
|
|
434
|
+
/** @enumType */
|
|
435
|
+
export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
438
436
|
type OrderPaymentRequestNonNullablePaths = `source.externalId` | `status` | `orderId` | `amount.amount` | `amount.formattedAmount` | `currency` | `title`;
|
|
439
437
|
/**
|
|
440
438
|
* Creates a order payment request.
|
|
@@ -515,7 +513,7 @@ export interface UpdateOrderPaymentRequest {
|
|
|
515
513
|
* status.
|
|
516
514
|
* @readonly
|
|
517
515
|
*/
|
|
518
|
-
status?:
|
|
516
|
+
status?: StatusWithLiterals;
|
|
519
517
|
/**
|
|
520
518
|
* Order ID.
|
|
521
519
|
* @format GUID
|
|
@@ -649,22 +647,22 @@ export interface OrderPaymentRequestsQueryBuilder {
|
|
|
649
647
|
* @param value - Value to compare against.
|
|
650
648
|
* @documentationMaturity preview
|
|
651
649
|
*/
|
|
652
|
-
ge: (propertyName: 'expirationDate' | '_createdDate' | '_updatedDate', value: any) => OrderPaymentRequestsQueryBuilder;
|
|
650
|
+
ge: (propertyName: '_id' | 'source.appId' | 'source.externalId' | 'orderId' | 'orderNumber' | 'paymentGatewayOrderId' | 'title' | 'description' | 'expirationDate' | '_createdDate' | '_updatedDate', value: any) => OrderPaymentRequestsQueryBuilder;
|
|
653
651
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
654
652
|
* @param value - Value to compare against.
|
|
655
653
|
* @documentationMaturity preview
|
|
656
654
|
*/
|
|
657
|
-
gt: (propertyName: 'expirationDate' | '_createdDate' | '_updatedDate', value: any) => OrderPaymentRequestsQueryBuilder;
|
|
655
|
+
gt: (propertyName: '_id' | 'source.appId' | 'source.externalId' | 'orderId' | 'orderNumber' | 'paymentGatewayOrderId' | 'title' | 'description' | 'expirationDate' | '_createdDate' | '_updatedDate', value: any) => OrderPaymentRequestsQueryBuilder;
|
|
658
656
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
659
657
|
* @param value - Value to compare against.
|
|
660
658
|
* @documentationMaturity preview
|
|
661
659
|
*/
|
|
662
|
-
le: (propertyName: 'expirationDate' | '_createdDate' | '_updatedDate', value: any) => OrderPaymentRequestsQueryBuilder;
|
|
660
|
+
le: (propertyName: '_id' | 'source.appId' | 'source.externalId' | 'orderId' | 'orderNumber' | 'paymentGatewayOrderId' | 'title' | 'description' | 'expirationDate' | '_createdDate' | '_updatedDate', value: any) => OrderPaymentRequestsQueryBuilder;
|
|
663
661
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
664
662
|
* @param value - Value to compare against.
|
|
665
663
|
* @documentationMaturity preview
|
|
666
664
|
*/
|
|
667
|
-
lt: (propertyName: 'expirationDate' | '_createdDate' | '_updatedDate', value: any) => OrderPaymentRequestsQueryBuilder;
|
|
665
|
+
lt: (propertyName: '_id' | 'source.appId' | 'source.externalId' | 'orderId' | 'orderNumber' | 'paymentGatewayOrderId' | 'title' | 'description' | 'expirationDate' | '_createdDate' | '_updatedDate', value: any) => OrderPaymentRequestsQueryBuilder;
|
|
668
666
|
/** @param propertyName - Property whose value is compared with `string`.
|
|
669
667
|
* @param string - String to compare against. Case-insensitive.
|
|
670
668
|
* @documentationMaturity preview
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ecom-v1-order-payment-request-order-payment-requests.universal.js","sourceRoot":"","sources":["../../../src/ecom-v1-order-payment-request-order-payment-requests.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,sCAAsC,MAAM,gEAAgE,CAAC;AACzH,aAAa;AACb,OAAO,EAAE,4BAA4B,EAAE,MAAM,wCAAwC,CAAC;AACtF,OAAO,EAAE,4BAA4B,EAAE,MAAM,wCAAwC,CAAC;AACtF,OAAO,EAAE,cAAc,EAAE,MAAM,kDAAkD,CAAC;AAoGlF,MAAM,CAAN,IAAY,MAKX;AALD,WAAY,MAAM;IAChB,2CAAiC,CAAA;IACjC,2BAAiB,CAAA;IACjB,uBAAa,CAAA;IACb,6BAAmB,CAAA;AACrB,CAAC,EALW,MAAM,KAAN,MAAM,QAKjB;
|
|
1
|
+
{"version":3,"file":"ecom-v1-order-payment-request-order-payment-requests.universal.js","sourceRoot":"","sources":["../../../src/ecom-v1-order-payment-request-order-payment-requests.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,sCAAsC,MAAM,gEAAgE,CAAC;AACzH,aAAa;AACb,OAAO,EAAE,4BAA4B,EAAE,MAAM,wCAAwC,CAAC;AACtF,OAAO,EAAE,4BAA4B,EAAE,MAAM,wCAAwC,CAAC;AACtF,OAAO,EAAE,cAAc,EAAE,MAAM,kDAAkD,CAAC;AAoGlF,MAAM,CAAN,IAAY,MAKX;AALD,WAAY,MAAM;IAChB,2CAAiC,CAAA;IACjC,2BAAiB,CAAA;IACjB,uBAAa,CAAA;IACb,6BAAmB,CAAA;AACrB,CAAC,EALW,MAAM,KAAN,MAAM,QAKjB;AAyID,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AAkOD,MAAM,CAAN,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;I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E,OAAO,EAAE,aAAa;KACtC,CAAC,CAAC;IAEH,MAAM,OAAO,GACX,sCAAsC,CAAC,oBAAoB,CAAC,OAAO,CAAC,CAAC;IAEvE,WAAW,EAAE,UAAU,EAAE,EAAE,CAAC;IAC5B,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACjD,WAAW,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,CAAC;QAEjC,OAAO,uCAAuC,CAC5C,cAAc,CAAC,MAAM,CAAC,IAAI,EAAE;YAC1B;gBACE,WAAW,EAAE,4BAA4B;gBACzC,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,2BAA2B,EAAE,CAAC;aAC/C;SACF,CAAC,CACF,CAAC;IACL,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,iBAAiB,CACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE;gBACxB,EAAE,EAAE,MAAM;gBACV,SAAS,EAAE,MAAM;gBACjB,aAAa,EAAE,oBAAoB;aACpC;YACD,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,KAAK,EAAE,WAAW,EAAE,SAAS,CAAC,CAChC,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC"}
|
package/build/internal/cjs/src/ecom-v1-order-payment-request-order-payment-requests.types.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ export interface OrderPaymentRequest {
|
|
|
14
14
|
* status.
|
|
15
15
|
* @readonly
|
|
16
16
|
*/
|
|
17
|
-
status?:
|
|
17
|
+
status?: StatusWithLiterals;
|
|
18
18
|
/**
|
|
19
19
|
* Order ID.
|
|
20
20
|
* @format GUID
|
|
@@ -100,6 +100,8 @@ export declare enum Status {
|
|
|
100
100
|
PAID = "PAID",
|
|
101
101
|
EXPIRED = "EXPIRED"
|
|
102
102
|
}
|
|
103
|
+
/** @enumType */
|
|
104
|
+
export type StatusWithLiterals = Status | 'UNKNOWN_STATUS' | 'UNPAID' | 'PAID' | 'EXPIRED';
|
|
103
105
|
export interface Price {
|
|
104
106
|
/**
|
|
105
107
|
* Amount.
|
|
@@ -238,12 +240,14 @@ export interface Sorting {
|
|
|
238
240
|
*/
|
|
239
241
|
fieldName?: string;
|
|
240
242
|
/** Sort order. */
|
|
241
|
-
order?:
|
|
243
|
+
order?: SortOrderWithLiterals;
|
|
242
244
|
}
|
|
243
245
|
export declare enum SortOrder {
|
|
244
246
|
ASC = "ASC",
|
|
245
247
|
DESC = "DESC"
|
|
246
248
|
}
|
|
249
|
+
/** @enumType */
|
|
250
|
+
export type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
|
|
247
251
|
export interface CursorPaging {
|
|
248
252
|
/**
|
|
249
253
|
* Maximum number of items to return in the results.
|
|
@@ -325,25 +329,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
325
329
|
updatedEvent?: EntityUpdatedEvent;
|
|
326
330
|
deletedEvent?: EntityDeletedEvent;
|
|
327
331
|
actionEvent?: ActionEvent;
|
|
328
|
-
/**
|
|
329
|
-
* Unique event ID.
|
|
330
|
-
* Allows clients to ignore duplicate webhooks.
|
|
331
|
-
*/
|
|
332
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
332
333
|
id?: string;
|
|
333
334
|
/**
|
|
334
|
-
*
|
|
335
|
-
*
|
|
335
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
336
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
336
337
|
*/
|
|
337
338
|
entityFqdn?: string;
|
|
338
339
|
/**
|
|
339
|
-
*
|
|
340
|
-
*
|
|
341
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
340
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
341
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
342
342
|
*/
|
|
343
343
|
slug?: string;
|
|
344
344
|
/** ID of the entity associated with the event. */
|
|
345
345
|
entityId?: string;
|
|
346
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
346
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
347
347
|
eventTime?: Date | null;
|
|
348
348
|
/**
|
|
349
349
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -353,12 +353,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
353
353
|
/** If present, indicates the action that triggered the event. */
|
|
354
354
|
originatedFrom?: string | null;
|
|
355
355
|
/**
|
|
356
|
-
* A sequence number
|
|
357
|
-
*
|
|
358
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
359
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
360
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
361
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
356
|
+
* 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.
|
|
357
|
+
* 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.
|
|
362
358
|
*/
|
|
363
359
|
entityEventSequence?: string | null;
|
|
364
360
|
}
|
|
@@ -386,7 +382,7 @@ export interface EntityUpdatedEvent {
|
|
|
386
382
|
currentEntityAsJson?: string;
|
|
387
383
|
}
|
|
388
384
|
export interface EntityDeletedEvent {
|
|
389
|
-
/** Entity that was deleted */
|
|
385
|
+
/** Entity that was deleted. */
|
|
390
386
|
deletedEntityAsJson?: string | null;
|
|
391
387
|
}
|
|
392
388
|
export interface ActionEvent {
|
|
@@ -432,7 +428,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
432
428
|
*/
|
|
433
429
|
appId?: string;
|
|
434
430
|
/** @readonly */
|
|
435
|
-
identityType?:
|
|
431
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
436
432
|
}
|
|
437
433
|
/** @oneof */
|
|
438
434
|
export interface IdentificationDataIdOneOf {
|
|
@@ -464,3 +460,5 @@ export declare enum WebhookIdentityType {
|
|
|
464
460
|
WIX_USER = "WIX_USER",
|
|
465
461
|
APP = "APP"
|
|
466
462
|
}
|
|
463
|
+
/** @enumType */
|
|
464
|
+
export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
package/build/internal/cjs/src/ecom-v1-order-payment-request-order-payment-requests.types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ecom-v1-order-payment-request-order-payment-requests.types.js","sourceRoot":"","sources":["../../../../src/ecom-v1-order-payment-request-order-payment-requests.types.ts"],"names":[],"mappings":";;;AAkGA,IAAY,MAKX;AALD,WAAY,MAAM;IAChB,2CAAiC,CAAA;IACjC,2BAAiB,CAAA;IACjB,uBAAa,CAAA;IACb,6BAAmB,CAAA;AACrB,CAAC,EALW,MAAM,sBAAN,MAAM,QAKjB;
|
|
1
|
+
{"version":3,"file":"ecom-v1-order-payment-request-order-payment-requests.types.js","sourceRoot":"","sources":["../../../../src/ecom-v1-order-payment-request-order-payment-requests.types.ts"],"names":[],"mappings":";;;AAkGA,IAAY,MAKX;AALD,WAAY,MAAM;IAChB,2CAAiC,CAAA;IACjC,2BAAiB,CAAA;IACjB,uBAAa,CAAA;IACb,6BAAmB,CAAA;AACrB,CAAC,EALW,MAAM,sBAAN,MAAM,QAKjB;AAsKD,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;AAoOD,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"}
|
package/build/internal/cjs/src/ecom-v1-order-payment-request-order-payment-requests.universal.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ export interface OrderPaymentRequest {
|
|
|
15
15
|
* status.
|
|
16
16
|
* @readonly
|
|
17
17
|
*/
|
|
18
|
-
status?:
|
|
18
|
+
status?: StatusWithLiterals;
|
|
19
19
|
/**
|
|
20
20
|
* Order ID.
|
|
21
21
|
* @format GUID
|
|
@@ -101,6 +101,8 @@ export declare enum Status {
|
|
|
101
101
|
PAID = "PAID",
|
|
102
102
|
EXPIRED = "EXPIRED"
|
|
103
103
|
}
|
|
104
|
+
/** @enumType */
|
|
105
|
+
export type StatusWithLiterals = Status | 'UNKNOWN_STATUS' | 'UNPAID' | 'PAID' | 'EXPIRED';
|
|
104
106
|
export interface Price {
|
|
105
107
|
/**
|
|
106
108
|
* Amount.
|
|
@@ -211,12 +213,14 @@ export interface Sorting {
|
|
|
211
213
|
*/
|
|
212
214
|
fieldName?: string;
|
|
213
215
|
/** Sort order. */
|
|
214
|
-
order?:
|
|
216
|
+
order?: SortOrderWithLiterals;
|
|
215
217
|
}
|
|
216
218
|
export declare enum SortOrder {
|
|
217
219
|
ASC = "ASC",
|
|
218
220
|
DESC = "DESC"
|
|
219
221
|
}
|
|
222
|
+
/** @enumType */
|
|
223
|
+
export type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
|
|
220
224
|
export interface CursorPaging {
|
|
221
225
|
/**
|
|
222
226
|
* Maximum number of items to return in the results.
|
|
@@ -298,25 +302,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
298
302
|
updatedEvent?: EntityUpdatedEvent;
|
|
299
303
|
deletedEvent?: EntityDeletedEvent;
|
|
300
304
|
actionEvent?: ActionEvent;
|
|
301
|
-
/**
|
|
302
|
-
* Unique event ID.
|
|
303
|
-
* Allows clients to ignore duplicate webhooks.
|
|
304
|
-
*/
|
|
305
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
305
306
|
_id?: string;
|
|
306
307
|
/**
|
|
307
|
-
*
|
|
308
|
-
*
|
|
308
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
309
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
309
310
|
*/
|
|
310
311
|
entityFqdn?: string;
|
|
311
312
|
/**
|
|
312
|
-
*
|
|
313
|
-
*
|
|
314
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
313
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
314
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
315
315
|
*/
|
|
316
316
|
slug?: string;
|
|
317
317
|
/** ID of the entity associated with the event. */
|
|
318
318
|
entityId?: string;
|
|
319
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
319
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
320
320
|
eventTime?: Date | null;
|
|
321
321
|
/**
|
|
322
322
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -326,12 +326,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
326
326
|
/** If present, indicates the action that triggered the event. */
|
|
327
327
|
originatedFrom?: string | null;
|
|
328
328
|
/**
|
|
329
|
-
* A sequence number
|
|
330
|
-
*
|
|
331
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
332
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
333
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
334
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
329
|
+
* 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.
|
|
330
|
+
* 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.
|
|
335
331
|
*/
|
|
336
332
|
entityEventSequence?: string | null;
|
|
337
333
|
}
|
|
@@ -357,7 +353,7 @@ export interface EntityUpdatedEvent {
|
|
|
357
353
|
currentEntity?: string;
|
|
358
354
|
}
|
|
359
355
|
export interface EntityDeletedEvent {
|
|
360
|
-
/** Entity that was deleted */
|
|
356
|
+
/** Entity that was deleted. */
|
|
361
357
|
deletedEntity?: string | null;
|
|
362
358
|
}
|
|
363
359
|
export interface ActionEvent {
|
|
@@ -403,7 +399,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
403
399
|
*/
|
|
404
400
|
appId?: string;
|
|
405
401
|
/** @readonly */
|
|
406
|
-
identityType?:
|
|
402
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
407
403
|
}
|
|
408
404
|
/** @oneof */
|
|
409
405
|
export interface IdentificationDataIdOneOf {
|
|
@@ -435,6 +431,8 @@ export declare enum WebhookIdentityType {
|
|
|
435
431
|
WIX_USER = "WIX_USER",
|
|
436
432
|
APP = "APP"
|
|
437
433
|
}
|
|
434
|
+
/** @enumType */
|
|
435
|
+
export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
438
436
|
type OrderPaymentRequestNonNullablePaths = `source.externalId` | `status` | `orderId` | `amount.amount` | `amount.formattedAmount` | `currency` | `title`;
|
|
439
437
|
/**
|
|
440
438
|
* Creates a order payment request.
|
|
@@ -515,7 +513,7 @@ export interface UpdateOrderPaymentRequest {
|
|
|
515
513
|
* status.
|
|
516
514
|
* @readonly
|
|
517
515
|
*/
|
|
518
|
-
status?:
|
|
516
|
+
status?: StatusWithLiterals;
|
|
519
517
|
/**
|
|
520
518
|
* Order ID.
|
|
521
519
|
* @format GUID
|
|
@@ -649,22 +647,22 @@ export interface OrderPaymentRequestsQueryBuilder {
|
|
|
649
647
|
* @param value - Value to compare against.
|
|
650
648
|
* @documentationMaturity preview
|
|
651
649
|
*/
|
|
652
|
-
ge: (propertyName: 'expirationDate' | '_createdDate' | '_updatedDate', value: any) => OrderPaymentRequestsQueryBuilder;
|
|
650
|
+
ge: (propertyName: '_id' | 'source.appId' | 'source.externalId' | 'orderId' | 'orderNumber' | 'paymentGatewayOrderId' | 'title' | 'description' | 'expirationDate' | '_createdDate' | '_updatedDate', value: any) => OrderPaymentRequestsQueryBuilder;
|
|
653
651
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
654
652
|
* @param value - Value to compare against.
|
|
655
653
|
* @documentationMaturity preview
|
|
656
654
|
*/
|
|
657
|
-
gt: (propertyName: 'expirationDate' | '_createdDate' | '_updatedDate', value: any) => OrderPaymentRequestsQueryBuilder;
|
|
655
|
+
gt: (propertyName: '_id' | 'source.appId' | 'source.externalId' | 'orderId' | 'orderNumber' | 'paymentGatewayOrderId' | 'title' | 'description' | 'expirationDate' | '_createdDate' | '_updatedDate', value: any) => OrderPaymentRequestsQueryBuilder;
|
|
658
656
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
659
657
|
* @param value - Value to compare against.
|
|
660
658
|
* @documentationMaturity preview
|
|
661
659
|
*/
|
|
662
|
-
le: (propertyName: 'expirationDate' | '_createdDate' | '_updatedDate', value: any) => OrderPaymentRequestsQueryBuilder;
|
|
660
|
+
le: (propertyName: '_id' | 'source.appId' | 'source.externalId' | 'orderId' | 'orderNumber' | 'paymentGatewayOrderId' | 'title' | 'description' | 'expirationDate' | '_createdDate' | '_updatedDate', value: any) => OrderPaymentRequestsQueryBuilder;
|
|
663
661
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
664
662
|
* @param value - Value to compare against.
|
|
665
663
|
* @documentationMaturity preview
|
|
666
664
|
*/
|
|
667
|
-
lt: (propertyName: 'expirationDate' | '_createdDate' | '_updatedDate', value: any) => OrderPaymentRequestsQueryBuilder;
|
|
665
|
+
lt: (propertyName: '_id' | 'source.appId' | 'source.externalId' | 'orderId' | 'orderNumber' | 'paymentGatewayOrderId' | 'title' | 'description' | 'expirationDate' | '_createdDate' | '_updatedDate', value: any) => OrderPaymentRequestsQueryBuilder;
|
|
668
666
|
/** @param propertyName - Property whose value is compared with `string`.
|
|
669
667
|
* @param string - String to compare against. Case-insensitive.
|
|
670
668
|
* @documentationMaturity preview
|
package/build/internal/cjs/src/ecom-v1-order-payment-request-order-payment-requests.universal.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ecom-v1-order-payment-request-order-payment-requests.universal.js","sourceRoot":"","sources":["../../../../src/ecom-v1-order-payment-request-order-payment-requests.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,kEAA8D;AAC9D,oFAGiD;AAEjD,uIAAyH;AACzH,aAAa;AACb,kEAAsF;AACtF,kEAAsF;AACtF,sFAAkF;AAoGlF,IAAY,MAKX;AALD,WAAY,MAAM;IAChB,2CAAiC,CAAA;IACjC,2BAAiB,CAAA;IACjB,uBAAa,CAAA;IACb,6BAAmB,CAAA;AACrB,CAAC,EALW,MAAM,sBAAN,MAAM,QAKjB;
|
|
1
|
+
{"version":3,"file":"ecom-v1-order-payment-request-order-payment-requests.universal.js","sourceRoot":"","sources":["../../../../src/ecom-v1-order-payment-request-order-payment-requests.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,kEAA8D;AAC9D,oFAGiD;AAEjD,uIAAyH;AACzH,aAAa;AACb,kEAAsF;AACtF,kEAA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,EAAE,MAAM;gBACV,SAAS,EAAE,MAAM;gBACjB,aAAa,EAAE,oBAAoB;aACpC;YACD,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,KAAK,EAAE,WAAW,EAAE,SAAS,CAAC,CAChC,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AA1DD,oDA0DC"}
|
package/build/internal/es/src/ecom-v1-order-payment-request-order-payment-requests.types.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ export interface OrderPaymentRequest {
|
|
|
14
14
|
* status.
|
|
15
15
|
* @readonly
|
|
16
16
|
*/
|
|
17
|
-
status?:
|
|
17
|
+
status?: StatusWithLiterals;
|
|
18
18
|
/**
|
|
19
19
|
* Order ID.
|
|
20
20
|
* @format GUID
|
|
@@ -100,6 +100,8 @@ export declare enum Status {
|
|
|
100
100
|
PAID = "PAID",
|
|
101
101
|
EXPIRED = "EXPIRED"
|
|
102
102
|
}
|
|
103
|
+
/** @enumType */
|
|
104
|
+
export type StatusWithLiterals = Status | 'UNKNOWN_STATUS' | 'UNPAID' | 'PAID' | 'EXPIRED';
|
|
103
105
|
export interface Price {
|
|
104
106
|
/**
|
|
105
107
|
* Amount.
|
|
@@ -238,12 +240,14 @@ export interface Sorting {
|
|
|
238
240
|
*/
|
|
239
241
|
fieldName?: string;
|
|
240
242
|
/** Sort order. */
|
|
241
|
-
order?:
|
|
243
|
+
order?: SortOrderWithLiterals;
|
|
242
244
|
}
|
|
243
245
|
export declare enum SortOrder {
|
|
244
246
|
ASC = "ASC",
|
|
245
247
|
DESC = "DESC"
|
|
246
248
|
}
|
|
249
|
+
/** @enumType */
|
|
250
|
+
export type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
|
|
247
251
|
export interface CursorPaging {
|
|
248
252
|
/**
|
|
249
253
|
* Maximum number of items to return in the results.
|
|
@@ -325,25 +329,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
325
329
|
updatedEvent?: EntityUpdatedEvent;
|
|
326
330
|
deletedEvent?: EntityDeletedEvent;
|
|
327
331
|
actionEvent?: ActionEvent;
|
|
328
|
-
/**
|
|
329
|
-
* Unique event ID.
|
|
330
|
-
* Allows clients to ignore duplicate webhooks.
|
|
331
|
-
*/
|
|
332
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
332
333
|
id?: string;
|
|
333
334
|
/**
|
|
334
|
-
*
|
|
335
|
-
*
|
|
335
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
336
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
336
337
|
*/
|
|
337
338
|
entityFqdn?: string;
|
|
338
339
|
/**
|
|
339
|
-
*
|
|
340
|
-
*
|
|
341
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
340
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
341
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
342
342
|
*/
|
|
343
343
|
slug?: string;
|
|
344
344
|
/** ID of the entity associated with the event. */
|
|
345
345
|
entityId?: string;
|
|
346
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
346
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
347
347
|
eventTime?: Date | null;
|
|
348
348
|
/**
|
|
349
349
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -353,12 +353,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
353
353
|
/** If present, indicates the action that triggered the event. */
|
|
354
354
|
originatedFrom?: string | null;
|
|
355
355
|
/**
|
|
356
|
-
* A sequence number
|
|
357
|
-
*
|
|
358
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
359
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
360
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
361
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
356
|
+
* 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.
|
|
357
|
+
* 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.
|
|
362
358
|
*/
|
|
363
359
|
entityEventSequence?: string | null;
|
|
364
360
|
}
|
|
@@ -386,7 +382,7 @@ export interface EntityUpdatedEvent {
|
|
|
386
382
|
currentEntityAsJson?: string;
|
|
387
383
|
}
|
|
388
384
|
export interface EntityDeletedEvent {
|
|
389
|
-
/** Entity that was deleted */
|
|
385
|
+
/** Entity that was deleted. */
|
|
390
386
|
deletedEntityAsJson?: string | null;
|
|
391
387
|
}
|
|
392
388
|
export interface ActionEvent {
|
|
@@ -432,7 +428,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
432
428
|
*/
|
|
433
429
|
appId?: string;
|
|
434
430
|
/** @readonly */
|
|
435
|
-
identityType?:
|
|
431
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
436
432
|
}
|
|
437
433
|
/** @oneof */
|
|
438
434
|
export interface IdentificationDataIdOneOf {
|
|
@@ -464,3 +460,5 @@ export declare enum WebhookIdentityType {
|
|
|
464
460
|
WIX_USER = "WIX_USER",
|
|
465
461
|
APP = "APP"
|
|
466
462
|
}
|
|
463
|
+
/** @enumType */
|
|
464
|
+
export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
package/build/internal/es/src/ecom-v1-order-payment-request-order-payment-requests.types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ecom-v1-order-payment-request-order-payment-requests.types.js","sourceRoot":"","sources":["../../../../src/ecom-v1-order-payment-request-order-payment-requests.types.ts"],"names":[],"mappings":"AAkGA,MAAM,CAAN,IAAY,MAKX;AALD,WAAY,MAAM;IAChB,2CAAiC,CAAA;IACjC,2BAAiB,CAAA;IACjB,uBAAa,CAAA;IACb,6BAAmB,CAAA;AACrB,CAAC,EALW,MAAM,KAAN,MAAM,QAKjB;
|
|
1
|
+
{"version":3,"file":"ecom-v1-order-payment-request-order-payment-requests.types.js","sourceRoot":"","sources":["../../../../src/ecom-v1-order-payment-request-order-payment-requests.types.ts"],"names":[],"mappings":"AAkGA,MAAM,CAAN,IAAY,MAKX;AALD,WAAY,MAAM;IAChB,2CAAiC,CAAA;IACjC,2BAAiB,CAAA;IACjB,uBAAa,CAAA;IACb,6BAAmB,CAAA;AACrB,CAAC,EALW,MAAM,KAAN,MAAM,QAKjB;AAsKD,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AAoOD,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"}
|
package/build/internal/es/src/ecom-v1-order-payment-request-order-payment-requests.universal.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ export interface OrderPaymentRequest {
|
|
|
15
15
|
* status.
|
|
16
16
|
* @readonly
|
|
17
17
|
*/
|
|
18
|
-
status?:
|
|
18
|
+
status?: StatusWithLiterals;
|
|
19
19
|
/**
|
|
20
20
|
* Order ID.
|
|
21
21
|
* @format GUID
|
|
@@ -101,6 +101,8 @@ export declare enum Status {
|
|
|
101
101
|
PAID = "PAID",
|
|
102
102
|
EXPIRED = "EXPIRED"
|
|
103
103
|
}
|
|
104
|
+
/** @enumType */
|
|
105
|
+
export type StatusWithLiterals = Status | 'UNKNOWN_STATUS' | 'UNPAID' | 'PAID' | 'EXPIRED';
|
|
104
106
|
export interface Price {
|
|
105
107
|
/**
|
|
106
108
|
* Amount.
|
|
@@ -211,12 +213,14 @@ export interface Sorting {
|
|
|
211
213
|
*/
|
|
212
214
|
fieldName?: string;
|
|
213
215
|
/** Sort order. */
|
|
214
|
-
order?:
|
|
216
|
+
order?: SortOrderWithLiterals;
|
|
215
217
|
}
|
|
216
218
|
export declare enum SortOrder {
|
|
217
219
|
ASC = "ASC",
|
|
218
220
|
DESC = "DESC"
|
|
219
221
|
}
|
|
222
|
+
/** @enumType */
|
|
223
|
+
export type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
|
|
220
224
|
export interface CursorPaging {
|
|
221
225
|
/**
|
|
222
226
|
* Maximum number of items to return in the results.
|
|
@@ -298,25 +302,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
298
302
|
updatedEvent?: EntityUpdatedEvent;
|
|
299
303
|
deletedEvent?: EntityDeletedEvent;
|
|
300
304
|
actionEvent?: ActionEvent;
|
|
301
|
-
/**
|
|
302
|
-
* Unique event ID.
|
|
303
|
-
* Allows clients to ignore duplicate webhooks.
|
|
304
|
-
*/
|
|
305
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
305
306
|
_id?: string;
|
|
306
307
|
/**
|
|
307
|
-
*
|
|
308
|
-
*
|
|
308
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
309
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
309
310
|
*/
|
|
310
311
|
entityFqdn?: string;
|
|
311
312
|
/**
|
|
312
|
-
*
|
|
313
|
-
*
|
|
314
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
313
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
314
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
315
315
|
*/
|
|
316
316
|
slug?: string;
|
|
317
317
|
/** ID of the entity associated with the event. */
|
|
318
318
|
entityId?: string;
|
|
319
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
319
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
320
320
|
eventTime?: Date | null;
|
|
321
321
|
/**
|
|
322
322
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -326,12 +326,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
326
326
|
/** If present, indicates the action that triggered the event. */
|
|
327
327
|
originatedFrom?: string | null;
|
|
328
328
|
/**
|
|
329
|
-
* A sequence number
|
|
330
|
-
*
|
|
331
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
332
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
333
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
334
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
329
|
+
* 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.
|
|
330
|
+
* 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.
|
|
335
331
|
*/
|
|
336
332
|
entityEventSequence?: string | null;
|
|
337
333
|
}
|
|
@@ -357,7 +353,7 @@ export interface EntityUpdatedEvent {
|
|
|
357
353
|
currentEntity?: string;
|
|
358
354
|
}
|
|
359
355
|
export interface EntityDeletedEvent {
|
|
360
|
-
/** Entity that was deleted */
|
|
356
|
+
/** Entity that was deleted. */
|
|
361
357
|
deletedEntity?: string | null;
|
|
362
358
|
}
|
|
363
359
|
export interface ActionEvent {
|
|
@@ -403,7 +399,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
403
399
|
*/
|
|
404
400
|
appId?: string;
|
|
405
401
|
/** @readonly */
|
|
406
|
-
identityType?:
|
|
402
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
407
403
|
}
|
|
408
404
|
/** @oneof */
|
|
409
405
|
export interface IdentificationDataIdOneOf {
|
|
@@ -435,6 +431,8 @@ export declare enum WebhookIdentityType {
|
|
|
435
431
|
WIX_USER = "WIX_USER",
|
|
436
432
|
APP = "APP"
|
|
437
433
|
}
|
|
434
|
+
/** @enumType */
|
|
435
|
+
export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
438
436
|
type OrderPaymentRequestNonNullablePaths = `source.externalId` | `status` | `orderId` | `amount.amount` | `amount.formattedAmount` | `currency` | `title`;
|
|
439
437
|
/**
|
|
440
438
|
* Creates a order payment request.
|
|
@@ -515,7 +513,7 @@ export interface UpdateOrderPaymentRequest {
|
|
|
515
513
|
* status.
|
|
516
514
|
* @readonly
|
|
517
515
|
*/
|
|
518
|
-
status?:
|
|
516
|
+
status?: StatusWithLiterals;
|
|
519
517
|
/**
|
|
520
518
|
* Order ID.
|
|
521
519
|
* @format GUID
|
|
@@ -649,22 +647,22 @@ export interface OrderPaymentRequestsQueryBuilder {
|
|
|
649
647
|
* @param value - Value to compare against.
|
|
650
648
|
* @documentationMaturity preview
|
|
651
649
|
*/
|
|
652
|
-
ge: (propertyName: 'expirationDate' | '_createdDate' | '_updatedDate', value: any) => OrderPaymentRequestsQueryBuilder;
|
|
650
|
+
ge: (propertyName: '_id' | 'source.appId' | 'source.externalId' | 'orderId' | 'orderNumber' | 'paymentGatewayOrderId' | 'title' | 'description' | 'expirationDate' | '_createdDate' | '_updatedDate', value: any) => OrderPaymentRequestsQueryBuilder;
|
|
653
651
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
654
652
|
* @param value - Value to compare against.
|
|
655
653
|
* @documentationMaturity preview
|
|
656
654
|
*/
|
|
657
|
-
gt: (propertyName: 'expirationDate' | '_createdDate' | '_updatedDate', value: any) => OrderPaymentRequestsQueryBuilder;
|
|
655
|
+
gt: (propertyName: '_id' | 'source.appId' | 'source.externalId' | 'orderId' | 'orderNumber' | 'paymentGatewayOrderId' | 'title' | 'description' | 'expirationDate' | '_createdDate' | '_updatedDate', value: any) => OrderPaymentRequestsQueryBuilder;
|
|
658
656
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
659
657
|
* @param value - Value to compare against.
|
|
660
658
|
* @documentationMaturity preview
|
|
661
659
|
*/
|
|
662
|
-
le: (propertyName: 'expirationDate' | '_createdDate' | '_updatedDate', value: any) => OrderPaymentRequestsQueryBuilder;
|
|
660
|
+
le: (propertyName: '_id' | 'source.appId' | 'source.externalId' | 'orderId' | 'orderNumber' | 'paymentGatewayOrderId' | 'title' | 'description' | 'expirationDate' | '_createdDate' | '_updatedDate', value: any) => OrderPaymentRequestsQueryBuilder;
|
|
663
661
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
664
662
|
* @param value - Value to compare against.
|
|
665
663
|
* @documentationMaturity preview
|
|
666
664
|
*/
|
|
667
|
-
lt: (propertyName: 'expirationDate' | '_createdDate' | '_updatedDate', value: any) => OrderPaymentRequestsQueryBuilder;
|
|
665
|
+
lt: (propertyName: '_id' | 'source.appId' | 'source.externalId' | 'orderId' | 'orderNumber' | 'paymentGatewayOrderId' | 'title' | 'description' | 'expirationDate' | '_createdDate' | '_updatedDate', value: any) => OrderPaymentRequestsQueryBuilder;
|
|
668
666
|
/** @param propertyName - Property whose value is compared with `string`.
|
|
669
667
|
* @param string - String to compare against. Case-insensitive.
|
|
670
668
|
* @documentationMaturity preview
|
package/build/internal/es/src/ecom-v1-order-payment-request-order-payment-requests.universal.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ecom-v1-order-payment-request-order-payment-requests.universal.js","sourceRoot":"","sources":["../../../../src/ecom-v1-order-payment-request-order-payment-requests.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,sCAAsC,MAAM,gEAAgE,CAAC;AACzH,aAAa;AACb,OAAO,EAAE,4BAA4B,EAAE,MAAM,wCAAwC,CAAC;AACtF,OAAO,EAAE,4BAA4B,EAAE,MAAM,wCAAwC,CAAC;AACtF,OAAO,EAAE,cAAc,EAAE,MAAM,kDAAkD,CAAC;AAoGlF,MAAM,CAAN,IAAY,MAKX;AALD,WAAY,MAAM;IAChB,2CAAiC,CAAA;IACjC,2BAAiB,CAAA;IACjB,uBAAa,CAAA;IACb,6BAAmB,CAAA;AACrB,CAAC,EALW,MAAM,KAAN,MAAM,QAKjB;
|
|
1
|
+
{"version":3,"file":"ecom-v1-order-payment-request-order-payment-requests.universal.js","sourceRoot":"","sources":["../../../../src/ecom-v1-order-payment-request-order-payment-requests.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,sCAAsC,MAAM,gEAAgE,CAAC;AACzH,aAAa;AACb,OAAO,EAAE,4BAA4B,EAAE,MAAM,wCAAwC,CAAC;AACtF,OAAO,EAAE,4BAA4B,EAAE,MAAM,wCAAwC,CAAC;AACtF,OAAO,EAAE,cAAc,EAAE,MAAM,kDAAkD,CAAC;AAoGlF,MAAM,CAAN,IAAY,MAKX;AALD,WAAY,MAAM;IAChB,2CA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CAAC;IACzB,CAAC;AACH,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_ecom_order-payment-requests",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.15",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"fqdn": "wix.ecom.v1.order_payment_request"
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
|
-
"falconPackageHash": "
|
|
51
|
+
"falconPackageHash": "07e23e40c053d1afbd68758092f41ae7e61468f64a19f74102793011"
|
|
52
52
|
}
|