@wix/auto_sdk_automations_action-catalog 1.0.49 → 1.0.50

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.
Files changed (49) hide show
  1. package/build/cjs/index.d.ts +73 -31
  2. package/build/cjs/index.js +383 -11
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +412 -206
  5. package/build/cjs/index.typings.js +334 -11
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +122 -137
  8. package/build/cjs/meta.js +217 -0
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/cjs/schemas.d.ts +247 -126
  11. package/build/cjs/schemas.js +581 -278
  12. package/build/cjs/schemas.js.map +1 -1
  13. package/build/es/index.d.mts +73 -31
  14. package/build/es/index.mjs +377 -10
  15. package/build/es/index.mjs.map +1 -1
  16. package/build/es/index.typings.d.mts +412 -206
  17. package/build/es/index.typings.mjs +327 -10
  18. package/build/es/index.typings.mjs.map +1 -1
  19. package/build/es/meta.d.mts +122 -137
  20. package/build/es/meta.mjs +213 -0
  21. package/build/es/meta.mjs.map +1 -1
  22. package/build/es/schemas.d.mts +247 -126
  23. package/build/es/schemas.mjs +573 -278
  24. package/build/es/schemas.mjs.map +1 -1
  25. package/build/internal/cjs/index.d.ts +73 -31
  26. package/build/internal/cjs/index.js +383 -11
  27. package/build/internal/cjs/index.js.map +1 -1
  28. package/build/internal/cjs/index.typings.d.ts +412 -206
  29. package/build/internal/cjs/index.typings.js +334 -11
  30. package/build/internal/cjs/index.typings.js.map +1 -1
  31. package/build/internal/cjs/meta.d.ts +122 -137
  32. package/build/internal/cjs/meta.js +217 -0
  33. package/build/internal/cjs/meta.js.map +1 -1
  34. package/build/internal/cjs/schemas.d.ts +247 -126
  35. package/build/internal/cjs/schemas.js +581 -278
  36. package/build/internal/cjs/schemas.js.map +1 -1
  37. package/build/internal/es/index.d.mts +73 -31
  38. package/build/internal/es/index.mjs +377 -10
  39. package/build/internal/es/index.mjs.map +1 -1
  40. package/build/internal/es/index.typings.d.mts +412 -206
  41. package/build/internal/es/index.typings.mjs +327 -10
  42. package/build/internal/es/index.typings.mjs.map +1 -1
  43. package/build/internal/es/meta.d.mts +122 -137
  44. package/build/internal/es/meta.mjs +213 -0
  45. package/build/internal/es/meta.mjs.map +1 -1
  46. package/build/internal/es/schemas.d.mts +247 -126
  47. package/build/internal/es/schemas.mjs +573 -278
  48. package/build/internal/es/schemas.mjs.map +1 -1
  49. package/package.json +2 -2
@@ -1,93 +1,132 @@
1
1
  import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@wix/sdk-types';
