@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.
Files changed (56) hide show
  1. package/dist/bundle.d.ts +97 -2
  2. package/dist/bundle.js +1055 -274
  3. package/dist/bundle.js.map +1 -1
  4. package/dist/dts/accessors/connections-accessors.d.ts +5 -0
  5. package/dist/dts/accessors/integrations-accessors.d.ts +2 -0
  6. package/dist/dts/agent/harness-snapshot.d.ts +65 -0
  7. package/dist/dts/agent/harness.d.ts +107 -0
  8. package/dist/dts/agent/index.d.ts +6 -0
  9. package/dist/dts/agent/instruction.d.ts +32 -0
  10. package/dist/dts/agent/session.d.ts +5 -2
  11. package/dist/dts/agent/skill.d.ts +50 -0
  12. package/dist/dts/agent/tool.d.ts +8 -0
  13. package/dist/dts/agent/worker-contracts.d.ts +2 -0
  14. package/dist/dts/agent/workspace-element-context.d.ts +3 -0
  15. package/dist/dts/data-schema/types.d.ts +1 -1
  16. package/dist/dts/index.browser.d.ts +1 -0
  17. package/dist/dts/mcp-client/index.d.ts +76 -0
  18. package/dist/dts/orgs/types.d.ts +528 -1
  19. package/dist/dts/scenario-templates/index.d.ts +1 -0
  20. package/dist/dts/workspace-elements/api/action-run-log-records-api.d.ts +18 -0
  21. package/dist/dts/workspace-elements/api/checkpoints-api.d.ts +1 -0
  22. package/dist/dts/workspace-elements/api/connections-api.d.ts +47 -0
  23. package/dist/dts/workspace-elements/api/data-link-table-instances-api.d.ts +9 -0
  24. package/dist/dts/workspace-elements/api/data-sources-api.d.ts +18 -0
  25. package/dist/dts/workspace-elements/api/external-api-logs-api.d.ts +9 -0
  26. package/dist/dts/workspace-elements/api/external-event-log-records-api.d.ts +14 -0
  27. package/dist/dts/workspace-elements/api/external-event-pulls-api.d.ts +10 -0
  28. package/dist/dts/workspace-elements/api/external-event-subscriptions-api.d.ts +9 -0
  29. package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +18 -0
  30. package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +18 -0
  31. package/dist/dts/workspace-elements/api/flows-api.d.ts +18 -0
  32. package/dist/dts/workspace-elements/api/incoming-webhooks-api.d.ts +9 -0
  33. package/dist/dts/workspace-elements/api/integrations-api.d.ts +18 -0
  34. package/dist/dts/workspace-elements/base/connection-requests/index.d.ts +2 -0
  35. package/dist/dts/workspace-elements/base/connections/index.d.ts +23 -0
  36. package/dist/dts/workspace-elements/base/connectors/auth.d.ts +6 -0
  37. package/dist/dts/workspace-elements/base/connectors/index.d.ts +208 -0
  38. package/dist/dts/workspace-elements/base/connectors/rest-api.d.ts +1 -0
  39. package/dist/dts/workspace-elements/base/external-event-log-records/index.d.ts +14 -0
  40. package/dist/dts/workspace-elements/base/external-event-pulls/index.d.ts +50 -0
  41. package/dist/dts/workspace-elements/paths.d.ts +1 -0
  42. package/dist/dts/workspace-elements/types.d.ts +4 -1
  43. package/dist/dts/workspaces/api.d.ts +1 -0
  44. package/dist/index.browser.d.mts +1555 -150
  45. package/dist/index.browser.d.ts +1555 -150
  46. package/dist/index.browser.js +452 -19
  47. package/dist/index.browser.js.map +1 -1
  48. package/dist/index.browser.mjs +416 -20
  49. package/dist/index.browser.mjs.map +1 -1
  50. package/dist/index.node.d.mts +1555 -150
  51. package/dist/index.node.d.ts +1555 -150
  52. package/dist/index.node.js +452 -19
  53. package/dist/index.node.js.map +1 -1
  54. package/dist/index.node.mjs +416 -20
  55. package/dist/index.node.mjs.map +1 -1
  56. package/package.json +2 -2
@@ -156,7 +156,10 @@ declare enum WorkspaceElementType {
156
156
  ActionRunLogRecord = "action-run-log-record",
157
157
  ExternalApiLogRecord = "external-api-log-record",
158
158
  IncomingWebhookLogRecord = "incoming-webhook-log-record",
159
- ConnectedProduct = "connected-product"
159
+ ConnectedProduct = "connected-product",
160
+ AgentHarness = "agent-harness",
161
+ AgentSkill = "agent-skill",
162
+ AgentInstruction = "agent-instruction"
160
163
  }
