@membranehq/sdk 0.29.0 → 0.29.1

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 (54) hide show
  1. package/dist/bundle.d.ts +97 -2
  2. package/dist/bundle.js +27 -15
  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 +519 -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 +9 -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-pulls/index.d.ts +50 -0
  40. package/dist/dts/workspace-elements/paths.d.ts +1 -0
  41. package/dist/dts/workspace-elements/types.d.ts +4 -1
  42. package/dist/index.browser.d.mts +1518 -142
  43. package/dist/index.browser.d.ts +1518 -142
  44. package/dist/index.browser.js +418 -18
  45. package/dist/index.browser.js.map +1 -1
  46. package/dist/index.browser.mjs +385 -19
  47. package/dist/index.browser.mjs.map +1 -1
  48. package/dist/index.node.d.mts +1518 -142
  49. package/dist/index.node.d.ts +1518 -142
  50. package/dist/index.node.js +418 -18
  51. package/dist/index.node.js.map +1 -1
  52. package/dist/index.node.mjs +385 -19
  53. package/dist/index.node.mjs.map +1 -1
  54. 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>;
@@ -10846,9 +11089,59 @@ declare const BaseExternalEventPull: z.ZodObject<{
10846
11089
  isFullScan: z.ZodOptional<z.ZodBoolean>;
10847
11090
  status: z.ZodEnum<typeof ExternalEventPullStatus>;
10848
11091
  collectedEventIds: z.ZodArray<z.ZodString>;
11092
+ telemetryUri: z.ZodOptional<z.ZodString>;
10849
11093
  error: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
10850
11094
  }, z.core.$strip>;
10851
11095
  type BaseExternalEventPull = z.infer<typeof BaseExternalEventPull>;
11096
+ declare const ExternalEventPullTelemetry: z.ZodObject<{
11097
+ pullId: z.ZodString;
11098
+ subscriptionId: z.ZodString;
11099
+ connectionId: z.ZodOptional<z.ZodString>;
11100
+ strategy: z.ZodEnum<{
11101
+ unknown: "unknown";
11102
+ "custom-pull": "custom-pull";
11103
+ "full-scan": "full-scan";
11104
+ "pull-latest-records": "pull-latest-records";
11105
+ skipped: "skipped";
11106
+ }>;
11107
+ eventType: z.ZodOptional<z.ZodString>;
11108
+ collectionKey: z.ZodOptional<z.ZodString>;
11109
+ startedAt: z.ZodString;
11110
+ finishedAt: z.ZodString;
11111
+ emittedEventCount: z.ZodNumber;
11112
+ emittedEvents: z.ZodArray<z.ZodObject<{
11113
+ type: z.ZodString;
11114
+ recordId: z.ZodOptional<z.ZodString>;
11115
+ }, z.core.$strip>>;
11116
+ notes: z.ZodArray<z.ZodString>;
11117
+ fullScan: z.ZodOptional<z.ZodObject<{
11118
+ totalRecords: z.ZodNumber;
11119
+ totalPages: z.ZodNumber;
11120
+ previousSnapshotId: z.ZodOptional<z.ZodString>;
11121
+ previousSnapshotRecordCount: z.ZodOptional<z.ZodNumber>;
11122
+ previousSnapshotMissing: z.ZodBoolean;
11123
+ newSnapshotId: z.ZodOptional<z.ZodString>;
11124
+ isBaseline: z.ZodBoolean;
11125
+ }, z.core.$strip>>;
11126
+ pullLatest: z.ZodOptional<z.ZodObject<{
11127
+ stateBefore: z.ZodOptional<z.ZodObject<{
11128
+ id: z.ZodOptional<z.ZodString>;
11129
+ datetime: z.ZodOptional<z.ZodString>;
11130
+ }, z.core.$strip>>;
11131
+ stateAfter: z.ZodOptional<z.ZodObject<{
11132
+ id: z.ZodOptional<z.ZodString>;
11133
+ datetime: z.ZodOptional<z.ZodString>;
11134
+ }, z.core.$strip>>;
11135
+ pagesScanned: z.ZodNumber;
11136
+ scannedRecords: z.ZodArray<z.ZodObject<{
11137
+ id: z.ZodString;
11138
+ datetime: z.ZodOptional<z.ZodString>;
11139
+ }, z.core.$strip>>;
11140
+ newRecordIds: z.ZodArray<z.ZodString>;
11141
+ isBaseline: z.ZodBoolean;
11142
+ }, z.core.$strip>>;
11143
+ }, z.core.$strip>;
11144
+ type ExternalEventPullTelemetry = z.infer<typeof ExternalEventPullTelemetry>;
10852
11145
 
