@membranehq/sdk 0.29.0 → 0.29.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.
- package/dist/bundle.d.ts +97 -2
- package/dist/bundle.js +1055 -274
- package/dist/bundle.js.map +1 -1
- package/dist/dts/accessors/connections-accessors.d.ts +5 -0
- package/dist/dts/accessors/integrations-accessors.d.ts +2 -0
- package/dist/dts/agent/harness-snapshot.d.ts +65 -0
- package/dist/dts/agent/harness.d.ts +107 -0
- package/dist/dts/agent/index.d.ts +6 -0
- package/dist/dts/agent/instruction.d.ts +32 -0
- package/dist/dts/agent/session.d.ts +5 -2
- package/dist/dts/agent/skill.d.ts +50 -0
- package/dist/dts/agent/tool.d.ts +8 -0
- package/dist/dts/agent/worker-contracts.d.ts +2 -0
- package/dist/dts/agent/workspace-element-context.d.ts +3 -0
- package/dist/dts/data-schema/types.d.ts +1 -1
- package/dist/dts/index.browser.d.ts +1 -0
- package/dist/dts/mcp-client/index.d.ts +76 -0
- package/dist/dts/orgs/types.d.ts +528 -1
- package/dist/dts/scenario-templates/index.d.ts +1 -0
- package/dist/dts/workspace-elements/api/action-run-log-records-api.d.ts +18 -0
- package/dist/dts/workspace-elements/api/checkpoints-api.d.ts +1 -0
- package/dist/dts/workspace-elements/api/connections-api.d.ts +47 -0
- package/dist/dts/workspace-elements/api/data-link-table-instances-api.d.ts +9 -0
- package/dist/dts/workspace-elements/api/data-sources-api.d.ts +18 -0
- package/dist/dts/workspace-elements/api/external-api-logs-api.d.ts +9 -0
- package/dist/dts/workspace-elements/api/external-event-log-records-api.d.ts +14 -0
- package/dist/dts/workspace-elements/api/external-event-pulls-api.d.ts +10 -0
- package/dist/dts/workspace-elements/api/external-event-subscriptions-api.d.ts +9 -0
- package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +18 -0
- package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +18 -0
- package/dist/dts/workspace-elements/api/flows-api.d.ts +18 -0
- package/dist/dts/workspace-elements/api/incoming-webhooks-api.d.ts +9 -0
- package/dist/dts/workspace-elements/api/integrations-api.d.ts +18 -0
- package/dist/dts/workspace-elements/base/connection-requests/index.d.ts +2 -0
- package/dist/dts/workspace-elements/base/connections/index.d.ts +23 -0
- package/dist/dts/workspace-elements/base/connectors/auth.d.ts +6 -0
- package/dist/dts/workspace-elements/base/connectors/index.d.ts +208 -0
- package/dist/dts/workspace-elements/base/connectors/rest-api.d.ts +1 -0
- package/dist/dts/workspace-elements/base/external-event-log-records/index.d.ts +14 -0
- package/dist/dts/workspace-elements/base/external-event-pulls/index.d.ts +50 -0
- package/dist/dts/workspace-elements/paths.d.ts +1 -0
- package/dist/dts/workspace-elements/types.d.ts +4 -1
- package/dist/dts/workspaces/api.d.ts +1 -0
- package/dist/index.browser.d.mts +1555 -150
- package/dist/index.browser.d.ts +1555 -150
- package/dist/index.browser.js +452 -19
- package/dist/index.browser.js.map +1 -1
- package/dist/index.browser.mjs +416 -20
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.node.d.mts +1555 -150
- package/dist/index.node.d.ts +1555 -150
- package/dist/index.node.js +452 -19
- package/dist/index.node.js.map +1 -1
- package/dist/index.node.mjs +416 -20
- package/dist/index.node.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -3530,6 +3530,211 @@ export declare const ConnectorExportProperties: z.ZodObject<{
|
|
|
3530
3530
|
categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3531
3531
|
}, z.core.$strip>;
|
|
3532
3532
|
export type ConnectorExportProperties = z.infer<typeof ConnectorExportProperties>;
|
|
3533
|
+
export declare const ConnectorVersionExportProperties: z.ZodObject<{
|
|
3534
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
3535
|
+
proxy: "proxy";
|
|
3536
|
+
"integration-app-token": "integration-app-token";
|
|
3537
|
+
"membrane-token": "membrane-token";
|
|
3538
|
+
oauth2: "oauth2";
|
|
3539
|
+
oauth1: "oauth1";
|
|
3540
|
+
"client-credentials": "client-credentials";
|
|
3541
|
+
}>>;
|
|
3542
|
+
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3543
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
3544
|
+
proxy: "proxy";
|
|
3545
|
+
"integration-app-token": "integration-app-token";
|
|
3546
|
+
"membrane-token": "membrane-token";
|
|
3547
|
+
oauth2: "oauth2";
|
|
3548
|
+
oauth1: "oauth1";
|
|
3549
|
+
"client-credentials": "client-credentials";
|
|
3550
|
+
}>>;
|
|
3551
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3552
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3553
|
+
test: z.ZodOptional<z.ZodObject<{
|
|
3554
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
3555
|
+
mapping: "mapping";
|
|
3556
|
+
"operation-mapping": "operation-mapping";
|
|
3557
|
+
"rest-api-mapping": "rest-api-mapping";
|
|
3558
|
+
"graphql-api-mapping": "graphql-api-mapping";
|
|
3559
|
+
javascript: "javascript";
|
|
3560
|
+
}>>;
|
|
3561
|
+
}, z.core.$loose>>;
|
|
3562
|
+
ui: z.ZodOptional<z.ZodObject<{
|
|
3563
|
+
schema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
|
|
3564
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3565
|
+
helpUri: z.ZodOptional<z.ZodString>;
|
|
3566
|
+
}, z.core.$strip>>;
|
|
3567
|
+
parametersSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
|
|
3568
|
+
inputSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
|
|
3569
|
+
customCredentialsSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
|
|
3570
|
+
makeApiClient: z.ZodOptional<z.ZodObject<{
|
|
3571
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
3572
|
+
mapping: "mapping";
|
|
3573
|
+
"operation-mapping": "operation-mapping";
|
|
3574
|
+
"rest-api-mapping": "rest-api-mapping";
|
|
3575
|
+
"graphql-api-mapping": "graphql-api-mapping";
|
|
3576
|
+
javascript: "javascript";
|
|
3577
|
+
}>>;
|
|
3578
|
+
}, z.core.$loose>>;
|
|
3579
|
+
refreshCredentials: z.ZodOptional<z.ZodObject<{
|
|
3580
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
3581
|
+
mapping: "mapping";
|
|
3582
|
+
"operation-mapping": "operation-mapping";
|
|
3583
|
+
"rest-api-mapping": "rest-api-mapping";
|
|
3584
|
+
"graphql-api-mapping": "graphql-api-mapping";
|
|
3585
|
+
javascript: "javascript";
|
|
3586
|
+
}>>;
|
|
3587
|
+
}, z.core.$loose>>;
|
|
3588
|
+
disconnect: z.ZodOptional<z.ZodObject<{
|
|
3589
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
3590
|
+
mapping: "mapping";
|
|
3591
|
+
"operation-mapping": "operation-mapping";
|
|
3592
|
+
"rest-api-mapping": "rest-api-mapping";
|
|
3593
|
+
"graphql-api-mapping": "graphql-api-mapping";
|
|
3594
|
+
javascript: "javascript";
|
|
3595
|
+
}>>;
|
|
3596
|
+
}, z.core.$loose>>;
|
|
3597
|
+
enabled: z.ZodOptional<z.ZodAny>;
|
|
3598
|
+
getOAuthConfig: z.ZodOptional<z.ZodObject<{
|
|
3599
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
3600
|
+
mapping: "mapping";
|
|
3601
|
+
"operation-mapping": "operation-mapping";
|
|
3602
|
+
"rest-api-mapping": "rest-api-mapping";
|
|
3603
|
+
"graphql-api-mapping": "graphql-api-mapping";
|
|
3604
|
+
javascript: "javascript";
|
|
3605
|
+
}>>;
|
|
3606
|
+
}, z.core.$loose>>;
|
|
3607
|
+
getTokenData: z.ZodOptional<z.ZodObject<{
|
|
3608
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
3609
|
+
mapping: "mapping";
|
|
3610
|
+
"operation-mapping": "operation-mapping";
|
|
3611
|
+
"rest-api-mapping": "rest-api-mapping";
|
|
3612
|
+
"graphql-api-mapping": "graphql-api-mapping";
|
|
3613
|
+
javascript: "javascript";
|
|
3614
|
+
}>>;
|
|
3615
|
+
}, z.core.$loose>>;
|
|
3616
|
+
getCredentialsFromAccessTokenResponse: z.ZodOptional<z.ZodObject<{
|
|
3617
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
3618
|
+
mapping: "mapping";
|
|
3619
|
+
"operation-mapping": "operation-mapping";
|
|
3620
|
+
"rest-api-mapping": "rest-api-mapping";
|
|
3621
|
+
"graphql-api-mapping": "graphql-api-mapping";
|
|
3622
|
+
javascript: "javascript";
|
|
3623
|
+
}>>;
|
|
3624
|
+
}, z.core.$loose>>;
|
|
3625
|
+
getCredentialsFromRefreshTokenResponse: z.ZodOptional<z.ZodObject<{
|
|
3626
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
3627
|
+
mapping: "mapping";
|
|
3628
|
+
"operation-mapping": "operation-mapping";
|
|
3629
|
+
"rest-api-mapping": "rest-api-mapping";
|
|
3630
|
+
"graphql-api-mapping": "graphql-api-mapping";
|
|
3631
|
+
javascript: "javascript";
|
|
3632
|
+
}>>;
|
|
3633
|
+
}, z.core.$loose>>;
|
|
3634
|
+
getCredentialsFromConnectionParameters: z.ZodOptional<z.ZodObject<{
|
|
3635
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
3636
|
+
mapping: "mapping";
|
|
3637
|
+
"operation-mapping": "operation-mapping";
|
|
3638
|
+
"rest-api-mapping": "rest-api-mapping";
|
|
3639
|
+
"graphql-api-mapping": "graphql-api-mapping";
|
|
3640
|
+
javascript: "javascript";
|
|
3641
|
+
}>>;
|
|
3642
|
+
}, z.core.$loose>>;
|
|
3643
|
+
proxyKey: z.ZodOptional<z.ZodString>;
|
|
3644
|
+
}, z.core.$strip>>>;
|
|
3645
|
+
test: z.ZodOptional<z.ZodObject<{
|
|
3646
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
3647
|
+
mapping: "mapping";
|
|
3648
|
+
"operation-mapping": "operation-mapping";
|
|
3649
|
+
"rest-api-mapping": "rest-api-mapping";
|
|
3650
|
+
"graphql-api-mapping": "graphql-api-mapping";
|
|
3651
|
+
javascript: "javascript";
|
|
3652
|
+
}>>;
|
|
3653
|
+
}, z.core.$loose>>;
|
|
3654
|
+
ui: z.ZodOptional<z.ZodObject<{
|
|
3655
|
+
schema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
|
|
3656
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3657
|
+
helpUri: z.ZodOptional<z.ZodString>;
|
|
3658
|
+
}, z.core.$strip>>;
|
|
3659
|
+
parametersSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
|
|
3660
|
+
inputSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
|
|
3661
|
+
customCredentialsSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
|
|
3662
|
+
makeApiClient: z.ZodOptional<z.ZodObject<{
|
|
3663
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
3664
|
+
mapping: "mapping";
|
|
3665
|
+
"operation-mapping": "operation-mapping";
|
|
3666
|
+
"rest-api-mapping": "rest-api-mapping";
|
|
3667
|
+
"graphql-api-mapping": "graphql-api-mapping";
|
|
3668
|
+
javascript: "javascript";
|
|
3669
|
+
}>>;
|
|
3670
|
+
}, z.core.$loose>>;
|
|
3671
|
+
refreshCredentials: z.ZodOptional<z.ZodObject<{
|
|
3672
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
3673
|
+
mapping: "mapping";
|
|
3674
|
+
"operation-mapping": "operation-mapping";
|
|
3675
|
+
"rest-api-mapping": "rest-api-mapping";
|
|
3676
|
+
"graphql-api-mapping": "graphql-api-mapping";
|
|
3677
|
+
javascript: "javascript";
|
|
3678
|
+
}>>;
|
|
3679
|
+
}, z.core.$loose>>;
|
|
3680
|
+
disconnect: z.ZodOptional<z.ZodObject<{
|
|
3681
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
3682
|
+
mapping: "mapping";
|
|
3683
|
+
"operation-mapping": "operation-mapping";
|
|
3684
|
+
"rest-api-mapping": "rest-api-mapping";
|
|
3685
|
+
"graphql-api-mapping": "graphql-api-mapping";
|
|
3686
|
+
javascript: "javascript";
|
|
3687
|
+
}>>;
|
|
3688
|
+
}, z.core.$loose>>;
|
|
3689
|
+
getOAuthConfig: z.ZodOptional<z.ZodObject<{
|
|
3690
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
3691
|
+
mapping: "mapping";
|
|
3692
|
+
"operation-mapping": "operation-mapping";
|
|
3693
|
+
"rest-api-mapping": "rest-api-mapping";
|
|
3694
|
+
"graphql-api-mapping": "graphql-api-mapping";
|
|
3695
|
+
javascript: "javascript";
|
|
3696
|
+
}>>;
|
|
3697
|
+
}, z.core.$loose>>;
|
|
3698
|
+
getTokenData: z.ZodOptional<z.ZodObject<{
|
|
3699
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
3700
|
+
mapping: "mapping";
|
|
3701
|
+
"operation-mapping": "operation-mapping";
|
|
3702
|
+
"rest-api-mapping": "rest-api-mapping";
|
|
3703
|
+
"graphql-api-mapping": "graphql-api-mapping";
|
|
3704
|
+
javascript: "javascript";
|
|
3705
|
+
}>>;
|
|
3706
|
+
}, z.core.$loose>>;
|
|
3707
|
+
getCredentialsFromAccessTokenResponse: z.ZodOptional<z.ZodObject<{
|
|
3708
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
3709
|
+
mapping: "mapping";
|
|
3710
|
+
"operation-mapping": "operation-mapping";
|
|
3711
|
+
"rest-api-mapping": "rest-api-mapping";
|
|
3712
|
+
"graphql-api-mapping": "graphql-api-mapping";
|
|
3713
|
+
javascript: "javascript";
|
|
3714
|
+
}>>;
|
|
3715
|
+
}, z.core.$loose>>;
|
|
3716
|
+
getCredentialsFromRefreshTokenResponse: z.ZodOptional<z.ZodObject<{
|
|
3717
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
3718
|
+
mapping: "mapping";
|
|
3719
|
+
"operation-mapping": "operation-mapping";
|
|
3720
|
+
"rest-api-mapping": "rest-api-mapping";
|
|
3721
|
+
"graphql-api-mapping": "graphql-api-mapping";
|
|
3722
|
+
javascript: "javascript";
|
|
3723
|
+
}>>;
|
|
3724
|
+
}, z.core.$loose>>;
|
|
3725
|
+
getCredentialsFromConnectionParameters: z.ZodOptional<z.ZodObject<{
|
|
3726
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
3727
|
+
mapping: "mapping";
|
|
3728
|
+
"operation-mapping": "operation-mapping";
|
|
3729
|
+
"rest-api-mapping": "rest-api-mapping";
|
|
3730
|
+
"graphql-api-mapping": "graphql-api-mapping";
|
|
3731
|
+
javascript: "javascript";
|
|
3732
|
+
}>>;
|
|
3733
|
+
}, z.core.$loose>>;
|
|
3734
|
+
proxyKey: z.ZodOptional<z.ZodString>;
|
|
3735
|
+
version: z.ZodString;
|
|
3736
|
+
}, z.core.$strip>;
|
|
3737
|
+
export type ConnectorVersionExportProperties = z.infer<typeof ConnectorVersionExportProperties>;
|
|
3533
3738
|
export interface ConnectorVersionExport {
|
|
3534
3739
|
version: string;
|
|
3535
3740
|
zipBuffer: Buffer;
|
|
@@ -3970,6 +4175,7 @@ export declare const BaseConnector: z.ZodObject<{
|
|
|
3970
4175
|
externalAppId: z.ZodOptional<z.ZodString>;
|
|
3971
4176
|
name: z.ZodString;
|
|
3972
4177
|
logoUri: z.ZodString;
|
|
4178
|
+
appUri: z.ZodOptional<z.ZodString>;
|
|
3973
4179
|
categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3974
4180
|
isPublic: z.ZodOptional<z.ZodBoolean>;
|
|
3975
4181
|
popularity: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3984,6 +4190,7 @@ export declare const Connector: z.ZodObject<{
|
|
|
3984
4190
|
externalAppId: z.ZodOptional<z.ZodString>;
|
|
3985
4191
|
name: z.ZodString;
|
|
3986
4192
|
logoUri: z.ZodString;
|
|
4193
|
+
appUri: z.ZodOptional<z.ZodString>;
|
|
3987
4194
|
categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3988
4195
|
isPublic: z.ZodOptional<z.ZodBoolean>;
|
|
3989
4196
|
popularity: z.ZodOptional<z.ZodNumber>;
|
|
@@ -4211,6 +4418,7 @@ export declare const MinimalConnector: z.ZodObject<{
|
|
|
4211
4418
|
key: z.ZodString;
|
|
4212
4419
|
name: z.ZodString;
|
|
4213
4420
|
logoUri: z.ZodString;
|
|
4421
|
+
appUri: z.ZodOptional<z.ZodString>;
|
|
4214
4422
|
isPublic: z.ZodOptional<z.ZodBoolean>;
|
|
4215
4423
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
4216
4424
|
}, z.core.$strip>;
|
|
@@ -5,6 +5,15 @@ export declare enum ExternalEventLogStatus {
|
|
|
5
5
|
ERROR = "error",
|
|
6
6
|
SUCCESS = "success"
|
|
7
7
|
}
|
|
8
|
+
export declare enum ExternalEventLogFlowTriggerSkipReasonCode {
|
|
9
|
+
AllDependentFlowInstancesDisabled = "all-dependent-flow-instances-disabled"
|
|
10
|
+
}
|
|
11
|
+
export declare const ExternalEventLogFlowTriggerSkipReason: z.ZodObject<{
|
|
12
|
+
code: z.ZodEnum<typeof ExternalEventLogFlowTriggerSkipReasonCode>;
|
|
13
|
+
message: z.ZodString;
|
|
14
|
+
dependentFlowInstanceIds: z.ZodArray<z.ZodString>;
|
|
15
|
+
}, z.core.$strip>;
|
|
16
|
+
export type ExternalEventLogFlowTriggerSkipReason = z.infer<typeof ExternalEventLogFlowTriggerSkipReason>;
|
|
8
17
|
export declare const BaseExternalEventLogRecord: z.ZodObject<{
|
|
9
18
|
userId: z.ZodString;
|
|
10
19
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
@@ -19,5 +28,10 @@ export declare const BaseExternalEventLogRecord: z.ZodObject<{
|
|
|
19
28
|
launchedFlowRunIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
20
29
|
status: z.ZodEnum<typeof ExternalEventLogStatus>;
|
|
21
30
|
error: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
|
|
31
|
+
flowTriggerSkipReason: z.ZodOptional<z.ZodObject<{
|
|
32
|
+
code: z.ZodEnum<typeof ExternalEventLogFlowTriggerSkipReasonCode>;
|
|
33
|
+
message: z.ZodString;
|
|
34
|
+
dependentFlowInstanceIds: z.ZodArray<z.ZodString>;
|
|
35
|
+
}, z.core.$strip>>;
|
|
22
36
|
}, z.core.$strip>;
|
|
23
37
|
export type BaseExternalEventLogRecord = z.infer<typeof BaseExternalEventLogRecord>;
|
|
@@ -20,6 +20,56 @@ export declare const BaseExternalEventPull: z.ZodObject<{
|
|
|
20
20
|
isFullScan: z.ZodOptional<z.ZodBoolean>;
|
|
21
21
|
status: z.ZodEnum<typeof ExternalEventPullStatus>;
|
|
22
22
|
collectedEventIds: z.ZodArray<z.ZodString>;
|
|
23
|
+
telemetryUri: z.ZodOptional<z.ZodString>;
|
|
23
24
|
error: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
|
|
24
25
|
}, z.core.$strip>;
|
|
25
26
|
export type BaseExternalEventPull = z.infer<typeof BaseExternalEventPull>;
|
|
27
|
+
export declare const ExternalEventPullTelemetry: z.ZodObject<{
|
|
28
|
+
pullId: z.ZodString;
|
|
29
|
+
subscriptionId: z.ZodString;
|
|
30
|
+
connectionId: z.ZodOptional<z.ZodString>;
|
|
31
|
+
strategy: z.ZodEnum<{
|
|
32
|
+
unknown: "unknown";
|
|
33
|
+
"custom-pull": "custom-pull";
|
|
34
|
+
"full-scan": "full-scan";
|
|
35
|
+
"pull-latest-records": "pull-latest-records";
|
|
36
|
+
skipped: "skipped";
|
|
37
|
+
}>;
|
|
38
|
+
eventType: z.ZodOptional<z.ZodString>;
|
|
39
|
+
collectionKey: z.ZodOptional<z.ZodString>;
|
|
40
|
+
startedAt: z.ZodString;
|
|
41
|
+
finishedAt: z.ZodString;
|
|
42
|
+
emittedEventCount: z.ZodNumber;
|
|
43
|
+
emittedEvents: z.ZodArray<z.ZodObject<{
|
|
44
|
+
type: z.ZodString;
|
|
45
|
+
recordId: z.ZodOptional<z.ZodString>;
|
|
46
|
+
}, z.core.$strip>>;
|
|
47
|
+
notes: z.ZodArray<z.ZodString>;
|
|
48
|
+
fullScan: z.ZodOptional<z.ZodObject<{
|
|
49
|
+
totalRecords: z.ZodNumber;
|
|
50
|
+
totalPages: z.ZodNumber;
|
|
51
|
+
previousSnapshotId: z.ZodOptional<z.ZodString>;
|
|
52
|
+
previousSnapshotRecordCount: z.ZodOptional<z.ZodNumber>;
|
|
53
|
+
previousSnapshotMissing: z.ZodBoolean;
|
|
54
|
+
newSnapshotId: z.ZodOptional<z.ZodString>;
|
|
55
|
+
isBaseline: z.ZodBoolean;
|
|
56
|
+
}, z.core.$strip>>;
|
|
57
|
+
pullLatest: z.ZodOptional<z.ZodObject<{
|
|
58
|
+
stateBefore: z.ZodOptional<z.ZodObject<{
|
|
59
|
+
id: z.ZodOptional<z.ZodString>;
|
|
60
|
+
datetime: z.ZodOptional<z.ZodString>;
|
|
61
|
+
}, z.core.$strip>>;
|
|
62
|
+
stateAfter: z.ZodOptional<z.ZodObject<{
|
|
63
|
+
id: z.ZodOptional<z.ZodString>;
|
|
64
|
+
datetime: z.ZodOptional<z.ZodString>;
|
|
65
|
+
}, z.core.$strip>>;
|
|
66
|
+
pagesScanned: z.ZodNumber;
|
|
67
|
+
scannedRecords: z.ZodArray<z.ZodObject<{
|
|
68
|
+
id: z.ZodString;
|
|
69
|
+
datetime: z.ZodOptional<z.ZodString>;
|
|
70
|
+
}, z.core.$strip>>;
|
|
71
|
+
newRecordIds: z.ZodArray<z.ZodString>;
|
|
72
|
+
isBaseline: z.ZodBoolean;
|
|
73
|
+
}, z.core.$strip>>;
|
|
74
|
+
}, z.core.$strip>;
|
|
75
|
+
export type ExternalEventPullTelemetry = z.infer<typeof ExternalEventPullTelemetry>;
|
|
@@ -8,3 +8,4 @@ export declare function parseMembraneElementPath(relativePath: string): {
|
|
|
8
8
|
} | undefined;
|
|
9
9
|
export declare function getConnectorSpecPath(connectorUuid: string): string;
|
|
10
10
|
export declare function getConnectorVersionPath(connectorUuid: string, version: string): string;
|
|
11
|
+
export declare function getConnectorVersionSpecPath(connectorUuid: string, version: string): string;
|
|
@@ -40,7 +40,10 @@ export declare enum WorkspaceElementType {
|
|
|
40
40
|
ActionRunLogRecord = "action-run-log-record",
|
|
41
41
|
ExternalApiLogRecord = "external-api-log-record",
|
|
42
42
|
IncomingWebhookLogRecord = "incoming-webhook-log-record",
|
|
43
|
-
ConnectedProduct = "connected-product"
|
|
43
|
+
ConnectedProduct = "connected-product",
|
|
44
|
+
AgentHarness = "agent-harness",
|
|
45
|
+
AgentSkill = "agent-skill",
|
|
46
|
+
AgentInstruction = "agent-instruction"
|
|
44
47
|
}
|
|
45
48
|
export declare enum WorkspaceEventType {
|
|
46
49
|
ConnectionCreated = "connection.created",
|
|
@@ -307,6 +307,7 @@ export declare const GenerateWorkspaceAccessTokenRequest: z.ZodObject<{
|
|
|
307
307
|
name: z.ZodOptional<z.ZodString>;
|
|
308
308
|
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
309
309
|
connectedProductId: z.ZodOptional<z.ZodString>;
|
|
310
|
+
expiresIn: z.ZodOptional<z.ZodNumber>;
|
|
310
311
|
}, z.core.$strip>;
|
|
311
312
|
export type GenerateWorkspaceAccessTokenRequest = z.infer<typeof GenerateWorkspaceAccessTokenRequest>;
|
|
312
313
|
export declare const GenerateWorkspaceAccessTokenResponse: z.ZodObject<{
|