@membranehq/sdk 0.5.2 → 0.7.0

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 (96) hide show
  1. package/dist/bundle.d.ts +1828 -1832
  2. package/dist/bundle.js +32 -23
  3. package/dist/bundle.js.map +1 -1
  4. package/dist/dts/accessors/action-instances-accessors.d.ts +13 -10
  5. package/dist/dts/accessors/actions-accessors.d.ts +9 -9
  6. package/dist/dts/accessors/app-data-schema-instances-accessors.d.ts +3 -3
  7. package/dist/dts/accessors/app-data-schemas-accessors.d.ts +3 -3
  8. package/dist/dts/accessors/app-event-subscriptions-accessors.d.ts +3 -3
  9. package/dist/dts/accessors/app-event-types-accessors.d.ts +3 -3
  10. package/dist/dts/accessors/base-accessors.d.ts +8 -8
  11. package/dist/dts/accessors/connections-accessors.d.ts +15 -15
  12. package/dist/dts/accessors/customers-accessors.d.ts +5 -5
  13. package/dist/dts/accessors/data-link-table-instances-accessors.d.ts +3 -3
  14. package/dist/dts/accessors/data-link-tables-accessors.d.ts +3 -3
  15. package/dist/dts/accessors/data-sources-accessors.d.ts +14 -14
  16. package/dist/dts/accessors/external-event-subscriptions-accessors.d.ts +3 -3
  17. package/dist/dts/accessors/field-mapping-instances-accessors.d.ts +7 -7
  18. package/dist/dts/accessors/field-mappings-accessors.d.ts +7 -7
  19. package/dist/dts/accessors/flow-instances-accessors.d.ts +8 -8
  20. package/dist/dts/accessors/flow-runs-accessors.d.ts +3 -3
  21. package/dist/dts/accessors/flows-accessors.d.ts +7 -7
  22. package/dist/dts/accessors/integrations-accessors.d.ts +10 -10
  23. package/dist/dts/accessors/scenarios-accessors.d.ts +3 -3
  24. package/dist/dts/accessors/screens-accessors.d.ts +3 -3
  25. package/dist/dts/api-client.d.ts +3 -3
  26. package/dist/dts/auth/accessors.d.ts +2 -2
  27. package/dist/dts/client.d.ts +5 -5
  28. package/dist/dts/data-builder/index.d.ts +1 -1
  29. package/dist/dts/data-schema/arbitrary-fields.test.d.ts +1 -0
  30. package/dist/dts/data-schema/types.d.ts +1 -0
  31. package/dist/dts/error-tools/index.d.ts +1 -1
  32. package/dist/dts/errors/index.d.ts +24 -15
  33. package/dist/dts/formulas/base.d.ts +3 -1
  34. package/dist/dts/index.d.ts +2 -1
  35. package/dist/dts/index.umd.d.ts +2 -2
  36. package/dist/dts/integration-elements/connection-level-element.accessor.d.ts +5 -5
  37. package/dist/dts/integration-elements/integration-level-element.accessor.d.ts +5 -5
  38. package/dist/dts/workspace-elements/api/action-instances-api.d.ts +119 -65
  39. package/dist/dts/workspace-elements/api/action-run-log-records-api.d.ts +69 -90
  40. package/dist/dts/workspace-elements/api/actions-api.d.ts +253 -339
  41. package/dist/dts/workspace-elements/api/app-data-schema-instances-api.d.ts +21 -21
  42. package/dist/dts/workspace-elements/api/app-data-schemas-api.d.ts +7 -7
  43. package/dist/dts/workspace-elements/api/app-event-log-records-api.d.ts +22 -22
  44. package/dist/dts/workspace-elements/api/app-event-subscriptions-api.d.ts +18 -18
  45. package/dist/dts/workspace-elements/api/app-event-types-api.d.ts +7 -7
  46. package/dist/dts/workspace-elements/api/connections-api.d.ts +90 -89
  47. package/dist/dts/workspace-elements/api/data-link-table-instances-api.d.ts +50 -50
  48. package/dist/dts/workspace-elements/api/data-link-tables-api.d.ts +7 -7
  49. package/dist/dts/workspace-elements/api/data-source-instances-api.d.ts +55 -55
  50. package/dist/dts/workspace-elements/api/data-sources-api.d.ts +62 -62
  51. package/dist/dts/workspace-elements/api/external-event-log-records-api.d.ts +40 -40
  52. package/dist/dts/workspace-elements/api/external-event-pulls-api.d.ts +40 -40
  53. package/dist/dts/workspace-elements/api/external-event-subscriptions-api.d.ts +35 -35
  54. package/dist/dts/workspace-elements/api/external-events-api.d.ts +20 -20
  55. package/dist/dts/workspace-elements/api/field-mapping-instances-api.d.ts +166 -166
  56. package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +96 -96
  57. package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +128 -128
  58. package/dist/dts/workspace-elements/api/flows-api.d.ts +223 -223
  59. package/dist/dts/workspace-elements/api/integrations-api.d.ts +26 -26
  60. package/dist/dts/workspace-elements/api/scenarios-api.d.ts +21 -21
  61. package/dist/dts/workspace-elements/base/action-instances/types.d.ts +10 -10
  62. package/dist/dts/workspace-elements/base/action-run-log-records/types.d.ts +4 -3
  63. package/dist/dts/workspace-elements/base/actions/index.d.ts +111 -1
  64. package/dist/dts/workspace-elements/base/app-data-schema-instances/types.d.ts +11 -10
  65. package/dist/dts/workspace-elements/base/app-data-schemas/types.d.ts +7 -7
  66. package/dist/dts/workspace-elements/base/app-event-subscriptions/types.d.ts +7 -7
  67. package/dist/dts/workspace-elements/base/app-event-types/types.d.ts +7 -7
  68. package/dist/dts/workspace-elements/base/connections/types.d.ts +11 -10
  69. package/dist/dts/workspace-elements/base/data-link-table-instances/types.d.ts +7 -7
  70. package/dist/dts/workspace-elements/base/data-link-tables/types.d.ts +7 -7
  71. package/dist/dts/workspace-elements/base/data-source-instances/types.d.ts +10 -9
  72. package/dist/dts/workspace-elements/base/data-sources/types.d.ts +8 -8
  73. package/dist/dts/workspace-elements/base/external-event-log-records/types.d.ts +4 -3
  74. package/dist/dts/workspace-elements/base/external-event-pulls/types.d.ts +4 -3
  75. package/dist/dts/workspace-elements/base/external-event-subscriptions/types.d.ts +4 -3
  76. package/dist/dts/workspace-elements/base/field-mapping-instances/types.d.ts +11 -10
  77. package/dist/dts/workspace-elements/base/field-mappings/types.d.ts +21 -21
  78. package/dist/dts/workspace-elements/base/flow-instances/schemas.d.ts +8 -8
  79. package/dist/dts/workspace-elements/base/flow-instances/types.d.ts +15 -14
  80. package/dist/dts/workspace-elements/base/flow-runs/flow-node-runs.d.ts +16 -16
  81. package/dist/dts/workspace-elements/base/flow-runs/types.d.ts +6 -5
  82. package/dist/dts/workspace-elements/base/flows/types.d.ts +15 -15
  83. package/dist/dts/workspace-elements/base/integrations/types.d.ts +48 -48
  84. package/dist/dts/workspace-elements/base/scenarios/types.d.ts +7 -7
  85. package/dist/dts/workspace-elements/errors.d.ts +2 -2
  86. package/dist/dts/workspace-elements/types.d.ts +53 -9
  87. package/dist/dts/workspace-elements-catalog/index.d.ts +3 -0
  88. package/dist/dts/workspaces/types.d.ts +2 -0
  89. package/dist/index.d.ts +2416 -2380
  90. package/dist/index.js +125 -118
  91. package/dist/index.js.map +1 -1
  92. package/dist/index.module.d.mts +2416 -2380
  93. package/dist/index.module.mjs +117 -113
  94. package/dist/index.module.mjs.map +1 -1
  95. package/package.json +1 -3
  96. package/dist/dts/workspace-elements/base/actions/types.d.ts +0 -85
