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