@wix/auto_sdk_automations_action-catalog 1.0.49 → 1.0.51

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 +100 -32
  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 +508 -227
  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 +157 -149
  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 +631 -298
  12. package/build/cjs/schemas.js.map +1 -1
  13. package/build/es/index.d.mts +100 -32
  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 +508 -227
  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 +157 -149
  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 +623 -298
  24. package/build/es/schemas.mjs.map +1 -1
  25. package/build/internal/cjs/index.d.ts +100 -32
  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 +508 -227
  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 +157 -149
  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 +631 -298
  36. package/build/internal/cjs/schemas.js.map +1 -1
  37. package/build/internal/es/index.d.mts +100 -32
  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 +508 -227
  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 +157 -149
  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 +623 -298
  48. package/build/internal/es/schemas.mjs.map +1 -1
  49. package/package.json +2 -2
@@ -1,93 +1,158 @@
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 a specific version of an action by ID.
9
+ *
10
+ * This method returns any specified version of the action.
11
+ *
12
+ * - To retrieve the version of an action that's active on the current site, call [Get Runtime Action](https://dev.wix.com/docs/api-reference/business-management/automations/actions/action-catalog/get-runtime-action).
13
+ * - To retrieve the latest version of an action as defined in the [app dashboard](https://dev.wix.com/docs/build-apps/develop-your-app/app-dashboard/about-the-app-dashboard), call [Get Latest Action](https://dev.wix.com/docs/api-reference/business-management/automations/actions/action-catalog/get-latest-action).
14
+ * @param - Action ID.
15
+ * @returns Retrieved action.
16
+ */
17
+ (actionId: string): Promise<NonNullablePaths<Action, `appId` | `actionKey` | `implementedMethods.validateConfiguration` | `implementedMethods.getQuotaInfo` | `executionType` | `interfaceConfiguration.type`, 3>>;
18
+ }
5
19
  declare function createAction$1(httpClient: HttpClient): CreateActionSignature;
6
20
  interface CreateActionSignature {
7
21
  /**
8
- * Create an action
9
- * @returns The created action
22
+ * 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.
23
+ *
24
+ * Learn more about [actions](https://dev.wix.com/docs/api-reference/business-management/automations/actions/about-actions).
25
+ *
26
+ * > **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).
27
+ * @returns Created action.
10
28
  */
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>>;
29
+ (options?: NonNullablePaths<CreateActionOptions, `action.actionKey` | `action.appId`, 3>): Promise<NonNullablePaths<Action, `appId` | `actionKey` | `implementedMethods.validateConfiguration` | `implementedMethods.getQuotaInfo` | `executionType` | `interfaceConfiguration.type`, 3>>;
12
30
  }
13
31
  declare function updateAction$1(httpClient: HttpClient): UpdateActionSignature;
14
32
  interface UpdateActionSignature {
15
33
  /**
16
- * Create a new version for a trigger, update the latest version of the component to point to this trigger
34
+ * Updates the specified action for the specified app.
35
+ *
36
+ * After the action is updated, it only contains the values specified in the request. Earlier values are replaced.
17
37
  * @param - Action ID.
18
- * @returns Action Configuration
38
+ * @returns Updated action.
19
39
  */
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>>;
40
+ (_id: string, options?: NonNullablePaths<UpdateActionOptions, `action.actionKey` | `action.appId`, 3>): Promise<NonNullablePaths<Action, `appId` | `actionKey` | `implementedMethods.validateConfiguration` | `implementedMethods.getQuotaInfo` | `executionType` | `interfaceConfiguration.type`, 3>>;
21
41
  }
22
42
  declare function deleteAction$1(httpClient: HttpClient): DeleteActionSignature;
23
43
  interface DeleteActionSignature {
24
44
  /**
25
- * Delete a trigger by app id and key
26
- * @param - The action App Id
45
+ * Deletes an action from the specified app.
46
+ *
47
+ * > **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.
48
+ * @param - ID of the app that defines the action.
27
49
  */
28
50
  (actionAppId: string, options: NonNullablePaths<DeleteActionOptions, `actionKey`, 2>): Promise<void>;
29
51
  }
