@membranehq/sdk 0.17.3 → 0.17.4
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 +12 -4
- package/dist/bundle.js +5 -2
- package/dist/bundle.js.map +1 -1
- package/dist/dts/clusters/types.d.ts +19 -0
- package/dist/dts/index.browser.d.ts +2 -0
- package/dist/dts/pending-tasks/index.d.ts +1 -0
- package/dist/dts/pending-tasks/types.d.ts +48 -0
- package/dist/dts/stats/index.d.ts +3 -3
- package/dist/dts/workspace-elements/api/action-run-log-records-api.d.ts +15 -6
- package/dist/dts/workspace-elements/api/app-event-log-records-api.d.ts +2 -2
- package/dist/dts/workspace-elements/api/external-api-logs-api.d.ts +2 -2
- package/dist/dts/workspace-elements/api/external-event-log-records-api.d.ts +2 -1
- package/dist/dts/workspace-elements/api/external-event-pulls-api.d.ts +2 -1
- package/dist/dts/workspace-elements/api/external-events-api.d.ts +2 -1
- package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +12 -4
- package/dist/dts/workspace-elements/api/incoming-webhooks-api.d.ts +2 -1
- package/dist/dts/workspace-elements/base/action-run-log-records/index.d.ts +5 -2
- package/dist/dts/workspace-elements/base/external-events/api.d.ts +4 -2
- package/dist/dts/workspace-elements/base/flow-runs/index.d.ts +4 -1
- package/dist/dts/workspace-elements/filter-meta.d.ts +2 -0
- package/dist/index.browser.d.mts +122 -26
- package/dist/index.browser.d.ts +122 -26
- package/dist/index.browser.js +146 -43
- package/dist/index.browser.js.map +1 -1
- package/dist/index.browser.mjs +141 -44
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.node.d.mts +122 -26
- package/dist/index.node.d.ts +122 -26
- package/dist/index.node.js +146 -43
- package/dist/index.node.js.map +1 -1
- package/dist/index.node.mjs +141 -44
- package/dist/index.node.mjs.map +1 -1
- package/package.json +1 -1
package/dist/bundle.d.ts
CHANGED
|
@@ -3295,15 +3295,17 @@ type CreateFlowRunRequest = z.infer<typeof CreateFlowRunRequest>;
|
|
|
3295
3295
|
declare const FindFlowRunsQuery: z.ZodObject<{
|
|
3296
3296
|
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3297
3297
|
cursor: z.ZodOptional<z.ZodString>;
|
|
3298
|
-
flowInstanceId: z.ZodOptional<z.ZodString>;
|
|
3299
3298
|
flowId: z.ZodOptional<z.ZodString>;
|
|
3300
3299
|
universalFlowId: z.ZodOptional<z.ZodString>;
|
|
3300
|
+
integrationFlowId: z.ZodOptional<z.ZodString>;
|
|
3301
|
+
connectionFlowId: z.ZodOptional<z.ZodString>;
|
|
3301
3302
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
3302
3303
|
userId: z.ZodOptional<z.ZodString>;
|
|
3303
3304
|
state: z.ZodOptional<z.ZodEnum<typeof FlowRunState>>;
|
|
3304
3305
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
3305
3306
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
3306
|
-
|
|
3307
|
+
from: z.ZodOptional<z.ZodString>;
|
|
3308
|
+
to: z.ZodOptional<z.ZodString>;
|
|
3307
3309
|
}, z.core.$strip>;
|
|
3308
3310
|
type FindFlowRunsQuery = z.infer<typeof FindFlowRunsQuery>;
|
|
3309
3311
|
declare const FlowRunApiResponse: z.ZodObject<{
|
|
@@ -3313,8 +3315,11 @@ declare const FlowRunApiResponse: z.ZodObject<{
|
|
|
3313
3315
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
3314
3316
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
3315
3317
|
name: z.ZodOptional<z.ZodString>;
|
|
3316
|
-
|
|
3318
|
+
connectionFlowId: z.ZodString;
|
|
3319
|
+
integrationFlowId: z.ZodOptional<z.ZodString>;
|
|
3317
3320
|
universalFlowId: z.ZodOptional<z.ZodString>;
|
|
3321
|
+
flowInstanceId: z.ZodOptional<z.ZodString>;
|
|
3322
|
+
flowId: z.ZodOptional<z.ZodString>;
|
|
3318
3323
|
startNodeKey: z.ZodString;
|
|
3319
3324
|
input: z.ZodOptional<z.ZodAny>;
|
|
3320
3325
|
state: z.ZodEnum<typeof FlowRunState>;
|
|
@@ -3495,8 +3500,11 @@ declare const FindFlowRunsResponse: z.ZodObject<{
|
|
|
3495
3500
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
3496
3501
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
3497
3502
|
name: z.ZodOptional<z.ZodString>;
|
|
3498
|
-
|
|
3503
|
+
connectionFlowId: z.ZodString;
|
|
3504
|
+
integrationFlowId: z.ZodOptional<z.ZodString>;
|
|
3499
3505
|
universalFlowId: z.ZodOptional<z.ZodString>;
|
|
3506
|
+
flowInstanceId: z.ZodOptional<z.ZodString>;
|
|
3507
|
+
flowId: z.ZodOptional<z.ZodString>;
|
|
3500
3508
|
startNodeKey: z.ZodString;
|
|
3501
3509
|
input: z.ZodOptional<z.ZodAny>;
|
|
3502
3510
|
state: z.ZodEnum<typeof FlowRunState>;
|
package/dist/bundle.js
CHANGED
|
@@ -22432,8 +22432,11 @@
|
|
|
22432
22432
|
});
|
|
22433
22433
|
ActivityLogRecord.extend({
|
|
22434
22434
|
name: string$1().optional(),
|
|
22435
|
-
|
|
22435
|
+
connectionFlowId: string$1(),
|
|
22436
|
+
integrationFlowId: string$1().optional(),
|
|
22436
22437
|
universalFlowId: string$1().optional(),
|
|
22438
|
+
flowInstanceId: string$1().optional().describe('[INTERNAL] Deprecated: Use connectionFlowId instead'),
|
|
22439
|
+
flowId: string$1().optional().describe('[INTERNAL] Deprecated: Use integrationFlowId instead'),
|
|
22437
22440
|
startNodeKey: string$1(),
|
|
22438
22441
|
input: any().optional(),
|
|
22439
22442
|
state: _enum(FlowRunState),
|
|
@@ -22489,7 +22492,7 @@
|
|
|
22489
22492
|
throw new BadRequestError('Cannot repeat a running flow run.');
|
|
22490
22493
|
}
|
|
22491
22494
|
return this.client.post(`/flow-runs`, {
|
|
22492
|
-
flowInstanceId: flowRun.flowInstanceId,
|
|
22495
|
+
flowInstanceId: flowRun.connectionFlowId || flowRun.flowInstanceId,
|
|
22493
22496
|
startNodeKey: flowRun.startNodeKey,
|
|
22494
22497
|
input: flowRun.input,
|
|
22495
22498
|
});
|