@wix/auto_sdk_automations_action-catalog 1.0.0 → 1.0.2
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/automations-actioncatalog-v1-action-action-catalog.types.d.ts +27 -23
- package/build/cjs/src/automations-actioncatalog-v1-action-action-catalog.types.js.map +1 -1
- package/build/cjs/src/automations-actioncatalog-v1-action-action-catalog.universal.d.ts +28 -24
- package/build/cjs/src/automations-actioncatalog-v1-action-action-catalog.universal.js.map +1 -1
- package/build/es/src/automations-actioncatalog-v1-action-action-catalog.types.d.ts +27 -23
- package/build/es/src/automations-actioncatalog-v1-action-action-catalog.types.js.map +1 -1
- package/build/es/src/automations-actioncatalog-v1-action-action-catalog.universal.d.ts +28 -24
- package/build/es/src/automations-actioncatalog-v1-action-action-catalog.universal.js.map +1 -1
- package/build/internal/cjs/src/automations-actioncatalog-v1-action-action-catalog.types.d.ts +27 -23
- package/build/internal/cjs/src/automations-actioncatalog-v1-action-action-catalog.types.js.map +1 -1
- package/build/internal/cjs/src/automations-actioncatalog-v1-action-action-catalog.universal.d.ts +28 -24
- package/build/internal/cjs/src/automations-actioncatalog-v1-action-action-catalog.universal.js.map +1 -1
- package/build/internal/es/src/automations-actioncatalog-v1-action-action-catalog.types.d.ts +27 -23
- package/build/internal/es/src/automations-actioncatalog-v1-action-action-catalog.types.js.map +1 -1
- package/build/internal/es/src/automations-actioncatalog-v1-action-action-catalog.universal.d.ts +28 -24
- package/build/internal/es/src/automations-actioncatalog-v1-action-action-catalog.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -45,7 +45,7 @@ export interface Action {
|
|
|
45
45
|
/** The optional service plugin methods that are implemented for this action. Invoke is required and therefore excluded from this list. */
|
|
46
46
|
implementedMethods?: ImplementedMethods;
|
|
47
47
|
/** Whether the action is executed immediately or with a delay. */
|
|
48
|
-
executionType?:
|
|
48
|
+
executionType?: ExecutionTypeWithLiterals;
|
|
49
49
|
/** The chosen user interface for the action. The UI is displayed to the Wix user in the site dashboard when they configure the action. */
|
|
50
50
|
interfaceConfiguration?: InterfaceConfiguration;
|
|
51
51
|
/** Action icon displayed in the site dashboard to Wix users. */
|
|
@@ -81,6 +81,8 @@ export declare enum Type {
|
|
|
81
81
|
*/
|
|
82
82
|
GENERIC = "GENERIC"
|
|
83
83
|
}
|
|
84
|
+
/** @enumType */
|
|
85
|
+
export type TypeWithLiterals = Type | 'UNKNOWN_TYPE' | 'GENERIC';
|
|
84
86
|
export interface WidgetComponentOptions {
|
|
85
87
|
/**
|
|
86
88
|
* Widget component name.
|
|
@@ -100,6 +102,8 @@ export declare enum SourceType {
|
|
|
100
102
|
/** The input/output schemas are derived from an existing Wix API through the API-to-Action feature */
|
|
101
103
|
WIX_API = "WIX_API"
|
|
102
104
|
}
|
|
105
|
+
/** @enumType */
|
|
106
|
+
export type SourceTypeWithLiterals = SourceType | 'UNKNOWN_SOURCE_TYPE' | 'DEV_CENTER' | 'WIX_API';
|
|
103
107
|
export interface WixApiOptions {
|
|
104
108
|
/**
|
|
105
109
|
* Service entity fqdn
|
|
@@ -156,11 +160,13 @@ export declare enum ExecutionType {
|
|
|
156
160
|
/** Action completes asynchronously. */
|
|
157
161
|
ASYNC = "ASYNC"
|
|
158
162
|
}
|
|
163
|
+
/** @enumType */
|
|
164
|
+
export type ExecutionTypeWithLiterals = ExecutionType | 'UNKNOWN_EXECUTION_TYPE' | 'SYNC' | 'ASYNC';
|
|
159
165
|
export interface InterfaceConfiguration extends InterfaceConfigurationOptionsOneOf {
|
|
160
166
|
/** Details for the generic UI. */
|
|
161
167
|
genericOptions?: GenericOptions;
|
|
162
168
|
/** Type of action configuration UI. */
|
|
163
|
-
type?:
|
|
169
|
+
type?: TypeWithLiterals;
|
|
164
170
|
}
|
|
165
171
|
/** @oneof */
|
|
166
172
|
export interface InterfaceConfigurationOptionsOneOf {
|
|
@@ -204,7 +210,7 @@ export interface Source extends SourceOptionsOneOf {
|
|
|
204
210
|
/** Wix API options */
|
|
205
211
|
wixApiOptions?: WixApiOptions;
|
|
206
212
|
/** the source type */
|
|
207
|
-
type?:
|
|
213
|
+
type?: SourceTypeWithLiterals;
|
|
208
214
|
}
|
|
209
215
|
/** @oneof */
|
|
210
216
|
export interface SourceOptionsOneOf {
|
|
@@ -220,7 +226,7 @@ export interface RetryExperimentCreation {
|
|
|
220
226
|
*/
|
|
221
227
|
appId?: string;
|
|
222
228
|
/** experiment action type */
|
|
223
|
-
experimentActionType?:
|
|
229
|
+
experimentActionType?: ExperimentActionTypeWithLiterals;
|
|
224
230
|
/**
|
|
225
231
|
* component id
|
|
226
232
|
* @format GUID
|
|
@@ -251,6 +257,8 @@ export declare enum ExperimentActionType {
|
|
|
251
257
|
UPDATE_COMPONENT = "UPDATE_COMPONENT",
|
|
252
258
|
DELETE_COMPONENT = "DELETE_COMPONENT"
|
|
253
259
|
}
|
|
260
|
+
/** @enumType */
|
|
261
|
+
export type ExperimentActionTypeWithLiterals = ExperimentActionType | 'UNKNOWN_ACTION' | 'CREATE_COMPONENT' | 'UPDATE_COMPONENT' | 'DELETE_COMPONENT';
|
|
254
262
|
export interface CreateActionRequest {
|
|
255
263
|
/** The action to create */
|
|
256
264
|
action?: Action;
|
|
@@ -381,12 +389,14 @@ export interface Sorting {
|
|
|
381
389
|
*/
|
|
382
390
|
fieldName?: string;
|
|
383
391
|
/** Sort order. */
|
|
384
|
-
order?:
|
|
392
|
+
order?: SortOrderWithLiterals;
|
|
385
393
|
}
|
|
386
394
|
export declare enum SortOrder {
|
|
387
395
|
ASC = "ASC",
|
|
388
396
|
DESC = "DESC"
|
|
389
397
|
}
|
|
398
|
+
/** @enumType */
|
|
399
|
+
export type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
|
|
390
400
|
export interface Paging {
|
|
391
401
|
/** Number of items to load. */
|
|
392
402
|
limit?: number | null;
|
|
@@ -560,25 +570,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
560
570
|
updatedEvent?: EntityUpdatedEvent;
|
|
561
571
|
deletedEvent?: EntityDeletedEvent;
|
|
562
572
|
actionEvent?: ActionEvent;
|
|
563
|
-
/**
|
|
564
|
-
* Unique event ID.
|
|
565
|
-
* Allows clients to ignore duplicate webhooks.
|
|
566
|
-
*/
|
|
573
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
567
574
|
id?: string;
|
|
568
575
|
/**
|
|
569
|
-
*
|
|
570
|
-
*
|
|
576
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
577
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
571
578
|
*/
|
|
572
579
|
entityFqdn?: string;
|
|
573
580
|
/**
|
|
574
|
-
*
|
|
575
|
-
*
|
|
576
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
581
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
582
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
577
583
|
*/
|
|
578
584
|
slug?: string;
|
|
579
585
|
/** ID of the entity associated with the event. */
|
|
580
586
|
entityId?: string;
|
|
581
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
587
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
582
588
|
eventTime?: Date | null;
|
|
583
589
|
/**
|
|
584
590
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -588,12 +594,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
588
594
|
/** If present, indicates the action that triggered the event. */
|
|
589
595
|
originatedFrom?: string | null;
|
|
590
596
|
/**
|
|
591
|
-
* A sequence number
|
|
592
|
-
*
|
|
593
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
594
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
595
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
596
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
597
|
+
* 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.
|
|
598
|
+
* 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.
|
|
597
599
|
*/
|
|
598
600
|
entityEventSequence?: string | null;
|
|
599
601
|
}
|
|
@@ -621,7 +623,7 @@ export interface EntityUpdatedEvent {
|
|
|
621
623
|
currentEntityAsJson?: string;
|
|
622
624
|
}
|
|
623
625
|
export interface EntityDeletedEvent {
|
|
624
|
-
/** Entity that was deleted */
|
|
626
|
+
/** Entity that was deleted. */
|
|
625
627
|
deletedEntityAsJson?: string | null;
|
|
626
628
|
}
|
|
627
629
|
export interface ActionEvent {
|
|
@@ -665,7 +667,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
665
667
|
*/
|
|
666
668
|
appId?: string;
|
|
667
669
|
/** @readonly */
|
|
668
|
-
identityType?:
|
|
670
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
669
671
|
}
|
|
670
672
|
/** @oneof */
|
|
671
673
|
export interface IdentificationDataIdOneOf {
|
|
@@ -697,3 +699,5 @@ export declare enum WebhookIdentityType {
|
|
|
697
699
|
WIX_USER = "WIX_USER",
|
|
698
700
|
APP = "APP"
|
|
699
701
|
}
|
|
702
|
+
/** @enumType */
|
|
703
|
+
export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"automations-actioncatalog-v1-action-action-catalog.types.js","sourceRoot":"","sources":["../../../src/automations-actioncatalog-v1-action-action-catalog.types.ts"],"names":[],"mappings":";;;AA2EA,IAAY,IAQX;AARD,WAAY,IAAI;IACd,uCAAuC;IACvC,qCAA6B,CAAA;IAC7B;;;OAGG;IACH,2BAAmB,CAAA;AACrB,CAAC,EARW,IAAI,oBAAJ,IAAI,QAQf;
|
|
1
|
+
{"version":3,"file":"automations-actioncatalog-v1-action-action-catalog.types.js","sourceRoot":"","sources":["../../../src/automations-actioncatalog-v1-action-action-catalog.types.ts"],"names":[],"mappings":";;;AA2EA,IAAY,IAQX;AARD,WAAY,IAAI;IACd,uCAAuC;IACvC,qCAA6B,CAAA;IAC7B;;;OAGG;IACH,2BAAmB,CAAA;AACrB,CAAC,EARW,IAAI,oBAAJ,IAAI,QAQf;AAmBD,IAAY,UAMX;AAND,WAAY,UAAU;IACpB,yDAA2C,CAAA;IAC3C,uGAAuG;IACvG,uCAAyB,CAAA;IACzB,sGAAsG;IACtG,iCAAmB,CAAA;AACrB,CAAC,EANW,UAAU,0BAAV,UAAU,QAMrB;AA4DD,IAAY,aAOX;AAPD,WAAY,aAAa;IACvB,oBAAoB;IACpB,kEAAiD,CAAA;IACjD,oCAAoC;IACpC,8BAAa,CAAA;IACb,uCAAuC;IACvC,gCAAe,CAAA;AACjB,CAAC,EAPW,aAAa,6BAAb,aAAa,QAOxB;AA2GD,IAAY,oBAKX;AALD,WAAY,oBAAoB;IAC9B,yDAAiC,CAAA;IACjC,6DAAqC,CAAA;IACrC,6DAAqC,CAAA;IACrC,6DAAqC,CAAA;AACvC,CAAC,EALW,oBAAoB,oCAApB,oBAAoB,QAK/B;AA4JD,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;AAsUD,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"}
|
|
@@ -46,7 +46,7 @@ export interface Action {
|
|
|
46
46
|
/** The optional service plugin methods that are implemented for this action. Invoke is required and therefore excluded from this list. */
|
|
47
47
|
implementedMethods?: ImplementedMethods;
|
|
48
48
|
/** Whether the action is executed immediately or with a delay. */
|
|
49
|
-
executionType?:
|
|
49
|
+
executionType?: ExecutionTypeWithLiterals;
|
|
50
50
|
/** The chosen user interface for the action. The UI is displayed to the Wix user in the site dashboard when they configure the action. */
|
|
51
51
|
interfaceConfiguration?: InterfaceConfiguration;
|
|
52
52
|
/** Action icon displayed in the site dashboard to Wix users. */
|
|
@@ -82,6 +82,8 @@ export declare enum Type {
|
|
|
82
82
|
*/
|
|
83
83
|
GENERIC = "GENERIC"
|
|
84
84
|
}
|
|
85
|
+
/** @enumType */
|
|
86
|
+
export type TypeWithLiterals = Type | 'UNKNOWN_TYPE' | 'GENERIC';
|
|
85
87
|
export interface WidgetComponentOptions {
|
|
86
88
|
/**
|
|
87
89
|
* Widget component name.
|
|
@@ -101,6 +103,8 @@ export declare enum SourceType {
|
|
|
101
103
|
/** The input/output schemas are derived from an existing Wix API through the API-to-Action feature */
|
|
102
104
|
WIX_API = "WIX_API"
|
|
103
105
|
}
|
|
106
|
+
/** @enumType */
|
|
107
|
+
export type SourceTypeWithLiterals = SourceType | 'UNKNOWN_SOURCE_TYPE' | 'DEV_CENTER' | 'WIX_API';
|
|
104
108
|
export interface WixApiOptions {
|
|
105
109
|
/**
|
|
106
110
|
* Service entity fqdn
|
|
@@ -157,11 +161,13 @@ export declare enum ExecutionType {
|
|
|
157
161
|
/** Action completes asynchronously. */
|
|
158
162
|
ASYNC = "ASYNC"
|
|
159
163
|
}
|
|
164
|
+
/** @enumType */
|
|
165
|
+
export type ExecutionTypeWithLiterals = ExecutionType | 'UNKNOWN_EXECUTION_TYPE' | 'SYNC' | 'ASYNC';
|
|
160
166
|
export interface InterfaceConfiguration extends InterfaceConfigurationOptionsOneOf {
|
|
161
167
|
/** Details for the generic UI. */
|
|
162
168
|
genericOptions?: GenericOptions;
|
|
163
169
|
/** Type of action configuration UI. */
|
|
164
|
-
type?:
|
|
170
|
+
type?: TypeWithLiterals;
|
|
165
171
|
}
|
|
166
172
|
/** @oneof */
|
|
167
173
|
export interface InterfaceConfigurationOptionsOneOf {
|
|
@@ -182,7 +188,7 @@ export interface Source extends SourceOptionsOneOf {
|
|
|
182
188
|
/** Wix API options */
|
|
183
189
|
wixApiOptions?: WixApiOptions;
|
|
184
190
|
/** the source type */
|
|
185
|
-
type?:
|
|
191
|
+
type?: SourceTypeWithLiterals;
|
|
186
192
|
}
|
|
187
193
|
/** @oneof */
|
|
188
194
|
export interface SourceOptionsOneOf {
|
|
@@ -198,7 +204,7 @@ export interface RetryExperimentCreation {
|
|
|
198
204
|
*/
|
|
199
205
|
appId?: string;
|
|
200
206
|
/** experiment action type */
|
|
201
|
-
experimentActionType?:
|
|
207
|
+
experimentActionType?: ExperimentActionTypeWithLiterals;
|
|
202
208
|
/**
|
|
203
209
|
* component id
|
|
204
210
|
* @format GUID
|
|
@@ -229,6 +235,8 @@ export declare enum ExperimentActionType {
|
|
|
229
235
|
UPDATE_COMPONENT = "UPDATE_COMPONENT",
|
|
230
236
|
DELETE_COMPONENT = "DELETE_COMPONENT"
|
|
231
237
|
}
|
|
238
|
+
/** @enumType */
|
|
239
|
+
export type ExperimentActionTypeWithLiterals = ExperimentActionType | 'UNKNOWN_ACTION' | 'CREATE_COMPONENT' | 'UPDATE_COMPONENT' | 'DELETE_COMPONENT';
|
|
232
240
|
export interface CreateActionRequest {
|
|
233
241
|
/** The action to create */
|
|
234
242
|
action?: Action;
|
|
@@ -359,12 +367,14 @@ export interface Sorting {
|
|
|
359
367
|
*/
|
|
360
368
|
fieldName?: string;
|
|
361
369
|
/** Sort order. */
|
|
362
|
-
order?:
|
|
370
|
+
order?: SortOrderWithLiterals;
|
|
363
371
|
}
|
|
364
372
|
export declare enum SortOrder {
|
|
365
373
|
ASC = "ASC",
|
|
366
374
|
DESC = "DESC"
|
|
367
375
|
}
|
|
376
|
+
/** @enumType */
|
|
377
|
+
export type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
|
|
368
378
|
export interface Paging {
|
|
369
379
|
/** Number of items to load. */
|
|
370
380
|
limit?: number | null;
|
|
@@ -538,25 +548,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
538
548
|
updatedEvent?: EntityUpdatedEvent;
|
|
539
549
|
deletedEvent?: EntityDeletedEvent;
|
|
540
550
|
actionEvent?: ActionEvent;
|
|
541
|
-
/**
|
|
542
|
-
* Unique event ID.
|
|
543
|
-
* Allows clients to ignore duplicate webhooks.
|
|
544
|
-
*/
|
|
551
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
545
552
|
_id?: string;
|
|
546
553
|
/**
|
|
547
|
-
*
|
|
548
|
-
*
|
|
554
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
555
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
549
556
|
*/
|
|
550
557
|
entityFqdn?: string;
|
|
551
558
|
/**
|
|
552
|
-
*
|
|
553
|
-
*
|
|
554
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
559
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
560
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
555
561
|
*/
|
|
556
562
|
slug?: string;
|
|
557
563
|
/** ID of the entity associated with the event. */
|
|
558
564
|
entityId?: string;
|
|
559
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
565
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
560
566
|
eventTime?: Date | null;
|
|
561
567
|
/**
|
|
562
568
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -566,12 +572,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
566
572
|
/** If present, indicates the action that triggered the event. */
|
|
567
573
|
originatedFrom?: string | null;
|
|
568
574
|
/**
|
|
569
|
-
* A sequence number
|
|
570
|
-
*
|
|
571
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
572
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
573
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
574
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
575
|
+
* 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.
|
|
576
|
+
* 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.
|
|
575
577
|
*/
|
|
576
578
|
entityEventSequence?: string | null;
|
|
577
579
|
}
|
|
@@ -597,7 +599,7 @@ export interface EntityUpdatedEvent {
|
|
|
597
599
|
currentEntity?: string;
|
|
598
600
|
}
|
|
599
601
|
export interface EntityDeletedEvent {
|
|
600
|
-
/** Entity that was deleted */
|
|
602
|
+
/** Entity that was deleted. */
|
|
601
603
|
deletedEntity?: string | null;
|
|
602
604
|
}
|
|
603
605
|
export interface ActionEvent {
|
|
@@ -641,7 +643,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
641
643
|
*/
|
|
642
644
|
appId?: string;
|
|
643
645
|
/** @readonly */
|
|
644
|
-
identityType?:
|
|
646
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
645
647
|
}
|
|
646
648
|
/** @oneof */
|
|
647
649
|
export interface IdentificationDataIdOneOf {
|
|
@@ -673,6 +675,8 @@ export declare enum WebhookIdentityType {
|
|
|
673
675
|
WIX_USER = "WIX_USER",
|
|
674
676
|
APP = "APP"
|
|
675
677
|
}
|
|
678
|
+
/** @enumType */
|
|
679
|
+
export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
676
680
|
type ActionNonNullablePaths = `appId` | `actionKey` | `implementedMethods.validateConfiguration` | `implementedMethods.duplicateInputMapping` | `implementedMethods.generateApplicationAutomationInputMapping` | `implementedMethods.getQuotaInfo` | `implementedMethods.onBeforeSave` | `implementedMethods.onReset` | `implementedMethods.generateActionInputMappingFromTemplate` | `implementedMethods.onRemove` | `implementedMethods.getDynamicInputSchema` | `implementedMethods.mergeInputMappings` | `implementedMethods.getDynamicOutputSchema` | `executionType` | `interfaceConfiguration.type`;
|
|
677
681
|
/**
|
|
678
682
|
* Create an action
|
|
@@ -755,7 +759,7 @@ export interface UpdateActionOptions {
|
|
|
755
759
|
/** The optional service plugin methods that are implemented for this action. Invoke is required and therefore excluded from this list. */
|
|
756
760
|
implementedMethods?: ImplementedMethods;
|
|
757
761
|
/** Whether the action is executed immediately or with a delay. */
|
|
758
|
-
executionType?:
|
|
762
|
+
executionType?: ExecutionTypeWithLiterals;
|
|
759
763
|
/** The chosen user interface for the action. The UI is displayed to the Wix user in the site dashboard when they configure the action. */
|
|
760
764
|
interfaceConfiguration?: InterfaceConfiguration;
|
|
761
765
|
/** Action icon displayed in the site dashboard to Wix users. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"automations-actioncatalog-v1-action-action-catalog.universal.js","sourceRoot":"","sources":["../../../src/automations-actioncatalog-v1-action-action-catalog.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,4IAA8H;AAC9H,kEAAsF;AACtF,kEAAsF;AACtF,sFAAkF;AA6ElF,IAAY,IAQX;AARD,WAAY,IAAI;IACd,uCAAuC;IACvC,qCAA6B,CAAA;IAC7B;;;OAGG;IACH,2BAAmB,CAAA;AACrB,CAAC,EARW,IAAI,oBAAJ,IAAI,QAQf;
|
|
1
|
+
{"version":3,"file":"automations-actioncatalog-v1-action-action-catalog.universal.js","sourceRoot":"","sources":["../../../src/automations-actioncatalog-v1-action-action-catalog.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,4IAA8H;AAC9H,kEAAsF;AACtF,kEAAsF;AACtF,sFAAkF;AA6ElF,IAAY,IAQX;AARD,WAAY,IAAI;IACd,uCAAuC;IACvC,qCAA6B,CAAA;IAC7B;;;OAGG;IACH,2BAAmB,CAAA;AACrB,CAAC,EARW,IAAI,oBAAJ,IAAI,QAQf;AAmBD,IAAY,UAMX;AAND,WAAY,UAAU;IACpB,yDAA2C,CAAA;IAC3C,uGAAuG;IACvG,uCAAyB,CAAA;IACzB,sGAAsG;IACtG,iCAAmB,CAAA;AACrB,CAAC,EANW,UAAU,0BAAV,UAAU,QAMrB;AA4DD,IAAY,aAOX;AAPD,WAAY,aAAa;IACvB,oBAAoB;IACpB,kEAAiD,CAAA;IACjD,oCAAoC;IACpC,8BAAa,CAAA;IACb,uCAAuC;IACvC,gCAAe,CAAA;AACjB,CAAC,EAPW,aAAa,6BAAb,aAAa,QAOxB;AAmFD,IAAY,oBAKX;AALD,WAAY,oBAAoB;IAC9B,yDAAiC,CAAA;IACjC,6DAAqC,CAAA;IACrC,6DAAqC,CAAA;IACrC,6DAAqC,CAAA;AACvC,CAAC,EALW,oBAAoB,oCAApB,oBAAoB,QAK/B;AA4JD,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;AAoUD,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;AA4BD;;;;;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AE,MAAM,EAAE;YAC1D,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,sBAAsB,CAAC,CACzB,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AAlDD,8EAkDC"}
|
|
@@ -45,7 +45,7 @@ export interface Action {
|
|
|
45
45
|
/** The optional service plugin methods that are implemented for this action. Invoke is required and therefore excluded from this list. */
|
|
46
46
|
implementedMethods?: ImplementedMethods;
|
|
47
47
|
/** Whether the action is executed immediately or with a delay. */
|
|
48
|
-
executionType?:
|
|
48
|
+
executionType?: ExecutionTypeWithLiterals;
|
|
49
49
|
/** The chosen user interface for the action. The UI is displayed to the Wix user in the site dashboard when they configure the action. */
|
|
50
50
|
interfaceConfiguration?: InterfaceConfiguration;
|
|
51
51
|
/** Action icon displayed in the site dashboard to Wix users. */
|
|
@@ -81,6 +81,8 @@ export declare enum Type {
|
|
|
81
81
|
*/
|
|
82
82
|
GENERIC = "GENERIC"
|
|
83
83
|
}
|
|
84
|
+
/** @enumType */
|
|
85
|
+
export type TypeWithLiterals = Type | 'UNKNOWN_TYPE' | 'GENERIC';
|
|
84
86
|
export interface WidgetComponentOptions {
|
|
85
87
|
/**
|
|
86
88
|
* Widget component name.
|
|
@@ -100,6 +102,8 @@ export declare enum SourceType {
|
|
|
100
102
|
/** The input/output schemas are derived from an existing Wix API through the API-to-Action feature */
|
|
101
103
|
WIX_API = "WIX_API"
|
|
102
104
|
}
|
|
105
|
+
/** @enumType */
|
|
106
|
+
export type SourceTypeWithLiterals = SourceType | 'UNKNOWN_SOURCE_TYPE' | 'DEV_CENTER' | 'WIX_API';
|
|
103
107
|
export interface WixApiOptions {
|
|
104
108
|
/**
|
|
105
109
|
* Service entity fqdn
|
|
@@ -156,11 +160,13 @@ export declare enum ExecutionType {
|
|
|
156
160
|
/** Action completes asynchronously. */
|
|
157
161
|
ASYNC = "ASYNC"
|
|
158
162
|
}
|
|
163
|
+
/** @enumType */
|
|
164
|
+
export type ExecutionTypeWithLiterals = ExecutionType | 'UNKNOWN_EXECUTION_TYPE' | 'SYNC' | 'ASYNC';
|
|
159
165
|
export interface InterfaceConfiguration extends InterfaceConfigurationOptionsOneOf {
|
|
160
166
|
/** Details for the generic UI. */
|
|
161
167
|
genericOptions?: GenericOptions;
|
|
162
168
|
/** Type of action configuration UI. */
|
|
163
|
-
type?:
|
|
169
|
+
type?: TypeWithLiterals;
|
|
164
170
|
}
|
|
165
171
|
/** @oneof */
|
|
166
172
|
export interface InterfaceConfigurationOptionsOneOf {
|
|
@@ -204,7 +210,7 @@ export interface Source extends SourceOptionsOneOf {
|
|
|
204
210
|
/** Wix API options */
|
|
205
211
|
wixApiOptions?: WixApiOptions;
|
|
206
212
|
/** the source type */
|
|
207
|
-
type?:
|
|
213
|
+
type?: SourceTypeWithLiterals;
|
|
208
214
|
}
|
|
209
215
|
/** @oneof */
|
|
210
216
|
export interface SourceOptionsOneOf {
|
|
@@ -220,7 +226,7 @@ export interface RetryExperimentCreation {
|
|
|
220
226
|
*/
|
|
221
227
|
appId?: string;
|
|
222
228
|
/** experiment action type */
|
|
223
|
-
experimentActionType?:
|
|
229
|
+
experimentActionType?: ExperimentActionTypeWithLiterals;
|
|
224
230
|
/**
|
|
225
231
|
* component id
|
|
226
232
|
* @format GUID
|
|
@@ -251,6 +257,8 @@ export declare enum ExperimentActionType {
|
|
|
251
257
|
UPDATE_COMPONENT = "UPDATE_COMPONENT",
|
|
252
258
|
DELETE_COMPONENT = "DELETE_COMPONENT"
|
|
253
259
|
}
|
|
260
|
+
/** @enumType */
|
|
261
|
+
export type ExperimentActionTypeWithLiterals = ExperimentActionType | 'UNKNOWN_ACTION' | 'CREATE_COMPONENT' | 'UPDATE_COMPONENT' | 'DELETE_COMPONENT';
|
|
254
262
|
export interface CreateActionRequest {
|
|
255
263
|
/** The action to create */
|
|
256
264
|
action?: Action;
|
|
@@ -381,12 +389,14 @@ export interface Sorting {
|
|
|
381
389
|
*/
|
|
382
390
|
fieldName?: string;
|
|
383
391
|
/** Sort order. */
|
|
384
|
-
order?:
|
|
392
|
+
order?: SortOrderWithLiterals;
|
|
385
393
|
}
|
|
386
394
|
export declare enum SortOrder {
|
|
387
395
|
ASC = "ASC",
|
|
388
396
|
DESC = "DESC"
|
|
389
397
|
}
|
|
398
|
+
/** @enumType */
|
|
399
|
+
export type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
|
|
390
400
|
export interface Paging {
|
|
391
401
|
/** Number of items to load. */
|
|
392
402
|
limit?: number | null;
|
|
@@ -560,25 +570,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
560
570
|
updatedEvent?: EntityUpdatedEvent;
|
|
561
571
|
deletedEvent?: EntityDeletedEvent;
|
|
562
572
|
actionEvent?: ActionEvent;
|
|
563
|
-
/**
|
|
564
|
-
* Unique event ID.
|
|
565
|
-
* Allows clients to ignore duplicate webhooks.
|
|
566
|
-
*/
|
|
573
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
567
574
|
id?: string;
|
|
568
575
|
/**
|
|
569
|
-
*
|
|
570
|
-
*
|
|
576
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
577
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
571
578
|
*/
|
|
572
579
|
entityFqdn?: string;
|
|
573
580
|
/**
|
|
574
|
-
*
|
|
575
|
-
*
|
|
576
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
581
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
582
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
577
583
|
*/
|
|
578
584
|
slug?: string;
|
|
579
585
|
/** ID of the entity associated with the event. */
|
|
580
586
|
entityId?: string;
|
|
581
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
587
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
582
588
|
eventTime?: Date | null;
|
|
583
589
|
/**
|
|
584
590
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -588,12 +594,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
588
594
|
/** If present, indicates the action that triggered the event. */
|
|
589
595
|
originatedFrom?: string | null;
|
|
590
596
|
/**
|
|
591
|
-
* A sequence number
|
|
592
|
-
*
|
|
593
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
594
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
595
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
596
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
597
|
+
* 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.
|
|
598
|
+
* 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.
|
|
597
599
|
*/
|
|
598
600
|
entityEventSequence?: string | null;
|
|
599
601
|
}
|
|
@@ -621,7 +623,7 @@ export interface EntityUpdatedEvent {
|
|
|
621
623
|
currentEntityAsJson?: string;
|
|
622
624
|
}
|
|
623
625
|
export interface EntityDeletedEvent {
|
|
624
|
-
/** Entity that was deleted */
|
|
626
|
+
/** Entity that was deleted. */
|
|
625
627
|
deletedEntityAsJson?: string | null;
|
|
626
628
|
}
|
|
627
629
|
export interface ActionEvent {
|
|
@@ -665,7 +667,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
665
667
|
*/
|
|
666
668
|
appId?: string;
|
|
667
669
|
/** @readonly */
|
|
668
|
-
identityType?:
|
|
670
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
669
671
|
}
|
|
670
672
|
/** @oneof */
|
|
671
673
|
export interface IdentificationDataIdOneOf {
|
|
@@ -697,3 +699,5 @@ export declare enum WebhookIdentityType {
|
|
|
697
699
|
WIX_USER = "WIX_USER",
|
|
698
700
|
APP = "APP"
|
|
699
701
|
}
|
|
702
|
+
/** @enumType */
|
|
703
|
+
export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"automations-actioncatalog-v1-action-action-catalog.types.js","sourceRoot":"","sources":["../../../src/automations-actioncatalog-v1-action-action-catalog.types.ts"],"names":[],"mappings":"AA2EA,MAAM,CAAN,IAAY,IAQX;AARD,WAAY,IAAI;IACd,uCAAuC;IACvC,qCAA6B,CAAA;IAC7B;;;OAGG;IACH,2BAAmB,CAAA;AACrB,CAAC,EARW,IAAI,KAAJ,IAAI,QAQf;
|
|
1
|
+
{"version":3,"file":"automations-actioncatalog-v1-action-action-catalog.types.js","sourceRoot":"","sources":["../../../src/automations-actioncatalog-v1-action-action-catalog.types.ts"],"names":[],"mappings":"AA2EA,MAAM,CAAN,IAAY,IAQX;AARD,WAAY,IAAI;IACd,uCAAuC;IACvC,qCAA6B,CAAA;IAC7B;;;OAGG;IACH,2BAAmB,CAAA;AACrB,CAAC,EARW,IAAI,KAAJ,IAAI,QAQf;AAmBD,MAAM,CAAN,IAAY,UAMX;AAND,WAAY,UAAU;IACpB,yDAA2C,CAAA;IAC3C,uGAAuG;IACvG,uCAAyB,CAAA;IACzB,sGAAsG;IACtG,iCAAmB,CAAA;AACrB,CAAC,EANW,UAAU,KAAV,UAAU,QAMrB;AA4DD,MAAM,CAAN,IAAY,aAOX;AAPD,WAAY,aAAa;IACvB,oBAAoB;IACpB,kEAAiD,CAAA;IACjD,oCAAoC;IACpC,8BAAa,CAAA;IACb,uCAAuC;IACvC,gCAAe,CAAA;AACjB,CAAC,EAPW,aAAa,KAAb,aAAa,QAOxB;AA2GD,MAAM,CAAN,IAAY,oBAKX;AALD,WAAY,oBAAoB;IAC9B,yDAAiC,CAAA;IACjC,6DAAqC,CAAA;IACrC,6DAAqC,CAAA;IACrC,6DAAqC,CAAA;AACvC,CAAC,EALW,oBAAoB,KAApB,oBAAoB,QAK/B;AA4JD,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AAsUD,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"}
|