@wix/auto_sdk_automations_action-catalog 1.0.17 → 1.0.18
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/meta.d.ts +298 -1
- package/build/cjs/meta.js +59 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/meta.d.mts +298 -1
- package/build/es/meta.mjs +52 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/meta.d.ts +298 -1
- package/build/internal/cjs/meta.js +59 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/meta.d.mts +298 -1
- package/build/internal/es/meta.mjs +52 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +3 -3
package/build/cjs/meta.d.ts
CHANGED
|
@@ -86,10 +86,51 @@ declare enum Type {
|
|
|
86
86
|
}
|
|
87
87
|
/** @enumType */
|
|
88
88
|
type TypeWithLiterals = Type | 'UNKNOWN_TYPE' | 'GENERIC';
|
|
89
|
+
interface WidgetComponentOptions {
|
|
90
|
+
/**
|
|
91
|
+
* Widget component name.
|
|
92
|
+
* @minLength 1
|
|
93
|
+
* @maxLength 80
|
|
94
|
+
*/
|
|
95
|
+
componentName?: string;
|
|
96
|
+
}
|
|
89
97
|
interface GenericOptions {
|
|
90
98
|
/** UI schema. */
|
|
91
99
|
uiSchema?: Record<string, any> | null;
|
|
92
100
|
}
|
|
101
|
+
declare enum SourceType {
|
|
102
|
+
UNKNOWN_SOURCE_TYPE = "UNKNOWN_SOURCE_TYPE",
|
|
103
|
+
/** The input/output schemas are constructed by developers in Dev Center using the self-service flow */
|
|
104
|
+
DEV_CENTER = "DEV_CENTER",
|
|
105
|
+
/** The input/output schemas are derived from an existing Wix API through the API-to-Action feature */
|
|
106
|
+
WIX_API = "WIX_API"
|
|
107
|
+
}
|
|
108
|
+
/** @enumType */
|
|
109
|
+
type SourceTypeWithLiterals = SourceType | 'UNKNOWN_SOURCE_TYPE' | 'DEV_CENTER' | 'WIX_API';
|
|
110
|
+
interface WixApiOptions {
|
|
111
|
+
/**
|
|
112
|
+
* Service entity fqdn
|
|
113
|
+
* @minLength 1
|
|
114
|
+
* @maxLength 100
|
|
115
|
+
*/
|
|
116
|
+
serviceEntityFqdn?: string;
|
|
117
|
+
/**
|
|
118
|
+
* The service providing the API
|
|
119
|
+
* @minLength 1
|
|
120
|
+
* @maxLength 200
|
|
121
|
+
*/
|
|
122
|
+
serviceName?: string;
|
|
123
|
+
/**
|
|
124
|
+
* The method name
|
|
125
|
+
* @minLength 1
|
|
126
|
+
* @maxLength 200
|
|
127
|
+
*/
|
|
128
|
+
methodName?: string;
|
|
129
|
+
}
|
|
130
|
+
interface Metadata {
|
|
131
|
+
/** Whether the action is only shown to advanced mode users (Wix staff). */
|
|
132
|
+
hidden?: boolean;
|
|
133
|
+
}
|
|
93
134
|
interface ImplementedMethods {
|
|
94
135
|
/** Whether Validate Configuration is implemented. */
|
|
95
136
|
validateConfiguration?: boolean;
|
|
@@ -160,6 +201,43 @@ interface Image {
|
|
|
160
201
|
*/
|
|
161
202
|
filename?: string | null;
|
|
162
203
|
}
|
|
204
|
+
interface FocalPoint {
|
|
205
|
+
/** X-coordinate of the focal point. */
|
|
206
|
+
x?: number;
|
|
207
|
+
/** Y-coordinate of the focal point. */
|
|
208
|
+
y?: number;
|
|
209
|
+
/** crop by height */
|
|
210
|
+
height?: number | null;
|
|
211
|
+
/** crop by width */
|
|
212
|
+
width?: number | null;
|
|
213
|
+
}
|
|
214
|
+
interface Source extends SourceOptionsOneOf {
|
|
215
|
+
/** Wix API options */
|
|
216
|
+
wixApiOptions?: WixApiOptions;
|
|
217
|
+
/** the source type */
|
|
218
|
+
type?: SourceTypeWithLiterals;
|
|
219
|
+
}
|
|
220
|
+
/** @oneof */
|
|
221
|
+
interface SourceOptionsOneOf {
|
|
222
|
+
/** Wix API options */
|
|
223
|
+
wixApiOptions?: WixApiOptions;
|
|
224
|
+
}
|
|
225
|
+
interface RetryExperimentCreation {
|
|
226
|
+
/** action spec info */
|
|
227
|
+
actionSpecInfo?: ActionSpecInfo;
|
|
228
|
+
/**
|
|
229
|
+
* app id
|
|
230
|
+
* @format GUID
|
|
231
|
+
*/
|
|
232
|
+
appId?: string;
|
|
233
|
+
/** experiment action type */
|
|
234
|
+
experimentActionType?: ExperimentActionTypeWithLiterals;
|
|
235
|
+
/**
|
|
236
|
+
* component id
|
|
237
|
+
* @format GUID
|
|
238
|
+
*/
|
|
239
|
+
componentId?: string;
|
|
240
|
+
}
|
|
163
241
|
interface ActionSpecInfo {
|
|
164
242
|
/**
|
|
165
243
|
* Spec to conduct on for the automation
|
|
@@ -178,6 +256,14 @@ interface ActionSpecInfo {
|
|
|
178
256
|
*/
|
|
179
257
|
experimentVersion?: number;
|
|
180
258
|
}
|
|
259
|
+
declare enum ExperimentActionType {
|
|
260
|
+
UNKNOWN_ACTION = "UNKNOWN_ACTION",
|
|
261
|
+
CREATE_COMPONENT = "CREATE_COMPONENT",
|
|
262
|
+
UPDATE_COMPONENT = "UPDATE_COMPONENT",
|
|
263
|
+
DELETE_COMPONENT = "DELETE_COMPONENT"
|
|
264
|
+
}
|
|
265
|
+
/** @enumType */
|
|
266
|
+
type ExperimentActionTypeWithLiterals = ExperimentActionType | 'UNKNOWN_ACTION' | 'CREATE_COMPONENT' | 'UPDATE_COMPONENT' | 'DELETE_COMPONENT';
|
|
181
267
|
interface CreateActionRequest {
|
|
182
268
|
/** The action to create */
|
|
183
269
|
action?: Action;
|
|
@@ -218,6 +304,20 @@ interface DeleteActionRequest {
|
|
|
218
304
|
}
|
|
219
305
|
interface DeleteActionResponse {
|
|
220
306
|
}
|
|
307
|
+
interface MigrateComponentToActionRequest {
|
|
308
|
+
/**
|
|
309
|
+
* The action App Id
|
|
310
|
+
* @format GUID
|
|
311
|
+
*/
|
|
312
|
+
appId?: string;
|
|
313
|
+
/**
|
|
314
|
+
* The component id
|
|
315
|
+
* @format GUID
|
|
316
|
+
*/
|
|
317
|
+
componentId?: string;
|
|
318
|
+
}
|
|
319
|
+
interface MigrateComponentToActionResponse {
|
|
320
|
+
}
|
|
221
321
|
interface GetRuntimeActionRequest {
|
|
222
322
|
/** The action App Id */
|
|
223
323
|
appId: string;
|
|
@@ -470,6 +570,203 @@ interface BulkActionMetadata {
|
|
|
470
570
|
/** Number of failures without details because detailed failure threshold was exceeded. */
|
|
471
571
|
undetailedFailures?: number;
|
|
472
572
|
}
|
|
573
|
+
interface GenerateInputMappingFromIntentRequest {
|
|
574
|
+
/**
|
|
575
|
+
* The App ID of the action's owner
|
|
576
|
+
* @format GUID
|
|
577
|
+
*/
|
|
578
|
+
appId?: string;
|
|
579
|
+
/**
|
|
580
|
+
* Action key as defined in an app's action configuration
|
|
581
|
+
* @minLength 5
|
|
582
|
+
* @maxLength 100
|
|
583
|
+
*/
|
|
584
|
+
actionKey?: string;
|
|
585
|
+
/**
|
|
586
|
+
* User's/Agent's natural language intent describing the desired action configuration
|
|
587
|
+
* @minLength 1
|
|
588
|
+
* @maxLength 10000
|
|
589
|
+
*/
|
|
590
|
+
intent?: string;
|
|
591
|
+
/**
|
|
592
|
+
* Conversation identifier for maintaining context across multiple requests.
|
|
593
|
+
* This represents the entire conversation ID with the clients agent.
|
|
594
|
+
* @format GUID
|
|
595
|
+
*/
|
|
596
|
+
conversationId?: string;
|
|
597
|
+
/** The accumulated payload schema for an action. */
|
|
598
|
+
actionSchema?: Record<string, any> | null;
|
|
599
|
+
}
|
|
600
|
+
interface GenerateInputMappingFromIntentResponse extends GenerateInputMappingFromIntentResponseStatusInfoOneOf {
|
|
601
|
+
/** The generated input mapping conforming to the action's input schema */
|
|
602
|
+
inputMappingGeneratedInfo?: InputMappingGeneratedInfo;
|
|
603
|
+
/** Human-readable feedback for the user to refine their intent and structured reason for the failure */
|
|
604
|
+
additionalInformationRequiredInfo?: AdditionalInformationRequiredInfo;
|
|
605
|
+
/** Type of result returned */
|
|
606
|
+
status?: StatusWithLiterals;
|
|
607
|
+
}
|
|
608
|
+
/** @oneof */
|
|
609
|
+
interface GenerateInputMappingFromIntentResponseStatusInfoOneOf {
|
|
610
|
+
/** The generated input mapping conforming to the action's input schema */
|
|
611
|
+
inputMappingGeneratedInfo?: InputMappingGeneratedInfo;
|
|
612
|
+
/** Human-readable feedback for the user to refine their intent and structured reason for the failure */
|
|
613
|
+
additionalInformationRequiredInfo?: AdditionalInformationRequiredInfo;
|
|
614
|
+
}
|
|
615
|
+
declare enum Status {
|
|
616
|
+
UNKNOWN_STATUS = "UNKNOWN_STATUS",
|
|
617
|
+
INPUT_MAPPING_GENERATED = "INPUT_MAPPING_GENERATED",
|
|
618
|
+
ADDITIONAL_INFORMATION_REQUIRED = "ADDITIONAL_INFORMATION_REQUIRED"
|
|
619
|
+
}
|
|
620
|
+
/** @enumType */
|
|
621
|
+
type StatusWithLiterals = Status | 'UNKNOWN_STATUS' | 'INPUT_MAPPING_GENERATED' | 'ADDITIONAL_INFORMATION_REQUIRED';
|
|
622
|
+
interface InputMappingGeneratedInfo {
|
|
623
|
+
/** The generated action input mapping conforming to the action's input schema */
|
|
624
|
+
inputMapping?: Record<string, any> | null;
|
|
625
|
+
}
|
|
626
|
+
interface AdditionalInformationRequiredInfo {
|
|
627
|
+
/**
|
|
628
|
+
* Human-readable feedback for the user to refine their intent
|
|
629
|
+
* @minLength 1
|
|
630
|
+
* @maxLength 10000
|
|
631
|
+
*/
|
|
632
|
+
feedback?: string;
|
|
633
|
+
}
|
|
634
|
+
interface DomainEvent extends DomainEventBodyOneOf {
|
|
635
|
+
createdEvent?: EntityCreatedEvent;
|
|
636
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
637
|
+
deletedEvent?: EntityDeletedEvent;
|
|
638
|
+
actionEvent?: ActionEvent;
|
|
639
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
640
|
+
id?: string;
|
|
641
|
+
/**
|
|
642
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
643
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
644
|
+
*/
|
|
645
|
+
entityFqdn?: string;
|
|
646
|
+
/**
|
|
647
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
648
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
649
|
+
*/
|
|
650
|
+
slug?: string;
|
|
651
|
+
/** ID of the entity associated with the event. */
|
|
652
|
+
entityId?: string;
|
|
653
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
654
|
+
eventTime?: Date | null;
|
|
655
|
+
/**
|
|
656
|
+
* Whether the event was triggered as a result of a privacy regulation application
|
|
657
|
+
* (for example, GDPR).
|
|
658
|
+
*/
|
|
659
|
+
triggeredByAnonymizeRequest?: boolean | null;
|
|
660
|
+
/** If present, indicates the action that triggered the event. */
|
|
661
|
+
originatedFrom?: string | null;
|
|
662
|
+
/**
|
|
663
|
+
* 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.
|
|
664
|
+
* 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.
|
|
665
|
+
*/
|
|
666
|
+
entityEventSequence?: string | null;
|
|
667
|
+
}
|
|
668
|
+
/** @oneof */
|
|
669
|
+
interface DomainEventBodyOneOf {
|
|
670
|
+
createdEvent?: EntityCreatedEvent;
|
|
671
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
672
|
+
deletedEvent?: EntityDeletedEvent;
|
|
673
|
+
actionEvent?: ActionEvent;
|
|
674
|
+
}
|
|
675
|
+
interface EntityCreatedEvent {
|
|
676
|
+
entityAsJson?: string;
|
|
677
|
+
/** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
|
|
678
|
+
restoreInfo?: RestoreInfo;
|
|
679
|
+
}
|
|
680
|
+
interface RestoreInfo {
|
|
681
|
+
deletedDate?: Date | null;
|
|
682
|
+
}
|
|
683
|
+
interface EntityUpdatedEvent {
|
|
684
|
+
/**
|
|
685
|
+
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
686
|
+
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
687
|
+
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
688
|
+
*/
|
|
689
|
+
currentEntityAsJson?: string;
|
|
690
|
+
}
|
|
691
|
+
interface EntityDeletedEvent {
|
|
692
|
+
/** Entity that was deleted. */
|
|
693
|
+
deletedEntityAsJson?: string | null;
|
|
694
|
+
}
|
|
695
|
+
interface ActionEvent {
|
|
696
|
+
bodyAsJson?: string;
|
|
697
|
+
}
|
|
698
|
+
interface MessageEnvelope {
|
|
699
|
+
/**
|
|
700
|
+
* App instance ID.
|
|
701
|
+
* @format GUID
|
|
702
|
+
*/
|
|
703
|
+
instanceId?: string | null;
|
|
704
|
+
/**
|
|
705
|
+
* Event type.
|
|
706
|
+
* @maxLength 150
|
|
707
|
+
*/
|
|
708
|
+
eventType?: string;
|
|
709
|
+
/** The identification type and identity data. */
|
|
710
|
+
identity?: IdentificationData;
|
|
711
|
+
/** Stringify payload. */
|
|
712
|
+
data?: string;
|
|
713
|
+
}
|
|
714
|
+
interface IdentificationData extends IdentificationDataIdOneOf {
|
|
715
|
+
/**
|
|
716
|
+
* ID of a site visitor that has not logged in to the site.
|
|
717
|
+
* @format GUID
|
|
718
|
+
*/
|
|
719
|
+
anonymousVisitorId?: string;
|
|
720
|
+
/**
|
|
721
|
+
* ID of a site visitor that has logged in to the site.
|
|
722
|
+
* @format GUID
|
|
723
|
+
*/
|
|
724
|
+
memberId?: string;
|
|
725
|
+
/**
|
|
726
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
727
|
+
* @format GUID
|
|
728
|
+
*/
|
|
729
|
+
wixUserId?: string;
|
|
730
|
+
/**
|
|
731
|
+
* ID of an app.
|
|
732
|
+
* @format GUID
|
|
733
|
+
*/
|
|
734
|
+
appId?: string;
|
|
735
|
+
/** @readonly */
|
|
736
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
737
|
+
}
|
|
738
|
+
/** @oneof */
|
|
739
|
+
interface IdentificationDataIdOneOf {
|
|
740
|
+
/**
|
|
741
|
+
* ID of a site visitor that has not logged in to the site.
|
|
742
|
+
* @format GUID
|
|
743
|
+
*/
|
|
744
|
+
anonymousVisitorId?: string;
|
|
745
|
+
/**
|
|
746
|
+
* ID of a site visitor that has logged in to the site.
|
|
747
|
+
* @format GUID
|
|
748
|
+
*/
|
|
749
|
+
memberId?: string;
|
|
750
|
+
/**
|
|
751
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
752
|
+
* @format GUID
|
|
753
|
+
*/
|
|
754
|
+
wixUserId?: string;
|
|
755
|
+
/**
|
|
756
|
+
* ID of an app.
|
|
757
|
+
* @format GUID
|
|
758
|
+
*/
|
|
759
|
+
appId?: string;
|
|
760
|
+
}
|
|
761
|
+
declare enum WebhookIdentityType {
|
|
762
|
+
UNKNOWN = "UNKNOWN",
|
|
763
|
+
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
764
|
+
MEMBER = "MEMBER",
|
|
765
|
+
WIX_USER = "WIX_USER",
|
|
766
|
+
APP = "APP"
|
|
767
|
+
}
|
|
768
|
+
/** @enumType */
|
|
769
|
+
type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
473
770
|
|
|
474
771
|
type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
475
772
|
getUrl: (context: any) => string;
|
|
@@ -496,4 +793,4 @@ declare function copyInputMapping(): __PublicMethodMetaInfo<'POST', {}, CopyInpu
|
|
|
496
793
|
declare function getActionDynamicOutputSchema(): __PublicMethodMetaInfo<'POST', {}, GetActionDynamicOutputSchemaRequest$1, GetActionDynamicOutputSchemaRequest, GetActionDynamicOutputSchemaResponse$1, GetActionDynamicOutputSchemaResponse>;
|
|
497
794
|
declare function bulkGetActionDynamicOutputSchemas(): __PublicMethodMetaInfo<'POST', {}, BulkGetActionDynamicOutputSchemasRequest$1, BulkGetActionDynamicOutputSchemasRequest, BulkGetActionDynamicOutputSchemasResponse$1, BulkGetActionDynamicOutputSchemasResponse>;
|
|
498
795
|
|
|
499
|
-
export { type __PublicMethodMetaInfo, bulkGetActionDynamicOutputSchemas, copyInputMapping, createAction, deleteAction, getActionDynamicInputSchema, getActionDynamicOutputSchema, getRuntimeAction, resolveActions, updateAction };
|
|
796
|
+
export { type ActionEvent as ActionEventOriginal, type ActionInputMappings as ActionInputMappingsOriginal, type Action as ActionOriginal, type ActionSpecInfo as ActionSpecInfoOriginal, type AdditionalInformationRequiredInfo as AdditionalInformationRequiredInfoOriginal, type ApplicationError as ApplicationErrorOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, type BulkActionOutputSchemaResult as BulkActionOutputSchemaResultOriginal, type BulkGetActionDynamicOutputSchemasRequest as BulkGetActionDynamicOutputSchemasRequestOriginal, type BulkGetActionDynamicOutputSchemasResponse as BulkGetActionDynamicOutputSchemasResponseOriginal, type CopyInputMappingRequest as CopyInputMappingRequestOriginal, type CopyInputMappingResponse as CopyInputMappingResponseOriginal, type CreateActionRequest as CreateActionRequestOriginal, type CreateActionResponse as CreateActionResponseOriginal, type CursorPaging as CursorPagingOriginal, type Cursors as CursorsOriginal, type DeleteActionRequest as DeleteActionRequestOriginal, type DeleteActionResponse as DeleteActionResponseOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, ExecutionType as ExecutionTypeOriginal, type ExecutionTypeWithLiterals as ExecutionTypeWithLiteralsOriginal, ExperimentActionType as ExperimentActionTypeOriginal, type ExperimentActionTypeWithLiterals as ExperimentActionTypeWithLiteralsOriginal, type FocalPoint as FocalPointOriginal, type GenerateInputMappingFromIntentRequest as GenerateInputMappingFromIntentRequestOriginal, type GenerateInputMappingFromIntentResponse as GenerateInputMappingFromIntentResponseOriginal, type GenerateInputMappingFromIntentResponseStatusInfoOneOf as GenerateInputMappingFromIntentResponseStatusInfoOneOfOriginal, type GenericOptions as GenericOptionsOriginal, type GetActionDynamicInputSchemaRequest as GetActionDynamicInputSchemaRequestOriginal, type GetActionDynamicInputSchemaResponse as GetActionDynamicInputSchemaResponseOriginal, type GetActionDynamicOutputSchemaRequest as GetActionDynamicOutputSchemaRequestOriginal, type GetActionDynamicOutputSchemaResponse as GetActionDynamicOutputSchemaResponseOriginal, type GetRuntimeActionRequest as GetRuntimeActionRequestOriginal, type GetRuntimeActionResponse as GetRuntimeActionResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type Image as ImageOriginal, type ImplementedMethods as ImplementedMethodsOriginal, type InputMappingGeneratedInfo as InputMappingGeneratedInfoOriginal, type InterfaceConfigurationOptionsOneOf as InterfaceConfigurationOptionsOneOfOriginal, type InterfaceConfiguration as InterfaceConfigurationOriginal, type ItemMetadata as ItemMetadataOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type Metadata as MetadataOriginal, type MigrateComponentToActionRequest as MigrateComponentToActionRequestOriginal, type MigrateComponentToActionResponse as MigrateComponentToActionResponseOriginal, type PagingMetadataV2 as PagingMetadataV2Original, type Paging as PagingOriginal, type QueryV2 as QueryV2Original, type QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOfOriginal, type ResolveActionsRequest as ResolveActionsRequestOriginal, type ResolveActionsResponse as ResolveActionsResponseOriginal, type RestoreInfo as RestoreInfoOriginal, type RetryExperimentCreation as RetryExperimentCreationOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, type SourceOptionsOneOf as SourceOptionsOneOfOriginal, type Source as SourceOriginal, SourceType as SourceTypeOriginal, type SourceTypeWithLiterals as SourceTypeWithLiteralsOriginal, Status as StatusOriginal, type StatusWithLiterals as StatusWithLiteralsOriginal, Type as TypeOriginal, type TypeWithLiterals as TypeWithLiteralsOriginal, type UpdateActionRequest as UpdateActionRequestOriginal, type UpdateActionResponse as UpdateActionResponseOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type WidgetComponentOptions as WidgetComponentOptionsOriginal, type WixApiOptions as WixApiOptionsOriginal, type __PublicMethodMetaInfo, bulkGetActionDynamicOutputSchemas, copyInputMapping, createAction, deleteAction, getActionDynamicInputSchema, getActionDynamicOutputSchema, getRuntimeAction, resolveActions, updateAction };
|
package/build/cjs/meta.js
CHANGED
|
@@ -20,6 +20,13 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
20
20
|
// meta.ts
|
|
21
21
|
var meta_exports = {};
|
|
22
22
|
__export(meta_exports, {
|
|
23
|
+
ExecutionTypeOriginal: () => ExecutionType,
|
|
24
|
+
ExperimentActionTypeOriginal: () => ExperimentActionType,
|
|
25
|
+
SortOrderOriginal: () => SortOrder,
|
|
26
|
+
SourceTypeOriginal: () => SourceType,
|
|
27
|
+
StatusOriginal: () => Status,
|
|
28
|
+
TypeOriginal: () => Type,
|
|
29
|
+
WebhookIdentityTypeOriginal: () => WebhookIdentityType,
|
|
23
30
|
bulkGetActionDynamicOutputSchemas: () => bulkGetActionDynamicOutputSchemas2,
|
|
24
31
|
copyInputMapping: () => copyInputMapping2,
|
|
25
32
|
createAction: () => createAction2,
|
|
@@ -400,6 +407,51 @@ function bulkGetActionDynamicOutputSchemas(payload) {
|
|
|
400
407
|
return __bulkGetActionDynamicOutputSchemas;
|
|
401
408
|
}
|
|
402
409
|
|
|
410
|
+
// src/automations-actioncatalog-v1-action-action-catalog.types.ts
|
|
411
|
+
var Type = /* @__PURE__ */ ((Type2) => {
|
|
412
|
+
Type2["UNKNOWN_TYPE"] = "UNKNOWN_TYPE";
|
|
413
|
+
Type2["GENERIC"] = "GENERIC";
|
|
414
|
+
return Type2;
|
|
415
|
+
})(Type || {});
|
|
416
|
+
var SourceType = /* @__PURE__ */ ((SourceType2) => {
|
|
417
|
+
SourceType2["UNKNOWN_SOURCE_TYPE"] = "UNKNOWN_SOURCE_TYPE";
|
|
418
|
+
SourceType2["DEV_CENTER"] = "DEV_CENTER";
|
|
419
|
+
SourceType2["WIX_API"] = "WIX_API";
|
|
420
|
+
return SourceType2;
|
|
421
|
+
})(SourceType || {});
|
|
422
|
+
var ExecutionType = /* @__PURE__ */ ((ExecutionType2) => {
|
|
423
|
+
ExecutionType2["UNKNOWN_EXECUTION_TYPE"] = "UNKNOWN_EXECUTION_TYPE";
|
|
424
|
+
ExecutionType2["SYNC"] = "SYNC";
|
|
425
|
+
ExecutionType2["ASYNC"] = "ASYNC";
|
|
426
|
+
return ExecutionType2;
|
|
427
|
+
})(ExecutionType || {});
|
|
428
|
+
var ExperimentActionType = /* @__PURE__ */ ((ExperimentActionType2) => {
|
|
429
|
+
ExperimentActionType2["UNKNOWN_ACTION"] = "UNKNOWN_ACTION";
|
|
430
|
+
ExperimentActionType2["CREATE_COMPONENT"] = "CREATE_COMPONENT";
|
|
431
|
+
ExperimentActionType2["UPDATE_COMPONENT"] = "UPDATE_COMPONENT";
|
|
432
|
+
ExperimentActionType2["DELETE_COMPONENT"] = "DELETE_COMPONENT";
|
|
433
|
+
return ExperimentActionType2;
|
|
434
|
+
})(ExperimentActionType || {});
|
|
435
|
+
var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
436
|
+
SortOrder2["ASC"] = "ASC";
|
|
437
|
+
SortOrder2["DESC"] = "DESC";
|
|
438
|
+
return SortOrder2;
|
|
439
|
+
})(SortOrder || {});
|
|
440
|
+
var Status = /* @__PURE__ */ ((Status2) => {
|
|
441
|
+
Status2["UNKNOWN_STATUS"] = "UNKNOWN_STATUS";
|
|
442
|
+
Status2["INPUT_MAPPING_GENERATED"] = "INPUT_MAPPING_GENERATED";
|
|
443
|
+
Status2["ADDITIONAL_INFORMATION_REQUIRED"] = "ADDITIONAL_INFORMATION_REQUIRED";
|
|
444
|
+
return Status2;
|
|
445
|
+
})(Status || {});
|
|
446
|
+
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
447
|
+
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
448
|
+
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
449
|
+
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
450
|
+
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
451
|
+
WebhookIdentityType2["APP"] = "APP";
|
|
452
|
+
return WebhookIdentityType2;
|
|
453
|
+
})(WebhookIdentityType || {});
|
|
454
|
+
|
|
403
455
|
// src/automations-actioncatalog-v1-action-action-catalog.meta.ts
|
|
404
456
|
function createAction2() {
|
|
405
457
|
const payload = {};
|
|
@@ -571,6 +623,13 @@ function bulkGetActionDynamicOutputSchemas2() {
|
|
|
571
623
|
}
|
|
572
624
|
// Annotate the CommonJS export names for ESM import in node:
|
|
573
625
|
0 && (module.exports = {
|
|
626
|
+
ExecutionTypeOriginal,
|
|
627
|
+
ExperimentActionTypeOriginal,
|
|
628
|
+
SortOrderOriginal,
|
|
629
|
+
SourceTypeOriginal,
|
|
630
|
+
StatusOriginal,
|
|
631
|
+
TypeOriginal,
|
|
632
|
+
WebhookIdentityTypeOriginal,
|
|
574
633
|
bulkGetActionDynamicOutputSchemas,
|
|
575
634
|
copyInputMapping,
|
|
576
635
|
createAction,
|