2
- import { CreateActionOptions, Action, UpdateActionOptions, DeleteActionOptions, GetRuntimeActionIdentifiers, GetLatestActionIdentifiers, GetLatestActionOptions, GetLatestActionResponse, GetActionDynamicInputSchemaOptions, GetActionDynamicInputSchemaResponse, ResolveActionsOptions, ResolveActionsResponse, CopyInputMappingOptions, CopyInputMappingResponse, GetActionDynamicOutputSchemaOptions, GetActionDynamicOutputSchemaResponse, ActionInputMappings, BulkGetActionDynamicOutputSchemasResponse } from './index.typings.js';
3
- export { AccountInfo, ActionDeletedWithEntity, ActionEvent, ActionSpecInfo, AdditionalInformationRequiredInfo, ApplicationError, BulkActionMetadata, BulkActionOutputSchemaResult, BulkGetActionDynamicOutputSchemasRequest, CommonCursorPaging, CommonCursors, CommonPaging, CommonPagingMetadataV2, CommonQueryV2, CommonQueryV2PagingMethodOneOf, CommonSortOrder, CommonSortOrderWithLiterals, CommonSorting, CopyInputMappingRequest, CreateActionRequest, CreateActionResponse, CursorPaging, Cursors, DeleteActionRequest, DeleteActionResponse, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, ExecutionType, ExecutionTypeWithLiterals, ExperimentActionType, ExperimentActionTypeWithLiterals, FocalPoint, GenerateInputMappingFromIntentRequest, GenerateInputMappingFromIntentResponse, GenerateInputMappingFromIntentResponseStatusInfoOneOf, GenericOptions, GetActionDynamicInputSchemaRequest, GetActionDynamicOutputSchemaRequest, GetActionRequest, GetActionResponse, GetLatestActionRequest, GetRuntimeActionRequest, GetRuntimeActionResponse, IdentificationData, IdentificationDataIdOneOf, ImplementedMethods, InputMappingGeneratedInfo, IntegrationOptions, IntegrationOptionsOptionsOneOf, IntegrationType, IntegrationTypeWithLiterals, InterfaceConfiguration, InterfaceConfigurationOptionsOneOf, ItemMetadata, MessageEnvelope, Metadata, MigrateComponentToActionRequest, MigrateComponentToActionResponse, OpenApiOptions, Paging, PagingMetadataV2, QueryActionsRequest, QueryActionsResponse, QueryLatestActionsRequest, QueryLatestActionsResponse, QueryV2, QueryV2PagingMethodOneOf, ResolveActionsRequest, RestoreInfo, RetryExperimentCreation, SortOrder, SortOrderWithLiterals, Sorting, Source, SourceOptionsOneOf, SourceType, SourceTypeWithLiterals, Status, StatusWithLiterals, Type, TypeWithLiterals, UpdateActionComponentRequest, UpdateActionComponentResponse, UpdateActionRequest, UpdateActionResponse, WebhookIdentityType, WebhookIdentityTypeWithLiterals, WidgetComponentOptions, WixApiOptions } from './index.typings.js';
2
+ import { Action, CreateActionOptions, UpdateActionOptions, DeleteActionOptions, GetRuntimeActionIdentifiers, GetRuntimeActionResponse, GetLatestActionIdentifiers, GetLatestActionOptions, GetLatestActionResponse, GetActionDynamicInputSchemaOptions, GetActionDynamicInputSchemaResponse, ResolveActionsOptions, ResolveActionsResponse, CopyInputMappingOptions, CopyInputMappingResponse, GetActionDynamicOutputSchemaOptions, GetActionDynamicOutputSchemaResponse, ActionInputMappings, BulkGetActionDynamicOutputSchemasResponse, GenerateInputMappingFromIntentOptions, GenerateInputMappingFromIntentResponse, QueryV2, QueryLatestActionsResponse, ActionsQueryBuilder, ActionQuery, typedQueryActions } from './index.typings.js';
3
+ export { AccountInfo, ActionDeletedWithEntity, ActionEvent, ActionQuerySpec, ActionSpecInfo, ActionsQueryResult, AdditionalInformationRequiredInfo, ApplicationError, BulkActionMetadata, BulkActionOutputSchemaResult, BulkGetActionDynamicOutputSchemasRequest, CommonCursorPaging, CommonCursors, CommonPaging, CommonPagingMetadataV2, CommonQueryV2, CommonQueryV2PagingMethodOneOf, CommonQueryWithEntityContext, CommonSortOrder, CommonSortOrderWithLiterals, CommonSorting, CopyInputMappingRequest, CreateActionRequest, CreateActionResponse, CursorPaging, Cursors, DeleteActionRequest, DeleteActionResponse, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, ExecutionType, ExecutionTypeWithLiterals, ExperimentActionType, ExperimentActionTypeWithLiterals, FocalPoint, GenerateInputMappingFromIntentRequest, GenerateInputMappingFromIntentResponseStatusInfoOneOf, GenericOptions, GetActionDynamicInputSchemaRequest, GetActionDynamicOutputSchemaRequest, GetActionRequest, GetActionResponse, GetLatestActionRequest, GetRuntimeActionRequest, IdentificationData, IdentificationDataIdOneOf, ImplementedMethods, InputMappingGeneratedInfo, IntegrationOptions, IntegrationOptionsOptionsOneOf, IntegrationType, IntegrationTypeWithLiterals, InterfaceConfiguration, InterfaceConfigurationOptionsOneOf, ItemMetadata, MessageEnvelope, Metadata, MigrateComponentToActionRequest, MigrateComponentToActionResponse, OpenApiOptions, Paging, PagingMetadataV2, QueryActionsRequest, QueryActionsResponse, QueryLatestActionsRequest, QueryV2PagingMethodOneOf, ResolveActionsRequest, RestoreInfo, RetryExperimentCreation, SortOrder, SortOrderWithLiterals, Sorting, Source, SourceOptionsOneOf, SourceType, SourceTypeWithLiterals, Status, StatusWithLiterals, Type, TypeWithLiterals, UpdateActionComponentRequest, UpdateActionComponentResponse, UpdateActionRequest, UpdateActionResponse, WebhookIdentityType, WebhookIdentityTypeWithLiterals, WidgetComponentOptions, WixApiOptions, utils } from './index.typings.js';
4
4
 
