@wix/auto_sdk_automations_action-catalog 1.0.2 → 1.0.4

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 (130) hide show
  1. package/build/{internal/cjs/src/automations-actioncatalog-v1-action-action-catalog.universal.d.ts → automations-actioncatalog-v1-action-action-catalog.universal-CrVo0pBg.d.mts} +77 -218
  2. package/build/{cjs/src/automations-actioncatalog-v1-action-action-catalog.universal.d.ts → automations-actioncatalog-v1-action-action-catalog.universal-CrVo0pBg.d.ts} +77 -218
  3. package/build/index.d.mts +94 -0
  4. package/build/index.d.ts +94 -0
  5. package/build/index.js +817 -0
  6. package/build/index.js.map +1 -0
  7. package/build/index.mjs +779 -0
  8. package/build/index.mjs.map +1 -0
  9. package/build/{es/src/automations-actioncatalog-v1-action-action-catalog.universal.d.ts → internal/automations-actioncatalog-v1-action-action-catalog.universal-CrVo0pBg.d.mts} +77 -218
  10. package/build/internal/{es/src/automations-actioncatalog-v1-action-action-catalog.universal.d.ts → automations-actioncatalog-v1-action-action-catalog.universal-CrVo0pBg.d.ts} +77 -218
  11. package/build/internal/index.d.mts +94 -0
  12. package/build/internal/index.d.ts +94 -0
  13. package/build/internal/index.js +817 -0
  14. package/build/internal/index.js.map +1 -0
  15. package/build/internal/index.mjs +779 -0
  16. package/build/internal/index.mjs.map +1 -0
  17. package/build/{es/src/automations-actioncatalog-v1-action-action-catalog.types.d.ts → internal/meta.d.mts} +72 -279
  18. package/build/internal/{cjs/src/automations-actioncatalog-v1-action-action-catalog.types.d.ts → meta.d.ts} +72 -279
  19. package/build/internal/meta.js +537 -0
  20. package/build/internal/meta.js.map +1 -0
  21. package/build/internal/meta.mjs +502 -0
  22. package/build/internal/meta.mjs.map +1 -0
  23. package/build/{cjs/src/automations-actioncatalog-v1-action-action-catalog.types.d.ts → meta.d.mts} +72 -279
  24. package/build/{internal/es/src/automations-actioncatalog-v1-action-action-catalog.types.d.ts → meta.d.ts} +72 -279
  25. package/build/meta.js +537 -0
  26. package/build/meta.js.map +1 -0
  27. package/build/meta.mjs +502 -0
  28. package/build/meta.mjs.map +1 -0
  29. package/package.json +13 -12
  30. package/build/cjs/index.d.ts +0 -1
  31. package/build/cjs/index.js +0 -18
  32. package/build/cjs/index.js.map +0 -1
  33. package/build/cjs/index.typings.d.ts +0 -1
  34. package/build/cjs/index.typings.js +0 -18
  35. package/build/cjs/index.typings.js.map +0 -1
  36. package/build/cjs/meta.d.ts +0 -1
  37. package/build/cjs/meta.js +0 -18
  38. package/build/cjs/meta.js.map +0 -1
  39. package/build/cjs/src/automations-actioncatalog-v1-action-action-catalog.context.d.ts +0 -13
  40. package/build/cjs/src/automations-actioncatalog-v1-action-action-catalog.context.js +0 -22
  41. package/build/cjs/src/automations-actioncatalog-v1-action-action-catalog.context.js.map +0 -1
  42. package/build/cjs/src/automations-actioncatalog-v1-action-action-catalog.http.d.ts +0 -27
  43. package/build/cjs/src/automations-actioncatalog-v1-action-action-catalog.http.js +0 -349
  44. package/build/cjs/src/automations-actioncatalog-v1-action-action-catalog.http.js.map +0 -1
  45. package/build/cjs/src/automations-actioncatalog-v1-action-action-catalog.meta.d.ts +0 -26
  46. package/build/cjs/src/automations-actioncatalog-v1-action-action-catalog.meta.js +0 -199
  47. package/build/cjs/src/automations-actioncatalog-v1-action-action-catalog.meta.js.map +0 -1
  48. package/build/cjs/src/automations-actioncatalog-v1-action-action-catalog.public.d.ts +0 -84
  49. package/build/cjs/src/automations-actioncatalog-v1-action-action-catalog.public.js +0 -67
  50. package/build/cjs/src/automations-actioncatalog-v1-action-action-catalog.public.js.map +0 -1
  51. package/build/cjs/src/automations-actioncatalog-v1-action-action-catalog.types.js +0 -51
  52. package/build/cjs/src/automations-actioncatalog-v1-action-action-catalog.types.js.map +0 -1
  53. package/build/cjs/src/automations-actioncatalog-v1-action-action-catalog.universal.js +0 -490
  54. package/build/cjs/src/automations-actioncatalog-v1-action-action-catalog.universal.js.map +0 -1
  55. package/build/es/index.d.ts +0 -1
  56. package/build/es/index.js +0 -2
  57. package/build/es/index.js.map +0 -1
  58. package/build/es/index.typings.d.ts +0 -1
  59. package/build/es/index.typings.js +0 -2
  60. package/build/es/index.typings.js.map +0 -1
  61. package/build/es/meta.d.ts +0 -1
  62. package/build/es/meta.js +0 -2
  63. package/build/es/meta.js.map +0 -1
  64. package/build/es/package.json +0 -3
  65. package/build/es/src/automations-actioncatalog-v1-action-action-catalog.context.d.ts +0 -13
  66. package/build/es/src/automations-actioncatalog-v1-action-action-catalog.context.js +0 -13
  67. package/build/es/src/automations-actioncatalog-v1-action-action-catalog.context.js.map +0 -1
  68. package/build/es/src/automations-actioncatalog-v1-action-action-catalog.http.d.ts +0 -27
  69. package/build/es/src/automations-actioncatalog-v1-action-action-catalog.http.js +0 -337
  70. package/build/es/src/automations-actioncatalog-v1-action-action-catalog.http.js.map +0 -1
  71. package/build/es/src/automations-actioncatalog-v1-action-action-catalog.meta.d.ts +0 -26
  72. package/build/es/src/automations-actioncatalog-v1-action-action-catalog.meta.js +0 -164
  73. package/build/es/src/automations-actioncatalog-v1-action-action-catalog.meta.js.map +0 -1
  74. package/build/es/src/automations-actioncatalog-v1-action-action-catalog.public.d.ts +0 -84
  75. package/build/es/src/automations-actioncatalog-v1-action-action-catalog.public.js +0 -49
  76. package/build/es/src/automations-actioncatalog-v1-action-action-catalog.public.js.map +0 -1
  77. package/build/es/src/automations-actioncatalog-v1-action-action-catalog.types.js +0 -48
  78. package/build/es/src/automations-actioncatalog-v1-action-action-catalog.types.js.map +0 -1
  79. package/build/es/src/automations-actioncatalog-v1-action-action-catalog.universal.js +0 -455
  80. package/build/es/src/automations-actioncatalog-v1-action-action-catalog.universal.js.map +0 -1
  81. package/build/internal/cjs/index.d.ts +0 -1
  82. package/build/internal/cjs/index.js +0 -18
  83. package/build/internal/cjs/index.js.map +0 -1
  84. package/build/internal/cjs/index.typings.d.ts +0 -1
  85. package/build/internal/cjs/index.typings.js +0 -18
  86. package/build/internal/cjs/index.typings.js.map +0 -1
  87. package/build/internal/cjs/meta.d.ts +0 -1
  88. package/build/internal/cjs/meta.js +0 -18
  89. package/build/internal/cjs/meta.js.map +0 -1
  90. package/build/internal/cjs/src/automations-actioncatalog-v1-action-action-catalog.context.d.ts +0 -13
  91. package/build/internal/cjs/src/automations-actioncatalog-v1-action-action-catalog.context.js +0 -22
  92. package/build/internal/cjs/src/automations-actioncatalog-v1-action-action-catalog.context.js.map +0 -1
  93. package/build/internal/cjs/src/automations-actioncatalog-v1-action-action-catalog.http.d.ts +0 -27
  94. package/build/internal/cjs/src/automations-actioncatalog-v1-action-action-catalog.http.js +0 -349
  95. package/build/internal/cjs/src/automations-actioncatalog-v1-action-action-catalog.http.js.map +0 -1
  96. package/build/internal/cjs/src/automations-actioncatalog-v1-action-action-catalog.meta.d.ts +0 -26
  97. package/build/internal/cjs/src/automations-actioncatalog-v1-action-action-catalog.meta.js +0 -199
  98. package/build/internal/cjs/src/automations-actioncatalog-v1-action-action-catalog.meta.js.map +0 -1
  99. package/build/internal/cjs/src/automations-actioncatalog-v1-action-action-catalog.public.d.ts +0 -84
  100. package/build/internal/cjs/src/automations-actioncatalog-v1-action-action-catalog.public.js +0 -67
  101. package/build/internal/cjs/src/automations-actioncatalog-v1-action-action-catalog.public.js.map +0 -1
  102. package/build/internal/cjs/src/automations-actioncatalog-v1-action-action-catalog.types.js +0 -51
  103. package/build/internal/cjs/src/automations-actioncatalog-v1-action-action-catalog.types.js.map +0 -1
  104. package/build/internal/cjs/src/automations-actioncatalog-v1-action-action-catalog.universal.js +0 -490
  105. package/build/internal/cjs/src/automations-actioncatalog-v1-action-action-catalog.universal.js.map +0 -1
  106. package/build/internal/es/index.d.ts +0 -1
  107. package/build/internal/es/index.js +0 -2
  108. package/build/internal/es/index.js.map +0 -1
  109. package/build/internal/es/index.typings.d.ts +0 -1
  110. package/build/internal/es/index.typings.js +0 -2
  111. package/build/internal/es/index.typings.js.map +0 -1
  112. package/build/internal/es/meta.d.ts +0 -1
  113. package/build/internal/es/meta.js +0 -2
  114. package/build/internal/es/meta.js.map +0 -1
  115. package/build/internal/es/src/automations-actioncatalog-v1-action-action-catalog.context.d.ts +0 -13
  116. package/build/internal/es/src/automations-actioncatalog-v1-action-action-catalog.context.js +0 -13
  117. package/build/internal/es/src/automations-actioncatalog-v1-action-action-catalog.context.js.map +0 -1
  118. package/build/internal/es/src/automations-actioncatalog-v1-action-action-catalog.http.d.ts +0 -27
  119. package/build/internal/es/src/automations-actioncatalog-v1-action-action-catalog.http.js +0 -337
  120. package/build/internal/es/src/automations-actioncatalog-v1-action-action-catalog.http.js.map +0 -1
  121. package/build/internal/es/src/automations-actioncatalog-v1-action-action-catalog.meta.d.ts +0 -26
  122. package/build/internal/es/src/automations-actioncatalog-v1-action-action-catalog.meta.js +0 -164
  123. package/build/internal/es/src/automations-actioncatalog-v1-action-action-catalog.meta.js.map +0 -1
  124. package/build/internal/es/src/automations-actioncatalog-v1-action-action-catalog.public.d.ts +0 -84
  125. package/build/internal/es/src/automations-actioncatalog-v1-action-action-catalog.public.js +0 -49
  126. package/build/internal/es/src/automations-actioncatalog-v1-action-action-catalog.public.js.map +0 -1
  127. package/build/internal/es/src/automations-actioncatalog-v1-action-action-catalog.types.js +0 -48
  128. package/build/internal/es/src/automations-actioncatalog-v1-action-action-catalog.types.js.map +0 -1
  129. package/build/internal/es/src/automations-actioncatalog-v1-action-action-catalog.universal.js +0 -455
  130. package/build/internal/es/src/automations-actioncatalog-v1-action-action-catalog.universal.js.map +0 -1
@@ -0,0 +1,94 @@
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.mjs';
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.mjs';
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 };
@@ -0,0 +1,94 @@
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 };