161
164
  declare enum WorkspaceEventType {
162
165
  ConnectionCreated = "connection.created",
@@ -404,7 +407,7 @@ interface DataSchema {
404
407
  };
405
408
  items?: DataSchema;
406
409
  additionalProperties?: boolean | DataSchema;
407
- enum?: string[];
410
+ enum?: (string | number)[];
408
411
  referenceRecords?: any[];
409
412
  referenceCollection?: {
410
413
  key?: any;
@@ -894,6 +897,7 @@ declare const CreateConnectionRequestPayload: z.ZodObject<{
894
897
  allowMultipleConnections: z.ZodOptional<z.ZodBoolean>;
895
898
  connectorParameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
896
899
  redirectUri: z.ZodOptional<z.ZodString>;
900
+ customState: z.ZodOptional<z.ZodString>;
897
901
  prompt: z.ZodOptional<z.ZodString>;
898
902
  }, z.core.$strip>;
899
903
  type CreateConnectionRequestPayload = z.infer<typeof CreateConnectionRequestPayload>;
@@ -915,6 +919,7 @@ declare const ConnectionRequest: z.ZodObject<{
915
919
  allowMultipleConnections: z.ZodOptional<z.ZodBoolean>;
916
920
  connectorParameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
917
921
  redirectUri: z.ZodOptional<z.ZodString>;
922
+ customState: z.ZodOptional<z.ZodString>;
918
923
  prompt: z.ZodOptional<z.ZodString>;
919
924
  status: z.ZodEnum<{
920
925
  success: "success";
@@ -3623,6 +3628,7 @@ interface ConnectorAuthOAuth2Config {
3623
3628
  clientAuthLocation?: 'body' | 'headers';
3624
3629
  noRefreshToken?: boolean;
3625
3630
  skipPkce?: boolean;
3631
+ authorizationCodeParam?: string;
3626
3632
  skipClientAuthInBody?: boolean;
3627
3633
  skipClientAuthInHeaders?: boolean;
3628
3634
  extra?: Record<string, any>;
@@ -3673,6 +3679,11 @@ declare const OAUTH_CONFIG_SCHEMA: {
3673
3679
  type: string;
3674
3680
  description: string;
3675
3681
  };
3682
+ authorizationCodeParam: {
3683
+ type: string;
3684
+ default: string;
3685
+ description: string;
3686
+ };
3676
3687
  extra: {
3677
3688
  type: string;
3678
3689
  additionalProperties: boolean;
@@ -3819,6 +3830,7 @@ interface RestApiClientInput {
3819
3830
  headers?: Record<string, string>;
3820
3831
  responseType?: 'arraybuffer' | 'stream';
3821
3832
  returnFullResponse?: boolean;
3833
+ timeout?: number;
3822
3834
  }
3823
3835
  interface RestApiClientOutput {
3824
3836
  status: number;
@@ -7522,6 +7534,211 @@ declare const ConnectorExportProperties: z.ZodObject<{
7522
7534
  categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
7523
7535
  }, z.core.$strip>;
7524
7536
  type ConnectorExportProperties = z.infer<typeof ConnectorExportProperties>;
7537
+ declare const ConnectorVersionExportProperties: z.ZodObject<{
7538
+ type: z.ZodOptional<z.ZodEnum<{
7539
+ proxy: "proxy";
7540
+ "integration-app-token": "integration-app-token";
7541
+ "membrane-token": "membrane-token";
7542
+ oauth2: "oauth2";
7543
+ oauth1: "oauth1";
7544
+ "client-credentials": "client-credentials";
7545
+ }>>;
7546
+ options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
7547
+ type: z.ZodOptional<z.ZodEnum<{
7548
+ proxy: "proxy";
7549
+ "integration-app-token": "integration-app-token";
7550
+ "membrane-token": "membrane-token";
7551
+ oauth2: "oauth2";
7552
+ oauth1: "oauth1";
7553
+ "client-credentials": "client-credentials";
7554
+ }>>;
7555
+ title: z.ZodOptional<z.ZodString>;
7556
+ description: z.ZodOptional<z.ZodString>;
7557
+ test: z.ZodOptional<z.ZodObject<{
7558
+ type: z.ZodOptional<z.ZodEnum<{
7559
+ mapping: "mapping";
7560
+ "operation-mapping": "operation-mapping";
7561
+ "rest-api-mapping": "rest-api-mapping";
7562
+ "graphql-api-mapping": "graphql-api-mapping";
7563
+ javascript: "javascript";
7564
+ }>>;
7565
+ }, z.core.$loose>>;
7566
+ ui: z.ZodOptional<z.ZodObject<{
7567
+ schema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
7568
+ description: z.ZodOptional<z.ZodString>;
7569
+ helpUri: z.ZodOptional<z.ZodString>;
7570
+ }, z.core.$strip>>;
7571
+ parametersSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
7572
+ inputSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
7573
+ customCredentialsSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
7574
+ makeApiClient: z.ZodOptional<z.ZodObject<{
7575
+ type: z.ZodOptional<z.ZodEnum<{
7576
+ mapping: "mapping";
7577
+ "operation-mapping": "operation-mapping";
7578
+ "rest-api-mapping": "rest-api-mapping";
7579
+ "graphql-api-mapping": "graphql-api-mapping";
7580
+ javascript: "javascript";
7581
+ }>>;
7582
+ }, z.core.$loose>>;
7583
+ refreshCredentials: z.ZodOptional<z.ZodObject<{
7584
+ type: z.ZodOptional<z.ZodEnum<{
7585
+ mapping: "mapping";
7586
+ "operation-mapping": "operation-mapping";
7587
+ "rest-api-mapping": "rest-api-mapping";
7588
+ "graphql-api-mapping": "graphql-api-mapping";
7589
+ javascript: "javascript";
7590
+ }>>;
7591
+ }, z.core.$loose>>;
7592
+ disconnect: z.ZodOptional<z.ZodObject<{
7593
+ type: z.ZodOptional<z.ZodEnum<{
7594
+ mapping: "mapping";
7595
+ "operation-mapping": "operation-mapping";
7596
+ "rest-api-mapping": "rest-api-mapping";
7597
+ "graphql-api-mapping": "graphql-api-mapping";
7598
+ javascript: "javascript";
7599
+ }>>;
7600
+ }, z.core.$loose>>;
7601
+ enabled: z.ZodOptional<z.ZodAny>;
7602
+ getOAuthConfig: z.ZodOptional<z.ZodObject<{
7603
+ type: z.ZodOptional<z.ZodEnum<{
7604
+ mapping: "mapping";
7605
+ "operation-mapping": "operation-mapping";
7606
+ "rest-api-mapping": "rest-api-mapping";
7607
+ "graphql-api-mapping": "graphql-api-mapping";
7608
+ javascript: "javascript";
7609
+ }>>;
7610
+ }, z.core.$loose>>;
7611
+ getTokenData: z.ZodOptional<z.ZodObject<{
7612
+ type: z.ZodOptional<z.ZodEnum<{
7613
+ mapping: "mapping";
7614
+ "operation-mapping": "operation-mapping";
7615
+ "rest-api-mapping": "rest-api-mapping";
7616
+ "graphql-api-mapping": "graphql-api-mapping";
7617
+ javascript: "javascript";
7618
+ }>>;
7619
+ }, z.core.$loose>>;
7620
+ getCredentialsFromAccessTokenResponse: z.ZodOptional<z.ZodObject<{
7621
+ type: z.ZodOptional<z.ZodEnum<{
7622
+ mapping: "mapping";
7623
+ "operation-mapping": "operation-mapping";
7624
+ "rest-api-mapping": "rest-api-mapping";
7625
+ "graphql-api-mapping": "graphql-api-mapping";
7626
+ javascript: "javascript";
7627
+ }>>;
7628
+ }, z.core.$loose>>;
7629
+ getCredentialsFromRefreshTokenResponse: z.ZodOptional<z.ZodObject<{
7630
+ type: z.ZodOptional<z.ZodEnum<{
7631
+ mapping: "mapping";
7632
+ "operation-mapping": "operation-mapping";
7633
+ "rest-api-mapping": "rest-api-mapping";
7634
+ "graphql-api-mapping": "graphql-api-mapping";
7635
+ javascript: "javascript";
7636
+ }>>;
7637
+ }, z.core.$loose>>;
7638
+ getCredentialsFromConnectionParameters: z.ZodOptional<z.ZodObject<{
7639
+ type: z.ZodOptional<z.ZodEnum<{
7640
+ mapping: "mapping";
7641
+ "operation-mapping": "operation-mapping";
7642
+ "rest-api-mapping": "rest-api-mapping";
7643
+ "graphql-api-mapping": "graphql-api-mapping";
7644
+ javascript: "javascript";
7645
+ }>>;
7646
+ }, z.core.$loose>>;
7647
+ proxyKey: z.ZodOptional<z.ZodString>;
7648
+ }, z.core.$strip>>>;
7649
+ test: z.ZodOptional<z.ZodObject<{
7650
+ type: z.ZodOptional<z.ZodEnum<{
7651
+ mapping: "mapping";
7652
+ "operation-mapping": "operation-mapping";
7653
+ "rest-api-mapping": "rest-api-mapping";
7654
+ "graphql-api-mapping": "graphql-api-mapping";
7655
+ javascript: "javascript";
7656
+ }>>;
7657
+ }, z.core.$loose>>;
7658
+ ui: z.ZodOptional<z.ZodObject<{
7659
+ schema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
7660
+ description: z.ZodOptional<z.ZodString>;
7661
+ helpUri: z.ZodOptional<z.ZodString>;
7662
+ }, z.core.$strip>>;
7663
+ parametersSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
7664
+ inputSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
7665
+ customCredentialsSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
7666
+ makeApiClient: z.ZodOptional<z.ZodObject<{
7667
+ type: z.ZodOptional<z.ZodEnum<{
7668
+ mapping: "mapping";
7669
+ "operation-mapping": "operation-mapping";
7670
+ "rest-api-mapping": "rest-api-mapping";
7671
+ "graphql-api-mapping": "graphql-api-mapping";
7672
+ javascript: "javascript";
7673
+ }>>;
7674
+ }, z.core.$loose>>;
7675
+ refreshCredentials: z.ZodOptional<z.ZodObject<{
7676
+ type: z.ZodOptional<z.ZodEnum<{
7677
+ mapping: "mapping";
7678
+ "operation-mapping": "operation-mapping";
7679
+ "rest-api-mapping": "rest-api-mapping";
7680
+ "graphql-api-mapping": "graphql-api-mapping";
7681
+ javascript: "javascript";
7682
+ }>>;
7683
+ }, z.core.$loose>>;
7684
+ disconnect: z.ZodOptional<z.ZodObject<{
7685
+ type: z.ZodOptional<z.ZodEnum<{
7686
+ mapping: "mapping";
7687
+ "operation-mapping": "operation-mapping";
7688
+ "rest-api-mapping": "rest-api-mapping";
7689
+ "graphql-api-mapping": "graphql-api-mapping";
7690
+ javascript: "javascript";
7691
+ }>>;
7692
+ }, z.core.$loose>>;
7693
+ getOAuthConfig: z.ZodOptional<z.ZodObject<{
7694
+ type: z.ZodOptional<z.ZodEnum<{
7695
+ mapping: "mapping";
7696
+ "operation-mapping": "operation-mapping";
7697
+ "rest-api-mapping": "rest-api-mapping";
7698
+ "graphql-api-mapping": "graphql-api-mapping";
7699
+ javascript: "javascript";
7700
+ }>>;
7701
+ }, z.core.$loose>>;
7702
+ getTokenData: z.ZodOptional<z.ZodObject<{
7703
+ type: z.ZodOptional<z.ZodEnum<{
7704
+ mapping: "mapping";
7705
+ "operation-mapping": "operation-mapping";
7706
+ "rest-api-mapping": "rest-api-mapping";
7707
+ "graphql-api-mapping": "graphql-api-mapping";
7708
+ javascript: "javascript";
7709
+ }>>;
7710
+ }, z.core.$loose>>;
7711
+ getCredentialsFromAccessTokenResponse: z.ZodOptional<z.ZodObject<{
7712
+ type: z.ZodOptional<z.ZodEnum<{
7713
+ mapping: "mapping";
7714
+ "operation-mapping": "operation-mapping";
7715
+ "rest-api-mapping": "rest-api-mapping";
7716
+ "graphql-api-mapping": "graphql-api-mapping";
7717
+ javascript: "javascript";
7718
+ }>>;
7719
+ }, z.core.$loose>>;
7720
+ getCredentialsFromRefreshTokenResponse: z.ZodOptional<z.ZodObject<{
7721
+ type: z.ZodOptional<z.ZodEnum<{
7722
+ mapping: "mapping";
7723
+ "operation-mapping": "operation-mapping";
7724
+ "rest-api-mapping": "rest-api-mapping";
7725
+ "graphql-api-mapping": "graphql-api-mapping";
7726
+ javascript: "javascript";
7727
+ }>>;
7728
+ }, z.core.$loose>>;
7729
+ getCredentialsFromConnectionParameters: z.ZodOptional<z.ZodObject<{
7730
+ type: z.ZodOptional<z.ZodEnum<{
7731
+ mapping: "mapping";
7732
+ "operation-mapping": "operation-mapping";
7733
+ "rest-api-mapping": "rest-api-mapping";
7734
+ "graphql-api-mapping": "graphql-api-mapping";
7735
+ javascript: "javascript";
7736
+ }>>;
7737
+ }, z.core.$loose>>;
7738
+ proxyKey: z.ZodOptional<z.ZodString>;
7739
+ version: z.ZodString;
7740
+ }, z.core.$strip>;
7741
+ type ConnectorVersionExportProperties = z.infer<typeof ConnectorVersionExportProperties>;
7525
7742
  interface ConnectorVersionExport {
7526
7743
  version: string;
7527
7744
  zipBuffer: Buffer;
@@ -7962,6 +8179,7 @@ declare const BaseConnector: z.ZodObject<{
7962
8179
  externalAppId: z.ZodOptional<z.ZodString>;
7963
8180
  name: z.ZodString;
7964
8181
  logoUri: z.ZodString;
8182
+ appUri: z.ZodOptional<z.ZodString>;
7965
8183
  categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
7966
8184
  isPublic: z.ZodOptional<z.ZodBoolean>;
7967
8185
  popularity: z.ZodOptional<z.ZodNumber>;
@@ -7976,6 +8194,7 @@ declare const Connector: z.ZodObject<{
7976
8194
  externalAppId: z.ZodOptional<z.ZodString>;
7977
8195
  name: z.ZodString;
7978
8196
  logoUri: z.ZodString;
8197
+ appUri: z.ZodOptional<z.ZodString>;
7979
8198
  categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
7980
8199
  isPublic: z.ZodOptional<z.ZodBoolean>;
7981
8200
  popularity: z.ZodOptional<z.ZodNumber>;
@@ -8203,12 +8422,22 @@ declare const MinimalConnector: z.ZodObject<{
8203
8422
  key: z.ZodString;
8204
8423
  name: z.ZodString;
8205
8424
  logoUri: z.ZodString;
8425
+ appUri: z.ZodOptional<z.ZodString>;
8206
8426
  isPublic: z.ZodOptional<z.ZodBoolean>;
8207
8427
  tenantId: z.ZodOptional<z.ZodString>;
8208
8428
  }, z.core.$strip>;
8209
8429
  type MinimalConnector = z.infer<typeof MinimalConnector>;
8210
8430
 
8431
+ declare const ConnectionType: z.ZodEnum<{
8432
+ connector: "connector";
8433
+ mcp: "mcp";
8434
+ }>;
8435
+ type ConnectionType = z.infer<typeof ConnectionType>;
8211
8436
  declare const ConnectionEditableProperties: z.ZodObject<{
8437
+ type: z.ZodOptional<z.ZodEnum<{
8438
+ connector: "connector";
8439
+ mcp: "mcp";
8440
+ }>>;
8212
8441
  name: z.ZodOptional<z.ZodString>;
8213
8442
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
8214
8443
  authOptionKey: z.ZodOptional<z.ZodString>;
@@ -8236,10 +8465,19 @@ declare const ConnectionClientAction: z.ZodObject<{
8236
8465
  uiUrl: z.ZodOptional<z.ZodString>;
8237
8466
  agentInstructions: z.ZodOptional<z.ZodString>;
8238
8467
  handoffAgentInstructions: z.ZodOptional<z.ZodString>;
8468
+ reason: z.ZodOptional<z.ZodEnum<{
8469
+ "provide-input": "provide-input";
8470
+ authenticate: "authenticate";
8471
+ reauthenticate: "reauthenticate";
8472
+ }>>;
8239
8473
  }, z.core.$strip>;
8240
8474
  type ConnectionClientAction = z.infer<typeof ConnectionClientAction>;
8241
8475
  declare const BaseConnection: z.ZodObject<{
8242
8476
  id: z.ZodString;
8477
+ type: z.ZodOptional<z.ZodEnum<{
8478
+ connector: "connector";
8479
+ mcp: "mcp";
8480
+ }>>;
8243
8481
  name: z.ZodString;
8244
8482
  key: z.ZodOptional<z.ZodString>;
8245
8483
  isTest: z.ZodOptional<z.ZodBoolean>;
@@ -8276,6 +8514,11 @@ declare const BaseConnection: z.ZodObject<{
8276
8514
  uiUrl: z.ZodOptional<z.ZodString>;
8277
8515
  agentInstructions: z.ZodOptional<z.ZodString>;
8278
8516
  handoffAgentInstructions: z.ZodOptional<z.ZodString>;
8517
+ reason: z.ZodOptional<z.ZodEnum<{
8518
+ "provide-input": "provide-input";
8519
+ authenticate: "authenticate";
8520
+ reauthenticate: "reauthenticate";
8521
+ }>>;
8279
8522
  }, z.core.$strip>>;
8280
8523
  userId: z.ZodString;
8281
8524
  tenantId: z.ZodOptional<z.ZodString>;
@@ -10809,6 +11052,15 @@ declare enum ExternalEventLogStatus {
10809
11052
  ERROR = "error",
10810
11053
  SUCCESS = "success"
10811
11054
  }
11055
+ declare enum ExternalEventLogFlowTriggerSkipReasonCode {
11056
+ AllDependentFlowInstancesDisabled = "all-dependent-flow-instances-disabled"
11057
+ }
11058
+ declare const ExternalEventLogFlowTriggerSkipReason: z.ZodObject<{
11059
+ code: z.ZodEnum<typeof ExternalEventLogFlowTriggerSkipReasonCode>;
11060
+ message: z.ZodString;
11061
+ dependentFlowInstanceIds: z.ZodArray<z.ZodString>;
11062
+ }, z.core.$strip>;
11063
+ type ExternalEventLogFlowTriggerSkipReason = z.infer<typeof ExternalEventLogFlowTriggerSkipReason>;
10812
11064
  declare const BaseExternalEventLogRecord: z.ZodObject<{
10813
11065
  userId: z.ZodString;
10814
11066
  tenantId: z.ZodOptional<z.ZodString>;
@@ -10823,6 +11075,11 @@ declare const BaseExternalEventLogRecord: z.ZodObject<{
10823
11075
  launchedFlowRunIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
10824
11076
  status: z.ZodEnum<typeof ExternalEventLogStatus>;
10825
11077
  error: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
11078
+ flowTriggerSkipReason: z.ZodOptional<z.ZodObject<{
11079
+ code: z.ZodEnum<typeof ExternalEventLogFlowTriggerSkipReasonCode>;
11080
+ message: z.ZodString;
11081
+ dependentFlowInstanceIds: z.ZodArray<z.ZodString>;
11082
+ }, z.core.$strip>>;
10826
11083
  }, z.core.$strip>;
10827
11084
  type BaseExternalEventLogRecord = z.infer<typeof BaseExternalEventLogRecord>;
10828
11085
 
@@ -10846,9 +11103,59 @@ declare const BaseExternalEventPull: z.ZodObject<{
10846
11103
  isFullScan: z.ZodOptional<z.ZodBoolean>;
10847
11104
  status: z.ZodEnum<typeof ExternalEventPullStatus>;
10848
11105
  collectedEventIds: z.ZodArray<z.ZodString>;
11106
+ telemetryUri: z.ZodOptional<z.ZodString>;
10849
11107
  error: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
10850
11108
  }, z.core.$strip>;
10851
11109
  type BaseExternalEventPull = z.infer<typeof BaseExternalEventPull>;
11110
+ declare const ExternalEventPullTelemetry: z.ZodObject<{
11111
+ pullId: z.ZodString;
11112
+ subscriptionId: z.ZodString;
11113
+ connectionId: z.ZodOptional<z.ZodString>;
11114
+ strategy: z.ZodEnum<{
11115
+ unknown: "unknown";
11116
+ "custom-pull": "custom-pull";
11117
+ "full-scan": "full-scan";
11118
+ "pull-latest-records": "pull-latest-records";
11119
+ skipped: "skipped";
11120
+ }>;
11121
+ eventType: z.ZodOptional<z.ZodString>;
11122
+ collectionKey: z.ZodOptional<z.ZodString>;
11123
+ startedAt: z.ZodString;
11124
+ finishedAt: z.ZodString;
11125
+ emittedEventCount: z.ZodNumber;
11126
+ emittedEvents: z.ZodArray<z.ZodObject<{
11127
+ type: z.ZodString;
11128
+ recordId: z.ZodOptional<z.ZodString>;
11129
+ }, z.core.$strip>>;
11130
+ notes: z.ZodArray<z.ZodString>;
11131
+ fullScan: z.ZodOptional<z.ZodObject<{
11132
+ totalRecords: z.ZodNumber;
11133
+ totalPages: z.ZodNumber;
11134
+ previousSnapshotId: z.ZodOptional<z.ZodString>;
11135
+ previousSnapshotRecordCount: z.ZodOptional<z.ZodNumber>;
11136
+ previousSnapshotMissing: z.ZodBoolean;
11137
+ newSnapshotId: z.ZodOptional<z.ZodString>;
11138
+ isBaseline: z.ZodBoolean;
11139
+ }, z.core.$strip>>;
11140
+ pullLatest: z.ZodOptional<z.ZodObject<{
11141
+ stateBefore: z.ZodOptional<z.ZodObject<{
11142
+ id: z.ZodOptional<z.ZodString>;
11143
+ datetime: z.ZodOptional<z.ZodString>;
11144
+ }, z.core.$strip>>;
11145
+ stateAfter: z.ZodOptional<z.ZodObject<{
11146
+ id: z.ZodOptional<z.ZodString>;
11147
+ datetime: z.ZodOptional<z.ZodString>;
11148
+ }, z.core.$strip>>;
11149
+ pagesScanned: z.ZodNumber;
11150
+ scannedRecords: z.ZodArray<z.ZodObject<{
11151
+ id: z.ZodString;
11152
+ datetime: z.ZodOptional<z.ZodString>;
11153
+ }, z.core.$strip>>;
11154
+ newRecordIds: z.ZodArray<z.ZodString>;
11155
+ isBaseline: z.ZodBoolean;
11156
+ }, z.core.$strip>>;
11157
+ }, z.core.$strip>;
11158
+ type ExternalEventPullTelemetry = z.infer<typeof ExternalEventPullTelemetry>;
10852
11159
 
10853
11160
  declare enum ExternalEventTypeImplementationType {
10854
11161
  Webhook = "webhook"
@@ -11546,6 +11853,10 @@ declare const EnsureConnectionRequest: z.ZodObject<{
11546
11853
  }, z.core.$strip>;
11547
11854
  type EnsureConnectionRequest = z.infer<typeof EnsureConnectionRequest>;
11548
11855
  declare const CreateConnectionRequest: z.ZodObject<{
11856
+ type: z.ZodOptional<z.ZodEnum<{
11857
+ connector: "connector";
11858
+ mcp: "mcp";
11859
+ }>>;
11549
11860
  name: z.ZodOptional<z.ZodString>;
11550
11861
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
11551
11862
  authOptionKey: z.ZodOptional<z.ZodString>;
@@ -11566,6 +11877,10 @@ declare const CreateConnectionRequest: z.ZodObject<{
11566
11877
  }, z.core.$strip>;
11567
11878
  type CreateConnectionRequest = z.infer<typeof CreateConnectionRequest>;
11568
11879
  declare const UpdateConnectionRequest: z.ZodObject<{
11880
+ type: z.ZodOptional<z.ZodEnum<{
11881
+ connector: "connector";
11882
+ mcp: "mcp";
11883
+ }>>;
11569
11884
  name: z.ZodOptional<z.ZodString>;
11570
11885
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
11571
11886
  authOptionKey: z.ZodOptional<z.ZodString>;
@@ -11587,6 +11902,10 @@ declare const UpdateConnectionRequest: z.ZodObject<{
11587
11902
  type UpdateConnectionRequest = z.infer<typeof UpdateConnectionRequest>;
11588
11903
  declare const ConnectionExportProperties: z.ZodObject<{
11589
11904
  key: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11905
+ type: z.ZodOptional<z.ZodEnum<{
11906
+ connector: "connector";
11907
+ mcp: "mcp";
11908
+ }>>;
11590
11909
  name: z.ZodOptional<z.ZodString>;
11591
11910
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
11592
11911
  integrationUuid: z.ZodOptional<z.ZodString>;
@@ -11629,6 +11948,10 @@ declare const ConnectionSelector: z.ZodObject<{
11629
11948
  type ConnectionSelector = z.infer<typeof ConnectionSelector>;
11630
11949
  declare const ConnectionApiResponse: z.ZodObject<{
11631
11950
  id: z.ZodString;
11951
+ type: z.ZodOptional<z.ZodEnum<{
11952
+ connector: "connector";
11953
+ mcp: "mcp";
11954
+ }>>;
11632
11955
  name: z.ZodString;
11633
11956
  key: z.ZodOptional<z.ZodString>;
11634
11957
  isTest: z.ZodOptional<z.ZodBoolean>;
@@ -11665,6 +11988,11 @@ declare const ConnectionApiResponse: z.ZodObject<{
11665
11988
  uiUrl: z.ZodOptional<z.ZodString>;
11666
11989
  agentInstructions: z.ZodOptional<z.ZodString>;
11667
11990
  handoffAgentInstructions: z.ZodOptional<z.ZodString>;
11991
+ reason: z.ZodOptional<z.ZodEnum<{
11992
+ "provide-input": "provide-input";
11993
+ authenticate: "authenticate";
11994
+ reauthenticate: "reauthenticate";
11995
+ }>>;
11668
11996
  }, z.core.$strip>>;
11669
11997
  userId: z.ZodString;
11670
11998
  tenantId: z.ZodOptional<z.ZodString>;
@@ -11735,6 +12063,10 @@ declare const ConnectionApiResponse: z.ZodObject<{
11735
12063
  type ConnectionApiResponse = z.infer<typeof ConnectionApiResponse>;
11736
12064
  declare const ConnectionApiResponseWithSecrets: z.ZodObject<{
11737
12065
  id: z.ZodString;
12066
+ type: z.ZodOptional<z.ZodEnum<{
12067
+ connector: "connector";
12068
+ mcp: "mcp";
12069
+ }>>;
11738
12070
  name: z.ZodString;
11739
12071
  key: z.ZodOptional<z.ZodString>;
11740
12072
  isTest: z.ZodOptional<z.ZodBoolean>;
@@ -11771,6 +12103,11 @@ declare const ConnectionApiResponseWithSecrets: z.ZodObject<{
11771
12103
  uiUrl: z.ZodOptional<z.ZodString>;
11772
12104
  agentInstructions: z.ZodOptional<z.ZodString>;
11773
12105
  handoffAgentInstructions: z.ZodOptional<z.ZodString>;
12106
+ reason: z.ZodOptional<z.ZodEnum<{
12107
+ "provide-input": "provide-input";
12108
+ authenticate: "authenticate";
12109
+ reauthenticate: "reauthenticate";
12110
+ }>>;
11774
12111
  }, z.core.$strip>>;
11775
12112
  userId: z.ZodString;
11776
12113
  tenantId: z.ZodOptional<z.ZodString>;
@@ -11847,6 +12184,10 @@ declare const ConnectionMessagePayload: z.ZodDiscriminatedUnion<[z.ZodObject<{
11847
12184
  type: z.ZodLiteral<"newConnectionCreated">;
11848
12185
  connection: z.ZodObject<{
11849
12186
  id: z.ZodString;
12187
+ type: z.ZodOptional<z.ZodEnum<{
12188
+ connector: "connector";
12189
+ mcp: "mcp";
12190
+ }>>;
11850
12191
  name: z.ZodString;
11851
12192
  key: z.ZodOptional<z.ZodString>;
11852
12193
  isTest: z.ZodOptional<z.ZodBoolean>;
@@ -11883,6 +12224,11 @@ declare const ConnectionMessagePayload: z.ZodDiscriminatedUnion<[z.ZodObject<{
11883
12224
  uiUrl: z.ZodOptional<z.ZodString>;
11884
12225
  agentInstructions: z.ZodOptional<z.ZodString>;
11885
12226
  handoffAgentInstructions: z.ZodOptional<z.ZodString>;
12227
+ reason: z.ZodOptional<z.ZodEnum<{
12228
+ "provide-input": "provide-input";
12229
+ authenticate: "authenticate";
12230
+ reauthenticate: "reauthenticate";
12231
+ }>>;
11886
12232
  }, z.core.$strip>>;
11887
12233
  userId: z.ZodString;
11888
12234
  tenantId: z.ZodOptional<z.ZodString>;
@@ -11980,7 +12326,11 @@ declare const GenerateOptionsRequest: z.ZodObject<{
11980
12326
  }, z.core.$strip>;
11981
12327
  type GenerateOptionsRequest = z.infer<typeof GenerateOptionsRequest>;
11982
12328
  declare const ConnectPayload: z.ZodObject<{
11983
- requestId: z.ZodOptional<z.ZodString>;
12329
+ type: z.ZodOptional<z.ZodEnum<{
12330
+ connector: "connector";
12331
+ mcp: "mcp";
12332
+ }>>;
12333
+ requestId: z.ZodOptional<z.ZodString>;
11984
12334
  integrationKey: z.ZodOptional<z.ZodString>;
11985
12335
  integrationId: z.ZodOptional<z.ZodString>;
11986
12336
  connectorId: z.ZodOptional<z.ZodString>;
@@ -12003,6 +12353,10 @@ declare const ConnectPayload: z.ZodObject<{
12003
12353
  }, z.core.$strip>;
12004
12354
  type ConnectPayload = z.infer<typeof ConnectPayload>;
12005
12355
  declare const ConnectUIOptions: z.ZodObject<{
12356
+ type: z.ZodOptional<z.ZodEnum<{
12357
+ connector: "connector";
12358
+ mcp: "mcp";
12359
+ }>>;
12006
12360
  connectionId: z.ZodOptional<z.ZodString>;
12007
12361
  integrationId: z.ZodOptional<z.ZodString>;
12008
12362
  integrationKey: z.ZodOptional<z.ZodString>;
@@ -12171,6 +12525,10 @@ declare const FlowRunApiResponse: z.ZodObject<{
12171
12525
  }, z.core.$strip>>;
12172
12526
  connection: z.ZodOptional<z.ZodObject<{
12173
12527
  id: z.ZodString;
12528
+ type: z.ZodOptional<z.ZodEnum<{
12529
+ connector: "connector";
12530
+ mcp: "mcp";
12531
+ }>>;
12174
12532
  name: z.ZodString;
12175
12533
  key: z.ZodOptional<z.ZodString>;
12176
12534
  isTest: z.ZodOptional<z.ZodBoolean>;
@@ -12207,6 +12565,11 @@ declare const FlowRunApiResponse: z.ZodObject<{
12207
12565
  uiUrl: z.ZodOptional<z.ZodString>;
12208
12566
  agentInstructions: z.ZodOptional<z.ZodString>;
12209
12567
  handoffAgentInstructions: z.ZodOptional<z.ZodString>;
12568
+ reason: z.ZodOptional<z.ZodEnum<{
12569
+ "provide-input": "provide-input";
12570
+ authenticate: "authenticate";
12571
+ reauthenticate: "reauthenticate";
12572
+ }>>;
12210
12573
  }, z.core.$strip>>;
12211
12574
  userId: z.ZodString;
12212
12575
  tenantId: z.ZodOptional<z.ZodString>;
@@ -12377,6 +12740,10 @@ declare const FindFlowRunsResponse: z.ZodObject<{
12377
12740
  }, z.core.$strip>>;
12378
12741
  connection: z.ZodOptional<z.ZodObject<{
12379
12742
  id: z.ZodString;
12743
+ type: z.ZodOptional<z.ZodEnum<{
12744
+ connector: "connector";
12745
+ mcp: "mcp";
12746
+ }>>;
12380
12747
  name: z.ZodString;
12381
12748
  key: z.ZodOptional<z.ZodString>;
12382
12749
  isTest: z.ZodOptional<z.ZodBoolean>;
@@ -12413,6 +12780,11 @@ declare const FindFlowRunsResponse: z.ZodObject<{
12413
12780
  uiUrl: z.ZodOptional<z.ZodString>;
12414
12781
  agentInstructions: z.ZodOptional<z.ZodString>;
12415
12782
  handoffAgentInstructions: z.ZodOptional<z.ZodString>;
12783
+ reason: z.ZodOptional<z.ZodEnum<{
12784
+ "provide-input": "provide-input";
12785
+ authenticate: "authenticate";
12786
+ reauthenticate: "reauthenticate";
12787
+ }>>;
12416
12788
  }, z.core.$strip>>;
12417
12789
  userId: z.ZodString;
12418
12790
  tenantId: z.ZodOptional<z.ZodString>;
@@ -12734,6 +13106,10 @@ declare const FlowApiResponse: z.ZodObject<{
12734
13106
  }, z.core.$strip>>;
12735
13107
  connection: z.ZodOptional<z.ZodObject<{
12736
13108
  id: z.ZodString;
13109
+ type: z.ZodOptional<z.ZodEnum<{
13110
+ connector: "connector";
13111
+ mcp: "mcp";
13112
+ }>>;
12737
13113
  name: z.ZodString;
12738
13114
  key: z.ZodOptional<z.ZodString>;
12739
13115
  isTest: z.ZodOptional<z.ZodBoolean>;
@@ -12770,6 +13146,11 @@ declare const FlowApiResponse: z.ZodObject<{
12770
13146
  uiUrl: z.ZodOptional<z.ZodString>;
12771
13147
  agentInstructions: z.ZodOptional<z.ZodString>;
12772
13148
  handoffAgentInstructions: z.ZodOptional<z.ZodString>;
13149
+ reason: z.ZodOptional<z.ZodEnum<{
13150
+ "provide-input": "provide-input";
13151
+ authenticate: "authenticate";
13152
+ reauthenticate: "reauthenticate";
13153
+ }>>;
12773
13154
  }, z.core.$strip>>;
12774
13155
  userId: z.ZodString;
12775
13156
  tenantId: z.ZodOptional<z.ZodString>;
@@ -13096,6 +13477,10 @@ declare const FlowInstanceApiResponse: z.ZodObject<{
13096
13477
  }, z.core.$strip>>;
13097
13478
  connection: z.ZodOptional<z.ZodObject<{
13098
13479
  id: z.ZodString;
13480
+ type: z.ZodOptional<z.ZodEnum<{
13481
+ connector: "connector";
13482
+ mcp: "mcp";
13483
+ }>>;
13099
13484
  name: z.ZodString;
13100
13485
  key: z.ZodOptional<z.ZodString>;
13101
13486
  isTest: z.ZodOptional<z.ZodBoolean>;
@@ -13132,6 +13517,11 @@ declare const FlowInstanceApiResponse: z.ZodObject<{
13132
13517
  uiUrl: z.ZodOptional<z.ZodString>;
13133
13518
  agentInstructions: z.ZodOptional<z.ZodString>;
13134
13519
  handoffAgentInstructions: z.ZodOptional<z.ZodString>;
13520
+ reason: z.ZodOptional<z.ZodEnum<{
13521
+ "provide-input": "provide-input";
13522
+ authenticate: "authenticate";
13523
+ reauthenticate: "reauthenticate";
13524
+ }>>;
13135
13525
  }, z.core.$strip>>;
13136
13526
  userId: z.ZodString;
13137
13527
  tenantId: z.ZodOptional<z.ZodString>;
@@ -13817,6 +14207,10 @@ declare const DataSourceApiResponse: z.ZodObject<{
13817
14207
  }, z.core.$strip>>;
13818
14208
  connection: z.ZodOptional<z.ZodObject<{
13819
14209
  id: z.ZodString;
14210
+ type: z.ZodOptional<z.ZodEnum<{
14211
+ connector: "connector";
14212
+ mcp: "mcp";
14213
+ }>>;
13820
14214
  name: z.ZodString;
13821
14215
  key: z.ZodOptional<z.ZodString>;
13822
14216
  isTest: z.ZodOptional<z.ZodBoolean>;
@@ -13853,6 +14247,11 @@ declare const DataSourceApiResponse: z.ZodObject<{
13853
14247
  uiUrl: z.ZodOptional<z.ZodString>;
13854
14248
  agentInstructions: z.ZodOptional<z.ZodString>;
13855
14249
  handoffAgentInstructions: z.ZodOptional<z.ZodString>;
14250
+ reason: z.ZodOptional<z.ZodEnum<{
14251
+ "provide-input": "provide-input";
14252
+ authenticate: "authenticate";
14253
+ reauthenticate: "reauthenticate";
14254
+ }>>;
13856
14255
  }, z.core.$strip>>;
13857
14256
  userId: z.ZodString;
13858
14257
  tenantId: z.ZodOptional<z.ZodString>;
@@ -14424,6 +14823,10 @@ declare const DataSourceInstanceApiResponse: z.ZodObject<{
14424
14823
  }, z.core.$strip>>;
14425
14824
  connection: z.ZodOptional<z.ZodObject<{
14426
14825
  id: z.ZodString;
14826
+ type: z.ZodOptional<z.ZodEnum<{
14827
+ connector: "connector";
14828
+ mcp: "mcp";
14829
+ }>>;
14427
14830
  name: z.ZodString;
14428
14831
  key: z.ZodOptional<z.ZodString>;
14429
14832
  isTest: z.ZodOptional<z.ZodBoolean>;
@@ -14460,6 +14863,11 @@ declare const DataSourceInstanceApiResponse: z.ZodObject<{
14460
14863
  uiUrl: z.ZodOptional<z.ZodString>;
14461
14864
  agentInstructions: z.ZodOptional<z.ZodString>;
14462
14865
  handoffAgentInstructions: z.ZodOptional<z.ZodString>;
14866
+ reason: z.ZodOptional<z.ZodEnum<{
14867
+ "provide-input": "provide-input";
14868
+ authenticate: "authenticate";
14869
+ reauthenticate: "reauthenticate";
14870
+ }>>;
14463
14871
  }, z.core.$strip>>;
14464
14872
  userId: z.ZodString;
14465
14873
  tenantId: z.ZodOptional<z.ZodString>;
@@ -14954,6 +15362,7 @@ declare class ConnectionAccessor {
14954
15362
  createdAt: string;
14955
15363
  updatedAt: string;
14956
15364
  userId: string;
15365
+ type?: "connector" | "mcp" | undefined;
14957
15366
  key?: string | undefined;
14958
15367
  isTest?: boolean | undefined;
14959
15368
  connected?: boolean | undefined;
@@ -14984,6 +15393,7 @@ declare class ConnectionAccessor {
14984
15393
  uiUrl?: string | undefined;
14985
15394
  agentInstructions?: string | undefined;
14986
15395
  handoffAgentInstructions?: string | undefined;
15396
+ reason?: "provide-input" | "authenticate" | "reauthenticate" | undefined;
14987
15397
  } | undefined;
14988
15398
  tenantId?: string | undefined;
14989
15399
  user?: {
@@ -15082,6 +15492,7 @@ declare class ConnectionProxy {
15082
15492
  }
15083
15493
  declare function createOrUpdateConnection(options: {
15084
15494
  client: MembraneApiClient;
15495
+ type?: ConnectionType;
15085
15496
  authOptionKey?: string;
15086
15497
  name?: string;
15087
15498
  input?: any;
@@ -15096,6 +15507,7 @@ declare function createOrUpdateConnection(options: {
15096
15507
  connectionRequestId?: string;
15097
15508
  apiUri: string;
15098
15509
  redirectUri?: string;
15510
+ customState?: string;
15099
15511
  onPopupClosed?: () => void;
15100
15512
  lateEvents?: LateConnectionEvents;
15101
15513
  }): Promise<ConnectionApiResponse | null>;
@@ -15285,6 +15697,10 @@ declare const IntegrationApiResponse: z.ZodObject<{
15285
15697
  }, z.core.$strip>>>;
15286
15698
  connection: z.ZodOptional<z.ZodObject<{
15287
15699
  id: z.ZodString;
15700
+ type: z.ZodOptional<z.ZodEnum<{
15701
+ connector: "connector";
15702
+ mcp: "mcp";
15703
+ }>>;
15288
15704
  name: z.ZodString;
15289
15705
  key: z.ZodOptional<z.ZodString>;
15290
15706
  isTest: z.ZodOptional<z.ZodBoolean>;
@@ -15321,6 +15737,11 @@ declare const IntegrationApiResponse: z.ZodObject<{
15321
15737
  uiUrl: z.ZodOptional<z.ZodString>;
15322
15738
  agentInstructions: z.ZodOptional<z.ZodString>;
15323
15739
  handoffAgentInstructions: z.ZodOptional<z.ZodString>;
15740
+ reason: z.ZodOptional<z.ZodEnum<{
15741
+ "provide-input": "provide-input";
15742
+ authenticate: "authenticate";
15743
+ reauthenticate: "reauthenticate";
15744
+ }>>;
15324
15745
  }, z.core.$strip>>;
15325
15746
  userId: z.ZodString;
15326
15747
  tenantId: z.ZodOptional<z.ZodString>;
@@ -15395,6 +15816,10 @@ declare const IntegrationListItem: z.ZodObject<{
15395
15816
  }, z.core.$strip>>>;
15396
15817
  connection: z.ZodOptional<z.ZodObject<{
15397
15818
  id: z.ZodString;
15819
+ type: z.ZodOptional<z.ZodEnum<{
15820
+ connector: "connector";
15821
+ mcp: "mcp";
15822
+ }>>;
15398
15823
  name: z.ZodString;
15399
15824
  key: z.ZodOptional<z.ZodString>;
15400
15825
  isTest: z.ZodOptional<z.ZodBoolean>;
@@ -15431,6 +15856,11 @@ declare const IntegrationListItem: z.ZodObject<{
15431
15856
  uiUrl: z.ZodOptional<z.ZodString>;
15432
15857
  agentInstructions: z.ZodOptional<z.ZodString>;
15433
15858
  handoffAgentInstructions: z.ZodOptional<z.ZodString>;
15859
+ reason: z.ZodOptional<z.ZodEnum<{
15860
+ "provide-input": "provide-input";
15861
+ authenticate: "authenticate";
15862
+ reauthenticate: "reauthenticate";
15863
+ }>>;
15434
15864
  }, z.core.$strip>>;
15435
15865
  userId: z.ZodString;
15436
15866
  tenantId: z.ZodOptional<z.ZodString>;
@@ -15674,6 +16104,10 @@ declare const FieldMappingApiResponse: z.ZodObject<{
15674
16104
  }, z.core.$strip>>;
15675
16105
  connection: z.ZodOptional<z.ZodObject<{
15676
16106
  id: z.ZodString;
16107
+ type: z.ZodOptional<z.ZodEnum<{
16108
+ connector: "connector";
16109
+ mcp: "mcp";
16110
+ }>>;
15677
16111
  name: z.ZodString;
15678
16112
  key: z.ZodOptional<z.ZodString>;
15679
16113
  isTest: z.ZodOptional<z.ZodBoolean>;
@@ -15710,6 +16144,11 @@ declare const FieldMappingApiResponse: z.ZodObject<{
15710
16144
  uiUrl: z.ZodOptional<z.ZodString>;
15711
16145
  agentInstructions: z.ZodOptional<z.ZodString>;
15712
16146
  handoffAgentInstructions: z.ZodOptional<z.ZodString>;
16147
+ reason: z.ZodOptional<z.ZodEnum<{
16148
+ "provide-input": "provide-input";
16149
+ authenticate: "authenticate";
16150
+ reauthenticate: "reauthenticate";
16151
+ }>>;
15713
16152
  }, z.core.$strip>>;
15714
16153
  userId: z.ZodString;
15715
16154
  tenantId: z.ZodOptional<z.ZodString>;
@@ -15980,6 +16419,10 @@ declare const FieldMappingInstanceApiResponse: z.ZodObject<{
15980
16419
  }, z.core.$strip>>;
15981
16420
  connection: z.ZodOptional<z.ZodObject<{
15982
16421
  id: z.ZodString;
16422
+ type: z.ZodOptional<z.ZodEnum<{
16423
+ connector: "connector";
16424
+ mcp: "mcp";
16425
+ }>>;
15983
16426
  name: z.ZodString;
15984
16427
  key: z.ZodOptional<z.ZodString>;
15985
16428
  isTest: z.ZodOptional<z.ZodBoolean>;
@@ -16016,6 +16459,11 @@ declare const FieldMappingInstanceApiResponse: z.ZodObject<{
16016
16459
  uiUrl: z.ZodOptional<z.ZodString>;
16017
16460
  agentInstructions: z.ZodOptional<z.ZodString>;
16018
16461
  handoffAgentInstructions: z.ZodOptional<z.ZodString>;
16462
+ reason: z.ZodOptional<z.ZodEnum<{
16463
+ "provide-input": "provide-input";
16464
+ authenticate: "authenticate";
16465
+ reauthenticate: "reauthenticate";
16466
+ }>>;
16019
16467
  }, z.core.$strip>>;
16020
16468
  userId: z.ZodString;
16021
16469
  tenantId: z.ZodOptional<z.ZodString>;
@@ -16346,6 +16794,7 @@ declare class IntegrationAccessor extends ElementAccessor<IntegrationApiResponse
16346
16794
  createdAt: string;
16347
16795
  updatedAt: string;
16348
16796
  userId: string;
16797
+ type?: "connector" | "mcp" | undefined;
16349
16798
  key?: string | undefined;
16350
16799
  isTest?: boolean | undefined;
16351
16800
  connected?: boolean | undefined;
@@ -16376,6 +16825,7 @@ declare class IntegrationAccessor extends ElementAccessor<IntegrationApiResponse
16376
16825
  uiUrl?: string | undefined;
16377
16826
  agentInstructions?: string | undefined;
16378
16827
  handoffAgentInstructions?: string | undefined;
16828
+ reason?: "provide-input" | "authenticate" | "reauthenticate" | undefined;
16379
16829
  } | undefined;
16380
16830
  tenantId?: string | undefined;
16381
16831
  user?: {
@@ -17048,6 +17498,10 @@ declare const ExternalEventSubscriptionApiResponse: z.ZodObject<{
17048
17498
  }, z.core.$strip>>;
17049
17499
  connection: z.ZodOptional<z.ZodObject<{
17050
17500
  id: z.ZodString;
17501
+ type: z.ZodOptional<z.ZodEnum<{
17502
+ connector: "connector";
17503
+ mcp: "mcp";
17504
+ }>>;
17051
17505
  name: z.ZodString;
17052
17506
  key: z.ZodOptional<z.ZodString>;
17053
17507
  isTest: z.ZodOptional<z.ZodBoolean>;
@@ -17084,6 +17538,11 @@ declare const ExternalEventSubscriptionApiResponse: z.ZodObject<{
17084
17538
  uiUrl: z.ZodOptional<z.ZodString>;
17085
17539
  agentInstructions: z.ZodOptional<z.ZodString>;
17086
17540
  handoffAgentInstructions: z.ZodOptional<z.ZodString>;
17541
+ reason: z.ZodOptional<z.ZodEnum<{
17542
+ "provide-input": "provide-input";
17543
+ authenticate: "authenticate";
17544
+ reauthenticate: "reauthenticate";
17545
+ }>>;
17087
17546
  }, z.core.$strip>>;
17088
17547
  userId: z.ZodString;
17089
17548
  tenantId: z.ZodOptional<z.ZodString>;
@@ -18092,6 +18551,10 @@ declare const ActionRunLogRecordApiResponse: z.ZodObject<{
18092
18551
  }, z.core.$strip>>;
18093
18552
  connection: z.ZodOptional<z.ZodObject<{
18094
18553
  id: z.ZodString;
18554
+ type: z.ZodOptional<z.ZodEnum<{
18555
+ connector: "connector";
18556
+ mcp: "mcp";
18557
+ }>>;
18095
18558
  name: z.ZodString;
18096
18559
  key: z.ZodOptional<z.ZodString>;
18097
18560
  isTest: z.ZodOptional<z.ZodBoolean>;
@@ -18128,6 +18591,11 @@ declare const ActionRunLogRecordApiResponse: z.ZodObject<{
18128
18591
  uiUrl: z.ZodOptional<z.ZodString>;
18129
18592
  agentInstructions: z.ZodOptional<z.ZodString>;
18130
18593
  handoffAgentInstructions: z.ZodOptional<z.ZodString>;
18594
+ reason: z.ZodOptional<z.ZodEnum<{
18595
+ "provide-input": "provide-input";
18596
+ authenticate: "authenticate";
18597
+ reauthenticate: "reauthenticate";
18598
+ }>>;
18131
18599
  }, z.core.$strip>>;
18132
18600
  userId: z.ZodString;
18133
18601
  tenantId: z.ZodOptional<z.ZodString>;
@@ -18295,6 +18763,10 @@ declare const FindActionRunLogsResponse: z.ZodObject<{
18295
18763
  }, z.core.$strip>>;
18296
18764
  connection: z.ZodOptional<z.ZodObject<{
18297
18765
  id: z.ZodString;
18766
+ type: z.ZodOptional<z.ZodEnum<{
18767
+ connector: "connector";
18768
+ mcp: "mcp";
18769
+ }>>;
18298
18770
  name: z.ZodString;
18299
18771
  key: z.ZodOptional<z.ZodString>;
18300
18772
  isTest: z.ZodOptional<z.ZodBoolean>;
@@ -18331,6 +18803,11 @@ declare const FindActionRunLogsResponse: z.ZodObject<{
18331
18803
  uiUrl: z.ZodOptional<z.ZodString>;
18332
18804
  agentInstructions: z.ZodOptional<z.ZodString>;
18333
18805
  handoffAgentInstructions: z.ZodOptional<z.ZodString>;
18806
+ reason: z.ZodOptional<z.ZodEnum<{
18807
+ "provide-input": "provide-input";
18808
+ authenticate: "authenticate";
18809
+ reauthenticate: "reauthenticate";
18810
+ }>>;
18334
18811
  }, z.core.$strip>>;
18335
18812
  userId: z.ZodString;
18336
18813
  tenantId: z.ZodOptional<z.ZodString>;
@@ -18419,6 +18896,7 @@ declare const CheckpointApiResponse: z.ZodObject<{
18419
18896
  checkpointNumber: z.ZodNumber;
18420
18897
  snapshot: z.ZodRecord<z.ZodString, z.ZodUnknown>;
18421
18898
  createdAt: z.ZodString;
18899
+ asyncRequestId: z.ZodOptional<z.ZodString>;
18422
18900
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
18423
18901
  }, z.core.$strip>;
18424
18902
  type CheckpointApiResponse = z.infer<typeof CheckpointApiResponse>;
@@ -18658,6 +19136,10 @@ declare const DataLinkTableInstanceApiResponse: z.ZodObject<{
18658
19136
  }, z.core.$strip>>;
18659
19137
  connection: z.ZodOptional<z.ZodObject<{
18660
19138
  id: z.ZodString;
19139
+ type: z.ZodOptional<z.ZodEnum<{
19140
+ connector: "connector";
19141
+ mcp: "mcp";
19142
+ }>>;
18661
19143
  name: z.ZodString;
18662
19144
  key: z.ZodOptional<z.ZodString>;
18663
19145
  isTest: z.ZodOptional<z.ZodBoolean>;
@@ -18694,6 +19176,11 @@ declare const DataLinkTableInstanceApiResponse: z.ZodObject<{
18694
19176
  uiUrl: z.ZodOptional<z.ZodString>;
18695
19177
  agentInstructions: z.ZodOptional<z.ZodString>;
18696
19178
  handoffAgentInstructions: z.ZodOptional<z.ZodString>;
19179
+ reason: z.ZodOptional<z.ZodEnum<{
19180
+ "provide-input": "provide-input";
19181
+ authenticate: "authenticate";
19182
+ reauthenticate: "reauthenticate";
19183
+ }>>;
18697
19184
  }, z.core.$strip>>;
18698
19185
  userId: z.ZodString;
18699
19186
  tenantId: z.ZodOptional<z.ZodString>;
@@ -19002,6 +19489,11 @@ declare const ExternalEventLogRecordApiResponse: z.ZodObject<{
19002
19489
  launchedFlowRunIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
19003
19490
  status: z.ZodEnum<typeof ExternalEventLogStatus>;
19004
19491
  error: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
19492
+ flowTriggerSkipReason: z.ZodOptional<z.ZodObject<{
19493
+ code: z.ZodEnum<typeof ExternalEventLogFlowTriggerSkipReasonCode>;
19494
+ message: z.ZodString;
19495
+ dependentFlowInstanceIds: z.ZodArray<z.ZodString>;
19496
+ }, z.core.$strip>>;
19005
19497
  user: z.ZodOptional<z.ZodObject<{
19006
19498
  id: z.ZodString;
19007
19499
  name: z.ZodString;
@@ -19106,6 +19598,10 @@ declare const ExternalEventLogRecordApiResponse: z.ZodObject<{
19106
19598
  }, z.core.$strip>>;
19107
19599
  connection: z.ZodOptional<z.ZodObject<{
19108
19600
  id: z.ZodString;
19601
+ type: z.ZodOptional<z.ZodEnum<{
19602
+ connector: "connector";
19603
+ mcp: "mcp";
19604
+ }>>;
19109
19605
  name: z.ZodString;
19110
19606
  key: z.ZodOptional<z.ZodString>;
19111
19607
  isTest: z.ZodOptional<z.ZodBoolean>;
@@ -19142,6 +19638,11 @@ declare const ExternalEventLogRecordApiResponse: z.ZodObject<{
19142
19638
  uiUrl: z.ZodOptional<z.ZodString>;
19143
19639
  agentInstructions: z.ZodOptional<z.ZodString>;
19144
19640
  handoffAgentInstructions: z.ZodOptional<z.ZodString>;
19641
+ reason: z.ZodOptional<z.ZodEnum<{
19642
+ "provide-input": "provide-input";
19643
+ authenticate: "authenticate";
19644
+ reauthenticate: "reauthenticate";
19645
+ }>>;
19145
19646
  }, z.core.$strip>>;
19146
19647
  userId: z.ZodString;
19147
19648
  tenantId: z.ZodOptional<z.ZodString>;
@@ -19189,6 +19690,7 @@ declare const ExternalEventPullApiResponse: z.ZodObject<{
19189
19690
  isFullScan: z.ZodOptional<z.ZodBoolean>;
19190
19691
  status: z.ZodEnum<typeof ExternalEventPullStatus>;
19191
19692
  collectedEventIds: z.ZodArray<z.ZodString>;
19693
+ telemetryUri: z.ZodOptional<z.ZodString>;
19192
19694
  error: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
19193
19695
  user: z.ZodOptional<z.ZodObject<{
19194
19696
  id: z.ZodString;
@@ -19294,6 +19796,10 @@ declare const ExternalEventPullApiResponse: z.ZodObject<{
19294
19796
  }, z.core.$strip>>;
19295
19797
  connection: z.ZodOptional<z.ZodObject<{
19296
19798
  id: z.ZodString;
19799
+ type: z.ZodOptional<z.ZodEnum<{
19800
+ connector: "connector";
19801
+ mcp: "mcp";
19802
+ }>>;
19297
19803
  name: z.ZodString;
19298
19804
  key: z.ZodOptional<z.ZodString>;
19299
19805
  isTest: z.ZodOptional<z.ZodBoolean>;
@@ -19330,6 +19836,11 @@ declare const ExternalEventPullApiResponse: z.ZodObject<{
19330
19836
  uiUrl: z.ZodOptional<z.ZodString>;
19331
19837
  agentInstructions: z.ZodOptional<z.ZodString>;
19332
19838
  handoffAgentInstructions: z.ZodOptional<z.ZodString>;
19839
+ reason: z.ZodOptional<z.ZodEnum<{
19840
+ "provide-input": "provide-input";
19841
+ authenticate: "authenticate";
19842
+ reauthenticate: "reauthenticate";
19843
+ }>>;
19333
19844
  }, z.core.$strip>>;
19334
19845
  userId: z.ZodString;
19335
19846
  tenantId: z.ZodOptional<z.ZodString>;
@@ -19815,6 +20326,10 @@ declare const ExternalApiLogApiResponse: z.ZodObject<{
19815
20326
  }, z.core.$strip>>;
19816
20327
  connection: z.ZodOptional<z.ZodObject<{
19817
20328
  id: z.ZodString;
20329
+ type: z.ZodOptional<z.ZodEnum<{
20330
+ connector: "connector";
20331
+ mcp: "mcp";
20332
+ }>>;
19818
20333
  name: z.ZodString;
19819
20334
  key: z.ZodOptional<z.ZodString>;
19820
20335
  isTest: z.ZodOptional<z.ZodBoolean>;
@@ -19851,6 +20366,11 @@ declare const ExternalApiLogApiResponse: z.ZodObject<{
19851
20366
  uiUrl: z.ZodOptional<z.ZodString>;
19852
20367
  agentInstructions: z.ZodOptional<z.ZodString>;
19853
20368
  handoffAgentInstructions: z.ZodOptional<z.ZodString>;
20369
+ reason: z.ZodOptional<z.ZodEnum<{
20370
+ "provide-input": "provide-input";
20371
+ authenticate: "authenticate";
20372
+ reauthenticate: "reauthenticate";
20373
+ }>>;
19854
20374
  }, z.core.$strip>>;
19855
20375
  userId: z.ZodString;
19856
20376
  tenantId: z.ZodOptional<z.ZodString>;
@@ -19948,6 +20468,10 @@ declare const IncomingWebhookApiResponse: z.ZodObject<{
19948
20468
  }, z.core.$strip>>;
19949
20469
  connection: z.ZodOptional<z.ZodObject<{
19950
20470
  id: z.ZodString;
20471
+ type: z.ZodOptional<z.ZodEnum<{
20472
+ connector: "connector";
20473
+ mcp: "mcp";
20474
+ }>>;
19951
20475
  name: z.ZodString;
19952
20476
  key: z.ZodOptional<z.ZodString>;
19953
20477
  isTest: z.ZodOptional<z.ZodBoolean>;
@@ -19984,6 +20508,11 @@ declare const IncomingWebhookApiResponse: z.ZodObject<{
19984
20508
  uiUrl: z.ZodOptional<z.ZodString>;
19985
20509
  agentInstructions: z.ZodOptional<z.ZodString>;
19986
20510
  handoffAgentInstructions: z.ZodOptional<z.ZodString>;
20511
+ reason: z.ZodOptional<z.ZodEnum<{
20512
+ "provide-input": "provide-input";
20513
+ authenticate: "authenticate";
20514
+ reauthenticate: "reauthenticate";
20515
+ }>>;
19987
20516
  }, z.core.$strip>>;
19988
20517
  userId: z.ZodString;
19989
20518
  tenantId: z.ZodOptional<z.ZodString>;
@@ -20281,8 +20810,8 @@ declare const AgentSession: z.ZodObject<{
20281
20810
  id: z.ZodString;
20282
20811
  workspaceId: z.ZodString;
20283
20812
  orgWorkspaceId: z.ZodOptional<z.ZodString>;
20284
- workspaceElementType: z.ZodEnum<typeof WorkspaceElementType>;
20285
- workspaceElementId: z.ZodString;
20813
+ workspaceElementType: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementType>>;
20814
+ workspaceElementId: z.ZodOptional<z.ZodString>;
20286
20815
  type: z.ZodString;
20287
20816
  status: z.ZodEnum<typeof AgentSessionStatus>;
20288
20817
  prompt: z.ZodString;
@@ -20295,6 +20824,8 @@ declare const AgentSession: z.ZodObject<{
20295
20824
  hasWorker: z.ZodBoolean;
20296
20825
  isExternal: z.ZodOptional<z.ZodBoolean>;
20297
20826
  agentName: z.ZodOptional<z.ZodEnum<typeof AgentName>>;
20827
+ agentHarnessId: z.ZodOptional<z.ZodString>;
20828
+ agentHarnessSnapshotId: z.ZodOptional<z.ZodString>;
20298
20829
  output: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
20299
20830
  createdAt: z.ZodISODateTime;
20300
20831
  updatedAt: z.ZodISODateTime;
@@ -20325,6 +20856,7 @@ declare const CreateAgentSession: z.ZodObject<{
20325
20856
  "moonshotai/kimi-k2.5": "moonshotai/kimi-k2.5";
20326
20857
  }>>;
20327
20858
  agentName: z.ZodOptional<z.ZodEnum<typeof AgentName>>;
20859
+ agentHarnessId: z.ZodOptional<z.ZodString>;
20328
20860
  promptAttachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
20329
20861
  title: z.ZodString;
20330
20862
  data: z.ZodUnknown;
@@ -20409,6 +20941,7 @@ declare function parseMembraneElementPath(relativePath: string): {
20409
20941
  } | undefined;
20410
20942
  declare function getConnectorSpecPath(connectorUuid: string): string;
20411
20943
  declare function getConnectorVersionPath(connectorUuid: string, version: string): string;
20944
+ declare function getConnectorVersionSpecPath(connectorUuid: string, version: string): string;
20412
20945
 
20413
20946
  declare enum AlertStatus {
20414
20947
  ONGOING = "ongoing",
@@ -21987,6 +22520,7 @@ declare const GenerateWorkspaceAccessTokenRequest: z.ZodObject<{
21987
22520
  name: z.ZodOptional<z.ZodString>;
21988
22521
  fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
21989
22522
  connectedProductId: z.ZodOptional<z.ZodString>;
22523
+ expiresIn: z.ZodOptional<z.ZodNumber>;
21990
22524
  }, z.core.$strip>;
21991
22525
  type GenerateWorkspaceAccessTokenRequest = z.infer<typeof GenerateWorkspaceAccessTokenRequest>;
21992
22526
  declare const GenerateWorkspaceAccessTokenResponse: z.ZodObject<{
@@ -22101,10 +22635,20 @@ declare enum OrgUserRole {
22101
22635
  Member = "member",
22102
22636
  ReadOnly = "read-only"
22103
22637
  }
22638
+ declare enum UserWorkspaceRole {
22639
+ Admin = "admin",
22640
+ Member = "member",
22641
+ ReadOnly = "read-only"
22642
+ }
22104
22643
  declare enum OrgUserStatus {
22105
22644
  Invited = "invited",
22106
22645
  Active = "active"
22107
22646
  }
22647
+ declare const UserWorkspaceAccess: z.ZodObject<{
22648
+ workspaceId: z.ZodString;
22649
+ role: z.ZodEnum<typeof UserWorkspaceRole>;
22650
+ }, z.core.$strip>;
22651
+ type UserWorkspaceAccess = z.infer<typeof UserWorkspaceAccess>;
22108
22652
  interface OrgUser {
22109
22653
  id: string;
22110
22654
  orgId: string;
@@ -22112,6 +22656,7 @@ interface OrgUser {
22112
22656
  role: OrgUserRole;
22113
22657
  status: OrgUserStatus;
22114
22658
  workspaces: string[];
22659
+ workspacesWithRoles?: UserWorkspaceAccess[];
22115
22660
  user: PlatformUser;
22116
22661
  }
22117
22662
  interface OrgLimits {
@@ -23342,6 +23887,10 @@ declare const BaseOrgUser: z.ZodObject<{
23342
23887
  role: z.ZodString;
23343
23888
  status: z.ZodString;
23344
23889
  workspaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
23890
+ workspacesWithRoles: z.ZodOptional<z.ZodArray<z.ZodObject<{
23891
+ workspaceId: z.ZodString;
23892
+ role: z.ZodEnum<typeof UserWorkspaceRole>;
23893
+ }, z.core.$strip>>>;
23345
23894
  }, z.core.$strip>;
23346
23895
  type BaseOrgUser = z.infer<typeof BaseOrgUser>;
23347
23896
  declare const FullOrgUser: z.ZodObject<{
@@ -23350,7 +23899,10 @@ declare const FullOrgUser: z.ZodObject<{
23350
23899
  userId: z.ZodString;
23351
23900
  role: z.ZodString;
23352
23901
  status: z.ZodString;
23353
- workspaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
23902
+ workspacesWithRoles: z.ZodOptional<z.ZodArray<z.ZodObject<{
23903
+ workspaceId: z.ZodString;
23904
+ role: z.ZodEnum<typeof UserWorkspaceRole>;
23905
+ }, z.core.$strip>>>;
23354
23906
  user: z.ZodObject<{
23355
23907
  id: z.ZodString;
23356
23908
  auth0Id: z.ZodOptional<z.ZodString>;
@@ -23408,98 +23960,7 @@ declare const FullOrgUser: z.ZodObject<{
23408
23960
  engineAutoChargeMonthlyLimit: z.ZodOptional<z.ZodNumber>;
23409
23961
  currentUserCanLeave: z.ZodOptional<z.ZodBoolean>;
23410
23962
  }, z.core.$strip>;
23411
- }, z.core.$strip>;
23412
- type FullOrgUser = z.infer<typeof FullOrgUser>;
23413
- declare const CreateOrgUserRequest: z.ZodObject<{
23414
- email: z.ZodString;
23415
- workspaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
23416
- }, z.core.$strip>;
23417
- type CreateOrgUserRequest = z.infer<typeof CreateOrgUserRequest>;
23418
- declare const UpdateOrgUserRequest: z.ZodObject<{
23419
- role: z.ZodOptional<z.ZodEnum<typeof OrgUserRole>>;
23420
- status: z.ZodOptional<z.ZodEnum<typeof OrgUserStatus>>;
23421
- workspaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
23422
- }, z.core.$strip>;
23423
- type UpdateOrgUserRequest = z.infer<typeof UpdateOrgUserRequest>;
23424
- declare const OrgInvitation: z.ZodObject<{
23425
- id: z.ZodString;
23426
- orgId: z.ZodString;
23427
- org: z.ZodObject<{
23428
- id: z.ZodString;
23429
- key: z.ZodString;
23430
- name: z.ZodString;
23431
- plan: z.ZodOptional<z.ZodEnum<typeof OrgPlan>>;
23432
- createdAt: z.ZodCoercedDate<unknown>;
23433
- updatedAt: z.ZodCoercedDate<unknown>;
23434
- trialEndDate: z.ZodOptional<z.ZodString>;
23435
- lastTrialExtensionDate: z.ZodOptional<z.ZodString>;
23436
- limits: z.ZodOptional<z.ZodObject<{
23437
- numberOfWorkspaces: z.ZodOptional<z.ZodNumber>;
23438
- todayUsage: z.ZodOptional<z.ZodNumber>;
23439
- lastThirtyDayUsage: z.ZodOptional<z.ZodNumber>;
23440
- membraneAgentLastThirtyDaysUsage: z.ZodOptional<z.ZodNumber>;
23441
- membraneExpertCreditsCapPerMonth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23442
- defaultTenantAiCreditsRolling30DayLimit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23443
- }, z.core.$strip>>;
23444
- thirtyDayTotalCredits: z.ZodOptional<z.ZodNumber>;
23445
- lastThirtyDayUsagePercent: z.ZodOptional<z.ZodNumber>;
23446
- todayUsagePercent: z.ZodOptional<z.ZodNumber>;
23447
- domains: z.ZodOptional<z.ZodArray<z.ZodString>>;
23448
- featureFlags: z.ZodOptional<z.ZodArray<z.ZodString>>;
23449
- freeAiCredits: z.ZodOptional<z.ZodNumber>;
23450
- paidAiCredits: z.ZodOptional<z.ZodNumber>;
23451
- freeAiMonthlyCredits: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23452
- stripeCustomerId: z.ZodOptional<z.ZodString>;
23453
- autoChargeEnabled: z.ZodOptional<z.ZodBoolean>;
23454
- autoChargeThreshold: z.ZodOptional<z.ZodNumber>;
23455
- autoChargePurchaseAmount: z.ZodOptional<z.ZodNumber>;
23456
- autoChargeMonthlyLimit: z.ZodOptional<z.ZodNumber>;
23457
- freeEngineCredits: z.ZodOptional<z.ZodNumber>;
23458
- paidEngineCredits: z.ZodOptional<z.ZodNumber>;
23459
- freeEngineMonthlyCredits: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23460
- engineAutoChargeEnabled: z.ZodOptional<z.ZodBoolean>;
23461
- engineAutoChargeThreshold: z.ZodOptional<z.ZodNumber>;
23462
- engineAutoChargePurchaseAmount: z.ZodOptional<z.ZodNumber>;
23463
- engineAutoChargeMonthlyLimit: z.ZodOptional<z.ZodNumber>;
23464
- currentUserCanLeave: z.ZodOptional<z.ZodBoolean>;
23465
- }, z.core.$strip>;
23466
- name: z.ZodString;
23467
- workspaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
23468
- uuid: z.ZodString;
23469
- email: z.ZodOptional<z.ZodString>;
23470
- }, z.core.$strip>;
23471
- type OrgInvitation = z.infer<typeof OrgInvitation>;
23472
- declare const UpdateOrgInvitationRequest: z.ZodObject<{
23473
- name: z.ZodOptional<z.ZodString>;
23474
- workspaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
23475
- }, z.core.$strip>;
23476
- type UpdateOrgInvitationRequest = z.infer<typeof UpdateOrgInvitationRequest>;
23477
- declare const CreateOrgInvitationRequest: z.ZodObject<{
23478
- name: z.ZodOptional<z.ZodString>;
23479
- workspaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
23480
- email: z.ZodOptional<z.ZodString>;
23481
- }, z.core.$strip>;
23482
- type CreateOrgInvitationRequest = z.infer<typeof CreateOrgInvitationRequest>;
23483
- declare const FindOrgsQuery: z.ZodObject<{
23484
- search: z.ZodOptional<z.ZodString>;
23485
- myOrgs: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
23486
- }, z.core.$strip>;
23487
- type FindOrgsQuery = z.infer<typeof FindOrgsQuery>;
23488
- declare const FindOrgWorkspacesQuery: z.ZodObject<{
23489
- search: z.ZodOptional<z.ZodString>;
23490
- cursor: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
23491
- limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
23492
- }, z.core.$strip>;
23493
- type FindOrgWorkspacesQuery = z.infer<typeof FindOrgWorkspacesQuery>;
23494
- declare const ListOrgWorkspacesQuery: z.ZodObject<{
23495
- search: z.ZodOptional<z.ZodString>;
23496
- cursor: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
23497
- limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
23498
- orgId: z.ZodOptional<z.ZodString>;
23499
- }, z.core.$strip>;
23500
- type ListOrgWorkspacesQuery = z.infer<typeof ListOrgWorkspacesQuery>;
23501
- declare const ListOrgWorkspacesResponse: z.ZodObject<{
23502
- items: z.ZodArray<z.ZodObject<{
23963
+ workspaces: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
23503
23964
  id: z.ZodString;
23504
23965
  name: z.ZodString;
23505
23966
  orgId: z.ZodString;
@@ -23990,63 +24451,663 @@ declare const ListOrgWorkspacesResponse: z.ZodObject<{
23990
24451
  jwksUri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23991
24452
  type: z.ZodOptional<z.ZodEnum<typeof WorkspaceType>>;
23992
24453
  isReadOnly: z.ZodOptional<z.ZodBoolean>;
23993
- }, z.core.$strip>>;
23994
- cursor: z.ZodOptional<z.ZodString>;
24454
+ }, z.core.$strip>>, z.ZodArray<z.ZodString>]>>;
23995
24455
  }, z.core.$strip>;
23996
- type ListOrgWorkspacesResponse = z.infer<typeof ListOrgWorkspacesResponse>;
23997
- declare const CreateOrgWorkspaceRequest: z.ZodObject<{
23998
- name: z.ZodOptional<z.ZodString>;
23999
- logoUri: z.ZodOptional<z.ZodString>;
24000
- orgId: z.ZodString;
24001
- membraneInstanceId: z.ZodOptional<z.ZodString>;
24456
+ type FullOrgUser = z.infer<typeof FullOrgUser>;
24457
+ declare const CreateOrgUserRequest: z.ZodObject<{
24458
+ email: z.ZodString;
24459
+ workspaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
24460
+ workspacesWithRoles: z.ZodOptional<z.ZodArray<z.ZodObject<{
24461
+ workspaceId: z.ZodString;
24462
+ role: z.ZodEnum<typeof UserWorkspaceRole>;
24463
+ }, z.core.$strip>>>;
24002
24464
  }, z.core.$strip>;
24003
- type CreateOrgWorkspaceRequest = z.infer<typeof CreateOrgWorkspaceRequest>;
24004
- declare const RotateOrgWorkspaceSecretResponse: z.ZodObject<{
24005
- secret: z.ZodString;
24465
+ type CreateOrgUserRequest = z.infer<typeof CreateOrgUserRequest>;
24466
+ declare const UpdateOrgUserRequest: z.ZodObject<{
24467
+ role: z.ZodOptional<z.ZodEnum<typeof OrgUserRole>>;
24468
+ status: z.ZodOptional<z.ZodEnum<typeof OrgUserStatus>>;
24469
+ workspaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
24470
+ workspacesWithRoles: z.ZodOptional<z.ZodArray<z.ZodObject<{
24471
+ workspaceId: z.ZodString;
24472
+ role: z.ZodEnum<typeof UserWorkspaceRole>;
24473
+ }, z.core.$strip>>>;
24006
24474
  }, z.core.$strip>;
24007
- type RotateOrgWorkspaceSecretResponse = z.infer<typeof RotateOrgWorkspaceSecretResponse>;
24008
- declare const AccountResponse: z.ZodObject<{
24009
- user: z.ZodOptional<z.ZodObject<{
24010
- id: z.ZodString;
24011
- auth0Id: z.ZodOptional<z.ZodString>;
24012
- email: z.ZodString;
24013
- name: z.ZodString;
24014
- defaultAccountId: z.ZodOptional<z.ZodString>;
24015
- defaultWorkspaceId: z.ZodOptional<z.ZodString>;
24016
- isAdmin: z.ZodOptional<z.ZodBoolean>;
24017
- trialRequested: z.ZodBoolean;
24018
- pat: z.ZodOptional<z.ZodString>;
24019
- isEligible: z.ZodOptional<z.ZodBoolean>;
24020
- ineligibilityReason: z.ZodOptional<z.ZodEnum<{
24021
- disposable: "disposable";
24022
- blockedDomain: "blockedDomain";
24023
- }>>;
24024
- emailVerified: z.ZodOptional<z.ZodBoolean>;
24025
- isCompanyEmail: z.ZodOptional<z.ZodBoolean>;
24026
- }, z.core.$strip>>;
24027
- workspace: z.ZodOptional<z.ZodObject<{
24475
+ type UpdateOrgUserRequest = z.infer<typeof UpdateOrgUserRequest>;
24476
+ declare const OrgInvitation: z.ZodObject<{
24477
+ id: z.ZodString;
24478
+ orgId: z.ZodString;
24479
+ org: z.ZodObject<{
24028
24480
  id: z.ZodString;
24029
- name: z.ZodString;
24030
- orgId: z.ZodString;
24031
- apiBaseUri: z.ZodOptional<z.ZodString>;
24032
24481
  key: z.ZodString;
24033
- secret: z.ZodString;
24034
- createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>>;
24035
- updatedAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>>;
24036
- engineAccessToken: z.ZodOptional<z.ZodString>;
24482
+ name: z.ZodString;
24483
+ plan: z.ZodOptional<z.ZodEnum<typeof OrgPlan>>;
24484
+ createdAt: z.ZodCoercedDate<unknown>;
24485
+ updatedAt: z.ZodCoercedDate<unknown>;
24037
24486
  trialEndDate: z.ZodOptional<z.ZodString>;
24038
- featureFlags: z.ZodOptional<z.ZodArray<z.ZodString>>;
24039
- logoUri: z.ZodOptional<z.ZodString>;
24040
- membraneInstanceId: z.ZodOptional<z.ZodString>;
24041
- operatorLimits: z.ZodOptional<z.ZodObject<{
24042
- parallelEventPulls: z.ZodOptional<z.ZodObject<{
24043
- value: z.ZodOptional<z.ZodNumber>;
24044
- defaultValue: z.ZodOptional<z.ZodNumber>;
24045
- unit: z.ZodEnum<typeof LimitUnits>;
24046
- }, z.core.$strip>>;
24047
- parallelIncrementalEventPullsPerConnection: z.ZodOptional<z.ZodObject<{
24048
- value: z.ZodOptional<z.ZodNumber>;
24049
- defaultValue: z.ZodOptional<z.ZodNumber>;
24487
+ lastTrialExtensionDate: z.ZodOptional<z.ZodString>;
24488
+ limits: z.ZodOptional<z.ZodObject<{
24489
+ numberOfWorkspaces: z.ZodOptional<z.ZodNumber>;
24490
+ todayUsage: z.ZodOptional<z.ZodNumber>;
24491
+ lastThirtyDayUsage: z.ZodOptional<z.ZodNumber>;
24492
+ membraneAgentLastThirtyDaysUsage: z.ZodOptional<z.ZodNumber>;
24493
+ membraneExpertCreditsCapPerMonth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
24494
+ defaultTenantAiCreditsRolling30DayLimit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
24495
+ }, z.core.$strip>>;
24496
+ thirtyDayTotalCredits: z.ZodOptional<z.ZodNumber>;
24497
+ lastThirtyDayUsagePercent: z.ZodOptional<z.ZodNumber>;
24498
+ todayUsagePercent: z.ZodOptional<z.ZodNumber>;
24499
+ domains: z.ZodOptional<z.ZodArray<z.ZodString>>;
24500
+ featureFlags: z.ZodOptional<z.ZodArray<z.ZodString>>;
24501
+ freeAiCredits: z.ZodOptional<z.ZodNumber>;
24502
+ paidAiCredits: z.ZodOptional<z.ZodNumber>;
24503
+ freeAiMonthlyCredits: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
24504
+ stripeCustomerId: z.ZodOptional<z.ZodString>;
24505
+ autoChargeEnabled: z.ZodOptional<z.ZodBoolean>;
24506
+ autoChargeThreshold: z.ZodOptional<z.ZodNumber>;
24507
+ autoChargePurchaseAmount: z.ZodOptional<z.ZodNumber>;
24508
+ autoChargeMonthlyLimit: z.ZodOptional<z.ZodNumber>;
24509
+ freeEngineCredits: z.ZodOptional<z.ZodNumber>;
24510
+ paidEngineCredits: z.ZodOptional<z.ZodNumber>;
24511
+ freeEngineMonthlyCredits: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
24512
+ engineAutoChargeEnabled: z.ZodOptional<z.ZodBoolean>;
24513
+ engineAutoChargeThreshold: z.ZodOptional<z.ZodNumber>;
24514
+ engineAutoChargePurchaseAmount: z.ZodOptional<z.ZodNumber>;
24515
+ engineAutoChargeMonthlyLimit: z.ZodOptional<z.ZodNumber>;
24516
+ currentUserCanLeave: z.ZodOptional<z.ZodBoolean>;
24517
+ }, z.core.$strip>;
24518
+ name: z.ZodString;
24519
+ workspaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
24520
+ uuid: z.ZodString;
24521
+ email: z.ZodOptional<z.ZodString>;
24522
+ }, z.core.$strip>;
24523
+ type OrgInvitation = z.infer<typeof OrgInvitation>;
24524
+ declare const UpdateOrgInvitationRequest: z.ZodObject<{
24525
+ name: z.ZodOptional<z.ZodString>;
24526
+ workspaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
24527
+ }, z.core.$strip>;
24528
+ type UpdateOrgInvitationRequest = z.infer<typeof UpdateOrgInvitationRequest>;
24529
+ declare const CreateOrgInvitationRequest: z.ZodObject<{
24530
+ name: z.ZodOptional<z.ZodString>;
24531
+ workspaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
24532
+ email: z.ZodOptional<z.ZodString>;
24533
+ }, z.core.$strip>;
24534
+ type CreateOrgInvitationRequest = z.infer<typeof CreateOrgInvitationRequest>;
24535
+ declare const FindOrgsQuery: z.ZodObject<{
24536
+ search: z.ZodOptional<z.ZodString>;
24537
+ myOrgs: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
24538
+ }, z.core.$strip>;
24539
+ type FindOrgsQuery = z.infer<typeof FindOrgsQuery>;
24540
+ declare const FindOrgWorkspacesQuery: z.ZodObject<{
24541
+ search: z.ZodOptional<z.ZodString>;
24542
+ cursor: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
24543
+ limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
24544
+ }, z.core.$strip>;
24545
+ type FindOrgWorkspacesQuery = z.infer<typeof FindOrgWorkspacesQuery>;
24546
+ declare const ListOrgWorkspacesQuery: z.ZodObject<{
24547
+ search: z.ZodOptional<z.ZodString>;
24548
+ cursor: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
24549
+ limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
24550
+ orgId: z.ZodOptional<z.ZodString>;
24551
+ }, z.core.$strip>;
24552
+ type ListOrgWorkspacesQuery = z.infer<typeof ListOrgWorkspacesQuery>;
24553
+ declare const ListOrgWorkspacesResponse: z.ZodObject<{
24554
+ items: z.ZodArray<z.ZodObject<{
24555
+ id: z.ZodString;
24556
+ name: z.ZodString;
24557
+ orgId: z.ZodString;
24558
+ apiBaseUri: z.ZodOptional<z.ZodString>;
24559
+ key: z.ZodString;
24560
+ secret: z.ZodString;
24561
+ createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>>;
24562
+ updatedAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>>;
24563
+ engineAccessToken: z.ZodOptional<z.ZodString>;
24564
+ trialEndDate: z.ZodOptional<z.ZodString>;
24565
+ featureFlags: z.ZodOptional<z.ZodArray<z.ZodString>>;
24566
+ logoUri: z.ZodOptional<z.ZodString>;
24567
+ membraneInstanceId: z.ZodOptional<z.ZodString>;
24568
+ operatorLimits: z.ZodOptional<z.ZodObject<{
24569
+ parallelEventPulls: z.ZodOptional<z.ZodObject<{
24570
+ value: z.ZodOptional<z.ZodNumber>;
24571
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24572
+ unit: z.ZodEnum<typeof LimitUnits>;
24573
+ }, z.core.$strip>>;
24574
+ parallelIncrementalEventPullsPerConnection: z.ZodOptional<z.ZodObject<{
24575
+ value: z.ZodOptional<z.ZodNumber>;
24576
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24577
+ unit: z.ZodEnum<typeof LimitUnits>;
24578
+ }, z.core.$strip>>;
24579
+ parallelFullSyncEventPullsPerConnection: z.ZodOptional<z.ZodObject<{
24580
+ value: z.ZodOptional<z.ZodNumber>;
24581
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24582
+ unit: z.ZodEnum<typeof LimitUnits>;
24583
+ }, z.core.$strip>>;
24584
+ parallelFlowRuns: z.ZodOptional<z.ZodObject<{
24585
+ value: z.ZodOptional<z.ZodNumber>;
24586
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24587
+ unit: z.ZodEnum<typeof LimitUnits>;
24588
+ }, z.core.$strip>>;
24589
+ parallelFlowRunsPerConnection: z.ZodOptional<z.ZodObject<{
24590
+ value: z.ZodOptional<z.ZodNumber>;
24591
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24592
+ unit: z.ZodEnum<typeof LimitUnits>;
24593
+ }, z.core.$strip>>;
24594
+ parallelApiRequests: z.ZodOptional<z.ZodObject<{
24595
+ value: z.ZodOptional<z.ZodNumber>;
24596
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24597
+ unit: z.ZodEnum<typeof LimitUnits>;
24598
+ }, z.core.$strip>>;
24599
+ parallelSseRequests: z.ZodOptional<z.ZodObject<{
24600
+ value: z.ZodOptional<z.ZodNumber>;
24601
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24602
+ unit: z.ZodEnum<typeof LimitUnits>;
24603
+ }, z.core.$strip>>;
24604
+ parallelBackgroundJobs: z.ZodOptional<z.ZodObject<{
24605
+ value: z.ZodOptional<z.ZodNumber>;
24606
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24607
+ unit: z.ZodEnum<typeof LimitUnits>;
24608
+ }, z.core.$strip>>;
24609
+ parallelEventProcessingJobs: z.ZodOptional<z.ZodObject<{
24610
+ value: z.ZodOptional<z.ZodNumber>;
24611
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24612
+ unit: z.ZodEnum<typeof LimitUnits>;
24613
+ }, z.core.$strip>>;
24614
+ parallelEventProcessingJobsPerConnection: z.ZodOptional<z.ZodObject<{
24615
+ value: z.ZodOptional<z.ZodNumber>;
24616
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24617
+ unit: z.ZodEnum<typeof LimitUnits>;
24618
+ }, z.core.$strip>>;
24619
+ parallelInstantTasksActiveJobs: z.ZodOptional<z.ZodObject<{
24620
+ value: z.ZodOptional<z.ZodNumber>;
24621
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24622
+ unit: z.ZodEnum<typeof LimitUnits>;
24623
+ }, z.core.$strip>>;
24624
+ parallelAgentSessions: z.ZodOptional<z.ZodObject<{
24625
+ value: z.ZodOptional<z.ZodNumber>;
24626
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24627
+ unit: z.ZodEnum<typeof LimitUnits>;
24628
+ }, z.core.$strip>>;
24629
+ parallelCustomCodeRuns: z.ZodOptional<z.ZodObject<{
24630
+ value: z.ZodOptional<z.ZodNumber>;
24631
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24632
+ unit: z.ZodEnum<typeof LimitUnits>;
24633
+ }, z.core.$strip>>;
24634
+ ParallelWriteDatabaseRequests: z.ZodOptional<z.ZodObject<{
24635
+ value: z.ZodOptional<z.ZodNumber>;
24636
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24637
+ unit: z.ZodEnum<typeof LimitUnits>;
24638
+ }, z.core.$strip>>;
24639
+ fileUploadsMbPerHour: z.ZodOptional<z.ZodObject<{
24640
+ value: z.ZodOptional<z.ZodNumber>;
24641
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24642
+ unit: z.ZodEnum<typeof LimitUnits>;
24643
+ }, z.core.$strip>>;
24644
+ apiRequestsPerSecond: z.ZodOptional<z.ZodObject<{
24645
+ value: z.ZodOptional<z.ZodNumber>;
24646
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24647
+ unit: z.ZodEnum<typeof LimitUnits>;
24648
+ }, z.core.$strip>>;
24649
+ apiRequestsPerHour: z.ZodOptional<z.ZodObject<{
24650
+ value: z.ZodOptional<z.ZodNumber>;
24651
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24652
+ unit: z.ZodEnum<typeof LimitUnits>;
24653
+ }, z.core.$strip>>;
24654
+ webhookRequestsPerSecond: z.ZodOptional<z.ZodObject<{
24655
+ value: z.ZodOptional<z.ZodNumber>;
24656
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24657
+ unit: z.ZodEnum<typeof LimitUnits>;
24658
+ }, z.core.$strip>>;
24659
+ webhookRequestsPerHour: z.ZodOptional<z.ZodObject<{
24660
+ value: z.ZodOptional<z.ZodNumber>;
24661
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24662
+ unit: z.ZodEnum<typeof LimitUnits>;
24663
+ }, z.core.$strip>>;
24664
+ workspaceElementCreationsPerSecond: z.ZodOptional<z.ZodObject<{
24665
+ value: z.ZodOptional<z.ZodNumber>;
24666
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24667
+ unit: z.ZodEnum<typeof LimitUnits>;
24668
+ }, z.core.$strip>>;
24669
+ workspaceElementCreationsPerHour: z.ZodOptional<z.ZodObject<{
24670
+ value: z.ZodOptional<z.ZodNumber>;
24671
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24672
+ unit: z.ZodEnum<typeof LimitUnits>;
24673
+ }, z.core.$strip>>;
24674
+ workspaceElementSearchIndexingPerMinute: z.ZodOptional<z.ZodObject<{
24675
+ value: z.ZodOptional<z.ZodNumber>;
24676
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24677
+ unit: z.ZodEnum<typeof LimitUnits>;
24678
+ }, z.core.$strip>>;
24679
+ mcpOAuthAuthorizationsPerHour: z.ZodOptional<z.ZodObject<{
24680
+ value: z.ZodOptional<z.ZodNumber>;
24681
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24682
+ unit: z.ZodEnum<typeof LimitUnits>;
24683
+ }, z.core.$strip>>;
24684
+ mcpOAuthTokensPerHour: z.ZodOptional<z.ZodObject<{
24685
+ value: z.ZodOptional<z.ZodNumber>;
24686
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24687
+ unit: z.ZodEnum<typeof LimitUnits>;
24688
+ }, z.core.$strip>>;
24689
+ totalNumberOfCustomers: z.ZodOptional<z.ZodObject<{
24690
+ value: z.ZodOptional<z.ZodNumber>;
24691
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24692
+ unit: z.ZodEnum<typeof LimitUnits>;
24693
+ }, z.core.$strip>>;
24694
+ totalNumberOfConnections: z.ZodOptional<z.ZodObject<{
24695
+ value: z.ZodOptional<z.ZodNumber>;
24696
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24697
+ unit: z.ZodEnum<typeof LimitUnits>;
24698
+ }, z.core.$strip>>;
24699
+ totalNumberOfWorkspaceElements: z.ZodOptional<z.ZodObject<{
24700
+ value: z.ZodOptional<z.ZodNumber>;
24701
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24702
+ unit: z.ZodEnum<typeof LimitUnits>;
24703
+ }, z.core.$strip>>;
24704
+ totalNumberOfWorkspaceDatabaseRecords: z.ZodOptional<z.ZodObject<{
24705
+ value: z.ZodOptional<z.ZodNumber>;
24706
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24707
+ unit: z.ZodEnum<typeof LimitUnits>;
24708
+ }, z.core.$strip>>;
24709
+ flowRunsQueueSizePerConnection: z.ZodOptional<z.ZodObject<{
24710
+ value: z.ZodOptional<z.ZodNumber>;
24711
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24712
+ unit: z.ZodEnum<typeof LimitUnits>;
24713
+ }, z.core.$strip>>;
24714
+ instantTasksQueueSize: z.ZodOptional<z.ZodObject<{
24715
+ value: z.ZodOptional<z.ZodNumber>;
24716
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24717
+ unit: z.ZodEnum<typeof LimitUnits>;
24718
+ }, z.core.$strip>>;
24719
+ QueuedTasksQueueSize: z.ZodOptional<z.ZodObject<{
24720
+ value: z.ZodOptional<z.ZodNumber>;
24721
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24722
+ unit: z.ZodEnum<typeof LimitUnits>;
24723
+ }, z.core.$strip>>;
24724
+ parallelApiRequestsPerCustomer: z.ZodOptional<z.ZodObject<{
24725
+ value: z.ZodOptional<z.ZodNumber>;
24726
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24727
+ unit: z.ZodEnum<typeof LimitUnits>;
24728
+ }, z.core.$strip>>;
24729
+ parallelBackgroundJobsPerCustomer: z.ZodOptional<z.ZodObject<{
24730
+ value: z.ZodOptional<z.ZodNumber>;
24731
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24732
+ unit: z.ZodEnum<typeof LimitUnits>;
24733
+ }, z.core.$strip>>;
24734
+ parallelCustomCodeRunsPerCustomer: z.ZodOptional<z.ZodObject<{
24735
+ value: z.ZodOptional<z.ZodNumber>;
24736
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24737
+ unit: z.ZodEnum<typeof LimitUnits>;
24738
+ }, z.core.$strip>>;
24739
+ totalNumberOfDatabaseEntitiesPerCustomer: z.ZodOptional<z.ZodObject<{
24740
+ value: z.ZodOptional<z.ZodNumber>;
24741
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24742
+ unit: z.ZodEnum<typeof LimitUnits>;
24743
+ }, z.core.$strip>>;
24744
+ apiRequestsPerCustomerPerSecond: z.ZodOptional<z.ZodObject<{
24745
+ value: z.ZodOptional<z.ZodNumber>;
24746
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24747
+ unit: z.ZodEnum<typeof LimitUnits>;
24748
+ }, z.core.$strip>>;
24749
+ apiRequestsPerCustomerPerHour: z.ZodOptional<z.ZodObject<{
24750
+ value: z.ZodOptional<z.ZodNumber>;
24751
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24752
+ unit: z.ZodEnum<typeof LimitUnits>;
24753
+ }, z.core.$strip>>;
24754
+ webhookRequestsPerCustomerPerSecond: z.ZodOptional<z.ZodObject<{
24755
+ value: z.ZodOptional<z.ZodNumber>;
24756
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24757
+ unit: z.ZodEnum<typeof LimitUnits>;
24758
+ }, z.core.$strip>>;
24759
+ webhookRequestsPerCustomerPerHour: z.ZodOptional<z.ZodObject<{
24760
+ value: z.ZodOptional<z.ZodNumber>;
24761
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24762
+ unit: z.ZodEnum<typeof LimitUnits>;
24763
+ }, z.core.$strip>>;
24764
+ externalEventsPerCustomerPerDay: z.ZodOptional<z.ZodObject<{
24765
+ value: z.ZodOptional<z.ZodNumber>;
24766
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24767
+ unit: z.ZodEnum<typeof LimitUnits>;
24768
+ }, z.core.$strip>>;
24769
+ defaultTenantAiCreditsRolling30DayLimit: z.ZodOptional<z.ZodObject<{
24770
+ value: z.ZodOptional<z.ZodNumber>;
24771
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24772
+ unit: z.ZodEnum<typeof LimitUnits>;
24773
+ }, z.core.$strip>>;
24774
+ }, z.core.$strip>>;
24775
+ operatorLimitsSyncedAt: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>>>;
24776
+ operatorLimitsSyncError: z.ZodOptional<z.ZodString>;
24777
+ limits: z.ZodOptional<z.ZodObject<{
24778
+ parallelEventPulls: z.ZodOptional<z.ZodObject<{
24779
+ value: z.ZodOptional<z.ZodNumber>;
24780
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24781
+ unit: z.ZodEnum<typeof LimitUnits>;
24782
+ }, z.core.$strip>>;
24783
+ parallelIncrementalEventPullsPerConnection: z.ZodOptional<z.ZodObject<{
24784
+ value: z.ZodOptional<z.ZodNumber>;
24785
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24786
+ unit: z.ZodEnum<typeof LimitUnits>;
24787
+ }, z.core.$strip>>;
24788
+ parallelFullSyncEventPullsPerConnection: z.ZodOptional<z.ZodObject<{
24789
+ value: z.ZodOptional<z.ZodNumber>;
24790
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24791
+ unit: z.ZodEnum<typeof LimitUnits>;
24792
+ }, z.core.$strip>>;
24793
+ parallelFlowRuns: z.ZodOptional<z.ZodObject<{
24794
+ value: z.ZodOptional<z.ZodNumber>;
24795
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24796
+ unit: z.ZodEnum<typeof LimitUnits>;
24797
+ }, z.core.$strip>>;
24798
+ parallelFlowRunsPerConnection: z.ZodOptional<z.ZodObject<{
24799
+ value: z.ZodOptional<z.ZodNumber>;
24800
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24801
+ unit: z.ZodEnum<typeof LimitUnits>;
24802
+ }, z.core.$strip>>;
24803
+ parallelApiRequests: z.ZodOptional<z.ZodObject<{
24804
+ value: z.ZodOptional<z.ZodNumber>;
24805
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24806
+ unit: z.ZodEnum<typeof LimitUnits>;
24807
+ }, z.core.$strip>>;
24808
+ parallelSseRequests: z.ZodOptional<z.ZodObject<{
24809
+ value: z.ZodOptional<z.ZodNumber>;
24810
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24811
+ unit: z.ZodEnum<typeof LimitUnits>;
24812
+ }, z.core.$strip>>;
24813
+ parallelBackgroundJobs: z.ZodOptional<z.ZodObject<{
24814
+ value: z.ZodOptional<z.ZodNumber>;
24815
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24816
+ unit: z.ZodEnum<typeof LimitUnits>;
24817
+ }, z.core.$strip>>;
24818
+ parallelEventProcessingJobs: z.ZodOptional<z.ZodObject<{
24819
+ value: z.ZodOptional<z.ZodNumber>;
24820
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24821
+ unit: z.ZodEnum<typeof LimitUnits>;
24822
+ }, z.core.$strip>>;
24823
+ parallelEventProcessingJobsPerConnection: z.ZodOptional<z.ZodObject<{
24824
+ value: z.ZodOptional<z.ZodNumber>;
24825
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24826
+ unit: z.ZodEnum<typeof LimitUnits>;
24827
+ }, z.core.$strip>>;
24828
+ parallelInstantTasksActiveJobs: z.ZodOptional<z.ZodObject<{
24829
+ value: z.ZodOptional<z.ZodNumber>;
24830
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24831
+ unit: z.ZodEnum<typeof LimitUnits>;
24832
+ }, z.core.$strip>>;
24833
+ parallelAgentSessions: z.ZodOptional<z.ZodObject<{
24834
+ value: z.ZodOptional<z.ZodNumber>;
24835
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24836
+ unit: z.ZodEnum<typeof LimitUnits>;
24837
+ }, z.core.$strip>>;
24838
+ parallelCustomCodeRuns: z.ZodOptional<z.ZodObject<{
24839
+ value: z.ZodOptional<z.ZodNumber>;
24840
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24841
+ unit: z.ZodEnum<typeof LimitUnits>;
24842
+ }, z.core.$strip>>;
24843
+ ParallelWriteDatabaseRequests: z.ZodOptional<z.ZodObject<{
24844
+ value: z.ZodOptional<z.ZodNumber>;
24845
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24846
+ unit: z.ZodEnum<typeof LimitUnits>;
24847
+ }, z.core.$strip>>;
24848
+ fileUploadsMbPerHour: z.ZodOptional<z.ZodObject<{
24849
+ value: z.ZodOptional<z.ZodNumber>;
24850
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24851
+ unit: z.ZodEnum<typeof LimitUnits>;
24852
+ }, z.core.$strip>>;
24853
+ apiRequestsPerSecond: z.ZodOptional<z.ZodObject<{
24854
+ value: z.ZodOptional<z.ZodNumber>;
24855
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24856
+ unit: z.ZodEnum<typeof LimitUnits>;
24857
+ }, z.core.$strip>>;
24858
+ apiRequestsPerHour: z.ZodOptional<z.ZodObject<{
24859
+ value: z.ZodOptional<z.ZodNumber>;
24860
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24861
+ unit: z.ZodEnum<typeof LimitUnits>;
24862
+ }, z.core.$strip>>;
24863
+ webhookRequestsPerSecond: z.ZodOptional<z.ZodObject<{
24864
+ value: z.ZodOptional<z.ZodNumber>;
24865
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24866
+ unit: z.ZodEnum<typeof LimitUnits>;
24867
+ }, z.core.$strip>>;
24868
+ webhookRequestsPerHour: z.ZodOptional<z.ZodObject<{
24869
+ value: z.ZodOptional<z.ZodNumber>;
24870
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24871
+ unit: z.ZodEnum<typeof LimitUnits>;
24872
+ }, z.core.$strip>>;
24873
+ workspaceElementCreationsPerSecond: z.ZodOptional<z.ZodObject<{
24874
+ value: z.ZodOptional<z.ZodNumber>;
24875
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24876
+ unit: z.ZodEnum<typeof LimitUnits>;
24877
+ }, z.core.$strip>>;
24878
+ workspaceElementCreationsPerHour: z.ZodOptional<z.ZodObject<{
24879
+ value: z.ZodOptional<z.ZodNumber>;
24880
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24881
+ unit: z.ZodEnum<typeof LimitUnits>;
24882
+ }, z.core.$strip>>;
24883
+ workspaceElementSearchIndexingPerMinute: z.ZodOptional<z.ZodObject<{
24884
+ value: z.ZodOptional<z.ZodNumber>;
24885
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24886
+ unit: z.ZodEnum<typeof LimitUnits>;
24887
+ }, z.core.$strip>>;
24888
+ mcpOAuthAuthorizationsPerHour: z.ZodOptional<z.ZodObject<{
24889
+ value: z.ZodOptional<z.ZodNumber>;
24890
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24891
+ unit: z.ZodEnum<typeof LimitUnits>;
24892
+ }, z.core.$strip>>;
24893
+ mcpOAuthTokensPerHour: z.ZodOptional<z.ZodObject<{
24894
+ value: z.ZodOptional<z.ZodNumber>;
24895
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24896
+ unit: z.ZodEnum<typeof LimitUnits>;
24897
+ }, z.core.$strip>>;
24898
+ totalNumberOfCustomers: z.ZodOptional<z.ZodObject<{
24899
+ value: z.ZodOptional<z.ZodNumber>;
24900
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24901
+ unit: z.ZodEnum<typeof LimitUnits>;
24902
+ }, z.core.$strip>>;
24903
+ totalNumberOfConnections: z.ZodOptional<z.ZodObject<{
24904
+ value: z.ZodOptional<z.ZodNumber>;
24905
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24906
+ unit: z.ZodEnum<typeof LimitUnits>;
24907
+ }, z.core.$strip>>;
24908
+ totalNumberOfWorkspaceElements: z.ZodOptional<z.ZodObject<{
24909
+ value: z.ZodOptional<z.ZodNumber>;
24910
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24911
+ unit: z.ZodEnum<typeof LimitUnits>;
24912
+ }, z.core.$strip>>;
24913
+ totalNumberOfWorkspaceDatabaseRecords: z.ZodOptional<z.ZodObject<{
24914
+ value: z.ZodOptional<z.ZodNumber>;
24915
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24916
+ unit: z.ZodEnum<typeof LimitUnits>;
24917
+ }, z.core.$strip>>;
24918
+ flowRunsQueueSizePerConnection: z.ZodOptional<z.ZodObject<{
24919
+ value: z.ZodOptional<z.ZodNumber>;
24920
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24921
+ unit: z.ZodEnum<typeof LimitUnits>;
24922
+ }, z.core.$strip>>;
24923
+ instantTasksQueueSize: z.ZodOptional<z.ZodObject<{
24924
+ value: z.ZodOptional<z.ZodNumber>;
24925
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24926
+ unit: z.ZodEnum<typeof LimitUnits>;
24927
+ }, z.core.$strip>>;
24928
+ QueuedTasksQueueSize: z.ZodOptional<z.ZodObject<{
24929
+ value: z.ZodOptional<z.ZodNumber>;
24930
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24931
+ unit: z.ZodEnum<typeof LimitUnits>;
24932
+ }, z.core.$strip>>;
24933
+ parallelApiRequestsPerCustomer: z.ZodOptional<z.ZodObject<{
24934
+ value: z.ZodOptional<z.ZodNumber>;
24935
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24936
+ unit: z.ZodEnum<typeof LimitUnits>;
24937
+ }, z.core.$strip>>;
24938
+ parallelBackgroundJobsPerCustomer: z.ZodOptional<z.ZodObject<{
24939
+ value: z.ZodOptional<z.ZodNumber>;
24940
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24941
+ unit: z.ZodEnum<typeof LimitUnits>;
24942
+ }, z.core.$strip>>;
24943
+ parallelCustomCodeRunsPerCustomer: z.ZodOptional<z.ZodObject<{
24944
+ value: z.ZodOptional<z.ZodNumber>;
24945
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24946
+ unit: z.ZodEnum<typeof LimitUnits>;
24947
+ }, z.core.$strip>>;
24948
+ totalNumberOfDatabaseEntitiesPerCustomer: z.ZodOptional<z.ZodObject<{
24949
+ value: z.ZodOptional<z.ZodNumber>;
24950
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24951
+ unit: z.ZodEnum<typeof LimitUnits>;
24952
+ }, z.core.$strip>>;
24953
+ apiRequestsPerCustomerPerSecond: z.ZodOptional<z.ZodObject<{
24954
+ value: z.ZodOptional<z.ZodNumber>;
24955
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24956
+ unit: z.ZodEnum<typeof LimitUnits>;
24957
+ }, z.core.$strip>>;
24958
+ apiRequestsPerCustomerPerHour: z.ZodOptional<z.ZodObject<{
24959
+ value: z.ZodOptional<z.ZodNumber>;
24960
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24961
+ unit: z.ZodEnum<typeof LimitUnits>;
24962
+ }, z.core.$strip>>;
24963
+ webhookRequestsPerCustomerPerSecond: z.ZodOptional<z.ZodObject<{
24964
+ value: z.ZodOptional<z.ZodNumber>;
24965
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24966
+ unit: z.ZodEnum<typeof LimitUnits>;
24967
+ }, z.core.$strip>>;
24968
+ webhookRequestsPerCustomerPerHour: z.ZodOptional<z.ZodObject<{
24969
+ value: z.ZodOptional<z.ZodNumber>;
24970
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24971
+ unit: z.ZodEnum<typeof LimitUnits>;
24972
+ }, z.core.$strip>>;
24973
+ externalEventsPerCustomerPerDay: z.ZodOptional<z.ZodObject<{
24974
+ value: z.ZodOptional<z.ZodNumber>;
24975
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24976
+ unit: z.ZodEnum<typeof LimitUnits>;
24977
+ }, z.core.$strip>>;
24978
+ defaultTenantAiCreditsRolling30DayLimit: z.ZodOptional<z.ZodObject<{
24979
+ value: z.ZodOptional<z.ZodNumber>;
24980
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24981
+ unit: z.ZodEnum<typeof LimitUnits>;
24982
+ }, z.core.$strip>>;
24983
+ }, z.core.$strip>>;
24984
+ settings: z.ZodOptional<z.ZodObject<{
24985
+ enableApiLogs: z.ZodOptional<z.ZodBoolean>;
24986
+ enableWebhookLogs: z.ZodOptional<z.ZodBoolean>;
24987
+ enableActionRunLogs: z.ZodOptional<z.ZodBoolean>;
24988
+ disableSecretKeyAuth: z.ZodOptional<z.ZodBoolean>;
24989
+ useMembraneUniverse: z.ZodOptional<z.ZodBoolean>;
24990
+ useRemoteRepository: z.ZodOptional<z.ZodBoolean>;
24991
+ autoGenerateIntegrationsFromConnectors: z.ZodOptional<z.ZodBoolean>;
24992
+ autoGenerateIntegrationsFromExternalApps: z.ZodOptional<z.ZodBoolean>;
24993
+ autoGenerateIntegrationsFromWebSearch: z.ZodOptional<z.ZodBoolean>;
24994
+ }, z.core.$strip>>;
24995
+ publicKeys: z.ZodOptional<z.ZodArray<z.ZodObject<{
24996
+ name: z.ZodString;
24997
+ publicKey: z.ZodString;
24998
+ }, z.core.$strip>>>;
24999
+ userFieldsSchema: z.ZodOptional<z.ZodAny>;
25000
+ webhookUri: z.ZodOptional<z.ZodString>;
25001
+ enabledWebhookEvents: z.ZodOptional<z.ZodArray<z.ZodString>>;
25002
+ alertDeliverySettings: z.ZodOptional<z.ZodObject<{
25003
+ alertTypes: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
25004
+ fileUploadsMbPerHour: AlertType.fileUploadsMbPerHour;
25005
+ apiRequestsPerSecond: AlertType.apiRequestsPerSecond;
25006
+ apiRequestsPerHour: AlertType.apiRequestsPerHour;
25007
+ webhookRequestsPerSecond: AlertType.webhookRequestsPerSecond;
25008
+ webhookRequestsPerHour: AlertType.webhookRequestsPerHour;
25009
+ workspaceElementCreationsPerSecond: AlertType.workspaceElementCreationsPerSecond;
25010
+ workspaceElementCreationsPerHour: AlertType.workspaceElementCreationsPerHour;
25011
+ workspaceElementSearchIndexingPerMinute: AlertType.workspaceElementSearchIndexingPerMinute;
25012
+ externalEventsPerCustomerPerDay: AlertType.externalEventsPerCustomerPerDay;
25013
+ apiRequestsPerCustomerPerSecond: AlertType.apiRequestsPerCustomerPerSecond;
25014
+ apiRequestsPerCustomerPerHour: AlertType.apiRequestsPerCustomerPerHour;
25015
+ webhookRequestsPerCustomerPerSecond: AlertType.webhookRequestsPerCustomerPerSecond;
25016
+ webhookRequestsPerCustomerPerHour: AlertType.webhookRequestsPerCustomerPerHour;
25017
+ parallelApiRequestsPerCustomer: AlertType.parallelApiRequestsPerCustomer;
25018
+ engineCreditsExhaustionProjected: AlertType.engineCreditsExhaustionProjected;
25019
+ engineCreditsExhaustionActual: AlertType.engineCreditsExhaustionActual;
25020
+ aiCreditsDebtAccumulated: AlertType.aiCreditsDebtAccumulated;
25021
+ totalNumberOfDatabaseEntitiesPerCustomer: AlertType.totalNumberOfDatabaseEntitiesPerCustomer;
25022
+ totalNumberOfCustomers: AlertType.totalNumberOfCustomers;
25023
+ totalNumberOfConnections: AlertType.totalNumberOfConnections;
25024
+ totalNumberOfWorkspaceElements: AlertType.totalNumberOfWorkspaceElements;
25025
+ totalNumberOfWorkspaceDatabaseRecords: AlertType.totalNumberOfWorkspaceDatabaseRecords;
25026
+ instantTasksQueueSize: AlertType.instantTasksQueueSize;
25027
+ queuedTasksQueueSize: AlertType.queuedTasksQueueSize;
25028
+ flowRunsQueueSizePerConnection: AlertType.flowRunsQueueSizePerConnection;
25029
+ eventsProcessingQueueSizePerConnection: AlertType.eventsProcessingQueueSizePerConnection;
25030
+ parallelApiRequests: AlertType.parallelApiRequests;
25031
+ testAlert: AlertType.testAlert;
25032
+ }>, z.ZodOptional<z.ZodObject<{
25033
+ internal: z.ZodLiteral<true>;
25034
+ webhook: z.ZodOptional<z.ZodObject<{
25035
+ enabled: z.ZodBoolean;
25036
+ }, z.core.$strip>>;
25037
+ email: z.ZodOptional<z.ZodObject<{
25038
+ enabled: z.ZodBoolean;
25039
+ }, z.core.$strip>>;
25040
+ }, z.core.$strip>>>>;
25041
+ }, z.core.$strip>>;
25042
+ jwksUri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25043
+ type: z.ZodOptional<z.ZodEnum<typeof WorkspaceType>>;
25044
+ isReadOnly: z.ZodOptional<z.ZodBoolean>;
25045
+ }, z.core.$strip>>;
25046
+ cursor: z.ZodOptional<z.ZodString>;
25047
+ }, z.core.$strip>;
25048
+ type ListOrgWorkspacesResponse = z.infer<typeof ListOrgWorkspacesResponse>;
25049
+ declare const CreateOrgWorkspaceRequest: z.ZodObject<{
25050
+ name: z.ZodOptional<z.ZodString>;
25051
+ logoUri: z.ZodOptional<z.ZodString>;
25052
+ orgId: z.ZodString;
25053
+ membraneInstanceId: z.ZodOptional<z.ZodString>;
25054
+ }, z.core.$strip>;
25055
+ type CreateOrgWorkspaceRequest = z.infer<typeof CreateOrgWorkspaceRequest>;
25056
+ declare const RotateOrgWorkspaceSecretResponse: z.ZodObject<{
25057
+ secret: z.ZodString;
25058
+ }, z.core.$strip>;
25059
+ type RotateOrgWorkspaceSecretResponse = z.infer<typeof RotateOrgWorkspaceSecretResponse>;
25060
+ declare const GenerateOrgAccessTokenRequest: z.ZodObject<{
25061
+ expiresIn: z.ZodOptional<z.ZodNumber>;
25062
+ name: z.ZodOptional<z.ZodString>;
25063
+ }, z.core.$strip>;
25064
+ type GenerateOrgAccessTokenRequest = z.infer<typeof GenerateOrgAccessTokenRequest>;
25065
+ declare const GenerateOrgAccessTokenResponse: z.ZodObject<{
25066
+ token: z.ZodString;
25067
+ }, z.core.$strip>;
25068
+ type GenerateOrgAccessTokenResponse = z.infer<typeof GenerateOrgAccessTokenResponse>;
25069
+ declare const AccountResponse: z.ZodObject<{
25070
+ user: z.ZodOptional<z.ZodObject<{
25071
+ id: z.ZodString;
25072
+ auth0Id: z.ZodOptional<z.ZodString>;
25073
+ email: z.ZodString;
25074
+ name: z.ZodString;
25075
+ defaultAccountId: z.ZodOptional<z.ZodString>;
25076
+ defaultWorkspaceId: z.ZodOptional<z.ZodString>;
25077
+ isAdmin: z.ZodOptional<z.ZodBoolean>;
25078
+ trialRequested: z.ZodBoolean;
25079
+ pat: z.ZodOptional<z.ZodString>;
25080
+ isEligible: z.ZodOptional<z.ZodBoolean>;
25081
+ ineligibilityReason: z.ZodOptional<z.ZodEnum<{
25082
+ disposable: "disposable";
25083
+ blockedDomain: "blockedDomain";
25084
+ }>>;
25085
+ emailVerified: z.ZodOptional<z.ZodBoolean>;
25086
+ isCompanyEmail: z.ZodOptional<z.ZodBoolean>;
25087
+ }, z.core.$strip>>;
25088
+ workspace: z.ZodOptional<z.ZodObject<{
25089
+ id: z.ZodString;
25090
+ name: z.ZodString;
25091
+ orgId: z.ZodString;
25092
+ apiBaseUri: z.ZodOptional<z.ZodString>;
25093
+ key: z.ZodString;
25094
+ secret: z.ZodString;
25095
+ createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>>;
25096
+ updatedAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>>;
25097
+ engineAccessToken: z.ZodOptional<z.ZodString>;
25098
+ trialEndDate: z.ZodOptional<z.ZodString>;
25099
+ featureFlags: z.ZodOptional<z.ZodArray<z.ZodString>>;
25100
+ logoUri: z.ZodOptional<z.ZodString>;
25101
+ membraneInstanceId: z.ZodOptional<z.ZodString>;
25102
+ operatorLimits: z.ZodOptional<z.ZodObject<{
25103
+ parallelEventPulls: z.ZodOptional<z.ZodObject<{
25104
+ value: z.ZodOptional<z.ZodNumber>;
25105
+ defaultValue: z.ZodOptional<z.ZodNumber>;
25106
+ unit: z.ZodEnum<typeof LimitUnits>;
25107
+ }, z.core.$strip>>;
25108
+ parallelIncrementalEventPullsPerConnection: z.ZodOptional<z.ZodObject<{
25109
+ value: z.ZodOptional<z.ZodNumber>;
25110
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24050
25111
  unit: z.ZodEnum<typeof LimitUnits>;
24051
25112
  }, z.core.$strip>>;
24052
25113
  parallelFullSyncEventPullsPerConnection: z.ZodOptional<z.ZodObject<{
@@ -26004,6 +27065,7 @@ declare const ScenarioTemplate: z.ZodObject<{
26004
27065
  key: z.ZodString;
26005
27066
  name: z.ZodString;
26006
27067
  logoUri: z.ZodString;
27068
+ appUri: z.ZodOptional<z.ZodString>;
26007
27069
  isPublic: z.ZodOptional<z.ZodBoolean>;
26008
27070
  tenantId: z.ZodOptional<z.ZodString>;
26009
27071
  }, z.core.$strip>>>;
@@ -26087,6 +27149,268 @@ interface HandyScenarioTemplateElementApi {
26087
27149
  } & Record<string, any>;
26088
27150
  }
26089
27151
 
27152
+ declare const AgentHarness: z.ZodObject<{
27153
+ id: z.ZodString;
27154
+ workspaceId: z.ZodString;
27155
+ name: z.ZodString;
27156
+ key: z.ZodString;
27157
+ description: z.ZodOptional<z.ZodString>;
27158
+ systemPrompt: z.ZodOptional<z.ZodString>;
27159
+ defaultModel: z.ZodEnum<{
27160
+ "anthropic/claude-sonnet-4.6": "anthropic/claude-sonnet-4.6";
27161
+ "anthropic/claude-opus-4.6": "anthropic/claude-opus-4.6";
27162
+ "anthropic/claude-sonnet-4.5": "anthropic/claude-sonnet-4.5";
27163
+ "anthropic/claude-opus-4.5": "anthropic/claude-opus-4.5";
27164
+ "anthropic/claude-haiku-4.5": "anthropic/claude-haiku-4.5";
27165
+ "openai/gpt-5.2": "openai/gpt-5.2";
27166
+ "openai/gpt-5-nano": "openai/gpt-5-nano";
27167
+ "google/gemini-3-pro-preview": "google/gemini-3-pro-preview";
27168
+ "moonshotai/kimi-k2.5": "moonshotai/kimi-k2.5";
27169
+ }>;
27170
+ toolIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
27171
+ skillIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
27172
+ instructionIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
27173
+ tools: z.ZodDefault<z.ZodArray<z.ZodObject<{
27174
+ id: z.ZodString;
27175
+ name: z.ZodString;
27176
+ description: z.ZodString;
27177
+ enabledByDefault: z.ZodDefault<z.ZodBoolean>;
27178
+ }, z.core.$strip>>>;
27179
+ skills: z.ZodDefault<z.ZodArray<z.ZodObject<{
27180
+ id: z.ZodString;
27181
+ workspaceId: z.ZodString;
27182
+ name: z.ZodString;
27183
+ key: z.ZodString;
27184
+ description: z.ZodString;
27185
+ body: z.ZodString;
27186
+ sourceUrl: z.ZodOptional<z.ZodURL>;
27187
+ revision: z.ZodOptional<z.ZodString>;
27188
+ archivedAt: z.ZodOptional<z.ZodISODateTime>;
27189
+ createdAt: z.ZodOptional<z.ZodISODateTime>;
27190
+ updatedAt: z.ZodOptional<z.ZodISODateTime>;
27191
+ }, z.core.$strip>>>;
27192
+ instructions: z.ZodDefault<z.ZodArray<z.ZodObject<{
27193
+ id: z.ZodString;
27194
+ workspaceId: z.ZodString;
27195
+ name: z.ZodString;
27196
+ key: z.ZodString;
27197
+ text: z.ZodString;
27198
+ revision: z.ZodOptional<z.ZodString>;
27199
+ archivedAt: z.ZodOptional<z.ZodISODateTime>;
27200
+ createdAt: z.ZodOptional<z.ZodISODateTime>;
27201
+ updatedAt: z.ZodOptional<z.ZodISODateTime>;
27202
+ }, z.core.$strip>>>;
27203
+ revision: z.ZodOptional<z.ZodString>;
27204
+ archivedAt: z.ZodOptional<z.ZodISODateTime>;
27205
+ createdAt: z.ZodOptional<z.ZodISODateTime>;
27206
+ updatedAt: z.ZodOptional<z.ZodISODateTime>;
27207
+ }, z.core.$strip>;
27208
+ type AgentHarness = z.infer<typeof AgentHarness>;
27209
+ declare const CreateAgentHarnessRequest: z.ZodObject<{
27210
+ name: z.ZodString;
27211
+ key: z.ZodOptional<z.ZodString>;
27212
+ description: z.ZodOptional<z.ZodString>;
27213
+ systemPrompt: z.ZodOptional<z.ZodString>;
27214
+ defaultModel: z.ZodEnum<{
27215
+ "anthropic/claude-sonnet-4.6": "anthropic/claude-sonnet-4.6";
27216
+ "anthropic/claude-opus-4.6": "anthropic/claude-opus-4.6";
27217
+ "anthropic/claude-sonnet-4.5": "anthropic/claude-sonnet-4.5";
27218
+ "anthropic/claude-opus-4.5": "anthropic/claude-opus-4.5";
27219
+ "anthropic/claude-haiku-4.5": "anthropic/claude-haiku-4.5";
27220
+ "openai/gpt-5.2": "openai/gpt-5.2";
27221
+ "openai/gpt-5-nano": "openai/gpt-5-nano";
27222
+ "google/gemini-3-pro-preview": "google/gemini-3-pro-preview";
27223
+ "moonshotai/kimi-k2.5": "moonshotai/kimi-k2.5";
27224
+ }>;
27225
+ toolIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
27226
+ skillIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
27227
+ instructionIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
27228
+ }, z.core.$strip>;
27229
+ type CreateAgentHarnessRequest = z.infer<typeof CreateAgentHarnessRequest>;
27230
+ declare const UpdateAgentHarnessRequest: z.ZodObject<{
27231
+ name: z.ZodOptional<z.ZodString>;
27232
+ key: z.ZodOptional<z.ZodOptional<z.ZodString>>;
27233
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
27234
+ systemPrompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
27235
+ defaultModel: z.ZodOptional<z.ZodEnum<{
27236
+ "anthropic/claude-sonnet-4.6": "anthropic/claude-sonnet-4.6";
27237
+ "anthropic/claude-opus-4.6": "anthropic/claude-opus-4.6";
27238
+ "anthropic/claude-sonnet-4.5": "anthropic/claude-sonnet-4.5";
27239
+ "anthropic/claude-opus-4.5": "anthropic/claude-opus-4.5";
27240
+ "anthropic/claude-haiku-4.5": "anthropic/claude-haiku-4.5";
27241
+ "openai/gpt-5.2": "openai/gpt-5.2";
27242
+ "openai/gpt-5-nano": "openai/gpt-5-nano";
27243
+ "google/gemini-3-pro-preview": "google/gemini-3-pro-preview";
27244
+ "moonshotai/kimi-k2.5": "moonshotai/kimi-k2.5";
27245
+ }>>;
27246
+ toolIds: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
27247
+ skillIds: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
27248
+ instructionIds: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
27249
+ }, z.core.$strip>;
27250
+ type UpdateAgentHarnessRequest = z.infer<typeof UpdateAgentHarnessRequest>;
27251
+ declare const FindAgentHarnessQuery: z.ZodObject<{
27252
+ limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
27253
+ cursor: z.ZodOptional<z.ZodString>;
27254
+ search: z.ZodOptional<z.ZodString>;
27255
+ includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
27256
+ }, z.core.$strip>;
27257
+ type FindAgentHarnessQuery = z.infer<typeof FindAgentHarnessQuery>;
27258
+
27259
+ declare const AgentHarnessSnapshot: z.ZodObject<{
27260
+ id: z.ZodString;
27261
+ workspaceId: z.ZodString;
27262
+ agentHarnessId: z.ZodString;
27263
+ agentHarnessRevision: z.ZodOptional<z.ZodString>;
27264
+ name: z.ZodString;
27265
+ key: z.ZodString;
27266
+ description: z.ZodOptional<z.ZodString>;
27267
+ systemPrompt: z.ZodDefault<z.ZodString>;
27268
+ defaultModel: z.ZodEnum<{
27269
+ "anthropic/claude-sonnet-4.6": "anthropic/claude-sonnet-4.6";
27270
+ "anthropic/claude-opus-4.6": "anthropic/claude-opus-4.6";
27271
+ "anthropic/claude-sonnet-4.5": "anthropic/claude-sonnet-4.5";
27272
+ "anthropic/claude-opus-4.5": "anthropic/claude-opus-4.5";
27273
+ "anthropic/claude-haiku-4.5": "anthropic/claude-haiku-4.5";
27274
+ "openai/gpt-5.2": "openai/gpt-5.2";
27275
+ "openai/gpt-5-nano": "openai/gpt-5-nano";
27276
+ "google/gemini-3-pro-preview": "google/gemini-3-pro-preview";
27277
+ "moonshotai/kimi-k2.5": "moonshotai/kimi-k2.5";
27278
+ }>;
27279
+ hash: z.ZodOptional<z.ZodString>;
27280
+ toolIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
27281
+ tools: z.ZodDefault<z.ZodArray<z.ZodObject<{
27282
+ id: z.ZodString;
27283
+ name: z.ZodString;
27284
+ description: z.ZodString;
27285
+ enabledByDefault: z.ZodDefault<z.ZodBoolean>;
27286
+ }, z.core.$strip>>>;
27287
+ skillIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
27288
+ skills: z.ZodDefault<z.ZodArray<z.ZodObject<{
27289
+ id: z.ZodString;
27290
+ workspaceId: z.ZodString;
27291
+ name: z.ZodString;
27292
+ key: z.ZodString;
27293
+ description: z.ZodString;
27294
+ body: z.ZodString;
27295
+ sourceUrl: z.ZodOptional<z.ZodURL>;
27296
+ revision: z.ZodOptional<z.ZodString>;
27297
+ archivedAt: z.ZodOptional<z.ZodISODateTime>;
27298
+ createdAt: z.ZodOptional<z.ZodISODateTime>;
27299
+ updatedAt: z.ZodOptional<z.ZodISODateTime>;
27300
+ }, z.core.$strip>>>;
27301
+ instructionIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
27302
+ instructions: z.ZodDefault<z.ZodArray<z.ZodObject<{
27303
+ id: z.ZodString;
27304
+ workspaceId: z.ZodString;
27305
+ name: z.ZodString;
27306
+ key: z.ZodString;
27307
+ text: z.ZodString;
27308
+ revision: z.ZodOptional<z.ZodString>;
27309
+ archivedAt: z.ZodOptional<z.ZodISODateTime>;
27310
+ createdAt: z.ZodOptional<z.ZodISODateTime>;
27311
+ updatedAt: z.ZodOptional<z.ZodISODateTime>;
27312
+ }, z.core.$strip>>>;
27313
+ createdAt: z.ZodOptional<z.ZodISODateTime>;
27314
+ updatedAt: z.ZodOptional<z.ZodISODateTime>;
27315
+ }, z.core.$strip>;
27316
+ type AgentHarnessSnapshot = z.infer<typeof AgentHarnessSnapshot>;
27317
+ declare const FindAgentHarnessSnapshotQuery: z.ZodObject<{
27318
+ limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
27319
+ cursor: z.ZodOptional<z.ZodString>;
27320
+ agentHarnessId: z.ZodOptional<z.ZodString>;
27321
+ }, z.core.$strip>;
27322
+ type FindAgentHarnessSnapshotQuery = z.infer<typeof FindAgentHarnessSnapshotQuery>;
27323
+
27324
+ declare const AgentInstruction: z.ZodObject<{
27325
+ id: z.ZodString;
27326
+ workspaceId: z.ZodString;
27327
+ name: z.ZodString;
27328
+ key: z.ZodString;
27329
+ text: z.ZodString;
27330
+ revision: z.ZodOptional<z.ZodString>;
27331
+ archivedAt: z.ZodOptional<z.ZodISODateTime>;
27332
+ createdAt: z.ZodOptional<z.ZodISODateTime>;
27333
+ updatedAt: z.ZodOptional<z.ZodISODateTime>;
27334
+ }, z.core.$strip>;
27335
+ type AgentInstruction = z.infer<typeof AgentInstruction>;
27336
+ declare const CreateAgentInstructionRequest: z.ZodObject<{
27337
+ name: z.ZodString;
27338
+ key: z.ZodOptional<z.ZodString>;
27339
+ text: z.ZodString;
27340
+ }, z.core.$strip>;
27341
+ type CreateAgentInstructionRequest = z.infer<typeof CreateAgentInstructionRequest>;
27342
+ declare const UpdateAgentInstructionRequest: z.ZodObject<{
27343
+ name: z.ZodOptional<z.ZodString>;
27344
+ key: z.ZodOptional<z.ZodOptional<z.ZodString>>;
27345
+ text: z.ZodOptional<z.ZodString>;
27346
+ }, z.core.$strip>;
27347
+ type UpdateAgentInstructionRequest = z.infer<typeof UpdateAgentInstructionRequest>;
27348
+ declare const FindAgentInstructionQuery: z.ZodObject<{
27349
+ limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
27350
+ cursor: z.ZodOptional<z.ZodString>;
27351
+ search: z.ZodOptional<z.ZodString>;
27352
+ includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
27353
+ }, z.core.$strip>;
27354
+ type FindAgentInstructionQuery = z.infer<typeof FindAgentInstructionQuery>;
27355
+
27356
+ declare const AgentSkill: z.ZodObject<{
27357
+ id: z.ZodString;
27358
+ workspaceId: z.ZodString;
27359
+ name: z.ZodString;
27360
+ key: z.ZodString;
27361
+ description: z.ZodString;
27362
+ body: z.ZodString;
27363
+ sourceUrl: z.ZodOptional<z.ZodURL>;
27364
+ revision: z.ZodOptional<z.ZodString>;
27365
+ archivedAt: z.ZodOptional<z.ZodISODateTime>;
27366
+ createdAt: z.ZodOptional<z.ZodISODateTime>;
27367
+ updatedAt: z.ZodOptional<z.ZodISODateTime>;
27368
+ }, z.core.$strip>;
27369
+ type AgentSkill = z.infer<typeof AgentSkill>;
27370
+ declare const CreateAgentSkillRequest: z.ZodObject<{
27371
+ name: z.ZodString;
27372
+ key: z.ZodOptional<z.ZodString>;
27373
+ description: z.ZodString;
27374
+ body: z.ZodString;
27375
+ sourceUrl: z.ZodOptional<z.ZodURL>;
27376
+ }, z.core.$strip>;
27377
+ type CreateAgentSkillRequest = z.infer<typeof CreateAgentSkillRequest>;
27378
+ declare const UpdateAgentSkillRequest: z.ZodObject<{
27379
+ name: z.ZodOptional<z.ZodString>;
27380
+ key: z.ZodOptional<z.ZodOptional<z.ZodString>>;
27381
+ description: z.ZodOptional<z.ZodString>;
27382
+ body: z.ZodOptional<z.ZodString>;
27383
+ sourceUrl: z.ZodOptional<z.ZodOptional<z.ZodURL>>;
27384
+ }, z.core.$strip>;
27385
+ type UpdateAgentSkillRequest = z.infer<typeof UpdateAgentSkillRequest>;
27386
+ declare const PreviewAgentSkillSourceRequest: z.ZodObject<{
27387
+ sourceUrl: z.ZodURL;
27388
+ }, z.core.$strip>;
27389
+ type PreviewAgentSkillSourceRequest = z.infer<typeof PreviewAgentSkillSourceRequest>;
27390
+ declare const PreviewAgentSkillSourceResponse: z.ZodObject<{
27391
+ name: z.ZodString;
27392
+ key: z.ZodOptional<z.ZodString>;
27393
+ description: z.ZodString;
27394
+ body: z.ZodString;
27395
+ sourceUrl: z.ZodURL;
27396
+ }, z.core.$strip>;
27397
+ type PreviewAgentSkillSourceResponse = z.infer<typeof PreviewAgentSkillSourceResponse>;
27398
+ declare const FindAgentSkillQuery: z.ZodObject<{
27399
+ limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
27400
+ cursor: z.ZodOptional<z.ZodString>;
27401
+ search: z.ZodOptional<z.ZodString>;
27402
+ includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
27403
+ }, z.core.$strip>;
27404
+ type FindAgentSkillQuery = z.infer<typeof FindAgentSkillQuery>;
27405
+
27406
+ declare const AgentTool: z.ZodObject<{
27407
+ id: z.ZodString;
27408
+ name: z.ZodString;
27409
+ description: z.ZodString;
27410
+ enabledByDefault: z.ZodDefault<z.ZodBoolean>;
27411
+ }, z.core.$strip>;
27412
+ type AgentTool = z.infer<typeof AgentTool>;
27413
+
26090
27414
  declare function formatSessionCost(cost?: number | null): string;
26091
27415
 
26092
27416
  declare const SessionCredentials: z.ZodObject<{
@@ -26096,6 +27420,7 @@ declare const SessionCredentials: z.ZodObject<{
26096
27420
  }, z.core.$strip>;
26097
27421
  declare const SessionParameters: z.ZodObject<{
26098
27422
  id: z.ZodOptional<z.ZodString>;
27423
+ leaseId: z.ZodOptional<z.ZodString>;
26099
27424
  accessToken: z.ZodOptional<z.ZodString>;
26100
27425
  credentials: z.ZodOptional<z.ZodObject<{
26101
27426
  accessKeyId: z.ZodString;
@@ -26112,6 +27437,7 @@ declare const SessionParameters: z.ZodObject<{
26112
27437
  openRouterApiKey: z.ZodOptional<z.ZodString>;
26113
27438
  modelId: z.ZodOptional<z.ZodString>;
26114
27439
  agentName: z.ZodOptional<z.ZodEnum<typeof AgentName>>;
27440
+ agentHarnessSnapshotId: z.ZodOptional<z.ZodString>;
26115
27441
  engine: z.ZodOptional<z.ZodEnum<{
26116
27442
  opencode: "opencode";
26117
27443
  inline: "inline";
@@ -26140,6 +27466,9 @@ interface SessionStatus {
26140
27466
  agentVersion: string;
26141
27467
  }
26142
27468
 
27469
+ declare const AGENT_WORKSPACE_ELEMENT_CONTEXT_TYPES: readonly [WorkspaceElementType.Integration, WorkspaceElementType.Connection, WorkspaceElementType.Action, WorkspaceElementType.Flow, WorkspaceElementType.DataSource, WorkspaceElementType.FieldMapping, WorkspaceElementType.DataLinkTable, WorkspaceElementType.AppDataSchema, WorkspaceElementType.AppEventType, WorkspaceElementType.ExternalEventType];
27470
+ declare function canFetchAgentWorkspaceElementContext(elementType: WorkspaceElementType | string | undefined): elementType is WorkspaceElementType;
27471
+
26143
27472
  declare const zodDateCoercion: () => z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>>;
26144
27473
  declare const zodBooleanCoercion: () => z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>;
26145
27474
 
@@ -26495,6 +27824,82 @@ declare const PlatformUserTokenListResponse: z.ZodObject<{
26495
27824
  }, z.core.$strip>;
26496
27825
  type PlatformUserTokenListResponse = z.infer<typeof PlatformUserTokenListResponse>;
26497
27826
 
27827
+ declare const MCP_PROTOCOL_VERSION = "2025-11-25";
27828
+ declare const McpConnectionInput: z.ZodObject<{
27829
+ mcpServerUrl: z.ZodOptional<z.ZodString>;
27830
+ }, z.core.$strip>;
27831
+ type McpConnectionInput = z.infer<typeof McpConnectionInput>;
27832
+ declare const ProtectedResourceMetadata: z.ZodObject<{
27833
+ resource: z.ZodString;
27834
+ authorization_servers: z.ZodArray<z.ZodString>;
27835
+ bearer_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
27836
+ scopes_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
27837
+ }, z.core.$strip>;
27838
+ type ProtectedResourceMetadata = z.infer<typeof ProtectedResourceMetadata>;
27839
+ declare const AuthorizationServerMetadata: z.ZodObject<{
27840
+ issuer: z.ZodString;
27841
+ authorization_endpoint: z.ZodString;
27842
+ token_endpoint: z.ZodString;
27843
+ registration_endpoint: z.ZodOptional<z.ZodString>;
27844
+ scopes_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
27845
+ response_types_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
27846
+ grant_types_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
27847
+ code_challenge_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
27848
+ token_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
27849
+ client_id_metadata_document_supported: z.ZodOptional<z.ZodBoolean>;
27850
+ }, z.core.$loose>;
27851
+ type AuthorizationServerMetadata = z.infer<typeof AuthorizationServerMetadata>;
27852
+ declare const DynamicClientRegistrationResponse: z.ZodObject<{
27853
+ client_id: z.ZodString;
27854
+ client_secret: z.ZodOptional<z.ZodString>;
27855
+ client_id_issued_at: z.ZodOptional<z.ZodNumber>;
27856
+ client_secret_expires_at: z.ZodOptional<z.ZodNumber>;
27857
+ registration_access_token: z.ZodOptional<z.ZodString>;
27858
+ registration_client_uri: z.ZodOptional<z.ZodString>;
27859
+ }, z.core.$loose>;
27860
+ type DynamicClientRegistrationResponse = z.infer<typeof DynamicClientRegistrationResponse>;
27861
+ declare const McpTokenResponse: z.ZodObject<{
27862
+ access_token: z.ZodString;
27863
+ token_type: z.ZodString;
27864
+ expires_in: z.ZodOptional<z.ZodNumber>;
27865
+ refresh_token: z.ZodOptional<z.ZodString>;
27866
+ scope: z.ZodOptional<z.ZodString>;
27867
+ }, z.core.$loose>;
27868
+ type McpTokenResponse = z.infer<typeof McpTokenResponse>;
27869
+ declare const McpTool: z.ZodObject<{
27870
+ name: z.ZodString;
27871
+ description: z.ZodOptional<z.ZodString>;
27872
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
27873
+ }, z.core.$loose>;
27874
+ type McpTool = z.infer<typeof McpTool>;
27875
+ declare const McpSynthesizedAction: z.ZodObject<{
27876
+ mcp: z.ZodLiteral<true>;
27877
+ id: z.ZodString;
27878
+ connectionId: z.ZodString;
27879
+ key: z.ZodString;
27880
+ name: z.ZodString;
27881
+ description: z.ZodOptional<z.ZodString>;
27882
+ inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
27883
+ isReadOnly: z.ZodLiteral<true>;
27884
+ }, z.core.$strip>;
27885
+ type McpSynthesizedAction = z.infer<typeof McpSynthesizedAction>;
27886
+ declare const McpAuthState: z.ZodObject<{
27887
+ asIssuer: z.ZodString;
27888
+ tokenEndpoint: z.ZodString;
27889
+ clientId: z.ZodString;
27890
+ clientSecret: z.ZodOptional<z.ZodString>;
27891
+ canonicalResource: z.ZodString;
27892
+ scope: z.ZodOptional<z.ZodString>;
27893
+ }, z.core.$strip>;
27894
+ type McpAuthState = z.infer<typeof McpAuthState>;
27895
+ declare const McpCredentials: z.ZodObject<{
27896
+ accessToken: z.ZodString;
27897
+ refreshToken: z.ZodOptional<z.ZodString>;
27898
+ expiresAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
27899
+ tokenType: z.ZodDefault<z.ZodString>;
27900
+ }, z.core.$strip>;
27901
+ type McpCredentials = z.infer<typeof McpCredentials>;
27902
+
26498
27903
  declare const WORKSPACE_TOKEN_GRANT_TYPES: readonly ["mcp-oauth", "agent-session", "api"];
26499
27904
  declare const WorkspaceTokenGrantType: z.ZodEnum<{
26500
27905
  api: "api";
@@ -26875,5 +28280,5 @@ declare class MembraneClient extends MembraneApiClient {
26875
28280
  connectionRequest(connectionId: string, uri: string, data?: any): Promise<any>;
26876
28281
  }
26877
28282
 
26878
- export { ACTIONS, AGENTIC_CONNECTION_REQUEST_SCREEN_PATH, AIGatewaySupportedModelIdSchema, AI_GATEWAY_PROVIDER_MODELS, AI_GATEWAY_SUPPORTED_MODELS, AI_GATEWAY_SUPPORTED_MODEL_IDS, ALERT_DELIVERY_METHODS, ALERT_TYPE_CATEGORIES, AccessDeniedError, AccountResponse, ActApiDispatch, ActRequest, ActionAccessor, ActionApiPayload, ActionApiResponse, ActionDependency, ActionDependencyType, ActionEditableProperties, ActionExportProperties, ActionInstanceAccessor, ActionInstanceApiResponse, ActionInstanceSetupError, ActionInstancesAccessor, ActionRunError, ActionRunLogRecordApiResponse, ActionRunLogStatus, ActionRunResponse, ActionRunsStatsQuery, ActionSnapshot, ActionType, ActionsAccessor, ActivityLogRecord, ActivityStatsQuery, AgentName, AgentSession, AgentSessionAttachment, AgentSessionInputSchema, AgentSessionState, AgentSessionStatus, AiAgentAudience, AiAgentParameters, AiAgentType, Alert, AlertCategory, AlertDeliverySettingsSchema, AlertSchema, AlertSeverity, AlertStatus, AlertType, AlertTypeDeliverySettingsSchema, And, ApiRequestSpec, AppDataSchemaAccessor, AppDataSchemaApiResponse, AppDataSchemaEditableProperties, AppDataSchemaExportProperties, AppDataSchemaInstanceAccessor, AppDataSchemaInstanceApiResponse, AppDataSchemaInstancesAccessor, AppDataSchemasAccessor, AppEventLogRecordApiResponse, AppEventSubscriptionAccessor, AppEventSubscriptionApiResponse, AppEventSubscriptionsAccessor, AppEventTypeAccessor, AppEventTypeApiResponse, AppEventTypeEditableProperties, AppEventTypeExportProperties, AppEventTypesAccessor, AppSchema, AppliedToIntegrations, AsyncRequest, AsyncRequestStatus, AsyncRequestStatusSchema, AsyncRequestTriggerResponse, AuthContextPermissionsSchema, AuthContextSettings, BackwardCompatibleDataSourceEditableProperties, BadRequestError, BadRequestErrorKey, BaseAction, BaseActionInstance, BaseActionRunLogRecord, BaseAppDataSchema, BaseAppDataSchemaInstance, BaseAppEventSubscription, BaseAppEventType, BaseConnectedProduct, BaseConnection, BaseConnectionAttemptLog, BaseConnector, BaseCustomer, BaseDataLinkTable, BaseDataLinkTableInstance, BaseDataSource, BaseDataSourceInstance, BaseExportProperties, BaseExternalEvent, BaseExternalEventLogRecord, BaseExternalEventPull, BaseExternalEventSubscription, BaseExternalEventType, BaseFieldMapping, BaseFieldMappingInstance, BaseFlow, BaseFlowInstance, BaseFlowRun, BaseFunctionDefinition, BaseIntegration, BaseIntegrationLevelMembraneInterface, BaseIntegrationLevelMembraneInterfaceEditableProperties, BaseIntegrationLevelMembraneInterfaceExportProperties, BaseIntegrationLevelMembraneInterfaceReadOnlyProperties, BaseMembraneInterface, BaseMembraneInterfaceEditableProperties, BaseMembraneInterfaceReadOnlyProperties, BaseOrgUser, BasePackage, BaseScreen, BaseWorkspaceElement, CONNECTION_REQUEST_ID_PARAM, CONNECTION_REQUEST_SCREEN_PATH, CONNECTOR_AUTH_TYPES, CONNECTOR_CATEGORIES, CONNECTOR_DATA_DIR, CONNECTOR_DOCS_DIR, CONNECTOR_EVENTS_DIR, CONNECTOR_GLOBAL_WEBHOOKS_DIR, CONNECTOR_METHOD_IMPLEMENTATION_SUFFIXES, CONNECTOR_OPERATIONS_DIR, CONNECTOR_VERSION_DEVELOPMENT, CONNECTOR_VERSION_LATEST, CONSOLE_ACCOUNT_API_TOKEN_PATH, CheckpointApiResponse, CheckpointDiffOperationSchema, CheckpointDiffResponseSchema, CommonFindElementsQuery, CommonFindInstancesQuery, CommonInstancesListQuery, CommonIntegrationOrConnectionQuery, CommonListElementsQuery, ConcurrencyError, ConcurrencyErrorKey, ConfigurationError, ConfigurationState, ConnectPayload, ConnectUIOptions, ConnectedProductApiResponse, ConnectedProductAudience, ConnectedProductType, ConnectionAccessor, ConnectionApiResponse, ConnectionApiResponseWithSecrets, ConnectionAttemptLogApiResponse, ConnectionClientAction, ConnectionDataCollectionAccessor, ConnectionEditableProperties, ConnectionEntityMessagePayload, ConnectionError, ConnectionErrorKey, ConnectionExportProperties, ConnectionLevelActionAccessor, ConnectionLevelActionsAccessor, ConnectionLevelDataSourceAccessor, ConnectionLevelDataSourcesAccessor, ConnectionLevelFieldMappingAccessor, ConnectionLevelFieldMappingsAccessor, ConnectionLevelFlowAccessor, ConnectionLevelFlowsAccessor, ConnectionMessagePayload, ConnectionOperationAccessor, ConnectionOperationRunInput, ConnectionOperationRunResponse, ConnectionProxy, ConnectionProxyRequest, ConnectionRequest, ConnectionSelector, ConnectionSpec, ConnectionTestResponse, ConnectionsAccessor, Connector, ConnectorAuth, ConnectorAuthClientCredentials, ConnectorAuthHandlerBase, ConnectorAuthIntegrationAppToken, ConnectorAuthMembraneToken, ConnectorAuthMethodTypes, ConnectorAuthOAuth1, ConnectorAuthOAuth2, ConnectorAuthProxy, ConnectorAuthSpec, ConnectorAuthSuccessRecord, ConnectorAuthWithFunctions, ConnectorDataCollectionEventImplementationType, ConnectorDataCollectionMethodKeys, ConnectorDataLocationTypes, ConnectorEventHandlerMethods, ConnectorEventImplementationType$1 as ConnectorEventImplementationType, ConnectorExportProperties, ConnectorFileUpdateType, ConnectorFunctionSpecs, ConnectorMethodImplementation, ConnectorMethodImplementationBase, ConnectorMethodImplementationGraphqlApiMapping, ConnectorMethodImplementationJavascript, ConnectorMethodImplementationMapping, ConnectorMethodImplementationNotSupported, ConnectorMethodImplementationOperationMapping, ConnectorMethodImplementationRestApiMapping, ConnectorMethodImplementationType, ConnectorOperationMethodImplementationTypes, ConnectorOption, ConnectorOptions, ConnectorSpec, ConnectorStatus, ConnectorStatusValues, ConnectorUdmCollectionMapping, ConnectorUdmListItem, ConnectorUdmSpec, ConnectorUiSpec, ConnectorVersion, ConnectorVersionData, CreateActionInstanceRequest, CreateActionRequest, CreateAgentSession, CreateAlert, CreateConnectedProductRequest, CreateConnectionRequest, CreateConnectionRequestPayload, CreateConnectorRequest, CreateCustomerRequest, CreateDataLinkTableRequest, CreateDataSourceInstanceRequest, CreateDataSourceRequest, CreateExternalAppRequest, CreateExternalEventSubscriptionRequest, CreateExternalEventTypeRequest, CreateFieldMappingInstanceRequest, CreateFieldMappingRequest, CreateFlowNodeRequest, CreateFlowRequest, CreateFlowRunRequest, CreateIntegrationRequest, CreateMembraneInstanceRequest, CreateOrgInvitationRequest, CreateOrgRequest, CreateOrgUserRequest, CreateOrgWorkspaceRequest, CreatePackageRequest, CreateScreenRequest, CreateSelfHostingTokenRequest, CreateSelfHostingTokenResponse, CreateWorkspaceRequest, CreateWorkspaceTokenRequest, CreateWorkspaceTokenResponse, CustomCodeError, CustomerAccessor, CustomerApiResponse, CustomerLimits, CustomerSelector, CustomersAccessor, DATA_RECORD_SCHEMA, DEFAULT_AI_GATEWAY_MODEL_ID, DEFAULT_ALERT_DELIVERY_SETTINGS, DEFAULT_ALERT_TYPE_DELIVERY_SETTINGS, DEFAULT_FULL_SYNC_INTERVAL_SECONDS, DEFAULT_PULL_UPDATES_INTERVAL_SECONDS, DataBuilderFormulaBase, DataBuilderFormulaCase, DataBuilderFormulaConcat, DataBuilderFormulaCopy, DataBuilderFormulaExtractDate, DataBuilderFormulaExtractTime, DataBuilderFormulaFindAppRecordId, DataBuilderFormulaFindExternalRecordId, DataBuilderFormulaFirstName, DataBuilderFormulaIterate, DataBuilderFormulaLastName, DataBuilderFormulaLookup, DataBuilderFormulaMap, DataBuilderFormulaPlain, DataBuilderFormulaRecord, DataBuilderFormulaTpl, DataBuilderFormulaType, DataBuilderFormulaVar, DataCollectionCreateRequest, DataCollectionCreateResponse, DataCollectionCreateSpec, DataCollectionDeleteRequest, DataCollectionDeleteResponse, DataCollectionDeleteSpec, DataCollectionEventType, DataCollectionEventTypeSpec, DataCollectionEventsSpec, DataCollectionFindByIdRequest, DataCollectionFindByIdResponse, DataCollectionFindByIdSpec, DataCollectionFindRequest, DataCollectionFindResponse, DataCollectionFindSpec, DataCollectionListRequest, DataCollectionListResponse, DataCollectionListResponseDrilldown, DataCollectionListSpec, DataCollectionMatchRequest, DataCollectionMatchResponse, DataCollectionMatchSpec, DataCollectionMethodRequest, DataCollectionMethodSpec, DataCollectionSearchRequest, DataCollectionSearchResponse, DataCollectionSearchSpec, DataCollectionSpec, DataCollectionUdmSpec, DataCollectionUdmsSpec, DataCollectionUpdateRequest, DataCollectionUpdateResponse, DataCollectionUpdateSpec, DataFilterCondition, DataForm, DataLink, DataLinkDirection, DataLinkTableAccessor, DataLinkTableApiResponse, DataLinkTableConfig, DataLinkTableEditableProperties, DataLinkTableExportProperties, DataLinkTableInstanceAccessor, DataLinkTableInstanceApiResponse, DataLinkTableInstancesAccessor, DataLinkTableLayer, DataLinkTablesAccessor, DataLocationMethodImplementationTypes, DataLocationPointer, DataLocationTypeCollection, DataLocatorStep, DataLocatorStepArrayItem, DataLocatorStepObjectProperty, DataLocatorStepType, DataRecordSchema, DataSchema, DataSchemaRef, DataSourceAccessor, DataSourceApiResponse, DataSourceEditableProperties, DataSourceExportProperties, DataSourceInstanceAccessor, DataSourceInstanceApiResponse, DataSourceInstancesAccessor, DataSourceUnitConfig, DataSourcesAccessor, DbBackedCountsSchema, DependencyError, DomainFromEmail, DownstreamFlowNodeRunSchema, EDITABLE_LIMITS, EXTERNAL_EVENT_TYPE_FUNCTION_KEYS, ElementAccessor, ElementInstanceAccessor, ElementInstanceListAccessor, ElementListAccessor, ElementsExportFields, EngineCreditsProjectionResponse, EngineWorkspaceSettingsSchema, EnsureConnectionRequest, ErrorData, ErrorDataSchema, ErrorType, Eval, ExternalApiLogApiResponse, ExternalEvent, ExternalEventLogRecordApiResponse, ExternalEventLogStatus, ExternalEventPullApiResponse, ExternalEventPullStatus, ExternalEventSubscriptionAccessor, ExternalEventSubscriptionApiResponse, ExternalEventSubscriptionConfig, ExternalEventSubscriptionStatus, ExternalEventSubscriptionType, ExternalEventSubscriptionsAccessor, ExternalEventType, ExternalEventTypeApiResponse, ExternalEventTypeEditableProperties, ExternalEventTypeExportProperties, ExternalEventTypeImplementationType, ExternalEventUnitConfig, FLOW_NODE_SPECS, FieldMappingAccessor, FieldMappingApiResponse, FieldMappingDirection, FieldMappingEditableProperties, FieldMappingExportProperties, FieldMappingInstanceAccessor, FieldMappingInstanceApiResponse, FieldMappingInstancesAccessor, FieldMappingUnitConfig, FieldMappingsAccessor, FindActionInstancesQuery, FindActionRunLogsQuery, FindActionRunLogsResponse, FindActionsQuery, FindAlertsQuery, FindAppDataSchemaInstancesQuery, FindAppDataSchemasQuery, FindAppEventSubscriptionsQuery, FindAppEventTypesQuery, FindAppEventsQuery, FindConnectedProductsQuery, FindConnectionAttemptLogsQuery, FindConnectionAttemptLogsResponse, FindConnectionsQuery, FindConnectionsResponse, FindCustomersQuery, FindDataLinkTableInstanceLinksQuery, FindDataLinkTableInstancesQuery, FindDataLinkTablesQuery, FindDataLinksInTableQuery, FindDataLinksQuery, FindDataLinksResponse, FindDataSourceEventsQuery, FindDataSourceInstanceSyncsQuery, FindDataSourceInstancesQuery, FindDataSourceSyncsQuery, FindDataSourcesQuery, FindExternalEventPullsQuery, FindExternalEventTypesQuery, FindFieldMappingInstancesQuery, FindFieldMappingsQuery, FindFlowInstancesQuery, FindFlowRunsQuery, FindFlowRunsResponse, FindFlowsQuery, FindIntegrationLevelMembraneInterfaceQuery, FindIntegrationsQuery, FindOrgWorkspacesQuery, FindOrgsQuery, FindPackagesQuery, FindScreensQuery, FirstNotEmpty, FlowAccessor, FlowApiResponse, FlowEditableProperties, FlowExportProperties, FlowInstanceAccessor, FlowInstanceApiResponse, FlowInstanceSetupError, FlowInstancesAccessor, FlowNode, FlowNodeLink, FlowNodeRunOutputMetadataSchema, FlowNodeRunOutputSchema, FlowNodeRunOutputWithoutDownstreamRunsSchema, FlowNodeRunParametersSchema, FlowNodeRunRecordSchema, FlowNodeRunRecordWithoutOutputsDataSchema, FlowNodeRunResultSchema, FlowNodeRunStatus, FlowNodeSpec, FlowNodeState, FlowNodeType, FlowRunAccessor, FlowRunApiResponse, FlowRunError, FlowRunLaunchedBy, FlowRunLaunchedByApi, FlowRunLaunchedByTrigger, FlowRunNode, FlowRunNodeState, FlowRunState, FlowRunsAccessor, FlowRunsStatsQuery, FlowsAccessor, Formula, FormulaFormula, FullOrgUser, FullPlatformUser, FunctionDefinition, FunctionType, GenerateOptionsRequest, GenerateWorkspaceAccessTokenRequest, GenerateWorkspaceAccessTokenResponse, GeneratedConnectorOption, GenericFunctionDefinition, GetWorkspaceQuery, GraphQLApiMappingSchema, GraphQLFieldMappingSchema, GraphqlApiMappingFunction, HTTP_REQUEST_SCHEMA, HUB_INSTANCE_ID, HandyScenarioTemplateElement, HttpRequestMethod, HttpRequestSpec, IncludeArchivedQuery, IncomingWebhookApiResponse, IncomingWebhooksState, InsufficientCreditsError, IntegrationAccessor, IntegrationApiResponse, MembraneClient as IntegrationAppClient, IntegrationAppError, IntegrationAuthOption, IntegrationAuthUi, IntegrationEditableProperties, IntegrationElementLevel, IntegrationElementType, IntegrationExportProperties, IntegrationLayerStatsQuery, IntegrationLevelActionAccessor, IntegrationLevelActionsListAccessor, IntegrationLevelDataSourceAccessor, IntegrationLevelDataSourcesListAccessor, IntegrationLevelFieldMappingAccessor, IntegrationLevelFieldMappingsListAccessor, IntegrationLevelFlowAccessor, IntegrationLevelFlowsListAccessor, IntegrationLevelMembraneInterfaceSelectorQuery, IntegrationListItem, IntegrationOptionConfig, IntegrationOptions, IntegrationSpecificElementSelector, IntegrationsAccessor, IntentProperties, InternalError, InvalidLocatorError, JavascriptFunction, JsonataFormula, LimitUnits, ListActionInstancesForConnectionQuery, ListAppEventLogRecordsQuery, ListAsyncRequestsQuery, ListAsyncRequestsResponse, ListConnectorsQuery, ListDataSourceInstancesForConnectionQuery, ListExternalApiLogsQuery, ListExternalAppsQuery, ListExternalEventLogRecordsQuery, ListExternalEventPullsQuery, ListExternalEventSubscriptionsQuery, ListFlowInstancesForConnectionQuery, ListIncomingWebhooksQuery, ListMembraneInstancesQuery, ListMembraneInstancesResponse, ListOrgWorkspacesQuery, ListOrgWorkspacesResponse, ListPublicConnectorsQuery, ListPublicPackagesQuery, ListableAsyncRequestType, LogRecordType, MEMBRANE_CLI_CLIENT_ID, MEMBRANE_ELEMENT_CONFIG_FILE_NAME, MEMBRANE_SESSION_ID_HEADER, MIN_FULL_SYNC_INTERVAL_SECONDS, MIN_PULL_UPDATES_INTERVAL_SECONDS, MappingFunction, MappingSchema, MembraneAgentKey, axios as MembraneAxiosInstance, MembraneClient, MembraneCredentials, MembraneElementLayer, MembraneError, MembraneInstance, MembraneInstanceAdmin, MergeObjects, MinimalConnector, NotAuthenticatedError, NotFoundError, OAUTH1_CONFIG_SCHEMA, OAUTH_CONFIG_SCHEMA, OAUTH_TOKEN_TYPES, OAUTH_TOKEN_TYPE_CONNECTION, OAUTH_TOKEN_TYPE_PLATFORM_USER, OAUTH_TOKEN_TYPE_TENANT, OAuthTokenResponse, OpenRouterNotConfiguredError, OpenapiMappingSchema, OperationMappingFunction, OperationMappingSchema, Or, Org, OrgInstance, OrgInstanceType, OrgInstanceWorkspace, OrgInvitation, OrgLimits, OrgLimitsType, OrgPlan, OrgUserRole, OrgUserStatus, OrgWorkspace, OrgWorkspaceUpdateRequest, OrgWorkspaceUser, PACKAGE_VERSION_DEVELOPMENT, PACKAGE_VERSION_LATEST, PARALLEL_EXECUTION_LIMITS, PLATFORM_USER_TOKEN_GRANT_TYPES, PackageAccessor, PackageApiResponse, PackageCalculatedProperties, PackageEditableProperties, PackageElement, PackageElementApi, PackageElementExport, PackageExportProperties, PackageVersionData, PackageVersionListItem, PackagesAccessor, PaginationQuery, PaginationResponse, ParallelExecutionLimits, PatchAgentSessionSchema, PatchConnectionRequestPayload, PatchExternalEventSubscriptionRequest, PatchTokenSettingsRequest, PatchUserWorkspaceSettings, PendingQueueCountSchema, PendingTasksSummarySchema, PlatformUser, PlatformUserToken, PlatformUserTokenGrantType, PlatformUserTokenListResponse, RATE_LIMITS, REFERENCE_ELEMENT_TYPE_SELF, RateLimitExceededError, RateLimits, RemoteConnectorCodeUnavailableError, RequestMappingSchema, ResetFlowInstanceOptions, RestApiMappingFunction, RestApiMappingSchema, RotateOrgWorkspaceSecretResponse, RunActionRequest, RunFieldMappingRequest, RunFieldMappingResponse, RunFlowApiRequest, SYSTEM_FIELDS, ScenarioAccessor, ScenarioTemplate, ScenarioTemplateCategory, ScenarioTemplateElements, ScenariosAccessor, ScreenAccessor, ScreenApiResponse, ScreenBlock, ScreenBlockType, ScreenSelector, ScreenType, ScreensAccessor, SearchQuery, SelfAccessor, SelfHostingToken, SessionCredentials, SessionParameters, StatsFilterQuery, TenantLayerElement, TenantSelfResponse, UDM, UNIFIED_DATA_MODELS, UnitRunError, UpdateActionInstanceRequest, UpdateActionRequest, UpdateConnectedProductRequest, UpdateConnectionRequest, UpdateConnectorRequest, UpdateCustomerRequest, UpdateDataLinkTableRequest, UpdateDataSourceInstanceRequest, UpdateDataSourceRequest, UpdateExternalAppRequest, UpdateExternalEventTypeRequest, UpdateFieldMappingInstanceRequest, UpdateFieldMappingRequest, UpdateFlowRequest, UpdateIntegrationRequest, UpdateMembraneInstanceRequest, UpdateOrgInvitationRequest, UpdateOrgRequest, UpdateOrgUserRequest, UpdatePackageRequest, UpdateScreenRequest, UpdateSelfHostingTokenRequest, UpdateWorkspaceLimitsRequest, UpdateWorkspaceRequest, UpstreamFlowNodeRunSchema, UsageType, UserAccessor, UsersAccessor, ValidateSelfHostingTokenRequest, ValidateSelfHostingTokenResponse, WORKSPACE_DATABASE_RECORD_COLLECTIONS, WORKSPACE_ELEMENTS_STATS_COLLECTIONS, WORKSPACE_ELEMENT_COLLECTIONS, WORKSPACE_SIZE_LIMITS, WORKSPACE_TOKEN_GRANT_TYPES, WebhookTypeEnum, Workspace, WorkspaceAiCreditLimits, WorkspaceEditableFields, WorkspaceElementChangeType, WorkspaceElementDependencyType, WorkspaceElementSearchQuery, WorkspaceElementSearchResult, WorkspaceElementSpecs, WorkspaceElementState, WorkspaceElementType, WorkspaceElementsStatsSchema, WorkspaceEventType, WorkspaceLimitsSchema, WorkspaceNotificationType, WorkspaceOnboardingData, WorkspacePublicKey, WorkspaceSettingsSchema, WorkspaceSizeLimits, WorkspaceSyncEventType, WorkspaceToken, WorkspaceTokenGrantType, WorkspaceTokenListResponse, WorkspaceType, WritableConnectorVersionData, WritablePackageVersionData, WriteableConnectorFields, WriteableConnectorOption, __resolveValue, addRequiredFieldsToSchema, addUdmFallbackFields, addUndefinedWriteableProperties, backwardCompatibleFilterMatch, buildActionSnapshot, buildData, buildDataSchema, buildValue, compareElementMaps, compareWorkspaceExports, compressDataSchema, configToNamedPayload, createCompoundSchema, createFlowInstanceSchema, createObjectFromLocators, createOrUpdateConnection, createPaginationResponseSchema, createSchema, dataCollectionEventTypeToExternalEventType, dataLocationParametersMatch, doesMatchFilter, emptyComparisonResult, excludeFieldsFromSchema, excludeFieldsFromValue, excludeReadOnlyFieldsFromSchema, excludeWriteOnlyFieldsFromSchema, externalEventTypeToDataCollectionEventType, extractFieldLocator, extractMembraneErrorData, findUdmCollectionMapping, findUdmDefaultCollection, findUdmRootLocation, findValueLocators, formatSessionCost, generateExampleFromSchema, getActionInstanceVariableSchema, getActionRunTimeVariablesSchema, getAlertCategoryDisplayName, getAlertDeliveryMethodLabel, getAlertTypeDisplayName, getAlertTypesByCategory, getAllEventMethodFilePaths, getBusinessDaysBetween, getChildNodeKeys, getConnectionRequestUrl, getConnectorSpecPath, getConnectorVersionPath, getDataCollectionCreateFields, getDataCollectionUpdateFields, getDataLocationMethodPath, getDownstreamNodeKeys, getEditablePathsForElementType, getEditablePathsFromSchema, getEffectiveConnectorOption, getElementSelector, getErrorFromData, getEventMethodFileKey, getFilterFieldMeta, getFilterFieldValuesByLocator, getFlowInstanceNodeDependency, getFlowNode, getFlowNodeConfigTimeVariablesSchema, getFlowNodeDescription, getFlowNodeRunTimeVariablesSchema, getFlowNodeSpec, getFlowNodeTitle, getFormula$1 as getFormula, getFormulaLocators, getFormula as getFormula_internalDoNotUse, getFullNameForLocator, getFullTitleForLocator, getIconUriForLocator, getLocatorsFromData, getLocatorsFromSchema, getMembraneElementPath, getMissingRequiredFields, getNameComponentsForLocator, getNameForLocator, getNodeInputSchema, getOperatorsBySchema, getParentNodeKeys, getReferenceCollectionPathForSchema, getReferenceCollectionPointerForSchema, getRequiredFieldsFromSchema, getRootNodeKeys, getSchemaByLocator, getSchemaDescription, getSchemaFromValue, getUpstreamNodeKeys, getValueAtLocator, getValueByLocator, getVariableLocators, getWritableFieldsSchema, hasCycles, hasFormulas$1 as hasFormulas, hasFormulas as hasFormulas_internalDoNotUse, injectFormulaCatalog, isAIGatewaySupportedModelId, isBlob, isBusinessDay, isDataActionType, isDataLocationMethodSupported, isDeliveryMethodEnabled, isFormula$1 as isFormula, isFormula as isFormula_internalDoNotUse, isHubInstanceId, isHubWorkspace, isMembraneError, isObject, isPathUserEditable, isSameDataLocation, isSchemaEmpty, isSelfHostedInstance, isStream, isValidAlertType, isValidLocator, jsonPointerToDotPath, lenientParseWithSchema, locatorToField, locatorToSteps, locatorToString, makeDataLocationOperationPath, makeDataLocationPath, makeDataRecordSchema, makeObjectPropertyLocator, makeSchemaForLocator, mergeComparisons, mergeSchemas, mergeWithFormulas, nonEmptyObjectProperties, parseDataLocationPath, parseDate, parseMembraneElementPath, patchSchema, pickFieldsFromSchema, pickFieldsFromValue, populateSchemaTitles, processCopy, removeNonExistentVars, removeRequiredFieldsFromSchema, resolveFormulas, schemaAllowsCustomValue, schemaHasFixedValues, schemaHasProperties, schemaIsNumber, schemaIsScalar, schemaTypeFromValue, schemaWithTitle, setEditablePropertiesForWorkspaceElement, setSchemaAtLocator, setValueAtLocator, stepsToLocator, streamToString, transformVariablesWith, transformVars, truncateData, unwrapSchema, unwrapSchemas, updateFlowInstanceSchema, updateImpliedSchema, validateFunctionDefinitions, valueToSchema, valueToString, walkSchema, wrapAnyOfSchema, zodBooleanCoercion, zodDateCoercion };
28283
+ export { ACTIONS, AGENTIC_CONNECTION_REQUEST_SCREEN_PATH, AGENT_WORKSPACE_ELEMENT_CONTEXT_TYPES, AIGatewaySupportedModelIdSchema, AI_GATEWAY_PROVIDER_MODELS, AI_GATEWAY_SUPPORTED_MODELS, AI_GATEWAY_SUPPORTED_MODEL_IDS, ALERT_DELIVERY_METHODS, ALERT_TYPE_CATEGORIES, AccessDeniedError, AccountResponse, ActApiDispatch, ActRequest, ActionAccessor, ActionApiPayload, ActionApiResponse, ActionDependency, ActionDependencyType, ActionEditableProperties, ActionExportProperties, ActionInstanceAccessor, ActionInstanceApiResponse, ActionInstanceSetupError, ActionInstancesAccessor, ActionRunError, ActionRunLogRecordApiResponse, ActionRunLogStatus, ActionRunResponse, ActionRunsStatsQuery, ActionSnapshot, ActionType, ActionsAccessor, ActivityLogRecord, ActivityStatsQuery, AgentHarness, AgentHarnessSnapshot, AgentInstruction, AgentName, AgentSession, AgentSessionAttachment, AgentSessionInputSchema, AgentSessionState, AgentSessionStatus, AgentSkill, AgentTool, AiAgentAudience, AiAgentParameters, AiAgentType, Alert, AlertCategory, AlertDeliverySettingsSchema, AlertSchema, AlertSeverity, AlertStatus, AlertType, AlertTypeDeliverySettingsSchema, And, ApiRequestSpec, AppDataSchemaAccessor, AppDataSchemaApiResponse, AppDataSchemaEditableProperties, AppDataSchemaExportProperties, AppDataSchemaInstanceAccessor, AppDataSchemaInstanceApiResponse, AppDataSchemaInstancesAccessor, AppDataSchemasAccessor, AppEventLogRecordApiResponse, AppEventSubscriptionAccessor, AppEventSubscriptionApiResponse, AppEventSubscriptionsAccessor, AppEventTypeAccessor, AppEventTypeApiResponse, AppEventTypeEditableProperties, AppEventTypeExportProperties, AppEventTypesAccessor, AppSchema, AppliedToIntegrations, AsyncRequest, AsyncRequestStatus, AsyncRequestStatusSchema, AsyncRequestTriggerResponse, AuthContextPermissionsSchema, AuthContextSettings, AuthorizationServerMetadata, BackwardCompatibleDataSourceEditableProperties, BadRequestError, BadRequestErrorKey, BaseAction, BaseActionInstance, BaseActionRunLogRecord, BaseAppDataSchema, BaseAppDataSchemaInstance, BaseAppEventSubscription, BaseAppEventType, BaseConnectedProduct, BaseConnection, BaseConnectionAttemptLog, BaseConnector, BaseCustomer, BaseDataLinkTable, BaseDataLinkTableInstance, BaseDataSource, BaseDataSourceInstance, BaseExportProperties, BaseExternalEvent, BaseExternalEventLogRecord, BaseExternalEventPull, BaseExternalEventSubscription, BaseExternalEventType, BaseFieldMapping, BaseFieldMappingInstance, BaseFlow, BaseFlowInstance, BaseFlowRun, BaseFunctionDefinition, BaseIntegration, BaseIntegrationLevelMembraneInterface, BaseIntegrationLevelMembraneInterfaceEditableProperties, BaseIntegrationLevelMembraneInterfaceExportProperties, BaseIntegrationLevelMembraneInterfaceReadOnlyProperties, BaseMembraneInterface, BaseMembraneInterfaceEditableProperties, BaseMembraneInterfaceReadOnlyProperties, BaseOrgUser, BasePackage, BaseScreen, BaseWorkspaceElement, CONNECTION_REQUEST_ID_PARAM, CONNECTION_REQUEST_SCREEN_PATH, CONNECTOR_AUTH_TYPES, CONNECTOR_CATEGORIES, CONNECTOR_DATA_DIR, CONNECTOR_DOCS_DIR, CONNECTOR_EVENTS_DIR, CONNECTOR_GLOBAL_WEBHOOKS_DIR, CONNECTOR_METHOD_IMPLEMENTATION_SUFFIXES, CONNECTOR_OPERATIONS_DIR, CONNECTOR_VERSION_DEVELOPMENT, CONNECTOR_VERSION_LATEST, CONSOLE_ACCOUNT_API_TOKEN_PATH, CheckpointApiResponse, CheckpointDiffOperationSchema, CheckpointDiffResponseSchema, CommonFindElementsQuery, CommonFindInstancesQuery, CommonInstancesListQuery, CommonIntegrationOrConnectionQuery, CommonListElementsQuery, ConcurrencyError, ConcurrencyErrorKey, ConfigurationError, ConfigurationState, ConnectPayload, ConnectUIOptions, ConnectedProductApiResponse, ConnectedProductAudience, ConnectedProductType, ConnectionAccessor, ConnectionApiResponse, ConnectionApiResponseWithSecrets, ConnectionAttemptLogApiResponse, ConnectionClientAction, ConnectionDataCollectionAccessor, ConnectionEditableProperties, ConnectionEntityMessagePayload, ConnectionError, ConnectionErrorKey, ConnectionExportProperties, ConnectionLevelActionAccessor, ConnectionLevelActionsAccessor, ConnectionLevelDataSourceAccessor, ConnectionLevelDataSourcesAccessor, ConnectionLevelFieldMappingAccessor, ConnectionLevelFieldMappingsAccessor, ConnectionLevelFlowAccessor, ConnectionLevelFlowsAccessor, ConnectionMessagePayload, ConnectionOperationAccessor, ConnectionOperationRunInput, ConnectionOperationRunResponse, ConnectionProxy, ConnectionProxyRequest, ConnectionRequest, ConnectionSelector, ConnectionSpec, ConnectionTestResponse, ConnectionType, ConnectionsAccessor, Connector, ConnectorAuth, ConnectorAuthClientCredentials, ConnectorAuthHandlerBase, ConnectorAuthIntegrationAppToken, ConnectorAuthMembraneToken, ConnectorAuthMethodTypes, ConnectorAuthOAuth1, ConnectorAuthOAuth2, ConnectorAuthProxy, ConnectorAuthSpec, ConnectorAuthSuccessRecord, ConnectorAuthWithFunctions, ConnectorDataCollectionEventImplementationType, ConnectorDataCollectionMethodKeys, ConnectorDataLocationTypes, ConnectorEventHandlerMethods, ConnectorEventImplementationType$1 as ConnectorEventImplementationType, ConnectorExportProperties, ConnectorFileUpdateType, ConnectorFunctionSpecs, ConnectorMethodImplementation, ConnectorMethodImplementationBase, ConnectorMethodImplementationGraphqlApiMapping, ConnectorMethodImplementationJavascript, ConnectorMethodImplementationMapping, ConnectorMethodImplementationNotSupported, ConnectorMethodImplementationOperationMapping, ConnectorMethodImplementationRestApiMapping, ConnectorMethodImplementationType, ConnectorOperationMethodImplementationTypes, ConnectorOption, ConnectorOptions, ConnectorSpec, ConnectorStatus, ConnectorStatusValues, ConnectorUdmCollectionMapping, ConnectorUdmListItem, ConnectorUdmSpec, ConnectorUiSpec, ConnectorVersion, ConnectorVersionData, ConnectorVersionExportProperties, CreateActionInstanceRequest, CreateActionRequest, CreateAgentHarnessRequest, CreateAgentInstructionRequest, CreateAgentSession, CreateAgentSkillRequest, CreateAlert, CreateConnectedProductRequest, CreateConnectionRequest, CreateConnectionRequestPayload, CreateConnectorRequest, CreateCustomerRequest, CreateDataLinkTableRequest, CreateDataSourceInstanceRequest, CreateDataSourceRequest, CreateExternalAppRequest, CreateExternalEventSubscriptionRequest, CreateExternalEventTypeRequest, CreateFieldMappingInstanceRequest, CreateFieldMappingRequest, CreateFlowNodeRequest, CreateFlowRequest, CreateFlowRunRequest, CreateIntegrationRequest, CreateMembraneInstanceRequest, CreateOrgInvitationRequest, CreateOrgRequest, CreateOrgUserRequest, CreateOrgWorkspaceRequest, CreatePackageRequest, CreateScreenRequest, CreateSelfHostingTokenRequest, CreateSelfHostingTokenResponse, CreateWorkspaceRequest, CreateWorkspaceTokenRequest, CreateWorkspaceTokenResponse, CustomCodeError, CustomerAccessor, CustomerApiResponse, CustomerLimits, CustomerSelector, CustomersAccessor, DATA_RECORD_SCHEMA, DEFAULT_AI_GATEWAY_MODEL_ID, DEFAULT_ALERT_DELIVERY_SETTINGS, DEFAULT_ALERT_TYPE_DELIVERY_SETTINGS, DEFAULT_FULL_SYNC_INTERVAL_SECONDS, DEFAULT_PULL_UPDATES_INTERVAL_SECONDS, DataBuilderFormulaBase, DataBuilderFormulaCase, DataBuilderFormulaConcat, DataBuilderFormulaCopy, DataBuilderFormulaExtractDate, DataBuilderFormulaExtractTime, DataBuilderFormulaFindAppRecordId, DataBuilderFormulaFindExternalRecordId, DataBuilderFormulaFirstName, DataBuilderFormulaIterate, DataBuilderFormulaLastName, DataBuilderFormulaLookup, DataBuilderFormulaMap, DataBuilderFormulaPlain, DataBuilderFormulaRecord, DataBuilderFormulaTpl, DataBuilderFormulaType, DataBuilderFormulaVar, DataCollectionCreateRequest, DataCollectionCreateResponse, DataCollectionCreateSpec, DataCollectionDeleteRequest, DataCollectionDeleteResponse, DataCollectionDeleteSpec, DataCollectionEventType, DataCollectionEventTypeSpec, DataCollectionEventsSpec, DataCollectionFindByIdRequest, DataCollectionFindByIdResponse, DataCollectionFindByIdSpec, DataCollectionFindRequest, DataCollectionFindResponse, DataCollectionFindSpec, DataCollectionListRequest, DataCollectionListResponse, DataCollectionListResponseDrilldown, DataCollectionListSpec, DataCollectionMatchRequest, DataCollectionMatchResponse, DataCollectionMatchSpec, DataCollectionMethodRequest, DataCollectionMethodSpec, DataCollectionSearchRequest, DataCollectionSearchResponse, DataCollectionSearchSpec, DataCollectionSpec, DataCollectionUdmSpec, DataCollectionUdmsSpec, DataCollectionUpdateRequest, DataCollectionUpdateResponse, DataCollectionUpdateSpec, DataFilterCondition, DataForm, DataLink, DataLinkDirection, DataLinkTableAccessor, DataLinkTableApiResponse, DataLinkTableConfig, DataLinkTableEditableProperties, DataLinkTableExportProperties, DataLinkTableInstanceAccessor, DataLinkTableInstanceApiResponse, DataLinkTableInstancesAccessor, DataLinkTableLayer, DataLinkTablesAccessor, DataLocationMethodImplementationTypes, DataLocationPointer, DataLocationTypeCollection, DataLocatorStep, DataLocatorStepArrayItem, DataLocatorStepObjectProperty, DataLocatorStepType, DataRecordSchema, DataSchema, DataSchemaRef, DataSourceAccessor, DataSourceApiResponse, DataSourceEditableProperties, DataSourceExportProperties, DataSourceInstanceAccessor, DataSourceInstanceApiResponse, DataSourceInstancesAccessor, DataSourceUnitConfig, DataSourcesAccessor, DbBackedCountsSchema, DependencyError, DomainFromEmail, DownstreamFlowNodeRunSchema, DynamicClientRegistrationResponse, EDITABLE_LIMITS, EXTERNAL_EVENT_TYPE_FUNCTION_KEYS, ElementAccessor, ElementInstanceAccessor, ElementInstanceListAccessor, ElementListAccessor, ElementsExportFields, EngineCreditsProjectionResponse, EngineWorkspaceSettingsSchema, EnsureConnectionRequest, ErrorData, ErrorDataSchema, ErrorType, Eval, ExternalApiLogApiResponse, ExternalEvent, ExternalEventLogFlowTriggerSkipReason, ExternalEventLogFlowTriggerSkipReasonCode, ExternalEventLogRecordApiResponse, ExternalEventLogStatus, ExternalEventPullApiResponse, ExternalEventPullStatus, ExternalEventPullTelemetry, ExternalEventSubscriptionAccessor, ExternalEventSubscriptionApiResponse, ExternalEventSubscriptionConfig, ExternalEventSubscriptionStatus, ExternalEventSubscriptionType, ExternalEventSubscriptionsAccessor, ExternalEventType, ExternalEventTypeApiResponse, ExternalEventTypeEditableProperties, ExternalEventTypeExportProperties, ExternalEventTypeImplementationType, ExternalEventUnitConfig, FLOW_NODE_SPECS, FieldMappingAccessor, FieldMappingApiResponse, FieldMappingDirection, FieldMappingEditableProperties, FieldMappingExportProperties, FieldMappingInstanceAccessor, FieldMappingInstanceApiResponse, FieldMappingInstancesAccessor, FieldMappingUnitConfig, FieldMappingsAccessor, FindActionInstancesQuery, FindActionRunLogsQuery, FindActionRunLogsResponse, FindActionsQuery, FindAgentHarnessQuery, FindAgentHarnessSnapshotQuery, FindAgentInstructionQuery, FindAgentSkillQuery, FindAlertsQuery, FindAppDataSchemaInstancesQuery, FindAppDataSchemasQuery, FindAppEventSubscriptionsQuery, FindAppEventTypesQuery, FindAppEventsQuery, FindConnectedProductsQuery, FindConnectionAttemptLogsQuery, FindConnectionAttemptLogsResponse, FindConnectionsQuery, FindConnectionsResponse, FindCustomersQuery, FindDataLinkTableInstanceLinksQuery, FindDataLinkTableInstancesQuery, FindDataLinkTablesQuery, FindDataLinksInTableQuery, FindDataLinksQuery, FindDataLinksResponse, FindDataSourceEventsQuery, FindDataSourceInstanceSyncsQuery, FindDataSourceInstancesQuery, FindDataSourceSyncsQuery, FindDataSourcesQuery, FindExternalEventPullsQuery, FindExternalEventTypesQuery, FindFieldMappingInstancesQuery, FindFieldMappingsQuery, FindFlowInstancesQuery, FindFlowRunsQuery, FindFlowRunsResponse, FindFlowsQuery, FindIntegrationLevelMembraneInterfaceQuery, FindIntegrationsQuery, FindOrgWorkspacesQuery, FindOrgsQuery, FindPackagesQuery, FindScreensQuery, FirstNotEmpty, FlowAccessor, FlowApiResponse, FlowEditableProperties, FlowExportProperties, FlowInstanceAccessor, FlowInstanceApiResponse, FlowInstanceSetupError, FlowInstancesAccessor, FlowNode, FlowNodeLink, FlowNodeRunOutputMetadataSchema, FlowNodeRunOutputSchema, FlowNodeRunOutputWithoutDownstreamRunsSchema, FlowNodeRunParametersSchema, FlowNodeRunRecordSchema, FlowNodeRunRecordWithoutOutputsDataSchema, FlowNodeRunResultSchema, FlowNodeRunStatus, FlowNodeSpec, FlowNodeState, FlowNodeType, FlowRunAccessor, FlowRunApiResponse, FlowRunError, FlowRunLaunchedBy, FlowRunLaunchedByApi, FlowRunLaunchedByTrigger, FlowRunNode, FlowRunNodeState, FlowRunState, FlowRunsAccessor, FlowRunsStatsQuery, FlowsAccessor, Formula, FormulaFormula, FullOrgUser, FullPlatformUser, FunctionDefinition, FunctionType, GenerateOptionsRequest, GenerateOrgAccessTokenRequest, GenerateOrgAccessTokenResponse, GenerateWorkspaceAccessTokenRequest, GenerateWorkspaceAccessTokenResponse, GeneratedConnectorOption, GenericFunctionDefinition, GetWorkspaceQuery, GraphQLApiMappingSchema, GraphQLFieldMappingSchema, GraphqlApiMappingFunction, HTTP_REQUEST_SCHEMA, HUB_INSTANCE_ID, HandyScenarioTemplateElement, HttpRequestMethod, HttpRequestSpec, IncludeArchivedQuery, IncomingWebhookApiResponse, IncomingWebhooksState, InsufficientCreditsError, IntegrationAccessor, IntegrationApiResponse, MembraneClient as IntegrationAppClient, IntegrationAppError, IntegrationAuthOption, IntegrationAuthUi, IntegrationEditableProperties, IntegrationElementLevel, IntegrationElementType, IntegrationExportProperties, IntegrationLayerStatsQuery, IntegrationLevelActionAccessor, IntegrationLevelActionsListAccessor, IntegrationLevelDataSourceAccessor, IntegrationLevelDataSourcesListAccessor, IntegrationLevelFieldMappingAccessor, IntegrationLevelFieldMappingsListAccessor, IntegrationLevelFlowAccessor, IntegrationLevelFlowsListAccessor, IntegrationLevelMembraneInterfaceSelectorQuery, IntegrationListItem, IntegrationOptionConfig, IntegrationOptions, IntegrationSpecificElementSelector, IntegrationsAccessor, IntentProperties, InternalError, InvalidLocatorError, JavascriptFunction, JsonataFormula, LimitUnits, ListActionInstancesForConnectionQuery, ListAppEventLogRecordsQuery, ListAsyncRequestsQuery, ListAsyncRequestsResponse, ListConnectorsQuery, ListDataSourceInstancesForConnectionQuery, ListExternalApiLogsQuery, ListExternalAppsQuery, ListExternalEventLogRecordsQuery, ListExternalEventPullsQuery, ListExternalEventSubscriptionsQuery, ListFlowInstancesForConnectionQuery, ListIncomingWebhooksQuery, ListMembraneInstancesQuery, ListMembraneInstancesResponse, ListOrgWorkspacesQuery, ListOrgWorkspacesResponse, ListPublicConnectorsQuery, ListPublicPackagesQuery, ListableAsyncRequestType, LogRecordType, MCP_PROTOCOL_VERSION, MEMBRANE_CLI_CLIENT_ID, MEMBRANE_ELEMENT_CONFIG_FILE_NAME, MEMBRANE_SESSION_ID_HEADER, MIN_FULL_SYNC_INTERVAL_SECONDS, MIN_PULL_UPDATES_INTERVAL_SECONDS, MappingFunction, MappingSchema, McpAuthState, McpConnectionInput, McpCredentials, McpSynthesizedAction, McpTokenResponse, McpTool, MembraneAgentKey, axios as MembraneAxiosInstance, MembraneClient, MembraneCredentials, MembraneElementLayer, MembraneError, MembraneInstance, MembraneInstanceAdmin, MergeObjects, MinimalConnector, NotAuthenticatedError, NotFoundError, OAUTH1_CONFIG_SCHEMA, OAUTH_CONFIG_SCHEMA, OAUTH_TOKEN_TYPES, OAUTH_TOKEN_TYPE_CONNECTION, OAUTH_TOKEN_TYPE_PLATFORM_USER, OAUTH_TOKEN_TYPE_TENANT, OAuthTokenResponse, OpenRouterNotConfiguredError, OpenapiMappingSchema, OperationMappingFunction, OperationMappingSchema, Or, Org, OrgInstance, OrgInstanceType, OrgInstanceWorkspace, OrgInvitation, OrgLimits, OrgLimitsType, OrgPlan, OrgUserRole, OrgUserStatus, OrgWorkspace, OrgWorkspaceUpdateRequest, OrgWorkspaceUser, PACKAGE_VERSION_DEVELOPMENT, PACKAGE_VERSION_LATEST, PARALLEL_EXECUTION_LIMITS, PLATFORM_USER_TOKEN_GRANT_TYPES, PackageAccessor, PackageApiResponse, PackageCalculatedProperties, PackageEditableProperties, PackageElement, PackageElementApi, PackageElementExport, PackageExportProperties, PackageVersionData, PackageVersionListItem, PackagesAccessor, PaginationQuery, PaginationResponse, ParallelExecutionLimits, PatchAgentSessionSchema, PatchConnectionRequestPayload, PatchExternalEventSubscriptionRequest, PatchTokenSettingsRequest, PatchUserWorkspaceSettings, PendingQueueCountSchema, PendingTasksSummarySchema, PlatformUser, PlatformUserToken, PlatformUserTokenGrantType, PlatformUserTokenListResponse, PreviewAgentSkillSourceRequest, PreviewAgentSkillSourceResponse, ProtectedResourceMetadata, RATE_LIMITS, REFERENCE_ELEMENT_TYPE_SELF, RateLimitExceededError, RateLimits, RemoteConnectorCodeUnavailableError, RequestMappingSchema, ResetFlowInstanceOptions, RestApiMappingFunction, RestApiMappingSchema, RotateOrgWorkspaceSecretResponse, RunActionRequest, RunFieldMappingRequest, RunFieldMappingResponse, RunFlowApiRequest, SYSTEM_FIELDS, ScenarioAccessor, ScenarioTemplate, ScenarioTemplateCategory, ScenarioTemplateElements, ScenariosAccessor, ScreenAccessor, ScreenApiResponse, ScreenBlock, ScreenBlockType, ScreenSelector, ScreenType, ScreensAccessor, SearchQuery, SelfAccessor, SelfHostingToken, SessionCredentials, SessionParameters, StatsFilterQuery, TenantLayerElement, TenantSelfResponse, UDM, UNIFIED_DATA_MODELS, UnitRunError, UpdateActionInstanceRequest, UpdateActionRequest, UpdateAgentHarnessRequest, UpdateAgentInstructionRequest, UpdateAgentSkillRequest, UpdateConnectedProductRequest, UpdateConnectionRequest, UpdateConnectorRequest, UpdateCustomerRequest, UpdateDataLinkTableRequest, UpdateDataSourceInstanceRequest, UpdateDataSourceRequest, UpdateExternalAppRequest, UpdateExternalEventTypeRequest, UpdateFieldMappingInstanceRequest, UpdateFieldMappingRequest, UpdateFlowRequest, UpdateIntegrationRequest, UpdateMembraneInstanceRequest, UpdateOrgInvitationRequest, UpdateOrgRequest, UpdateOrgUserRequest, UpdatePackageRequest, UpdateScreenRequest, UpdateSelfHostingTokenRequest, UpdateWorkspaceLimitsRequest, UpdateWorkspaceRequest, UpstreamFlowNodeRunSchema, UsageType, UserAccessor, UserWorkspaceAccess, UserWorkspaceRole, UsersAccessor, ValidateSelfHostingTokenRequest, ValidateSelfHostingTokenResponse, WORKSPACE_DATABASE_RECORD_COLLECTIONS, WORKSPACE_ELEMENTS_STATS_COLLECTIONS, WORKSPACE_ELEMENT_COLLECTIONS, WORKSPACE_SIZE_LIMITS, WORKSPACE_TOKEN_GRANT_TYPES, WebhookTypeEnum, Workspace, WorkspaceAiCreditLimits, WorkspaceEditableFields, WorkspaceElementChangeType, WorkspaceElementDependencyType, WorkspaceElementSearchQuery, WorkspaceElementSearchResult, WorkspaceElementSpecs, WorkspaceElementState, WorkspaceElementType, WorkspaceElementsStatsSchema, WorkspaceEventType, WorkspaceLimitsSchema, WorkspaceNotificationType, WorkspaceOnboardingData, WorkspacePublicKey, WorkspaceSettingsSchema, WorkspaceSizeLimits, WorkspaceSyncEventType, WorkspaceToken, WorkspaceTokenGrantType, WorkspaceTokenListResponse, WorkspaceType, WritableConnectorVersionData, WritablePackageVersionData, WriteableConnectorFields, WriteableConnectorOption, __resolveValue, addRequiredFieldsToSchema, addUdmFallbackFields, addUndefinedWriteableProperties, backwardCompatibleFilterMatch, buildActionSnapshot, buildData, buildDataSchema, buildValue, canFetchAgentWorkspaceElementContext, compareElementMaps, compareWorkspaceExports, compressDataSchema, configToNamedPayload, createCompoundSchema, createFlowInstanceSchema, createObjectFromLocators, createOrUpdateConnection, createPaginationResponseSchema, createSchema, dataCollectionEventTypeToExternalEventType, dataLocationParametersMatch, doesMatchFilter, emptyComparisonResult, excludeFieldsFromSchema, excludeFieldsFromValue, excludeReadOnlyFieldsFromSchema, excludeWriteOnlyFieldsFromSchema, externalEventTypeToDataCollectionEventType, extractFieldLocator, extractMembraneErrorData, findUdmCollectionMapping, findUdmDefaultCollection, findUdmRootLocation, findValueLocators, formatSessionCost, generateExampleFromSchema, getActionInstanceVariableSchema, getActionRunTimeVariablesSchema, getAlertCategoryDisplayName, getAlertDeliveryMethodLabel, getAlertTypeDisplayName, getAlertTypesByCategory, getAllEventMethodFilePaths, getBusinessDaysBetween, getChildNodeKeys, getConnectionRequestUrl, getConnectorSpecPath, getConnectorVersionPath, getConnectorVersionSpecPath, getDataCollectionCreateFields, getDataCollectionUpdateFields, getDataLocationMethodPath, getDownstreamNodeKeys, getEditablePathsForElementType, getEditablePathsFromSchema, getEffectiveConnectorOption, getElementSelector, getErrorFromData, getEventMethodFileKey, getFilterFieldMeta, getFilterFieldValuesByLocator, getFlowInstanceNodeDependency, getFlowNode, getFlowNodeConfigTimeVariablesSchema, getFlowNodeDescription, getFlowNodeRunTimeVariablesSchema, getFlowNodeSpec, getFlowNodeTitle, getFormula$1 as getFormula, getFormulaLocators, getFormula as getFormula_internalDoNotUse, getFullNameForLocator, getFullTitleForLocator, getIconUriForLocator, getLocatorsFromData, getLocatorsFromSchema, getMembraneElementPath, getMissingRequiredFields, getNameComponentsForLocator, getNameForLocator, getNodeInputSchema, getOperatorsBySchema, getParentNodeKeys, getReferenceCollectionPathForSchema, getReferenceCollectionPointerForSchema, getRequiredFieldsFromSchema, getRootNodeKeys, getSchemaByLocator, getSchemaDescription, getSchemaFromValue, getUpstreamNodeKeys, getValueAtLocator, getValueByLocator, getVariableLocators, getWritableFieldsSchema, hasCycles, hasFormulas$1 as hasFormulas, hasFormulas as hasFormulas_internalDoNotUse, injectFormulaCatalog, isAIGatewaySupportedModelId, isBlob, isBusinessDay, isDataActionType, isDataLocationMethodSupported, isDeliveryMethodEnabled, isFormula$1 as isFormula, isFormula as isFormula_internalDoNotUse, isHubInstanceId, isHubWorkspace, isMembraneError, isObject, isPathUserEditable, isSameDataLocation, isSchemaEmpty, isSelfHostedInstance, isStream, isValidAlertType, isValidLocator, jsonPointerToDotPath, lenientParseWithSchema, locatorToField, locatorToSteps, locatorToString, makeDataLocationOperationPath, makeDataLocationPath, makeDataRecordSchema, makeObjectPropertyLocator, makeSchemaForLocator, mergeComparisons, mergeSchemas, mergeWithFormulas, nonEmptyObjectProperties, parseDataLocationPath, parseDate, parseMembraneElementPath, patchSchema, pickFieldsFromSchema, pickFieldsFromValue, populateSchemaTitles, processCopy, removeNonExistentVars, removeRequiredFieldsFromSchema, resolveFormulas, schemaAllowsCustomValue, schemaHasFixedValues, schemaHasProperties, schemaIsNumber, schemaIsScalar, schemaTypeFromValue, schemaWithTitle, setEditablePropertiesForWorkspaceElement, setSchemaAtLocator, setValueAtLocator, stepsToLocator, streamToString, transformVariablesWith, transformVars, truncateData, unwrapSchema, unwrapSchemas, updateFlowInstanceSchema, updateImpliedSchema, validateFunctionDefinitions, valueToSchema, valueToString, walkSchema, wrapAnyOfSchema, zodBooleanCoercion, zodDateCoercion };
26879
28284
  export type { AIGatewaySupportedModelId, Action, ActionInstance, ActionInstanceSelector, ActionRunLogRecord, ActionSelector, ActionSpec, AgentSessionInput, AlertDeliveryMethod, AlertDeliverySettings, AlertTypeDeliverySettings, App, AppCategory, AppDataSchema, AppDataSchemaInstance, AppDataSchemaInstanceSelector, AppEvent, AppEventSubscription, AppEventSubscriptionCreateRequest, AppEventSubscriptionSelector, AppEventSubscriptionUpdateRequest, AppEventType, AsyncRequestStatusResponse, AuthContextPermissions, BaseElementInstance, CaseFormulaValue, CaseFormulaValueItem, CheckpointDiffOperation, CheckpointDiffResponse, ConfigurationStateResult, ConnectOptions, Connection, ConnectionUiSpec, ConnectorApiType, ConnectorAuthOAuth1Config, ConnectorAuthOAuth2Config, ConnectorAuthOAuthConfig, ConnectorAuthType, ConnectorDataCollection, ConnectorDataCollectionBase, ConnectorDataCollectionEvent, ConnectorDataCollectionEventCustomPull, ConnectorDataCollectionEventFullScan, ConnectorDataCollectionEventImplementationTypeKey, ConnectorDataCollectionEventPullLatestRecords, ConnectorDataCollectionEventType, ConnectorDataCollectionEventWebhook, ConnectorDataCollectionMethod, ConnectorEventGlobalWebhookGetEventSelectorResponse, ConnectorEventHandler, ConnectorEventListItem, ConnectorEventSpec, ConnectorExport, ConnectorFunctionSpec, ConnectorGlobalWebhookHandleRequest, ConnectorGlobalWebhookHandleResponse, ConnectorGlobalWebhookHandler, ConnectorGlobalWebhookListItem, ConnectorGlobalWebhookSpec, ConnectorOperationHandler, ConnectorOperationMethod, ConnectorVersionExport, CopilotActivityNotificationData, CreateAppDataSchemaInstanceRequest, CreateAppDataSchemaRequest, CreateAppEventSubscriptionRequest, CreateAppEventTypeRequest, CreateDataLinkRequest, CreateDataLinkTableInstanceRequest, CreateFlowInstanceRequest, CreateScenarioTemplateRequest, CreateUserRequest, Customer, CustomerRateLimitAlerts, DataCollectionEvent, DataCollectionEventsRequest, DataCollectionEventsResponse, DataCollectionListItem, DataCollectionMixin, DataCollectionParseUnifiedFieldsRequest, DataCollectionParseUnifiedFieldsResponse, DataCollectionSubscribeRequest, DataCollectionSubscribeResponse, DataCollectionUnsubscribeRequest, DataCollectionUnsubscribeResponse, DataCollectionUpdateSubscriptionRequest, DataCollectionUpdateSubscriptionResponse, DataEventWebhookPayload, DataFilter, DataFormArgs, DataLinkInTableSelector, DataLinkSelector, DataLinkTable, DataLinkTableInstance, DataLinkTableInstanceSelector, DataLocator, DataRecord, DataSource, DataSourceInstanceSelector, DataSourceSelector, DbBackedCounts, DeleteDataLinkRequest, DownstreamFlowNodeRun, ElementInstanceFields, ElementInstanceSelector, ElementTemplateFields, EngineCreditsProjection, EngineWorkspace, EngineWorkspaceSettings, EngineWorkspaceWithOrgData, ErrorConstructorArg, EvalOperator, ExternalEventApiResponse, ExternalEventCustomPullCollectEventsRequest, ExternalEventCustomPullCollectEventsResponse, ExternalEventCustomPullSubscribeResponse, ExternalEventLogRecord, ExternalEventPull, ExternalEventSubscription, ExternalEventTypeFunctionKey, ExternalEventWebhookHandleRequest, ExternalEventWebhookHandleResponse, ExternalEventWebhookRefreshRequest, ExternalEventWebhookRefreshResponse, ExternalEventWebhookSubscribeRequest, ExternalEventWebhookSubscribeResponse, ExternalEventWebhookUnsubscribeRequest, FieldMapping, FieldMappingInstanceSelector, FieldMappingSelector, FieldValueOption, FilterFieldMeta, FindDataLinkQuery, FindDataSourceInstancesResponse, FindExternalEventLogsQuery, FindExternalEventSubscriptionsQuery, FindIntegrationsResponse, FindScenarioTemplatesQuery, FindUsersQuery, Flow, FlowInstance, FlowInstanceSelector, FlowNodeHandlerRunResponse, FlowNodeRunOutput, FlowNodeRunOutputMetadata, FlowNodeRunOutputWithoutDownstreamRuns, FlowNodeRunParameters, FlowNodeRunRecord, FlowNodeRunRecordWithoutOutputsData, FlowNodeRunResult, FlowRun, FlowSelector, GraphQLApiMapping, GraphQLFieldMapping, GraphqlApiClientInput, HandyScenarioTemplateElementApi, IneligibilityReason, Integration, IntegrationAuthOptionLegacy, IntegrationElement, IntegrationElementInstance, IntegrationElementInstanceDependency, LateConnectionEvents, ListDataSourcesForIntegrationQuery, ListFieldMappingInstancesForConnectionQuery, ListFieldMappingsForIntegrationQuery, ListFlowsForIntegrationQuery, LogRecord, LookupValue, MapFormulaValue, MappingItem, MembraneInstanceDto, OAuthTokenType, OpenActionConfigurationOptions, OpenDataSourceConfigurationOptions, OpenFieldMappingInstanceConfigurationOptions, OpenFlowInstanceConfigurationOptions, OpenFlowInstanceEditorOptions, OpenFlowRunEditorOptions, OpenNewConnectionOptions, OpenapiMapping, OperationListItem, OperationMapping, OperationRunRequest, OperationRunResponse, OperationSpec, OrgFeatureFlags, OrgPermissions, OrgUser, Package, PatchAgentSession, PatchSchemaOption, PendingQueueCount, PendingTasksSummary, PlatformUserPermissions, PullLatestRecordsEventOutput, RateLimitAlerts, ResolveFormulaParams, RestApiClientConstructorOptions, RestApiClientInput, RestApiClientOptions, RestApiClientOutput, RestApiClientOverride, RestApiClientResponseHandler, RestApiMapping, RunFlowOptions, Scenario, ScenarioTemplateElementOverride, ScenarioTemplateElementsApi, ScenarioTemplateIntegration, ScenarioTemplateKeyCollision, Screen, ScreenBlockApi, Self, SessionStatus, TenantPermissions, TestAlerts, UnifiedDataModel, UpdateAppDataSchemaInstanceRequest, UpdateAppDataSchemaRequest, UpdateAppEventSubscriptionRequest, UpdateAppEventTypeRequest, UpdateDataLinkTableInstanceRequest, UpdateFlowInstanceRequest, UpdateScenarioTemplateRequest, UpdateUserRequest, UpstreamFlowNodeRun, UsageAlerts, UsageEntry, UsageWithCredits, User, UserSelector, UserWorkspaceSettings, ValueToSchemaOptions, Webhook, WebhookType, WithExecutionLogs, WorkerTypeFilter, WorkspaceElementCalculateStateResult, WorkspaceElementChange, WorkspaceElementChangeInfo, WorkspaceElementDependency, WorkspaceElementReference, WorkspaceElementSpec, WorkspaceElements, WorkspaceElementsStats, WorkspaceExport, WorkspaceExportComparison, WorkspaceExportComparisonOptions, WorkspaceExportComparisonResult, WorkspaceLimit, WorkspaceLimits, WorkspaceNotification, WorkspacePermissions, WorkspaceSettings, WorkspaceSizeAlerts, WorkspaceSyncEvent, WorkspaceUpdate, WorkspaceUser };