5
+ declare function getAction$1(httpClient: HttpClient): GetActionSignature;
6
+ interface GetActionSignature {
7
+ /**
8
+ * Retrieves an action by its ID.
9
+ * @param - Action ID.
10
+ * @returns Retrieved action.
11
+ */
12
+ (actionId: string): Promise<NonNullablePaths<Action, `appId` | `actionKey` | `implementedMethods.validateConfiguration` | `implementedMethods.getQuotaInfo` | `executionType` | `interfaceConfiguration.type`, 3>>;
13
+ }
5
14
  declare function createAction$1(httpClient: HttpClient): CreateActionSignature;
6
15
  interface CreateActionSignature {
7
16
  /**
8
- * Create an action
9
- * @returns The created action
17
+ * Creates an action for the specified app. Once created, users can [create automations](https://support.wix.com/en/wix-automations-7067897) that include this action.
18
+ *
19
+ * Learn more about [actions](https://dev.wix.com/docs/api-reference/business-management/automations/actions/about-actions).
20
+ *
21
+ * > **Note:** You can only create actions for [apps you own or collaborate on](https://dev.wix.com/docs/build-apps/develop-your-app/app-dashboard-setup/manage-collaborators).
22
+ * @returns Created action.
10
23
  */
11
- (options?: NonNullablePaths<CreateActionOptions, `action.actionKey` | `action.appId`, 3>): Promise<NonNullablePaths<Action, `appId` | `actionKey` | `implementedMethods.validateConfiguration` | `implementedMethods.duplicateInputMapping` | `implementedMethods.generateApplicationAutomationInputMapping` | `implementedMethods.getQuotaInfo` | `implementedMethods.onBeforeSave` | `implementedMethods.onReset` | `implementedMethods.generateActionInputMappingFromTemplate` | `implementedMethods.onRemove` | `implementedMethods.getDynamicInputSchema` | `implementedMethods.mergeInputMappings` | `implementedMethods.getDynamicOutputSchema` | `implementedMethods.generateInputMappingFromIntent` | `executionType` | `interfaceConfiguration.type`, 3>>;
24
+ (options?: NonNullablePaths<CreateActionOptions, `action.actionKey` | `action.appId`, 3>): Promise<NonNullablePaths<Action, `appId` | `actionKey` | `implementedMethods.validateConfiguration` | `implementedMethods.getQuotaInfo` | `executionType` | `interfaceConfiguration.type`, 3>>;
12
25
  }
13
26
  declare function updateAction$1(httpClient: HttpClient): UpdateActionSignature;
14
27
  interface UpdateActionSignature {
15
28
  /**
16
- * Create a new version for a trigger, update the latest version of the component to point to this trigger
29
+ * Updates the specified action for the specified app.
30
+ *
31
+ * After the action is updated, it only contains the values specified in the request. Earlier values are replaced.
17
32
  * @param - Action ID.
18
- * @returns Action Configuration
33
+ * @returns Updated action.
19
34
  */
20
- (_id: string, options?: NonNullablePaths<UpdateActionOptions, `action.actionKey` | `action.appId`, 3>): Promise<NonNullablePaths<Action, `appId` | `actionKey` | `implementedMethods.validateConfiguration` | `implementedMethods.duplicateInputMapping` | `implementedMethods.generateApplicationAutomationInputMapping` | `implementedMethods.getQuotaInfo` | `implementedMethods.onBeforeSave` | `implementedMethods.onReset` | `implementedMethods.generateActionInputMappingFromTemplate` | `implementedMethods.onRemove` | `implementedMethods.getDynamicInputSchema` | `implementedMethods.mergeInputMappings` | `implementedMethods.getDynamicOutputSchema` | `implementedMethods.generateInputMappingFromIntent` | `executionType` | `interfaceConfiguration.type`, 3>>;
35
+ (_id: string, options?: NonNullablePaths<UpdateActionOptions, `action.actionKey` | `action.appId`, 3>): Promise<NonNullablePaths<Action, `appId` | `actionKey` | `implementedMethods.validateConfiguration` | `implementedMethods.getQuotaInfo` | `executionType` | `interfaceConfiguration.type`, 3>>;
21
36
  }