30
52
  declare function getRuntimeAction$1(httpClient: HttpClient): GetRuntimeActionSignature;
31
53
  interface GetRuntimeActionSignature {
32
54
  /**
33
- * Returns action configuration by action key
34
- * @returns Action Configuration
55
+ * Retrieves the version of an action that's currently active on the site.
56
+ *
57
+ * - To retrieve a specific action version by ID, call [Get Action](https://dev.wix.com/docs/api-reference/business-management/automations/actions/action-catalog/get-action).
58
+ * - To retrieve the latest version of the action regardless of the site on which it's installed, call [Get Latest Action](https://dev.wix.com/docs/api-reference/business-management/automations/actions/action-catalog/get-latest-action).
35
59
  */
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>>;
60
+ (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
61
  }
38
62
  declare function getLatestAction$1(httpClient: HttpClient): GetLatestActionSignature;
39
63
  interface GetLatestActionSignature {
40
64
  /**
41
- * Retrieves the latest version of an action by its app ID and action key.
65
+ * Retrieves the latest version of an action, regardless of the site on which it's installed.
66
+ *
67
+ * When an app developer updates an action, the new version doesn't immediately become active on every site. This method retrieves the latest version of the action as defined in the [app dashboard](https://dev.wix.com/docs/build-apps/develop-your-app/app-dashboard/about-the-app-dashboard).
68
+ *
69
+ * - To retrieve the version of the action that's active on the current site, call [Get Runtime Action](https://dev.wix.com/docs/api-reference/business-management/automations/actions/action-catalog/get-runtime-action).
42
70
  */
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>>;
71
+ (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
72
  }
45
73
  declare function getActionDynamicInputSchema$1(httpClient: HttpClient): GetActionDynamicInputSchemaSignature;
46
74
  interface GetActionDynamicInputSchemaSignature {
47
75
  /**
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.
76
+ * 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).
77
+ * @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
78
  */
51
79
  (appId: string, options: NonNullablePaths<GetActionDynamicInputSchemaOptions, `actionKey` | `inputMapping`, 2>): Promise<GetActionDynamicInputSchemaResponse>;
52
80
  }
53
81
  declare function resolveActions$1(httpClient: HttpClient): ResolveActionsSignature;
54
82
  interface ResolveActionsSignature {
55
83
  /**
56
- * Returns action configurations that are installed on the site and exposed to Wix users.
84
+ * Retrieves the actions in the site's action catalog, based on the provided filtering, sorting, and paging.
85
+ *
86
+ * 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
87
  */
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>>;
88
+ (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
89
  }
60
90
  declare function copyInputMapping$1(httpClient: HttpClient): CopyInputMappingSignature;
61
91
  interface CopyInputMappingSignature {
62
92
  /**
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
93
+ * Retrieves a copy of an action's input mapping, with any per-action unique values regenerated.
94
+ *
95
+ * 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.
96
+ * @param - ID of the app that defines the action.
71
97
  */
72
98
  (appId: string, options: NonNullablePaths<CopyInputMappingOptions, `actionKey` | `inputMapping`, 2>): Promise<CopyInputMappingResponse>;
73
99
  }
74
100
  declare function getActionDynamicOutputSchema$1(httpClient: HttpClient): GetActionDynamicOutputSchemaSignature;
75
101
  interface GetActionDynamicOutputSchemaSignature {
76
102
  /**
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.
103
+ * 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.
104
+ * @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
105
  */
80
106
  (appId: string, options: NonNullablePaths<GetActionDynamicOutputSchemaOptions, `actionKey` | `inputMapping`, 2>): Promise<GetActionDynamicOutputSchemaResponse>;
81
107
  }
82
108
  declare function bulkGetActionDynamicOutputSchemas$1(httpClient: HttpClient): BulkGetActionDynamicOutputSchemasSignature;
83
109
  interface BulkGetActionDynamicOutputSchemasSignature {
84
110
  /**
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
111
+ * Retrieves dynamic output schemas for multiple actions in a single request.
112
+ *
113
+ * 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).
114
+ * @param - List of actions to retrieve dynamic output schemas for.
87
115
  */
88
116
  (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
117
  }
118
+ declare function generateInputMappingFromIntent$1(httpClient: HttpClient): GenerateInputMappingFromIntentSignature;
119
+ interface GenerateInputMappingFromIntentSignature {
120
+ /**
121
+ * Generates an action's input mapping from a natural language description of the desired configuration.
122
+ * @param - ID of the app that defines the action.
123
+ */
124
+ (appId: string, options: NonNullablePaths<GenerateInputMappingFromIntentOptions, `actionKey` | `actionSchema` | `conversationId` | `intent`, 2>): Promise<NonNullablePaths<GenerateInputMappingFromIntentResponse, `additionalInformationRequiredInfo.feedback` | `status`, 3>>;
125
+ }
126
+ declare function queryLatestActions$1(httpClient: HttpClient): QueryLatestActionsSignature;
127
+ interface QueryLatestActionsSignature {
128
+ /**
129
+ * Retrieves a list of the latest version of each action, based on the provided paging, filtering, and sorting.
130
+ *
131
+ * 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).
132
+ *
133
+ *
134
+ * Query Latest Actions runs with these defaults, which you can override:
135
+ *
136
+ * - `createdDate` is sorted in `DESC` order.
137
+ * - `paging.limit` is `50`.
138
+ * - `paging.offset` is `0`.
139
+ *
140
+ * To learn about working with query methods, see:
141
+ * - [API Query Language](https://dev.wix.com/docs/api-reference/articles/getting-started/api-query-language)
142
+ * - [Sorting and Paging](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-sorting-and-paging)
143
+ * - [Field projection](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-field-projection)
144
+ * @param - Query options.
145
+ *
146
+ * See [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language) for more information.
147
+ */
148
+ (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>>;
149
+ }
90
150
 
151
+ declare function customQueryActions(httpClient: HttpClient): {
152
+ (): ActionsQueryBuilder;
153
+ (query: ActionQuery): ReturnType<typeof typedQueryActions>;
154
+ };
155
+ declare const getAction: MaybeContext<BuildRESTFunction<typeof getAction$1> & typeof getAction$1>;
91
156
  declare const createAction: MaybeContext<BuildRESTFunction<typeof createAction$1> & typeof createAction$1>;
92
157
  declare const updateAction: MaybeContext<BuildRESTFunction<typeof updateAction$1> & typeof updateAction$1>;
93
158
  declare const deleteAction: MaybeContext<BuildRESTFunction<typeof deleteAction$1> & typeof deleteAction$1>;
@@ -98,5 +163,8 @@ declare const resolveActions: MaybeContext<BuildRESTFunction<typeof resolveActio
98
163
  declare const copyInputMapping: MaybeContext<BuildRESTFunction<typeof copyInputMapping$1> & typeof copyInputMapping$1>;
99
164
  declare const getActionDynamicOutputSchema: MaybeContext<BuildRESTFunction<typeof getActionDynamicOutputSchema$1> & typeof getActionDynamicOutputSchema$1>;
100
165
  declare const bulkGetActionDynamicOutputSchemas: MaybeContext<BuildRESTFunction<typeof bulkGetActionDynamicOutputSchemas$1> & typeof bulkGetActionDynamicOutputSchemas$1>;
166
+ declare const generateInputMappingFromIntent: MaybeContext<BuildRESTFunction<typeof generateInputMappingFromIntent$1> & typeof generateInputMappingFromIntent$1>;
167
+ declare const queryLatestActions: MaybeContext<BuildRESTFunction<typeof queryLatestActions$1> & typeof queryLatestActions$1>;
168
+ declare const queryActions: MaybeContext<BuildRESTFunction<typeof customQueryActions> & typeof customQueryActions>;
101
169
 
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 };
170
+ 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 };