@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,5 +1,4 @@
1
- import { NonNullablePaths } from '@wix/sdk-types';
2
- export interface Action {
1
+ interface Action {
3
2
  /**
4
3
  * Action ID.
5
4
  * @format GUID
@@ -73,7 +72,7 @@ export interface Action {
73
72
  */
74
73
  componentVersion?: string | null;
75
74
  }
76
- export declare enum Type {
75
+ declare enum Type {
77
76
  /** Unknown action configuration UI. */
78
77
  UNKNOWN_TYPE = "UNKNOWN_TYPE",
79
78
  /**
@@ -83,8 +82,8 @@ export declare enum Type {
83
82
  GENERIC = "GENERIC"
84
83
  }
85
84
  /** @enumType */
86
- export type TypeWithLiterals = Type | 'UNKNOWN_TYPE' | 'GENERIC';
87
- export interface WidgetComponentOptions {
85
+ type TypeWithLiterals = Type | 'UNKNOWN_TYPE' | 'GENERIC';
86
+ interface WidgetComponentOptions {
88
87
  /**
89
88
  * Widget component name.
90
89
  * @minLength 1
@@ -92,11 +91,11 @@ export interface WidgetComponentOptions {
92
91
  */
93
92
  componentName?: string;
94
93
  }
95
- export interface GenericOptions {
94
+ interface GenericOptions {
96
95
  /** UI schema. */
97
96
  uiSchema?: Record<string, any> | null;
98
97
  }
99
- export declare enum SourceType {
98
+ declare enum SourceType {
100
99
  UNKNOWN_SOURCE_TYPE = "UNKNOWN_SOURCE_TYPE",
101
100
  /** The input/output schemas are constructed by developers in Dev Center using the self-service flow */
102
101
  DEV_CENTER = "DEV_CENTER",
@@ -104,8 +103,8 @@ export declare enum SourceType {
104
103
  WIX_API = "WIX_API"
105
104
  }
106
105
  /** @enumType */
107
- export type SourceTypeWithLiterals = SourceType | 'UNKNOWN_SOURCE_TYPE' | 'DEV_CENTER' | 'WIX_API';
108
- export interface WixApiOptions {
106
+ type SourceTypeWithLiterals = SourceType | 'UNKNOWN_SOURCE_TYPE' | 'DEV_CENTER' | 'WIX_API';
107
+ interface WixApiOptions {
109
108
  /**
110
109
  * Service entity fqdn
111
110
  * @minLength 1
@@ -125,11 +124,11 @@ export interface WixApiOptions {
125
124
  */
126
125
  methodName?: string;
127
126
  }
128
- export interface Metadata {
127
+ interface Metadata {
129
128
  /** Whether the action is only shown to advanced mode users (Wix staff). */
130
129
  hidden?: boolean;
131
130
  }
132
- export interface ImplementedMethods {
131
+ interface ImplementedMethods {
133
132
  /** Whether Validate Configuration is implemented. */
134
133
  validateConfiguration?: boolean;
135
134
  /** Whether Duplicate Input Mapping is implemented. */
@@ -153,7 +152,7 @@ export interface ImplementedMethods {
153
152
  /** Whether Get Dynamic Output Schema is implemented. */
154
153
  getDynamicOutputSchema?: boolean;
155
154
  }
156
- export declare enum ExecutionType {
155
+ declare enum ExecutionType {
157
156
  /** Unknown type. */
158
157
  UNKNOWN_EXECUTION_TYPE = "UNKNOWN_EXECUTION_TYPE",
159
158
  /** Action completes immediately. */
@@ -162,19 +161,19 @@ export declare enum ExecutionType {
162
161
  ASYNC = "ASYNC"
163
162
  }
164
163
  /** @enumType */
165
- export type ExecutionTypeWithLiterals = ExecutionType | 'UNKNOWN_EXECUTION_TYPE' | 'SYNC' | 'ASYNC';
166
- export interface InterfaceConfiguration extends InterfaceConfigurationOptionsOneOf {
164
+ type ExecutionTypeWithLiterals = ExecutionType | 'UNKNOWN_EXECUTION_TYPE' | 'SYNC' | 'ASYNC';
165
+ interface InterfaceConfiguration extends InterfaceConfigurationOptionsOneOf {
167
166
  /** Details for the generic UI. */
168
167
  genericOptions?: GenericOptions;
169
168
  /** Type of action configuration UI. */
170
169
  type?: TypeWithLiterals;
171
170
  }
172
171
  /** @oneof */
173
- export interface InterfaceConfigurationOptionsOneOf {
172
+ interface InterfaceConfigurationOptionsOneOf {
174
173
  /** Details for the generic UI. */
175
174
  genericOptions?: GenericOptions;
176
175
  }
177
- export interface FocalPoint {
176
+ interface FocalPoint {
178
177
  /** X-coordinate of the focal point. */
179
178
  x?: number;
180
179
  /** Y-coordinate of the focal point. */
@@ -184,18 +183,18 @@ export interface FocalPoint {
184
183
  /** crop by width */
185
184
  width?: number | null;
186
185
  }
187
- export interface Source extends SourceOptionsOneOf {
186
+ interface Source extends SourceOptionsOneOf {
188
187
  /** Wix API options */
189
188
  wixApiOptions?: WixApiOptions;
190
189
  /** the source type */
191
190
  type?: SourceTypeWithLiterals;
192
191
  }
193
192
  /** @oneof */
194
- export interface SourceOptionsOneOf {
193
+ interface SourceOptionsOneOf {
195
194
  /** Wix API options */
196
195
  wixApiOptions?: WixApiOptions;
197
196
  }
198
- export interface RetryExperimentCreation {
197
+ interface RetryExperimentCreation {
199
198
  /** action spec info */
200
199
  actionSpecInfo?: ActionSpecInfo;
201
200
  /**
@@ -211,7 +210,7 @@ export interface RetryExperimentCreation {
211
210
  */
212
211
  componentId?: string;
213
212
  }
214
- export interface ActionSpecInfo {
213
+ interface ActionSpecInfo {
215
214
  /**
216
215
  * Spec to conduct on for the automation
217
216
  * @maxLength 128
@@ -229,15 +228,15 @@ export interface ActionSpecInfo {
229
228
  */
230
229
  experimentVersion?: number;
231
230
  }
232
- export declare enum ExperimentActionType {
231
+ declare enum ExperimentActionType {
233
232
  UNKNOWN_ACTION = "UNKNOWN_ACTION",
234
233
  CREATE_COMPONENT = "CREATE_COMPONENT",
235
234
  UPDATE_COMPONENT = "UPDATE_COMPONENT",
236
235
  DELETE_COMPONENT = "DELETE_COMPONENT"
237
236
  }
238
237
  /** @enumType */
239
- export type ExperimentActionTypeWithLiterals = ExperimentActionType | 'UNKNOWN_ACTION' | 'CREATE_COMPONENT' | 'UPDATE_COMPONENT' | 'DELETE_COMPONENT';
240
- export interface CreateActionRequest {
238
+ type ExperimentActionTypeWithLiterals = ExperimentActionType | 'UNKNOWN_ACTION' | 'CREATE_COMPONENT' | 'UPDATE_COMPONENT' | 'DELETE_COMPONENT';
239
+ interface CreateActionRequest {
241
240
  /** The action to create */
242
241
  action?: Action;
243
242
  /** Action spec info */
@@ -248,21 +247,21 @@ export interface CreateActionRequest {
248
247
  */
249
248
  baseUri?: string;
250
249
  }
251
- export interface CreateActionResponse {
250
+ interface CreateActionResponse {
252
251
  /** The created action */
253
252
  action?: Action;
254
253
  }
255
- export interface UpdateActionRequest {
254
+ interface UpdateActionRequest {
256
255
  /** Action Configuration */
257
256
  action?: Action;
258
257
  /** Action spec info */
259
258
  actionSpecInfo?: ActionSpecInfo;
260
259
  }
261
- export interface UpdateActionResponse {
260
+ interface UpdateActionResponse {
262
261
  /** Action Configuration */
263
262
  updatedAction?: Action;
264
263
  }
265
- export interface DeleteActionRequest {
264
+ interface DeleteActionRequest {
266
265
  /**
267
266
  * The action App Id
268
267
  * @format GUID
@@ -275,9 +274,9 @@ export interface DeleteActionRequest {
275
274
  */
276
275
  actionKey: string;
277
276
  }
278
- export interface DeleteActionResponse {
277
+ interface DeleteActionResponse {
279
278
  }
280
- export interface MigrateComponentToActionRequest {
279
+ interface MigrateComponentToActionRequest {
281
280
  /**
282
281
  * The action App Id
283
282
  * @format GUID
@@ -289,19 +288,19 @@ export interface MigrateComponentToActionRequest {
289
288
  */
290
289
  componentId?: string;
291
290
  }
292
- export interface MigrateComponentToActionResponse {
291
+ interface MigrateComponentToActionResponse {
293
292
  }
294
- export interface GetRuntimeActionRequest {
293
+ interface GetRuntimeActionRequest {
295
294
  /** The action App Id */
296
295
  appId: string;
297
296
  /** Action key */
298
297
  actionKey: string;
299
298
  }
300
- export interface GetRuntimeActionResponse {
299
+ interface GetRuntimeActionResponse {
301
300
  /** Action Configuration */
302
301
  action?: Action;
303
302
  }
304
- export interface GetActionDynamicInputSchemaRequest {
303
+ interface GetActionDynamicInputSchemaRequest {
305
304
  /**
306
305
  * The App ID of the action's owner.
307
306
  * @format GUID
@@ -321,17 +320,17 @@ export interface GetActionDynamicInputSchemaRequest {
321
320
  */
322
321
  inputMapping: Record<string, any> | null;
323
322
  }
324
- export interface GetActionDynamicInputSchemaResponse {
323
+ interface GetActionDynamicInputSchemaResponse {
325
324
  /** A [JSON schema](https://json-schema.org/) containing the action's added dynamic fields and its static fields. */
326
325
  inputSchema?: Record<string, any> | null;
327
326
  /** A [UI schema](https://bo.wix.com/pages/automations-ui-lib/?path=/story/getting-started--about) is a JSON Schema that describes the UI of the static and dynamic fields. */
328
327
  uiSchema?: Record<string, any> | null;
329
328
  }
330
- export interface ResolveActionsRequest {
329
+ interface ResolveActionsRequest {
331
330
  /** Query options. */
332
331
  query?: QueryV2;
333
332
  }
334
- export interface QueryV2 extends QueryV2PagingMethodOneOf {
333
+ interface QueryV2 extends QueryV2PagingMethodOneOf {
335
334
  /** Paging options to limit and skip the number of items. */
336
335
  paging?: Paging;
337
336
  /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
@@ -354,13 +353,13 @@ export interface QueryV2 extends QueryV2PagingMethodOneOf {
354
353
  fieldsets?: string[];
355
354
  }
356
355
  /** @oneof */
357
- export interface QueryV2PagingMethodOneOf {
356
+ interface QueryV2PagingMethodOneOf {
358
357
  /** Paging options to limit and skip the number of items. */
359
358
  paging?: Paging;
360
359
  /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
361
360
  cursorPaging?: CursorPaging;
362
361
  }
363
- export interface Sorting {
362
+ interface Sorting {
364
363
  /**
365
364
  * Name of the field to sort by.
366
365
  * @maxLength 512
@@ -369,19 +368,19 @@ export interface Sorting {
369
368
  /** Sort order. */
370
369
  order?: SortOrderWithLiterals;
371
370
  }
372
- export declare enum SortOrder {
371
+ declare enum SortOrder {
373
372
  ASC = "ASC",
374
373
  DESC = "DESC"
375
374
  }
376
375
  /** @enumType */
377
- export type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
378
- export interface Paging {
376
+ type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
377
+ interface Paging {
379
378
  /** Number of items to load. */
380
379
  limit?: number | null;
381
380
  /** Number of items to skip in the current sort order. */
382
381
  offset?: number | null;
383
382
  }
384
- export interface CursorPaging {
383
+ interface CursorPaging {
385
384
  /**
386
385
  * Maximum number of items to return in the results.
387
386
  * @max 100
@@ -396,13 +395,13 @@ export interface CursorPaging {
396
395
  */
397
396
  cursor?: string | null;
398
397
  }
399
- export interface ResolveActionsResponse {
398
+ interface ResolveActionsResponse {
400
399
  /** Retrieved actions. */
401
400
  actions?: Action[];
402
401
  /** Paging metadata of the response. */
403
402
  paging?: PagingMetadataV2;
404
403
  }
405
- export interface PagingMetadataV2 {
404
+ interface PagingMetadataV2 {
406
405
  /** Number of items returned in the response. */
407
406
  count?: number | null;
408
407
  /** Offset that was requested. */
@@ -414,7 +413,7 @@ export interface PagingMetadataV2 {
414
413
  /** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
415
414
  cursors?: Cursors;
416
415
  }
417
- export interface Cursors {
416
+ interface Cursors {
418
417
  /**
419
418
  * Cursor string pointing to the next page in the list of results.
420
419
  * @maxLength 16000
@@ -426,7 +425,7 @@ export interface Cursors {
426
425
  */
427
426
  prev?: string | null;
428
427
  }
429
- export interface CopyInputMappingRequest {
428
+ interface CopyInputMappingRequest {
430
429
  /**
431
430
  * Action app id
432
431
  * @format GUID
@@ -440,11 +439,11 @@ export interface CopyInputMappingRequest {
440
439
  /** Action input mapping */
441
440
  inputMapping: Record<string, any> | null;
442
441
  }
443
- export interface CopyInputMappingResponse {
442
+ interface CopyInputMappingResponse {
444
443
  /** New action input mapping */
445
444
  inputMapping?: Record<string, any> | null;
446
445
  }
447
- export interface GetActionDynamicOutputSchemaRequest {
446
+ interface GetActionDynamicOutputSchemaRequest {
448
447
  /**
449
448
  * The App ID of the action's owner.
450
449
  * @format GUID
@@ -465,11 +464,11 @@ export interface GetActionDynamicOutputSchemaRequest {
465
464
  */
466
465
  inputMapping: Record<string, any> | null;
467
466
  }
468
- export interface GetActionDynamicOutputSchemaResponse {
467
+ interface GetActionDynamicOutputSchemaResponse {
469
468
  /** A [JSON schema](https://json-schema.org/) containing the action's output schema. */
470
469
  outputSchema?: Record<string, any> | null;
471
470
  }
472
- export interface BulkGetActionDynamicOutputSchemasRequest {
471
+ interface BulkGetActionDynamicOutputSchemasRequest {
473
472
  /**
474
473
  * list of actions details which will be used to generate the output schemas
475
474
  * @maxSize 20
@@ -477,7 +476,7 @@ export interface BulkGetActionDynamicOutputSchemasRequest {
477
476
  */
478
477
  actionsInputMappings: ActionInputMappings[];
479
478
  }
480
- export interface ActionInputMappings {
479
+ interface ActionInputMappings {
481
480
  /**
482
481
  * The App ID of the action's owner.
483
482
  * @format GUID
@@ -503,13 +502,13 @@ export interface ActionInputMappings {
503
502
  */
504
503
  inputMapping?: Record<string, any> | null;
505
504
  }
506
- export interface BulkGetActionDynamicOutputSchemasResponse {
505
+ interface BulkGetActionDynamicOutputSchemasResponse {
507
506
  /** list of action output schemas */
508
507
  results?: BulkActionOutputSchemaResult[];
509
508
  /** metadata of the bulk action */
510
509
  bulkActionMetadata?: BulkActionMetadata;
511
510
  }
512
- export interface ItemMetadata {
511
+ interface ItemMetadata {
513
512
  /**
514
513
  * Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).
515
514
  * @format GUID
@@ -522,7 +521,7 @@ export interface ItemMetadata {
522
521
  /** Details about the error in case of failure. */
523
522
  error?: ApplicationError;
524
523
  }
525
- export interface ApplicationError {
524
+ interface ApplicationError {
526
525
  /** Error code. */
527
526
  code?: string;
528
527
  /** Description of the error. */
@@ -530,12 +529,12 @@ export interface ApplicationError {
530
529
  /** Data related to the error. */
531
530
  data?: Record<string, any> | null;
532
531
  }
533
- export interface BulkActionOutputSchemaResult {
532
+ interface BulkActionOutputSchemaResult {
534
533
  itemMetadata?: ItemMetadata;
535
534
  /** A [JSON schema](https://json-schema.org/) containing the action's output schema. */
536
535
  outputSchema?: Record<string, any> | null;
537
536
  }
538
- export interface BulkActionMetadata {
537
+ interface BulkActionMetadata {
539
538
  /** Number of items that were successfully processed. */
540
539
  totalSuccesses?: number;
541
540
  /** Number of items that couldn't be processed. */
@@ -543,7 +542,7 @@ export interface BulkActionMetadata {
543
542
  /** Number of failures without details because detailed failure threshold was exceeded. */
544
543
  undetailedFailures?: number;
545
544
  }
546
- export interface DomainEvent extends DomainEventBodyOneOf {
545
+ interface DomainEvent extends DomainEventBodyOneOf {
547
546
  createdEvent?: EntityCreatedEvent;
548
547
  updatedEvent?: EntityUpdatedEvent;
549
548
  deletedEvent?: EntityDeletedEvent;
@@ -578,19 +577,19 @@ export interface DomainEvent extends DomainEventBodyOneOf {
578
577
  entityEventSequence?: string | null;
579
578
  }
580
579
  /** @oneof */
581
- export interface DomainEventBodyOneOf {
580
+ interface DomainEventBodyOneOf {
582
581
  createdEvent?: EntityCreatedEvent;
583
582
  updatedEvent?: EntityUpdatedEvent;
584
583
  deletedEvent?: EntityDeletedEvent;
585
584
  actionEvent?: ActionEvent;
586
585
  }
587
- export interface EntityCreatedEvent {
586
+ interface EntityCreatedEvent {
588
587
  entity?: string;
589
588
  }
590
- export interface RestoreInfo {
589
+ interface RestoreInfo {
591
590
  deletedDate?: Date | null;
592
591
  }
593
- export interface EntityUpdatedEvent {
592
+ interface EntityUpdatedEvent {
594
593
  /**
595
594
  * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
596
595
  * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
@@ -598,14 +597,14 @@ export interface EntityUpdatedEvent {
598
597
  */
599
598
  currentEntity?: string;
600
599
  }
601
- export interface EntityDeletedEvent {
600
+ interface EntityDeletedEvent {
602
601
  /** Entity that was deleted. */
603
602
  deletedEntity?: string | null;
604
603
  }
605
- export interface ActionEvent {
604
+ interface ActionEvent {
606
605
  body?: string;
607
606
  }
608
- export interface MessageEnvelope {
607
+ interface MessageEnvelope {
609
608
  /**
610
609
  * App instance ID.
611
610
  * @format GUID
@@ -621,7 +620,7 @@ export interface MessageEnvelope {
621
620
  /** Stringify payload. */
622
621
  data?: string;
623
622
  }
624
- export interface IdentificationData extends IdentificationDataIdOneOf {
623
+ interface IdentificationData extends IdentificationDataIdOneOf {
625
624
  /**
626
625
  * ID of a site visitor that has not logged in to the site.
627
626
  * @format GUID
@@ -646,7 +645,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
646
645
  identityType?: WebhookIdentityTypeWithLiterals;
647
646
  }
648
647
  /** @oneof */
649
- export interface IdentificationDataIdOneOf {
648
+ interface IdentificationDataIdOneOf {
650
649
  /**
651
650
  * ID of a site visitor that has not logged in to the site.
652
651
  * @format GUID
@@ -668,7 +667,7 @@ export interface IdentificationDataIdOneOf {
668
667
  */
669
668
  appId?: string;
670
669
  }
671
- export declare enum WebhookIdentityType {
670
+ declare enum WebhookIdentityType {
672
671
  UNKNOWN = "UNKNOWN",
673
672
  ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
674
673
  MEMBER = "MEMBER",
@@ -676,19 +675,8 @@ export declare enum WebhookIdentityType {
676
675
  APP = "APP"
677
676
  }
678
677
  /** @enumType */
679
- export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
680
- type ActionNonNullablePaths = `appId` | `actionKey` | `implementedMethods.validateConfiguration` | `implementedMethods.duplicateInputMapping` | `implementedMethods.generateApplicationAutomationInputMapping` | `implementedMethods.getQuotaInfo` | `implementedMethods.onBeforeSave` | `implementedMethods.onReset` | `implementedMethods.generateActionInputMappingFromTemplate` | `implementedMethods.onRemove` | `implementedMethods.getDynamicInputSchema` | `implementedMethods.mergeInputMappings` | `implementedMethods.getDynamicOutputSchema` | `executionType` | `interfaceConfiguration.type`;
681
- /**
682
- * Create an action
683
- * @public
684
- * @documentationMaturity preview
685
- * @requiredField options.action.actionKey
686
- * @requiredField options.action.appId
687
- * @returns The created action
688
- * @fqn wix.automations.actioncatalog.v1.ActionCatalogService.CreateAction
689
- */
690
- export declare function createAction(options?: NonNullablePaths<CreateActionOptions, `action.actionKey` | `action.appId`>): Promise<NonNullablePaths<Action, ActionNonNullablePaths>>;
691
- export interface CreateActionOptions {
678
+ type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
679
+ interface CreateActionOptions {
692
680
  /** The action to create */
693
681
  action?: Action;
694
682
  /** Action spec info */
@@ -699,19 +687,7 @@ export interface CreateActionOptions {
699
687
  */
700
688
  baseUri?: string;
701
689
  }
702
- /**
703
- * Create a new version for a trigger, update the latest version of the component to point to this trigger
704
- * @param _id - Action ID.
705
- * @public
706
- * @documentationMaturity preview
707
- * @requiredField _id
708
- * @requiredField options.action.actionKey
709
- * @requiredField options.action.appId
710
- * @returns Action Configuration
711
- * @fqn wix.automations.actioncatalog.v1.ActionCatalogService.UpdateAction
712
- */
713
- export declare function updateAction(_id: string, options?: NonNullablePaths<UpdateActionOptions, `action.actionKey` | `action.appId`>): Promise<NonNullablePaths<Action, ActionNonNullablePaths>>;
714
- export interface UpdateActionOptions {
690
+ interface UpdateActionOptions {
715
691
  action: {
716
692
  /**
717
693
  * Action ID.
@@ -789,18 +765,7 @@ export interface UpdateActionOptions {
789
765
  /** Action spec info */
790
766
  actionSpecInfo?: ActionSpecInfo;
791
767
  }
792
- /**
793
- * Delete a trigger by app id and key
794
- * @param actionAppId - The action App Id
795
- * @public
796
- * @documentationMaturity preview
797
- * @requiredField actionAppId
798
- * @requiredField options
799
- * @requiredField options.actionKey
800
- * @fqn wix.automations.actioncatalog.v1.ActionCatalogService.DeleteAction
801
- */
802
- export declare function deleteAction(actionAppId: string, options: NonNullablePaths<DeleteActionOptions, `actionKey`>): Promise<void>;
803
- export interface DeleteActionOptions {
768
+ interface DeleteActionOptions {
804
769
  /**
805
770
  * Action Configuration key
806
771
  * @minLength 1
@@ -808,48 +773,13 @@ export interface DeleteActionOptions {
808
773
  */
809
774
  actionKey: string;
810
775
  }
811
- /**
812
- * Returns action configuration by action key
813
- * @public
814
- * @documentationMaturity preview
815
- * @requiredField identifiers
816
- * @requiredField identifiers.actionKey
817
- * @requiredField identifiers.appId
818
- * @permissionId AUTOMATIONS.ACTION_READ
819
- * @permissionScope Manage Stores
820
- * @permissionScopeId SCOPE.STORES.MANAGE-STORES
821
- * @permissionScope Set Up Automations
822
- * @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS
823
- * @applicableIdentity APP
824
- * @returns Action Configuration
825
- * @fqn wix.automations.actioncatalog.v1.ActionCatalogService.GetRuntimeAction
826
- */
827
- export declare function getRuntimeAction(identifiers: NonNullablePaths<GetRuntimeActionIdentifiers, `actionKey` | `appId`>): Promise<NonNullablePaths<Action, ActionNonNullablePaths>>;
828
- export interface GetRuntimeActionIdentifiers {
776
+ interface GetRuntimeActionIdentifiers {
829
777
  /** The action App Id */
830
778
  appId: string;
831
779
  /** Action key */
832
780
  actionKey: string;
833
781
  }
834
- /**
835
- * Returns action dynamic schema and ui schema for the given action key and input mapping (action config)
836
- * @param appId - The App ID of the action's owner.
837
- * @public
838
- * @documentationMaturity preview
839
- * @requiredField appId
840
- * @requiredField options
841
- * @requiredField options.actionKey
842
- * @requiredField options.inputMapping
843
- * @permissionId AUTOMATIONS.ACTION_READ
844
- * @permissionScope Manage Stores
845
- * @permissionScopeId SCOPE.STORES.MANAGE-STORES
846
- * @permissionScope Set Up Automations
847
- * @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS
848
- * @applicableIdentity APP
849
- * @fqn wix.automations.actioncatalog.v1.ActionCatalogService.GetActionDynamicInputSchema
850
- */
851
- export declare function getActionDynamicInputSchema(appId: string, options: NonNullablePaths<GetActionDynamicInputSchemaOptions, `actionKey` | `inputMapping`>): Promise<GetActionDynamicInputSchemaResponse>;
852
- export interface GetActionDynamicInputSchemaOptions {
782
+ interface GetActionDynamicInputSchemaOptions {
853
783
  /**
854
784
  * Action key as defined in an app's action configuration in the Wix Developers Center.
855
785
  * For example, `send-email` or `generate-invoice`.
@@ -864,50 +794,11 @@ export interface GetActionDynamicInputSchemaOptions {
864
794
  */
865
795
  inputMapping: Record<string, any> | null;
866
796
  }
867
- /**
868
- * Returns action configurations that are installed on the site and exposed to Wix users.
869
- * @public
870
- * @documentationMaturity preview
871
- * @permissionId AUTOMATIONS.ACTION_READ
872
- * @permissionScope Manage Stores
873
- * @permissionScopeId SCOPE.STORES.MANAGE-STORES
874
- * @permissionScope Set Up Automations
875
- * @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS
876
- * @applicableIdentity APP
877
- * @fqn wix.automations.actioncatalog.v1.ActionCatalogService.ResolveActions
878
- */
879
- export declare function resolveActions(options?: ResolveActionsOptions): Promise<NonNullablePaths<ResolveActionsResponse, {
880
- [P in ActionNonNullablePaths]: `actions.${number}.${P}`;
881
- }[ActionNonNullablePaths]>>;
882
- export interface ResolveActionsOptions {
797
+ interface ResolveActionsOptions {
883
798
  /** Query options. */
884
799
  query?: QueryV2;
885
800
  }
886
- /**
887
- * Get action input mapping copy
888
- * The main use case is to call this method from the automations editor, when the user wants to copy an action. So
889
- * this method is getting an input mapping of an existing action and returns a changed input mapping. It's changing
890
- * the input mapping by passing it through the SPI endpoint of `DuplicateInputMapping` in the case that this SPI
891
- * endpoint is implemented.
892
- * A possible usage is by `triggered-email` action - Wix Emails need to change the `messageId` inside the input mapping
893
- * so such that the `messageId` stays unique across multiple actions.
894
- * @param appId - Action app id
895
- * @public
896
- * @documentationMaturity preview
897
- * @requiredField appId
898
- * @requiredField options
899
- * @requiredField options.actionKey
900
- * @requiredField options.inputMapping
901
- * @permissionId AUTOMATIONS.ACTION_COPY
902
- * @permissionScope Manage Stores
903
- * @permissionScopeId SCOPE.STORES.MANAGE-STORES
904
- * @permissionScope Set Up Automations
905
- * @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS
906
- * @applicableIdentity APP
907
- * @fqn wix.automations.actioncatalog.v1.ActionCatalogService.CopyInputMapping
908
- */
909
- export declare function copyInputMapping(appId: string, options: NonNullablePaths<CopyInputMappingOptions, `actionKey` | `inputMapping`>): Promise<CopyInputMappingResponse>;
910
- export interface CopyInputMappingOptions {
801
+ interface CopyInputMappingOptions {
911
802
  /**
912
803
  * Action key
913
804
  * @maxLength 100
@@ -916,25 +807,7 @@ export interface CopyInputMappingOptions {
916
807
  /** Action input mapping */
917
808
  inputMapping: Record<string, any> | null;
918
809
  }
919
- /**
920
- * Returns action dynamic output schema for the given action key and the [users] action configuration
921
- * @param appId - The App ID of the action's owner.
922
- * @public
923
- * @documentationMaturity preview
924
- * @requiredField appId
925
- * @requiredField options
926
- * @requiredField options.actionKey
927
- * @requiredField options.inputMapping
928
- * @permissionId AUTOMATIONS.ACTION_READ
929
- * @permissionScope Manage Stores
930
- * @permissionScopeId SCOPE.STORES.MANAGE-STORES
931
- * @permissionScope Set Up Automations
932
- * @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS
933
- * @applicableIdentity APP
934
- * @fqn wix.automations.actioncatalog.v1.ActionCatalogService.GetActionDynamicOutputSchema
935
- */
936
- export declare function getActionDynamicOutputSchema(appId: string, options: NonNullablePaths<GetActionDynamicOutputSchemaOptions, `actionKey` | `inputMapping`>): Promise<GetActionDynamicOutputSchemaResponse>;
937
- export interface GetActionDynamicOutputSchemaOptions {
810
+ interface GetActionDynamicOutputSchemaOptions {
938
811
  /**
939
812
  * Action key as defined in an app's action configuration in the Wix Developers Center.
940
813
  * For example, `send-email` or `generate-invoice`.
@@ -950,19 +823,5 @@ export interface GetActionDynamicOutputSchemaOptions {
950
823
  */
951
824
  inputMapping: Record<string, any> | null;
952
825
  }
953
- /**
954
- * Returns action dynamic output schema for the given actions
955
- * @param actionsInputMappings - list of actions details which will be used to generate the output schemas
956
- * @public
957
- * @documentationMaturity preview
958
- * @requiredField actionsInputMappings
959
- * @permissionId AUTOMATIONS.ACTION_READ
960
- * @permissionScope Manage Stores
961
- * @permissionScopeId SCOPE.STORES.MANAGE-STORES
962
- * @permissionScope Set Up Automations
963
- * @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS
964
- * @applicableIdentity APP
965
- * @fqn wix.automations.actioncatalog.v1.ActionCatalogService.BulkGetActionDynamicOutputSchemas
966
- */
967
- export declare function bulkGetActionDynamicOutputSchemas(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`>>;
968
- export {};
826
+
827
+ export { type GetActionDynamicOutputSchemaRequest as $, type Action as A, type BulkGetActionDynamicOutputSchemasResponse as B, type CreateActionOptions as C, type DeleteActionOptions as D, ExecutionType as E, type FocalPoint as F, type GetRuntimeActionIdentifiers as G, type MigrateComponentToActionResponse as H, type ImplementedMethods as I, type GetRuntimeActionRequest as J, type GetRuntimeActionResponse as K, type GetActionDynamicInputSchemaRequest as L, type Metadata as M, type ResolveActionsRequest as N, type QueryV2PagingMethodOneOf as O, type Sorting as P, type QueryV2 as Q, type ResolveActionsOptions as R, SourceType as S, Type as T, type UpdateActionOptions as U, type Paging as V, WebhookIdentityType as W, type CursorPaging as X, type PagingMetadataV2 as Y, type Cursors as Z, type CopyInputMappingRequest as _, type GetActionDynamicInputSchemaOptions as a, type BulkGetActionDynamicOutputSchemasRequest as a0, type ItemMetadata as a1, type ApplicationError as a2, type BulkActionOutputSchemaResult as a3, type BulkActionMetadata as a4, type DomainEvent as a5, type DomainEventBodyOneOf as a6, type EntityCreatedEvent as a7, type RestoreInfo as a8, type EntityUpdatedEvent as a9, type EntityDeletedEvent as aa, type ActionEvent as ab, type MessageEnvelope as ac, type IdentificationData as ad, type IdentificationDataIdOneOf as ae, type GetActionDynamicInputSchemaResponse as b, type ResolveActionsResponse as c, type CopyInputMappingOptions as d, type CopyInputMappingResponse as e, type GetActionDynamicOutputSchemaOptions as f, type GetActionDynamicOutputSchemaResponse as g, type ActionInputMappings as h, ExperimentActionType as i, SortOrder as j, type WidgetComponentOptions as k, type GenericOptions as l, type WixApiOptions as m, type InterfaceConfiguration as n, type InterfaceConfigurationOptionsOneOf as o, type Source as p, type SourceOptionsOneOf as q, type RetryExperimentCreation as r, type ActionSpecInfo as s, type CreateActionRequest as t, type CreateActionResponse as u, type UpdateActionRequest as v, type UpdateActionResponse as w, type DeleteActionRequest as x, type DeleteActionResponse as y, type MigrateComponentToActionRequest as z };