22
37
  declare function deleteAction$1(httpClient: HttpClient): DeleteActionSignature;
23
38
  interface DeleteActionSignature {
24
39
  /**
25
- * Delete a trigger by app id and key
26
- * @param - The action App Id
40
+ * Deletes an action from the specified app.
41
+ *
42
+ * > **Note:** [Automations that include the deleted action](https://support.wix.com/en/article/wix-automations-creating-an-automation-with-the-new-builder#step-4-choose-an-action) can no longer execute it.
43
+ * @param - ID of the app that defines the action.
27
44
  */
28
45
  (actionAppId: string, options: NonNullablePaths<DeleteActionOptions, `actionKey`, 2>): Promise<void>;
29
46
  }
30
47
  declare function getRuntimeAction$1(httpClient: HttpClient): GetRuntimeActionSignature;
31
48
  interface GetRuntimeActionSignature {
32
49
  /**
33
- * Returns action configuration by action key
34
- * @returns Action Configuration
50
+ * Retrieves the runtime configuration of an action by its app ID and action key.
35
51
  */
36
- (identifiers: NonNullablePaths<GetRuntimeActionIdentifiers, `actionKey` | `appId`, 2>): Promise<NonNullablePaths<Action, `appId` | `actionKey` | `implementedMethods.validateConfiguration` | `implementedMethods.duplicateInputMapping` | `implementedMethods.generateApplicationAutomationInputMapping` | `implementedMethods.getQuotaInfo` | `implementedMethods.onBeforeSave` | `implementedMethods.onReset` | `implementedMethods.generateActionInputMappingFromTemplate` | `implementedMethods.onRemove` | `implementedMethods.getDynamicInputSchema` | `implementedMethods.mergeInputMappings` | `implementedMethods.getDynamicOutputSchema` | `implementedMethods.generateInputMappingFromIntent` | `executionType` | `interfaceConfiguration.type`, 3>>;
52
+ (identifiers: NonNullablePaths<GetRuntimeActionIdentifiers, `actionKey` | `appId`, 2>): Promise<NonNullablePaths<GetRuntimeActionResponse, `action.appId` | `action.actionKey` | `action.implementedMethods.validateConfiguration` | `action.implementedMethods.getQuotaInfo` | `action.executionType` | `action.interfaceConfiguration.type`, 4>>;
37
53
  }
38
54
  declare function getLatestAction$1(httpClient: HttpClient): GetLatestActionSignature;
39
55
  interface GetLatestActionSignature {
40
56
  /**
41
57
  * Retrieves the latest version of an action by its app ID and action key.
42
58
  */
43
- (identifiers: NonNullablePaths<GetLatestActionIdentifiers, `actionKey` | `appId`, 2>, options?: GetLatestActionOptions): Promise<NonNullablePaths<GetLatestActionResponse, `action.appId` | `action.actionKey` | `action.implementedMethods.validateConfiguration` | `action.implementedMethods.duplicateInputMapping` | `action.implementedMethods.generateApplicationAutomationInputMapping` | `action.implementedMethods.getQuotaInfo` | `action.implementedMethods.onBeforeSave` | `action.implementedMethods.onReset` | `action.implementedMethods.generateActionInputMappingFromTemplate` | `action.implementedMethods.onRemove` | `action.implementedMethods.getDynamicInputSchema` | `action.implementedMethods.mergeInputMappings` | `action.implementedMethods.getDynamicOutputSchema` | `action.implementedMethods.generateInputMappingFromIntent` | `action.executionType` | `action.interfaceConfiguration.type`, 4>>;
59
+ (identifiers: NonNullablePaths<GetLatestActionIdentifiers, `actionKey` | `appId`, 2>, options?: GetLatestActionOptions): Promise<NonNullablePaths<GetLatestActionResponse, `action.appId` | `action.actionKey` | `action.implementedMethods.validateConfiguration` | `action.implementedMethods.getQuotaInfo` | `action.executionType` | `action.interfaceConfiguration.type`, 4>>;
44
60
  }