10853
11146
  declare enum ExternalEventTypeImplementationType {
10854
11147
  Webhook = "webhook"
@@ -11546,6 +11839,10 @@ declare const EnsureConnectionRequest: z.ZodObject<{
11546
11839
  }, z.core.$strip>;
11547
11840
  type EnsureConnectionRequest = z.infer<typeof EnsureConnectionRequest>;
11548
11841
  declare const CreateConnectionRequest: z.ZodObject<{
11842
+ type: z.ZodOptional<z.ZodEnum<{
11843
+ connector: "connector";
11844
+ mcp: "mcp";
11845
+ }>>;
11549
11846
  name: z.ZodOptional<z.ZodString>;
11550
11847
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
11551
11848
  authOptionKey: z.ZodOptional<z.ZodString>;
@@ -11566,6 +11863,10 @@ declare const CreateConnectionRequest: z.ZodObject<{
11566
11863
  }, z.core.$strip>;
11567
11864
  type CreateConnectionRequest = z.infer<typeof CreateConnectionRequest>;
11568
11865
  declare const UpdateConnectionRequest: z.ZodObject<{
11866
+ type: z.ZodOptional<z.ZodEnum<{
11867
+ connector: "connector";
11868
+ mcp: "mcp";
11869
+ }>>;
11569
11870
  name: z.ZodOptional<z.ZodString>;
11570
11871
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
11571
11872
  authOptionKey: z.ZodOptional<z.ZodString>;
@@ -11587,6 +11888,10 @@ declare const UpdateConnectionRequest: z.ZodObject<{
11587
11888
  type UpdateConnectionRequest = z.infer<typeof UpdateConnectionRequest>;
11588
11889
  declare const ConnectionExportProperties: z.ZodObject<{
11589
11890
  key: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11891
+ type: z.ZodOptional<z.ZodEnum<{
11892
+ connector: "connector";
11893
+ mcp: "mcp";
11894
+ }>>;
11590
11895
  name: z.ZodOptional<z.ZodString>;
11591
11896
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
11592
11897
  integrationUuid: z.ZodOptional<z.ZodString>;
@@ -11629,6 +11934,10 @@ declare const ConnectionSelector: z.ZodObject<{
11629
11934
  type ConnectionSelector = z.infer<typeof ConnectionSelector>;
11630
11935
  declare const ConnectionApiResponse: z.ZodObject<{
11631
11936
  id: z.ZodString;
11937
+ type: z.ZodOptional<z.ZodEnum<{
11938
+ connector: "connector";
11939
+ mcp: "mcp";
11940
+ }>>;
11632
11941
  name: z.ZodString;
11633
11942
  key: z.ZodOptional<z.ZodString>;
11634
11943
  isTest: z.ZodOptional<z.ZodBoolean>;
@@ -11665,6 +11974,11 @@ declare const ConnectionApiResponse: z.ZodObject<{
11665
11974
  uiUrl: z.ZodOptional<z.ZodString>;
11666
11975
  agentInstructions: z.ZodOptional<z.ZodString>;
11667
11976
  handoffAgentInstructions: z.ZodOptional<z.ZodString>;
11977
+ reason: z.ZodOptional<z.ZodEnum<{
11978
+ "provide-input": "provide-input";
11979
+ authenticate: "authenticate";
11980
+ reauthenticate: "reauthenticate";
11981
+ }>>;
11668
11982
  }, z.core.$strip>>;
11669
11983
  userId: z.ZodString;
11670
11984
  tenantId: z.ZodOptional<z.ZodString>;
@@ -11735,6 +12049,10 @@ declare const ConnectionApiResponse: z.ZodObject<{
11735
12049
  type ConnectionApiResponse = z.infer<typeof ConnectionApiResponse>;
11736
12050
  declare const ConnectionApiResponseWithSecrets: z.ZodObject<{
11737
12051
  id: z.ZodString;
12052
+ type: z.ZodOptional<z.ZodEnum<{
12053
+ connector: "connector";
12054
+ mcp: "mcp";
12055
+ }>>;
11738
12056
  name: z.ZodString;
11739
12057
  key: z.ZodOptional<z.ZodString>;
11740
12058
  isTest: z.ZodOptional<z.ZodBoolean>;
@@ -11771,6 +12089,11 @@ declare const ConnectionApiResponseWithSecrets: z.ZodObject<{
11771
12089
  uiUrl: z.ZodOptional<z.ZodString>;
11772
12090
  agentInstructions: z.ZodOptional<z.ZodString>;
11773
12091
  handoffAgentInstructions: z.ZodOptional<z.ZodString>;
12092
+ reason: z.ZodOptional<z.ZodEnum<{
12093
+ "provide-input": "provide-input";
12094
+ authenticate: "authenticate";
12095
+ reauthenticate: "reauthenticate";
12096
+ }>>;
11774
12097
  }, z.core.$strip>>;
11775
12098
  userId: z.ZodString;
11776
12099
  tenantId: z.ZodOptional<z.ZodString>;
@@ -11847,6 +12170,10 @@ declare const ConnectionMessagePayload: z.ZodDiscriminatedUnion<[z.ZodObject<{
11847
12170
  type: z.ZodLiteral<"newConnectionCreated">;
11848
12171
  connection: z.ZodObject<{
11849
12172
  id: z.ZodString;
12173
+ type: z.ZodOptional<z.ZodEnum<{
12174
+ connector: "connector";
12175
+ mcp: "mcp";
12176
+ }>>;
11850
12177
  name: z.ZodString;
11851
12178
  key: z.ZodOptional<z.ZodString>;
11852
12179
  isTest: z.ZodOptional<z.ZodBoolean>;
@@ -11883,6 +12210,11 @@ declare const ConnectionMessagePayload: z.ZodDiscriminatedUnion<[z.ZodObject<{
11883
12210
  uiUrl: z.ZodOptional<z.ZodString>;
11884
12211
  agentInstructions: z.ZodOptional<z.ZodString>;
11885
12212
  handoffAgentInstructions: z.ZodOptional<z.ZodString>;
12213
+ reason: z.ZodOptional<z.ZodEnum<{
12214
+ "provide-input": "provide-input";
12215
+ authenticate: "authenticate";
12216
+ reauthenticate: "reauthenticate";
12217
+ }>>;
11886
12218
  }, z.core.$strip>>;
11887
12219
  userId: z.ZodString;
11888
12220
  tenantId: z.ZodOptional<z.ZodString>;
@@ -11980,6 +12312,10 @@ declare const GenerateOptionsRequest: z.ZodObject<{
11980
12312
  }, z.core.$strip>;
11981
12313
  type GenerateOptionsRequest = z.infer<typeof GenerateOptionsRequest>;
11982
12314
  declare const ConnectPayload: z.ZodObject<{
12315
+ type: z.ZodOptional<z.ZodEnum<{
12316
+ connector: "connector";
12317
+ mcp: "mcp";
12318
+ }>>;
11983
12319
  requestId: z.ZodOptional<z.ZodString>;
11984
12320
  integrationKey: z.ZodOptional<z.ZodString>;
11985
12321
  integrationId: z.ZodOptional<z.ZodString>;
@@ -12003,6 +12339,10 @@ declare const ConnectPayload: z.ZodObject<{
12003
12339
  }, z.core.$strip>;
12004
12340
  type ConnectPayload = z.infer<typeof ConnectPayload>;
12005
12341
  declare const ConnectUIOptions: z.ZodObject<{
12342
+ type: z.ZodOptional<z.ZodEnum<{
12343
+ connector: "connector";
12344
+ mcp: "mcp";
12345
+ }>>;
12006
12346
  connectionId: z.ZodOptional<z.ZodString>;
12007
12347
  integrationId: z.ZodOptional<z.ZodString>;
12008
12348
  integrationKey: z.ZodOptional<z.ZodString>;
@@ -12171,6 +12511,10 @@ declare const FlowRunApiResponse: z.ZodObject<{
12171
12511
  }, z.core.$strip>>;
12172
12512
  connection: z.ZodOptional<z.ZodObject<{
12173
12513
  id: z.ZodString;
12514
+ type: z.ZodOptional<z.ZodEnum<{
12515
+ connector: "connector";
12516
+ mcp: "mcp";
12517
+ }>>;
12174
12518
  name: z.ZodString;
12175
12519
  key: z.ZodOptional<z.ZodString>;
12176
12520
  isTest: z.ZodOptional<z.ZodBoolean>;
@@ -12207,6 +12551,11 @@ declare const FlowRunApiResponse: z.ZodObject<{
12207
12551
  uiUrl: z.ZodOptional<z.ZodString>;
12208
12552
  agentInstructions: z.ZodOptional<z.ZodString>;
12209
12553
  handoffAgentInstructions: z.ZodOptional<z.ZodString>;
12554
+ reason: z.ZodOptional<z.ZodEnum<{
12555
+ "provide-input": "provide-input";
12556
+ authenticate: "authenticate";
12557
+ reauthenticate: "reauthenticate";
12558
+ }>>;
12210
12559
  }, z.core.$strip>>;
12211
12560
  userId: z.ZodString;
12212
12561
  tenantId: z.ZodOptional<z.ZodString>;
@@ -12377,6 +12726,10 @@ declare const FindFlowRunsResponse: z.ZodObject<{
12377
12726
  }, z.core.$strip>>;
12378
12727
  connection: z.ZodOptional<z.ZodObject<{
12379
12728
  id: z.ZodString;
12729
+ type: z.ZodOptional<z.ZodEnum<{
12730
+ connector: "connector";
12731
+ mcp: "mcp";
12732
+ }>>;
12380
12733
  name: z.ZodString;
12381
12734
  key: z.ZodOptional<z.ZodString>;
12382
12735
  isTest: z.ZodOptional<z.ZodBoolean>;
@@ -12413,6 +12766,11 @@ declare const FindFlowRunsResponse: z.ZodObject<{
12413
12766
  uiUrl: z.ZodOptional<z.ZodString>;
12414
12767
  agentInstructions: z.ZodOptional<z.ZodString>;
12415
12768
  handoffAgentInstructions: z.ZodOptional<z.ZodString>;
12769
+ reason: z.ZodOptional<z.ZodEnum<{
12770
+ "provide-input": "provide-input";
12771
+ authenticate: "authenticate";
12772
+ reauthenticate: "reauthenticate";
12773
+ }>>;
12416
12774
  }, z.core.$strip>>;
12417
12775
  userId: z.ZodString;
12418
12776
  tenantId: z.ZodOptional<z.ZodString>;
@@ -12734,6 +13092,10 @@ declare const FlowApiResponse: z.ZodObject<{
12734
13092
  }, z.core.$strip>>;
12735
13093
  connection: z.ZodOptional<z.ZodObject<{
12736
13094
  id: z.ZodString;
13095
+ type: z.ZodOptional<z.ZodEnum<{
13096
+ connector: "connector";
13097
+ mcp: "mcp";
13098
+ }>>;
12737
13099
  name: z.ZodString;
12738
13100
  key: z.ZodOptional<z.ZodString>;
12739
13101
  isTest: z.ZodOptional<z.ZodBoolean>;
@@ -12770,6 +13132,11 @@ declare const FlowApiResponse: z.ZodObject<{
12770
13132
  uiUrl: z.ZodOptional<z.ZodString>;
12771
13133
  agentInstructions: z.ZodOptional<z.ZodString>;
12772
13134
  handoffAgentInstructions: z.ZodOptional<z.ZodString>;
13135
+ reason: z.ZodOptional<z.ZodEnum<{
13136
+ "provide-input": "provide-input";
13137
+ authenticate: "authenticate";
13138
+ reauthenticate: "reauthenticate";
13139
+ }>>;
12773
13140
  }, z.core.$strip>>;
12774
13141
  userId: z.ZodString;
12775
13142
  tenantId: z.ZodOptional<z.ZodString>;
@@ -13096,6 +13463,10 @@ declare const FlowInstanceApiResponse: z.ZodObject<{
13096
13463
  }, z.core.$strip>>;
13097
13464
  connection: z.ZodOptional<z.ZodObject<{
13098
13465
  id: z.ZodString;
13466
+ type: z.ZodOptional<z.ZodEnum<{
13467
+ connector: "connector";
13468
+ mcp: "mcp";
13469
+ }>>;
13099
13470
  name: z.ZodString;
13100
13471
  key: z.ZodOptional<z.ZodString>;
13101
13472
  isTest: z.ZodOptional<z.ZodBoolean>;
@@ -13132,6 +13503,11 @@ declare const FlowInstanceApiResponse: z.ZodObject<{
13132
13503
  uiUrl: z.ZodOptional<z.ZodString>;
13133
13504
  agentInstructions: z.ZodOptional<z.ZodString>;
13134
13505
  handoffAgentInstructions: z.ZodOptional<z.ZodString>;
13506
+ reason: z.ZodOptional<z.ZodEnum<{
13507
+ "provide-input": "provide-input";
13508
+ authenticate: "authenticate";
13509
+ reauthenticate: "reauthenticate";
13510
+ }>>;
13135
13511
  }, z.core.$strip>>;
13136
13512
  userId: z.ZodString;
13137
13513
  tenantId: z.ZodOptional<z.ZodString>;
@@ -13817,6 +14193,10 @@ declare const DataSourceApiResponse: z.ZodObject<{
13817
14193
  }, z.core.$strip>>;
13818
14194
  connection: z.ZodOptional<z.ZodObject<{
13819
14195
  id: z.ZodString;
14196
+ type: z.ZodOptional<z.ZodEnum<{
14197
+ connector: "connector";
14198
+ mcp: "mcp";
14199
+ }>>;
13820
14200
  name: z.ZodString;
13821
14201
  key: z.ZodOptional<z.ZodString>;
13822
14202
  isTest: z.ZodOptional<z.ZodBoolean>;
@@ -13853,6 +14233,11 @@ declare const DataSourceApiResponse: z.ZodObject<{
13853
14233
  uiUrl: z.ZodOptional<z.ZodString>;
13854
14234
  agentInstructions: z.ZodOptional<z.ZodString>;
13855
14235
  handoffAgentInstructions: z.ZodOptional<z.ZodString>;
14236
+ reason: z.ZodOptional<z.ZodEnum<{
14237
+ "provide-input": "provide-input";
14238
+ authenticate: "authenticate";
14239
+ reauthenticate: "reauthenticate";
14240
+ }>>;
13856
14241
  }, z.core.$strip>>;
13857
14242
  userId: z.ZodString;
13858
14243
  tenantId: z.ZodOptional<z.ZodString>;
@@ -14424,6 +14809,10 @@ declare const DataSourceInstanceApiResponse: z.ZodObject<{
14424
14809
  }, z.core.$strip>>;
14425
14810
  connection: z.ZodOptional<z.ZodObject<{
14426
14811
  id: z.ZodString;
14812
+ type: z.ZodOptional<z.ZodEnum<{
14813
+ connector: "connector";
14814
+ mcp: "mcp";
14815
+ }>>;
14427
14816
  name: z.ZodString;
14428
14817
  key: z.ZodOptional<z.ZodString>;
14429
14818
  isTest: z.ZodOptional<z.ZodBoolean>;
@@ -14460,6 +14849,11 @@ declare const DataSourceInstanceApiResponse: z.ZodObject<{
14460
14849
  uiUrl: z.ZodOptional<z.ZodString>;
14461
14850
  agentInstructions: z.ZodOptional<z.ZodString>;
14462
14851
  handoffAgentInstructions: z.ZodOptional<z.ZodString>;
14852
+ reason: z.ZodOptional<z.ZodEnum<{
14853
+ "provide-input": "provide-input";
14854
+ authenticate: "authenticate";
14855
+ reauthenticate: "reauthenticate";
14856
+ }>>;
14463
14857
  }, z.core.$strip>>;
14464
14858
  userId: z.ZodString;
14465
14859
  tenantId: z.ZodOptional<z.ZodString>;
@@ -14954,6 +15348,7 @@ declare class ConnectionAccessor {
14954
15348
  createdAt: string;
14955
15349
  updatedAt: string;
14956
15350
  userId: string;
15351
+ type?: "connector" | "mcp" | undefined;
14957
15352
  key?: string | undefined;
14958
15353
  isTest?: boolean | undefined;
14959
15354
  connected?: boolean | undefined;
@@ -14984,6 +15379,7 @@ declare class ConnectionAccessor {
14984
15379
  uiUrl?: string | undefined;
14985
15380
  agentInstructions?: string | undefined;
14986
15381
  handoffAgentInstructions?: string | undefined;
15382
+ reason?: "provide-input" | "authenticate" | "reauthenticate" | undefined;
14987
15383
  } | undefined;
14988
15384
  tenantId?: string | undefined;
14989
15385
  user?: {
@@ -15082,6 +15478,7 @@ declare class ConnectionProxy {
15082
15478
  }
15083
15479
  declare function createOrUpdateConnection(options: {
15084
15480
  client: MembraneApiClient;
15481
+ type?: ConnectionType;
15085
15482
  authOptionKey?: string;
15086
15483
  name?: string;
15087
15484
  input?: any;
@@ -15096,6 +15493,7 @@ declare function createOrUpdateConnection(options: {
15096
15493
  connectionRequestId?: string;
15097
15494
  apiUri: string;
15098
15495
  redirectUri?: string;
15496
+ customState?: string;
15099
15497
  onPopupClosed?: () => void;
15100
15498
  lateEvents?: LateConnectionEvents;
15101
15499
  }): Promise<ConnectionApiResponse | null>;
@@ -15285,6 +15683,10 @@ declare const IntegrationApiResponse: z.ZodObject<{
15285
15683
  }, z.core.$strip>>>;
15286
15684
  connection: z.ZodOptional<z.ZodObject<{
15287
15685
  id: z.ZodString;
15686
+ type: z.ZodOptional<z.ZodEnum<{
15687
+ connector: "connector";
15688
+ mcp: "mcp";
15689
+ }>>;
15288
15690
  name: z.ZodString;
15289
15691
  key: z.ZodOptional<z.ZodString>;
15290
15692
  isTest: z.ZodOptional<z.ZodBoolean>;
@@ -15321,6 +15723,11 @@ declare const IntegrationApiResponse: z.ZodObject<{
15321
15723
  uiUrl: z.ZodOptional<z.ZodString>;
15322
15724
  agentInstructions: z.ZodOptional<z.ZodString>;
15323
15725
  handoffAgentInstructions: z.ZodOptional<z.ZodString>;
15726
+ reason: z.ZodOptional<z.ZodEnum<{
15727
+ "provide-input": "provide-input";
15728
+ authenticate: "authenticate";
15729
+ reauthenticate: "reauthenticate";
15730
+ }>>;
15324
15731
  }, z.core.$strip>>;
15325
15732
  userId: z.ZodString;
15326
15733
  tenantId: z.ZodOptional<z.ZodString>;
@@ -15395,6 +15802,10 @@ declare const IntegrationListItem: z.ZodObject<{
15395
15802
  }, z.core.$strip>>>;
15396
15803
  connection: z.ZodOptional<z.ZodObject<{
15397
15804
  id: z.ZodString;
15805
+ type: z.ZodOptional<z.ZodEnum<{
15806
+ connector: "connector";
15807
+ mcp: "mcp";
15808
+ }>>;
15398
15809
  name: z.ZodString;
15399
15810
  key: z.ZodOptional<z.ZodString>;
15400
15811
  isTest: z.ZodOptional<z.ZodBoolean>;
@@ -15431,6 +15842,11 @@ declare const IntegrationListItem: z.ZodObject<{
15431
15842
  uiUrl: z.ZodOptional<z.ZodString>;
15432
15843
  agentInstructions: z.ZodOptional<z.ZodString>;
15433
15844
  handoffAgentInstructions: z.ZodOptional<z.ZodString>;
15845
+ reason: z.ZodOptional<z.ZodEnum<{
15846
+ "provide-input": "provide-input";
15847
+ authenticate: "authenticate";
15848
+ reauthenticate: "reauthenticate";
15849
+ }>>;
15434
15850
  }, z.core.$strip>>;
15435
15851
  userId: z.ZodString;
15436
15852
  tenantId: z.ZodOptional<z.ZodString>;
@@ -15674,6 +16090,10 @@ declare const FieldMappingApiResponse: z.ZodObject<{
15674
16090
  }, z.core.$strip>>;
15675
16091
  connection: z.ZodOptional<z.ZodObject<{
15676
16092
  id: z.ZodString;
16093
+ type: z.ZodOptional<z.ZodEnum<{
16094
+ connector: "connector";
16095
+ mcp: "mcp";
16096
+ }>>;
15677
16097
  name: z.ZodString;
15678
16098
  key: z.ZodOptional<z.ZodString>;
15679
16099
  isTest: z.ZodOptional<z.ZodBoolean>;
@@ -15710,6 +16130,11 @@ declare const FieldMappingApiResponse: z.ZodObject<{
15710
16130
  uiUrl: z.ZodOptional<z.ZodString>;
15711
16131
  agentInstructions: z.ZodOptional<z.ZodString>;
15712
16132
  handoffAgentInstructions: z.ZodOptional<z.ZodString>;
16133
+ reason: z.ZodOptional<z.ZodEnum<{
16134
+ "provide-input": "provide-input";
16135
+ authenticate: "authenticate";
16136
+ reauthenticate: "reauthenticate";
16137
+ }>>;
15713
16138
  }, z.core.$strip>>;
15714
16139
  userId: z.ZodString;
15715
16140
  tenantId: z.ZodOptional<z.ZodString>;
@@ -15980,6 +16405,10 @@ declare const FieldMappingInstanceApiResponse: z.ZodObject<{
15980
16405
  }, z.core.$strip>>;
15981
16406
  connection: z.ZodOptional<z.ZodObject<{
15982
16407
  id: z.ZodString;
16408
+ type: z.ZodOptional<z.ZodEnum<{
16409
+ connector: "connector";
16410
+ mcp: "mcp";
16411
+ }>>;
15983
16412
  name: z.ZodString;
15984
16413
  key: z.ZodOptional<z.ZodString>;
15985
16414
  isTest: z.ZodOptional<z.ZodBoolean>;
@@ -16016,6 +16445,11 @@ declare const FieldMappingInstanceApiResponse: z.ZodObject<{
16016
16445
  uiUrl: z.ZodOptional<z.ZodString>;
16017
16446
  agentInstructions: z.ZodOptional<z.ZodString>;
16018
16447
  handoffAgentInstructions: z.ZodOptional<z.ZodString>;
16448
+ reason: z.ZodOptional<z.ZodEnum<{
16449
+ "provide-input": "provide-input";
16450
+ authenticate: "authenticate";
16451
+ reauthenticate: "reauthenticate";
16452
+ }>>;
16019
16453
  }, z.core.$strip>>;
16020
16454
  userId: z.ZodString;
16021
16455
  tenantId: z.ZodOptional<z.ZodString>;
@@ -16346,6 +16780,7 @@ declare class IntegrationAccessor extends ElementAccessor<IntegrationApiResponse
16346
16780
  createdAt: string;
16347
16781
  updatedAt: string;
16348
16782
  userId: string;
16783
+ type?: "connector" | "mcp" | undefined;
16349
16784
  key?: string | undefined;
16350
16785
  isTest?: boolean | undefined;
16351
16786
  connected?: boolean | undefined;
@@ -16376,6 +16811,7 @@ declare class IntegrationAccessor extends ElementAccessor<IntegrationApiResponse
16376
16811
  uiUrl?: string | undefined;
16377
16812
  agentInstructions?: string | undefined;
16378
16813
  handoffAgentInstructions?: string | undefined;
16814
+ reason?: "provide-input" | "authenticate" | "reauthenticate" | undefined;
16379
16815
  } | undefined;
16380
16816
  tenantId?: string | undefined;
16381
16817
  user?: {
@@ -17048,6 +17484,10 @@ declare const ExternalEventSubscriptionApiResponse: z.ZodObject<{
17048
17484
  }, z.core.$strip>>;
17049
17485
  connection: z.ZodOptional<z.ZodObject<{
17050
17486
  id: z.ZodString;
17487
+ type: z.ZodOptional<z.ZodEnum<{
17488
+ connector: "connector";
17489
+ mcp: "mcp";
17490
+ }>>;
17051
17491
  name: z.ZodString;
17052
17492
  key: z.ZodOptional<z.ZodString>;
17053
17493
  isTest: z.ZodOptional<z.ZodBoolean>;
@@ -17084,6 +17524,11 @@ declare const ExternalEventSubscriptionApiResponse: z.ZodObject<{
17084
17524
  uiUrl: z.ZodOptional<z.ZodString>;
17085
17525
  agentInstructions: z.ZodOptional<z.ZodString>;
17086
17526
  handoffAgentInstructions: z.ZodOptional<z.ZodString>;
17527
+ reason: z.ZodOptional<z.ZodEnum<{
17528
+ "provide-input": "provide-input";
17529
+ authenticate: "authenticate";
17530
+ reauthenticate: "reauthenticate";
17531
+ }>>;
17087
17532
  }, z.core.$strip>>;
17088
17533
  userId: z.ZodString;
17089
17534
  tenantId: z.ZodOptional<z.ZodString>;
@@ -18092,6 +18537,10 @@ declare const ActionRunLogRecordApiResponse: z.ZodObject<{
18092
18537
  }, z.core.$strip>>;
18093
18538
  connection: z.ZodOptional<z.ZodObject<{
18094
18539
  id: z.ZodString;
18540
+ type: z.ZodOptional<z.ZodEnum<{
18541
+ connector: "connector";
18542
+ mcp: "mcp";
18543
+ }>>;
18095
18544
  name: z.ZodString;
18096
18545
  key: z.ZodOptional<z.ZodString>;
18097
18546
  isTest: z.ZodOptional<z.ZodBoolean>;
@@ -18128,6 +18577,11 @@ declare const ActionRunLogRecordApiResponse: z.ZodObject<{
18128
18577
  uiUrl: z.ZodOptional<z.ZodString>;
18129
18578
  agentInstructions: z.ZodOptional<z.ZodString>;
18130
18579
  handoffAgentInstructions: z.ZodOptional<z.ZodString>;
18580
+ reason: z.ZodOptional<z.ZodEnum<{
18581
+ "provide-input": "provide-input";
18582
+ authenticate: "authenticate";
18583
+ reauthenticate: "reauthenticate";
18584
+ }>>;
18131
18585
  }, z.core.$strip>>;
18132
18586
  userId: z.ZodString;
18133
18587
  tenantId: z.ZodOptional<z.ZodString>;
@@ -18295,6 +18749,10 @@ declare const FindActionRunLogsResponse: z.ZodObject<{
18295
18749
  }, z.core.$strip>>;
18296
18750
  connection: z.ZodOptional<z.ZodObject<{
18297
18751
  id: z.ZodString;
18752
+ type: z.ZodOptional<z.ZodEnum<{
18753
+ connector: "connector";
18754
+ mcp: "mcp";
18755
+ }>>;
18298
18756
  name: z.ZodString;
18299
18757
  key: z.ZodOptional<z.ZodString>;
18300
18758
  isTest: z.ZodOptional<z.ZodBoolean>;
@@ -18331,6 +18789,11 @@ declare const FindActionRunLogsResponse: z.ZodObject<{
18331
18789
  uiUrl: z.ZodOptional<z.ZodString>;
18332
18790
  agentInstructions: z.ZodOptional<z.ZodString>;
18333
18791
  handoffAgentInstructions: z.ZodOptional<z.ZodString>;
18792
+ reason: z.ZodOptional<z.ZodEnum<{
18793
+ "provide-input": "provide-input";
18794
+ authenticate: "authenticate";
18795
+ reauthenticate: "reauthenticate";
18796
+ }>>;
18334
18797
  }, z.core.$strip>>;
18335
18798
  userId: z.ZodString;
18336
18799
  tenantId: z.ZodOptional<z.ZodString>;
@@ -18419,6 +18882,7 @@ declare const CheckpointApiResponse: z.ZodObject<{
18419
18882
  checkpointNumber: z.ZodNumber;
18420
18883
  snapshot: z.ZodRecord<z.ZodString, z.ZodUnknown>;
18421
18884
  createdAt: z.ZodString;
18885
+ asyncRequestId: z.ZodOptional<z.ZodString>;
18422
18886
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
18423
18887
  }, z.core.$strip>;
18424
18888
  type CheckpointApiResponse = z.infer<typeof CheckpointApiResponse>;
@@ -18658,6 +19122,10 @@ declare const DataLinkTableInstanceApiResponse: z.ZodObject<{
18658
19122
  }, z.core.$strip>>;
18659
19123
  connection: z.ZodOptional<z.ZodObject<{
18660
19124
  id: z.ZodString;
19125
+ type: z.ZodOptional<z.ZodEnum<{
19126
+ connector: "connector";
19127
+ mcp: "mcp";
19128
+ }>>;
18661
19129
  name: z.ZodString;
18662
19130
  key: z.ZodOptional<z.ZodString>;
18663
19131
  isTest: z.ZodOptional<z.ZodBoolean>;
@@ -18694,6 +19162,11 @@ declare const DataLinkTableInstanceApiResponse: z.ZodObject<{
18694
19162
  uiUrl: z.ZodOptional<z.ZodString>;
18695
19163
  agentInstructions: z.ZodOptional<z.ZodString>;
18696
19164
  handoffAgentInstructions: z.ZodOptional<z.ZodString>;
19165
+ reason: z.ZodOptional<z.ZodEnum<{
19166
+ "provide-input": "provide-input";
19167
+ authenticate: "authenticate";
19168
+ reauthenticate: "reauthenticate";
19169
+ }>>;
18697
19170
  }, z.core.$strip>>;
18698
19171
  userId: z.ZodString;
18699
19172
  tenantId: z.ZodOptional<z.ZodString>;
@@ -19106,6 +19579,10 @@ declare const ExternalEventLogRecordApiResponse: z.ZodObject<{
19106
19579
  }, z.core.$strip>>;
19107
19580
  connection: z.ZodOptional<z.ZodObject<{
19108
19581
  id: z.ZodString;
19582
+ type: z.ZodOptional<z.ZodEnum<{
19583
+ connector: "connector";
19584
+ mcp: "mcp";
19585
+ }>>;
19109
19586
  name: z.ZodString;
19110
19587
  key: z.ZodOptional<z.ZodString>;
19111
19588
  isTest: z.ZodOptional<z.ZodBoolean>;
@@ -19142,6 +19619,11 @@ declare const ExternalEventLogRecordApiResponse: z.ZodObject<{
19142
19619
  uiUrl: z.ZodOptional<z.ZodString>;
19143
19620
  agentInstructions: z.ZodOptional<z.ZodString>;
19144
19621
  handoffAgentInstructions: z.ZodOptional<z.ZodString>;
19622
+ reason: z.ZodOptional<z.ZodEnum<{
19623
+ "provide-input": "provide-input";
19624
+ authenticate: "authenticate";
19625
+ reauthenticate: "reauthenticate";
19626
+ }>>;
19145
19627
  }, z.core.$strip>>;
19146
19628
  userId: z.ZodString;
19147
19629
  tenantId: z.ZodOptional<z.ZodString>;
@@ -19189,6 +19671,7 @@ declare const ExternalEventPullApiResponse: z.ZodObject<{
19189
19671
  isFullScan: z.ZodOptional<z.ZodBoolean>;
19190
19672
  status: z.ZodEnum<typeof ExternalEventPullStatus>;
19191
19673
  collectedEventIds: z.ZodArray<z.ZodString>;
19674
+ telemetryUri: z.ZodOptional<z.ZodString>;
19192
19675
  error: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
19193
19676
  user: z.ZodOptional<z.ZodObject<{
19194
19677
  id: z.ZodString;
@@ -19294,6 +19777,10 @@ declare const ExternalEventPullApiResponse: z.ZodObject<{
19294
19777
  }, z.core.$strip>>;
19295
19778
  connection: z.ZodOptional<z.ZodObject<{
19296
19779
  id: z.ZodString;
19780
+ type: z.ZodOptional<z.ZodEnum<{
19781
+ connector: "connector";
19782
+ mcp: "mcp";
19783
+ }>>;
19297
19784
  name: z.ZodString;
19298
19785
  key: z.ZodOptional<z.ZodString>;
19299
19786
  isTest: z.ZodOptional<z.ZodBoolean>;
@@ -19330,6 +19817,11 @@ declare const ExternalEventPullApiResponse: z.ZodObject<{
19330
19817
  uiUrl: z.ZodOptional<z.ZodString>;
19331
19818
  agentInstructions: z.ZodOptional<z.ZodString>;
19332
19819
  handoffAgentInstructions: z.ZodOptional<z.ZodString>;
19820
+ reason: z.ZodOptional<z.ZodEnum<{
19821
+ "provide-input": "provide-input";
19822
+ authenticate: "authenticate";
19823
+ reauthenticate: "reauthenticate";
19824
+ }>>;
19333
19825
  }, z.core.$strip>>;
19334
19826
  userId: z.ZodString;
19335
19827
  tenantId: z.ZodOptional<z.ZodString>;
@@ -19815,6 +20307,10 @@ declare const ExternalApiLogApiResponse: z.ZodObject<{
19815
20307
  }, z.core.$strip>>;
19816
20308
  connection: z.ZodOptional<z.ZodObject<{
19817
20309
  id: z.ZodString;
20310
+ type: z.ZodOptional<z.ZodEnum<{
20311
+ connector: "connector";
20312
+ mcp: "mcp";
20313
+ }>>;
19818
20314
  name: z.ZodString;
19819
20315
  key: z.ZodOptional<z.ZodString>;
19820
20316
  isTest: z.ZodOptional<z.ZodBoolean>;
@@ -19851,6 +20347,11 @@ declare const ExternalApiLogApiResponse: z.ZodObject<{
19851
20347
  uiUrl: z.ZodOptional<z.ZodString>;
19852
20348
  agentInstructions: z.ZodOptional<z.ZodString>;
19853
20349
  handoffAgentInstructions: z.ZodOptional<z.ZodString>;
20350
+ reason: z.ZodOptional<z.ZodEnum<{
20351
+ "provide-input": "provide-input";
20352
+ authenticate: "authenticate";
20353
+ reauthenticate: "reauthenticate";
20354
+ }>>;
19854
20355
  }, z.core.$strip>>;
19855
20356
  userId: z.ZodString;
19856
20357
  tenantId: z.ZodOptional<z.ZodString>;
@@ -19948,6 +20449,10 @@ declare const IncomingWebhookApiResponse: z.ZodObject<{
19948
20449
  }, z.core.$strip>>;
19949
20450
  connection: z.ZodOptional<z.ZodObject<{
19950
20451
  id: z.ZodString;
20452
+ type: z.ZodOptional<z.ZodEnum<{
20453
+ connector: "connector";
20454
+ mcp: "mcp";
20455
+ }>>;
19951
20456
  name: z.ZodString;
19952
20457
  key: z.ZodOptional<z.ZodString>;
19953
20458
  isTest: z.ZodOptional<z.ZodBoolean>;
@@ -19984,6 +20489,11 @@ declare const IncomingWebhookApiResponse: z.ZodObject<{
19984
20489
  uiUrl: z.ZodOptional<z.ZodString>;
19985
20490
  agentInstructions: z.ZodOptional<z.ZodString>;
19986
20491
  handoffAgentInstructions: z.ZodOptional<z.ZodString>;
20492
+ reason: z.ZodOptional<z.ZodEnum<{
20493
+ "provide-input": "provide-input";
20494
+ authenticate: "authenticate";
20495
+ reauthenticate: "reauthenticate";
20496
+ }>>;
19987
20497
  }, z.core.$strip>>;
19988
20498
  userId: z.ZodString;
19989
20499
  tenantId: z.ZodOptional<z.ZodString>;
@@ -20281,8 +20791,8 @@ declare const AgentSession: z.ZodObject<{
20281
20791
  id: z.ZodString;
20282
20792
  workspaceId: z.ZodString;
20283
20793
  orgWorkspaceId: z.ZodOptional<z.ZodString>;
20284
- workspaceElementType: z.ZodEnum<typeof WorkspaceElementType>;
20285
- workspaceElementId: z.ZodString;
20794
+ workspaceElementType: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementType>>;
20795
+ workspaceElementId: z.ZodOptional<z.ZodString>;
20286
20796
  type: z.ZodString;
20287
20797
  status: z.ZodEnum<typeof AgentSessionStatus>;
20288
20798
  prompt: z.ZodString;
@@ -20295,6 +20805,8 @@ declare const AgentSession: z.ZodObject<{
20295
20805
  hasWorker: z.ZodBoolean;
20296
20806
  isExternal: z.ZodOptional<z.ZodBoolean>;
20297
20807
  agentName: z.ZodOptional<z.ZodEnum<typeof AgentName>>;
20808
+ agentHarnessId: z.ZodOptional<z.ZodString>;
20809
+ agentHarnessSnapshotId: z.ZodOptional<z.ZodString>;
20298
20810
  output: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
20299
20811
  createdAt: z.ZodISODateTime;
20300
20812
  updatedAt: z.ZodISODateTime;
@@ -20325,6 +20837,7 @@ declare const CreateAgentSession: z.ZodObject<{
20325
20837
  "moonshotai/kimi-k2.5": "moonshotai/kimi-k2.5";
20326
20838
  }>>;
20327
20839
  agentName: z.ZodOptional<z.ZodEnum<typeof AgentName>>;
20840
+ agentHarnessId: z.ZodOptional<z.ZodString>;
20328
20841
  promptAttachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
20329
20842
  title: z.ZodString;
20330
20843
  data: z.ZodUnknown;
@@ -20409,6 +20922,7 @@ declare function parseMembraneElementPath(relativePath: string): {
20409
20922
  } | undefined;
20410
20923
  declare function getConnectorSpecPath(connectorUuid: string): string;
20411
20924
  declare function getConnectorVersionPath(connectorUuid: string, version: string): string;
20925
+ declare function getConnectorVersionSpecPath(connectorUuid: string, version: string): string;
20412
20926
 
20413
20927
  declare enum AlertStatus {
20414
20928
  ONGOING = "ongoing",
@@ -22101,10 +22615,20 @@ declare enum OrgUserRole {
22101
22615
  Member = "member",
22102
22616
  ReadOnly = "read-only"
22103
22617
  }
22618
+ declare enum UserWorkspaceRole {
22619
+ Admin = "admin",
22620
+ Member = "member",
22621
+ ReadOnly = "read-only"
22622
+ }
22104
22623
  declare enum OrgUserStatus {
22105
22624
  Invited = "invited",
22106
22625
  Active = "active"
22107
22626
  }
22627
+ declare const UserWorkspaceAccess: z.ZodObject<{
22628
+ workspaceId: z.ZodString;
22629
+ role: z.ZodEnum<typeof UserWorkspaceRole>;
22630
+ }, z.core.$strip>;
22631
+ type UserWorkspaceAccess = z.infer<typeof UserWorkspaceAccess>;
22108
22632
  interface OrgUser {
22109
22633
  id: string;
22110
22634
  orgId: string;
@@ -22112,6 +22636,7 @@ interface OrgUser {
22112
22636
  role: OrgUserRole;
22113
22637
  status: OrgUserStatus;
22114
22638
  workspaces: string[];
22639
+ workspacesWithRoles?: UserWorkspaceAccess[];
22115
22640
  user: PlatformUser;
22116
22641
  }
22117
22642
  interface OrgLimits {
@@ -23342,6 +23867,10 @@ declare const BaseOrgUser: z.ZodObject<{
23342
23867
  role: z.ZodString;
23343
23868
  status: z.ZodString;
23344
23869
  workspaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
23870
+ workspacesWithRoles: z.ZodOptional<z.ZodArray<z.ZodObject<{
23871
+ workspaceId: z.ZodString;
23872
+ role: z.ZodEnum<typeof UserWorkspaceRole>;
23873
+ }, z.core.$strip>>>;
23345
23874
  }, z.core.$strip>;
23346
23875
  type BaseOrgUser = z.infer<typeof BaseOrgUser>;
23347
23876
  declare const FullOrgUser: z.ZodObject<{
@@ -23350,7 +23879,10 @@ declare const FullOrgUser: z.ZodObject<{
23350
23879
  userId: z.ZodString;
23351
23880
  role: z.ZodString;
23352
23881
  status: z.ZodString;
23353
- workspaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
23882
+ workspacesWithRoles: z.ZodOptional<z.ZodArray<z.ZodObject<{
23883
+ workspaceId: z.ZodString;
23884
+ role: z.ZodEnum<typeof UserWorkspaceRole>;
23885
+ }, z.core.$strip>>>;
23354
23886
  user: z.ZodObject<{
23355
23887
  id: z.ZodString;
23356
23888
  auth0Id: z.ZodOptional<z.ZodString>;
@@ -23408,98 +23940,7 @@ declare const FullOrgUser: z.ZodObject<{
23408
23940
  engineAutoChargeMonthlyLimit: z.ZodOptional<z.ZodNumber>;
23409
23941
  currentUserCanLeave: z.ZodOptional<z.ZodBoolean>;
23410
23942
  }, 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<{
23943
+ workspaces: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
23503
23944
  id: z.ZodString;
23504
23945
  name: z.ZodString;
23505
23946
  orgId: z.ZodString;
@@ -23990,57 +24431,648 @@ declare const ListOrgWorkspacesResponse: z.ZodObject<{
23990
24431
  jwksUri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23991
24432
  type: z.ZodOptional<z.ZodEnum<typeof WorkspaceType>>;
23992
24433
  isReadOnly: z.ZodOptional<z.ZodBoolean>;
23993
- }, z.core.$strip>>;
23994
- cursor: z.ZodOptional<z.ZodString>;
24434
+ }, z.core.$strip>>, z.ZodArray<z.ZodString>]>>;
23995
24435
  }, 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>;
24436
+ type FullOrgUser = z.infer<typeof FullOrgUser>;
24437
+ declare const CreateOrgUserRequest: z.ZodObject<{
24438
+ email: z.ZodString;
24439
+ workspaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
24440
+ workspacesWithRoles: z.ZodOptional<z.ZodArray<z.ZodObject<{
24441
+ workspaceId: z.ZodString;
24442
+ role: z.ZodEnum<typeof UserWorkspaceRole>;
24443
+ }, z.core.$strip>>>;
24002
24444
  }, z.core.$strip>;
24003
- type CreateOrgWorkspaceRequest = z.infer<typeof CreateOrgWorkspaceRequest>;
24004
- declare const RotateOrgWorkspaceSecretResponse: z.ZodObject<{
24005
- secret: z.ZodString;
24445
+ type CreateOrgUserRequest = z.infer<typeof CreateOrgUserRequest>;
24446
+ declare const UpdateOrgUserRequest: z.ZodObject<{
24447
+ role: z.ZodOptional<z.ZodEnum<typeof OrgUserRole>>;
24448
+ status: z.ZodOptional<z.ZodEnum<typeof OrgUserStatus>>;
24449
+ workspaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
24450
+ workspacesWithRoles: z.ZodOptional<z.ZodArray<z.ZodObject<{
24451
+ workspaceId: z.ZodString;
24452
+ role: z.ZodEnum<typeof UserWorkspaceRole>;
24453
+ }, z.core.$strip>>>;
24006
24454
  }, 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<{
24455
+ type UpdateOrgUserRequest = z.infer<typeof UpdateOrgUserRequest>;
24456
+ declare const OrgInvitation: z.ZodObject<{
24457
+ id: z.ZodString;
24458
+ orgId: z.ZodString;
24459
+ org: z.ZodObject<{
24028
24460
  id: z.ZodString;
24029
- name: z.ZodString;
24030
- orgId: z.ZodString;
24031
- apiBaseUri: z.ZodOptional<z.ZodString>;
24032
24461
  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>;
24462
+ name: z.ZodString;
24463
+ plan: z.ZodOptional<z.ZodEnum<typeof OrgPlan>>;
24464
+ createdAt: z.ZodCoercedDate<unknown>;
24465
+ updatedAt: z.ZodCoercedDate<unknown>;
24037
24466
  trialEndDate: z.ZodOptional<z.ZodString>;
24467
+ lastTrialExtensionDate: z.ZodOptional<z.ZodString>;
24468
+ limits: z.ZodOptional<z.ZodObject<{
24469
+ numberOfWorkspaces: z.ZodOptional<z.ZodNumber>;
24470
+ todayUsage: z.ZodOptional<z.ZodNumber>;
24471
+ lastThirtyDayUsage: z.ZodOptional<z.ZodNumber>;
24472
+ membraneAgentLastThirtyDaysUsage: z.ZodOptional<z.ZodNumber>;
24473
+ membraneExpertCreditsCapPerMonth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
24474
+ defaultTenantAiCreditsRolling30DayLimit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
24475
+ }, z.core.$strip>>;
24476
+ thirtyDayTotalCredits: z.ZodOptional<z.ZodNumber>;
24477
+ lastThirtyDayUsagePercent: z.ZodOptional<z.ZodNumber>;
24478
+ todayUsagePercent: z.ZodOptional<z.ZodNumber>;
24479
+ domains: z.ZodOptional<z.ZodArray<z.ZodString>>;
24038
24480
  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>;
24481
+ freeAiCredits: z.ZodOptional<z.ZodNumber>;
24482
+ paidAiCredits: z.ZodOptional<z.ZodNumber>;
24483
+ freeAiMonthlyCredits: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
24484
+ stripeCustomerId: z.ZodOptional<z.ZodString>;
24485
+ autoChargeEnabled: z.ZodOptional<z.ZodBoolean>;
24486
+ autoChargeThreshold: z.ZodOptional<z.ZodNumber>;
24487
+ autoChargePurchaseAmount: z.ZodOptional<z.ZodNumber>;
24488
+ autoChargeMonthlyLimit: z.ZodOptional<z.ZodNumber>;
24489
+ freeEngineCredits: z.ZodOptional<z.ZodNumber>;
24490
+ paidEngineCredits: z.ZodOptional<z.ZodNumber>;
24491
+ freeEngineMonthlyCredits: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
24492
+ engineAutoChargeEnabled: z.ZodOptional<z.ZodBoolean>;
24493
+ engineAutoChargeThreshold: z.ZodOptional<z.ZodNumber>;
24494
+ engineAutoChargePurchaseAmount: z.ZodOptional<z.ZodNumber>;
24495
+ engineAutoChargeMonthlyLimit: z.ZodOptional<z.ZodNumber>;
24496
+ currentUserCanLeave: z.ZodOptional<z.ZodBoolean>;
24497
+ }, z.core.$strip>;
24498
+ name: z.ZodString;
24499
+ workspaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
24500
+ uuid: z.ZodString;
24501
+ email: z.ZodOptional<z.ZodString>;
24502
+ }, z.core.$strip>;
24503
+ type OrgInvitation = z.infer<typeof OrgInvitation>;
24504
+ declare const UpdateOrgInvitationRequest: z.ZodObject<{
24505
+ name: z.ZodOptional<z.ZodString>;
24506
+ workspaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
24507
+ }, z.core.$strip>;
24508
+ type UpdateOrgInvitationRequest = z.infer<typeof UpdateOrgInvitationRequest>;
24509
+ declare const CreateOrgInvitationRequest: z.ZodObject<{
24510
+ name: z.ZodOptional<z.ZodString>;
24511
+ workspaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
24512
+ email: z.ZodOptional<z.ZodString>;
24513
+ }, z.core.$strip>;
24514
+ type CreateOrgInvitationRequest = z.infer<typeof CreateOrgInvitationRequest>;
24515
+ declare const FindOrgsQuery: z.ZodObject<{
24516
+ search: z.ZodOptional<z.ZodString>;
24517
+ myOrgs: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
24518
+ }, z.core.$strip>;
24519
+ type FindOrgsQuery = z.infer<typeof FindOrgsQuery>;
24520
+ declare const FindOrgWorkspacesQuery: z.ZodObject<{
24521
+ search: z.ZodOptional<z.ZodString>;
24522
+ cursor: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
24523
+ limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
24524
+ }, z.core.$strip>;
24525
+ type FindOrgWorkspacesQuery = z.infer<typeof FindOrgWorkspacesQuery>;
24526
+ declare const ListOrgWorkspacesQuery: z.ZodObject<{
24527
+ search: z.ZodOptional<z.ZodString>;
24528
+ cursor: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
24529
+ limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
24530
+ orgId: z.ZodOptional<z.ZodString>;
24531
+ }, z.core.$strip>;
24532
+ type ListOrgWorkspacesQuery = z.infer<typeof ListOrgWorkspacesQuery>;
24533
+ declare const ListOrgWorkspacesResponse: z.ZodObject<{
24534
+ items: z.ZodArray<z.ZodObject<{
24535
+ id: z.ZodString;
24536
+ name: z.ZodString;
24537
+ orgId: z.ZodString;
24538
+ apiBaseUri: z.ZodOptional<z.ZodString>;
24539
+ key: z.ZodString;
24540
+ secret: z.ZodString;
24541
+ createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>>;
24542
+ updatedAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>>;
24543
+ engineAccessToken: z.ZodOptional<z.ZodString>;
24544
+ trialEndDate: z.ZodOptional<z.ZodString>;
24545
+ featureFlags: z.ZodOptional<z.ZodArray<z.ZodString>>;
24546
+ logoUri: z.ZodOptional<z.ZodString>;
24547
+ membraneInstanceId: z.ZodOptional<z.ZodString>;
24548
+ operatorLimits: z.ZodOptional<z.ZodObject<{
24549
+ parallelEventPulls: z.ZodOptional<z.ZodObject<{
24550
+ value: z.ZodOptional<z.ZodNumber>;
24551
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24552
+ unit: z.ZodEnum<typeof LimitUnits>;
24553
+ }, z.core.$strip>>;
24554
+ parallelIncrementalEventPullsPerConnection: z.ZodOptional<z.ZodObject<{
24555
+ value: z.ZodOptional<z.ZodNumber>;
24556
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24557
+ unit: z.ZodEnum<typeof LimitUnits>;
24558
+ }, z.core.$strip>>;
24559
+ parallelFullSyncEventPullsPerConnection: z.ZodOptional<z.ZodObject<{
24560
+ value: z.ZodOptional<z.ZodNumber>;
24561
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24562
+ unit: z.ZodEnum<typeof LimitUnits>;
24563
+ }, z.core.$strip>>;
24564
+ parallelFlowRuns: z.ZodOptional<z.ZodObject<{
24565
+ value: z.ZodOptional<z.ZodNumber>;
24566
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24567
+ unit: z.ZodEnum<typeof LimitUnits>;
24568
+ }, z.core.$strip>>;
24569
+ parallelFlowRunsPerConnection: 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
+ parallelApiRequests: 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
+ parallelSseRequests: 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
+ parallelBackgroundJobs: 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
+ parallelEventProcessingJobs: 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
+ parallelEventProcessingJobsPerConnection: 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
+ parallelInstantTasksActiveJobs: 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
+ parallelAgentSessions: 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
+ parallelCustomCodeRuns: 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
+ ParallelWriteDatabaseRequests: 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
+ fileUploadsMbPerHour: 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
+ apiRequestsPerSecond: 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
+ apiRequestsPerHour: 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
+ webhookRequestsPerSecond: 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
+ webhookRequestsPerHour: 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
+ workspaceElementCreationsPerSecond: 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
+ workspaceElementCreationsPerHour: 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
+ workspaceElementSearchIndexingPerMinute: 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
+ mcpOAuthAuthorizationsPerHour: 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
+ mcpOAuthTokensPerHour: 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
+ totalNumberOfCustomers: 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
+ totalNumberOfConnections: 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
+ totalNumberOfWorkspaceElements: 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
+ totalNumberOfWorkspaceDatabaseRecords: 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
+ flowRunsQueueSizePerConnection: 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
+ instantTasksQueueSize: 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
+ QueuedTasksQueueSize: 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
+ parallelApiRequestsPerCustomer: 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
+ parallelBackgroundJobsPerCustomer: 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
+ parallelCustomCodeRunsPerCustomer: 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
+ totalNumberOfDatabaseEntitiesPerCustomer: 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
+ apiRequestsPerCustomerPerSecond: 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
+ apiRequestsPerCustomerPerHour: 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
+ webhookRequestsPerCustomerPerSecond: 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
+ webhookRequestsPerCustomerPerHour: 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
+ externalEventsPerCustomerPerDay: 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
+ defaultTenantAiCreditsRolling30DayLimit: 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
+ }, z.core.$strip>>;
24755
+ operatorLimitsSyncedAt: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>>>;
24756
+ operatorLimitsSyncError: z.ZodOptional<z.ZodString>;
24757
+ limits: z.ZodOptional<z.ZodObject<{
24758
+ parallelEventPulls: z.ZodOptional<z.ZodObject<{
24759
+ value: z.ZodOptional<z.ZodNumber>;
24760
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24761
+ unit: z.ZodEnum<typeof LimitUnits>;
24762
+ }, z.core.$strip>>;
24763
+ parallelIncrementalEventPullsPerConnection: z.ZodOptional<z.ZodObject<{
24764
+ value: z.ZodOptional<z.ZodNumber>;
24765
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24766
+ unit: z.ZodEnum<typeof LimitUnits>;
24767
+ }, z.core.$strip>>;
24768
+ parallelFullSyncEventPullsPerConnection: z.ZodOptional<z.ZodObject<{
24769
+ value: z.ZodOptional<z.ZodNumber>;
24770
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24771
+ unit: z.ZodEnum<typeof LimitUnits>;
24772
+ }, z.core.$strip>>;
24773
+ parallelFlowRuns: z.ZodOptional<z.ZodObject<{
24774
+ value: z.ZodOptional<z.ZodNumber>;
24775
+ defaultValue: z.ZodOptional<z.ZodNumber>;
24776
+ unit: z.ZodEnum<typeof LimitUnits>;
24777
+ }, z.core.$strip>>;
24778
+ parallelFlowRunsPerConnection: 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
+ parallelApiRequests: 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
+ parallelSseRequests: 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
+ parallelBackgroundJobs: 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
+ parallelEventProcessingJobs: 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
+ parallelEventProcessingJobsPerConnection: 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
+ parallelInstantTasksActiveJobs: 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
+ parallelAgentSessions: 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
+ parallelCustomCodeRuns: 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
+ ParallelWriteDatabaseRequests: 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
+ fileUploadsMbPerHour: 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
+ apiRequestsPerSecond: 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
+ apiRequestsPerHour: 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
+ webhookRequestsPerSecond: 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
+ webhookRequestsPerHour: 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
+ workspaceElementCreationsPerSecond: 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
+ workspaceElementCreationsPerHour: 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
+ workspaceElementSearchIndexingPerMinute: 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
+ mcpOAuthAuthorizationsPerHour: 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
+ mcpOAuthTokensPerHour: 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
+ totalNumberOfCustomers: 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
+ totalNumberOfConnections: 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
+ totalNumberOfWorkspaceElements: 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
+ totalNumberOfWorkspaceDatabaseRecords: 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
+ flowRunsQueueSizePerConnection: 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
+ instantTasksQueueSize: 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
+ QueuedTasksQueueSize: 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
+ parallelApiRequestsPerCustomer: 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
+ parallelBackgroundJobsPerCustomer: 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
+ parallelCustomCodeRunsPerCustomer: 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
+ totalNumberOfDatabaseEntitiesPerCustomer: 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
+ apiRequestsPerCustomerPerSecond: 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
+ apiRequestsPerCustomerPerHour: 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
+ webhookRequestsPerCustomerPerSecond: 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
+ webhookRequestsPerCustomerPerHour: 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
+ externalEventsPerCustomerPerDay: 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
+ defaultTenantAiCreditsRolling30DayLimit: 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
+ }, z.core.$strip>>;
24964
+ settings: z.ZodOptional<z.ZodObject<{
24965
+ enableApiLogs: z.ZodOptional<z.ZodBoolean>;
24966
+ enableWebhookLogs: z.ZodOptional<z.ZodBoolean>;
24967
+ enableActionRunLogs: z.ZodOptional<z.ZodBoolean>;
24968
+ disableSecretKeyAuth: z.ZodOptional<z.ZodBoolean>;
24969
+ useMembraneUniverse: z.ZodOptional<z.ZodBoolean>;
24970
+ useRemoteRepository: z.ZodOptional<z.ZodBoolean>;
24971
+ autoGenerateIntegrationsFromConnectors: z.ZodOptional<z.ZodBoolean>;
24972
+ autoGenerateIntegrationsFromExternalApps: z.ZodOptional<z.ZodBoolean>;
24973
+ autoGenerateIntegrationsFromWebSearch: z.ZodOptional<z.ZodBoolean>;
24974
+ }, z.core.$strip>>;
24975
+ publicKeys: z.ZodOptional<z.ZodArray<z.ZodObject<{
24976
+ name: z.ZodString;
24977
+ publicKey: z.ZodString;
24978
+ }, z.core.$strip>>>;
24979
+ userFieldsSchema: z.ZodOptional<z.ZodAny>;
24980
+ webhookUri: z.ZodOptional<z.ZodString>;
24981
+ enabledWebhookEvents: z.ZodOptional<z.ZodArray<z.ZodString>>;
24982
+ alertDeliverySettings: z.ZodOptional<z.ZodObject<{
24983
+ alertTypes: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
24984
+ fileUploadsMbPerHour: AlertType.fileUploadsMbPerHour;
24985
+ apiRequestsPerSecond: AlertType.apiRequestsPerSecond;
24986
+ apiRequestsPerHour: AlertType.apiRequestsPerHour;
24987
+ webhookRequestsPerSecond: AlertType.webhookRequestsPerSecond;
24988
+ webhookRequestsPerHour: AlertType.webhookRequestsPerHour;
24989
+ workspaceElementCreationsPerSecond: AlertType.workspaceElementCreationsPerSecond;
24990
+ workspaceElementCreationsPerHour: AlertType.workspaceElementCreationsPerHour;
24991
+ workspaceElementSearchIndexingPerMinute: AlertType.workspaceElementSearchIndexingPerMinute;
24992
+ externalEventsPerCustomerPerDay: AlertType.externalEventsPerCustomerPerDay;
24993
+ apiRequestsPerCustomerPerSecond: AlertType.apiRequestsPerCustomerPerSecond;
24994
+ apiRequestsPerCustomerPerHour: AlertType.apiRequestsPerCustomerPerHour;
24995
+ webhookRequestsPerCustomerPerSecond: AlertType.webhookRequestsPerCustomerPerSecond;
24996
+ webhookRequestsPerCustomerPerHour: AlertType.webhookRequestsPerCustomerPerHour;
24997
+ parallelApiRequestsPerCustomer: AlertType.parallelApiRequestsPerCustomer;
24998
+ engineCreditsExhaustionProjected: AlertType.engineCreditsExhaustionProjected;
24999
+ engineCreditsExhaustionActual: AlertType.engineCreditsExhaustionActual;
25000
+ aiCreditsDebtAccumulated: AlertType.aiCreditsDebtAccumulated;
25001
+ totalNumberOfDatabaseEntitiesPerCustomer: AlertType.totalNumberOfDatabaseEntitiesPerCustomer;
25002
+ totalNumberOfCustomers: AlertType.totalNumberOfCustomers;
25003
+ totalNumberOfConnections: AlertType.totalNumberOfConnections;
25004
+ totalNumberOfWorkspaceElements: AlertType.totalNumberOfWorkspaceElements;
25005
+ totalNumberOfWorkspaceDatabaseRecords: AlertType.totalNumberOfWorkspaceDatabaseRecords;
25006
+ instantTasksQueueSize: AlertType.instantTasksQueueSize;
25007
+ queuedTasksQueueSize: AlertType.queuedTasksQueueSize;
25008
+ flowRunsQueueSizePerConnection: AlertType.flowRunsQueueSizePerConnection;
25009
+ eventsProcessingQueueSizePerConnection: AlertType.eventsProcessingQueueSizePerConnection;
25010
+ parallelApiRequests: AlertType.parallelApiRequests;
25011
+ testAlert: AlertType.testAlert;
25012
+ }>, z.ZodOptional<z.ZodObject<{
25013
+ internal: z.ZodLiteral<true>;
25014
+ webhook: z.ZodOptional<z.ZodObject<{
25015
+ enabled: z.ZodBoolean;
25016
+ }, z.core.$strip>>;
25017
+ email: z.ZodOptional<z.ZodObject<{
25018
+ enabled: z.ZodBoolean;
25019
+ }, z.core.$strip>>;
25020
+ }, z.core.$strip>>>>;
25021
+ }, z.core.$strip>>;
25022
+ jwksUri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25023
+ type: z.ZodOptional<z.ZodEnum<typeof WorkspaceType>>;
25024
+ isReadOnly: z.ZodOptional<z.ZodBoolean>;
25025
+ }, z.core.$strip>>;
25026
+ cursor: z.ZodOptional<z.ZodString>;
25027
+ }, z.core.$strip>;
25028
+ type ListOrgWorkspacesResponse = z.infer<typeof ListOrgWorkspacesResponse>;
25029
+ declare const CreateOrgWorkspaceRequest: z.ZodObject<{
25030
+ name: z.ZodOptional<z.ZodString>;
25031
+ logoUri: z.ZodOptional<z.ZodString>;
25032
+ orgId: z.ZodString;
25033
+ membraneInstanceId: z.ZodOptional<z.ZodString>;
25034
+ }, z.core.$strip>;
25035
+ type CreateOrgWorkspaceRequest = z.infer<typeof CreateOrgWorkspaceRequest>;
25036
+ declare const RotateOrgWorkspaceSecretResponse: z.ZodObject<{
25037
+ secret: z.ZodString;
25038
+ }, z.core.$strip>;
25039
+ type RotateOrgWorkspaceSecretResponse = z.infer<typeof RotateOrgWorkspaceSecretResponse>;
25040
+ declare const AccountResponse: z.ZodObject<{
25041
+ user: z.ZodOptional<z.ZodObject<{
25042
+ id: z.ZodString;
25043
+ auth0Id: z.ZodOptional<z.ZodString>;
25044
+ email: z.ZodString;
25045
+ name: z.ZodString;
25046
+ defaultAccountId: z.ZodOptional<z.ZodString>;
25047
+ defaultWorkspaceId: z.ZodOptional<z.ZodString>;
25048
+ isAdmin: z.ZodOptional<z.ZodBoolean>;
25049
+ trialRequested: z.ZodBoolean;
25050
+ pat: z.ZodOptional<z.ZodString>;
25051
+ isEligible: z.ZodOptional<z.ZodBoolean>;
25052
+ ineligibilityReason: z.ZodOptional<z.ZodEnum<{
25053
+ disposable: "disposable";
25054
+ blockedDomain: "blockedDomain";
25055
+ }>>;
25056
+ emailVerified: z.ZodOptional<z.ZodBoolean>;
25057
+ isCompanyEmail: z.ZodOptional<z.ZodBoolean>;
25058
+ }, z.core.$strip>>;
25059
+ workspace: z.ZodOptional<z.ZodObject<{
25060
+ id: z.ZodString;
25061
+ name: z.ZodString;
25062
+ orgId: z.ZodString;
25063
+ apiBaseUri: z.ZodOptional<z.ZodString>;
25064
+ key: z.ZodString;
25065
+ secret: z.ZodString;
25066
+ createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>>;
25067
+ updatedAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>>;
25068
+ engineAccessToken: z.ZodOptional<z.ZodString>;
25069
+ trialEndDate: z.ZodOptional<z.ZodString>;
25070
+ featureFlags: z.ZodOptional<z.ZodArray<z.ZodString>>;
25071
+ logoUri: z.ZodOptional<z.ZodString>;
25072
+ membraneInstanceId: z.ZodOptional<z.ZodString>;
25073
+ operatorLimits: z.ZodOptional<z.ZodObject<{
25074
+ parallelEventPulls: z.ZodOptional<z.ZodObject<{
25075
+ value: z.ZodOptional<z.ZodNumber>;
24044
25076
  defaultValue: z.ZodOptional<z.ZodNumber>;
24045
25077
  unit: z.ZodEnum<typeof LimitUnits>;
24046
25078
  }, z.core.$strip>>;
@@ -26004,6 +27036,7 @@ declare const ScenarioTemplate: z.ZodObject<{
26004
27036
  key: z.ZodString;
26005
27037
  name: z.ZodString;
26006
27038
  logoUri: z.ZodString;
27039
+ appUri: z.ZodOptional<z.ZodString>;
26007
27040
  isPublic: z.ZodOptional<z.ZodBoolean>;
26008
27041
  tenantId: z.ZodOptional<z.ZodString>;
26009
27042
  }, z.core.$strip>>>;
@@ -26087,6 +27120,268 @@ interface HandyScenarioTemplateElementApi {
26087
27120
  } & Record<string, any>;
26088
27121
  }
26089
27122
 
27123
+ declare const AgentHarness: z.ZodObject<{
27124
+ id: z.ZodString;
27125
+ workspaceId: z.ZodString;
27126
+ name: z.ZodString;
27127
+ key: z.ZodString;
27128
+ description: z.ZodOptional<z.ZodString>;
27129
+ systemPrompt: z.ZodOptional<z.ZodString>;
27130
+ defaultModel: z.ZodEnum<{
27131
+ "anthropic/claude-sonnet-4.6": "anthropic/claude-sonnet-4.6";
27132
+ "anthropic/claude-opus-4.6": "anthropic/claude-opus-4.6";
27133
+ "anthropic/claude-sonnet-4.5": "anthropic/claude-sonnet-4.5";
27134
+ "anthropic/claude-opus-4.5": "anthropic/claude-opus-4.5";
27135
+ "anthropic/claude-haiku-4.5": "anthropic/claude-haiku-4.5";
27136
+ "openai/gpt-5.2": "openai/gpt-5.2";
27137
+ "openai/gpt-5-nano": "openai/gpt-5-nano";
27138
+ "google/gemini-3-pro-preview": "google/gemini-3-pro-preview";
27139
+ "moonshotai/kimi-k2.5": "moonshotai/kimi-k2.5";
27140
+ }>;
27141
+ toolIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
27142
+ skillIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
27143
+ instructionIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
27144
+ tools: z.ZodDefault<z.ZodArray<z.ZodObject<{
27145
+ id: z.ZodString;
27146
+ name: z.ZodString;
27147
+ description: z.ZodString;
27148
+ enabledByDefault: z.ZodDefault<z.ZodBoolean>;
27149
+ }, z.core.$strip>>>;
27150
+ skills: z.ZodDefault<z.ZodArray<z.ZodObject<{
27151
+ id: z.ZodString;
27152
+ workspaceId: z.ZodString;
27153
+ name: z.ZodString;
27154
+ key: z.ZodString;
27155
+ description: z.ZodString;
27156
+ body: z.ZodString;
27157
+ sourceUrl: z.ZodOptional<z.ZodURL>;
27158
+ revision: z.ZodOptional<z.ZodString>;
27159
+ archivedAt: z.ZodOptional<z.ZodISODateTime>;
27160
+ createdAt: z.ZodOptional<z.ZodISODateTime>;
27161
+ updatedAt: z.ZodOptional<z.ZodISODateTime>;
27162
+ }, z.core.$strip>>>;
27163
+ instructions: z.ZodDefault<z.ZodArray<z.ZodObject<{
27164
+ id: z.ZodString;
27165
+ workspaceId: z.ZodString;
27166
+ name: z.ZodString;
27167
+ key: z.ZodString;
27168
+ text: z.ZodString;
27169
+ revision: z.ZodOptional<z.ZodString>;
27170
+ archivedAt: z.ZodOptional<z.ZodISODateTime>;
27171
+ createdAt: z.ZodOptional<z.ZodISODateTime>;
27172
+ updatedAt: z.ZodOptional<z.ZodISODateTime>;
27173
+ }, z.core.$strip>>>;
27174
+ revision: z.ZodOptional<z.ZodString>;
27175
+ archivedAt: z.ZodOptional<z.ZodISODateTime>;
27176
+ createdAt: z.ZodOptional<z.ZodISODateTime>;
27177
+ updatedAt: z.ZodOptional<z.ZodISODateTime>;
27178
+ }, z.core.$strip>;
27179
+ type AgentHarness = z.infer<typeof AgentHarness>;
27180
+ declare const CreateAgentHarnessRequest: z.ZodObject<{
27181
+ name: z.ZodString;
27182
+ key: z.ZodOptional<z.ZodString>;
27183
+ description: z.ZodOptional<z.ZodString>;
27184
+ systemPrompt: z.ZodOptional<z.ZodString>;
27185
+ defaultModel: z.ZodEnum<{
27186
+ "anthropic/claude-sonnet-4.6": "anthropic/claude-sonnet-4.6";
27187
+ "anthropic/claude-opus-4.6": "anthropic/claude-opus-4.6";
27188
+ "anthropic/claude-sonnet-4.5": "anthropic/claude-sonnet-4.5";
27189
+ "anthropic/claude-opus-4.5": "anthropic/claude-opus-4.5";
27190
+ "anthropic/claude-haiku-4.5": "anthropic/claude-haiku-4.5";
27191
+ "openai/gpt-5.2": "openai/gpt-5.2";
27192
+ "openai/gpt-5-nano": "openai/gpt-5-nano";
27193
+ "google/gemini-3-pro-preview": "google/gemini-3-pro-preview";
27194
+ "moonshotai/kimi-k2.5": "moonshotai/kimi-k2.5";
27195
+ }>;
27196
+ toolIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
27197
+ skillIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
27198
+ instructionIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
27199
+ }, z.core.$strip>;
27200
+ type CreateAgentHarnessRequest = z.infer<typeof CreateAgentHarnessRequest>;
27201
+ declare const UpdateAgentHarnessRequest: z.ZodObject<{
27202
+ name: z.ZodOptional<z.ZodString>;
27203
+ key: z.ZodOptional<z.ZodOptional<z.ZodString>>;
27204
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
27205
+ systemPrompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
27206
+ defaultModel: z.ZodOptional<z.ZodEnum<{
27207
+ "anthropic/claude-sonnet-4.6": "anthropic/claude-sonnet-4.6";
27208
+ "anthropic/claude-opus-4.6": "anthropic/claude-opus-4.6";
27209
+ "anthropic/claude-sonnet-4.5": "anthropic/claude-sonnet-4.5";
27210
+ "anthropic/claude-opus-4.5": "anthropic/claude-opus-4.5";
27211
+ "anthropic/claude-haiku-4.5": "anthropic/claude-haiku-4.5";
27212
+ "openai/gpt-5.2": "openai/gpt-5.2";
27213
+ "openai/gpt-5-nano": "openai/gpt-5-nano";
27214
+ "google/gemini-3-pro-preview": "google/gemini-3-pro-preview";
27215
+ "moonshotai/kimi-k2.5": "moonshotai/kimi-k2.5";
27216
+ }>>;
27217
+ toolIds: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
27218
+ skillIds: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
27219
+ instructionIds: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
27220
+ }, z.core.$strip>;
27221
+ type UpdateAgentHarnessRequest = z.infer<typeof UpdateAgentHarnessRequest>;
27222
+ declare const FindAgentHarnessQuery: z.ZodObject<{
27223
+ limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
27224
+ cursor: z.ZodOptional<z.ZodString>;
27225
+ search: z.ZodOptional<z.ZodString>;
27226
+ includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
27227
+ }, z.core.$strip>;
27228
+ type FindAgentHarnessQuery = z.infer<typeof FindAgentHarnessQuery>;
27229
+
27230
+ declare const AgentHarnessSnapshot: z.ZodObject<{
27231
+ id: z.ZodString;
27232
+ workspaceId: z.ZodString;
27233
+ agentHarnessId: z.ZodString;
27234
+ agentHarnessRevision: z.ZodOptional<z.ZodString>;
27235
+ name: z.ZodString;
27236
+ key: z.ZodString;
27237
+ description: z.ZodOptional<z.ZodString>;
27238
+ systemPrompt: z.ZodDefault<z.ZodString>;
27239
+ defaultModel: z.ZodEnum<{
27240
+ "anthropic/claude-sonnet-4.6": "anthropic/claude-sonnet-4.6";
27241
+ "anthropic/claude-opus-4.6": "anthropic/claude-opus-4.6";
27242
+ "anthropic/claude-sonnet-4.5": "anthropic/claude-sonnet-4.5";
27243
+ "anthropic/claude-opus-4.5": "anthropic/claude-opus-4.5";
27244
+ "anthropic/claude-haiku-4.5": "anthropic/claude-haiku-4.5";
27245
+ "openai/gpt-5.2": "openai/gpt-5.2";
27246
+ "openai/gpt-5-nano": "openai/gpt-5-nano";
27247
+ "google/gemini-3-pro-preview": "google/gemini-3-pro-preview";
27248
+ "moonshotai/kimi-k2.5": "moonshotai/kimi-k2.5";
27249
+ }>;
27250
+ hash: z.ZodOptional<z.ZodString>;
27251
+ toolIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
27252
+ tools: z.ZodDefault<z.ZodArray<z.ZodObject<{
27253
+ id: z.ZodString;
27254
+ name: z.ZodString;
27255
+ description: z.ZodString;
27256
+ enabledByDefault: z.ZodDefault<z.ZodBoolean>;
27257
+ }, z.core.$strip>>>;
27258
+ skillIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
27259
+ skills: z.ZodDefault<z.ZodArray<z.ZodObject<{
27260
+ id: z.ZodString;
27261
+ workspaceId: z.ZodString;
27262
+ name: z.ZodString;
27263
+ key: z.ZodString;
27264
+ description: z.ZodString;
27265
+ body: z.ZodString;
27266
+ sourceUrl: z.ZodOptional<z.ZodURL>;
27267
+ revision: z.ZodOptional<z.ZodString>;
27268
+ archivedAt: z.ZodOptional<z.ZodISODateTime>;
27269
+ createdAt: z.ZodOptional<z.ZodISODateTime>;
27270
+ updatedAt: z.ZodOptional<z.ZodISODateTime>;
27271
+ }, z.core.$strip>>>;
27272
+ instructionIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
27273
+ instructions: z.ZodDefault<z.ZodArray<z.ZodObject<{
27274
+ id: z.ZodString;
27275
+ workspaceId: z.ZodString;
27276
+ name: z.ZodString;
27277
+ key: z.ZodString;
27278
+ text: z.ZodString;
27279
+ revision: z.ZodOptional<z.ZodString>;
27280
+ archivedAt: z.ZodOptional<z.ZodISODateTime>;
27281
+ createdAt: z.ZodOptional<z.ZodISODateTime>;
27282
+ updatedAt: z.ZodOptional<z.ZodISODateTime>;
27283
+ }, z.core.$strip>>>;
27284
+ createdAt: z.ZodOptional<z.ZodISODateTime>;
27285
+ updatedAt: z.ZodOptional<z.ZodISODateTime>;
27286
+ }, z.core.$strip>;
27287
+ type AgentHarnessSnapshot = z.infer<typeof AgentHarnessSnapshot>;
27288
+ declare const FindAgentHarnessSnapshotQuery: z.ZodObject<{
27289
+ limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
27290
+ cursor: z.ZodOptional<z.ZodString>;
27291
+ agentHarnessId: z.ZodOptional<z.ZodString>;
27292
+ }, z.core.$strip>;
27293
+ type FindAgentHarnessSnapshotQuery = z.infer<typeof FindAgentHarnessSnapshotQuery>;
27294
+
27295
+ declare const AgentInstruction: z.ZodObject<{
27296
+ id: z.ZodString;
27297
+ workspaceId: z.ZodString;
27298
+ name: z.ZodString;
27299
+ key: z.ZodString;
27300
+ text: z.ZodString;
27301
+ revision: z.ZodOptional<z.ZodString>;
27302
+ archivedAt: z.ZodOptional<z.ZodISODateTime>;
27303
+ createdAt: z.ZodOptional<z.ZodISODateTime>;
27304
+ updatedAt: z.ZodOptional<z.ZodISODateTime>;
27305
+ }, z.core.$strip>;
27306
+ type AgentInstruction = z.infer<typeof AgentInstruction>;
27307
+ declare const CreateAgentInstructionRequest: z.ZodObject<{
27308
+ name: z.ZodString;
27309
+ key: z.ZodOptional<z.ZodString>;
27310
+ text: z.ZodString;
27311
+ }, z.core.$strip>;
27312
+ type CreateAgentInstructionRequest = z.infer<typeof CreateAgentInstructionRequest>;
27313
+ declare const UpdateAgentInstructionRequest: z.ZodObject<{
27314
+ name: z.ZodOptional<z.ZodString>;
27315
+ key: z.ZodOptional<z.ZodOptional<z.ZodString>>;
27316
+ text: z.ZodOptional<z.ZodString>;
27317
+ }, z.core.$strip>;
27318
+ type UpdateAgentInstructionRequest = z.infer<typeof UpdateAgentInstructionRequest>;
27319
+ declare const FindAgentInstructionQuery: z.ZodObject<{
27320
+ limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
27321
+ cursor: z.ZodOptional<z.ZodString>;
27322
+ search: z.ZodOptional<z.ZodString>;
27323
+ includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
27324
+ }, z.core.$strip>;
27325
+ type FindAgentInstructionQuery = z.infer<typeof FindAgentInstructionQuery>;
27326
+
27327
+ declare const AgentSkill: z.ZodObject<{
27328
+ id: z.ZodString;
27329
+ workspaceId: z.ZodString;
27330
+ name: z.ZodString;
27331
+ key: z.ZodString;
27332
+ description: z.ZodString;
27333
+ body: z.ZodString;
27334
+ sourceUrl: z.ZodOptional<z.ZodURL>;
27335
+ revision: z.ZodOptional<z.ZodString>;
27336
+ archivedAt: z.ZodOptional<z.ZodISODateTime>;
27337
+ createdAt: z.ZodOptional<z.ZodISODateTime>;
27338
+ updatedAt: z.ZodOptional<z.ZodISODateTime>;
27339
+ }, z.core.$strip>;
27340
+ type AgentSkill = z.infer<typeof AgentSkill>;
27341
+ declare const CreateAgentSkillRequest: z.ZodObject<{
27342
+ name: z.ZodString;
27343
+ key: z.ZodOptional<z.ZodString>;
27344
+ description: z.ZodString;
27345
+ body: z.ZodString;
27346
+ sourceUrl: z.ZodOptional<z.ZodURL>;
27347
+ }, z.core.$strip>;
27348
+ type CreateAgentSkillRequest = z.infer<typeof CreateAgentSkillRequest>;
27349
+ declare const UpdateAgentSkillRequest: z.ZodObject<{
27350
+ name: z.ZodOptional<z.ZodString>;
27351
+ key: z.ZodOptional<z.ZodOptional<z.ZodString>>;
27352
+ description: z.ZodOptional<z.ZodString>;
27353
+ body: z.ZodOptional<z.ZodString>;
27354
+ sourceUrl: z.ZodOptional<z.ZodOptional<z.ZodURL>>;
27355
+ }, z.core.$strip>;
27356
+ type UpdateAgentSkillRequest = z.infer<typeof UpdateAgentSkillRequest>;
27357
+ declare const PreviewAgentSkillSourceRequest: z.ZodObject<{
27358
+ sourceUrl: z.ZodURL;
27359
+ }, z.core.$strip>;
27360
+ type PreviewAgentSkillSourceRequest = z.infer<typeof PreviewAgentSkillSourceRequest>;
27361
+ declare const PreviewAgentSkillSourceResponse: z.ZodObject<{
27362
+ name: z.ZodString;
27363
+ key: z.ZodOptional<z.ZodString>;
27364
+ description: z.ZodString;
27365
+ body: z.ZodString;
27366
+ sourceUrl: z.ZodURL;
27367
+ }, z.core.$strip>;
27368
+ type PreviewAgentSkillSourceResponse = z.infer<typeof PreviewAgentSkillSourceResponse>;
27369
+ declare const FindAgentSkillQuery: z.ZodObject<{
27370
+ limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
27371
+ cursor: z.ZodOptional<z.ZodString>;
27372
+ search: z.ZodOptional<z.ZodString>;
27373
+ includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
27374
+ }, z.core.$strip>;
27375
+ type FindAgentSkillQuery = z.infer<typeof FindAgentSkillQuery>;
27376
+
27377
+ declare const AgentTool: z.ZodObject<{
27378
+ id: z.ZodString;
27379
+ name: z.ZodString;
27380
+ description: z.ZodString;
27381
+ enabledByDefault: z.ZodDefault<z.ZodBoolean>;
27382
+ }, z.core.$strip>;
27383
+ type AgentTool = z.infer<typeof AgentTool>;
27384
+
26090
27385
  declare function formatSessionCost(cost?: number | null): string;
26091
27386
 
26092
27387
  declare const SessionCredentials: z.ZodObject<{
@@ -26096,6 +27391,7 @@ declare const SessionCredentials: z.ZodObject<{
26096
27391
  }, z.core.$strip>;
26097
27392
  declare const SessionParameters: z.ZodObject<{
26098
27393
  id: z.ZodOptional<z.ZodString>;
27394
+ leaseId: z.ZodOptional<z.ZodString>;
26099
27395
  accessToken: z.ZodOptional<z.ZodString>;
26100
27396
  credentials: z.ZodOptional<z.ZodObject<{
26101
27397
  accessKeyId: z.ZodString;
@@ -26112,6 +27408,7 @@ declare const SessionParameters: z.ZodObject<{
26112
27408
  openRouterApiKey: z.ZodOptional<z.ZodString>;
26113
27409
  modelId: z.ZodOptional<z.ZodString>;
26114
27410
  agentName: z.ZodOptional<z.ZodEnum<typeof AgentName>>;
27411
+ agentHarnessSnapshotId: z.ZodOptional<z.ZodString>;
26115
27412
  engine: z.ZodOptional<z.ZodEnum<{
26116
27413
  opencode: "opencode";
26117
27414
  inline: "inline";
@@ -26140,6 +27437,9 @@ interface SessionStatus {
26140
27437
  agentVersion: string;
26141
27438
  }
26142
27439
 
27440
+ 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];
27441
+ declare function canFetchAgentWorkspaceElementContext(elementType: WorkspaceElementType | string | undefined): elementType is WorkspaceElementType;
27442
+
26143
27443
  declare const zodDateCoercion: () => z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>>;
26144
27444
  declare const zodBooleanCoercion: () => z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>;
26145
27445
 
@@ -26495,6 +27795,82 @@ declare const PlatformUserTokenListResponse: z.ZodObject<{
26495
27795
  }, z.core.$strip>;
26496
27796
  type PlatformUserTokenListResponse = z.infer<typeof PlatformUserTokenListResponse>;
26497
27797
 
27798
+ declare const MCP_PROTOCOL_VERSION = "2025-11-25";
27799
+ declare const McpConnectionInput: z.ZodObject<{
27800
+ mcpServerUrl: z.ZodOptional<z.ZodString>;
27801
+ }, z.core.$strip>;
27802
+ type McpConnectionInput = z.infer<typeof McpConnectionInput>;
27803
+ declare const ProtectedResourceMetadata: z.ZodObject<{
27804
+ resource: z.ZodString;
27805
+ authorization_servers: z.ZodArray<z.ZodString>;
27806
+ bearer_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
27807
+ scopes_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
27808
+ }, z.core.$strip>;
27809
+ type ProtectedResourceMetadata = z.infer<typeof ProtectedResourceMetadata>;
27810
+ declare const AuthorizationServerMetadata: z.ZodObject<{
27811
+ issuer: z.ZodString;
27812
+ authorization_endpoint: z.ZodString;
27813
+ token_endpoint: z.ZodString;
27814
+ registration_endpoint: z.ZodOptional<z.ZodString>;
27815
+ scopes_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
27816
+ response_types_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
27817
+ grant_types_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
27818
+ code_challenge_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
27819
+ token_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
27820
+ client_id_metadata_document_supported: z.ZodOptional<z.ZodBoolean>;
27821
+ }, z.core.$loose>;
27822
+ type AuthorizationServerMetadata = z.infer<typeof AuthorizationServerMetadata>;
27823
+ declare const DynamicClientRegistrationResponse: z.ZodObject<{
27824
+ client_id: z.ZodString;
27825
+ client_secret: z.ZodOptional<z.ZodString>;
27826
+ client_id_issued_at: z.ZodOptional<z.ZodNumber>;
27827
+ client_secret_expires_at: z.ZodOptional<z.ZodNumber>;
27828
+ registration_access_token: z.ZodOptional<z.ZodString>;
27829
+ registration_client_uri: z.ZodOptional<z.ZodString>;
27830
+ }, z.core.$loose>;
27831
+ type DynamicClientRegistrationResponse = z.infer<typeof DynamicClientRegistrationResponse>;
27832
+ declare const McpTokenResponse: z.ZodObject<{
27833
+ access_token: z.ZodString;
27834
+ token_type: z.ZodString;
27835
+ expires_in: z.ZodOptional<z.ZodNumber>;
27836
+ refresh_token: z.ZodOptional<z.ZodString>;
27837
+ scope: z.ZodOptional<z.ZodString>;
27838
+ }, z.core.$loose>;
27839
+ type McpTokenResponse = z.infer<typeof McpTokenResponse>;
27840
+ declare const McpTool: z.ZodObject<{
27841
+ name: z.ZodString;
27842
+ description: z.ZodOptional<z.ZodString>;
27843
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
27844
+ }, z.core.$loose>;
27845
+ type McpTool = z.infer<typeof McpTool>;
27846
+ declare const McpSynthesizedAction: z.ZodObject<{
27847
+ mcp: z.ZodLiteral<true>;
27848
+ id: z.ZodString;
27849
+ connectionId: z.ZodString;
27850
+ key: z.ZodString;
27851
+ name: z.ZodString;
27852
+ description: z.ZodOptional<z.ZodString>;
27853
+ inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
27854
+ isReadOnly: z.ZodLiteral<true>;
27855
+ }, z.core.$strip>;
27856
+ type McpSynthesizedAction = z.infer<typeof McpSynthesizedAction>;
27857
+ declare const McpAuthState: z.ZodObject<{
27858
+ asIssuer: z.ZodString;
27859
+ tokenEndpoint: z.ZodString;
27860
+ clientId: z.ZodString;
27861
+ clientSecret: z.ZodOptional<z.ZodString>;
27862
+ canonicalResource: z.ZodString;
27863
+ scope: z.ZodOptional<z.ZodString>;
27864
+ }, z.core.$strip>;
27865
+ type McpAuthState = z.infer<typeof McpAuthState>;
27866
+ declare const McpCredentials: z.ZodObject<{
27867
+ accessToken: z.ZodString;
27868
+ refreshToken: z.ZodOptional<z.ZodString>;
27869
+ expiresAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
27870
+ tokenType: z.ZodDefault<z.ZodString>;
27871
+ }, z.core.$strip>;
27872
+ type McpCredentials = z.infer<typeof McpCredentials>;
27873
+
26498
27874
  declare const WORKSPACE_TOKEN_GRANT_TYPES: readonly ["mcp-oauth", "agent-session", "api"];
26499
27875
  declare const WorkspaceTokenGrantType: z.ZodEnum<{
26500
27876
  api: "api";
@@ -26875,5 +28251,5 @@ declare class MembraneClient extends MembraneApiClient {
26875
28251
  connectionRequest(connectionId: string, uri: string, data?: any): Promise<any>;
26876
28252
  }
26877
28253
 
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 };
28254
+ 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, 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, 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
28255
  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 };