@@ -1,216 +1,38 @@
1
1
  import { z } from 'zod';
2
- import { ConnectionSelector } from './connections-api';
3
- import { ElementInstanceSelector, IntegrationSpecificElementSelector } from '../../accessors';
4
- import { OpenConfigurationOptions } from '../../iframe';
5
- import { ActionType } from '../base/actions/action-types';
6
- export declare const ListActionsForIntegrationQuery: z.ZodObject<{
7
- parentId: z.ZodOptional<z.ZodString>;
8
- } & {
9
- limit: z.ZodOptional<z.ZodNumber>;
10
- cursor: z.ZodOptional<z.ZodString>;
11
- }, "strip", z.ZodTypeAny, {
12
- limit?: number | undefined;
13
- cursor?: string | undefined;
14
- parentId?: string | undefined;
15
- }, {
16
- limit?: number | undefined;
17
- cursor?: string | undefined;
18
- parentId?: string | undefined;
19
- }>;
20
- export type ListActionsForIntegrationQuery = z.infer<typeof ListActionsForIntegrationQuery>;
21
- export declare const FindActionsQuery: z.ZodObject<{
22
- parentId: z.ZodOptional<z.ZodString>;
23
- } & {
24
- limit: z.ZodOptional<z.ZodNumber>;
25
- cursor: z.ZodOptional<z.ZodString>;
26
- } & {
27
- integrationId: z.ZodOptional<z.ZodString>;
28
- }, "strip", z.ZodTypeAny, {
29
- limit?: number | undefined;
30
- cursor?: string | undefined;
31
- integrationId?: string | undefined;
32
- parentId?: string | undefined;
33
- }, {
34
- limit?: number | undefined;
35
- cursor?: string | undefined;
36
- integrationId?: string | undefined;
37
- parentId?: string | undefined;
38
- }>;
39
- export type FindActionsQuery = z.infer<typeof FindActionsQuery>;
40
- export declare const CreateActionRequest: z.ZodObject<{
41
- key: z.ZodString;
42
- name: z.ZodString;
43
- type: z.ZodOptional<z.ZodNativeEnum<typeof ActionType>>;
44
- inputSchema: z.ZodOptional<z.ZodAny>;
45
- config: z.ZodOptional<z.ZodAny>;
46
- integrationId: z.ZodOptional<z.ZodString>;
47
- }, "strip", z.ZodTypeAny, {
48
- key: string;
49
- name: string;
50
- type?: ActionType | undefined;
51
- integrationId?: string | undefined;
52
- inputSchema?: any;
53
- config?: any;
54
- }, {
55
- key: string;
56
- name: string;
57
- type?: ActionType | undefined;
58
- integrationId?: string | undefined;
59
- inputSchema?: any;
60
- config?: any;
61
- }>;
62
- export type CreateActionRequest = z.infer<typeof CreateActionRequest>;
63
- export declare const UpdateActionRequest: z.ZodObject<{
64
- key: z.ZodOptional<z.ZodString>;
65
- type: z.ZodOptional<z.ZodNativeEnum<typeof ActionType>>;
66
- name: z.ZodOptional<z.ZodString>;
67
- inputSchema: z.ZodOptional<z.ZodAny>;
68
- config: z.ZodOptional<z.ZodAny>;
69
- customOutputSchema: z.ZodOptional<z.ZodAny>;
70
- outputMapping: z.ZodOptional<z.ZodAny>;
71
- }, "strip", z.ZodTypeAny, {
72
- key?: string | undefined;
73
- type?: ActionType | undefined;
74
- name?: string | undefined;
75
- inputSchema?: any;
76
- config?: any;
77
- outputMapping?: any;
78
- customOutputSchema?: any;
79
- }, {
80
- key?: string | undefined;
81
- type?: ActionType | undefined;
82
- name?: string | undefined;
83
- inputSchema?: any;
84
- config?: any;
85
- outputMapping?: any;
86
- customOutputSchema?: any;
87
- }>;
88
- export type UpdateActionRequest = z.infer<typeof UpdateActionRequest>;
89
- export interface ActionSelector extends IntegrationSpecificElementSelector {
90
- }
91
- export interface ActionInstanceSelector extends ConnectionSelector, ElementInstanceSelector {
92
- }
93
- export declare const ListActionInstancesForConnectionQuery: z.ZodObject<{
94
- parentId: z.ZodOptional<z.ZodString>;
95
- universalParentId: z.ZodOptional<z.ZodString>;
96
- } & {
97
- limit: z.ZodOptional<z.ZodNumber>;
98
- cursor: z.ZodOptional<z.ZodString>;
99
- }, "strip", z.ZodTypeAny, {
100
- limit?: number | undefined;
101
- cursor?: string | undefined;
102
- parentId?: string | undefined;
103
- universalParentId?: string | undefined;
104
- }, {
105
- limit?: number | undefined;
106
- cursor?: string | undefined;
107
- parentId?: string | undefined;
108
- universalParentId?: string | undefined;
109
- }>;
110
- export type ListActionInstancesForConnectionQuery = z.infer<typeof ListActionInstancesForConnectionQuery>;
111
- export declare const FindActionInstancesQuery: z.ZodObject<{
112
- parentId: z.ZodOptional<z.ZodString>;
113
- universalParentId: z.ZodOptional<z.ZodString>;
114
- } & {
115
- limit: z.ZodOptional<z.ZodNumber>;
116
- cursor: z.ZodOptional<z.ZodString>;
117
- } & {
118
- integrationKey: z.ZodOptional<z.ZodString>;
119
- integrationId: z.ZodOptional<z.ZodString>;
120
- userId: z.ZodOptional<z.ZodString>;
121
- connectionId: z.ZodOptional<z.ZodString>;
122
- }, "strip", z.ZodTypeAny, {
123
- limit?: number | undefined;
124
- cursor?: string | undefined;
125
- userId?: string | undefined;
126
- connectionId?: string | undefined;
127
- integrationId?: string | undefined;
128
- integrationKey?: string | undefined;
129
- parentId?: string | undefined;
130
- universalParentId?: string | undefined;
131
- }, {
132
- limit?: number | undefined;
133
- cursor?: string | undefined;
134
- userId?: string | undefined;
135
- connectionId?: string | undefined;
136
- integrationId?: string | undefined;
137
- integrationKey?: string | undefined;
138
- parentId?: string | undefined;
139
- universalParentId?: string | undefined;
140
- }>;
141
- export type FindActionInstancesQuery = z.infer<typeof FindActionInstancesQuery>;
142
- export declare const CreateActionInstanceRequest: z.ZodObject<{
143
- parentId: z.ZodString;
144
- connectionId: z.ZodString;
145
- config: z.ZodOptional<z.ZodAny>;
146
- }, "strip", z.ZodTypeAny, {
147
- connectionId: string;
148
- parentId: string;
149
- config?: any;
150
- }, {
151
- connectionId: string;
152
- parentId: string;
153
- config?: any;
154
- }>;
155
- export type CreateActionInstanceRequest = z.infer<typeof CreateActionInstanceRequest>;
156
- export declare const UpdateActionInstanceRequest: z.ZodObject<{
157
- config: z.ZodOptional<z.ZodAny>;
158
- }, "strip", z.ZodTypeAny, {
159
- config?: any;
160
- }, {
161
- config?: any;
162
- }>;
163
- export type UpdateActionInstanceRequest = z.infer<typeof UpdateActionInstanceRequest>;
164
- export interface OpenActionConfigurationOptions extends OpenConfigurationOptions {
165
- }
166
- export declare const ActionRunResponse: z.ZodObject<{
167
- output: z.ZodOptional<z.ZodAny>;
168
- logs: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
169
- }, "strip", z.ZodTypeAny, {
170
- logs?: any[] | undefined;
171
- output?: any;
172
- }, {
173
- logs?: any[] | undefined;
174
- output?: any;
175
- }>;
176
- export type ActionRunResponse = z.infer<typeof ActionRunResponse>;
2
+ import { IntegrationSpecificElementSelector } from '../../accessors';
3
+ import { DataSchema } from '../../data-schema';
177
4
  export declare const ActionApiResponse: z.ZodObject<{
178
5
  id: z.ZodString;
179
- name: z.ZodString;
180
- } & {
181
- key: z.ZodOptional<z.ZodString>;
182
- uuid: z.ZodOptional<z.ZodString>;
183
- description: z.ZodOptional<z.ZodString>;
184
6
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
185
- errors: z.ZodOptional<z.ZodArray<any, "many">>;
7
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
186
8
  revision: z.ZodOptional<z.ZodString>;
187
- isDeactivated: z.ZodOptional<z.ZodBoolean>;
188
9
  createdAt: z.ZodOptional<z.ZodString>;
189
10
  updatedAt: z.ZodOptional<z.ZodString>;
190
11
  archivedAt: z.ZodOptional<z.ZodString>;
191
- } & {
12
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
13
+ uuid: z.ZodOptional<z.ZodString>;
14
+ description: z.ZodOptional<z.ZodString>;
192
15
  integrationId: z.ZodOptional<z.ZodString>;
193
16
  parentId: z.ZodOptional<z.ZodString>;
194
- parentRevision: z.ZodOptional<z.ZodString>;
195
- isCustomized: z.ZodOptional<z.ZodBoolean>;
196
- type: z.ZodNativeEnum<typeof ActionType>;
197
- inputSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
17
+ inputSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
18
+ type: z.ZodOptional<z.ZodNativeEnum<typeof import("../base/actions").ActionType>>;
198
19
  config: z.ZodOptional<z.ZodAny>;
199
20
  outputMapping: z.ZodOptional<z.ZodAny>;
200
- customOutputSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
201
- defaultOutputSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
202
- transformedOutputSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
203
- outputSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
204
- dependencies: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
21
+ customOutputSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
22
+ } & {
23
+ key: z.ZodString;
24
+ name: z.ZodString;
25
+ isCustomized: z.ZodOptional<z.ZodBoolean>;
26
+ parentRevision: z.ZodOptional<z.ZodString>;
205
27
  } & {
206
28
  integration: z.ZodOptional<z.ZodObject<{
207
29
  id: z.ZodString;
208
- name: z.ZodString;
209
30
  key: z.ZodOptional<z.ZodString>;
210
31
  uuid: z.ZodOptional<z.ZodString>;
211
32
  description: z.ZodOptional<z.ZodString>;
33
+ name: z.ZodString;
212
34
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
213
- errors: z.ZodOptional<z.ZodArray<any, "many">>;
35
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
214
36
  revision: z.ZodOptional<z.ZodString>;
215
37
  createdAt: z.ZodOptional<z.ZodString>;
216
38
  updatedAt: z.ZodOptional<z.ZodString>;
@@ -243,14 +65,13 @@ export declare const ActionApiResponse: z.ZodObject<{
243
65
  uuid?: string | undefined;
244
66
  description?: string | undefined;
245
67
  state?: import("..").WorkspaceElementState | undefined;
246
- errors?: any[] | undefined;
68
+ errors?: import("../..").ErrorDataSchema[] | undefined;
247
69
  revision?: string | undefined;
248
- isDeactivated?: boolean | undefined;
249
70
  createdAt?: string | undefined;
250
71
  updatedAt?: string | undefined;
251
72
  archivedAt?: string | undefined;
73
+ isDeactivated?: boolean | undefined;
252
74
  parameters?: any;
253
- isTest?: boolean | undefined;
254
75
  connectorId?: string | undefined;
255
76
  connectorVersion?: string | undefined;
256
77
  oAuthCallbackUri?: string | undefined;
@@ -264,6 +85,7 @@ export declare const ActionApiResponse: z.ZodObject<{
264
85
  eventsCount?: number | undefined;
265
86
  hasGlobalWebhooks?: boolean | undefined;
266
87
  hasUdm?: boolean | undefined;
88
+ isTest?: boolean | undefined;
267
89
  appUuid?: string | undefined;
268
90
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
269
91
  }, {
@@ -274,14 +96,13 @@ export declare const ActionApiResponse: z.ZodObject<{
274
96
  uuid?: string | undefined;
275
97
  description?: string | undefined;
276
98
  state?: import("..").WorkspaceElementState | undefined;
277
- errors?: any[] | undefined;
99
+ errors?: import("../..").ErrorDataSchema[] | undefined;
278
100
  revision?: string | undefined;
279
- isDeactivated?: boolean | undefined;
280
101
  createdAt?: string | undefined;
281
102
  updatedAt?: string | undefined;
282
103
  archivedAt?: string | undefined;
104
+ isDeactivated?: boolean | undefined;
283
105
  parameters?: any;
284
- isTest?: boolean | undefined;
285
106
  connectorId?: string | undefined;
286
107
  connectorVersion?: string | undefined;
287
108
  oAuthCallbackUri?: string | undefined;
@@ -295,99 +116,87 @@ export declare const ActionApiResponse: z.ZodObject<{
295
116
  eventsCount?: number | undefined;
296
117
  hasGlobalWebhooks?: boolean | undefined;
297
118
  hasUdm?: boolean | undefined;
119
+ isTest?: boolean | undefined;
298
120
  appUuid?: string | undefined;
299
121
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
300
122
  }>>;
301
123
  appliedToIntegrations: z.ZodOptional<z.ZodArray<z.ZodObject<{
302
124
  element: z.ZodObject<{
303
125
  id: z.ZodString;
304
- name: z.ZodString;
305
- } & {
306
- key: z.ZodOptional<z.ZodString>;
307
- uuid: z.ZodOptional<z.ZodString>;
308
- description: z.ZodOptional<z.ZodString>;
309
126
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
310
- errors: z.ZodOptional<z.ZodArray<any, "many">>;
127
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
311
128
  revision: z.ZodOptional<z.ZodString>;
312
- isDeactivated: z.ZodOptional<z.ZodBoolean>;
313
129
  createdAt: z.ZodOptional<z.ZodString>;
314
130
  updatedAt: z.ZodOptional<z.ZodString>;
315
131
  archivedAt: z.ZodOptional<z.ZodString>;
316
- } & {
132
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
133
+ uuid: z.ZodOptional<z.ZodString>;
134
+ description: z.ZodOptional<z.ZodString>;
317
135
  integrationId: z.ZodOptional<z.ZodString>;
318
136
  parentId: z.ZodOptional<z.ZodString>;
319
- parentRevision: z.ZodOptional<z.ZodString>;
320
- isCustomized: z.ZodOptional<z.ZodBoolean>;
321
- type: z.ZodNativeEnum<typeof ActionType>;
322
- inputSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
137
+ inputSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
138
+ type: z.ZodOptional<z.ZodNativeEnum<typeof import("../base/actions").ActionType>>;
323
139
  config: z.ZodOptional<z.ZodAny>;
324
140
  outputMapping: z.ZodOptional<z.ZodAny>;
325
- customOutputSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
326
- defaultOutputSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
327
- transformedOutputSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
328
- outputSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
329
- dependencies: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
141
+ customOutputSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
142
+ } & {
143
+ key: z.ZodString;
144
+ name: z.ZodString;
145
+ isCustomized: z.ZodOptional<z.ZodBoolean>;
146
+ parentRevision: z.ZodOptional<z.ZodString>;
330
147
  }, "strip", z.ZodTypeAny, {
331
- type: ActionType;
148
+ key: string;
332
149
  id: string;
333
150
  name: string;
334
- key?: string | undefined;
151
+ type?: import("../base/actions").ActionType | undefined;
335
152
  uuid?: string | undefined;
336
153
  description?: string | undefined;
337
154
  state?: import("..").WorkspaceElementState | undefined;
338
- errors?: any[] | undefined;
155
+ errors?: import("../..").ErrorDataSchema[] | undefined;
339
156
  revision?: string | undefined;
340
- isDeactivated?: boolean | undefined;
341
157
  createdAt?: string | undefined;
342
158
  updatedAt?: string | undefined;
343
159
  archivedAt?: string | undefined;
160
+ isDeactivated?: boolean | undefined;
344
161
  integrationId?: string | undefined;
345
162
  parentId?: string | undefined;
346
- parentRevision?: string | undefined;
347
- isCustomized?: boolean | undefined;
348
- inputSchema?: import("../..").DataSchema | undefined;
163
+ inputSchema?: DataSchema | undefined;
349
164
  config?: any;
350
165
  outputMapping?: any;
351
- customOutputSchema?: import("../..").DataSchema | undefined;
352
- defaultOutputSchema?: import("../..").DataSchema | undefined;
353
- transformedOutputSchema?: import("../..").DataSchema | undefined;
354
- outputSchema?: import("../..").DataSchema | undefined;
355
- dependencies?: any[] | undefined;
166
+ customOutputSchema?: DataSchema | undefined;
167
+ isCustomized?: boolean | undefined;
168
+ parentRevision?: string | undefined;
356
169
  }, {
357
- type: ActionType;
170
+ key: string;
358
171
  id: string;
359
172
  name: string;
360
- key?: string | undefined;
173
+ type?: import("../base/actions").ActionType | undefined;
361
174
  uuid?: string | undefined;
362
175
  description?: string | undefined;
363
176
  state?: import("..").WorkspaceElementState | undefined;
364
- errors?: any[] | undefined;
177
+ errors?: import("../..").ErrorDataSchema[] | undefined;
365
178
  revision?: string | undefined;
366
- isDeactivated?: boolean | undefined;
367
179
  createdAt?: string | undefined;
368
180
  updatedAt?: string | undefined;
369
181
  archivedAt?: string | undefined;
182
+ isDeactivated?: boolean | undefined;
370
183
  integrationId?: string | undefined;
371
184
  parentId?: string | undefined;
372
- parentRevision?: string | undefined;
373
- isCustomized?: boolean | undefined;
374
- inputSchema?: import("../..").DataSchema | undefined;
185
+ inputSchema?: DataSchema | undefined;
375
186
  config?: any;
376
187
  outputMapping?: any;
377
- customOutputSchema?: import("../..").DataSchema | undefined;
378
- defaultOutputSchema?: import("../..").DataSchema | undefined;
379
- transformedOutputSchema?: import("../..").DataSchema | undefined;
380
- outputSchema?: import("../..").DataSchema | undefined;
381
- dependencies?: any[] | undefined;
188
+ customOutputSchema?: DataSchema | undefined;
189
+ isCustomized?: boolean | undefined;
190
+ parentRevision?: string | undefined;
382
191
  }>;
383
192
  integration: z.ZodObject<{
384
193
  id: z.ZodString;
385
- name: z.ZodString;
386
194
  key: z.ZodOptional<z.ZodString>;
387
195
  uuid: z.ZodOptional<z.ZodString>;
388
196
  description: z.ZodOptional<z.ZodString>;
197
+ name: z.ZodString;
389
198
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
390
- errors: z.ZodOptional<z.ZodArray<any, "many">>;
199
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
391
200
  revision: z.ZodOptional<z.ZodString>;
392
201
  createdAt: z.ZodOptional<z.ZodString>;
393
202
  updatedAt: z.ZodOptional<z.ZodString>;
@@ -420,14 +229,13 @@ export declare const ActionApiResponse: z.ZodObject<{
420
229
  uuid?: string | undefined;
421
230
  description?: string | undefined;
422
231
  state?: import("..").WorkspaceElementState | undefined;
423
- errors?: any[] | undefined;
232
+ errors?: import("../..").ErrorDataSchema[] | undefined;
424
233
  revision?: string | undefined;
425
- isDeactivated?: boolean | undefined;
426
234
  createdAt?: string | undefined;
427
235
  updatedAt?: string | undefined;
428
236
  archivedAt?: string | undefined;
237
+ isDeactivated?: boolean | undefined;
429
238
  parameters?: any;
430
- isTest?: boolean | undefined;
431
239
  connectorId?: string | undefined;
432
240
  connectorVersion?: string | undefined;
433
241
  oAuthCallbackUri?: string | undefined;
@@ -441,6 +249,7 @@ export declare const ActionApiResponse: z.ZodObject<{
441
249
  eventsCount?: number | undefined;
442
250
  hasGlobalWebhooks?: boolean | undefined;
443
251
  hasUdm?: boolean | undefined;
252
+ isTest?: boolean | undefined;
444
253
  appUuid?: string | undefined;
445
254
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
446
255
  }, {
@@ -451,14 +260,13 @@ export declare const ActionApiResponse: z.ZodObject<{
451
260
  uuid?: string | undefined;
452
261
  description?: string | undefined;
453
262
  state?: import("..").WorkspaceElementState | undefined;
454
- errors?: any[] | undefined;
263
+ errors?: import("../..").ErrorDataSchema[] | undefined;
455
264
  revision?: string | undefined;
456
- isDeactivated?: boolean | undefined;
457
265
  createdAt?: string | undefined;
458
266
  updatedAt?: string | undefined;
459
267
  archivedAt?: string | undefined;
268
+ isDeactivated?: boolean | undefined;
460
269
  parameters?: any;
461
- isTest?: boolean | undefined;
462
270
  connectorId?: string | undefined;
463
271
  connectorVersion?: string | undefined;
464
272
  oAuthCallbackUri?: string | undefined;
@@ -472,6 +280,7 @@ export declare const ActionApiResponse: z.ZodObject<{
472
280
  eventsCount?: number | undefined;
473
281
  hasGlobalWebhooks?: boolean | undefined;
474
282
  hasUdm?: boolean | undefined;
283
+ isTest?: boolean | undefined;
475
284
  appUuid?: string | undefined;
476
285
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
477
286
  }>;
@@ -484,14 +293,13 @@ export declare const ActionApiResponse: z.ZodObject<{
484
293
  uuid?: string | undefined;
485
294
  description?: string | undefined;
486
295
  state?: import("..").WorkspaceElementState | undefined;
487
- errors?: any[] | undefined;
296
+ errors?: import("../..").ErrorDataSchema[] | undefined;
488
297
  revision?: string | undefined;
489
- isDeactivated?: boolean | undefined;
490
298
  createdAt?: string | undefined;
491
299
  updatedAt?: string | undefined;
492
300
  archivedAt?: string | undefined;
301
+ isDeactivated?: boolean | undefined;
493
302
  parameters?: any;
494
- isTest?: boolean | undefined;
495
303
  connectorId?: string | undefined;
496
304
  connectorVersion?: string | undefined;
497
305
  oAuthCallbackUri?: string | undefined;
@@ -505,35 +313,32 @@ export declare const ActionApiResponse: z.ZodObject<{
505
313
  eventsCount?: number | undefined;
506
314
  hasGlobalWebhooks?: boolean | undefined;
507
315
  hasUdm?: boolean | undefined;
316
+ isTest?: boolean | undefined;
508
317
  appUuid?: string | undefined;
509
318
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
510
319
  };
511
320
  element: {
512
- type: ActionType;
321
+ key: string;
513
322
  id: string;
514
323
  name: string;
515
- key?: string | undefined;
324
+ type?: import("../base/actions").ActionType | undefined;
516
325
  uuid?: string | undefined;
517
326
  description?: string | undefined;
518
327
  state?: import("..").WorkspaceElementState | undefined;
519
- errors?: any[] | undefined;
328
+ errors?: import("../..").ErrorDataSchema[] | undefined;
520
329
  revision?: string | undefined;
521
- isDeactivated?: boolean | undefined;
522
330
  createdAt?: string | undefined;
523
331
  updatedAt?: string | undefined;
524
332
  archivedAt?: string | undefined;
333
+ isDeactivated?: boolean | undefined;
525
334
  integrationId?: string | undefined;
526
335
  parentId?: string | undefined;
527
- parentRevision?: string | undefined;
528
- isCustomized?: boolean | undefined;
529
- inputSchema?: import("../..").DataSchema | undefined;
336
+ inputSchema?: DataSchema | undefined;
530
337
  config?: any;
531
338
  outputMapping?: any;
532
- customOutputSchema?: import("../..").DataSchema | undefined;
533
- defaultOutputSchema?: import("../..").DataSchema | undefined;
534
- transformedOutputSchema?: import("../..").DataSchema | undefined;
535
- outputSchema?: import("../..").DataSchema | undefined;
536
- dependencies?: any[] | undefined;
339
+ customOutputSchema?: DataSchema | undefined;
340
+ isCustomized?: boolean | undefined;
341
+ parentRevision?: string | undefined;
537
342
  };
538
343
  }, {
539
344
  integration: {
@@ -544,14 +349,13 @@ export declare const ActionApiResponse: z.ZodObject<{
544
349
  uuid?: string | undefined;
545
350
  description?: string | undefined;
546
351
  state?: import("..").WorkspaceElementState | undefined;
547
- errors?: any[] | undefined;
352
+ errors?: import("../..").ErrorDataSchema[] | undefined;
548
353
  revision?: string | undefined;
549
- isDeactivated?: boolean | undefined;
550
354
  createdAt?: string | undefined;
551
355
  updatedAt?: string | undefined;
552
356
  archivedAt?: string | undefined;
357
+ isDeactivated?: boolean | undefined;
553
358
  parameters?: any;
554
- isTest?: boolean | undefined;
555
359
  connectorId?: string | undefined;
556
360
  connectorVersion?: string | undefined;
557
361
  oAuthCallbackUri?: string | undefined;
@@ -565,42 +369,43 @@ export declare const ActionApiResponse: z.ZodObject<{
565
369
  eventsCount?: number | undefined;
566
370
  hasGlobalWebhooks?: boolean | undefined;
567
371
  hasUdm?: boolean | undefined;
372
+ isTest?: boolean | undefined;
568
373
  appUuid?: string | undefined;
569
374
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
570
375
  };
571
376
  element: {
572
- type: ActionType;
377
+ key: string;
573
378
  id: string;
574
379
  name: string;
575
- key?: string | undefined;
380
+ type?: import("../base/actions").ActionType | undefined;
576
381
  uuid?: string | undefined;
577
382
  description?: string | undefined;
578
383
  state?: import("..").WorkspaceElementState | undefined;
579
- errors?: any[] | undefined;
384
+ errors?: import("../..").ErrorDataSchema[] | undefined;
580
385
  revision?: string | undefined;
581
- isDeactivated?: boolean | undefined;
582
386
  createdAt?: string | undefined;
583
387
  updatedAt?: string | undefined;
584
388
  archivedAt?: string | undefined;
389
+ isDeactivated?: boolean | undefined;
585
390
  integrationId?: string | undefined;
586
391
  parentId?: string | undefined;
587
- parentRevision?: string | undefined;
588
- isCustomized?: boolean | undefined;
589
- inputSchema?: import("../..").DataSchema | undefined;
392
+ inputSchema?: DataSchema | undefined;
590
393
  config?: any;
591
394
  outputMapping?: any;
592
- customOutputSchema?: import("../..").DataSchema | undefined;
593
- defaultOutputSchema?: import("../..").DataSchema | undefined;
594
- transformedOutputSchema?: import("../..").DataSchema | undefined;
595
- outputSchema?: import("../..").DataSchema | undefined;
596
- dependencies?: any[] | undefined;
395
+ customOutputSchema?: DataSchema | undefined;
396
+ isCustomized?: boolean | undefined;
397
+ parentRevision?: string | undefined;
597
398
  };
598
399
  }>, "many">>;
400
+ defaultOutputSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
401
+ transformedOutputSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
402
+ outputSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
403
+ dependencies: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
599
404
  }, "strip", z.ZodTypeAny, {
600
- type: ActionType;
405
+ key: string;
601
406
  id: string;
602
407
  name: string;
603
- key?: string | undefined;
408
+ type?: import("../base/actions").ActionType | undefined;
604
409
  integration?: {
605
410
  id: string;
606
411
  name: string;
@@ -609,14 +414,13 @@ export declare const ActionApiResponse: z.ZodObject<{
609
414
  uuid?: string | undefined;
610
415
  description?: string | undefined;
611
416
  state?: import("..").WorkspaceElementState | undefined;
612
- errors?: any[] | undefined;
417
+ errors?: import("../..").ErrorDataSchema[] | undefined;
613
418
  revision?: string | undefined;
614
- isDeactivated?: boolean | undefined;
615
419
  createdAt?: string | undefined;
616
420
  updatedAt?: string | undefined;
617
421
  archivedAt?: string | undefined;
422
+ isDeactivated?: boolean | undefined;
618
423
  parameters?: any;
619
- isTest?: boolean | undefined;
620
424
  connectorId?: string | undefined;
621
425
  connectorVersion?: string | undefined;
622
426
  oAuthCallbackUri?: string | undefined;
@@ -630,30 +434,27 @@ export declare const ActionApiResponse: z.ZodObject<{
630
434
  eventsCount?: number | undefined;
631
435
  hasGlobalWebhooks?: boolean | undefined;
632
436
  hasUdm?: boolean | undefined;
437
+ isTest?: boolean | undefined;
633
438
  appUuid?: string | undefined;
634
439
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
635
440
  } | undefined;
636
441
  uuid?: string | undefined;
637
442
  description?: string | undefined;
638
443
  state?: import("..").WorkspaceElementState | undefined;
639
- errors?: any[] | undefined;
444
+ errors?: import("../..").ErrorDataSchema[] | undefined;
640
445
  revision?: string | undefined;
641
- isDeactivated?: boolean | undefined;
642
446
  createdAt?: string | undefined;
643
447
  updatedAt?: string | undefined;
644
448
  archivedAt?: string | undefined;
449
+ isDeactivated?: boolean | undefined;
645
450
  integrationId?: string | undefined;
646
451
  parentId?: string | undefined;
647
- parentRevision?: string | undefined;
648
- isCustomized?: boolean | undefined;
649
- inputSchema?: import("../..").DataSchema | undefined;
452
+ inputSchema?: DataSchema | undefined;
650
453
  config?: any;
651
454
  outputMapping?: any;
652
- customOutputSchema?: import("../..").DataSchema | undefined;
653
- defaultOutputSchema?: import("../..").DataSchema | undefined;
654
- transformedOutputSchema?: import("../..").DataSchema | undefined;
655
- outputSchema?: import("../..").DataSchema | undefined;
656
- dependencies?: any[] | undefined;
455
+ customOutputSchema?: DataSchema | undefined;
456
+ isCustomized?: boolean | undefined;
457
+ parentRevision?: string | undefined;
657
458
  appliedToIntegrations?: {
658
459
  integration: {
659
460
  id: string;
@@ -663,14 +464,13 @@ export declare const ActionApiResponse: z.ZodObject<{
663
464
  uuid?: string | undefined;
664
465
  description?: string | undefined;
665
466
  state?: import("..").WorkspaceElementState | undefined;
666
- errors?: any[] | undefined;
467
+ errors?: import("../..").ErrorDataSchema[] | undefined;
667
468
  revision?: string | undefined;
668
- isDeactivated?: boolean | undefined;
669
469
  createdAt?: string | undefined;
670
470
  updatedAt?: string | undefined;
671
471
  archivedAt?: string | undefined;
472
+ isDeactivated?: boolean | undefined;
672
473
  parameters?: any;
673
- isTest?: boolean | undefined;
674
474
  connectorId?: string | undefined;
675
475
  connectorVersion?: string | undefined;
676
476
  oAuthCallbackUri?: string | undefined;
@@ -684,42 +484,43 @@ export declare const ActionApiResponse: z.ZodObject<{
684
484
  eventsCount?: number | undefined;
685
485
  hasGlobalWebhooks?: boolean | undefined;
686
486
  hasUdm?: boolean | undefined;
487
+ isTest?: boolean | undefined;
687
488
  appUuid?: string | undefined;
688
489
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
689
490
  };
690
491
  element: {
691
- type: ActionType;
492
+ key: string;
692
493
  id: string;
693
494
  name: string;
694
- key?: string | undefined;
495
+ type?: import("../base/actions").ActionType | undefined;
695
496
  uuid?: string | undefined;
696
497
  description?: string | undefined;
697
498
  state?: import("..").WorkspaceElementState | undefined;
698
- errors?: any[] | undefined;
499
+ errors?: import("../..").ErrorDataSchema[] | undefined;
699
500
  revision?: string | undefined;
700
- isDeactivated?: boolean | undefined;
701
501
  createdAt?: string | undefined;
702
502
  updatedAt?: string | undefined;
703
503
  archivedAt?: string | undefined;
504
+ isDeactivated?: boolean | undefined;
704
505
  integrationId?: string | undefined;
705
506
  parentId?: string | undefined;
706
- parentRevision?: string | undefined;
707
- isCustomized?: boolean | undefined;
708
- inputSchema?: import("../..").DataSchema | undefined;
507
+ inputSchema?: DataSchema | undefined;
709
508
  config?: any;
710
509
  outputMapping?: any;
711
- customOutputSchema?: import("../..").DataSchema | undefined;
712
- defaultOutputSchema?: import("../..").DataSchema | undefined;
713
- transformedOutputSchema?: import("../..").DataSchema | undefined;
714
- outputSchema?: import("../..").DataSchema | undefined;
715
- dependencies?: any[] | undefined;
510
+ customOutputSchema?: DataSchema | undefined;
511
+ isCustomized?: boolean | undefined;
512
+ parentRevision?: string | undefined;
716
513
  };
717
514
  }[] | undefined;
515
+ defaultOutputSchema?: DataSchema | undefined;
516
+ transformedOutputSchema?: DataSchema | undefined;
517
+ outputSchema?: DataSchema | undefined;
518
+ dependencies?: any[] | undefined;
718
519
  }, {
719
- type: ActionType;
520
+ key: string;
720
521
  id: string;
721
522
  name: string;
722
- key?: string | undefined;
523
+ type?: import("../base/actions").ActionType | undefined;
723
524
  integration?: {
724
525
  id: string;
725
526
  name: string;
@@ -728,14 +529,13 @@ export declare const ActionApiResponse: z.ZodObject<{
728
529
  uuid?: string | undefined;
729
530
  description?: string | undefined;
730
531
  state?: import("..").WorkspaceElementState | undefined;
731
- errors?: any[] | undefined;
532
+ errors?: import("../..").ErrorDataSchema[] | undefined;
732
533
  revision?: string | undefined;
733
- isDeactivated?: boolean | undefined;
734
534
  createdAt?: string | undefined;
735
535
  updatedAt?: string | undefined;
736
536
  archivedAt?: string | undefined;
537
+ isDeactivated?: boolean | undefined;
737
538
  parameters?: any;
738
- isTest?: boolean | undefined;
739
539
  connectorId?: string | undefined;
740
540
  connectorVersion?: string | undefined;
741
541
  oAuthCallbackUri?: string | undefined;
@@ -749,30 +549,27 @@ export declare const ActionApiResponse: z.ZodObject<{
749
549
  eventsCount?: number | undefined;
750
550
  hasGlobalWebhooks?: boolean | undefined;
751
551
  hasUdm?: boolean | undefined;
552
+ isTest?: boolean | undefined;
752
553
  appUuid?: string | undefined;
753
554
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
754
555
  } | undefined;
755
556
  uuid?: string | undefined;
756
557
  description?: string | undefined;
757
558
  state?: import("..").WorkspaceElementState | undefined;
758
- errors?: any[] | undefined;
559
+ errors?: import("../..").ErrorDataSchema[] | undefined;
759
560
  revision?: string | undefined;
760
- isDeactivated?: boolean | undefined;
761
561
  createdAt?: string | undefined;
762
562
  updatedAt?: string | undefined;
763
563
  archivedAt?: string | undefined;
564
+ isDeactivated?: boolean | undefined;
764
565
  integrationId?: string | undefined;
765
566
  parentId?: string | undefined;
766
- parentRevision?: string | undefined;
767
- isCustomized?: boolean | undefined;
768
- inputSchema?: import("../..").DataSchema | undefined;
567
+ inputSchema?: DataSchema | undefined;
769
568
  config?: any;
770
569
  outputMapping?: any;
771
- customOutputSchema?: import("../..").DataSchema | undefined;
772
- defaultOutputSchema?: import("../..").DataSchema | undefined;
773
- transformedOutputSchema?: import("../..").DataSchema | undefined;
774
- outputSchema?: import("../..").DataSchema | undefined;
775
- dependencies?: any[] | undefined;
570
+ customOutputSchema?: DataSchema | undefined;
571
+ isCustomized?: boolean | undefined;
572
+ parentRevision?: string | undefined;
776
573
  appliedToIntegrations?: {
777
574
  integration: {
778
575
  id: string;
@@ -782,14 +579,13 @@ export declare const ActionApiResponse: z.ZodObject<{
782
579
  uuid?: string | undefined;
783
580
  description?: string | undefined;
784
581
  state?: import("..").WorkspaceElementState | undefined;
785
- errors?: any[] | undefined;
582
+ errors?: import("../..").ErrorDataSchema[] | undefined;
786
583
  revision?: string | undefined;
787
- isDeactivated?: boolean | undefined;
788
584
  createdAt?: string | undefined;
789
585
  updatedAt?: string | undefined;
790
586
  archivedAt?: string | undefined;
587
+ isDeactivated?: boolean | undefined;
791
588
  parameters?: any;
792
- isTest?: boolean | undefined;
793
589
  connectorId?: string | undefined;
794
590
  connectorVersion?: string | undefined;
795
591
  oAuthCallbackUri?: string | undefined;
@@ -803,37 +599,155 @@ export declare const ActionApiResponse: z.ZodObject<{
803
599
  eventsCount?: number | undefined;
804
600
  hasGlobalWebhooks?: boolean | undefined;
805
601
  hasUdm?: boolean | undefined;
602
+ isTest?: boolean | undefined;
806
603
  appUuid?: string | undefined;
807
604
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
808
605
  };
809
606
  element: {
810
- type: ActionType;
607
+ key: string;
811
608
  id: string;
812
609
  name: string;
813
- key?: string | undefined;
610
+ type?: import("../base/actions").ActionType | undefined;
814
611
  uuid?: string | undefined;
815
612
  description?: string | undefined;
816
613
  state?: import("..").WorkspaceElementState | undefined;
817
- errors?: any[] | undefined;
614
+ errors?: import("../..").ErrorDataSchema[] | undefined;
818
615
  revision?: string | undefined;
819
- isDeactivated?: boolean | undefined;
820
616
  createdAt?: string | undefined;
821
617
  updatedAt?: string | undefined;
822
618
  archivedAt?: string | undefined;
619
+ isDeactivated?: boolean | undefined;
823
620
  integrationId?: string | undefined;
824
621
  parentId?: string | undefined;
825
- parentRevision?: string | undefined;
826
- isCustomized?: boolean | undefined;
827
- inputSchema?: import("../..").DataSchema | undefined;
622
+ inputSchema?: DataSchema | undefined;
828
623
  config?: any;
829
624
  outputMapping?: any;
830
- customOutputSchema?: import("../..").DataSchema | undefined;
831
- defaultOutputSchema?: import("../..").DataSchema | undefined;
832
- transformedOutputSchema?: import("../..").DataSchema | undefined;
833
- outputSchema?: import("../..").DataSchema | undefined;
834
- dependencies?: any[] | undefined;
625
+ customOutputSchema?: DataSchema | undefined;
626
+ isCustomized?: boolean | undefined;
627
+ parentRevision?: string | undefined;
835
628
  };
836
629
  }[] | undefined;
630
+ defaultOutputSchema?: DataSchema | undefined;
631
+ transformedOutputSchema?: DataSchema | undefined;
632
+ outputSchema?: DataSchema | undefined;
633
+ dependencies?: any[] | undefined;
837
634
  }>;
838
635
  export type ActionApiResponse = z.infer<typeof ActionApiResponse>;
839
636
  export type Action = ActionApiResponse;
637
+ export declare const FindActionsQuery: z.ZodObject<{
638
+ limit: z.ZodOptional<z.ZodNumber>;
639
+ cursor: z.ZodOptional<z.ZodString>;
640
+ } & {
641
+ integrationId: z.ZodOptional<z.ZodString>;
642
+ parentId: z.ZodOptional<z.ZodString>;
643
+ integrationKey: z.ZodOptional<z.ZodString>;
644
+ search: z.ZodOptional<z.ZodString>;
645
+ includeArchived: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
646
+ }, "strip", z.ZodTypeAny, {
647
+ search?: string | undefined;
648
+ includeArchived?: boolean | undefined;
649
+ limit?: number | undefined;
650
+ cursor?: string | undefined;
651
+ integrationId?: string | undefined;
652
+ integrationKey?: string | undefined;
653
+ parentId?: string | undefined;
654
+ }, {
655
+ search?: string | undefined;
656
+ includeArchived?: unknown;
657
+ limit?: number | undefined;
658
+ cursor?: string | undefined;
659
+ integrationId?: string | undefined;
660
+ integrationKey?: string | undefined;
661
+ parentId?: string | undefined;
662
+ }>;
663
+ export type FindActionsQuery = z.infer<typeof FindActionsQuery>;
664
+ export declare const CreateActionRequest: z.ZodObject<{
665
+ key: z.ZodOptional<z.ZodString>;
666
+ name: z.ZodOptional<z.ZodString>;
667
+ uuid: z.ZodOptional<z.ZodString>;
668
+ description: z.ZodOptional<z.ZodString>;
669
+ } & {
670
+ integrationId: z.ZodOptional<z.ZodString>;
671
+ parentId: z.ZodOptional<z.ZodString>;
672
+ inputSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
673
+ type: z.ZodOptional<z.ZodNativeEnum<typeof import("../base/actions").ActionType>>;
674
+ config: z.ZodOptional<z.ZodAny>;
675
+ outputMapping: z.ZodOptional<z.ZodAny>;
676
+ customOutputSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
677
+ }, "strip", z.ZodTypeAny, {
678
+ key?: string | undefined;
679
+ type?: import("../base/actions").ActionType | undefined;
680
+ name?: string | undefined;
681
+ uuid?: string | undefined;
682
+ description?: string | undefined;
683
+ integrationId?: string | undefined;
684
+ parentId?: string | undefined;
685
+ inputSchema?: DataSchema | undefined;
686
+ config?: any;
687
+ outputMapping?: any;
688
+ customOutputSchema?: DataSchema | undefined;
689
+ }, {
690
+ key?: string | undefined;
691
+ type?: import("../base/actions").ActionType | undefined;
692
+ name?: string | undefined;
693
+ uuid?: string | undefined;
694
+ description?: string | undefined;
695
+ integrationId?: string | undefined;
696
+ parentId?: string | undefined;
697
+ inputSchema?: DataSchema | undefined;
698
+ config?: any;
699
+ outputMapping?: any;
700
+ customOutputSchema?: DataSchema | undefined;
701
+ }>;
702
+ export type CreateActionRequest = z.infer<typeof CreateActionRequest>;
703
+ export declare const UpdateActionRequest: z.ZodObject<{
704
+ key: z.ZodOptional<z.ZodOptional<z.ZodString>>;
705
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
706
+ uuid: z.ZodOptional<z.ZodOptional<z.ZodString>>;
707
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
708
+ integrationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
709
+ parentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
710
+ inputSchema: z.ZodOptional<z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>>;
711
+ type: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof import("../base/actions").ActionType>>>;
712
+ config: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
713
+ outputMapping: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
714
+ customOutputSchema: z.ZodOptional<z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>>;
715
+ }, "strip", z.ZodTypeAny, {
716
+ key?: string | undefined;
717
+ type?: import("../base/actions").ActionType | undefined;
718
+ name?: string | undefined;
719
+ uuid?: string | undefined;
720
+ description?: string | undefined;
721
+ integrationId?: string | undefined;
722
+ parentId?: string | undefined;
723
+ inputSchema?: DataSchema | undefined;
724
+ config?: any;
725
+ outputMapping?: any;
726
+ customOutputSchema?: DataSchema | undefined;
727
+ }, {
728
+ key?: string | undefined;
729
+ type?: import("../base/actions").ActionType | undefined;
730
+ name?: string | undefined;
731
+ uuid?: string | undefined;
732
+ description?: string | undefined;
733
+ integrationId?: string | undefined;
734
+ parentId?: string | undefined;
735
+ inputSchema?: DataSchema | undefined;
736
+ config?: any;
737
+ outputMapping?: any;
738
+ customOutputSchema?: DataSchema | undefined;
739
+ }>;
740
+ export type UpdateActionRequest = z.infer<typeof UpdateActionRequest>;
741
+ export declare const ActionRunResponse: z.ZodObject<{
742
+ output: z.ZodOptional<z.ZodAny>;
743
+ logs: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
744
+ }, "strip", z.ZodTypeAny, {
745
+ logs?: any[] | undefined;
746
+ output?: any;
747
+ }, {
748
+ logs?: any[] | undefined;
749
+ output?: any;
750
+ }>;
751
+ export type ActionRunResponse = z.infer<typeof ActionRunResponse>;
752
+ export interface ActionSelector extends IntegrationSpecificElementSelector {
753
+ }