45
61
  declare function getActionDynamicInputSchema$1(httpClient: HttpClient): GetActionDynamicInputSchemaSignature;
46
62
  interface GetActionDynamicInputSchemaSignature {
47
63
  /**
48
- * Returns action dynamic schema and ui schema for the given action key and input mapping (action config)
49
- * @param - The App ID of the action's owner.
64
+ * Retrieves an action's dynamic [input schema](https://dev.wix.com/docs/api-reference/business-management/automations/actions/the-action-input-schema) and [UI schema](https://dev.wix.com/docs/api-reference/business-management/automations/actions/about-actions#the-ui-schema), based on the [action's input mapping](https://dev.wix.com/docs/api-reference/business-management/automations/actions/about-actions#understanding-input-mapping).
65
+ * @param - ID of the [app that created the action](https://dev.wix.com/docs/api-reference/business-management/automations/actions/add-an-action-to-your-app).
50
66
  */
51
67
  (appId: string, options: NonNullablePaths<GetActionDynamicInputSchemaOptions, `actionKey` | `inputMapping`, 2>): Promise<GetActionDynamicInputSchemaResponse>;
52
68
  }
53
69
  declare function resolveActions$1(httpClient: HttpClient): ResolveActionsSignature;
54
70
  interface ResolveActionsSignature {
55
71
  /**
56
- * Returns action configurations that are installed on the site and exposed to Wix users.
72
+ * Retrieves the actions in the site's action catalog, based on the provided filtering, sorting, and paging.
73
+ *
74
+ * The site's action catalog contains actions provided by all the apps installed on the site. Wix users can add these actions as building blocks in their automations. To reference a retrieved action when creating or updating an automation, use the `appId` and `actionKey` pair.
57
75
  */
58
- (options?: ResolveActionsOptions): Promise<NonNullablePaths<ResolveActionsResponse, `actions` | `actions.${number}.appId` | `actions.${number}.actionKey` | `actions.${number}.implementedMethods.validateConfiguration` | `actions.${number}.implementedMethods.duplicateInputMapping` | `actions.${number}.implementedMethods.generateApplicationAutomationInputMapping` | `actions.${number}.implementedMethods.getQuotaInfo` | `actions.${number}.implementedMethods.onBeforeSave` | `actions.${number}.implementedMethods.onReset` | `actions.${number}.implementedMethods.generateActionInputMappingFromTemplate` | `actions.${number}.implementedMethods.onRemove` | `actions.${number}.implementedMethods.getDynamicInputSchema` | `actions.${number}.implementedMethods.mergeInputMappings` | `actions.${number}.implementedMethods.getDynamicOutputSchema` | `actions.${number}.implementedMethods.generateInputMappingFromIntent` | `actions.${number}.executionType` | `actions.${number}.interfaceConfiguration.type`, 5>>;
76
+ (options?: ResolveActionsOptions): Promise<NonNullablePaths<ResolveActionsResponse, `actions` | `actions.${number}.appId` | `actions.${number}.actionKey` | `actions.${number}.implementedMethods.validateConfiguration` | `actions.${number}.implementedMethods.getQuotaInfo` | `actions.${number}.executionType` | `actions.${number}.interfaceConfiguration.type`, 5>>;
59
77
  }
60
78
  declare function copyInputMapping$1(httpClient: HttpClient): CopyInputMappingSignature;
