@wix/auto_sdk_stores_ribbons-v-3 1.0.7 → 1.0.9
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/stores-catalog-v3-ribbon-ribbons-v-3.types.d.ts +23 -25
- package/build/cjs/src/stores-catalog-v3-ribbon-ribbons-v-3.types.js.map +1 -1
- package/build/cjs/src/stores-catalog-v3-ribbon-ribbons-v-3.universal.d.ts +37 -47
- package/build/cjs/src/stores-catalog-v3-ribbon-ribbons-v-3.universal.js.map +1 -1
- package/build/es/src/stores-catalog-v3-ribbon-ribbons-v-3.types.d.ts +23 -25
- package/build/es/src/stores-catalog-v3-ribbon-ribbons-v-3.types.js.map +1 -1
- package/build/es/src/stores-catalog-v3-ribbon-ribbons-v-3.universal.d.ts +37 -47
- package/build/es/src/stores-catalog-v3-ribbon-ribbons-v-3.universal.js.map +1 -1
- package/build/internal/cjs/src/stores-catalog-v3-ribbon-ribbons-v-3.types.d.ts +23 -25
- package/build/internal/cjs/src/stores-catalog-v3-ribbon-ribbons-v-3.types.js.map +1 -1
- package/build/internal/cjs/src/stores-catalog-v3-ribbon-ribbons-v-3.universal.d.ts +37 -47
- package/build/internal/cjs/src/stores-catalog-v3-ribbon-ribbons-v-3.universal.js.map +1 -1
- package/build/internal/es/src/stores-catalog-v3-ribbon-ribbons-v-3.types.d.ts +23 -25
- package/build/internal/es/src/stores-catalog-v3-ribbon-ribbons-v-3.types.js.map +1 -1
- package/build/internal/es/src/stores-catalog-v3-ribbon-ribbons-v-3.universal.d.ts +37 -47
- package/build/internal/es/src/stores-catalog-v3-ribbon-ribbons-v-3.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -173,12 +173,14 @@ export interface GetRibbonRequest {
|
|
|
173
173
|
* Supported values: `ASSIGNED_PRODUCTS_COUNT`
|
|
174
174
|
* @maxSize 100
|
|
175
175
|
*/
|
|
176
|
-
fields?:
|
|
176
|
+
fields?: RequestedFieldsWithLiterals[];
|
|
177
177
|
}
|
|
178
178
|
export declare enum RequestedFields {
|
|
179
179
|
UNKNOWN_REQUESTED_FIELD = "UNKNOWN_REQUESTED_FIELD",
|
|
180
180
|
ASSIGNED_PRODUCT_COUNT = "ASSIGNED_PRODUCT_COUNT"
|
|
181
181
|
}
|
|
182
|
+
/** @enumType */
|
|
183
|
+
export type RequestedFieldsWithLiterals = RequestedFields | 'UNKNOWN_REQUESTED_FIELD' | 'ASSIGNED_PRODUCT_COUNT';
|
|
182
184
|
export interface GetRibbonResponse {
|
|
183
185
|
/** Ribbon. */
|
|
184
186
|
ribbon?: Ribbon;
|
|
@@ -192,7 +194,7 @@ export interface UpdateRibbonRequest {
|
|
|
192
194
|
* Supported values: `ASSIGNED_PRODUCTS_COUNT`
|
|
193
195
|
* @maxSize 100
|
|
194
196
|
*/
|
|
195
|
-
fields?:
|
|
197
|
+
fields?: RequestedFieldsWithLiterals[];
|
|
196
198
|
}
|
|
197
199
|
export interface UpdateRibbonResponse {
|
|
198
200
|
/** Updated Ribbon. */
|
|
@@ -216,7 +218,7 @@ export interface QueryRibbonsRequest {
|
|
|
216
218
|
* Supported values: `ASSIGNED_PRODUCTS_COUNT`
|
|
217
219
|
* @maxSize 100
|
|
218
220
|
*/
|
|
219
|
-
fields?:
|
|
221
|
+
fields?: RequestedFieldsWithLiterals[];
|
|
220
222
|
}
|
|
221
223
|
export interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
|
222
224
|
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
@@ -249,7 +251,7 @@ export interface Sorting {
|
|
|
249
251
|
*/
|
|
250
252
|
fieldName?: string;
|
|
251
253
|
/** Sort order. */
|
|
252
|
-
order?:
|
|
254
|
+
order?: SortOrderWithLiterals;
|
|
253
255
|
}
|
|
254
256
|
export declare enum SortOrder {
|
|
255
257
|
/** Ascending order. */
|
|
@@ -257,6 +259,8 @@ export declare enum SortOrder {
|
|
|
257
259
|
/** Descending order. */
|
|
258
260
|
DESC = "DESC"
|
|
259
261
|
}
|
|
262
|
+
/** @enumType */
|
|
263
|
+
export type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
|
|
260
264
|
export interface CursorPaging {
|
|
261
265
|
/**
|
|
262
266
|
* Maximum number of items to return in the results.
|
|
@@ -388,7 +392,7 @@ export interface BulkUpdateRibbonsRequest {
|
|
|
388
392
|
* Supported values: `ASSIGNED_PRODUCTS_COUNT`
|
|
389
393
|
* @maxSize 100
|
|
390
394
|
*/
|
|
391
|
-
fields?:
|
|
395
|
+
fields?: RequestedFieldsWithLiterals[];
|
|
392
396
|
}
|
|
393
397
|
export interface MaskedRibbon {
|
|
394
398
|
/** Ribbon to update. */
|
|
@@ -418,7 +422,7 @@ export interface GetOrCreateRibbonRequest {
|
|
|
418
422
|
* Supported values: `ASSIGNED_PRODUCTS_COUNT`
|
|
419
423
|
* @maxSize 100
|
|
420
424
|
*/
|
|
421
|
-
fields?:
|
|
425
|
+
fields?: RequestedFieldsWithLiterals[];
|
|
422
426
|
}
|
|
423
427
|
export interface GetOrCreateRibbonResponse {
|
|
424
428
|
/** Ribbon. */
|
|
@@ -439,7 +443,7 @@ export interface BulkGetOrCreateRibbonsRequest {
|
|
|
439
443
|
* Supported values: `ASSIGNED_PRODUCTS_COUNT`
|
|
440
444
|
* @maxSize 100
|
|
441
445
|
*/
|
|
442
|
-
fields?:
|
|
446
|
+
fields?: RequestedFieldsWithLiterals[];
|
|
443
447
|
}
|
|
444
448
|
export interface BulkGetOrCreateRibbonsResponse {
|
|
445
449
|
/**
|
|
@@ -477,25 +481,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
477
481
|
updatedEvent?: EntityUpdatedEvent;
|
|
478
482
|
deletedEvent?: EntityDeletedEvent;
|
|
479
483
|
actionEvent?: ActionEvent;
|
|
480
|
-
/**
|
|
481
|
-
* Unique event ID.
|
|
482
|
-
* Allows clients to ignore duplicate webhooks.
|
|
483
|
-
*/
|
|
484
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
484
485
|
id?: string;
|
|
485
486
|
/**
|
|
486
|
-
*
|
|
487
|
-
*
|
|
487
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
488
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
488
489
|
*/
|
|
489
490
|
entityFqdn?: string;
|
|
490
491
|
/**
|
|
491
|
-
*
|
|
492
|
-
*
|
|
493
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
492
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
493
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
494
494
|
*/
|
|
495
495
|
slug?: string;
|
|
496
496
|
/** ID of the entity associated with the event. */
|
|
497
497
|
entityId?: string;
|
|
498
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
498
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
499
499
|
eventTime?: Date | null;
|
|
500
500
|
/**
|
|
501
501
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -505,12 +505,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
505
505
|
/** If present, indicates the action that triggered the event. */
|
|
506
506
|
originatedFrom?: string | null;
|
|
507
507
|
/**
|
|
508
|
-
* A sequence number
|
|
509
|
-
*
|
|
510
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
511
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
512
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
513
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
508
|
+
* 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.
|
|
509
|
+
* 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.
|
|
514
510
|
*/
|
|
515
511
|
entityEventSequence?: string | null;
|
|
516
512
|
}
|
|
@@ -538,7 +534,7 @@ export interface EntityUpdatedEvent {
|
|
|
538
534
|
currentEntityAsJson?: string;
|
|
539
535
|
}
|
|
540
536
|
export interface EntityDeletedEvent {
|
|
541
|
-
/** Entity that was deleted */
|
|
537
|
+
/** Entity that was deleted. */
|
|
542
538
|
deletedEntityAsJson?: string | null;
|
|
543
539
|
}
|
|
544
540
|
export interface ActionEvent {
|
|
@@ -584,7 +580,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
584
580
|
*/
|
|
585
581
|
appId?: string;
|
|
586
582
|
/** @readonly */
|
|
587
|
-
identityType?:
|
|
583
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
588
584
|
}
|
|
589
585
|
/** @oneof */
|
|
590
586
|
export interface IdentificationDataIdOneOf {
|
|
@@ -616,3 +612,5 @@ export declare enum WebhookIdentityType {
|
|
|
616
612
|
WIX_USER = "WIX_USER",
|
|
617
613
|
APP = "APP"
|
|
618
614
|
}
|
|
615
|
+
/** @enumType */
|
|
616
|
+
export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stores-catalog-v3-ribbon-ribbons-v-3.types.js","sourceRoot":"","sources":["../../../src/stores-catalog-v3-ribbon-ribbons-v-3.types.ts"],"names":[],"mappings":";;;AA4LA,IAAY,eAGX;AAHD,WAAY,eAAe;IACzB,sEAAmD,CAAA;IACnD,oEAAiD,CAAA;AACnD,CAAC,EAHW,eAAe,+BAAf,eAAe,QAG1B;
|
|
1
|
+
{"version":3,"file":"stores-catalog-v3-ribbon-ribbons-v-3.types.js","sourceRoot":"","sources":["../../../src/stores-catalog-v3-ribbon-ribbons-v-3.types.ts"],"names":[],"mappings":";;;AA4LA,IAAY,eAGX;AAHD,WAAY,eAAe;IACzB,sEAAmD,CAAA;IACnD,oEAAiD,CAAA;AACnD,CAAC,EAHW,eAAe,+BAAf,eAAe,QAG1B;AAwFD,IAAY,SAKX;AALD,WAAY,SAAS;IACnB,uBAAuB;IACvB,wBAAW,CAAA;IACX,wBAAwB;IACxB,0BAAa,CAAA;AACf,CAAC,EALW,SAAS,yBAAT,SAAS,QAKpB;AA2XD,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"}
|
|
@@ -174,12 +174,14 @@ export interface GetRibbonRequest {
|
|
|
174
174
|
* Supported values: `ASSIGNED_PRODUCTS_COUNT`
|
|
175
175
|
* @maxSize 100
|
|
176
176
|
*/
|
|
177
|
-
fields?:
|
|
177
|
+
fields?: RequestedFieldsWithLiterals[];
|
|
178
178
|
}
|
|
179
179
|
export declare enum RequestedFields {
|
|
180
180
|
UNKNOWN_REQUESTED_FIELD = "UNKNOWN_REQUESTED_FIELD",
|
|
181
181
|
ASSIGNED_PRODUCT_COUNT = "ASSIGNED_PRODUCT_COUNT"
|
|
182
182
|
}
|
|
183
|
+
/** @enumType */
|
|
184
|
+
export type RequestedFieldsWithLiterals = RequestedFields | 'UNKNOWN_REQUESTED_FIELD' | 'ASSIGNED_PRODUCT_COUNT';
|
|
183
185
|
export interface GetRibbonResponse {
|
|
184
186
|
/** Ribbon. */
|
|
185
187
|
ribbon?: Ribbon;
|
|
@@ -193,7 +195,7 @@ export interface UpdateRibbonRequest {
|
|
|
193
195
|
* Supported values: `ASSIGNED_PRODUCTS_COUNT`
|
|
194
196
|
* @maxSize 100
|
|
195
197
|
*/
|
|
196
|
-
fields?:
|
|
198
|
+
fields?: RequestedFieldsWithLiterals[];
|
|
197
199
|
}
|
|
198
200
|
export interface UpdateRibbonResponse {
|
|
199
201
|
/** Updated Ribbon. */
|
|
@@ -217,7 +219,7 @@ export interface QueryRibbonsRequest {
|
|
|
217
219
|
* Supported values: `ASSIGNED_PRODUCTS_COUNT`
|
|
218
220
|
* @maxSize 100
|
|
219
221
|
*/
|
|
220
|
-
fields?:
|
|
222
|
+
fields?: RequestedFieldsWithLiterals[];
|
|
221
223
|
}
|
|
222
224
|
export interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
|
223
225
|
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
@@ -250,7 +252,7 @@ export interface Sorting {
|
|
|
250
252
|
*/
|
|
251
253
|
fieldName?: string;
|
|
252
254
|
/** Sort order. */
|
|
253
|
-
order?:
|
|
255
|
+
order?: SortOrderWithLiterals;
|
|
254
256
|
}
|
|
255
257
|
export declare enum SortOrder {
|
|
256
258
|
/** Ascending order. */
|
|
@@ -258,6 +260,8 @@ export declare enum SortOrder {
|
|
|
258
260
|
/** Descending order. */
|
|
259
261
|
DESC = "DESC"
|
|
260
262
|
}
|
|
263
|
+
/** @enumType */
|
|
264
|
+
export type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
|
|
261
265
|
export interface CursorPaging {
|
|
262
266
|
/**
|
|
263
267
|
* Maximum number of items to return in the results.
|
|
@@ -389,7 +393,7 @@ export interface BulkUpdateRibbonsRequest {
|
|
|
389
393
|
* Supported values: `ASSIGNED_PRODUCTS_COUNT`
|
|
390
394
|
* @maxSize 100
|
|
391
395
|
*/
|
|
392
|
-
fields?:
|
|
396
|
+
fields?: RequestedFieldsWithLiterals[];
|
|
393
397
|
}
|
|
394
398
|
export interface MaskedRibbon {
|
|
395
399
|
/** Ribbon to update. */
|
|
@@ -419,7 +423,7 @@ export interface GetOrCreateRibbonRequest {
|
|
|
419
423
|
* Supported values: `ASSIGNED_PRODUCTS_COUNT`
|
|
420
424
|
* @maxSize 100
|
|
421
425
|
*/
|
|
422
|
-
fields?:
|
|
426
|
+
fields?: RequestedFieldsWithLiterals[];
|
|
423
427
|
}
|
|
424
428
|
export interface GetOrCreateRibbonResponse {
|
|
425
429
|
/** Ribbon. */
|
|
@@ -440,7 +444,7 @@ export interface BulkGetOrCreateRibbonsRequest {
|
|
|
440
444
|
* Supported values: `ASSIGNED_PRODUCTS_COUNT`
|
|
441
445
|
* @maxSize 100
|
|
442
446
|
*/
|
|
443
|
-
fields?:
|
|
447
|
+
fields?: RequestedFieldsWithLiterals[];
|
|
444
448
|
}
|
|
445
449
|
export interface BulkGetOrCreateRibbonsResponse {
|
|
446
450
|
/**
|
|
@@ -478,25 +482,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
478
482
|
updatedEvent?: EntityUpdatedEvent;
|
|
479
483
|
deletedEvent?: EntityDeletedEvent;
|
|
480
484
|
actionEvent?: ActionEvent;
|
|
481
|
-
/**
|
|
482
|
-
* Unique event ID.
|
|
483
|
-
* Allows clients to ignore duplicate webhooks.
|
|
484
|
-
*/
|
|
485
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
485
486
|
_id?: string;
|
|
486
487
|
/**
|
|
487
|
-
*
|
|
488
|
-
*
|
|
488
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
489
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
489
490
|
*/
|
|
490
491
|
entityFqdn?: string;
|
|
491
492
|
/**
|
|
492
|
-
*
|
|
493
|
-
*
|
|
494
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
493
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
494
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
495
495
|
*/
|
|
496
496
|
slug?: string;
|
|
497
497
|
/** ID of the entity associated with the event. */
|
|
498
498
|
entityId?: string;
|
|
499
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
499
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
500
500
|
eventTime?: Date | null;
|
|
501
501
|
/**
|
|
502
502
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -506,12 +506,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
506
506
|
/** If present, indicates the action that triggered the event. */
|
|
507
507
|
originatedFrom?: string | null;
|
|
508
508
|
/**
|
|
509
|
-
* A sequence number
|
|
510
|
-
*
|
|
511
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
512
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
513
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
514
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
509
|
+
* 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.
|
|
510
|
+
* 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.
|
|
515
511
|
*/
|
|
516
512
|
entityEventSequence?: string | null;
|
|
517
513
|
}
|
|
@@ -537,7 +533,7 @@ export interface EntityUpdatedEvent {
|
|
|
537
533
|
currentEntity?: string;
|
|
538
534
|
}
|
|
539
535
|
export interface EntityDeletedEvent {
|
|
540
|
-
/** Entity that was deleted */
|
|
536
|
+
/** Entity that was deleted. */
|
|
541
537
|
deletedEntity?: string | null;
|
|
542
538
|
}
|
|
543
539
|
export interface ActionEvent {
|
|
@@ -583,7 +579,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
583
579
|
*/
|
|
584
580
|
appId?: string;
|
|
585
581
|
/** @readonly */
|
|
586
|
-
identityType?:
|
|
582
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
587
583
|
}
|
|
588
584
|
/** @oneof */
|
|
589
585
|
export interface IdentificationDataIdOneOf {
|
|
@@ -615,6 +611,8 @@ export declare enum WebhookIdentityType {
|
|
|
615
611
|
WIX_USER = "WIX_USER",
|
|
616
612
|
APP = "APP"
|
|
617
613
|
}
|
|
614
|
+
/** @enumType */
|
|
615
|
+
export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
618
616
|
export interface BaseEventMetadata {
|
|
619
617
|
/**
|
|
620
618
|
* App instance ID.
|
|
@@ -630,25 +628,21 @@ export interface BaseEventMetadata {
|
|
|
630
628
|
identity?: IdentificationData;
|
|
631
629
|
}
|
|
632
630
|
export interface EventMetadata extends BaseEventMetadata {
|
|
633
|
-
/**
|
|
634
|
-
* Unique event ID.
|
|
635
|
-
* Allows clients to ignore duplicate webhooks.
|
|
636
|
-
*/
|
|
631
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
637
632
|
_id?: string;
|
|
638
633
|
/**
|
|
639
|
-
*
|
|
640
|
-
*
|
|
634
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
635
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
641
636
|
*/
|
|
642
637
|
entityFqdn?: string;
|
|
643
638
|
/**
|
|
644
|
-
*
|
|
645
|
-
*
|
|
646
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
639
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
640
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
647
641
|
*/
|
|
648
642
|
slug?: string;
|
|
649
643
|
/** ID of the entity associated with the event. */
|
|
650
644
|
entityId?: string;
|
|
651
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
645
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
652
646
|
eventTime?: Date | null;
|
|
653
647
|
/**
|
|
654
648
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -658,12 +652,8 @@ export interface EventMetadata extends BaseEventMetadata {
|
|
|
658
652
|
/** If present, indicates the action that triggered the event. */
|
|
659
653
|
originatedFrom?: string | null;
|
|
660
654
|
/**
|
|
661
|
-
* A sequence number
|
|
662
|
-
*
|
|
663
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
664
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
665
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
666
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
655
|
+
* 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.
|
|
656
|
+
* 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.
|
|
667
657
|
*/
|
|
668
658
|
entityEventSequence?: string | null;
|
|
669
659
|
}
|
|
@@ -835,7 +825,7 @@ export interface GetRibbonOptions {
|
|
|
835
825
|
* Supported values: `ASSIGNED_PRODUCTS_COUNT`
|
|
836
826
|
* @maxSize 100
|
|
837
827
|
*/
|
|
838
|
-
fields?:
|
|
828
|
+
fields?: RequestedFieldsWithLiterals[];
|
|
839
829
|
}
|
|
840
830
|
/**
|
|
841
831
|
* Updates a ribbon.
|
|
@@ -914,7 +904,7 @@ export interface UpdateRibbonOptions {
|
|
|
914
904
|
* Supported values: `ASSIGNED_PRODUCTS_COUNT`
|
|
915
905
|
* @maxSize 100
|
|
916
906
|
*/
|
|
917
|
-
fields?:
|
|
907
|
+
fields?: RequestedFieldsWithLiterals[];
|
|
918
908
|
}
|
|
919
909
|
/**
|
|
920
910
|
* Deletes a ribbon.
|
|
@@ -994,7 +984,7 @@ export interface QueryRibbonsOptions {
|
|
|
994
984
|
* Supported values: `ASSIGNED_PRODUCTS_COUNT`
|
|
995
985
|
* @maxSize 100
|
|
996
986
|
*/
|
|
997
|
-
fields?:
|
|
987
|
+
fields?: RequestedFieldsWithLiterals[] | undefined;
|
|
998
988
|
}
|
|
999
989
|
interface QueryCursorResult {
|
|
1000
990
|
cursors: Cursors;
|
|
@@ -1151,7 +1141,7 @@ export interface BulkUpdateRibbonsOptions {
|
|
|
1151
1141
|
* Supported values: `ASSIGNED_PRODUCTS_COUNT`
|
|
1152
1142
|
* @maxSize 100
|
|
1153
1143
|
*/
|
|
1154
|
-
fields?:
|
|
1144
|
+
fields?: RequestedFieldsWithLiterals[];
|
|
1155
1145
|
}
|
|
1156
1146
|
/**
|
|
1157
1147
|
* Retrieves a ribbon by name, or creates a ribbon if one with the passed `ribbonName` doesn't exist.
|
|
@@ -1185,7 +1175,7 @@ export interface GetOrCreateRibbonOptions {
|
|
|
1185
1175
|
* Supported values: `ASSIGNED_PRODUCTS_COUNT`
|
|
1186
1176
|
* @maxSize 100
|
|
1187
1177
|
*/
|
|
1188
|
-
fields?:
|
|
1178
|
+
fields?: RequestedFieldsWithLiterals[];
|
|
1189
1179
|
}
|
|
1190
1180
|
/**
|
|
1191
1181
|
* Retrieves multiple ribbons by name, or creates multiple ribbons if those with the passed `ribbonNames` don't exist.
|
|
@@ -1219,7 +1209,7 @@ export interface BulkGetOrCreateRibbonsOptions {
|
|
|
1219
1209
|
* Supported values: `ASSIGNED_PRODUCTS_COUNT`
|
|
1220
1210
|
* @maxSize 100
|
|
1221
1211
|
*/
|
|
1222
|
-
fields?:
|
|
1212
|
+
fields?: RequestedFieldsWithLiterals[];
|
|
1223
1213
|
}
|
|
1224
1214
|
/**
|
|
1225
1215
|
* Deletes multiple ribbons.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stores-catalog-v3-ribbon-ribbons-v-3.universal.js","sourceRoot":"","sources":["../../../src/stores-catalog-v3-ribbon-ribbons-v-3.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,kEAA8D;AAC9D,oFAGiD;AAEjD,mHAAqG;AACrG,aAAa;AACb,sFAAkF;AA8LlF,IAAY,eAGX;AAHD,WAAY,eAAe;IACzB,sEAAmD,CAAA;IACnD,oEAAiD,CAAA;AACnD,CAAC,EAHW,eAAe,+BAAf,eAAe,QAG1B;
|
|
1
|
+
{"version":3,"file":"stores-catalog-v3-ribbon-ribbons-v-3.universal.js","sourceRoot":"","sources":["../../../src/stores-catalog-v3-ribbon-ribbons-v-3.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,kEAA8D;AAC9D,oFAGiD;AAEjD,mHAAqG;AACrG,aAAa;AACb,sFAAkF;AA8LlF,IAAY,eAGX;AAHD,WAAY,eAAe;IACzB,sEAAmD,CAAA;IACnD,oEAAiD,CAAA;AACnD,CAAC,EAHW,eAAe,+BAAf,eAAe,QAG1B;AAwFD,IAAY,SAKX;AALD,WAAY,SAAS;IACnB,uBAAuB;IACvB,wBAAW,CAAA;IACX,wBAAwB;IACxB,0BAAa,CAAA;AACf,CAAC,EALW,SAAS,yBAAT,SAAS,QAKpB;AAyXD,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;AA0KD;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACI,KAAK,UAAU,YAAY,CAChC,MAAwC;IAExC,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C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AAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,IAAA,8DAAqC,EAAC;QACpD,SAAS,EAAE,SAAS;KACrB,CAAC,CAAC;IAEH,MAAM,OAAO,GAAG,kCAAkC,CAAC,iBAAiB,CAAC,OAAO,CAAC,CAAC;IAE9E,WAAW,EAAE,UAAU,EAAE,EAAE,CAAC;IAC5B,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACjD,WAAW,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,CAAC;QAEjC,OAAO,IAAA,gEAAuC,EAAC,MAAM,CAAC,IAAI,CAAE,CAAC;IAC/D,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,IAAA,gCAAiB,EACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE;YAC/C,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,WAAW,CAAC,CACd,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AA/CD,8CA+CC"}
|
|
@@ -173,12 +173,14 @@ export interface GetRibbonRequest {
|
|
|
173
173
|
* Supported values: `ASSIGNED_PRODUCTS_COUNT`
|
|
174
174
|
* @maxSize 100
|
|
175
175
|
*/
|
|
176
|
-
fields?:
|
|
176
|
+
fields?: RequestedFieldsWithLiterals[];
|
|
177
177
|
}
|
|
178
178
|
export declare enum RequestedFields {
|
|
179
179
|
UNKNOWN_REQUESTED_FIELD = "UNKNOWN_REQUESTED_FIELD",
|
|
180
180
|
ASSIGNED_PRODUCT_COUNT = "ASSIGNED_PRODUCT_COUNT"
|
|
181
181
|
}
|
|
182
|
+
/** @enumType */
|
|
183
|
+
export type RequestedFieldsWithLiterals = RequestedFields | 'UNKNOWN_REQUESTED_FIELD' | 'ASSIGNED_PRODUCT_COUNT';
|
|
182
184
|
export interface GetRibbonResponse {
|
|
183
185
|
/** Ribbon. */
|
|
184
186
|
ribbon?: Ribbon;
|
|
@@ -192,7 +194,7 @@ export interface UpdateRibbonRequest {
|
|
|
192
194
|
* Supported values: `ASSIGNED_PRODUCTS_COUNT`
|
|
193
195
|
* @maxSize 100
|
|
194
196
|
*/
|
|
195
|
-
fields?:
|
|
197
|
+
fields?: RequestedFieldsWithLiterals[];
|
|
196
198
|
}
|
|
197
199
|
export interface UpdateRibbonResponse {
|
|
198
200
|
/** Updated Ribbon. */
|
|
@@ -216,7 +218,7 @@ export interface QueryRibbonsRequest {
|
|
|
216
218
|
* Supported values: `ASSIGNED_PRODUCTS_COUNT`
|
|
217
219
|
* @maxSize 100
|
|
218
220
|
*/
|
|
219
|
-
fields?:
|
|
221
|
+
fields?: RequestedFieldsWithLiterals[];
|
|
220
222
|
}
|
|
221
223
|
export interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
|
222
224
|
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
@@ -249,7 +251,7 @@ export interface Sorting {
|
|
|
249
251
|
*/
|
|
250
252
|
fieldName?: string;
|
|
251
253
|
/** Sort order. */
|
|
252
|
-
order?:
|
|
254
|
+
order?: SortOrderWithLiterals;
|
|
253
255
|
}
|
|
254
256
|
export declare enum SortOrder {
|
|
255
257
|
/** Ascending order. */
|
|
@@ -257,6 +259,8 @@ export declare enum SortOrder {
|
|
|
257
259
|
/** Descending order. */
|
|
258
260
|
DESC = "DESC"
|
|
259
261
|
}
|
|
262
|
+
/** @enumType */
|
|
263
|
+
export type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
|
|
260
264
|
export interface CursorPaging {
|
|
261
265
|
/**
|
|
262
266
|
* Maximum number of items to return in the results.
|
|
@@ -388,7 +392,7 @@ export interface BulkUpdateRibbonsRequest {
|
|
|
388
392
|
* Supported values: `ASSIGNED_PRODUCTS_COUNT`
|
|
389
393
|
* @maxSize 100
|
|
390
394
|
*/
|
|
391
|
-
fields?:
|
|
395
|
+
fields?: RequestedFieldsWithLiterals[];
|
|
392
396
|
}
|
|
393
397
|
export interface MaskedRibbon {
|
|
394
398
|
/** Ribbon to update. */
|
|
@@ -418,7 +422,7 @@ export interface GetOrCreateRibbonRequest {
|
|
|
418
422
|
* Supported values: `ASSIGNED_PRODUCTS_COUNT`
|
|
419
423
|
* @maxSize 100
|
|
420
424
|
*/
|
|
421
|
-
fields?:
|
|
425
|
+
fields?: RequestedFieldsWithLiterals[];
|
|
422
426
|
}
|
|
423
427
|
export interface GetOrCreateRibbonResponse {
|
|
424
428
|
/** Ribbon. */
|
|
@@ -439,7 +443,7 @@ export interface BulkGetOrCreateRibbonsRequest {
|
|
|
439
443
|
* Supported values: `ASSIGNED_PRODUCTS_COUNT`
|
|
440
444
|
* @maxSize 100
|
|
441
445
|
*/
|
|
442
|
-
fields?:
|
|
446
|
+
fields?: RequestedFieldsWithLiterals[];
|
|
443
447
|
}
|
|
444
448
|
export interface BulkGetOrCreateRibbonsResponse {
|
|
445
449
|
/**
|
|
@@ -477,25 +481,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
477
481
|
updatedEvent?: EntityUpdatedEvent;
|
|
478
482
|
deletedEvent?: EntityDeletedEvent;
|
|
479
483
|
actionEvent?: ActionEvent;
|
|
480
|
-
/**
|
|
481
|
-
* Unique event ID.
|
|
482
|
-
* Allows clients to ignore duplicate webhooks.
|
|
483
|
-
*/
|
|
484
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
484
485
|
id?: string;
|
|
485
486
|
/**
|
|
486
|
-
*
|
|
487
|
-
*
|
|
487
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
488
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
488
489
|
*/
|
|
489
490
|
entityFqdn?: string;
|
|
490
491
|
/**
|
|
491
|
-
*
|
|
492
|
-
*
|
|
493
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
492
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
493
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
494
494
|
*/
|
|
495
495
|
slug?: string;
|
|
496
496
|
/** ID of the entity associated with the event. */
|
|
497
497
|
entityId?: string;
|
|
498
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
498
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
499
499
|
eventTime?: Date | null;
|
|
500
500
|
/**
|
|
501
501
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -505,12 +505,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
505
505
|
/** If present, indicates the action that triggered the event. */
|
|
506
506
|
originatedFrom?: string | null;
|
|
507
507
|
/**
|
|
508
|
-
* A sequence number
|
|
509
|
-
*
|
|
510
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
511
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
512
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
513
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
508
|
+
* 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.
|
|
509
|
+
* 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.
|
|
514
510
|
*/
|
|
515
511
|
entityEventSequence?: string | null;
|
|
516
512
|
}
|
|
@@ -538,7 +534,7 @@ export interface EntityUpdatedEvent {
|
|
|
538
534
|
currentEntityAsJson?: string;
|
|
539
535
|
}
|
|
540
536
|
export interface EntityDeletedEvent {
|
|
541
|
-
/** Entity that was deleted */
|
|
537
|
+
/** Entity that was deleted. */
|
|
542
538
|
deletedEntityAsJson?: string | null;
|
|
543
539
|
}
|
|
544
540
|
export interface ActionEvent {
|
|
@@ -584,7 +580,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
584
580
|
*/
|
|
585
581
|
appId?: string;
|
|
586
582
|
/** @readonly */
|
|
587
|
-
identityType?:
|
|
583
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
588
584
|
}
|
|
589
585
|
/** @oneof */
|
|
590
586
|
export interface IdentificationDataIdOneOf {
|
|
@@ -616,3 +612,5 @@ export declare enum WebhookIdentityType {
|
|
|
616
612
|
WIX_USER = "WIX_USER",
|
|
617
613
|
APP = "APP"
|
|
618
614
|
}
|
|
615
|
+
/** @enumType */
|
|
616
|
+
export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stores-catalog-v3-ribbon-ribbons-v-3.types.js","sourceRoot":"","sources":["../../../src/stores-catalog-v3-ribbon-ribbons-v-3.types.ts"],"names":[],"mappings":"AA4LA,MAAM,CAAN,IAAY,eAGX;AAHD,WAAY,eAAe;IACzB,sEAAmD,CAAA;IACnD,oEAAiD,CAAA;AACnD,CAAC,EAHW,eAAe,KAAf,eAAe,QAG1B;
|
|
1
|
+
{"version":3,"file":"stores-catalog-v3-ribbon-ribbons-v-3.types.js","sourceRoot":"","sources":["../../../src/stores-catalog-v3-ribbon-ribbons-v-3.types.ts"],"names":[],"mappings":"AA4LA,MAAM,CAAN,IAAY,eAGX;AAHD,WAAY,eAAe;IACzB,sEAAmD,CAAA;IACnD,oEAAiD,CAAA;AACnD,CAAC,EAHW,eAAe,KAAf,eAAe,QAG1B;AAwFD,MAAM,CAAN,IAAY,SAKX;AALD,WAAY,SAAS;IACnB,uBAAuB;IACvB,wBAAW,CAAA;IACX,wBAAwB;IACxB,0BAAa,CAAA;AACf,CAAC,EALW,SAAS,KAAT,SAAS,QAKpB;AA2XD,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"}
|