@membranehq/sdk 0.5.0 → 0.5.1

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 +13011 -5117
  2. package/dist/bundle.js +149 -1
  3. package/dist/bundle.js.map +1 -1
  4. package/dist/dts/accessors/connections-accessors.d.ts +31 -10
  5. package/dist/dts/accessors/integrations-accessors.d.ts +31 -10
  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 +529 -10
  11. package/dist/dts/workspace-elements/api/actions-api.d.ts +393 -90
  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 +387 -97
  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 +541 -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 +1590 -12
  22. package/dist/dts/workspace-elements/api/data-sources-api.d.ts +357 -79
  23. package/dist/dts/workspace-elements/api/external-event-log-records-api.d.ts +696 -19
  24. package/dist/dts/workspace-elements/api/external-event-pulls-api.d.ts +702 -19
  25. package/dist/dts/workspace-elements/api/external-event-subscriptions-api.d.ts +559 -10
  26. package/dist/dts/workspace-elements/api/external-events-api.d.ts +169 -27
  27. package/dist/dts/workspace-elements/api/field-mapping-instances-api.d.ts +2786 -14
  28. package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +367 -69
  29. package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +1652 -47
  30. package/dist/dts/workspace-elements/api/flows-api.d.ts +1040 -257
  31. package/dist/dts/workspace-elements/api/index.d.ts +1 -1
  32. package/dist/dts/workspace-elements/api/integrations-api.d.ts +121 -37
  33. package/dist/dts/workspace-elements/api/scenarios-api.d.ts +151 -26
  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 +28 -12
  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 +18 -12
  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 +6 -6
  53. package/dist/dts/workspace-elements/base/flow-instances/types.d.ts +26 -11
  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 +26 -12
  56. package/dist/dts/workspace-elements/base/integrations/types.d.ts +557 -67
  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 +4 -3
  61. package/dist/index.d.ts +21959 -8561
  62. package/dist/index.js +258 -109
  63. package/dist/index.js.map +1 -1
  64. package/dist/index.module.d.mts +21959 -8561
  65. package/dist/index.module.mjs +225 -101
  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
@@ -43,41 +43,59 @@ export declare class ConnectionAccessor {
43
43
  }): Promise<{
44
44
  id: string;
45
45
  name: string;
46
- userId: string;
47
- integrationId: string;
48
46
  createdAt: string;
49
47
  updatedAt: string;
48
+ userId: string;
49
+ integrationId: string;
50
50
  error?: any;
51
51
  integration?: {
52
- key: string;
53
52
  id: string;
54
53
  name: string;
55
54
  baseUri: string;
56
55
  logoUri: string;
56
+ key?: string | undefined;
57
+ uuid?: string | undefined;
58
+ description?: string | undefined;
57
59
  state?: import("..").WorkspaceElementState | undefined;
58
60
  errors?: any[] | undefined;
61
+ revision?: string | undefined;
62
+ isDeactivated?: boolean | undefined;
63
+ createdAt?: string | undefined;
64
+ updatedAt?: string | undefined;
65
+ archivedAt?: string | undefined;
59
66
  parameters?: any;
60
67
  parametersSchema?: import("..").DataSchema | undefined;
61
- archivedAt?: string | undefined;
62
68
  isTest?: boolean | undefined;
63
69
  connectorId?: string | undefined;
64
70
  connectorVersion?: string | undefined;
65
- authOptions?: any[] | undefined;
71
+ authOptions?: {
72
+ key: string;
73
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
74
+ description?: string | undefined;
75
+ title?: string | undefined;
76
+ ui?: {
77
+ schema?: any;
78
+ helpUri?: string | undefined;
79
+ } | undefined;
80
+ }[] | undefined;
66
81
  oAuthCallbackUri?: string | undefined;
67
82
  hasMissingParameters?: boolean | undefined;
68
83
  hasDocumentation?: boolean | undefined;
69
84
  hasOperations?: boolean | undefined;
85
+ operationsCount?: number | undefined;
70
86
  hasData?: boolean | undefined;
87
+ dataCollectionsCount?: number | undefined;
71
88
  hasEvents?: boolean | undefined;
89
+ eventsCount?: number | undefined;
72
90
  hasGlobalWebhooks?: boolean | undefined;
73
91
  hasUdm?: boolean | undefined;
74
92
  appUuid?: string | undefined;
75
- isDeactivated?: boolean | undefined;
76
93
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
77
94
  } | undefined;
78
95
  state?: import("..").WorkspaceElementState | undefined;
79
96
  errors?: any[] | undefined;
80
- accessToken?: string | undefined;
97
+ isDeactivated?: boolean | undefined;
98
+ archivedAt?: string | undefined;
81
99
  credentials?: unknown;
82
100
  parameters?: unknown;
83
101
  connectorParameters?: unknown;
@@ -85,17 +103,20 @@ export declare class ConnectionAccessor {
85
103
  id: string;
86
104
  name: string;
87
105
  internalId: string;
106
+ createdAt?: string | undefined;
107
+ archivedAt?: string | undefined;
88
108
  credentials?: any;
89
109
  fields?: Record<string, any> | undefined;
90
- lastActiveAt?: string | undefined;
91
110
  isTest?: boolean | undefined;
111
+ lastActiveAt?: string | undefined;
92
112
  isBillable?: boolean | undefined;
93
113
  } | undefined;
114
+ isTest?: boolean | undefined;
94
115
  disconnected?: boolean | undefined;
95
- refreshToken?: string | undefined;
116
+ isDefunct?: boolean | undefined;
96
117
  lastActiveAt?: string | undefined;
97
118
  nextCredentialsRefreshAt?: string | undefined;
98
- archivedAt?: string | undefined;
119
+ meta?: Record<string, any> | undefined;
99
120
  } | undefined>;
