@wix/auto_sdk_automations_action-catalog 1.0.3 → 1.0.5
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/{internal/cjs/src/automations-actioncatalog-v1-action-action-catalog.universal.d.ts → cjs/automations-actioncatalog-v1-action-action-catalog.universal-CrVo0pBg.d.ts} +77 -218
- package/build/cjs/index.d.ts +94 -1
- package/build/cjs/index.js +814 -15
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/meta.d.ts +496 -1
- package/build/cjs/meta.js +534 -15
- package/build/cjs/meta.js.map +1 -1
- package/build/{cjs/src/automations-actioncatalog-v1-action-action-catalog.universal.d.ts → es/automations-actioncatalog-v1-action-action-catalog.universal-CrVo0pBg.d.mts} +77 -218
- package/build/es/index.d.mts +94 -0
- package/build/es/index.mjs +779 -0
- package/build/es/index.mjs.map +1 -0
- package/build/es/{src/automations-actioncatalog-v1-action-action-catalog.types.d.ts → meta.d.mts} +72 -279
- package/build/es/meta.mjs +502 -0
- package/build/es/meta.mjs.map +1 -0
- package/build/{es/src/automations-actioncatalog-v1-action-action-catalog.universal.d.ts → internal/cjs/automations-actioncatalog-v1-action-action-catalog.universal-CrVo0pBg.d.ts} +77 -218
- package/build/internal/cjs/index.d.ts +94 -1
- package/build/internal/cjs/index.js +814 -15
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +496 -1
- package/build/internal/cjs/meta.js +534 -15
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/{src/automations-actioncatalog-v1-action-action-catalog.universal.d.ts → automations-actioncatalog-v1-action-action-catalog.universal-CrVo0pBg.d.mts} +77 -218
- package/build/internal/es/index.d.mts +94 -0
- package/build/internal/es/index.mjs +779 -0
- package/build/internal/es/index.mjs.map +1 -0
- package/build/{cjs/src/automations-actioncatalog-v1-action-action-catalog.types.d.ts → internal/es/meta.d.mts} +72 -279
- package/build/internal/es/meta.mjs +502 -0
- package/build/internal/es/meta.mjs.map +1 -0
- package/package.json +9 -8
- package/build/cjs/index.typings.d.ts +0 -1
- package/build/cjs/index.typings.js +0 -18
- package/build/cjs/index.typings.js.map +0 -1
- package/build/cjs/src/automations-actioncatalog-v1-action-action-catalog.context.d.ts +0 -13
- package/build/cjs/src/automations-actioncatalog-v1-action-action-catalog.context.js +0 -22
- package/build/cjs/src/automations-actioncatalog-v1-action-action-catalog.context.js.map +0 -1
- package/build/cjs/src/automations-actioncatalog-v1-action-action-catalog.http.d.ts +0 -27
- package/build/cjs/src/automations-actioncatalog-v1-action-action-catalog.http.js +0 -349
- package/build/cjs/src/automations-actioncatalog-v1-action-action-catalog.http.js.map +0 -1
- package/build/cjs/src/automations-actioncatalog-v1-action-action-catalog.meta.d.ts +0 -26
- package/build/cjs/src/automations-actioncatalog-v1-action-action-catalog.meta.js +0 -199
- package/build/cjs/src/automations-actioncatalog-v1-action-action-catalog.meta.js.map +0 -1
- package/build/cjs/src/automations-actioncatalog-v1-action-action-catalog.public.d.ts +0 -84
- package/build/cjs/src/automations-actioncatalog-v1-action-action-catalog.public.js +0 -67
- package/build/cjs/src/automations-actioncatalog-v1-action-action-catalog.public.js.map +0 -1
- package/build/cjs/src/automations-actioncatalog-v1-action-action-catalog.types.js +0 -51
- package/build/cjs/src/automations-actioncatalog-v1-action-action-catalog.types.js.map +0 -1
- package/build/cjs/src/automations-actioncatalog-v1-action-action-catalog.universal.js +0 -490
- package/build/cjs/src/automations-actioncatalog-v1-action-action-catalog.universal.js.map +0 -1
- package/build/es/index.d.ts +0 -1
- package/build/es/index.js +0 -2
- package/build/es/index.js.map +0 -1
- package/build/es/index.typings.d.ts +0 -1
- package/build/es/index.typings.js +0 -2
- package/build/es/index.typings.js.map +0 -1
- package/build/es/meta.d.ts +0 -1
- package/build/es/meta.js +0 -2
- package/build/es/meta.js.map +0 -1
- package/build/es/src/automations-actioncatalog-v1-action-action-catalog.context.d.ts +0 -13
- package/build/es/src/automations-actioncatalog-v1-action-action-catalog.context.js +0 -13
- package/build/es/src/automations-actioncatalog-v1-action-action-catalog.context.js.map +0 -1
- package/build/es/src/automations-actioncatalog-v1-action-action-catalog.http.d.ts +0 -27
- package/build/es/src/automations-actioncatalog-v1-action-action-catalog.http.js +0 -337
- package/build/es/src/automations-actioncatalog-v1-action-action-catalog.http.js.map +0 -1
- package/build/es/src/automations-actioncatalog-v1-action-action-catalog.meta.d.ts +0 -26
- package/build/es/src/automations-actioncatalog-v1-action-action-catalog.meta.js +0 -164
- package/build/es/src/automations-actioncatalog-v1-action-action-catalog.meta.js.map +0 -1
- package/build/es/src/automations-actioncatalog-v1-action-action-catalog.public.d.ts +0 -84
- package/build/es/src/automations-actioncatalog-v1-action-action-catalog.public.js +0 -49
- package/build/es/src/automations-actioncatalog-v1-action-action-catalog.public.js.map +0 -1
- package/build/es/src/automations-actioncatalog-v1-action-action-catalog.types.js +0 -48
- package/build/es/src/automations-actioncatalog-v1-action-action-catalog.types.js.map +0 -1
- package/build/es/src/automations-actioncatalog-v1-action-action-catalog.universal.js +0 -455
- package/build/es/src/automations-actioncatalog-v1-action-action-catalog.universal.js.map +0 -1
- package/build/internal/cjs/index.typings.d.ts +0 -1
- package/build/internal/cjs/index.typings.js +0 -18
- package/build/internal/cjs/index.typings.js.map +0 -1
- package/build/internal/cjs/src/automations-actioncatalog-v1-action-action-catalog.context.d.ts +0 -13
- package/build/internal/cjs/src/automations-actioncatalog-v1-action-action-catalog.context.js +0 -22
- package/build/internal/cjs/src/automations-actioncatalog-v1-action-action-catalog.context.js.map +0 -1
- package/build/internal/cjs/src/automations-actioncatalog-v1-action-action-catalog.http.d.ts +0 -27
- package/build/internal/cjs/src/automations-actioncatalog-v1-action-action-catalog.http.js +0 -349
- package/build/internal/cjs/src/automations-actioncatalog-v1-action-action-catalog.http.js.map +0 -1
- package/build/internal/cjs/src/automations-actioncatalog-v1-action-action-catalog.meta.d.ts +0 -26
- package/build/internal/cjs/src/automations-actioncatalog-v1-action-action-catalog.meta.js +0 -199
- package/build/internal/cjs/src/automations-actioncatalog-v1-action-action-catalog.meta.js.map +0 -1
- package/build/internal/cjs/src/automations-actioncatalog-v1-action-action-catalog.public.d.ts +0 -84
- package/build/internal/cjs/src/automations-actioncatalog-v1-action-action-catalog.public.js +0 -67
- package/build/internal/cjs/src/automations-actioncatalog-v1-action-action-catalog.public.js.map +0 -1
- package/build/internal/cjs/src/automations-actioncatalog-v1-action-action-catalog.types.d.ts +0 -703
- package/build/internal/cjs/src/automations-actioncatalog-v1-action-action-catalog.types.js +0 -51
- package/build/internal/cjs/src/automations-actioncatalog-v1-action-action-catalog.types.js.map +0 -1
- package/build/internal/cjs/src/automations-actioncatalog-v1-action-action-catalog.universal.js +0 -490
- package/build/internal/cjs/src/automations-actioncatalog-v1-action-action-catalog.universal.js.map +0 -1
- package/build/internal/es/index.d.ts +0 -1
- package/build/internal/es/index.js +0 -2
- package/build/internal/es/index.js.map +0 -1
- package/build/internal/es/index.typings.d.ts +0 -1
- package/build/internal/es/index.typings.js +0 -2
- package/build/internal/es/index.typings.js.map +0 -1
- package/build/internal/es/meta.d.ts +0 -1
- package/build/internal/es/meta.js +0 -2
- package/build/internal/es/meta.js.map +0 -1
- package/build/internal/es/src/automations-actioncatalog-v1-action-action-catalog.context.d.ts +0 -13
- package/build/internal/es/src/automations-actioncatalog-v1-action-action-catalog.context.js +0 -13
- package/build/internal/es/src/automations-actioncatalog-v1-action-action-catalog.context.js.map +0 -1
- package/build/internal/es/src/automations-actioncatalog-v1-action-action-catalog.http.d.ts +0 -27
- package/build/internal/es/src/automations-actioncatalog-v1-action-action-catalog.http.js +0 -337
- package/build/internal/es/src/automations-actioncatalog-v1-action-action-catalog.http.js.map +0 -1
- package/build/internal/es/src/automations-actioncatalog-v1-action-action-catalog.meta.d.ts +0 -26
- package/build/internal/es/src/automations-actioncatalog-v1-action-action-catalog.meta.js +0 -164
- package/build/internal/es/src/automations-actioncatalog-v1-action-action-catalog.meta.js.map +0 -1
- package/build/internal/es/src/automations-actioncatalog-v1-action-action-catalog.public.d.ts +0 -84
- package/build/internal/es/src/automations-actioncatalog-v1-action-action-catalog.public.js +0 -49
- package/build/internal/es/src/automations-actioncatalog-v1-action-action-catalog.public.js.map +0 -1
- package/build/internal/es/src/automations-actioncatalog-v1-action-action-catalog.types.d.ts +0 -703
- package/build/internal/es/src/automations-actioncatalog-v1-action-action-catalog.types.js +0 -48
- package/build/internal/es/src/automations-actioncatalog-v1-action-action-catalog.types.js.map +0 -1
- package/build/internal/es/src/automations-actioncatalog-v1-action-action-catalog.universal.js +0 -455
- package/build/internal/es/src/automations-actioncatalog-v1-action-action-catalog.universal.js.map +0 -1
|
@@ -1 +1,94 @@
|
|
|
1
|
-
|
|
1
|
+
import { HttpClient, MaybeContext, BuildRESTFunction } from '@wix/sdk-types';
|
|
2
|
+
import { C as CreateActionOptions, A as Action, U as UpdateActionOptions, D as DeleteActionOptions, G as GetRuntimeActionIdentifiers, a as GetActionDynamicInputSchemaOptions, b as GetActionDynamicInputSchemaResponse, R as ResolveActionsOptions, c as ResolveActionsResponse, d as CopyInputMappingOptions, e as CopyInputMappingResponse, f as GetActionDynamicOutputSchemaOptions, g as GetActionDynamicOutputSchemaResponse, h as ActionInputMappings, B as BulkGetActionDynamicOutputSchemasResponse } from './automations-actioncatalog-v1-action-action-catalog.universal-CrVo0pBg.js';
|
|
3
|
+
export { ab as ActionEvent, s as ActionSpecInfo, a2 as ApplicationError, a4 as BulkActionMetadata, a3 as BulkActionOutputSchemaResult, a0 as BulkGetActionDynamicOutputSchemasRequest, _ as CopyInputMappingRequest, t as CreateActionRequest, u as CreateActionResponse, X as CursorPaging, Z as Cursors, x as DeleteActionRequest, y as DeleteActionResponse, a5 as DomainEvent, a6 as DomainEventBodyOneOf, a7 as EntityCreatedEvent, aa as EntityDeletedEvent, a9 as EntityUpdatedEvent, E as ExecutionType, i as ExperimentActionType, F as FocalPoint, l as GenericOptions, L as GetActionDynamicInputSchemaRequest, $ as GetActionDynamicOutputSchemaRequest, J as GetRuntimeActionRequest, K as GetRuntimeActionResponse, ad as IdentificationData, ae as IdentificationDataIdOneOf, I as ImplementedMethods, n as InterfaceConfiguration, o as InterfaceConfigurationOptionsOneOf, a1 as ItemMetadata, ac as MessageEnvelope, M as Metadata, z as MigrateComponentToActionRequest, H as MigrateComponentToActionResponse, V as Paging, Y as PagingMetadataV2, Q as QueryV2, O as QueryV2PagingMethodOneOf, N as ResolveActionsRequest, a8 as RestoreInfo, r as RetryExperimentCreation, j as SortOrder, P as Sorting, p as Source, q as SourceOptionsOneOf, S as SourceType, T as Type, v as UpdateActionRequest, w as UpdateActionResponse, W as WebhookIdentityType, k as WidgetComponentOptions, m as WixApiOptions } from './automations-actioncatalog-v1-action-action-catalog.universal-CrVo0pBg.js';
|
|
4
|
+
|
|
5
|
+
declare function createAction$1(httpClient: HttpClient): CreateActionSignature;
|
|
6
|
+
interface CreateActionSignature {
|
|
7
|
+
/**
|
|
8
|
+
* Create an action
|
|
9
|
+
* @returns The created action
|
|
10
|
+
*/
|
|
11
|
+
(options?: CreateActionOptions | undefined): Promise<Action>;
|
|
12
|
+
}
|
|
13
|
+
declare function updateAction$1(httpClient: HttpClient): UpdateActionSignature;
|
|
14
|
+
interface UpdateActionSignature {
|
|
15
|
+
/**
|
|
16
|
+
* Create a new version for a trigger, update the latest version of the component to point to this trigger
|
|
17
|
+
* @param - Action ID.
|
|
18
|
+
* @returns Action Configuration
|
|
19
|
+
*/
|
|
20
|
+
(_id: string, options?: UpdateActionOptions | undefined): Promise<Action>;
|
|
21
|
+
}
|
|
22
|
+
declare function deleteAction$1(httpClient: HttpClient): DeleteActionSignature;
|
|
23
|
+
interface DeleteActionSignature {
|
|
24
|
+
/**
|
|
25
|
+
* Delete a trigger by app id and key
|
|
26
|
+
* @param - The action App Id
|
|
27
|
+
*/
|
|
28
|
+
(actionAppId: string, options: DeleteActionOptions): Promise<void>;
|
|
29
|
+
}
|
|
30
|
+
declare function getRuntimeAction$1(httpClient: HttpClient): GetRuntimeActionSignature;
|
|
31
|
+
interface GetRuntimeActionSignature {
|
|
32
|
+
/**
|
|
33
|
+
* Returns action configuration by action key
|
|
34
|
+
* @returns Action Configuration
|
|
35
|
+
*/
|
|
36
|
+
(identifiers: GetRuntimeActionIdentifiers): Promise<Action>;
|
|
37
|
+
}
|
|
38
|
+
declare function getActionDynamicInputSchema$1(httpClient: HttpClient): GetActionDynamicInputSchemaSignature;
|
|
39
|
+
interface GetActionDynamicInputSchemaSignature {
|
|
40
|
+
/**
|
|
41
|
+
* Returns action dynamic schema and ui schema for the given action key and input mapping (action config)
|
|
42
|
+
* @param - The App ID of the action's owner.
|
|
43
|
+
*/
|
|
44
|
+
(appId: string, options: GetActionDynamicInputSchemaOptions): Promise<GetActionDynamicInputSchemaResponse>;
|
|
45
|
+
}
|
|
46
|
+
declare function resolveActions$1(httpClient: HttpClient): ResolveActionsSignature;
|
|
47
|
+
interface ResolveActionsSignature {
|
|
48
|
+
/**
|
|
49
|
+
* Returns action configurations that are installed on the site and exposed to Wix users.
|
|
50
|
+
*/
|
|
51
|
+
(options?: ResolveActionsOptions | undefined): Promise<ResolveActionsResponse>;
|
|
52
|
+
}
|
|
53
|
+
declare function copyInputMapping$1(httpClient: HttpClient): CopyInputMappingSignature;
|
|
54
|
+
interface CopyInputMappingSignature {
|
|
55
|
+
/**
|
|
56
|
+
* Get action input mapping copy
|
|
57
|
+
* The main use case is to call this method from the automations editor, when the user wants to copy an action. So
|
|
58
|
+
* this method is getting an input mapping of an existing action and returns a changed input mapping. It's changing
|
|
59
|
+
* the input mapping by passing it through the SPI endpoint of `DuplicateInputMapping` in the case that this SPI
|
|
60
|
+
* endpoint is implemented.
|
|
61
|
+
* A possible usage is by `triggered-email` action - Wix Emails need to change the `messageId` inside the input mapping
|
|
62
|
+
* so such that the `messageId` stays unique across multiple actions.
|
|
63
|
+
* @param - Action app id
|
|
64
|
+
*/
|
|
65
|
+
(appId: string, options: CopyInputMappingOptions): Promise<CopyInputMappingResponse>;
|
|
66
|
+
}
|
|
67
|
+
declare function getActionDynamicOutputSchema$1(httpClient: HttpClient): GetActionDynamicOutputSchemaSignature;
|
|
68
|
+
interface GetActionDynamicOutputSchemaSignature {
|
|
69
|
+
/**
|
|
70
|
+
* Returns action dynamic output schema for the given action key and the [users] action configuration
|
|
71
|
+
* @param - The App ID of the action's owner.
|
|
72
|
+
*/
|
|
73
|
+
(appId: string, options: GetActionDynamicOutputSchemaOptions): Promise<GetActionDynamicOutputSchemaResponse>;
|
|
74
|
+
}
|
|
75
|
+
declare function bulkGetActionDynamicOutputSchemas$1(httpClient: HttpClient): BulkGetActionDynamicOutputSchemasSignature;
|
|
76
|
+
interface BulkGetActionDynamicOutputSchemasSignature {
|
|
77
|
+
/**
|
|
78
|
+
* Returns action dynamic output schema for the given actions
|
|
79
|
+
* @param - list of actions details which will be used to generate the output schemas
|
|
80
|
+
*/
|
|
81
|
+
(actionsInputMappings: ActionInputMappings[]): Promise<BulkGetActionDynamicOutputSchemasResponse>;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
declare const createAction: MaybeContext<BuildRESTFunction<typeof createAction$1> & typeof createAction$1>;
|
|
85
|
+
declare const updateAction: MaybeContext<BuildRESTFunction<typeof updateAction$1> & typeof updateAction$1>;
|
|
86
|
+
declare const deleteAction: MaybeContext<BuildRESTFunction<typeof deleteAction$1> & typeof deleteAction$1>;
|
|
87
|
+
declare const getRuntimeAction: MaybeContext<BuildRESTFunction<typeof getRuntimeAction$1> & typeof getRuntimeAction$1>;
|
|
88
|
+
declare const getActionDynamicInputSchema: MaybeContext<BuildRESTFunction<typeof getActionDynamicInputSchema$1> & typeof getActionDynamicInputSchema$1>;
|
|
89
|
+
declare const resolveActions: MaybeContext<BuildRESTFunction<typeof resolveActions$1> & typeof resolveActions$1>;
|
|
90
|
+
declare const copyInputMapping: MaybeContext<BuildRESTFunction<typeof copyInputMapping$1> & typeof copyInputMapping$1>;
|
|
91
|
+
declare const getActionDynamicOutputSchema: MaybeContext<BuildRESTFunction<typeof getActionDynamicOutputSchema$1> & typeof getActionDynamicOutputSchema$1>;
|
|
92
|
+
declare const bulkGetActionDynamicOutputSchemas: MaybeContext<BuildRESTFunction<typeof bulkGetActionDynamicOutputSchemas$1> & typeof bulkGetActionDynamicOutputSchemas$1>;
|
|
93
|
+
|
|
94
|
+
export { Action, ActionInputMappings, BulkGetActionDynamicOutputSchemasResponse, CopyInputMappingOptions, CopyInputMappingResponse, CreateActionOptions, DeleteActionOptions, GetActionDynamicInputSchemaOptions, GetActionDynamicInputSchemaResponse, GetActionDynamicOutputSchemaOptions, GetActionDynamicOutputSchemaResponse, GetRuntimeActionIdentifiers, ResolveActionsOptions, ResolveActionsResponse, UpdateActionOptions, bulkGetActionDynamicOutputSchemas, copyInputMapping, createAction, deleteAction, getActionDynamicInputSchema, getActionDynamicOutputSchema, getRuntimeAction, resolveActions, updateAction };
|