@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
@@ -43,59 +43,66 @@ 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
- baseUri: string;
56
54
  logoUri: string;
55
+ key?: string | undefined;
56
+ uuid?: string | undefined;
57
+ description?: string | undefined;
57
58
  state?: import("..").WorkspaceElementState | undefined;
58
59
  errors?: any[] | undefined;
59
- parameters?: any;
60
- parametersSchema?: import("..").DataSchema | undefined;
60
+ revision?: string | undefined;
61
+ isDeactivated?: boolean | undefined;
62
+ createdAt?: string | undefined;
63
+ updatedAt?: string | undefined;
61
64
  archivedAt?: string | undefined;
65
+ parameters?: any;
62
66
  isTest?: boolean | undefined;
63
67
  connectorId?: string | undefined;
64
68
  connectorVersion?: string | undefined;
65
- authOptions?: any[] | undefined;
66
69
  oAuthCallbackUri?: string | undefined;
67
70
  hasMissingParameters?: boolean | undefined;
68
71
  hasDocumentation?: boolean | undefined;
69
72
  hasOperations?: boolean | undefined;
73
+ operationsCount?: number | undefined;
70
74
  hasData?: boolean | undefined;
75
+ dataCollectionsCount?: number | undefined;
71
76
  hasEvents?: boolean | undefined;
77
+ eventsCount?: number | undefined;
72
78
  hasGlobalWebhooks?: boolean | undefined;
73
79
  hasUdm?: boolean | undefined;
74
80
  appUuid?: string | undefined;
75
- isDeactivated?: boolean | undefined;
76
81
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
77
82
  } | undefined;
78
83
  state?: import("..").WorkspaceElementState | undefined;
79
84
  errors?: any[] | undefined;
80
- accessToken?: string | undefined;
81
- credentials?: unknown;
82
- parameters?: unknown;
83
- connectorParameters?: unknown;
85
+ isDeactivated?: boolean | undefined;
86
+ archivedAt?: string | undefined;
87
+ authOptionKey?: string | undefined;
84
88
  user?: {
85
89
  id: string;
86
90
  name: string;
87
91
  internalId: string;
92
+ createdAt?: string | undefined;
93
+ archivedAt?: string | undefined;
88
94
  credentials?: any;
89
95
  fields?: Record<string, any> | undefined;
90
- lastActiveAt?: string | undefined;
91
96
  isTest?: boolean | undefined;
97
+ lastActiveAt?: string | undefined;
92
98
  isBillable?: boolean | undefined;
93
99
  } | undefined;
100
+ isTest?: boolean | undefined;
94
101
  disconnected?: boolean | undefined;
95
- refreshToken?: string | undefined;
102
+ isDefunct?: boolean | undefined;
96
103
  lastActiveAt?: string | undefined;
97
104
  nextCredentialsRefreshAt?: string | undefined;
98
- archivedAt?: string | undefined;
105
+ meta?: Record<string, any> | undefined;
99
106
  } | undefined>;
100
107
  openReconnectUI({}?: OpenConfigurationOptions): Promise<void>;
101
108
  refreshCredentials(): Promise<void>;
@@ -47,59 +47,66 @@ 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
- baseUri: string;
60
58
  logoUri: string;
59
+ key?: string | undefined;
60
+ uuid?: string | undefined;
61
+ description?: string | undefined;
61
62
  state?: import("..").WorkspaceElementState | undefined;
62
63
  errors?: any[] | undefined;
63
- parameters?: any;
64
- parametersSchema?: import("..").DataSchema | undefined;
64
+ revision?: string | undefined;
65
+ isDeactivated?: boolean | undefined;
66
+ createdAt?: string | undefined;
67
+ updatedAt?: string | undefined;
65
68
  archivedAt?: string | undefined;
69
+ parameters?: any;
66
70
  isTest?: boolean | undefined;
67
71
  connectorId?: string | undefined;
68
72
  connectorVersion?: string | undefined;
69
- authOptions?: any[] | undefined;
70
73
  oAuthCallbackUri?: string | undefined;
71
74
  hasMissingParameters?: boolean | undefined;
72
75
  hasDocumentation?: boolean | undefined;
73
76
  hasOperations?: boolean | undefined;
77
+ operationsCount?: number | undefined;
74
78
  hasData?: boolean | undefined;
79
+ dataCollectionsCount?: number | undefined;
75
80
  hasEvents?: boolean | undefined;
81
+ eventsCount?: number | undefined;
76
82
  hasGlobalWebhooks?: boolean | undefined;
77
83
  hasUdm?: boolean | undefined;
78
84
  appUuid?: string | undefined;
79
- isDeactivated?: boolean | undefined;
80
85
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
81
86
  } | undefined;
82
87
  state?: import("..").WorkspaceElementState | undefined;
83
88
  errors?: any[] | undefined;
84
- accessToken?: string | undefined;
85
- credentials?: unknown;
86
- parameters?: unknown;
87
- connectorParameters?: unknown;
89
+ isDeactivated?: boolean | undefined;
90
+ archivedAt?: string | undefined;
91
+ authOptionKey?: string | undefined;
88
92
  user?: {
89
93
  id: string;
90
94
  name: string;
91
95
  internalId: string;
96
+ createdAt?: string | undefined;
97
+ archivedAt?: string | undefined;
92
98
  credentials?: any;
93
99
  fields?: Record<string, any> | undefined;
94
- lastActiveAt?: string | undefined;
95
100
  isTest?: boolean | undefined;
101
+ lastActiveAt?: string | undefined;
96
102
  isBillable?: boolean | undefined;
97
103
  } | undefined;
104
+ isTest?: boolean | undefined;
98
105
  disconnected?: boolean | undefined;
99
- refreshToken?: string | undefined;
106
+ isDefunct?: boolean | undefined;
100
107
  lastActiveAt?: string | undefined;
101
108
  nextCredentialsRefreshAt?: string | undefined;
102
- archivedAt?: string | undefined;
109
+ meta?: Record<string, any> | undefined;
103
110
  } | undefined>;
104
111
  createConnection({ parameters, name }: {
105
112
  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.ZodOptional<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
+ id: string;
145
+ name: string;
146
+ userId: string;
147
+ key?: string | undefined;
148
+ type?: import("../base/actions").ActionType | 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
+ id: string;
207
+ name: string;
208
+ userId: string;
209
+ key?: string | undefined;
210
+ type?: import("../base/actions").ActionType | 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;