100
121
  openReconnectUI({}?: OpenConfigurationOptions): Promise<void>;
101
122
  refreshCredentials(): Promise<void>;
@@ -47,41 +47,59 @@ export declare class IntegrationAccessor extends ElementAccessor<Integration, Up
47
47
  })): Promise<{
48
48
  id: string;
49
49
  name: string;
50
- userId: string;
51
- integrationId: string;
52
50
  createdAt: string;
53
51
  updatedAt: string;
52
+ userId: string;
53
+ integrationId: string;
54
54
  error?: any;
55
55
  integration?: {
56
- key: string;
57
56
  id: string;
58
57
  name: string;
59
58
  baseUri: string;
60
59
  logoUri: string;
60
+ key?: string | undefined;
61
+ uuid?: string | undefined;
62
+ description?: string | undefined;
61
63
  state?: import("..").WorkspaceElementState | undefined;
62
64
  errors?: any[] | undefined;
65
+ revision?: string | undefined;
66
+ isDeactivated?: boolean | undefined;
67
+ createdAt?: string | undefined;
68
+ updatedAt?: string | undefined;
69
+ archivedAt?: string | undefined;
63
70
  parameters?: any;
64
71
  parametersSchema?: import("..").DataSchema | undefined;
65
- archivedAt?: string | undefined;
66
72
  isTest?: boolean | undefined;
67
73
  connectorId?: string | undefined;
68
74
  connectorVersion?: string | undefined;
69
- authOptions?: any[] | undefined;
75
+ authOptions?: {
76
+ key: string;
77
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
78
+ description?: string | undefined;
79
+ title?: string | undefined;
80
+ ui?: {
81
+ schema?: any;
82
+ helpUri?: string | undefined;
83
+ } | undefined;
84
+ }[] | undefined;
70
85
  oAuthCallbackUri?: string | undefined;
71
86
  hasMissingParameters?: boolean | undefined;
72
87
  hasDocumentation?: boolean | undefined;
73
88
  hasOperations?: boolean | undefined;
89
+ operationsCount?: number | undefined;
74
90
  hasData?: boolean | undefined;
91
+ dataCollectionsCount?: number | undefined;
75
92
  hasEvents?: boolean | undefined;
93
+ eventsCount?: number | undefined;
76
94
  hasGlobalWebhooks?: boolean | undefined;
77
95
  hasUdm?: boolean | undefined;
78
96
  appUuid?: string | undefined;
79
- isDeactivated?: boolean | undefined;
80
97
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
81
98
  } | undefined;
82
99
  state?: import("..").WorkspaceElementState | undefined;
83
100
  errors?: any[] | undefined;
84
- accessToken?: string | undefined;
101
+ isDeactivated?: boolean | undefined;
102
+ archivedAt?: string | undefined;
85
103
  credentials?: unknown;
86
104
  parameters?: unknown;
87
105
  connectorParameters?: unknown;
@@ -89,17 +107,20 @@ export declare class IntegrationAccessor extends ElementAccessor<Integration, Up
89
107
  id: string;
90
108
  name: string;
91
109
  internalId: string;
110
+ createdAt?: string | undefined;
111
+ archivedAt?: string | undefined;
92
112
  credentials?: any;
93
113
  fields?: Record<string, any> | undefined;
94
- lastActiveAt?: string | undefined;
95
114
  isTest?: boolean | undefined;
115
+ lastActiveAt?: string | undefined;
96
116
  isBillable?: boolean | undefined;
97
117
  } | undefined;
