@membranehq/sdk 0.5.0 → 0.5.2

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