61
79
  interface CopyInputMappingSignature {
62
80
  /**
63
- * Get action input mapping copy
64
- * The main use case is to call this method from the automations editor, when the user wants to copy an action. So
65
- * this method is getting an input mapping of an existing action and returns a changed input mapping. It's changing
66
- * the input mapping by passing it through the SPI endpoint of `DuplicateInputMapping` in the case that this SPI
67
- * endpoint is implemented.
68
- * A possible usage is by `triggered-email` action - Wix Emails need to change the `messageId` inside the input mapping
69
- * so such that the `messageId` stays unique across multiple actions.
70
- * @param - Action app id
81
+ * Retrieves a copy of an action's input mapping, with any per-action unique values regenerated.
82
+ *
83
+ * Used by the automations editor when a Wix user duplicates an action that contains values, such as IDs, that must remain unique across multiple actions. If the action's service plugin implements `DuplicateInputMapping`, the input mapping is passed through it; otherwise, the original input mapping is returned unchanged.
84
+ * @param - ID of the app that defines the action.
71
85
  */
72
86
  (appId: string, options: NonNullablePaths<CopyInputMappingOptions, `actionKey` | `inputMapping`, 2>): Promise<CopyInputMappingResponse>;
73
87
  }
74
88
  declare function getActionDynamicOutputSchema$1(httpClient: HttpClient): GetActionDynamicOutputSchemaSignature;
75
89
  interface GetActionDynamicOutputSchemaSignature {
76
90
  /**
77
- * Returns action dynamic output schema for the given action key and the [users] action configuration
78
- * @param - The App ID of the action's owner.
91
+ * Retrieves an [action's dynamic output schema](https://dev.wix.com/docs/api-reference/business-management/automations/actions/about-actions#the-output-schema), based on the action's input mapping.
92
+ * @param - ID of the [app that created the action](https://dev.wix.com/docs/api-reference/business-management/automations/actions/add-an-action-to-your-app).
79
93
  */
80
94
  (appId: string, options: NonNullablePaths<GetActionDynamicOutputSchemaOptions, `actionKey` | `inputMapping`, 2>): Promise<GetActionDynamicOutputSchemaResponse>;
81
95
  }
82
96
  declare function bulkGetActionDynamicOutputSchemas$1(httpClient: HttpClient): BulkGetActionDynamicOutputSchemasSignature;
83
97
  interface BulkGetActionDynamicOutputSchemasSignature {
84
98
  /**
85
- * Returns action dynamic output schema for the given actions
86
- * @param - list of actions details which will be used to generate the output schemas
99
+ * Retrieves dynamic output schemas for multiple actions in a single request.
100
+ *
101
+ * To retrieve the dynamic output schema for a single action, call [Get Action Dynamic Output Schema](https://dev.wix.com/docs/api-reference/business-management/automations/actions/action-catalog/get-action-dynamic-output-schema).
102
+ * @param - List of actions to retrieve dynamic output schemas for.
87
103
  */
88
104
  (actionsInputMappings: ActionInputMappings[]): Promise<NonNullablePaths<BulkGetActionDynamicOutputSchemasResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
89
105
  }
106
+ declare function generateInputMappingFromIntent$1(httpClient: HttpClient): GenerateInputMappingFromIntentSignature;
107
+ interface GenerateInputMappingFromIntentSignature {
108
+ /**
109
+ * Generates an action's input mapping from a natural language description of the desired configuration.
110
+ * @param - ID of the app that defines the action.
111
+ */
112
+ (appId: string, options: NonNullablePaths<GenerateInputMappingFromIntentOptions, `actionKey` | `actionSchema` | `conversationId` | `intent`, 2>): Promise<NonNullablePaths<GenerateInputMappingFromIntentResponse, `additionalInformationRequiredInfo.feedback` | `status`, 3>>;
113
+ }
114
+ declare function queryLatestActions$1(httpClient: HttpClient): QueryLatestActionsSignature;
115
+ interface QueryLatestActionsSignature {
116
+ /**
117
+ * Retrieves a list of the latest version of each action, based on the provided paging, filtering, and sorting.
118
+ *
119
+ * To retrieve all stored versions of each action, call [Query Actions](https://dev.wix.com/docs/api-reference/business-management/automations/actions/action-catalog/query-actions).
120
+ * @param - Query options.
121
+ */
122
+ (query: QueryV2): Promise<NonNullablePaths<QueryLatestActionsResponse, `results` | `results.${number}.appId` | `results.${number}.actionKey` | `results.${number}.implementedMethods.validateConfiguration` | `results.${number}.implementedMethods.getQuotaInfo` | `results.${number}.executionType` | `results.${number}.interfaceConfiguration.type`, 5>>;
123
+ }
90
124
 
