@membranehq/sdk 0.7.1 → 0.7.3
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.
- package/dist/bundle.d.ts +3437 -2985
- package/dist/bundle.js +10 -1
- package/dist/bundle.js.map +1 -1
- package/dist/dts/accessors/connections-accessors.d.ts +4 -3
- package/dist/dts/accessors/integrations-accessors.d.ts +4 -3
- package/dist/dts/accessors/scenarios-accessors.d.ts +4 -3
- package/dist/dts/config/config.test.d.ts +1 -0
- package/dist/dts/config/index.d.ts +42 -0
- package/dist/dts/entity-repository.d.ts +2 -2
- package/dist/dts/index.browser.d.ts +31 -0
- package/dist/dts/index.d.ts +2 -0
- package/dist/dts/index.node.d.ts +2 -0
- package/dist/dts/integration-elements/index.d.ts +0 -2
- package/dist/dts/{workspace-elements/base/scenarios/types.d.ts → scenario-templates/index.d.ts} +64 -169
- package/dist/dts/workspace-elements/api/action-instances-api.d.ts +39 -34
- package/dist/dts/workspace-elements/api/action-run-log-records-api.d.ts +37 -37
- package/dist/dts/workspace-elements/api/actions-api.d.ts +64 -46
- package/dist/dts/workspace-elements/api/app-data-schema-instances-api.d.ts +13 -0
- package/dist/dts/workspace-elements/api/app-data-schemas-api.d.ts +3 -0
- package/dist/dts/workspace-elements/api/app-event-log-records-api.d.ts +17 -2
- package/dist/dts/workspace-elements/api/app-event-subscriptions-api.d.ts +13 -0
- package/dist/dts/workspace-elements/api/app-event-types-api.d.ts +3 -0
- package/dist/dts/workspace-elements/api/connections-api.d.ts +57 -34
- package/dist/dts/workspace-elements/api/customers-api.d.ts +3 -0
- package/dist/dts/workspace-elements/api/data-link-table-instances-api.d.ts +29 -16
- package/dist/dts/workspace-elements/api/data-link-tables-api.d.ts +3 -0
- package/dist/dts/workspace-elements/api/data-source-instances-api.d.ts +51 -32
- package/dist/dts/workspace-elements/api/data-sources-api.d.ts +70 -36
- package/dist/dts/workspace-elements/api/external-event-log-records-api.d.ts +27 -22
- package/dist/dts/workspace-elements/api/external-event-pulls-api.d.ts +27 -22
- package/dist/dts/workspace-elements/api/external-event-subscriptions-api.d.ts +21 -16
- package/dist/dts/workspace-elements/api/external-events-api.d.ts +7 -0
- package/dist/dts/workspace-elements/api/field-mapping-instances-api.d.ts +122 -76
- package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +58 -24
- package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +116 -92
- package/dist/dts/workspace-elements/api/flows-api.d.ts +125 -72
- package/dist/dts/workspace-elements/api/integrations-api.d.ts +12 -14
- package/dist/dts/workspace-elements/api/scenarios-api.d.ts +434 -431
- package/dist/dts/workspace-elements/base/action-instances/types.d.ts +5 -5
- package/dist/dts/workspace-elements/base/action-run-log-records/types.d.ts +2 -2
- package/dist/dts/workspace-elements/base/actions/index.d.ts +18 -15
- package/dist/dts/workspace-elements/base/app-data-schema-instances/types.d.ts +3 -0
- package/dist/dts/workspace-elements/base/app-data-schemas/types.d.ts +3 -0
- package/dist/dts/workspace-elements/base/app-event-subscriptions/types.d.ts +3 -0
- package/dist/dts/workspace-elements/base/app-event-types/types.d.ts +3 -0
- package/dist/dts/workspace-elements/base/connections/types.d.ts +5 -8
- package/dist/dts/workspace-elements/base/customers/index.d.ts +3 -0
- package/dist/dts/workspace-elements/base/data-link-table-instances/types.d.ts +5 -2
- package/dist/dts/workspace-elements/base/data-link-tables/types.d.ts +3 -0
- package/dist/dts/workspace-elements/base/data-source-instances/types.d.ts +7 -4
- package/dist/dts/workspace-elements/base/data-sources/types.d.ts +17 -10
- package/dist/dts/workspace-elements/base/external-event-log-records/types.d.ts +2 -2
- package/dist/dts/workspace-elements/base/external-event-pulls/types.d.ts +2 -2
- package/dist/dts/workspace-elements/base/external-event-subscriptions/types.d.ts +2 -2
- package/dist/dts/workspace-elements/base/field-mapping-instances/types.d.ts +7 -4
- package/dist/dts/workspace-elements/base/field-mappings/types.d.ts +15 -8
- package/dist/dts/workspace-elements/base/flow-instances/schemas.d.ts +26 -26
- package/dist/dts/workspace-elements/base/flow-instances/types.d.ts +15 -12
- package/dist/dts/workspace-elements/base/flow-runs/types.d.ts +2 -2
- package/dist/dts/workspace-elements/base/flows/types.d.ts +21 -14
- package/dist/dts/workspace-elements/base/integrations/types.d.ts +18 -0
- package/dist/dts/workspace-elements/base/scenarios/index.d.ts +163 -1
- package/dist/dts/workspace-elements/types.d.ts +118 -0
- package/dist/dts/workspace-elements-catalog/index.d.ts +1 -0
- package/dist/{index.module.d.mts → index.browser.d.mts} +18140 -17543
- package/dist/{index.d.ts → index.browser.d.ts} +18140 -17543
- package/dist/{index.js → index.browser.js} +108 -130
- package/dist/index.browser.js.map +1 -0
- package/dist/{index.module.mjs → index.browser.mjs} +104 -127
- package/dist/index.browser.mjs.map +1 -0
- package/dist/index.node.d.mts +27932 -0
- package/dist/index.node.d.ts +27932 -0
- package/dist/index.node.js +13334 -0
- package/dist/index.node.js.map +1 -0
- package/dist/index.node.mjs +12862 -0
- package/dist/index.node.mjs.map +1 -0
- package/package.json +38 -15
- package/dist/index.js.map +0 -1
- package/dist/index.module.mjs.map +0 -1
|
@@ -124,6 +124,7 @@ export declare const IntegrationApiResponse: z.ZodObject<{
|
|
|
124
124
|
key: z.ZodOptional<z.ZodString>;
|
|
125
125
|
uuid: z.ZodOptional<z.ZodString>;
|
|
126
126
|
description: z.ZodOptional<z.ZodString>;
|
|
127
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
127
128
|
name: z.ZodString;
|
|
128
129
|
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
129
130
|
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
|
|
@@ -160,6 +161,7 @@ export declare const IntegrationApiResponse: z.ZodObject<{
|
|
|
160
161
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
161
162
|
disconnected: z.ZodOptional<z.ZodBoolean>;
|
|
162
163
|
isDefunct: z.ZodOptional<z.ZodBoolean>;
|
|
164
|
+
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
163
165
|
error: z.ZodOptional<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>>;
|
|
164
166
|
integrationId: z.ZodString;
|
|
165
167
|
authOptionKey: z.ZodOptional<z.ZodString>;
|
|
@@ -169,24 +171,21 @@ export declare const IntegrationApiResponse: z.ZodObject<{
|
|
|
169
171
|
nextCredentialsRefreshAt: z.ZodOptional<z.ZodString>;
|
|
170
172
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
171
173
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
172
|
-
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
173
|
-
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
|
|
174
174
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
175
175
|
}, "strip", z.ZodTypeAny, {
|
|
176
176
|
id: string;
|
|
177
177
|
name: string;
|
|
178
178
|
createdAt: string;
|
|
179
179
|
updatedAt: string;
|
|
180
|
-
userId: string;
|
|
181
180
|
integrationId: string;
|
|
181
|
+
userId: string;
|
|
182
182
|
error?: import("../..").ErrorDataSchema | undefined;
|
|
183
|
+
meta?: Record<string, any> | undefined;
|
|
183
184
|
state?: import("..").WorkspaceElementState | undefined;
|
|
184
|
-
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
185
185
|
archivedAt?: string | undefined;
|
|
186
186
|
isDeactivated?: boolean | undefined;
|
|
187
187
|
authOptionKey?: string | undefined;
|
|
188
188
|
isTest?: boolean | undefined;
|
|
189
|
-
meta?: Record<string, any> | undefined;
|
|
190
189
|
disconnected?: boolean | undefined;
|
|
191
190
|
isDefunct?: boolean | undefined;
|
|
192
191
|
lastActiveAt?: string | undefined;
|
|
@@ -196,16 +195,15 @@ export declare const IntegrationApiResponse: z.ZodObject<{
|
|
|
196
195
|
name: string;
|
|
197
196
|
createdAt: string;
|
|
198
197
|
updatedAt: string;
|
|
199
|
-
userId: string;
|
|
200
198
|
integrationId: string;
|
|
199
|
+
userId: string;
|
|
201
200
|
error?: import("../..").ErrorDataSchema | undefined;
|
|
201
|
+
meta?: Record<string, any> | undefined;
|
|
202
202
|
state?: import("..").WorkspaceElementState | undefined;
|
|
203
|
-
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
204
203
|
archivedAt?: string | undefined;
|
|
205
204
|
isDeactivated?: boolean | undefined;
|
|
206
205
|
authOptionKey?: string | undefined;
|
|
207
206
|
isTest?: boolean | undefined;
|
|
208
|
-
meta?: Record<string, any> | undefined;
|
|
209
207
|
disconnected?: boolean | undefined;
|
|
210
208
|
isDefunct?: boolean | undefined;
|
|
211
209
|
lastActiveAt?: string | undefined;
|
|
@@ -257,16 +255,15 @@ export declare const IntegrationApiResponse: z.ZodObject<{
|
|
|
257
255
|
name: string;
|
|
258
256
|
createdAt: string;
|
|
259
257
|
updatedAt: string;
|
|
260
|
-
userId: string;
|
|
261
258
|
integrationId: string;
|
|
259
|
+
userId: string;
|
|
262
260
|
error?: import("../..").ErrorDataSchema | undefined;
|
|
261
|
+
meta?: Record<string, any> | undefined;
|
|
263
262
|
state?: import("..").WorkspaceElementState | undefined;
|
|
264
|
-
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
265
263
|
archivedAt?: string | undefined;
|
|
266
264
|
isDeactivated?: boolean | undefined;
|
|
267
265
|
authOptionKey?: string | undefined;
|
|
268
266
|
isTest?: boolean | undefined;
|
|
269
|
-
meta?: Record<string, any> | undefined;
|
|
270
267
|
disconnected?: boolean | undefined;
|
|
271
268
|
isDefunct?: boolean | undefined;
|
|
272
269
|
lastActiveAt?: string | undefined;
|
|
@@ -274,6 +271,7 @@ export declare const IntegrationApiResponse: z.ZodObject<{
|
|
|
274
271
|
} | undefined;
|
|
275
272
|
uuid?: string | undefined;
|
|
276
273
|
description?: string | undefined;
|
|
274
|
+
meta?: Record<string, any> | undefined;
|
|
277
275
|
state?: import("..").WorkspaceElementState | undefined;
|
|
278
276
|
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
279
277
|
revision?: string | undefined;
|
|
@@ -320,16 +318,15 @@ export declare const IntegrationApiResponse: z.ZodObject<{
|
|
|
320
318
|
name: string;
|
|
321
319
|
createdAt: string;
|
|
322
320
|
updatedAt: string;
|
|
323
|
-
userId: string;
|
|
324
321
|
integrationId: string;
|
|
322
|
+
userId: string;
|
|
325
323
|
error?: import("../..").ErrorDataSchema | undefined;
|
|
324
|
+
meta?: Record<string, any> | undefined;
|
|
326
325
|
state?: import("..").WorkspaceElementState | undefined;
|
|
327
|
-
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
328
326
|
archivedAt?: string | undefined;
|
|
329
327
|
isDeactivated?: boolean | undefined;
|
|
330
328
|
authOptionKey?: string | undefined;
|
|
331
329
|
isTest?: boolean | undefined;
|
|
332
|
-
meta?: Record<string, any> | undefined;
|
|
333
330
|
disconnected?: boolean | undefined;
|
|
334
331
|
isDefunct?: boolean | undefined;
|
|
335
332
|
lastActiveAt?: string | undefined;
|
|
@@ -337,6 +334,7 @@ export declare const IntegrationApiResponse: z.ZodObject<{
|
|
|
337
334
|
} | undefined;
|
|
338
335
|
uuid?: string | undefined;
|
|
339
336
|
description?: string | undefined;
|
|
337
|
+
meta?: Record<string, any> | undefined;
|
|
340
338
|
state?: import("..").WorkspaceElementState | undefined;
|
|
341
339
|
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
342
340
|
revision?: string | undefined;
|