118
+ isTest?: boolean | undefined;
98
119
  disconnected?: boolean | undefined;
99
- refreshToken?: string | undefined;
120
+ isDefunct?: boolean | undefined;
100
121
  lastActiveAt?: string | undefined;
101
122
  nextCredentialsRefreshAt?: string | undefined;
102
- archivedAt?: string | undefined;
123
+ meta?: Record<string, any> | undefined;
103
124
  } | undefined>;
104
125
  createConnection({ parameters, name }: {
105
126
  parameters?: any;
@@ -1,4 +1,3 @@
1
1
  export * from './create';
2
2
  export * from './merge';
3
- export * from './schemas';
4
3
  export * from './types';
@@ -1,10 +1,11 @@
1
1
  import { z } from 'zod';
2
+ export declare const zodBooleanCoercion: () => z.ZodEffects<z.ZodBoolean, boolean, unknown>;
2
3
  export declare const IncludeArchivedQuery: z.ZodObject<{
3
- includeArchived: z.ZodOptional<z.ZodBoolean>;
4
+ includeArchived: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
4
5
  }, "strip", z.ZodTypeAny, {
5
6
  includeArchived?: boolean | undefined;
6
7
  }, {
7
- includeArchived?: boolean | undefined;
8
+ includeArchived?: unknown;
8
9
  }>;
9
10
  export type IncludeArchivedQuery = z.infer<typeof IncludeArchivedQuery>;
10
11
  export declare const SearchQuery: z.ZodObject<{
@@ -32,7 +33,7 @@ export declare const CommonListElementsQuery: z.ZodObject<{
32
33
  limit: z.ZodOptional<z.ZodNumber>;
33
34
  cursor: z.ZodOptional<z.ZodString>;
34
35
  } & {
35
- includeArchived: z.ZodOptional<z.ZodBoolean>;
36
+ includeArchived: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
36
37
  }, "strip", z.ZodTypeAny, {
37
38
  search?: string | undefined;
38
39
  includeArchived?: boolean | undefined;
@@ -40,7 +41,7 @@ export declare const CommonListElementsQuery: z.ZodObject<{
40
41
  cursor?: string | undefined;
41
42
  }, {
42
43
  search?: string | undefined;
43
- includeArchived?: boolean | undefined;
44
+ includeArchived?: unknown;
44
45
  limit?: number | undefined;
45
46
  cursor?: string | undefined;
46
47
  }>;
@@ -51,7 +52,7 @@ export declare const CommonInstancesListQuery: z.ZodObject<{
51
52
  limit: z.ZodOptional<z.ZodNumber>;
52
53
  cursor: z.ZodOptional<z.ZodString>;
53
54
  } & {
54
- includeArchived: z.ZodOptional<z.ZodBoolean>;
55
+ includeArchived: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
55
56
  } & {
56
57
  userId: z.ZodOptional<z.ZodString>;
57
58
  instanceKey: z.ZodOptional<z.ZodString>;
@@ -64,7 +65,7 @@ export declare const CommonInstancesListQuery: z.ZodObject<{
64
65
  instanceKey?: string | undefined;
65
66
  }, {
66
67
  search?: string | undefined;
67
- includeArchived?: boolean | undefined;
68
+ includeArchived?: unknown;
68
69
  limit?: number | undefined;
69
70
  cursor?: string | undefined;
70
71
  userId?: string | undefined;
@@ -7,7 +7,7 @@ export declare enum HttpRequestMethod {
7
7
  DELETE = "DELETE"
8
8
  }
9
9
  export declare const HttpRequestSpec: z.ZodObject<{
10
- method: z.ZodOptional<z.ZodNativeEnum<typeof HttpRequestMethod>>;
10
+ method: z.ZodOptional<z.ZodPipeline<z.ZodString, z.ZodNativeEnum<typeof HttpRequestMethod>>>;
11
11
  uri: z.ZodAny;
12
12
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
13
13
  query: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
@@ -20,7 +20,7 @@ export declare const HttpRequestSpec: z.ZodObject<{
20
20
  query?: Record<string, any> | undefined;
21
21
  }, {
22
22
  headers?: Record<string, any> | undefined;
23
- method?: HttpRequestMethod | undefined;
23
+ method?: string | undefined;
24
24
  body?: any;
25
25
  uri?: any;
26
26
  query?: Record<string, any> | undefined;
@@ -1,8 +1,269 @@
1
- import { BaseActionInstance } from '../base/action-instances';
2
- import { BaseAction } from '../base/actions';
3
- import { BaseCustomer } from '../base/customers';
4
- export interface ActionInstance extends BaseActionInstance {
5
- user?: BaseCustomer;
6
- parent?: BaseAction;
7
- }
8
- export type ActionInstanceApiResponse = ActionInstance;
1
+ import { z } from 'zod';
2
+ export declare const ActionInstanceApiResponse: z.ZodObject<{
3
+ id: z.ZodString;
4
+ name: z.ZodString;
5
+ } & {
6
+ key: z.ZodOptional<z.ZodString>;
7
+ uuid: z.ZodOptional<z.ZodString>;
8
+ description: z.ZodOptional<z.ZodString>;
9
+ state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
10
+ errors: z.ZodOptional<z.ZodArray<any, "many">>;
11
+ revision: z.ZodOptional<z.ZodString>;
12
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
13
+ createdAt: z.ZodOptional<z.ZodString>;
14
+ updatedAt: z.ZodOptional<z.ZodString>;
15
+ archivedAt: z.ZodOptional<z.ZodString>;
16
+ } & {
17
+ parentId: z.ZodOptional<z.ZodString>;
18
+ parentRevision: z.ZodOptional<z.ZodString>;
19
+ universalParentId: z.ZodOptional<z.ZodString>;
20
+ userId: z.ZodString;
21
+ instanceKey: z.ZodOptional<z.ZodString>;
22
+ type: z.ZodNativeEnum<typeof import("../base/actions").ActionType>;
23
+ inputSchema: z.ZodOptional<z.ZodAny>;
24
+ config: z.ZodOptional<z.ZodAny>;
25
+ outputSchema: z.ZodOptional<z.ZodAny>;
26
+ isOutdated: z.ZodOptional<z.ZodBoolean>;
27
+ } & {
28
+ user: z.ZodOptional<z.ZodObject<{
29
+ id: z.ZodString;
30
+ name: z.ZodString;
31
+ internalId: z.ZodString;
32
+ fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
33
+ credentials: z.ZodOptional<z.ZodAny>;
34
+ lastActiveAt: z.ZodOptional<z.ZodString>;
35
+ isTest: z.ZodOptional<z.ZodBoolean>;
36
+ isBillable: z.ZodOptional<z.ZodBoolean>;
37
+ createdAt: z.ZodOptional<z.ZodString>;
38
+ archivedAt: z.ZodOptional<z.ZodString>;
39
+ }, "strip", z.ZodTypeAny, {
40
+ id: string;
41
+ name: string;
42
+ internalId: string;
43
+ createdAt?: string | undefined;
44
+ archivedAt?: string | undefined;
45
+ credentials?: any;
46
+ fields?: Record<string, any> | undefined;
47
+ isTest?: boolean | undefined;
48
+ lastActiveAt?: string | undefined;
49
+ isBillable?: boolean | undefined;
50
+ }, {
51
+ id: string;
52
+ name: string;
53
+ internalId: string;
54
+ createdAt?: string | undefined;
55
+ archivedAt?: string | undefined;
56
+ credentials?: any;
57
+ fields?: Record<string, any> | undefined;
58
+ isTest?: boolean | undefined;
59
+ lastActiveAt?: string | undefined;
60
+ isBillable?: boolean | undefined;
61
+ }>>;
62
+ parent: z.ZodOptional<z.ZodObject<{
63
+ id: z.ZodString;
64
+ name: z.ZodString;
65
+ } & {
66
+ key: z.ZodOptional<z.ZodString>;
67
+ uuid: z.ZodOptional<z.ZodString>;
68
+ description: z.ZodOptional<z.ZodString>;
69
+ state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
70
+ errors: z.ZodOptional<z.ZodArray<any, "many">>;
71
+ revision: z.ZodOptional<z.ZodString>;
72
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
73
+ createdAt: z.ZodOptional<z.ZodString>;
74
+ updatedAt: z.ZodOptional<z.ZodString>;
75
+ archivedAt: z.ZodOptional<z.ZodString>;
76
+ } & {
77
+ integrationId: z.ZodOptional<z.ZodString>;
78
+ parentId: z.ZodOptional<z.ZodString>;
79
+ parentRevision: z.ZodOptional<z.ZodString>;
80
+ isCustomized: z.ZodOptional<z.ZodBoolean>;
81
+ type: z.ZodNativeEnum<typeof import("../base/actions").ActionType>;
82
+ inputSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
83
+ config: z.ZodOptional<z.ZodAny>;
84
+ outputMapping: z.ZodOptional<z.ZodAny>;
85
+ customOutputSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
86
+ defaultOutputSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
87
+ transformedOutputSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
88
+ outputSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
89
+ dependencies: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
90
+ }, "strip", z.ZodTypeAny, {
91
+ type: import("../base/actions").ActionType;
92
+ id: string;
93
+ name: string;
94
+ key?: string | undefined;
95
+ uuid?: string | undefined;
96
+ description?: string | undefined;
97
+ state?: import("..").WorkspaceElementState | undefined;
98
+ errors?: any[] | undefined;
99
+ revision?: string | undefined;
100
+ isDeactivated?: boolean | undefined;
101
+ createdAt?: string | undefined;
102
+ updatedAt?: string | undefined;
103
+ archivedAt?: string | undefined;
104
+ integrationId?: string | undefined;
105
+ parentId?: string | undefined;
106
+ parentRevision?: string | undefined;
107
+ isCustomized?: boolean | undefined;
108
+ inputSchema?: import("../..").DataSchema | undefined;
109
+ config?: any;
110
+ outputMapping?: any;
111
+ customOutputSchema?: import("../..").DataSchema | undefined;
112
+ defaultOutputSchema?: import("../..").DataSchema | undefined;
113
+ transformedOutputSchema?: import("../..").DataSchema | undefined;
114
+ outputSchema?: import("../..").DataSchema | undefined;
115
+ dependencies?: any[] | undefined;
116
+ }, {
117
+ type: import("../base/actions").ActionType;
118
+ id: string;
119
+ name: string;
120
+ key?: string | undefined;
121
+ uuid?: string | undefined;
122
+ description?: string | undefined;
123
+ state?: import("..").WorkspaceElementState | undefined;
124
+ errors?: any[] | undefined;
125
+ revision?: string | undefined;
126
+ isDeactivated?: boolean | undefined;
127
+ createdAt?: string | undefined;
128
+ updatedAt?: string | undefined;
129
+ archivedAt?: string | undefined;
130
+ integrationId?: string | undefined;
131
+ parentId?: string | undefined;
132
+ parentRevision?: string | undefined;
133
+ isCustomized?: boolean | undefined;
134
+ inputSchema?: import("../..").DataSchema | undefined;
135
+ config?: any;
136
+ outputMapping?: any;
137
+ customOutputSchema?: import("../..").DataSchema | undefined;
138
+ defaultOutputSchema?: import("../..").DataSchema | undefined;
139
+ transformedOutputSchema?: import("../..").DataSchema | undefined;
140
+ outputSchema?: import("../..").DataSchema | undefined;
141
+ dependencies?: any[] | undefined;
142
+ }>>;
143
+ }, "strip", z.ZodTypeAny, {
144
+ type: import("../base/actions").ActionType;
145
+ id: string;
146
+ name: string;
147
+ userId: string;
148
+ key?: string | undefined;
149
+ uuid?: string | undefined;
150
+ description?: string | undefined;
151
+ state?: import("..").WorkspaceElementState | undefined;
152
+ errors?: any[] | undefined;
153
+ revision?: string | undefined;
154
+ isDeactivated?: boolean | undefined;
155
+ createdAt?: string | undefined;
156
+ updatedAt?: string | undefined;
157
+ archivedAt?: string | undefined;
158
+ instanceKey?: string | undefined;
159
+ user?: {
160
+ id: string;
161
+ name: string;
162
+ internalId: string;
163
+ createdAt?: string | undefined;
164
+ archivedAt?: string | undefined;
165
+ credentials?: any;
166
+ fields?: Record<string, any> | undefined;
167
+ isTest?: boolean | undefined;
168
+ lastActiveAt?: string | undefined;
169
+ isBillable?: boolean | undefined;
170
+ } | undefined;
171
+ parentId?: string | undefined;
172
+ parentRevision?: string | undefined;
173
+ inputSchema?: any;
174
+ config?: any;
175
+ outputSchema?: any;
176
+ universalParentId?: string | undefined;
177
+ isOutdated?: boolean | undefined;
178
+ parent?: {
179
+ type: import("../base/actions").ActionType;
180
+ id: string;
181
+ name: string;
182
+ key?: string | undefined;
183
+ uuid?: string | undefined;
184
+ description?: string | undefined;
185
+ state?: import("..").WorkspaceElementState | undefined;
186
+ errors?: any[] | undefined;
187
+ revision?: string | undefined;
188
+ isDeactivated?: boolean | undefined;
189
+ createdAt?: string | undefined;
190
+ updatedAt?: string | undefined;
191
+ archivedAt?: string | undefined;
192
+ integrationId?: string | undefined;
193
+ parentId?: string | undefined;
194
+ parentRevision?: string | undefined;
195
+ isCustomized?: boolean | undefined;
196
+ inputSchema?: import("../..").DataSchema | undefined;
197
+ config?: any;
198
+ outputMapping?: any;
199
+ customOutputSchema?: import("../..").DataSchema | undefined;
200
+ defaultOutputSchema?: import("../..").DataSchema | undefined;
201
+ transformedOutputSchema?: import("../..").DataSchema | undefined;
202
+ outputSchema?: import("../..").DataSchema | undefined;
203
+ dependencies?: any[] | undefined;
204
+ } | undefined;
205
+ }, {
206
+ type: import("../base/actions").ActionType;
207
+ id: string;
208
+ name: string;
209
+ userId: string;
210
+ key?: string | undefined;
211
+ uuid?: string | undefined;
212
+ description?: string | undefined;
213
+ state?: import("..").WorkspaceElementState | undefined;
214
+ errors?: any[] | undefined;
215
+ revision?: string | undefined;
216
+ isDeactivated?: boolean | undefined;
217
+ createdAt?: string | undefined;
218
+ updatedAt?: string | undefined;
219
+ archivedAt?: string | undefined;
220
+ instanceKey?: string | undefined;
221
+ user?: {
222
+ id: string;
223
+ name: string;
224
+ internalId: string;
225
+ createdAt?: string | undefined;
226
+ archivedAt?: string | undefined;
227
+ credentials?: any;
228
+ fields?: Record<string, any> | undefined;
229
+ isTest?: boolean | undefined;
230
+ lastActiveAt?: string | undefined;
231
+ isBillable?: boolean | undefined;
232
+ } | undefined;
233
+ parentId?: string | undefined;
234
+ parentRevision?: string | undefined;
235
+ inputSchema?: any;
236
+ config?: any;
237
+ outputSchema?: any;
238
+ universalParentId?: string | undefined;
239
+ isOutdated?: boolean | undefined;
240
+ parent?: {
241
+ type: import("../base/actions").ActionType;
242
+ id: string;
243
+ name: string;
244
+ key?: string | undefined;
245
+ uuid?: string | undefined;
246
+ description?: string | undefined;
247
+ state?: import("..").WorkspaceElementState | undefined;
248
+ errors?: any[] | undefined;
249
+ revision?: string | undefined;
250
+ isDeactivated?: boolean | undefined;
251
+ createdAt?: string | undefined;
252
+ updatedAt?: string | undefined;
253
+ archivedAt?: string | undefined;
254
+ integrationId?: string | undefined;
255
+ parentId?: string | undefined;
256
+ parentRevision?: string | undefined;
257
+ isCustomized?: boolean | undefined;
258
+ inputSchema?: import("../..").DataSchema | undefined;
259
+ config?: any;
260
+ outputMapping?: any;
261
+ customOutputSchema?: import("../..").DataSchema | undefined;
262
+ defaultOutputSchema?: import("../..").DataSchema | undefined;
263
+ transformedOutputSchema?: import("../..").DataSchema | undefined;
264
+ outputSchema?: import("../..").DataSchema | undefined;
265
+ dependencies?: any[] | undefined;
266
+ } | undefined;
267
+ }>;
268
+ export type ActionInstanceApiResponse = z.infer<typeof ActionInstanceApiResponse>;
269
+ export type ActionInstance = ActionInstanceApiResponse;