125
+ declare function customQueryActions(httpClient: HttpClient): {
126
+ (): ActionsQueryBuilder;
127
+ (query: ActionQuery): ReturnType<typeof typedQueryActions>;
128
+ };
129
+ declare const getAction: MaybeContext<BuildRESTFunction<typeof getAction$1> & typeof getAction$1>;
91
130
  declare const createAction: MaybeContext<BuildRESTFunction<typeof createAction$1> & typeof createAction$1>;
92
131
  declare const updateAction: MaybeContext<BuildRESTFunction<typeof updateAction$1> & typeof updateAction$1>;
93
132
  declare const deleteAction: MaybeContext<BuildRESTFunction<typeof deleteAction$1> & typeof deleteAction$1>;
@@ -98,5 +137,8 @@ declare const resolveActions: MaybeContext<BuildRESTFunction<typeof resolveActio
98
137
  declare const copyInputMapping: MaybeContext<BuildRESTFunction<typeof copyInputMapping$1> & typeof copyInputMapping$1>;
99
138
  declare const getActionDynamicOutputSchema: MaybeContext<BuildRESTFunction<typeof getActionDynamicOutputSchema$1> & typeof getActionDynamicOutputSchema$1>;
100
139
  declare const bulkGetActionDynamicOutputSchemas: MaybeContext<BuildRESTFunction<typeof bulkGetActionDynamicOutputSchemas$1> & typeof bulkGetActionDynamicOutputSchemas$1>;
140
+ declare const generateInputMappingFromIntent: MaybeContext<BuildRESTFunction<typeof generateInputMappingFromIntent$1> & typeof generateInputMappingFromIntent$1>;
141
+ declare const queryLatestActions: MaybeContext<BuildRESTFunction<typeof queryLatestActions$1> & typeof queryLatestActions$1>;
142
+ declare const queryActions: MaybeContext<BuildRESTFunction<typeof customQueryActions> & typeof customQueryActions>;
101
143
 
102
- export { Action, ActionInputMappings, BulkGetActionDynamicOutputSchemasResponse, CopyInputMappingOptions, CopyInputMappingResponse, CreateActionOptions, DeleteActionOptions, GetActionDynamicInputSchemaOptions, GetActionDynamicInputSchemaResponse, GetActionDynamicOutputSchemaOptions, GetActionDynamicOutputSchemaResponse, GetLatestActionIdentifiers, GetLatestActionOptions, GetLatestActionResponse, GetRuntimeActionIdentifiers, ResolveActionsOptions, ResolveActionsResponse, UpdateActionOptions, bulkGetActionDynamicOutputSchemas, copyInputMapping, createAction, deleteAction, getActionDynamicInputSchema, getActionDynamicOutputSchema, getLatestAction, getRuntimeAction, resolveActions, updateAction };
144
+ export { Action, ActionInputMappings, ActionQuery, ActionsQueryBuilder, BulkGetActionDynamicOutputSchemasResponse, CopyInputMappingOptions, CopyInputMappingResponse, CreateActionOptions, DeleteActionOptions, GenerateInputMappingFromIntentOptions, GenerateInputMappingFromIntentResponse, GetActionDynamicInputSchemaOptions, GetActionDynamicInputSchemaResponse, GetActionDynamicOutputSchemaOptions, GetActionDynamicOutputSchemaResponse, GetLatestActionIdentifiers, GetLatestActionOptions, GetLatestActionResponse, GetRuntimeActionIdentifiers, GetRuntimeActionResponse, QueryLatestActionsResponse, QueryV2, ResolveActionsOptions, ResolveActionsResponse, UpdateActionOptions, bulkGetActionDynamicOutputSchemas, copyInputMapping, createAction, deleteAction, generateInputMappingFromIntent, getAction, getActionDynamicInputSchema, getActionDynamicOutputSchema, getLatestAction, getRuntimeAction, queryActions, queryLatestActions, resolveActions, updateAction };