@membranehq/sdk 0.28.3 → 0.29.0

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 (74) hide show
  1. package/dist/bundle.d.ts +43 -2
  2. package/dist/bundle.js +1891 -1380
  3. package/dist/bundle.js.map +1 -1
  4. package/dist/dts/accessors/connection-events-listener.d.ts +14 -0
  5. package/dist/dts/accessors/connection-events-listener.test.d.ts +1 -0
  6. package/dist/dts/accessors/connections-accessors.d.ts +4 -1
  7. package/dist/dts/accessors/integrations-accessors.d.ts +1 -0
  8. package/dist/dts/agent/session.d.ts +1 -0
  9. package/dist/dts/agent/worker-contracts.d.ts +2 -1
  10. package/dist/dts/ai-gateway/models.d.ts +4 -0
  11. package/dist/dts/async-requests/types.d.ts +50 -0
  12. package/dist/dts/deprecation.d.ts +1 -0
  13. package/dist/dts/errors/index.d.ts +5 -1
  14. package/dist/dts/index.browser.d.ts +2 -1
  15. package/dist/dts/oauth/types.d.ts +14 -5
  16. package/dist/dts/orgs/types.d.ts +682 -50
  17. package/dist/dts/orgs/types.test.d.ts +1 -0
  18. package/dist/dts/platform-user-tokens/types.d.ts +42 -0
  19. package/dist/dts/workspace-elements/api/action-run-log-records-api.d.ts +32 -72
  20. package/dist/dts/workspace-elements/api/checkpoints-api.d.ts +0 -1
  21. package/dist/dts/workspace-elements/api/connections-api.d.ts +24 -1
  22. package/dist/dts/workspace-elements/api/connectors-api.d.ts +10 -0
  23. package/dist/dts/workspace-elements/api/data-link-table-instances-api.d.ts +1 -0
  24. package/dist/dts/workspace-elements/api/data-sources-api.d.ts +2 -0
  25. package/dist/dts/workspace-elements/api/external-api-logs-api.d.ts +1 -0
  26. package/dist/dts/workspace-elements/api/external-apps-api.d.ts +28 -0
  27. package/dist/dts/workspace-elements/api/external-event-log-records-api.d.ts +5 -0
  28. package/dist/dts/workspace-elements/api/external-event-pulls-api.d.ts +3 -0
  29. package/dist/dts/workspace-elements/api/external-event-subscriptions-api.d.ts +13 -0
  30. package/dist/dts/workspace-elements/api/external-event-types-api.d.ts +331 -0
  31. package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +2 -0
  32. package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +2 -0
  33. package/dist/dts/workspace-elements/api/flows-api.d.ts +2 -0
  34. package/dist/dts/workspace-elements/api/incoming-webhooks-api.d.ts +4 -0
  35. package/dist/dts/workspace-elements/api/index.d.ts +1 -0
  36. package/dist/dts/workspace-elements/api/integrations-api.d.ts +14 -7
  37. package/dist/dts/workspace-elements/base/action-run-log-records/index.d.ts +19 -0
  38. package/dist/dts/workspace-elements/base/actions/action-payload.d.ts +46 -0
  39. package/dist/dts/workspace-elements/base/actions/action-payload.test.d.ts +1 -0
  40. package/dist/dts/workspace-elements/base/actions/index.d.ts +3 -2
  41. package/dist/dts/workspace-elements/base/app-data-schemas/index.d.ts +2 -2
  42. package/dist/dts/workspace-elements/base/app-event-types/index.d.ts +2 -2
  43. package/dist/dts/workspace-elements/base/connection-requests/index.d.ts +4 -0
  44. package/dist/dts/workspace-elements/base/connections/index.d.ts +2 -0
  45. package/dist/dts/workspace-elements/base/connectors/index.d.ts +5 -5
  46. package/dist/dts/workspace-elements/base/data-link-tables/index.d.ts +2 -2
  47. package/dist/dts/workspace-elements/base/data-sources/index.d.ts +2 -2
  48. package/dist/dts/workspace-elements/base/external-event-log-records/index.d.ts +1 -0
  49. package/dist/dts/workspace-elements/base/external-event-subscriptions/index.d.ts +2 -0
  50. package/dist/dts/workspace-elements/base/external-event-types/index.d.ts +190 -0
  51. package/dist/dts/workspace-elements/base/field-mappings/index.d.ts +2 -2
  52. package/dist/dts/workspace-elements/base/flows/index.d.ts +2 -2
  53. package/dist/dts/workspace-elements/base/index.d.ts +1 -0
  54. package/dist/dts/workspace-elements/base/integrations/index.d.ts +2 -2
  55. package/dist/dts/workspace-elements/base/packages/index.d.ts +2 -2
  56. package/dist/dts/workspace-elements/types.d.ts +11 -2
  57. package/dist/dts/workspace-tokens/index.d.ts +1 -0
  58. package/dist/dts/{client-tokens → workspace-tokens}/types.d.ts +35 -22
  59. package/dist/dts/workspaces/api.d.ts +0 -6
  60. package/dist/dts/workspaces/compare.d.ts +4 -1
  61. package/dist/index.browser.d.mts +2275 -855
  62. package/dist/index.browser.d.ts +2275 -855
  63. package/dist/index.browser.js +686 -194
  64. package/dist/index.browser.js.map +1 -1
  65. package/dist/index.browser.mjs +647 -188
  66. package/dist/index.browser.mjs.map +1 -1
  67. package/dist/index.node.d.mts +2275 -855
  68. package/dist/index.node.d.ts +2275 -855
  69. package/dist/index.node.js +686 -194
  70. package/dist/index.node.js.map +1 -1
  71. package/dist/index.node.mjs +647 -188
  72. package/dist/index.node.mjs.map +1 -1
  73. package/package.json +2 -2
  74. /package/dist/dts/{client-tokens → platform-user-tokens}/index.d.ts +0 -0
@@ -25,7 +25,8 @@ declare enum BadRequestErrorKey {
25
25
  NOT_AUTHENTICATED = "not_authenticated",
26
26
  ACCESS_DENIED = "access_denied",
27
27
  ALREADY_EXISTS = "already_exists",
28
- RATE_LIMIT_EXCEEDED = "rate_limit_exceeded"
28
+ RATE_LIMIT_EXCEEDED = "rate_limit_exceeded",
29
+ WORKSPACE_TIER_GATED = "workspace_tier_gated"
29
30
  }
30
31
  declare enum ConnectionErrorKey {
31
32
  CONNECTION_IS_DEFUNCT = "connection_is_defunct",
@@ -101,6 +102,9 @@ declare class NotAuthenticatedError extends BadRequestError {
101
102
  declare class AccessDeniedError extends BadRequestError {
102
103
  constructor(arg: ErrorConstructorArg);
103
104
  }
105
+ declare class RemoteConnectorCodeUnavailableError extends BadRequestError {
106
+ constructor(arg?: ErrorConstructorArg);
107
+ }
104
108
  declare class CustomCodeError extends MembraneError {
105
109
  constructor(arg: ErrorConstructorArg);
106
110
  }
@@ -147,6 +151,7 @@ declare enum WorkspaceElementType {
147
151
  ExternalEventSubscription = "external-event-subscription",
148
152
  ExternalEventLogRecord = "external-event-log-record",
149
153
  ExternalEventPull = "external-event-pull",
154
+ ExternalEventType = "external-event-type",
150
155
  Screen = "screen",
151
156
  ActionRunLogRecord = "action-run-log-record",
152
157
  ExternalApiLogRecord = "external-api-log-record",
@@ -258,9 +263,17 @@ declare const BaseIntegrationLevelMembraneInterfaceReadOnlyProperties: z.ZodObje
258
263
  isCustomized: z.ZodOptional<z.ZodBoolean>;
259
264
  }, z.core.$strip>;
260
265
  type BaseIntegrationLevelMembraneInterfaceReadOnlyProperties = z.infer<typeof BaseIntegrationLevelMembraneInterfaceReadOnlyProperties>;
266
+ declare const BaseExportProperties: z.ZodObject<{
267
+ uuid: z.ZodNonOptional<z.ZodOptional<z.ZodString>>;
268
+ key: z.ZodNonOptional<z.ZodOptional<z.ZodString>>;
269
+ name: z.ZodOptional<z.ZodString>;
270
+ description: z.ZodOptional<z.ZodString>;
271
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
272
+ }, z.core.$strip>;
273
+ type BaseExportProperties = z.infer<typeof BaseExportProperties>;
261
274
  declare const BaseIntegrationLevelMembraneInterfaceExportProperties: z.ZodObject<{
262
- uuid: z.ZodOptional<z.ZodString>;
263
- key: z.ZodOptional<z.ZodString>;
275
+ uuid: z.ZodNonOptional<z.ZodOptional<z.ZodString>>;
276
+ key: z.ZodNonOptional<z.ZodOptional<z.ZodString>>;
264
277
  name: z.ZodOptional<z.ZodString>;
265
278
  description: z.ZodOptional<z.ZodString>;
266
279
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
@@ -473,11 +486,11 @@ declare const FieldMappingEditableProperties: z.ZodObject<{
473
486
  }, z.core.$strip>;
474
487
  type FieldMappingEditableProperties = z.infer<typeof FieldMappingEditableProperties>;
475
488
  declare const FieldMappingExportProperties: z.ZodObject<{
476
- key: z.ZodOptional<z.ZodString>;
489
+ key: z.ZodNonOptional<z.ZodOptional<z.ZodString>>;
477
490
  description: z.ZodOptional<z.ZodString>;
478
491
  instanceKey: z.ZodOptional<z.ZodString>;
479
492
  name: z.ZodOptional<z.ZodString>;
480
- uuid: z.ZodOptional<z.ZodString>;
493
+ uuid: z.ZodNonOptional<z.ZodOptional<z.ZodString>>;
481
494
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
482
495
  integrationUuid: z.ZodOptional<z.ZodString>;
483
496
  parentUuid: z.ZodOptional<z.ZodString>;
@@ -642,6 +655,90 @@ interface ActionSpec {
642
655
  declare function isDataActionType(type: string | ActionType): any;
643
656
  declare const ACTIONS: Record<ActionType, ActionSpec>;
644
657
 
658
+ declare enum HttpRequestMethod {
659
+ GET = "GET",
660
+ POST = "POST",
661
+ PATCH = "PATCH",
662
+ PUT = "PUT",
663
+ DELETE = "DELETE"
664
+ }
665
+ declare const HttpRequestSpec: z.ZodObject<{
666
+ method: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodEnum<typeof HttpRequestMethod>>>;
667
+ uri: z.ZodAny;
668
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
669
+ query: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
670
+ body: z.ZodOptional<z.ZodAny>;
671
+ }, z.core.$strip>;
672
+ type HttpRequestSpec = z.infer<typeof HttpRequestSpec>;
673
+ declare const HTTP_REQUEST_SCHEMA: {
674
+ type: string;
675
+ properties: {
676
+ uri: {
677
+ type: string;
678
+ };
679
+ method: {
680
+ type: string;
681
+ enum: string[];
682
+ };
683
+ body: {};
684
+ query: {
685
+ type: string;
686
+ section: boolean;
687
+ additionalProperties: boolean;
688
+ };
689
+ headers: {
690
+ type: string;
691
+ section: boolean;
692
+ additionalProperties: boolean;
693
+ };
694
+ };
695
+ };
696
+
697
+ declare const ActionApiPayload: z.ZodObject<{
698
+ method: z.ZodEnum<typeof HttpRequestMethod>;
699
+ path: z.ZodOptional<z.ZodString>;
700
+ url: z.ZodOptional<z.ZodString>;
701
+ body: z.ZodOptional<z.ZodAny>;
702
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
703
+ query: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
704
+ }, z.core.$strip>;
705
+ type ActionApiPayload = z.infer<typeof ActionApiPayload>;
706
+ declare const ActionSnapshot: z.ZodObject<{
707
+ id: z.ZodOptional<z.ZodString>;
708
+ integrationKey: z.ZodOptional<z.ZodString>;
709
+ key: z.ZodOptional<z.ZodString>;
710
+ connectionKey: z.ZodOptional<z.ZodString>;
711
+ connectionId: z.ZodOptional<z.ZodString>;
712
+ type: z.ZodString;
713
+ api: z.ZodOptional<z.ZodObject<{
714
+ method: z.ZodEnum<typeof HttpRequestMethod>;
715
+ path: z.ZodOptional<z.ZodString>;
716
+ url: z.ZodOptional<z.ZodString>;
717
+ body: z.ZodOptional<z.ZodAny>;
718
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
719
+ query: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
720
+ }, z.core.$strip>>;
721
+ code: z.ZodOptional<z.ZodString>;
722
+ input: z.ZodOptional<z.ZodAny>;
723
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
724
+ }, z.core.$strip>;
725
+ type ActionSnapshot = z.infer<typeof ActionSnapshot>;
726
+ declare function configToNamedPayload(type: string, config: unknown): {
727
+ api?: ActionApiPayload;
728
+ code?: string;
729
+ };
730
+ declare function buildActionSnapshot(args: {
731
+ id?: string;
732
+ integrationKey?: string;
733
+ key?: string;
734
+ connectionId?: string;
735
+ connectionKey?: string;
736
+ type: string;
737
+ config: unknown;
738
+ input?: unknown;
739
+ meta?: Record<string, unknown>;
740
+ }): ActionSnapshot;
741
+
645
742
  declare enum ActionDependencyType {
646
743
  FieldMapping = "FieldMapping",
647
744
  DataSource = "DataSource"
@@ -678,13 +775,13 @@ declare const ActionEditableProperties: z.ZodObject<{
678
775
  }, z.core.$strip>;
679
776
  type ActionEditableProperties = z.infer<typeof ActionEditableProperties>;
680
777
  declare const ActionExportProperties: z.ZodObject<{
681
- key: z.ZodOptional<z.ZodString>;
778
+ key: z.ZodNonOptional<z.ZodOptional<z.ZodString>>;
682
779
  type: z.ZodOptional<z.ZodEnum<typeof ActionType>>;
683
780
  description: z.ZodOptional<z.ZodString>;
684
781
  config: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
685
782
  instanceKey: z.ZodOptional<z.ZodString>;
686
783
  name: z.ZodOptional<z.ZodString>;
687
- uuid: z.ZodOptional<z.ZodString>;
784
+ uuid: z.ZodNonOptional<z.ZodOptional<z.ZodString>>;
688
785
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
689
786
  integrationUuid: z.ZodOptional<z.ZodString>;
690
787
  parentUuid: z.ZodOptional<z.ZodString>;
@@ -789,6 +886,8 @@ declare const CreateConnectionRequestPayload: z.ZodObject<{
789
886
  connectorId: z.ZodOptional<z.ZodString>;
790
887
  connectorKey: z.ZodOptional<z.ZodString>;
791
888
  connectorVersion: z.ZodOptional<z.ZodString>;
889
+ externalAppId: z.ZodOptional<z.ZodString>;
890
+ externalAppKey: z.ZodOptional<z.ZodString>;
792
891
  connectionId: z.ZodOptional<z.ZodString>;
793
892
  connectionKey: z.ZodOptional<z.ZodString>;
794
893
  name: z.ZodOptional<z.ZodString>;
@@ -808,6 +907,8 @@ declare const ConnectionRequest: z.ZodObject<{
808
907
  connectorId: z.ZodOptional<z.ZodString>;
809
908
  connectorKey: z.ZodOptional<z.ZodString>;
810
909
  connectorVersion: z.ZodOptional<z.ZodString>;
910
+ externalAppId: z.ZodOptional<z.ZodString>;
911
+ externalAppKey: z.ZodOptional<z.ZodString>;
811
912
  connectionId: z.ZodOptional<z.ZodString>;
812
913
  connectionKey: z.ZodOptional<z.ZodString>;
813
914
  name: z.ZodOptional<z.ZodString>;
@@ -3710,45 +3811,6 @@ interface OperationMapping {
3710
3811
  outputMapping?: any;
3711
3812
  }
3712
3813
 
3713
- declare enum HttpRequestMethod {
3714
- GET = "GET",
3715
- POST = "POST",
3716
- PATCH = "PATCH",
3717
- PUT = "PUT",
3718
- DELETE = "DELETE"
3719
- }
3720
- declare const HttpRequestSpec: z.ZodObject<{
3721
- method: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodEnum<typeof HttpRequestMethod>>>;
3722
- uri: z.ZodAny;
3723
- headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
3724
- query: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
3725
- body: z.ZodOptional<z.ZodAny>;
3726
- }, z.core.$strip>;
3727
- type HttpRequestSpec = z.infer<typeof HttpRequestSpec>;
3728
- declare const HTTP_REQUEST_SCHEMA: {
3729
- type: string;
3730
- properties: {
3731
- uri: {
3732
- type: string;
3733
- };
3734
- method: {
3735
- type: string;
3736
- enum: string[];
3737
- };
3738
- body: {};
3739
- query: {
3740
- type: string;
3741
- section: boolean;
3742
- additionalProperties: boolean;
3743
- };
3744
- headers: {
3745
- type: string;
3746
- section: boolean;
3747
- additionalProperties: boolean;
3748
- };
3749
- };
3750
- };
3751
-
3752
3814
  interface RestApiClientInput {
3753
3815
  path: string;
3754
3816
  method: HttpRequestMethod;
@@ -6601,7 +6663,7 @@ declare const WritableConnectorVersionData: z.ZodObject<{
6601
6663
  }, z.core.$strip>;
6602
6664
  type WritableConnectorVersionData = z.infer<typeof WritableConnectorVersionData>;
6603
6665
  declare const ConnectorVersionData: z.ZodObject<{
6604
- baseUri: z.ZodString;
6666
+ baseUri: z.ZodOptional<z.ZodString>;
6605
6667
  revision: z.ZodOptional<z.ZodString>;
6606
6668
  dataCollectionsCount: z.ZodOptional<z.ZodNumber>;
6607
6669
  operationsCount: z.ZodOptional<z.ZodNumber>;
@@ -6819,7 +6881,7 @@ declare const ConnectorVersionData: z.ZodObject<{
6819
6881
  }, z.core.$strip>;
6820
6882
  type ConnectorVersionData = z.infer<typeof ConnectorVersionData>;
6821
6883
  declare const ConnectorVersion: z.ZodObject<{
6822
- baseUri: z.ZodString;
6884
+ baseUri: z.ZodOptional<z.ZodString>;
6823
6885
  revision: z.ZodOptional<z.ZodString>;
6824
6886
  dataCollectionsCount: z.ZodOptional<z.ZodNumber>;
6825
6887
  operationsCount: z.ZodOptional<z.ZodNumber>;
@@ -7250,7 +7312,7 @@ declare const WriteableConnectorFields: z.ZodObject<{
7250
7312
  proxyKey: z.ZodOptional<z.ZodString>;
7251
7313
  }, z.core.$strip>;
7252
7314
  declare const ConnectorExportProperties: z.ZodObject<{
7253
- key: z.ZodOptional<z.ZodString>;
7315
+ key: z.ZodNonOptional<z.ZodOptional<z.ZodString>>;
7254
7316
  type: z.ZodOptional<z.ZodEnum<{
7255
7317
  proxy: "proxy";
7256
7318
  "integration-app-token": "integration-app-token";
@@ -7260,7 +7322,7 @@ declare const ConnectorExportProperties: z.ZodObject<{
7260
7322
  "client-credentials": "client-credentials";
7261
7323
  }>>;
7262
7324
  name: z.ZodOptional<z.ZodString>;
7263
- uuid: z.ZodOptional<z.ZodString>;
7325
+ uuid: z.ZodString;
7264
7326
  externalAppUuid: z.ZodOptional<z.ZodString>;
7265
7327
  options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
7266
7328
  type: z.ZodOptional<z.ZodEnum<{
@@ -7919,7 +7981,7 @@ declare const Connector: z.ZodObject<{
7919
7981
  popularity: z.ZodOptional<z.ZodNumber>;
7920
7982
  tenantId: z.ZodOptional<z.ZodString>;
7921
7983
  archivedAt: z.ZodOptional<z.ZodString>;
7922
- baseUri: z.ZodString;
7984
+ baseUri: z.ZodOptional<z.ZodString>;
7923
7985
  revision: z.ZodOptional<z.ZodString>;
7924
7986
  dataCollectionsCount: z.ZodOptional<z.ZodNumber>;
7925
7987
  operationsCount: z.ZodOptional<z.ZodNumber>;
@@ -8173,6 +8235,7 @@ declare const ConnectionClientAction: z.ZodObject<{
8173
8235
  description: z.ZodString;
8174
8236
  uiUrl: z.ZodOptional<z.ZodString>;
8175
8237
  agentInstructions: z.ZodOptional<z.ZodString>;
8238
+ handoffAgentInstructions: z.ZodOptional<z.ZodString>;
8176
8239
  }, z.core.$strip>;
8177
8240
  type ConnectionClientAction = z.infer<typeof ConnectionClientAction>;
8178
8241
  declare const BaseConnection: z.ZodObject<{
@@ -8212,6 +8275,7 @@ declare const BaseConnection: z.ZodObject<{
8212
8275
  description: z.ZodString;
8213
8276
  uiUrl: z.ZodOptional<z.ZodString>;
8214
8277
  agentInstructions: z.ZodOptional<z.ZodString>;
8278
+ handoffAgentInstructions: z.ZodOptional<z.ZodString>;
8215
8279
  }, z.core.$strip>>;
8216
8280
  userId: z.ZodString;
8217
8281
  tenantId: z.ZodOptional<z.ZodString>;
@@ -9136,12 +9200,12 @@ declare const BackwardCompatibleDataSourceEditableProperties: z.ZodObject<{
9136
9200
  }, z.core.$strip>;
9137
9201
  type BackwardCompatibleDataSourceEditableProperties = z.infer<typeof BackwardCompatibleDataSourceEditableProperties>;
9138
9202
  declare const DataSourceExportProperties: z.ZodObject<{
9139
- key: z.ZodOptional<z.ZodString>;
9203
+ key: z.ZodNonOptional<z.ZodOptional<z.ZodString>>;
9140
9204
  path: z.ZodOptional<z.ZodString>;
9141
9205
  description: z.ZodOptional<z.ZodString>;
9142
9206
  instanceKey: z.ZodOptional<z.ZodString>;
9143
9207
  name: z.ZodOptional<z.ZodString>;
9144
- uuid: z.ZodOptional<z.ZodString>;
9208
+ uuid: z.ZodNonOptional<z.ZodOptional<z.ZodString>>;
9145
9209
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
9146
9210
  integrationUuid: z.ZodOptional<z.ZodString>;
9147
9211
  parentUuid: z.ZodOptional<z.ZodString>;
@@ -9845,11 +9909,11 @@ declare const FlowEditableProperties: z.ZodObject<{
9845
9909
  }, z.core.$strip>;
9846
9910
  type FlowEditableProperties = z.infer<typeof FlowEditableProperties>;
9847
9911
  declare const FlowExportProperties: z.ZodObject<{
9848
- key: z.ZodOptional<z.ZodString>;
9912
+ key: z.ZodNonOptional<z.ZodOptional<z.ZodString>>;
9849
9913
  description: z.ZodOptional<z.ZodString>;
9850
9914
  instanceKey: z.ZodOptional<z.ZodString>;
9851
9915
  name: z.ZodOptional<z.ZodString>;
9852
- uuid: z.ZodOptional<z.ZodString>;
9916
+ uuid: z.ZodNonOptional<z.ZodOptional<z.ZodString>>;
9853
9917
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
9854
9918
  integrationUuid: z.ZodOptional<z.ZodString>;
9855
9919
  parentUuid: z.ZodOptional<z.ZodString>;
@@ -10174,10 +10238,10 @@ declare const IntegrationEditableProperties: z.ZodObject<{
10174
10238
  }, z.core.$strip>;
10175
10239
  type IntegrationEditableProperties = z.infer<typeof IntegrationEditableProperties>;
10176
10240
  declare const IntegrationExportProperties: z.ZodObject<{
10177
- key: z.ZodOptional<z.ZodString>;
10241
+ key: z.ZodNonOptional<z.ZodOptional<z.ZodString>>;
10178
10242
  description: z.ZodOptional<z.ZodString>;
10179
10243
  name: z.ZodOptional<z.ZodString>;
10180
- uuid: z.ZodOptional<z.ZodString>;
10244
+ uuid: z.ZodNonOptional<z.ZodOptional<z.ZodString>>;
10181
10245
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
10182
10246
  externalAppUuid: z.ZodOptional<z.ZodString>;
10183
10247
  logoUri: z.ZodOptional<z.ZodString>;
@@ -10288,8 +10352,8 @@ declare const PackageEditableProperties: z.ZodObject<{
10288
10352
  }, z.core.$strip>;
10289
10353
  type PackageEditableProperties = z.infer<typeof PackageEditableProperties>;
10290
10354
  declare const PackageExportProperties: z.ZodObject<{
10291
- uuid: z.ZodOptional<z.ZodString>;
10292
- key: z.ZodOptional<z.ZodString>;
10355
+ uuid: z.ZodNonOptional<z.ZodOptional<z.ZodString>>;
10356
+ key: z.ZodNonOptional<z.ZodOptional<z.ZodString>>;
10293
10357
  name: z.ZodOptional<z.ZodString>;
10294
10358
  description: z.ZodOptional<z.ZodString>;
10295
10359
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
@@ -10434,11 +10498,11 @@ declare const DataLinkTableEditableProperties: z.ZodObject<{
10434
10498
  }, z.core.$strip>;
10435
10499
  type DataLinkTableEditableProperties = z.infer<typeof DataLinkTableEditableProperties>;
10436
10500
  declare const DataLinkTableExportProperties: z.ZodObject<{
10437
- key: z.ZodOptional<z.ZodString>;
10501
+ key: z.ZodNonOptional<z.ZodOptional<z.ZodString>>;
10438
10502
  description: z.ZodOptional<z.ZodString>;
10439
10503
  instanceKey: z.ZodOptional<z.ZodString>;
10440
10504
  name: z.ZodOptional<z.ZodString>;
10441
- uuid: z.ZodOptional<z.ZodString>;
10505
+ uuid: z.ZodNonOptional<z.ZodOptional<z.ZodString>>;
10442
10506
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
10443
10507
  }, z.core.$strip>;
10444
10508
  type DataLinkTableExportProperties = z.infer<typeof DataLinkTableExportProperties>;
@@ -10553,8 +10617,8 @@ declare const AppEventTypeEditableProperties: z.ZodObject<{
10553
10617
  }, z.core.$strip>;
10554
10618
  type AppEventTypeEditableProperties = z.infer<typeof AppEventTypeEditableProperties>;
10555
10619
  declare const AppEventTypeExportProperties: z.ZodObject<{
10556
- uuid: z.ZodOptional<z.ZodString>;
10557
- key: z.ZodOptional<z.ZodString>;
10620
+ uuid: z.ZodNonOptional<z.ZodOptional<z.ZodString>>;
10621
+ key: z.ZodNonOptional<z.ZodOptional<z.ZodString>>;
10558
10622
  name: z.ZodOptional<z.ZodString>;
10559
10623
  description: z.ZodOptional<z.ZodString>;
10560
10624
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
@@ -10607,12 +10671,12 @@ declare const AppDataSchemaEditableProperties: z.ZodObject<{
10607
10671
  }, z.core.$strip>;
10608
10672
  type AppDataSchemaEditableProperties = z.infer<typeof AppDataSchemaEditableProperties>;
10609
10673
  declare const AppDataSchemaExportProperties: z.ZodObject<{
10610
- key: z.ZodOptional<z.ZodString>;
10674
+ key: z.ZodNonOptional<z.ZodOptional<z.ZodString>>;
10611
10675
  code: z.ZodOptional<z.ZodString>;
10612
10676
  description: z.ZodOptional<z.ZodString>;
10613
10677
  instanceKey: z.ZodOptional<z.ZodString>;
10614
10678
  name: z.ZodOptional<z.ZodString>;
10615
- uuid: z.ZodOptional<z.ZodString>;
10679
+ uuid: z.ZodNonOptional<z.ZodOptional<z.ZodString>>;
10616
10680
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
10617
10681
  schema: z.ZodOptional<z.ZodAny>;
10618
10682
  }, z.core.$strip>;
@@ -10704,6 +10768,7 @@ declare const BaseExternalEventSubscription: z.ZodObject<{
10704
10768
  name: z.ZodOptional<z.ZodString>;
10705
10769
  connectionId: z.ZodString;
10706
10770
  integrationId: z.ZodString;
10771
+ externalEventTypeId: z.ZodOptional<z.ZodString>;
10707
10772
  config: z.ZodOptional<z.ZodObject<{
10708
10773
  type: z.ZodEnum<typeof ExternalEventSubscriptionType>;
10709
10774
  dataSource: z.ZodOptional<z.ZodObject<{
@@ -10734,6 +10799,7 @@ declare const BaseExternalEventSubscription: z.ZodObject<{
10734
10799
  nextRefreshTimestamp: z.ZodOptional<z.ZodNumber>;
10735
10800
  globalWebhookKey: z.ZodOptional<z.ZodString>;
10736
10801
  globalWebhookEventSelector: z.ZodOptional<z.ZodString>;
10802
+ incomingWebhookUri: z.ZodOptional<z.ZodString>;
10737
10803
  webhookUri: z.ZodOptional<z.ZodString>;
10738
10804
  }, z.core.$strip>;
10739
10805
  type BaseExternalEventSubscription = z.infer<typeof BaseExternalEventSubscription>;
@@ -10752,6 +10818,7 @@ declare const BaseExternalEventLogRecord: z.ZodObject<{
10752
10818
  externalEventSubscriptionId: z.ZodString;
10753
10819
  integrationId: z.ZodString;
10754
10820
  connectionId: z.ZodString;
10821
+ externalEventTypeId: z.ZodOptional<z.ZodString>;
10755
10822
  payload: z.ZodOptional<z.ZodAny>;
10756
10823
  launchedFlowRunIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
10757
10824
  status: z.ZodEnum<typeof ExternalEventLogStatus>;
@@ -10783,234 +10850,442 @@ declare const BaseExternalEventPull: z.ZodObject<{
10783
10850
  }, z.core.$strip>;
10784
10851
  type BaseExternalEventPull = z.infer<typeof BaseExternalEventPull>;
10785
10852
 
10786
- declare enum ActionRunLogStatus {
10787
- SUCCESS = "success",
10788
- ERROR = "error"
10853
+ declare enum ExternalEventTypeImplementationType {
10854
+ Webhook = "webhook"
10789
10855
  }
10790
- declare const BaseActionRunLogRecord: z.ZodObject<{
10791
- userId: z.ZodString;
10792
- tenantId: z.ZodOptional<z.ZodString>;
10793
- id: z.ZodString;
10794
- externalAppId: z.ZodOptional<z.ZodString>;
10795
- name: z.ZodString;
10796
- universalActionId: z.ZodOptional<z.ZodString>;
10797
- integrationActionId: z.ZodString;
10798
- connectionActionId: z.ZodOptional<z.ZodString>;
10799
- actionId: z.ZodOptional<z.ZodString>;
10800
- actionInstanceId: z.ZodOptional<z.ZodString>;
10801
- integrationId: z.ZodString;
10802
- connectionId: z.ZodString;
10803
- input: z.ZodOptional<z.ZodAny>;
10804
- output: z.ZodOptional<z.ZodAny>;
10805
- status: z.ZodEnum<typeof ActionRunLogStatus>;
10806
- createdAt: z.ZodString;
10807
- completedAt: z.ZodOptional<z.ZodString>;
10808
- error: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
10809
- duration: z.ZodOptional<z.ZodNumber>;
10856
+ declare const EXTERNAL_EVENT_TYPE_FUNCTION_KEYS: readonly ["subscribe", "unsubscribe", "handle", "refresh"];
10857
+ type ExternalEventTypeFunctionKey = (typeof EXTERNAL_EVENT_TYPE_FUNCTION_KEYS)[number];
10858
+ declare const ExternalEventTypeEditableProperties: z.ZodObject<{
10859
+ uuid: z.ZodOptional<z.ZodString>;
10860
+ key: z.ZodOptional<z.ZodString>;
10861
+ name: z.ZodOptional<z.ZodString>;
10862
+ description: z.ZodOptional<z.ZodString>;
10810
10863
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
10811
- }, z.core.$strip>;
10812
- type BaseActionRunLogRecord = z.infer<typeof BaseActionRunLogRecord>;
10813
-
10814
- declare const ConnectedProductType: z.ZodEnum<{
10815
- app: "app";
10816
- "ai-agent": "ai-agent";
10817
- }>;
10818
- type ConnectedProductType = z.infer<typeof ConnectedProductType>;
10819
- declare const ConnectedProductAudience: z.ZodEnum<{
10820
- customers: "customers";
10821
- personal: "personal";
10822
- }>;
10823
- type ConnectedProductAudience = z.infer<typeof ConnectedProductAudience>;
10824
- declare const AiAgentAudience: z.ZodEnum<{
10825
- customers: "customers";
10826
- personal: "personal";
10827
- }>;
10828
- type AiAgentAudience = ConnectedProductAudience;
10829
- declare const AiAgentType: z.ZodEnum<{
10830
- custom: "custom";
10831
- cursor: "cursor";
10832
- "claude-code": "claude-code";
10833
- codex: "codex";
10834
- openclaw: "openclaw";
10835
- copilot: "copilot";
10836
- windsurf: "windsurf";
10837
- claude: "claude";
10838
- chatgpt: "chatgpt";
10839
- }>;
10840
- type AiAgentType = z.infer<typeof AiAgentType>;
10841
- declare const AiAgentParameters: z.ZodObject<{
10842
- agentType: z.ZodOptional<z.ZodString>;
10843
- }, z.core.$loose>;
10844
- type AiAgentParameters = z.infer<typeof AiAgentParameters>;
10845
- declare const BaseConnectedProduct: z.ZodObject<{
10846
- id: z.ZodString;
10847
- name: z.ZodString;
10848
- key: z.ZodString;
10849
- type: z.ZodEnum<{
10850
- app: "app";
10851
- "ai-agent": "ai-agent";
10852
- }>;
10853
- audience: z.ZodOptional<z.ZodEnum<{
10854
- customers: "customers";
10855
- personal: "personal";
10856
- }>>;
10857
- parameters: z.ZodOptional<z.ZodObject<{
10858
- agentType: z.ZodOptional<z.ZodString>;
10859
- }, z.core.$loose>>;
10860
- isConnected: z.ZodOptional<z.ZodBoolean>;
10861
- lastApiRequestDate: z.ZodOptional<z.ZodString>;
10862
- createdAt: z.ZodOptional<z.ZodString>;
10863
- archivedAt: z.ZodOptional<z.ZodString>;
10864
- }, z.core.$strip>;
10865
- type BaseConnectedProduct = z.infer<typeof BaseConnectedProduct>;
10866
-
10867
- declare const BaseConnectionAttemptLog: z.ZodObject<{
10868
- userId: z.ZodString;
10869
- tenantId: z.ZodOptional<z.ZodString>;
10870
- id: z.ZodString;
10871
10864
  integrationId: z.ZodOptional<z.ZodString>;
10865
+ integrationUuid: z.ZodOptional<z.ZodString>;
10866
+ integrationKey: z.ZodOptional<z.ZodString>;
10867
+ parentId: z.ZodOptional<z.ZodString>;
10868
+ parentUuid: z.ZodOptional<z.ZodString>;
10869
+ parentKey: z.ZodOptional<z.ZodString>;
10872
10870
  connectionId: z.ZodOptional<z.ZodString>;
10871
+ instanceKey: z.ZodOptional<z.ZodString>;
10872
+ isUniversal: z.ZodOptional<z.ZodBoolean>;
10873
10873
  externalAppId: z.ZodOptional<z.ZodString>;
10874
- connectorId: z.ZodOptional<z.ZodString>;
10875
- connectorVersion: z.ZodOptional<z.ZodString>;
10876
- authOptionKey: z.ZodOptional<z.ZodString>;
10877
- connectionRequestId: z.ZodOptional<z.ZodString>;
10878
- status: z.ZodEnum<{
10879
- success: "success";
10880
- error: "error";
10881
- }>;
10882
- error: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
10883
- createdAt: z.ZodString;
10884
- }, z.core.$strip>;
10885
- type BaseConnectionAttemptLog = z.infer<typeof BaseConnectionAttemptLog>;
10886
-
10887
- declare const ActApiDispatch: z.ZodObject<{
10888
- method: z.ZodEnum<typeof HttpRequestMethod>;
10889
- path: z.ZodOptional<z.ZodString>;
10890
- body: z.ZodOptional<z.ZodAny>;
10891
- headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
10892
- query: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
10893
- url: z.ZodOptional<z.ZodString>;
10894
- data: z.ZodOptional<z.ZodAny>;
10874
+ externalAppUuid: z.ZodOptional<z.ZodString>;
10875
+ externalAppKey: z.ZodOptional<z.ZodString>;
10876
+ schema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
10877
+ parametersSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
10878
+ example: z.ZodOptional<z.ZodAny>;
10879
+ type: z.ZodOptional<z.ZodEnum<typeof ExternalEventTypeImplementationType>>;
10880
+ subscribe: z.ZodOptional<z.ZodObject<{
10881
+ type: z.ZodOptional<z.ZodEnum<{
10882
+ mapping: "mapping";
10883
+ "operation-mapping": "operation-mapping";
10884
+ "rest-api-mapping": "rest-api-mapping";
10885
+ "graphql-api-mapping": "graphql-api-mapping";
10886
+ javascript: "javascript";
10887
+ }>>;
10888
+ }, z.core.$loose>>;
10889
+ unsubscribe: z.ZodOptional<z.ZodObject<{
10890
+ type: z.ZodOptional<z.ZodEnum<{
10891
+ mapping: "mapping";
10892
+ "operation-mapping": "operation-mapping";
10893
+ "rest-api-mapping": "rest-api-mapping";
10894
+ "graphql-api-mapping": "graphql-api-mapping";
10895
+ javascript: "javascript";
10896
+ }>>;
10897
+ }, z.core.$loose>>;
10898
+ handle: z.ZodOptional<z.ZodObject<{
10899
+ type: z.ZodOptional<z.ZodEnum<{
10900
+ mapping: "mapping";
10901
+ "operation-mapping": "operation-mapping";
10902
+ "rest-api-mapping": "rest-api-mapping";
10903
+ "graphql-api-mapping": "graphql-api-mapping";
10904
+ javascript: "javascript";
10905
+ }>>;
10906
+ }, z.core.$loose>>;
10907
+ refresh: z.ZodOptional<z.ZodObject<{
10908
+ type: z.ZodOptional<z.ZodEnum<{
10909
+ mapping: "mapping";
10910
+ "operation-mapping": "operation-mapping";
10911
+ "rest-api-mapping": "rest-api-mapping";
10912
+ "graphql-api-mapping": "graphql-api-mapping";
10913
+ javascript: "javascript";
10914
+ }>>;
10915
+ }, z.core.$loose>>;
10895
10916
  }, z.core.$strip>;
10896
- type ActApiDispatch = z.infer<typeof ActApiDispatch>;
10897
- declare const ActRequest: z.ZodObject<{
10898
- id: z.ZodOptional<z.ZodString>;
10917
+ type ExternalEventTypeEditableProperties = z.infer<typeof ExternalEventTypeEditableProperties>;
10918
+ declare const ExternalEventTypeExportProperties: z.ZodObject<{
10919
+ uuid: z.ZodNonOptional<z.ZodOptional<z.ZodString>>;
10920
+ key: z.ZodNonOptional<z.ZodOptional<z.ZodString>>;
10921
+ name: z.ZodOptional<z.ZodString>;
10922
+ description: z.ZodOptional<z.ZodString>;
10923
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
10924
+ integrationUuid: z.ZodOptional<z.ZodString>;
10925
+ parentUuid: z.ZodOptional<z.ZodString>;
10926
+ externalAppUuid: z.ZodOptional<z.ZodString>;
10927
+ isCustomized: z.ZodOptional<z.ZodBoolean>;
10928
+ isUniversal: z.ZodOptional<z.ZodBoolean>;
10929
+ schema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
10930
+ parametersSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
10931
+ example: z.ZodOptional<z.ZodAny>;
10932
+ type: z.ZodOptional<z.ZodEnum<typeof ExternalEventTypeImplementationType>>;
10933
+ subscribe: z.ZodOptional<z.ZodObject<{
10934
+ type: z.ZodOptional<z.ZodEnum<{
10935
+ mapping: "mapping";
10936
+ "operation-mapping": "operation-mapping";
10937
+ "rest-api-mapping": "rest-api-mapping";
10938
+ "graphql-api-mapping": "graphql-api-mapping";
10939
+ javascript: "javascript";
10940
+ }>>;
10941
+ }, z.core.$loose>>;
10942
+ unsubscribe: z.ZodOptional<z.ZodObject<{
10943
+ type: z.ZodOptional<z.ZodEnum<{
10944
+ mapping: "mapping";
10945
+ "operation-mapping": "operation-mapping";
10946
+ "rest-api-mapping": "rest-api-mapping";
10947
+ "graphql-api-mapping": "graphql-api-mapping";
10948
+ javascript: "javascript";
10949
+ }>>;
10950
+ }, z.core.$loose>>;
10951
+ handle: z.ZodOptional<z.ZodObject<{
10952
+ type: z.ZodOptional<z.ZodEnum<{
10953
+ mapping: "mapping";
10954
+ "operation-mapping": "operation-mapping";
10955
+ "rest-api-mapping": "rest-api-mapping";
10956
+ "graphql-api-mapping": "graphql-api-mapping";
10957
+ javascript: "javascript";
10958
+ }>>;
10959
+ }, z.core.$loose>>;
10960
+ refresh: z.ZodOptional<z.ZodObject<{
10961
+ type: z.ZodOptional<z.ZodEnum<{
10962
+ mapping: "mapping";
10963
+ "operation-mapping": "operation-mapping";
10964
+ "rest-api-mapping": "rest-api-mapping";
10965
+ "graphql-api-mapping": "graphql-api-mapping";
10966
+ javascript: "javascript";
10967
+ }>>;
10968
+ }, z.core.$loose>>;
10969
+ }, z.core.$strip>;
10970
+ type ExternalEventTypeExportProperties = z.infer<typeof ExternalEventTypeExportProperties>;
10971
+ declare const BaseExternalEventType: z.ZodObject<{
10972
+ id: z.ZodString;
10973
+ uuid: z.ZodOptional<z.ZodString>;
10899
10974
  key: z.ZodOptional<z.ZodString>;
10900
- api: z.ZodOptional<z.ZodObject<{
10901
- method: z.ZodEnum<typeof HttpRequestMethod>;
10902
- path: z.ZodOptional<z.ZodString>;
10903
- body: z.ZodOptional<z.ZodAny>;
10904
- headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
10905
- query: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
10906
- url: z.ZodOptional<z.ZodString>;
10907
- data: z.ZodOptional<z.ZodAny>;
10908
- }, z.core.$strip>>;
10909
- code: z.ZodOptional<z.ZodString>;
10975
+ description: z.ZodOptional<z.ZodString>;
10976
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
10910
10977
  integrationId: z.ZodOptional<z.ZodString>;
10978
+ integrationUuid: z.ZodOptional<z.ZodString>;
10911
10979
  integrationKey: z.ZodOptional<z.ZodString>;
10980
+ parentId: z.ZodOptional<z.ZodString>;
10981
+ parentUuid: z.ZodOptional<z.ZodString>;
10982
+ parentKey: z.ZodOptional<z.ZodString>;
10912
10983
  connectionId: z.ZodOptional<z.ZodString>;
10913
- connectionKey: z.ZodOptional<z.ZodString>;
10914
- input: z.ZodOptional<z.ZodAny>;
10915
- meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
10916
- }, z.core.$strict>;
10917
- type ActRequest = z.infer<typeof ActRequest>;
10918
-
10919
- declare const PaginationQuery: z.ZodObject<{
10920
- limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
10921
- cursor: z.ZodOptional<z.ZodString>;
10922
- }, z.core.$strip>;
10923
- type PaginationQuery = z.infer<typeof PaginationQuery>;
10924
- declare function createPaginationResponseSchema<T extends z.ZodTypeAny>(itemSchema: T): z.ZodObject<{
10925
- items: z.ZodArray<T>;
10926
- cursor: z.ZodOptional<z.ZodString>;
10927
- }, z.core.$strip>;
10928
- declare class PaginationResponse<T> {
10929
- items: T[];
10930
- cursor?: string;
10931
- }
10932
- declare const IncludeArchivedQuery: z.ZodObject<{
10933
- includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
10934
- }, z.core.$strip>;
10935
- type IncludeArchivedQuery = z.infer<typeof IncludeArchivedQuery>;
10936
- declare const SearchQuery: z.ZodObject<{
10937
- search: z.ZodOptional<z.ZodString>;
10938
- }, z.core.$strip>;
10939
- type SearchQuery = z.infer<typeof SearchQuery>;
10940
- declare const CommonListElementsQuery: z.ZodObject<{
10941
- search: z.ZodOptional<z.ZodString>;
10942
- limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
10943
- cursor: z.ZodOptional<z.ZodString>;
10944
- includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
10945
- }, z.core.$strip>;
10946
- type CommonListElementsQuery = z.infer<typeof CommonListElementsQuery>;
10947
- declare const CommonFindElementsQuery: z.ZodObject<{
10948
- search: z.ZodOptional<z.ZodString>;
10949
- limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
10950
- cursor: z.ZodOptional<z.ZodString>;
10951
- includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
10952
- }, z.core.$strip>;
10953
- type CommonFindElementsQuery = z.infer<typeof CommonFindElementsQuery>;
10954
- declare const CommonInstancesListQuery: z.ZodObject<{
10955
- search: z.ZodOptional<z.ZodString>;
10956
- limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
10957
- cursor: z.ZodOptional<z.ZodString>;
10958
- includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
10959
- userId: z.ZodOptional<z.ZodString>;
10960
- instanceKey: z.ZodOptional<z.ZodString>;
10961
- }, z.core.$strip>;
10962
- type CommonInstancesListQuery = z.infer<typeof CommonInstancesListQuery>;
10963
- declare const CommonFindInstancesQuery: z.ZodObject<{
10964
- search: z.ZodOptional<z.ZodString>;
10965
- limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
10966
- cursor: z.ZodOptional<z.ZodString>;
10967
- includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
10968
- id: z.ZodOptional<z.ZodString>;
10969
- userId: z.ZodOptional<z.ZodString>;
10970
10984
  instanceKey: z.ZodOptional<z.ZodString>;
10985
+ isUniversal: z.ZodOptional<z.ZodBoolean>;
10986
+ externalAppId: z.ZodOptional<z.ZodString>;
10987
+ externalAppUuid: z.ZodOptional<z.ZodString>;
10988
+ externalAppKey: z.ZodOptional<z.ZodString>;
10989
+ name: z.ZodString;
10990
+ state: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementState>>;
10991
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>>;
10992
+ revision: z.ZodOptional<z.ZodString>;
10993
+ createdAt: z.ZodOptional<z.ZodString>;
10994
+ updatedAt: z.ZodOptional<z.ZodString>;
10995
+ archivedAt: z.ZodOptional<z.ZodString>;
10996
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
10997
+ isReadOnly: z.ZodOptional<z.ZodBoolean>;
10998
+ isCustomized: z.ZodOptional<z.ZodBoolean>;
10999
+ schema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
11000
+ parametersSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
11001
+ example: z.ZodOptional<z.ZodAny>;
11002
+ type: z.ZodOptional<z.ZodEnum<typeof ExternalEventTypeImplementationType>>;
11003
+ subscribe: z.ZodOptional<z.ZodObject<{
11004
+ type: z.ZodOptional<z.ZodEnum<{
11005
+ mapping: "mapping";
11006
+ "operation-mapping": "operation-mapping";
11007
+ "rest-api-mapping": "rest-api-mapping";
11008
+ "graphql-api-mapping": "graphql-api-mapping";
11009
+ javascript: "javascript";
11010
+ }>>;
11011
+ }, z.core.$loose>>;
11012
+ unsubscribe: z.ZodOptional<z.ZodObject<{
11013
+ type: z.ZodOptional<z.ZodEnum<{
11014
+ mapping: "mapping";
11015
+ "operation-mapping": "operation-mapping";
11016
+ "rest-api-mapping": "rest-api-mapping";
11017
+ "graphql-api-mapping": "graphql-api-mapping";
11018
+ javascript: "javascript";
11019
+ }>>;
11020
+ }, z.core.$loose>>;
11021
+ handle: z.ZodOptional<z.ZodObject<{
11022
+ type: z.ZodOptional<z.ZodEnum<{
11023
+ mapping: "mapping";
11024
+ "operation-mapping": "operation-mapping";
11025
+ "rest-api-mapping": "rest-api-mapping";
11026
+ "graphql-api-mapping": "graphql-api-mapping";
11027
+ javascript: "javascript";
11028
+ }>>;
11029
+ }, z.core.$loose>>;
11030
+ refresh: z.ZodOptional<z.ZodObject<{
11031
+ type: z.ZodOptional<z.ZodEnum<{
11032
+ mapping: "mapping";
11033
+ "operation-mapping": "operation-mapping";
11034
+ "rest-api-mapping": "rest-api-mapping";
11035
+ "graphql-api-mapping": "graphql-api-mapping";
11036
+ javascript: "javascript";
11037
+ }>>;
11038
+ }, z.core.$loose>>;
10971
11039
  }, z.core.$strip>;
10972
- type CommonFindInstancesQuery = z.infer<typeof CommonFindInstancesQuery>;
10973
- declare const CommonIntegrationOrConnectionQuery: z.ZodObject<{
10974
- connectionId: z.ZodOptional<z.ZodString>;
10975
- integrationId: z.ZodOptional<z.ZodString>;
10976
- integrationKey: z.ZodOptional<z.ZodString>;
10977
- }, z.core.$strip>;
10978
- type CommonIntegrationOrConnectionQuery = z.infer<typeof CommonIntegrationOrConnectionQuery>;
10979
-
10980
- declare enum LogRecordType {
10981
- MSG = "message",
10982
- TEXT = "text",
10983
- ERR = "error",
10984
- DATA = "data",
10985
- COMP = "compare",
10986
- API = "api-request"
10987
- }
10988
- interface LogRecord {
10989
- type?: LogRecordType;
10990
- msg?: string;
10991
- data?: any;
10992
- }
11040
+ type BaseExternalEventType = z.infer<typeof BaseExternalEventType>;
10993
11041
 
10994
- type WithExecutionLogs<T extends Record<string, any>> = T & {
10995
- logs?: any[];
10996
- };
10997
- declare function isStream(obj: any): boolean;
10998
- declare function streamToString(stream: Readable): Promise<string>;
10999
- interface BlobLike {
11000
- readonly size: number;
11001
- readonly type: string;
11002
- slice(start?: number, end?: number, contentType?: string): BlobLike;
11003
- stream(): ReadableStream<Uint8Array> | NodeJS.ReadableStream;
11004
- text(): Promise<string>;
11005
- arrayBuffer(): Promise<ArrayBuffer>;
11042
+ declare enum ActionRunLogStatus {
11043
+ SUCCESS = "success",
11044
+ ERROR = "error"
11006
11045
  }
11007
- declare function isBlob(value: unknown): value is BlobLike;
11008
- declare function truncateData(data: any, depth?: number): any;
11009
-
11010
- declare const axios: _axios.AxiosInstance;
11011
- interface BaseClientOptions {
11012
- credentials?: any;
11013
- fetchCredentials?: () => Promise<any>;
11046
+ declare const BaseActionRunLogRecord: z.ZodObject<{
11047
+ userId: z.ZodString;
11048
+ tenantId: z.ZodOptional<z.ZodString>;
11049
+ id: z.ZodString;
11050
+ externalAppId: z.ZodOptional<z.ZodString>;
11051
+ name: z.ZodString;
11052
+ universalActionId: z.ZodOptional<z.ZodString>;
11053
+ integrationActionId: z.ZodString;
11054
+ connectionActionId: z.ZodOptional<z.ZodString>;
11055
+ actionId: z.ZodOptional<z.ZodString>;
11056
+ actionInstanceId: z.ZodOptional<z.ZodString>;
11057
+ integrationId: z.ZodString;
11058
+ connectionId: z.ZodString;
11059
+ input: z.ZodOptional<z.ZodAny>;
11060
+ output: z.ZodOptional<z.ZodAny>;
11061
+ status: z.ZodEnum<typeof ActionRunLogStatus>;
11062
+ createdAt: z.ZodString;
11063
+ completedAt: z.ZodOptional<z.ZodString>;
11064
+ error: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
11065
+ duration: z.ZodOptional<z.ZodNumber>;
11066
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
11067
+ action: z.ZodOptional<z.ZodObject<{
11068
+ id: z.ZodOptional<z.ZodString>;
11069
+ integrationKey: z.ZodOptional<z.ZodString>;
11070
+ key: z.ZodOptional<z.ZodString>;
11071
+ connectionKey: z.ZodOptional<z.ZodString>;
11072
+ connectionId: z.ZodOptional<z.ZodString>;
11073
+ type: z.ZodString;
11074
+ api: z.ZodOptional<z.ZodObject<{
11075
+ method: z.ZodEnum<typeof HttpRequestMethod>;
11076
+ path: z.ZodOptional<z.ZodString>;
11077
+ url: z.ZodOptional<z.ZodString>;
11078
+ body: z.ZodOptional<z.ZodAny>;
11079
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
11080
+ query: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
11081
+ }, z.core.$strip>>;
11082
+ code: z.ZodOptional<z.ZodString>;
11083
+ input: z.ZodOptional<z.ZodAny>;
11084
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
11085
+ }, z.core.$strip>>;
11086
+ }, z.core.$strip>;
11087
+ type BaseActionRunLogRecord = z.infer<typeof BaseActionRunLogRecord>;
11088
+
11089
+ declare const ConnectedProductType: z.ZodEnum<{
11090
+ app: "app";
11091
+ "ai-agent": "ai-agent";
11092
+ }>;
11093
+ type ConnectedProductType = z.infer<typeof ConnectedProductType>;
11094
+ declare const ConnectedProductAudience: z.ZodEnum<{
11095
+ customers: "customers";
11096
+ personal: "personal";
11097
+ }>;
11098
+ type ConnectedProductAudience = z.infer<typeof ConnectedProductAudience>;
11099
+ declare const AiAgentAudience: z.ZodEnum<{
11100
+ customers: "customers";
11101
+ personal: "personal";
11102
+ }>;
11103
+ type AiAgentAudience = ConnectedProductAudience;
11104
+ declare const AiAgentType: z.ZodEnum<{
11105
+ custom: "custom";
11106
+ cursor: "cursor";
11107
+ "claude-code": "claude-code";
11108
+ codex: "codex";
11109
+ openclaw: "openclaw";
11110
+ copilot: "copilot";
11111
+ windsurf: "windsurf";
11112
+ claude: "claude";
11113
+ chatgpt: "chatgpt";
11114
+ }>;
11115
+ type AiAgentType = z.infer<typeof AiAgentType>;
11116
+ declare const AiAgentParameters: z.ZodObject<{
11117
+ agentType: z.ZodOptional<z.ZodString>;
11118
+ }, z.core.$loose>;
11119
+ type AiAgentParameters = z.infer<typeof AiAgentParameters>;
11120
+ declare const BaseConnectedProduct: z.ZodObject<{
11121
+ id: z.ZodString;
11122
+ name: z.ZodString;
11123
+ key: z.ZodString;
11124
+ type: z.ZodEnum<{
11125
+ app: "app";
11126
+ "ai-agent": "ai-agent";
11127
+ }>;
11128
+ audience: z.ZodOptional<z.ZodEnum<{
11129
+ customers: "customers";
11130
+ personal: "personal";
11131
+ }>>;
11132
+ parameters: z.ZodOptional<z.ZodObject<{
11133
+ agentType: z.ZodOptional<z.ZodString>;
11134
+ }, z.core.$loose>>;
11135
+ isConnected: z.ZodOptional<z.ZodBoolean>;
11136
+ lastApiRequestDate: z.ZodOptional<z.ZodString>;
11137
+ createdAt: z.ZodOptional<z.ZodString>;
11138
+ archivedAt: z.ZodOptional<z.ZodString>;
11139
+ }, z.core.$strip>;
11140
+ type BaseConnectedProduct = z.infer<typeof BaseConnectedProduct>;
11141
+
11142
+ declare const BaseConnectionAttemptLog: z.ZodObject<{
11143
+ userId: z.ZodString;
11144
+ tenantId: z.ZodOptional<z.ZodString>;
11145
+ id: z.ZodString;
11146
+ integrationId: z.ZodOptional<z.ZodString>;
11147
+ connectionId: z.ZodOptional<z.ZodString>;
11148
+ externalAppId: z.ZodOptional<z.ZodString>;
11149
+ connectorId: z.ZodOptional<z.ZodString>;
11150
+ connectorVersion: z.ZodOptional<z.ZodString>;
11151
+ authOptionKey: z.ZodOptional<z.ZodString>;
11152
+ connectionRequestId: z.ZodOptional<z.ZodString>;
11153
+ status: z.ZodEnum<{
11154
+ success: "success";
11155
+ error: "error";
11156
+ }>;
11157
+ error: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
11158
+ createdAt: z.ZodString;
11159
+ }, z.core.$strip>;
11160
+ type BaseConnectionAttemptLog = z.infer<typeof BaseConnectionAttemptLog>;
11161
+
11162
+ declare const ActApiDispatch: z.ZodObject<{
11163
+ method: z.ZodEnum<typeof HttpRequestMethod>;
11164
+ path: z.ZodOptional<z.ZodString>;
11165
+ body: z.ZodOptional<z.ZodAny>;
11166
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
11167
+ query: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
11168
+ url: z.ZodOptional<z.ZodString>;
11169
+ data: z.ZodOptional<z.ZodAny>;
11170
+ }, z.core.$strip>;
11171
+ type ActApiDispatch = z.infer<typeof ActApiDispatch>;
11172
+ declare const ActRequest: z.ZodObject<{
11173
+ id: z.ZodOptional<z.ZodString>;
11174
+ key: z.ZodOptional<z.ZodString>;
11175
+ api: z.ZodOptional<z.ZodObject<{
11176
+ method: z.ZodEnum<typeof HttpRequestMethod>;
11177
+ path: z.ZodOptional<z.ZodString>;
11178
+ body: z.ZodOptional<z.ZodAny>;
11179
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
11180
+ query: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
11181
+ url: z.ZodOptional<z.ZodString>;
11182
+ data: z.ZodOptional<z.ZodAny>;
11183
+ }, z.core.$strip>>;
11184
+ code: z.ZodOptional<z.ZodString>;
11185
+ integrationId: z.ZodOptional<z.ZodString>;
11186
+ integrationKey: z.ZodOptional<z.ZodString>;
11187
+ connectionId: z.ZodOptional<z.ZodString>;
11188
+ connectionKey: z.ZodOptional<z.ZodString>;
11189
+ input: z.ZodOptional<z.ZodAny>;
11190
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
11191
+ }, z.core.$strict>;
11192
+ type ActRequest = z.infer<typeof ActRequest>;
11193
+
11194
+ declare const PaginationQuery: z.ZodObject<{
11195
+ limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
11196
+ cursor: z.ZodOptional<z.ZodString>;
11197
+ }, z.core.$strip>;
11198
+ type PaginationQuery = z.infer<typeof PaginationQuery>;
11199
+ declare function createPaginationResponseSchema<T extends z.ZodTypeAny>(itemSchema: T): z.ZodObject<{
11200
+ items: z.ZodArray<T>;
11201
+ cursor: z.ZodOptional<z.ZodString>;
11202
+ }, z.core.$strip>;
11203
+ declare class PaginationResponse<T> {
11204
+ items: T[];
11205
+ cursor?: string;
11206
+ }
11207
+ declare const IncludeArchivedQuery: z.ZodObject<{
11208
+ includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
11209
+ }, z.core.$strip>;
11210
+ type IncludeArchivedQuery = z.infer<typeof IncludeArchivedQuery>;
11211
+ declare const SearchQuery: z.ZodObject<{
11212
+ search: z.ZodOptional<z.ZodString>;
11213
+ }, z.core.$strip>;
11214
+ type SearchQuery = z.infer<typeof SearchQuery>;
11215
+ declare const CommonListElementsQuery: z.ZodObject<{
11216
+ search: z.ZodOptional<z.ZodString>;
11217
+ limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
11218
+ cursor: z.ZodOptional<z.ZodString>;
11219
+ includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
11220
+ }, z.core.$strip>;
11221
+ type CommonListElementsQuery = z.infer<typeof CommonListElementsQuery>;
11222
+ declare const CommonFindElementsQuery: z.ZodObject<{
11223
+ search: z.ZodOptional<z.ZodString>;
11224
+ limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
11225
+ cursor: z.ZodOptional<z.ZodString>;
11226
+ includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
11227
+ }, z.core.$strip>;
11228
+ type CommonFindElementsQuery = z.infer<typeof CommonFindElementsQuery>;
11229
+ declare const CommonInstancesListQuery: z.ZodObject<{
11230
+ search: z.ZodOptional<z.ZodString>;
11231
+ limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
11232
+ cursor: z.ZodOptional<z.ZodString>;
11233
+ includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
11234
+ userId: z.ZodOptional<z.ZodString>;
11235
+ instanceKey: z.ZodOptional<z.ZodString>;
11236
+ }, z.core.$strip>;
11237
+ type CommonInstancesListQuery = z.infer<typeof CommonInstancesListQuery>;
11238
+ declare const CommonFindInstancesQuery: z.ZodObject<{
11239
+ search: z.ZodOptional<z.ZodString>;
11240
+ limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
11241
+ cursor: z.ZodOptional<z.ZodString>;
11242
+ includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
11243
+ id: z.ZodOptional<z.ZodString>;
11244
+ userId: z.ZodOptional<z.ZodString>;
11245
+ instanceKey: z.ZodOptional<z.ZodString>;
11246
+ }, z.core.$strip>;
11247
+ type CommonFindInstancesQuery = z.infer<typeof CommonFindInstancesQuery>;
11248
+ declare const CommonIntegrationOrConnectionQuery: z.ZodObject<{
11249
+ connectionId: z.ZodOptional<z.ZodString>;
11250
+ integrationId: z.ZodOptional<z.ZodString>;
11251
+ integrationKey: z.ZodOptional<z.ZodString>;
11252
+ }, z.core.$strip>;
11253
+ type CommonIntegrationOrConnectionQuery = z.infer<typeof CommonIntegrationOrConnectionQuery>;
11254
+
11255
+ declare enum LogRecordType {
11256
+ MSG = "message",
11257
+ TEXT = "text",
11258
+ ERR = "error",
11259
+ DATA = "data",
11260
+ COMP = "compare",
11261
+ API = "api-request"
11262
+ }
11263
+ interface LogRecord {
11264
+ type?: LogRecordType;
11265
+ msg?: string;
11266
+ data?: any;
11267
+ }
11268
+
11269
+ type WithExecutionLogs<T extends Record<string, any>> = T & {
11270
+ logs?: any[];
11271
+ };
11272
+ declare function isStream(obj: any): boolean;
11273
+ declare function streamToString(stream: Readable): Promise<string>;
11274
+ interface BlobLike {
11275
+ readonly size: number;
11276
+ readonly type: string;
11277
+ slice(start?: number, end?: number, contentType?: string): BlobLike;
11278
+ stream(): ReadableStream<Uint8Array> | NodeJS.ReadableStream;
11279
+ text(): Promise<string>;
11280
+ arrayBuffer(): Promise<ArrayBuffer>;
11281
+ }
11282
+ declare function isBlob(value: unknown): value is BlobLike;
11283
+ declare function truncateData(data: any, depth?: number): any;
11284
+
11285
+ declare const axios: _axios.AxiosInstance;
11286
+ interface BaseClientOptions {
11287
+ credentials?: any;
11288
+ fetchCredentials?: () => Promise<any>;
11014
11289
  apiUri?: string;
11015
11290
  uiUri?: string;
11016
11291
  }
@@ -11389,6 +11664,7 @@ declare const ConnectionApiResponse: z.ZodObject<{
11389
11664
  description: z.ZodString;
11390
11665
  uiUrl: z.ZodOptional<z.ZodString>;
11391
11666
  agentInstructions: z.ZodOptional<z.ZodString>;
11667
+ handoffAgentInstructions: z.ZodOptional<z.ZodString>;
11392
11668
  }, z.core.$strip>>;
11393
11669
  userId: z.ZodString;
11394
11670
  tenantId: z.ZodOptional<z.ZodString>;
@@ -11494,6 +11770,7 @@ declare const ConnectionApiResponseWithSecrets: z.ZodObject<{
11494
11770
  description: z.ZodString;
11495
11771
  uiUrl: z.ZodOptional<z.ZodString>;
11496
11772
  agentInstructions: z.ZodOptional<z.ZodString>;
11773
+ handoffAgentInstructions: z.ZodOptional<z.ZodString>;
11497
11774
  }, z.core.$strip>>;
11498
11775
  userId: z.ZodString;
11499
11776
  tenantId: z.ZodOptional<z.ZodString>;
@@ -11605,6 +11882,7 @@ declare const ConnectionMessagePayload: z.ZodDiscriminatedUnion<[z.ZodObject<{
11605
11882
  description: z.ZodString;
11606
11883
  uiUrl: z.ZodOptional<z.ZodString>;
11607
11884
  agentInstructions: z.ZodOptional<z.ZodString>;
11885
+ handoffAgentInstructions: z.ZodOptional<z.ZodString>;
11608
11886
  }, z.core.$strip>>;
11609
11887
  userId: z.ZodString;
11610
11888
  tenantId: z.ZodOptional<z.ZodString>;
@@ -11681,6 +11959,16 @@ declare const ConnectionMessagePayload: z.ZodDiscriminatedUnion<[z.ZodObject<{
11681
11959
  connectionId: z.ZodOptional<z.ZodString>;
11682
11960
  }, z.core.$strip>], "type">;
11683
11961
  type ConnectionMessagePayload = z.infer<typeof ConnectionMessagePayload>;
11962
+ declare const ConnectionEntityMessagePayload: z.ZodDiscriminatedUnion<[z.ZodObject<{
11963
+ type: z.ZodLiteral<"connected">;
11964
+ connectionId: z.ZodString;
11965
+ timestamp: z.ZodString;
11966
+ message: z.ZodOptional<z.ZodString>;
11967
+ }, z.core.$strip>, z.ZodObject<{
11968
+ type: z.ZodLiteral<"connectionPatched">;
11969
+ connectionId: z.ZodString;
11970
+ }, z.core.$strip>], "type">;
11971
+ type ConnectionEntityMessagePayload = z.infer<typeof ConnectionEntityMessagePayload>;
11684
11972
  declare const GenerateOptionsRequest: z.ZodObject<{
11685
11973
  integrationId: z.ZodOptional<z.ZodString>;
11686
11974
  integrationKey: z.ZodOptional<z.ZodString>;
@@ -11698,6 +11986,8 @@ declare const ConnectPayload: z.ZodObject<{
11698
11986
  connectorId: z.ZodOptional<z.ZodString>;
11699
11987
  connectorKey: z.ZodOptional<z.ZodString>;
11700
11988
  connectorVersion: z.ZodOptional<z.ZodString>;
11989
+ externalAppId: z.ZodOptional<z.ZodString>;
11990
+ externalAppKey: z.ZodOptional<z.ZodString>;
11701
11991
  connectionId: z.ZodOptional<z.ZodString>;
11702
11992
  connectionKey: z.ZodOptional<z.ZodString>;
11703
11993
  name: z.ZodOptional<z.ZodString>;
@@ -11718,6 +12008,8 @@ declare const ConnectUIOptions: z.ZodObject<{
11718
12008
  integrationKey: z.ZodOptional<z.ZodString>;
11719
12009
  name: z.ZodOptional<z.ZodString>;
11720
12010
  intent: z.ZodOptional<z.ZodString>;
12011
+ externalAppId: z.ZodOptional<z.ZodString>;
12012
+ externalAppKey: z.ZodOptional<z.ZodString>;
11721
12013
  connectionKey: z.ZodOptional<z.ZodString>;
11722
12014
  authOptionKey: z.ZodOptional<z.ZodString>;
11723
12015
  connectorParameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -11736,8 +12028,14 @@ declare const ConnectUIOptions: z.ZodObject<{
11736
12028
  }>>;
11737
12029
  }, z.core.$strip>;
11738
12030
  type ConnectUIOptions = z.infer<typeof ConnectUIOptions>;
12031
+ interface LateConnectionEvents {
12032
+ onConnection?: (connection: ConnectionApiResponse) => void;
12033
+ onFailure?: (error: MembraneError) => void;
12034
+ signal?: AbortSignal;
12035
+ }
11739
12036
  type ConnectOptions = ConnectPayload & {
11740
12037
  onPopupClosed?: () => void;
12038
+ lateEvents?: LateConnectionEvents;
11741
12039
  sameWindow?: boolean;
11742
12040
  };
11743
12041
 
@@ -11908,6 +12206,7 @@ declare const FlowRunApiResponse: z.ZodObject<{
11908
12206
  description: z.ZodString;
11909
12207
  uiUrl: z.ZodOptional<z.ZodString>;
11910
12208
  agentInstructions: z.ZodOptional<z.ZodString>;
12209
+ handoffAgentInstructions: z.ZodOptional<z.ZodString>;
11911
12210
  }, z.core.$strip>>;
11912
12211
  userId: z.ZodString;
11913
12212
  tenantId: z.ZodOptional<z.ZodString>;
@@ -12113,6 +12412,7 @@ declare const FindFlowRunsResponse: z.ZodObject<{
12113
12412
  description: z.ZodString;
12114
12413
  uiUrl: z.ZodOptional<z.ZodString>;
12115
12414
  agentInstructions: z.ZodOptional<z.ZodString>;
12415
+ handoffAgentInstructions: z.ZodOptional<z.ZodString>;
12116
12416
  }, z.core.$strip>>;
12117
12417
  userId: z.ZodString;
12118
12418
  tenantId: z.ZodOptional<z.ZodString>;
@@ -12469,6 +12769,7 @@ declare const FlowApiResponse: z.ZodObject<{
12469
12769
  description: z.ZodString;
12470
12770
  uiUrl: z.ZodOptional<z.ZodString>;
12471
12771
  agentInstructions: z.ZodOptional<z.ZodString>;
12772
+ handoffAgentInstructions: z.ZodOptional<z.ZodString>;
12472
12773
  }, z.core.$strip>>;
12473
12774
  userId: z.ZodString;
12474
12775
  tenantId: z.ZodOptional<z.ZodString>;
@@ -12830,6 +13131,7 @@ declare const FlowInstanceApiResponse: z.ZodObject<{
12830
13131
  description: z.ZodString;
12831
13132
  uiUrl: z.ZodOptional<z.ZodString>;
12832
13133
  agentInstructions: z.ZodOptional<z.ZodString>;
13134
+ handoffAgentInstructions: z.ZodOptional<z.ZodString>;
12833
13135
  }, z.core.$strip>>;
12834
13136
  userId: z.ZodString;
12835
13137
  tenantId: z.ZodOptional<z.ZodString>;
@@ -13550,6 +13852,7 @@ declare const DataSourceApiResponse: z.ZodObject<{
13550
13852
  description: z.ZodString;
13551
13853
  uiUrl: z.ZodOptional<z.ZodString>;
13552
13854
  agentInstructions: z.ZodOptional<z.ZodString>;
13855
+ handoffAgentInstructions: z.ZodOptional<z.ZodString>;
13553
13856
  }, z.core.$strip>>;
13554
13857
  userId: z.ZodString;
13555
13858
  tenantId: z.ZodOptional<z.ZodString>;
@@ -14156,6 +14459,7 @@ declare const DataSourceInstanceApiResponse: z.ZodObject<{
14156
14459
  description: z.ZodString;
14157
14460
  uiUrl: z.ZodOptional<z.ZodString>;
14158
14461
  agentInstructions: z.ZodOptional<z.ZodString>;
14462
+ handoffAgentInstructions: z.ZodOptional<z.ZodString>;
14159
14463
  }, z.core.$strip>>;
14160
14464
  userId: z.ZodString;
14161
14465
  tenantId: z.ZodOptional<z.ZodString>;
@@ -14634,6 +14938,7 @@ declare class ConnectionAccessor {
14634
14938
  patch(data: UpdateConnectionRequest): Promise<ConnectionApiResponse>;
14635
14939
  put(data: UpdateConnectionRequest): Promise<ConnectionApiResponse>;
14636
14940
  archive(): Promise<void>;
14941
+ restore(): Promise<ConnectionApiResponse>;
14637
14942
  request(path: string, data?: any): Promise<any>;
14638
14943
  get proxy(): ConnectionProxy;
14639
14944
  operation(key: string): ConnectionOperationAccessor;
@@ -14678,6 +14983,7 @@ declare class ConnectionAccessor {
14678
14983
  description: string;
14679
14984
  uiUrl?: string | undefined;
14680
14985
  agentInstructions?: string | undefined;
14986
+ handoffAgentInstructions?: string | undefined;
14681
14987
  } | undefined;
14682
14988
  tenantId?: string | undefined;
14683
14989
  user?: {
@@ -14791,6 +15097,7 @@ declare function createOrUpdateConnection(options: {
14791
15097
  apiUri: string;
14792
15098
  redirectUri?: string;
14793
15099
  onPopupClosed?: () => void;
15100
+ lateEvents?: LateConnectionEvents;
14794
15101
  }): Promise<ConnectionApiResponse | null>;
14795
15102
 
14796
15103
  declare class FlowsAccessor extends ElementListAccessor<FlowApiResponse, FindFlowsQuery, CreateFlowRequest> {
@@ -14864,6 +15171,7 @@ declare const CreateIntegrationRequest: z.ZodObject<{
14864
15171
  disabled: z.ZodOptional<z.ZodBoolean>;
14865
15172
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
14866
15173
  }, z.core.$strip>>>;
15174
+ intent: z.ZodOptional<z.ZodString>;
14867
15175
  }, z.core.$strip>;
14868
15176
  type CreateIntegrationRequest = z.infer<typeof CreateIntegrationRequest>;
14869
15177
  declare const UpdateIntegrationRequest: z.ZodObject<{
@@ -14894,6 +15202,7 @@ declare const FindIntegrationsQuery: z.ZodObject<{
14894
15202
  connectors: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
14895
15203
  externalApps: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
14896
15204
  websearch: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
15205
+ all: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
14897
15206
  limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
14898
15207
  cursor: z.ZodOptional<z.ZodString>;
14899
15208
  search: z.ZodOptional<z.ZodString>;
@@ -14932,7 +15241,6 @@ declare const IntegrationAuthOption: z.ZodObject<{
14932
15241
  }, z.core.$strip>;
14933
15242
  type IntegrationAuthOption = z.infer<typeof IntegrationAuthOption>;
14934
15243
  declare const IntegrationApiResponse: z.ZodObject<{
14935
- id: z.ZodString;
14936
15244
  uuid: z.ZodOptional<z.ZodString>;
14937
15245
  key: z.ZodOptional<z.ZodString>;
14938
15246
  description: z.ZodOptional<z.ZodString>;
@@ -14944,7 +15252,6 @@ declare const IntegrationApiResponse: z.ZodObject<{
14944
15252
  createdAt: z.ZodOptional<z.ZodString>;
14945
15253
  updatedAt: z.ZodOptional<z.ZodString>;
14946
15254
  isReadOnly: z.ZodOptional<z.ZodBoolean>;
14947
- logoUri: z.ZodString;
14948
15255
  connectorId: z.ZodOptional<z.ZodString>;
14949
15256
  connectorVersion: z.ZodOptional<z.ZodString>;
14950
15257
  oAuthCallbackUri: z.ZodOptional<z.ZodString>;
@@ -15013,6 +15320,7 @@ declare const IntegrationApiResponse: z.ZodObject<{
15013
15320
  description: z.ZodString;
15014
15321
  uiUrl: z.ZodOptional<z.ZodString>;
15015
15322
  agentInstructions: z.ZodOptional<z.ZodString>;
15323
+ handoffAgentInstructions: z.ZodOptional<z.ZodString>;
15016
15324
  }, z.core.$strip>>;
15017
15325
  userId: z.ZodString;
15018
15326
  tenantId: z.ZodOptional<z.ZodString>;
@@ -15036,6 +15344,10 @@ declare const IntegrationApiResponse: z.ZodObject<{
15036
15344
  helpUri: z.ZodOptional<z.ZodString>;
15037
15345
  }, z.core.$strip>>;
15038
15346
  }, z.core.$strip>>>;
15347
+ id: z.ZodOptional<z.ZodString>;
15348
+ logoUri: z.ZodOptional<z.ZodString>;
15349
+ appUri: z.ZodOptional<z.ZodString>;
15350
+ isConnected: z.ZodOptional<z.ZodBoolean>;
15039
15351
  }, z.core.$strip>;
15040
15352
  type IntegrationApiResponse = z.infer<typeof IntegrationApiResponse>;
15041
15353
  declare const IntegrationListItem: z.ZodObject<{
@@ -15118,6 +15430,7 @@ declare const IntegrationListItem: z.ZodObject<{
15118
15430
  description: z.ZodString;
15119
15431
  uiUrl: z.ZodOptional<z.ZodString>;
15120
15432
  agentInstructions: z.ZodOptional<z.ZodString>;
15433
+ handoffAgentInstructions: z.ZodOptional<z.ZodString>;
15121
15434
  }, z.core.$strip>>;
15122
15435
  userId: z.ZodString;
15123
15436
  tenantId: z.ZodOptional<z.ZodString>;
@@ -15144,8 +15457,9 @@ declare const IntegrationListItem: z.ZodObject<{
15144
15457
  id: z.ZodOptional<z.ZodString>;
15145
15458
  logoUri: z.ZodOptional<z.ZodString>;
15146
15459
  appUri: z.ZodOptional<z.ZodString>;
15460
+ isConnected: z.ZodOptional<z.ZodBoolean>;
15147
15461
  }, z.core.$strip>;
15148
- type IntegrationListItem = z.infer<typeof IntegrationListItem>;
15462
+ type IntegrationListItem = IntegrationApiResponse;
15149
15463
  type Integration = IntegrationApiResponse;
15150
15464
 
15151
15465
  declare const FieldMappingApiResponse: z.ZodObject<{
@@ -15395,6 +15709,7 @@ declare const FieldMappingApiResponse: z.ZodObject<{
15395
15709
  description: z.ZodString;
15396
15710
  uiUrl: z.ZodOptional<z.ZodString>;
15397
15711
  agentInstructions: z.ZodOptional<z.ZodString>;
15712
+ handoffAgentInstructions: z.ZodOptional<z.ZodString>;
15398
15713
  }, z.core.$strip>>;
15399
15714
  userId: z.ZodString;
15400
15715
  tenantId: z.ZodOptional<z.ZodString>;
@@ -15700,6 +16015,7 @@ declare const FieldMappingInstanceApiResponse: z.ZodObject<{
15700
16015
  description: z.ZodString;
15701
16016
  uiUrl: z.ZodOptional<z.ZodString>;
15702
16017
  agentInstructions: z.ZodOptional<z.ZodString>;
16018
+ handoffAgentInstructions: z.ZodOptional<z.ZodString>;
15703
16019
  }, z.core.$strip>>;
15704
16020
  userId: z.ZodString;
15705
16021
  tenantId: z.ZodOptional<z.ZodString>;
@@ -16059,6 +16375,7 @@ declare class IntegrationAccessor extends ElementAccessor<IntegrationApiResponse
16059
16375
  description: string;
16060
16376
  uiUrl?: string | undefined;
16061
16377
  agentInstructions?: string | undefined;
16378
+ handoffAgentInstructions?: string | undefined;
16062
16379
  } | undefined;
16063
16380
  tenantId?: string | undefined;
16064
16381
  user?: {
@@ -16665,9 +16982,15 @@ declare const ListExternalEventSubscriptionsQuery: z.ZodObject<{
16665
16982
  connectionId: z.ZodOptional<z.ZodString>;
16666
16983
  integrationId: z.ZodOptional<z.ZodString>;
16667
16984
  externalAppId: z.ZodOptional<z.ZodString>;
16985
+ externalEventTypeId: z.ZodOptional<z.ZodString>;
16668
16986
  status: z.ZodOptional<z.ZodEnum<typeof ExternalEventSubscriptionStatus>>;
16669
16987
  }, z.core.$strip>;
16670
16988
  type ListExternalEventSubscriptionsQuery = z.infer<typeof ListExternalEventSubscriptionsQuery>;
16989
+ declare const CreateExternalEventSubscriptionRequest: z.ZodObject<{
16990
+ connectionId: z.ZodString;
16991
+ externalEventTypeId: z.ZodString;
16992
+ }, z.core.$strip>;
16993
+ type CreateExternalEventSubscriptionRequest = z.infer<typeof CreateExternalEventSubscriptionRequest>;
16671
16994
  declare const ExternalEventSubscriptionApiResponse: z.ZodObject<{
16672
16995
  userId: z.ZodString;
16673
16996
  tenantId: z.ZodOptional<z.ZodString>;
@@ -16675,6 +16998,7 @@ declare const ExternalEventSubscriptionApiResponse: z.ZodObject<{
16675
16998
  name: z.ZodOptional<z.ZodString>;
16676
16999
  connectionId: z.ZodString;
16677
17000
  integrationId: z.ZodString;
17001
+ externalEventTypeId: z.ZodOptional<z.ZodString>;
16678
17002
  config: z.ZodOptional<z.ZodObject<{
16679
17003
  type: z.ZodEnum<typeof ExternalEventSubscriptionType>;
16680
17004
  dataSource: z.ZodOptional<z.ZodObject<{
@@ -16705,6 +17029,7 @@ declare const ExternalEventSubscriptionApiResponse: z.ZodObject<{
16705
17029
  nextRefreshTimestamp: z.ZodOptional<z.ZodNumber>;
16706
17030
  globalWebhookKey: z.ZodOptional<z.ZodString>;
16707
17031
  globalWebhookEventSelector: z.ZodOptional<z.ZodString>;
17032
+ incomingWebhookUri: z.ZodOptional<z.ZodString>;
16708
17033
  webhookUri: z.ZodOptional<z.ZodString>;
16709
17034
  user: z.ZodOptional<z.ZodObject<{
16710
17035
  id: z.ZodString;
@@ -16758,6 +17083,7 @@ declare const ExternalEventSubscriptionApiResponse: z.ZodObject<{
16758
17083
  description: z.ZodString;
16759
17084
  uiUrl: z.ZodOptional<z.ZodString>;
16760
17085
  agentInstructions: z.ZodOptional<z.ZodString>;
17086
+ handoffAgentInstructions: z.ZodOptional<z.ZodString>;
16761
17087
  }, z.core.$strip>>;
16762
17088
  userId: z.ZodString;
16763
17089
  tenantId: z.ZodOptional<z.ZodString>;
@@ -16810,6 +17136,10 @@ declare const ExternalEventSubscriptionApiResponse: z.ZodObject<{
16810
17136
  }, z.core.$strip>>;
16811
17137
  }, z.core.$strip>;
16812
17138
  type ExternalEventSubscriptionApiResponse = z.infer<typeof ExternalEventSubscriptionApiResponse>;
17139
+ declare const PatchExternalEventSubscriptionRequest: z.ZodObject<{
17140
+ webhookUri: z.ZodOptional<z.ZodUnion<[z.ZodURL, z.ZodLiteral<"">]>>;
17141
+ }, z.core.$strip>;
17142
+ type PatchExternalEventSubscriptionRequest = z.infer<typeof PatchExternalEventSubscriptionRequest>;
16813
17143
  type ExternalEventSubscription = ExternalEventSubscriptionApiResponse;
16814
17144
 
16815
17145
  interface FindExternalEventSubscriptionsQuery extends PaginationQuery {
@@ -17656,44 +17986,23 @@ declare const ActionRunLogRecordApiResponse: z.ZodObject<{
17656
17986
  duration: z.ZodOptional<z.ZodNumber>;
17657
17987
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
17658
17988
  action: z.ZodOptional<z.ZodObject<{
17659
- id: z.ZodString;
17660
- uuid: z.ZodOptional<z.ZodString>;
17661
- key: z.ZodOptional<z.ZodString>;
17662
- description: z.ZodOptional<z.ZodString>;
17663
- meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
17664
- integrationId: z.ZodOptional<z.ZodString>;
17665
- integrationUuid: z.ZodOptional<z.ZodString>;
17989
+ id: z.ZodOptional<z.ZodString>;
17666
17990
  integrationKey: z.ZodOptional<z.ZodString>;
17667
- parentId: z.ZodOptional<z.ZodString>;
17668
- parentUuid: z.ZodOptional<z.ZodString>;
17669
- parentKey: z.ZodOptional<z.ZodString>;
17670
- isUniversal: z.ZodOptional<z.ZodBoolean>;
17671
- externalAppId: z.ZodOptional<z.ZodString>;
17672
- externalAppKey: z.ZodOptional<z.ZodString>;
17991
+ key: z.ZodOptional<z.ZodString>;
17992
+ connectionKey: z.ZodOptional<z.ZodString>;
17673
17993
  connectionId: z.ZodOptional<z.ZodString>;
17674
- instanceKey: z.ZodOptional<z.ZodString>;
17675
- inputSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
17676
- type: z.ZodOptional<z.ZodEnum<typeof ActionType>>;
17677
- config: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
17678
- outputMapping: z.ZodOptional<z.ZodAny>;
17679
- customOutputSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
17680
- name: z.ZodString;
17681
- state: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementState>>;
17682
- errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>>;
17683
- revision: z.ZodOptional<z.ZodString>;
17684
- createdAt: z.ZodOptional<z.ZodString>;
17685
- updatedAt: z.ZodOptional<z.ZodString>;
17686
- archivedAt: z.ZodOptional<z.ZodString>;
17687
- isDeactivated: z.ZodOptional<z.ZodBoolean>;
17688
- isReadOnly: z.ZodOptional<z.ZodBoolean>;
17689
- isCustomized: z.ZodOptional<z.ZodBoolean>;
17690
- agentSessionId: z.ZodOptional<z.ZodString>;
17691
- universalParentId: z.ZodOptional<z.ZodString>;
17692
- outputSchema: z.ZodOptional<z.ZodAny>;
17693
- isPublic: z.ZodOptional<z.ZodBoolean>;
17694
- externalAppUuid: z.ZodOptional<z.ZodString>;
17695
- userId: z.ZodOptional<z.ZodString>;
17696
- tenantId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17994
+ type: z.ZodString;
17995
+ api: z.ZodOptional<z.ZodObject<{
17996
+ method: z.ZodEnum<typeof HttpRequestMethod>;
17997
+ path: z.ZodOptional<z.ZodString>;
17998
+ url: z.ZodOptional<z.ZodString>;
17999
+ body: z.ZodOptional<z.ZodAny>;
18000
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
18001
+ query: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
18002
+ }, z.core.$strip>>;
18003
+ code: z.ZodOptional<z.ZodString>;
18004
+ input: z.ZodOptional<z.ZodAny>;
18005
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
17697
18006
  }, z.core.$strip>>;
17698
18007
  actionInstance: z.ZodOptional<z.ZodObject<{
17699
18008
  id: z.ZodString;
@@ -17818,6 +18127,7 @@ declare const ActionRunLogRecordApiResponse: z.ZodObject<{
17818
18127
  description: z.ZodString;
17819
18128
  uiUrl: z.ZodOptional<z.ZodString>;
17820
18129
  agentInstructions: z.ZodOptional<z.ZodString>;
18130
+ handoffAgentInstructions: z.ZodOptional<z.ZodString>;
17821
18131
  }, z.core.$strip>>;
17822
18132
  userId: z.ZodString;
17823
18133
  tenantId: z.ZodOptional<z.ZodString>;
@@ -17879,44 +18189,23 @@ declare const FindActionRunLogsResponse: z.ZodObject<{
17879
18189
  duration: z.ZodOptional<z.ZodNumber>;
17880
18190
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
17881
18191
  action: z.ZodOptional<z.ZodObject<{
17882
- id: z.ZodString;
17883
- uuid: z.ZodOptional<z.ZodString>;
17884
- key: z.ZodOptional<z.ZodString>;
17885
- description: z.ZodOptional<z.ZodString>;
17886
- meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
17887
- integrationId: z.ZodOptional<z.ZodString>;
17888
- integrationUuid: z.ZodOptional<z.ZodString>;
18192
+ id: z.ZodOptional<z.ZodString>;
17889
18193
  integrationKey: z.ZodOptional<z.ZodString>;
17890
- parentId: z.ZodOptional<z.ZodString>;
17891
- parentUuid: z.ZodOptional<z.ZodString>;
17892
- parentKey: z.ZodOptional<z.ZodString>;
17893
- isUniversal: z.ZodOptional<z.ZodBoolean>;
17894
- externalAppId: z.ZodOptional<z.ZodString>;
17895
- externalAppKey: z.ZodOptional<z.ZodString>;
18194
+ key: z.ZodOptional<z.ZodString>;
18195
+ connectionKey: z.ZodOptional<z.ZodString>;
17896
18196
  connectionId: z.ZodOptional<z.ZodString>;
17897
- instanceKey: z.ZodOptional<z.ZodString>;
17898
- inputSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
17899
- type: z.ZodOptional<z.ZodEnum<typeof ActionType>>;
17900
- config: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
17901
- outputMapping: z.ZodOptional<z.ZodAny>;
17902
- customOutputSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
17903
- name: z.ZodString;
17904
- state: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementState>>;
17905
- errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>>;
17906
- revision: z.ZodOptional<z.ZodString>;
17907
- createdAt: z.ZodOptional<z.ZodString>;
17908
- updatedAt: z.ZodOptional<z.ZodString>;
17909
- archivedAt: z.ZodOptional<z.ZodString>;
17910
- isDeactivated: z.ZodOptional<z.ZodBoolean>;
17911
- isReadOnly: z.ZodOptional<z.ZodBoolean>;
17912
- isCustomized: z.ZodOptional<z.ZodBoolean>;
17913
- agentSessionId: z.ZodOptional<z.ZodString>;
17914
- universalParentId: z.ZodOptional<z.ZodString>;
17915
- outputSchema: z.ZodOptional<z.ZodAny>;
17916
- isPublic: z.ZodOptional<z.ZodBoolean>;
17917
- externalAppUuid: z.ZodOptional<z.ZodString>;
17918
- userId: z.ZodOptional<z.ZodString>;
17919
- tenantId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18197
+ type: z.ZodString;
18198
+ api: z.ZodOptional<z.ZodObject<{
18199
+ method: z.ZodEnum<typeof HttpRequestMethod>;
18200
+ path: z.ZodOptional<z.ZodString>;
18201
+ url: z.ZodOptional<z.ZodString>;
18202
+ body: z.ZodOptional<z.ZodAny>;
18203
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
18204
+ query: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
18205
+ }, z.core.$strip>>;
18206
+ code: z.ZodOptional<z.ZodString>;
18207
+ input: z.ZodOptional<z.ZodAny>;
18208
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
17920
18209
  }, z.core.$strip>>;
17921
18210
  actionInstance: z.ZodOptional<z.ZodObject<{
17922
18211
  id: z.ZodString;
@@ -18041,6 +18330,7 @@ declare const FindActionRunLogsResponse: z.ZodObject<{
18041
18330
  description: z.ZodString;
18042
18331
  uiUrl: z.ZodOptional<z.ZodString>;
18043
18332
  agentInstructions: z.ZodOptional<z.ZodString>;
18333
+ handoffAgentInstructions: z.ZodOptional<z.ZodString>;
18044
18334
  }, z.core.$strip>>;
18045
18335
  userId: z.ZodString;
18046
18336
  tenantId: z.ZodOptional<z.ZodString>;
@@ -18073,6 +18363,16 @@ declare const ListPublicConnectorsQuery: z.ZodObject<{
18073
18363
  search: z.ZodOptional<z.ZodString>;
18074
18364
  }, z.core.$strip>;
18075
18365
  type ListPublicConnectorsQuery = z.infer<typeof ListPublicConnectorsQuery>;
18366
+ declare const ListConnectorsQuery: z.ZodObject<{
18367
+ limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
18368
+ cursor: z.ZodOptional<z.ZodString>;
18369
+ workspaceId: z.ZodOptional<z.ZodString>;
18370
+ search: z.ZodOptional<z.ZodString>;
18371
+ appUuid: z.ZodOptional<z.ZodString>;
18372
+ externalAppId: z.ZodOptional<z.ZodString>;
18373
+ includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
18374
+ }, z.core.$strip>;
18375
+ type ListConnectorsQuery = z.infer<typeof ListConnectorsQuery>;
18076
18376
 
18077
18377
  declare const ListExternalAppsQuery: z.ZodObject<{
18078
18378
  limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
@@ -18083,6 +18383,34 @@ declare const ListExternalAppsQuery: z.ZodObject<{
18083
18383
  isConnected: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
18084
18384
  }, z.core.$strip>;
18085
18385
  type ListExternalAppsQuery = z.infer<typeof ListExternalAppsQuery>;
18386
+ declare const CreateExternalAppRequest: z.ZodObject<{
18387
+ key: z.ZodString;
18388
+ name: z.ZodString;
18389
+ appUri: z.ZodOptional<z.ZodURL>;
18390
+ logoUri: z.ZodOptional<z.ZodURL>;
18391
+ categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
18392
+ defaultConnectorId: z.ZodOptional<z.ZodString>;
18393
+ basePackageId: z.ZodOptional<z.ZodString>;
18394
+ hasFreeTestAccount: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
18395
+ freeTestAccountGuide: z.ZodOptional<z.ZodString>;
18396
+ freeTestAccountGuideVerifiedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
18397
+ tenantId: z.ZodOptional<z.ZodString>;
18398
+ }, z.core.$strip>;
18399
+ type CreateExternalAppRequest = z.infer<typeof CreateExternalAppRequest>;
18400
+ declare const UpdateExternalAppRequest: z.ZodObject<{
18401
+ key: z.ZodOptional<z.ZodString>;
18402
+ name: z.ZodOptional<z.ZodString>;
18403
+ appUri: z.ZodOptional<z.ZodOptional<z.ZodURL>>;
18404
+ logoUri: z.ZodOptional<z.ZodOptional<z.ZodURL>>;
18405
+ categories: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
18406
+ defaultConnectorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18407
+ basePackageId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18408
+ hasFreeTestAccount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>>;
18409
+ freeTestAccountGuide: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18410
+ freeTestAccountGuideVerifiedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>>;
18411
+ tenantId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18412
+ }, z.core.$strip>;
18413
+ type UpdateExternalAppRequest = z.infer<typeof UpdateExternalAppRequest>;
18086
18414
 
18087
18415
  declare const CheckpointApiResponse: z.ZodObject<{
18088
18416
  id: z.ZodString;
@@ -18091,7 +18419,6 @@ declare const CheckpointApiResponse: z.ZodObject<{
18091
18419
  checkpointNumber: z.ZodNumber;
18092
18420
  snapshot: z.ZodRecord<z.ZodString, z.ZodUnknown>;
18093
18421
  createdAt: z.ZodString;
18094
- createdBy: z.ZodOptional<z.ZodString>;
18095
18422
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
18096
18423
  }, z.core.$strip>;
18097
18424
  type CheckpointApiResponse = z.infer<typeof CheckpointApiResponse>;
@@ -18366,6 +18693,7 @@ declare const DataLinkTableInstanceApiResponse: z.ZodObject<{
18366
18693
  description: z.ZodString;
18367
18694
  uiUrl: z.ZodOptional<z.ZodString>;
18368
18695
  agentInstructions: z.ZodOptional<z.ZodString>;
18696
+ handoffAgentInstructions: z.ZodOptional<z.ZodString>;
18369
18697
  }, z.core.$strip>>;
18370
18698
  userId: z.ZodString;
18371
18699
  tenantId: z.ZodOptional<z.ZodString>;
@@ -18653,6 +18981,7 @@ declare const ListExternalEventLogRecordsQuery: z.ZodObject<{
18653
18981
  connectionId: z.ZodOptional<z.ZodString>;
18654
18982
  integrationId: z.ZodOptional<z.ZodString>;
18655
18983
  externalEventSubscriptionId: z.ZodOptional<z.ZodString>;
18984
+ externalEventTypeId: z.ZodOptional<z.ZodString>;
18656
18985
  status: z.ZodOptional<z.ZodEnum<typeof ExternalEventLogStatus>>;
18657
18986
  externalAppId: z.ZodOptional<z.ZodString>;
18658
18987
  from: z.ZodOptional<z.ZodString>;
@@ -18668,6 +18997,7 @@ declare const ExternalEventLogRecordApiResponse: z.ZodObject<{
18668
18997
  externalEventSubscriptionId: z.ZodString;
18669
18998
  integrationId: z.ZodString;
18670
18999
  connectionId: z.ZodString;
19000
+ externalEventTypeId: z.ZodOptional<z.ZodString>;
18671
19001
  payload: z.ZodOptional<z.ZodAny>;
18672
19002
  launchedFlowRunIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
18673
19003
  status: z.ZodEnum<typeof ExternalEventLogStatus>;
@@ -18694,6 +19024,7 @@ declare const ExternalEventLogRecordApiResponse: z.ZodObject<{
18694
19024
  name: z.ZodOptional<z.ZodString>;
18695
19025
  connectionId: z.ZodString;
18696
19026
  integrationId: z.ZodString;
19027
+ externalEventTypeId: z.ZodOptional<z.ZodString>;
18697
19028
  config: z.ZodOptional<z.ZodObject<{
18698
19029
  type: z.ZodEnum<typeof ExternalEventSubscriptionType>;
18699
19030
  dataSource: z.ZodOptional<z.ZodObject<{
@@ -18724,6 +19055,7 @@ declare const ExternalEventLogRecordApiResponse: z.ZodObject<{
18724
19055
  nextRefreshTimestamp: z.ZodOptional<z.ZodNumber>;
18725
19056
  globalWebhookKey: z.ZodOptional<z.ZodString>;
18726
19057
  globalWebhookEventSelector: z.ZodOptional<z.ZodString>;
19058
+ incomingWebhookUri: z.ZodOptional<z.ZodString>;
18727
19059
  webhookUri: z.ZodOptional<z.ZodString>;
18728
19060
  }, z.core.$strip>>;
18729
19061
  integration: z.ZodOptional<z.ZodObject<{
@@ -18809,6 +19141,7 @@ declare const ExternalEventLogRecordApiResponse: z.ZodObject<{
18809
19141
  description: z.ZodString;
18810
19142
  uiUrl: z.ZodOptional<z.ZodString>;
18811
19143
  agentInstructions: z.ZodOptional<z.ZodString>;
19144
+ handoffAgentInstructions: z.ZodOptional<z.ZodString>;
18812
19145
  }, z.core.$strip>>;
18813
19146
  userId: z.ZodString;
18814
19147
  tenantId: z.ZodOptional<z.ZodString>;
@@ -18879,6 +19212,7 @@ declare const ExternalEventPullApiResponse: z.ZodObject<{
18879
19212
  name: z.ZodOptional<z.ZodString>;
18880
19213
  connectionId: z.ZodString;
18881
19214
  integrationId: z.ZodString;
19215
+ externalEventTypeId: z.ZodOptional<z.ZodString>;
18882
19216
  config: z.ZodOptional<z.ZodObject<{
18883
19217
  type: z.ZodEnum<typeof ExternalEventSubscriptionType>;
18884
19218
  dataSource: z.ZodOptional<z.ZodObject<{
@@ -18909,6 +19243,7 @@ declare const ExternalEventPullApiResponse: z.ZodObject<{
18909
19243
  nextRefreshTimestamp: z.ZodOptional<z.ZodNumber>;
18910
19244
  globalWebhookKey: z.ZodOptional<z.ZodString>;
18911
19245
  globalWebhookEventSelector: z.ZodOptional<z.ZodString>;
19246
+ incomingWebhookUri: z.ZodOptional<z.ZodString>;
18912
19247
  webhookUri: z.ZodOptional<z.ZodString>;
18913
19248
  }, z.core.$strip>>;
18914
19249
  integration: z.ZodOptional<z.ZodObject<{
@@ -18994,6 +19329,7 @@ declare const ExternalEventPullApiResponse: z.ZodObject<{
18994
19329
  description: z.ZodString;
18995
19330
  uiUrl: z.ZodOptional<z.ZodString>;
18996
19331
  agentInstructions: z.ZodOptional<z.ZodString>;
19332
+ handoffAgentInstructions: z.ZodOptional<z.ZodString>;
18997
19333
  }, z.core.$strip>>;
18998
19334
  userId: z.ZodString;
18999
19335
  tenantId: z.ZodOptional<z.ZodString>;
@@ -19002,46 +19338,377 @@ declare const ExternalEventPullApiResponse: z.ZodObject<{
19002
19338
  type ExternalEventPullApiResponse = z.infer<typeof ExternalEventPullApiResponse>;
19003
19339
  type ExternalEventPull = ExternalEventPullApiResponse;
19004
19340
 
19005
- declare const ListAppEventLogRecordsQuery: z.ZodObject<{
19341
+ declare const CreateExternalEventTypeRequest: z.ZodObject<{
19342
+ uuid: z.ZodOptional<z.ZodString>;
19343
+ key: z.ZodOptional<z.ZodString>;
19344
+ description: z.ZodOptional<z.ZodString>;
19345
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
19346
+ integrationId: z.ZodOptional<z.ZodString>;
19347
+ integrationUuid: z.ZodOptional<z.ZodString>;
19348
+ integrationKey: z.ZodOptional<z.ZodString>;
19349
+ parentId: z.ZodOptional<z.ZodString>;
19350
+ parentUuid: z.ZodOptional<z.ZodString>;
19351
+ parentKey: z.ZodOptional<z.ZodString>;
19352
+ connectionId: z.ZodOptional<z.ZodString>;
19353
+ instanceKey: z.ZodOptional<z.ZodString>;
19354
+ isUniversal: z.ZodOptional<z.ZodBoolean>;
19355
+ externalAppId: z.ZodOptional<z.ZodString>;
19356
+ externalAppUuid: z.ZodOptional<z.ZodString>;
19357
+ externalAppKey: z.ZodOptional<z.ZodString>;
19358
+ schema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
19359
+ parametersSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
19360
+ example: z.ZodOptional<z.ZodAny>;
19361
+ type: z.ZodOptional<z.ZodEnum<typeof ExternalEventTypeImplementationType>>;
19362
+ subscribe: z.ZodOptional<z.ZodObject<{
19363
+ type: z.ZodOptional<z.ZodEnum<{
19364
+ mapping: "mapping";
19365
+ "operation-mapping": "operation-mapping";
19366
+ "rest-api-mapping": "rest-api-mapping";
19367
+ "graphql-api-mapping": "graphql-api-mapping";
19368
+ javascript: "javascript";
19369
+ }>>;
19370
+ }, z.core.$loose>>;
19371
+ unsubscribe: z.ZodOptional<z.ZodObject<{
19372
+ type: z.ZodOptional<z.ZodEnum<{
19373
+ mapping: "mapping";
19374
+ "operation-mapping": "operation-mapping";
19375
+ "rest-api-mapping": "rest-api-mapping";
19376
+ "graphql-api-mapping": "graphql-api-mapping";
19377
+ javascript: "javascript";
19378
+ }>>;
19379
+ }, z.core.$loose>>;
19380
+ handle: z.ZodOptional<z.ZodObject<{
19381
+ type: z.ZodOptional<z.ZodEnum<{
19382
+ mapping: "mapping";
19383
+ "operation-mapping": "operation-mapping";
19384
+ "rest-api-mapping": "rest-api-mapping";
19385
+ "graphql-api-mapping": "graphql-api-mapping";
19386
+ javascript: "javascript";
19387
+ }>>;
19388
+ }, z.core.$loose>>;
19389
+ refresh: z.ZodOptional<z.ZodObject<{
19390
+ type: z.ZodOptional<z.ZodEnum<{
19391
+ mapping: "mapping";
19392
+ "operation-mapping": "operation-mapping";
19393
+ "rest-api-mapping": "rest-api-mapping";
19394
+ "graphql-api-mapping": "graphql-api-mapping";
19395
+ javascript: "javascript";
19396
+ }>>;
19397
+ }, z.core.$loose>>;
19398
+ name: z.ZodString;
19399
+ }, z.core.$strip>;
19400
+ type CreateExternalEventTypeRequest = z.infer<typeof CreateExternalEventTypeRequest>;
19401
+ declare const UpdateExternalEventTypeRequest: z.ZodObject<{
19402
+ uuid: z.ZodOptional<z.ZodString>;
19403
+ key: z.ZodOptional<z.ZodString>;
19404
+ name: z.ZodOptional<z.ZodString>;
19405
+ description: z.ZodOptional<z.ZodString>;
19406
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
19407
+ integrationId: z.ZodOptional<z.ZodString>;
19408
+ integrationUuid: z.ZodOptional<z.ZodString>;
19409
+ integrationKey: z.ZodOptional<z.ZodString>;
19410
+ parentId: z.ZodOptional<z.ZodString>;
19411
+ parentUuid: z.ZodOptional<z.ZodString>;
19412
+ parentKey: z.ZodOptional<z.ZodString>;
19413
+ connectionId: z.ZodOptional<z.ZodString>;
19414
+ instanceKey: z.ZodOptional<z.ZodString>;
19415
+ isUniversal: z.ZodOptional<z.ZodBoolean>;
19416
+ externalAppId: z.ZodOptional<z.ZodString>;
19417
+ externalAppUuid: z.ZodOptional<z.ZodString>;
19418
+ externalAppKey: z.ZodOptional<z.ZodString>;
19419
+ schema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
19420
+ parametersSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
19421
+ example: z.ZodOptional<z.ZodAny>;
19422
+ type: z.ZodOptional<z.ZodEnum<typeof ExternalEventTypeImplementationType>>;
19423
+ subscribe: z.ZodOptional<z.ZodObject<{
19424
+ type: z.ZodOptional<z.ZodEnum<{
19425
+ mapping: "mapping";
19426
+ "operation-mapping": "operation-mapping";
19427
+ "rest-api-mapping": "rest-api-mapping";
19428
+ "graphql-api-mapping": "graphql-api-mapping";
19429
+ javascript: "javascript";
19430
+ }>>;
19431
+ }, z.core.$loose>>;
19432
+ unsubscribe: z.ZodOptional<z.ZodObject<{
19433
+ type: z.ZodOptional<z.ZodEnum<{
19434
+ mapping: "mapping";
19435
+ "operation-mapping": "operation-mapping";
19436
+ "rest-api-mapping": "rest-api-mapping";
19437
+ "graphql-api-mapping": "graphql-api-mapping";
19438
+ javascript: "javascript";
19439
+ }>>;
19440
+ }, z.core.$loose>>;
19441
+ handle: z.ZodOptional<z.ZodObject<{
19442
+ type: z.ZodOptional<z.ZodEnum<{
19443
+ mapping: "mapping";
19444
+ "operation-mapping": "operation-mapping";
19445
+ "rest-api-mapping": "rest-api-mapping";
19446
+ "graphql-api-mapping": "graphql-api-mapping";
19447
+ javascript: "javascript";
19448
+ }>>;
19449
+ }, z.core.$loose>>;
19450
+ refresh: z.ZodOptional<z.ZodObject<{
19451
+ type: z.ZodOptional<z.ZodEnum<{
19452
+ mapping: "mapping";
19453
+ "operation-mapping": "operation-mapping";
19454
+ "rest-api-mapping": "rest-api-mapping";
19455
+ "graphql-api-mapping": "graphql-api-mapping";
19456
+ javascript: "javascript";
19457
+ }>>;
19458
+ }, z.core.$loose>>;
19459
+ }, z.core.$strip>;
19460
+ type UpdateExternalEventTypeRequest = z.infer<typeof UpdateExternalEventTypeRequest>;
19461
+ declare const FindExternalEventTypesQuery: z.ZodObject<{
19462
+ integrationKey: z.ZodOptional<z.ZodString>;
19463
+ integrationId: z.ZodOptional<z.ZodString>;
19464
+ connectionId: z.ZodOptional<z.ZodString>;
19465
+ connectionKey: z.ZodOptional<z.ZodString>;
19466
+ instanceKey: z.ZodOptional<z.ZodString>;
19006
19467
  search: z.ZodOptional<z.ZodString>;
19007
19468
  limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
19008
19469
  cursor: z.ZodOptional<z.ZodString>;
19009
19470
  includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
19010
- tenantId: z.ZodOptional<z.ZodString>;
19011
19471
  userId: z.ZodOptional<z.ZodString>;
19012
- appEventTypeId: z.ZodOptional<z.ZodString>;
19013
- from: z.ZodOptional<z.ZodString>;
19014
- to: z.ZodOptional<z.ZodString>;
19472
+ layer: z.ZodOptional<z.ZodEnum<{
19473
+ connection: "connection";
19474
+ integration: "integration";
19475
+ universal: "universal";
19476
+ }>>;
19477
+ isUniversal: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
19478
+ externalAppId: z.ZodOptional<z.ZodString>;
19479
+ tenantId: z.ZodOptional<z.ZodString>;
19480
+ parentId: z.ZodOptional<z.ZodString>;
19481
+ universalParentId: z.ZodOptional<z.ZodString>;
19015
19482
  }, z.core.$strip>;
19016
- type ListAppEventLogRecordsQuery = z.infer<typeof ListAppEventLogRecordsQuery>;
19017
- declare const AppEventLogRecordApiResponse: z.ZodObject<{
19483
+ type FindExternalEventTypesQuery = z.infer<typeof FindExternalEventTypesQuery>;
19484
+ declare const ExternalEventTypeApiResponse: z.ZodObject<{
19018
19485
  id: z.ZodString;
19019
- name: z.ZodOptional<z.ZodString>;
19020
- userId: z.ZodString;
19021
- user: z.ZodOptional<z.ZodObject<{
19022
- id: z.ZodString;
19023
- name: z.ZodString;
19024
- meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
19025
- internalId: z.ZodString;
19026
- fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
19027
- credentials: z.ZodOptional<z.ZodAny>;
19028
- lastActiveAt: z.ZodOptional<z.ZodString>;
19029
- isTest: z.ZodOptional<z.ZodBoolean>;
19030
- isBillable: z.ZodOptional<z.ZodBoolean>;
19031
- isActive: z.ZodOptional<z.ZodBoolean>;
19032
- aiCreditsRolling30DayLimit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
19033
- createdAt: z.ZodOptional<z.ZodString>;
19034
- archivedAt: z.ZodOptional<z.ZodString>;
19035
- }, z.core.$strip>>;
19036
- appEventTypeId: z.ZodString;
19037
- appEventType: z.ZodOptional<z.ZodObject<{
19038
- id: z.ZodString;
19039
- uuid: z.ZodOptional<z.ZodString>;
19040
- key: z.ZodOptional<z.ZodString>;
19041
- description: z.ZodOptional<z.ZodString>;
19042
- meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
19043
- name: z.ZodString;
19044
- state: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementState>>;
19486
+ uuid: z.ZodOptional<z.ZodString>;
19487
+ key: z.ZodOptional<z.ZodString>;
19488
+ description: z.ZodOptional<z.ZodString>;
19489
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
19490
+ integrationId: z.ZodOptional<z.ZodString>;
19491
+ integrationUuid: z.ZodOptional<z.ZodString>;
19492
+ integrationKey: z.ZodOptional<z.ZodString>;
19493
+ parentId: z.ZodOptional<z.ZodString>;
19494
+ parentUuid: z.ZodOptional<z.ZodString>;
19495
+ parentKey: z.ZodOptional<z.ZodString>;
19496
+ connectionId: z.ZodOptional<z.ZodString>;
19497
+ instanceKey: z.ZodOptional<z.ZodString>;
19498
+ isUniversal: z.ZodOptional<z.ZodBoolean>;
19499
+ externalAppId: z.ZodOptional<z.ZodString>;
19500
+ externalAppUuid: z.ZodOptional<z.ZodString>;
19501
+ externalAppKey: z.ZodOptional<z.ZodString>;
19502
+ name: z.ZodString;
19503
+ state: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementState>>;
19504
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>>;
19505
+ revision: z.ZodOptional<z.ZodString>;
19506
+ createdAt: z.ZodOptional<z.ZodString>;
19507
+ updatedAt: z.ZodOptional<z.ZodString>;
19508
+ archivedAt: z.ZodOptional<z.ZodString>;
19509
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
19510
+ isReadOnly: z.ZodOptional<z.ZodBoolean>;
19511
+ isCustomized: z.ZodOptional<z.ZodBoolean>;
19512
+ schema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
19513
+ parametersSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
19514
+ example: z.ZodOptional<z.ZodAny>;
19515
+ type: z.ZodOptional<z.ZodEnum<typeof ExternalEventTypeImplementationType>>;
19516
+ subscribe: z.ZodOptional<z.ZodObject<{
19517
+ type: z.ZodOptional<z.ZodEnum<{
19518
+ mapping: "mapping";
19519
+ "operation-mapping": "operation-mapping";
19520
+ "rest-api-mapping": "rest-api-mapping";
19521
+ "graphql-api-mapping": "graphql-api-mapping";
19522
+ javascript: "javascript";
19523
+ }>>;
19524
+ }, z.core.$loose>>;
19525
+ unsubscribe: z.ZodOptional<z.ZodObject<{
19526
+ type: z.ZodOptional<z.ZodEnum<{
19527
+ mapping: "mapping";
19528
+ "operation-mapping": "operation-mapping";
19529
+ "rest-api-mapping": "rest-api-mapping";
19530
+ "graphql-api-mapping": "graphql-api-mapping";
19531
+ javascript: "javascript";
19532
+ }>>;
19533
+ }, z.core.$loose>>;
19534
+ handle: z.ZodOptional<z.ZodObject<{
19535
+ type: z.ZodOptional<z.ZodEnum<{
19536
+ mapping: "mapping";
19537
+ "operation-mapping": "operation-mapping";
19538
+ "rest-api-mapping": "rest-api-mapping";
19539
+ "graphql-api-mapping": "graphql-api-mapping";
19540
+ javascript: "javascript";
19541
+ }>>;
19542
+ }, z.core.$loose>>;
19543
+ refresh: z.ZodOptional<z.ZodObject<{
19544
+ type: z.ZodOptional<z.ZodEnum<{
19545
+ mapping: "mapping";
19546
+ "operation-mapping": "operation-mapping";
19547
+ "rest-api-mapping": "rest-api-mapping";
19548
+ "graphql-api-mapping": "graphql-api-mapping";
19549
+ javascript: "javascript";
19550
+ }>>;
19551
+ }, z.core.$loose>>;
19552
+ appliedToIntegrations: z.ZodOptional<z.ZodArray<z.ZodObject<{
19553
+ element: z.ZodObject<{
19554
+ id: z.ZodString;
19555
+ uuid: z.ZodOptional<z.ZodString>;
19556
+ key: z.ZodOptional<z.ZodString>;
19557
+ description: z.ZodOptional<z.ZodString>;
19558
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
19559
+ integrationId: z.ZodOptional<z.ZodString>;
19560
+ integrationUuid: z.ZodOptional<z.ZodString>;
19561
+ integrationKey: z.ZodOptional<z.ZodString>;
19562
+ parentId: z.ZodOptional<z.ZodString>;
19563
+ parentUuid: z.ZodOptional<z.ZodString>;
19564
+ parentKey: z.ZodOptional<z.ZodString>;
19565
+ connectionId: z.ZodOptional<z.ZodString>;
19566
+ instanceKey: z.ZodOptional<z.ZodString>;
19567
+ isUniversal: z.ZodOptional<z.ZodBoolean>;
19568
+ externalAppId: z.ZodOptional<z.ZodString>;
19569
+ externalAppUuid: z.ZodOptional<z.ZodString>;
19570
+ externalAppKey: z.ZodOptional<z.ZodString>;
19571
+ name: z.ZodString;
19572
+ state: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementState>>;
19573
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>>;
19574
+ revision: z.ZodOptional<z.ZodString>;
19575
+ createdAt: z.ZodOptional<z.ZodString>;
19576
+ updatedAt: z.ZodOptional<z.ZodString>;
19577
+ archivedAt: z.ZodOptional<z.ZodString>;
19578
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
19579
+ isReadOnly: z.ZodOptional<z.ZodBoolean>;
19580
+ isCustomized: z.ZodOptional<z.ZodBoolean>;
19581
+ schema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
19582
+ parametersSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
19583
+ example: z.ZodOptional<z.ZodAny>;
19584
+ type: z.ZodOptional<z.ZodEnum<typeof ExternalEventTypeImplementationType>>;
19585
+ subscribe: z.ZodOptional<z.ZodObject<{
19586
+ type: z.ZodOptional<z.ZodEnum<{
19587
+ mapping: "mapping";
19588
+ "operation-mapping": "operation-mapping";
19589
+ "rest-api-mapping": "rest-api-mapping";
19590
+ "graphql-api-mapping": "graphql-api-mapping";
19591
+ javascript: "javascript";
19592
+ }>>;
19593
+ }, z.core.$loose>>;
19594
+ unsubscribe: z.ZodOptional<z.ZodObject<{
19595
+ type: z.ZodOptional<z.ZodEnum<{
19596
+ mapping: "mapping";
19597
+ "operation-mapping": "operation-mapping";
19598
+ "rest-api-mapping": "rest-api-mapping";
19599
+ "graphql-api-mapping": "graphql-api-mapping";
19600
+ javascript: "javascript";
19601
+ }>>;
19602
+ }, z.core.$loose>>;
19603
+ handle: z.ZodOptional<z.ZodObject<{
19604
+ type: z.ZodOptional<z.ZodEnum<{
19605
+ mapping: "mapping";
19606
+ "operation-mapping": "operation-mapping";
19607
+ "rest-api-mapping": "rest-api-mapping";
19608
+ "graphql-api-mapping": "graphql-api-mapping";
19609
+ javascript: "javascript";
19610
+ }>>;
19611
+ }, z.core.$loose>>;
19612
+ refresh: z.ZodOptional<z.ZodObject<{
19613
+ type: z.ZodOptional<z.ZodEnum<{
19614
+ mapping: "mapping";
19615
+ "operation-mapping": "operation-mapping";
19616
+ "rest-api-mapping": "rest-api-mapping";
19617
+ "graphql-api-mapping": "graphql-api-mapping";
19618
+ javascript: "javascript";
19619
+ }>>;
19620
+ }, z.core.$loose>>;
19621
+ }, z.core.$strip>;
19622
+ integration: z.ZodObject<{
19623
+ id: z.ZodString;
19624
+ uuid: z.ZodOptional<z.ZodString>;
19625
+ key: z.ZodOptional<z.ZodString>;
19626
+ description: z.ZodOptional<z.ZodString>;
19627
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
19628
+ name: z.ZodString;
19629
+ state: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementState>>;
19630
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>>;
19631
+ revision: z.ZodOptional<z.ZodString>;
19632
+ createdAt: z.ZodOptional<z.ZodString>;
19633
+ updatedAt: z.ZodOptional<z.ZodString>;
19634
+ isReadOnly: z.ZodOptional<z.ZodBoolean>;
19635
+ logoUri: z.ZodString;
19636
+ connectorId: z.ZodOptional<z.ZodString>;
19637
+ connectorVersion: z.ZodOptional<z.ZodString>;
19638
+ oAuthCallbackUri: z.ZodOptional<z.ZodString>;
19639
+ parameters: z.ZodOptional<z.ZodAny>;
19640
+ archivedAt: z.ZodOptional<z.ZodString>;
19641
+ hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
19642
+ hasDocumentation: z.ZodOptional<z.ZodBoolean>;
19643
+ hasOperations: z.ZodOptional<z.ZodBoolean>;
19644
+ operationsCount: z.ZodOptional<z.ZodNumber>;
19645
+ hasData: z.ZodOptional<z.ZodBoolean>;
19646
+ dataCollectionsCount: z.ZodOptional<z.ZodNumber>;
19647
+ hasEvents: z.ZodOptional<z.ZodBoolean>;
19648
+ eventsCount: z.ZodOptional<z.ZodNumber>;
19649
+ hasGlobalWebhooks: z.ZodOptional<z.ZodBoolean>;
19650
+ hasUdm: z.ZodOptional<z.ZodBoolean>;
19651
+ isTest: z.ZodOptional<z.ZodBoolean>;
19652
+ externalAppId: z.ZodOptional<z.ZodString>;
19653
+ appUuid: z.ZodOptional<z.ZodString>;
19654
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
19655
+ authType: z.ZodOptional<z.ZodEnum<{
19656
+ proxy: "proxy";
19657
+ "integration-app-token": "integration-app-token";
19658
+ "membrane-token": "membrane-token";
19659
+ oauth2: "oauth2";
19660
+ oauth1: "oauth1";
19661
+ "client-credentials": "client-credentials";
19662
+ }>>;
19663
+ optionsConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
19664
+ disabled: z.ZodOptional<z.ZodBoolean>;
19665
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
19666
+ }, z.core.$strip>>>;
19667
+ }, z.core.$strip>;
19668
+ }, z.core.$strip>>>;
19669
+ }, z.core.$strip>;
19670
+ type ExternalEventTypeApiResponse = z.infer<typeof ExternalEventTypeApiResponse>;
19671
+
19672
+ declare const ListAppEventLogRecordsQuery: z.ZodObject<{
19673
+ search: z.ZodOptional<z.ZodString>;
19674
+ limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
19675
+ cursor: z.ZodOptional<z.ZodString>;
19676
+ includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
19677
+ tenantId: z.ZodOptional<z.ZodString>;
19678
+ userId: z.ZodOptional<z.ZodString>;
19679
+ appEventTypeId: z.ZodOptional<z.ZodString>;
19680
+ from: z.ZodOptional<z.ZodString>;
19681
+ to: z.ZodOptional<z.ZodString>;
19682
+ }, z.core.$strip>;
19683
+ type ListAppEventLogRecordsQuery = z.infer<typeof ListAppEventLogRecordsQuery>;
19684
+ declare const AppEventLogRecordApiResponse: z.ZodObject<{
19685
+ id: z.ZodString;
19686
+ name: z.ZodOptional<z.ZodString>;
19687
+ userId: z.ZodString;
19688
+ user: z.ZodOptional<z.ZodObject<{
19689
+ id: z.ZodString;
19690
+ name: z.ZodString;
19691
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
19692
+ internalId: z.ZodString;
19693
+ fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
19694
+ credentials: z.ZodOptional<z.ZodAny>;
19695
+ lastActiveAt: z.ZodOptional<z.ZodString>;
19696
+ isTest: z.ZodOptional<z.ZodBoolean>;
19697
+ isBillable: z.ZodOptional<z.ZodBoolean>;
19698
+ isActive: z.ZodOptional<z.ZodBoolean>;
19699
+ aiCreditsRolling30DayLimit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
19700
+ createdAt: z.ZodOptional<z.ZodString>;
19701
+ archivedAt: z.ZodOptional<z.ZodString>;
19702
+ }, z.core.$strip>>;
19703
+ appEventTypeId: z.ZodString;
19704
+ appEventType: z.ZodOptional<z.ZodObject<{
19705
+ id: z.ZodString;
19706
+ uuid: z.ZodOptional<z.ZodString>;
19707
+ key: z.ZodOptional<z.ZodString>;
19708
+ description: z.ZodOptional<z.ZodString>;
19709
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
19710
+ name: z.ZodString;
19711
+ state: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementState>>;
19045
19712
  errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>>;
19046
19713
  createdAt: z.ZodOptional<z.ZodString>;
19047
19714
  updatedAt: z.ZodOptional<z.ZodString>;
@@ -19183,6 +19850,7 @@ declare const ExternalApiLogApiResponse: z.ZodObject<{
19183
19850
  description: z.ZodString;
19184
19851
  uiUrl: z.ZodOptional<z.ZodString>;
19185
19852
  agentInstructions: z.ZodOptional<z.ZodString>;
19853
+ handoffAgentInstructions: z.ZodOptional<z.ZodString>;
19186
19854
  }, z.core.$strip>>;
19187
19855
  userId: z.ZodString;
19188
19856
  tenantId: z.ZodOptional<z.ZodString>;
@@ -19242,6 +19910,7 @@ declare const ListIncomingWebhooksQuery: z.ZodObject<{
19242
19910
  tenantId: z.ZodOptional<z.ZodString>;
19243
19911
  integrationId: z.ZodOptional<z.ZodString>;
19244
19912
  connectionId: z.ZodOptional<z.ZodString>;
19913
+ subscriptionId: z.ZodOptional<z.ZodString>;
19245
19914
  status: z.ZodOptional<z.ZodEnum<typeof IncomingWebhooksState>>;
19246
19915
  externalAppId: z.ZodOptional<z.ZodString>;
19247
19916
  from: z.ZodOptional<z.ZodString>;
@@ -19314,6 +19983,7 @@ declare const IncomingWebhookApiResponse: z.ZodObject<{
19314
19983
  description: z.ZodString;
19315
19984
  uiUrl: z.ZodOptional<z.ZodString>;
19316
19985
  agentInstructions: z.ZodOptional<z.ZodString>;
19986
+ handoffAgentInstructions: z.ZodOptional<z.ZodString>;
19317
19987
  }, z.core.$strip>>;
19318
19988
  userId: z.ZodString;
19319
19989
  tenantId: z.ZodOptional<z.ZodString>;
@@ -19325,6 +19995,7 @@ declare const IncomingWebhookApiResponse: z.ZodObject<{
19325
19995
  name: z.ZodOptional<z.ZodString>;
19326
19996
  connectionId: z.ZodString;
19327
19997
  integrationId: z.ZodString;
19998
+ externalEventTypeId: z.ZodOptional<z.ZodString>;
19328
19999
  config: z.ZodOptional<z.ZodObject<{
19329
20000
  type: z.ZodEnum<typeof ExternalEventSubscriptionType>;
19330
20001
  dataSource: z.ZodOptional<z.ZodObject<{
@@ -19355,6 +20026,7 @@ declare const IncomingWebhookApiResponse: z.ZodObject<{
19355
20026
  nextRefreshTimestamp: z.ZodOptional<z.ZodNumber>;
19356
20027
  globalWebhookKey: z.ZodOptional<z.ZodString>;
19357
20028
  globalWebhookEventSelector: z.ZodOptional<z.ZodString>;
20029
+ incomingWebhookUri: z.ZodOptional<z.ZodString>;
19358
20030
  webhookUri: z.ZodOptional<z.ZodString>;
19359
20031
  }, z.core.$strip>>;
19360
20032
  }, z.core.$strip>;
@@ -19646,6 +20318,7 @@ declare const CreateAgentSession: z.ZodObject<{
19646
20318
  "anthropic/claude-opus-4.6": "anthropic/claude-opus-4.6";
19647
20319
  "anthropic/claude-sonnet-4.5": "anthropic/claude-sonnet-4.5";
19648
20320
  "anthropic/claude-opus-4.5": "anthropic/claude-opus-4.5";
20321
+ "anthropic/claude-haiku-4.5": "anthropic/claude-haiku-4.5";
19649
20322
  "openai/gpt-5.2": "openai/gpt-5.2";
19650
20323
  "openai/gpt-5-nano": "openai/gpt-5-nano";
19651
20324
  "google/gemini-3-pro-preview": "google/gemini-3-pro-preview";
@@ -21320,12 +21993,6 @@ declare const GenerateWorkspaceAccessTokenResponse: z.ZodObject<{
21320
21993
  token: z.ZodString;
21321
21994
  }, z.core.$strip>;
21322
21995
  type GenerateWorkspaceAccessTokenResponse = z.infer<typeof GenerateWorkspaceAccessTokenResponse>;
21323
- declare const ListWorkspacesQuery: z.ZodObject<{
21324
- orgId: z.ZodOptional<z.ZodString>;
21325
- workspaceKey: z.ZodOptional<z.ZodString>;
21326
- includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
21327
- }, z.core.$strip>;
21328
- type ListWorkspacesQuery = z.infer<typeof ListWorkspacesQuery>;
21329
21996
  declare const GetWorkspaceQuery: z.ZodObject<{
21330
21997
  includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
21331
21998
  }, z.core.$strip>;
@@ -21365,7 +22032,7 @@ interface WorkspaceElementChangeInfo {
21365
22032
  interface WorkspaceExportComparisonResult {
21366
22033
  comparison: WorkspaceExportComparison;
21367
22034
  changes: Record<string, WorkspaceElementChangeInfo>;
21368
- baseUuidByTargetUuid: Map<string, string>;
22035
+ sourceUuidByTargetUuid: Map<string, string>;
21369
22036
  diff?: string;
21370
22037
  }
21371
22038
  interface WorkspaceExportComparisonOptions {
@@ -21373,6 +22040,9 @@ interface WorkspaceExportComparisonOptions {
21373
22040
  includeDiff?: boolean;
21374
22041
  }
21375
22042
  declare function compareWorkspaceExports(baseExport: Partial<WorkspaceExport>, targetExport: Partial<WorkspaceExport>, options?: WorkspaceExportComparisonOptions): WorkspaceExportComparisonResult;
22043
+ declare function emptyComparisonResult(): WorkspaceExportComparisonResult;
22044
+ declare function mergeComparisons(dest: WorkspaceExportComparisonResult, src: WorkspaceExportComparisonResult): WorkspaceExportComparisonResult;
22045
+ declare function compareElementMaps(baseElements: Map<string, any>, targetElements: Map<string, any>, type: WorkspaceElementType, options?: WorkspaceExportComparisonOptions): WorkspaceExportComparisonResult;
21376
22046
  declare function getElementSelector(type: WorkspaceElementType, key: string, integrationIdentifier?: string): string;
21377
22047
 
21378
22048
  declare const IneligibilityReasonSchema: z.ZodEnum<{
@@ -21505,6 +22175,7 @@ declare const Org: z.ZodObject<{
21505
22175
  engineAutoChargeThreshold: z.ZodOptional<z.ZodNumber>;
21506
22176
  engineAutoChargePurchaseAmount: z.ZodOptional<z.ZodNumber>;
21507
22177
  engineAutoChargeMonthlyLimit: z.ZodOptional<z.ZodNumber>;
22178
+ currentUserCanLeave: z.ZodOptional<z.ZodBoolean>;
21508
22179
  }, z.core.$strip>;
21509
22180
  type Org = z.infer<typeof Org>;
21510
22181
  declare const EngineCreditsProjectionResponse: z.ZodObject<{
@@ -21810,7 +22481,7 @@ declare const OrgWorkspace: z.ZodObject<{
21810
22481
  featureFlags: z.ZodOptional<z.ZodArray<z.ZodString>>;
21811
22482
  logoUri: z.ZodOptional<z.ZodString>;
21812
22483
  membraneInstanceId: z.ZodOptional<z.ZodString>;
21813
- limits: z.ZodOptional<z.ZodObject<{
22484
+ operatorLimits: z.ZodOptional<z.ZodObject<{
21814
22485
  parallelEventPulls: z.ZodOptional<z.ZodObject<{
21815
22486
  value: z.ZodOptional<z.ZodNumber>;
21816
22487
  defaultValue: z.ZodOptional<z.ZodNumber>;
@@ -22017,72 +22688,8 @@ declare const OrgWorkspace: z.ZodObject<{
22017
22688
  unit: z.ZodEnum<typeof LimitUnits>;
22018
22689
  }, z.core.$strip>>;
22019
22690
  }, z.core.$strip>>;
22020
- settings: z.ZodOptional<z.ZodObject<{
22021
- enableApiLogs: z.ZodOptional<z.ZodBoolean>;
22022
- enableWebhookLogs: z.ZodOptional<z.ZodBoolean>;
22023
- enableActionRunLogs: z.ZodOptional<z.ZodBoolean>;
22024
- disableSecretKeyAuth: z.ZodOptional<z.ZodBoolean>;
22025
- useMembraneUniverse: z.ZodOptional<z.ZodBoolean>;
22026
- useRemoteRepository: z.ZodOptional<z.ZodBoolean>;
22027
- autoGenerateIntegrationsFromConnectors: z.ZodOptional<z.ZodBoolean>;
22028
- autoGenerateIntegrationsFromExternalApps: z.ZodOptional<z.ZodBoolean>;
22029
- autoGenerateIntegrationsFromWebSearch: z.ZodOptional<z.ZodBoolean>;
22030
- }, z.core.$strip>>;
22031
- publicKeys: z.ZodOptional<z.ZodArray<z.ZodObject<{
22032
- name: z.ZodString;
22033
- publicKey: z.ZodString;
22034
- }, z.core.$strip>>>;
22035
- userFieldsSchema: z.ZodOptional<z.ZodAny>;
22036
- webhookUri: z.ZodOptional<z.ZodString>;
22037
- enabledWebhookEvents: z.ZodOptional<z.ZodArray<z.ZodString>>;
22038
- alertDeliverySettings: z.ZodOptional<z.ZodObject<{
22039
- alertTypes: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
22040
- fileUploadsMbPerHour: AlertType.fileUploadsMbPerHour;
22041
- apiRequestsPerSecond: AlertType.apiRequestsPerSecond;
22042
- apiRequestsPerHour: AlertType.apiRequestsPerHour;
22043
- webhookRequestsPerSecond: AlertType.webhookRequestsPerSecond;
22044
- webhookRequestsPerHour: AlertType.webhookRequestsPerHour;
22045
- workspaceElementCreationsPerSecond: AlertType.workspaceElementCreationsPerSecond;
22046
- workspaceElementCreationsPerHour: AlertType.workspaceElementCreationsPerHour;
22047
- workspaceElementSearchIndexingPerMinute: AlertType.workspaceElementSearchIndexingPerMinute;
22048
- externalEventsPerCustomerPerDay: AlertType.externalEventsPerCustomerPerDay;
22049
- apiRequestsPerCustomerPerSecond: AlertType.apiRequestsPerCustomerPerSecond;
22050
- apiRequestsPerCustomerPerHour: AlertType.apiRequestsPerCustomerPerHour;
22051
- webhookRequestsPerCustomerPerSecond: AlertType.webhookRequestsPerCustomerPerSecond;
22052
- webhookRequestsPerCustomerPerHour: AlertType.webhookRequestsPerCustomerPerHour;
22053
- parallelApiRequestsPerCustomer: AlertType.parallelApiRequestsPerCustomer;
22054
- engineCreditsExhaustionProjected: AlertType.engineCreditsExhaustionProjected;
22055
- engineCreditsExhaustionActual: AlertType.engineCreditsExhaustionActual;
22056
- aiCreditsDebtAccumulated: AlertType.aiCreditsDebtAccumulated;
22057
- totalNumberOfDatabaseEntitiesPerCustomer: AlertType.totalNumberOfDatabaseEntitiesPerCustomer;
22058
- totalNumberOfCustomers: AlertType.totalNumberOfCustomers;
22059
- totalNumberOfConnections: AlertType.totalNumberOfConnections;
22060
- totalNumberOfWorkspaceElements: AlertType.totalNumberOfWorkspaceElements;
22061
- totalNumberOfWorkspaceDatabaseRecords: AlertType.totalNumberOfWorkspaceDatabaseRecords;
22062
- instantTasksQueueSize: AlertType.instantTasksQueueSize;
22063
- queuedTasksQueueSize: AlertType.queuedTasksQueueSize;
22064
- flowRunsQueueSizePerConnection: AlertType.flowRunsQueueSizePerConnection;
22065
- eventsProcessingQueueSizePerConnection: AlertType.eventsProcessingQueueSizePerConnection;
22066
- parallelApiRequests: AlertType.parallelApiRequests;
22067
- testAlert: AlertType.testAlert;
22068
- }>, z.ZodOptional<z.ZodObject<{
22069
- internal: z.ZodLiteral<true>;
22070
- webhook: z.ZodOptional<z.ZodObject<{
22071
- enabled: z.ZodBoolean;
22072
- }, z.core.$strip>>;
22073
- email: z.ZodOptional<z.ZodObject<{
22074
- enabled: z.ZodBoolean;
22075
- }, z.core.$strip>>;
22076
- }, z.core.$strip>>>>;
22077
- }, z.core.$strip>>;
22078
- jwksUri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22079
- type: z.ZodOptional<z.ZodEnum<typeof WorkspaceType>>;
22080
- isReadOnly: z.ZodOptional<z.ZodBoolean>;
22081
- }, z.core.$strip>;
22082
- type OrgWorkspace = z.infer<typeof OrgWorkspace>;
22083
- declare const OrgWorkspaceUpdateRequest: z.ZodObject<{
22084
- name: z.ZodOptional<z.ZodString>;
22085
- logoUri: z.ZodOptional<z.ZodString>;
22691
+ operatorLimitsSyncedAt: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>>>;
22692
+ operatorLimitsSyncError: z.ZodOptional<z.ZodString>;
22086
22693
  limits: z.ZodOptional<z.ZodObject<{
22087
22694
  parallelEventPulls: z.ZodOptional<z.ZodObject<{
22088
22695
  value: z.ZodOptional<z.ZodNumber>;
@@ -22352,271 +22959,1072 @@ declare const OrgWorkspaceUpdateRequest: z.ZodObject<{
22352
22959
  type: z.ZodOptional<z.ZodEnum<typeof WorkspaceType>>;
22353
22960
  isReadOnly: z.ZodOptional<z.ZodBoolean>;
22354
22961
  }, z.core.$strip>;
22355
- type OrgWorkspaceUpdateRequest = z.infer<typeof OrgWorkspaceUpdateRequest>;
22356
- declare const WorkspaceOnboardingData: z.ZodObject<{
22357
- productSetup: z.ZodOptional<z.ZodObject<{
22358
- type: z.ZodOptional<z.ZodEnum<{
22359
- app: "app";
22360
- "ai-agent": "ai-agent";
22361
- }>>;
22362
- agentType: z.ZodOptional<z.ZodString>;
22363
- name: z.ZodOptional<z.ZodString>;
22364
- connectedProductId: z.ZodOptional<z.ZodString>;
22365
- }, z.core.$strip>>;
22366
- connections: z.ZodOptional<z.ZodObject<{
22367
- apps: z.ZodArray<z.ZodObject<{
22368
- externalAppId: z.ZodOptional<z.ZodString>;
22369
- name: z.ZodOptional<z.ZodString>;
22370
- url: z.ZodOptional<z.ZodString>;
22371
- status: z.ZodOptional<z.ZodEnum<{
22372
- connected: "connected";
22373
- skipped: "skipped";
22374
- pending: "pending";
22375
- }>>;
22962
+ type OrgWorkspace = z.infer<typeof OrgWorkspace>;
22963
+ declare const OrgWorkspaceUpdateRequest: z.ZodObject<{
22964
+ name: z.ZodOptional<z.ZodString>;
22965
+ logoUri: z.ZodOptional<z.ZodString>;
22966
+ limits: z.ZodOptional<z.ZodObject<{
22967
+ parallelEventPulls: z.ZodOptional<z.ZodObject<{
22968
+ value: z.ZodOptional<z.ZodNumber>;
22969
+ defaultValue: z.ZodOptional<z.ZodNumber>;
22970
+ unit: z.ZodEnum<typeof LimitUnits>;
22376
22971
  }, z.core.$strip>>;
22377
- }, z.core.$strip>>;
22378
- }, z.core.$loose>;
22379
- type WorkspaceOnboardingData = z.infer<typeof WorkspaceOnboardingData>;
22380
- declare const OrgWorkspaceUser: z.ZodObject<{
22381
- id: z.ZodString;
22382
- workspaceId: z.ZodString;
22383
- testCustomerId: z.ZodString;
22384
- userId: z.ZodString;
22385
- role: z.ZodString;
22386
- onboardingData: z.ZodOptional<z.ZodObject<{
22387
- productSetup: z.ZodOptional<z.ZodObject<{
22388
- type: z.ZodOptional<z.ZodEnum<{
22389
- app: "app";
22390
- "ai-agent": "ai-agent";
22391
- }>>;
22392
- agentType: z.ZodOptional<z.ZodString>;
22393
- name: z.ZodOptional<z.ZodString>;
22394
- connectedProductId: z.ZodOptional<z.ZodString>;
22972
+ parallelIncrementalEventPullsPerConnection: z.ZodOptional<z.ZodObject<{
22973
+ value: z.ZodOptional<z.ZodNumber>;
22974
+ defaultValue: z.ZodOptional<z.ZodNumber>;
22975
+ unit: z.ZodEnum<typeof LimitUnits>;
22395
22976
  }, z.core.$strip>>;
22396
- connections: z.ZodOptional<z.ZodObject<{
22397
- apps: z.ZodArray<z.ZodObject<{
22398
- externalAppId: z.ZodOptional<z.ZodString>;
22399
- name: z.ZodOptional<z.ZodString>;
22400
- url: z.ZodOptional<z.ZodString>;
22401
- status: z.ZodOptional<z.ZodEnum<{
22402
- connected: "connected";
22403
- skipped: "skipped";
22404
- pending: "pending";
22405
- }>>;
22406
- }, z.core.$strip>>;
22977
+ parallelFullSyncEventPullsPerConnection: z.ZodOptional<z.ZodObject<{
22978
+ value: z.ZodOptional<z.ZodNumber>;
22979
+ defaultValue: z.ZodOptional<z.ZodNumber>;
22980
+ unit: z.ZodEnum<typeof LimitUnits>;
22407
22981
  }, z.core.$strip>>;
22408
- }, z.core.$loose>>;
22409
- }, z.core.$strip>;
22410
- type OrgWorkspaceUser = z.infer<typeof OrgWorkspaceUser>;
22411
- declare const PatchUserWorkspaceSettings: z.ZodObject<{
22412
- onboardingData: z.ZodOptional<z.ZodObject<{
22413
- productSetup: z.ZodOptional<z.ZodObject<{
22414
- type: z.ZodOptional<z.ZodEnum<{
22415
- app: "app";
22416
- "ai-agent": "ai-agent";
22417
- }>>;
22418
- agentType: z.ZodOptional<z.ZodString>;
22419
- name: z.ZodOptional<z.ZodString>;
22420
- connectedProductId: z.ZodOptional<z.ZodString>;
22982
+ parallelFlowRuns: z.ZodOptional<z.ZodObject<{
22983
+ value: z.ZodOptional<z.ZodNumber>;
22984
+ defaultValue: z.ZodOptional<z.ZodNumber>;
22985
+ unit: z.ZodEnum<typeof LimitUnits>;
22421
22986
  }, z.core.$strip>>;
22422
- connections: z.ZodOptional<z.ZodObject<{
22423
- apps: z.ZodArray<z.ZodObject<{
22424
- externalAppId: z.ZodOptional<z.ZodString>;
22425
- name: z.ZodOptional<z.ZodString>;
22426
- url: z.ZodOptional<z.ZodString>;
22427
- status: z.ZodOptional<z.ZodEnum<{
22428
- connected: "connected";
22429
- skipped: "skipped";
22430
- pending: "pending";
22431
- }>>;
22432
- }, z.core.$strip>>;
22987
+ parallelFlowRunsPerConnection: z.ZodOptional<z.ZodObject<{
22988
+ value: z.ZodOptional<z.ZodNumber>;
22989
+ defaultValue: z.ZodOptional<z.ZodNumber>;
22990
+ unit: z.ZodEnum<typeof LimitUnits>;
22433
22991
  }, z.core.$strip>>;
22434
- }, z.core.$loose>>;
22435
- }, z.core.$strip>;
22436
- type PatchUserWorkspaceSettings = z.infer<typeof PatchUserWorkspaceSettings>;
22437
- declare const CreateOrgRequest: z.ZodObject<{
22438
- name: z.ZodString;
22439
- website: z.ZodOptional<z.ZodString>;
22440
- logoUri: z.ZodOptional<z.ZodString>;
22441
- integrationApps: z.ZodOptional<z.ZodString>;
22442
- firstIntegrationUseCase: z.ZodOptional<z.ZodString>;
22443
- referralSource: z.ZodOptional<z.ZodString>;
22444
- builder: z.ZodOptional<z.ZodArray<z.ZodEnum<{
22445
- me: "me";
22446
- team: "team";
22447
- }>>>;
22448
- stripeCustomerId: z.ZodOptional<z.ZodString>;
22449
- signupSource: z.ZodOptional<z.ZodString>;
22450
- }, z.core.$strip>;
22451
- type CreateOrgRequest = z.infer<typeof CreateOrgRequest>;
22452
- declare const UpdateOrgRequest: z.ZodObject<{
22453
- name: z.ZodOptional<z.ZodString>;
22454
- domains: z.ZodOptional<z.ZodArray<z.ZodString>>;
22455
- }, z.core.$strip>;
22456
- type UpdateOrgRequest = z.infer<typeof UpdateOrgRequest>;
22457
- declare const BaseOrgUser: z.ZodObject<{
22458
- id: z.ZodString;
22459
- orgId: z.ZodString;
22460
- userId: z.ZodString;
22461
- role: z.ZodString;
22462
- status: z.ZodString;
22463
- workspaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
22464
- }, z.core.$strip>;
22465
- type BaseOrgUser = z.infer<typeof BaseOrgUser>;
22466
- declare const FullOrgUser: z.ZodObject<{
22467
- id: z.ZodString;
22468
- orgId: z.ZodString;
22469
- userId: z.ZodString;
22470
- role: z.ZodString;
22471
- status: z.ZodString;
22472
- workspaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
22473
- user: z.ZodObject<{
22474
- id: z.ZodString;
22475
- auth0Id: z.ZodOptional<z.ZodString>;
22476
- email: z.ZodString;
22477
- name: z.ZodString;
22478
- defaultAccountId: z.ZodOptional<z.ZodString>;
22479
- defaultWorkspaceId: z.ZodOptional<z.ZodString>;
22480
- isAdmin: z.ZodOptional<z.ZodBoolean>;
22481
- trialRequested: z.ZodBoolean;
22482
- pat: z.ZodOptional<z.ZodString>;
22483
- isEligible: z.ZodOptional<z.ZodBoolean>;
22484
- ineligibilityReason: z.ZodOptional<z.ZodEnum<{
22485
- disposable: "disposable";
22486
- blockedDomain: "blockedDomain";
22487
- }>>;
22488
- emailVerified: z.ZodOptional<z.ZodBoolean>;
22489
- isCompanyEmail: z.ZodOptional<z.ZodBoolean>;
22490
- }, z.core.$strip>;
22491
- org: z.ZodObject<{
22492
- id: z.ZodString;
22493
- key: z.ZodString;
22494
- name: z.ZodString;
22495
- plan: z.ZodOptional<z.ZodEnum<typeof OrgPlan>>;
22496
- createdAt: z.ZodCoercedDate<unknown>;
22497
- updatedAt: z.ZodCoercedDate<unknown>;
22498
- trialEndDate: z.ZodOptional<z.ZodString>;
22499
- lastTrialExtensionDate: z.ZodOptional<z.ZodString>;
22500
- limits: z.ZodOptional<z.ZodObject<{
22501
- numberOfWorkspaces: z.ZodOptional<z.ZodNumber>;
22502
- todayUsage: z.ZodOptional<z.ZodNumber>;
22503
- lastThirtyDayUsage: z.ZodOptional<z.ZodNumber>;
22504
- membraneAgentLastThirtyDaysUsage: z.ZodOptional<z.ZodNumber>;
22505
- membraneExpertCreditsCapPerMonth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
22506
- defaultTenantAiCreditsRolling30DayLimit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
22992
+ parallelApiRequests: z.ZodOptional<z.ZodObject<{
22993
+ value: z.ZodOptional<z.ZodNumber>;
22994
+ defaultValue: z.ZodOptional<z.ZodNumber>;
22995
+ unit: z.ZodEnum<typeof LimitUnits>;
22507
22996
  }, z.core.$strip>>;
22508
- thirtyDayTotalCredits: z.ZodOptional<z.ZodNumber>;
22509
- lastThirtyDayUsagePercent: z.ZodOptional<z.ZodNumber>;
22510
- todayUsagePercent: z.ZodOptional<z.ZodNumber>;
22511
- domains: z.ZodOptional<z.ZodArray<z.ZodString>>;
22512
- featureFlags: z.ZodOptional<z.ZodArray<z.ZodString>>;
22513
- freeAiCredits: z.ZodOptional<z.ZodNumber>;
22514
- paidAiCredits: z.ZodOptional<z.ZodNumber>;
22515
- freeAiMonthlyCredits: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
22516
- stripeCustomerId: z.ZodOptional<z.ZodString>;
22517
- autoChargeEnabled: z.ZodOptional<z.ZodBoolean>;
22518
- autoChargeThreshold: z.ZodOptional<z.ZodNumber>;
22519
- autoChargePurchaseAmount: z.ZodOptional<z.ZodNumber>;
22520
- autoChargeMonthlyLimit: z.ZodOptional<z.ZodNumber>;
22521
- freeEngineCredits: z.ZodOptional<z.ZodNumber>;
22522
- paidEngineCredits: z.ZodOptional<z.ZodNumber>;
22523
- freeEngineMonthlyCredits: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
22524
- engineAutoChargeEnabled: z.ZodOptional<z.ZodBoolean>;
22525
- engineAutoChargeThreshold: z.ZodOptional<z.ZodNumber>;
22526
- engineAutoChargePurchaseAmount: z.ZodOptional<z.ZodNumber>;
22527
- engineAutoChargeMonthlyLimit: z.ZodOptional<z.ZodNumber>;
22528
- }, z.core.$strip>;
22529
- }, z.core.$strip>;
22530
- type FullOrgUser = z.infer<typeof FullOrgUser>;
22531
- declare const CreateOrgUserRequest: z.ZodObject<{
22532
- email: z.ZodString;
22533
- workspaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
22534
- }, z.core.$strip>;
22535
- type CreateOrgUserRequest = z.infer<typeof CreateOrgUserRequest>;
22536
- declare const UpdateOrgUserRequest: z.ZodObject<{
22537
- role: z.ZodOptional<z.ZodEnum<typeof OrgUserRole>>;
22538
- status: z.ZodOptional<z.ZodEnum<typeof OrgUserStatus>>;
22539
- workspaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
22540
- }, z.core.$strip>;
22541
- type UpdateOrgUserRequest = z.infer<typeof UpdateOrgUserRequest>;
22542
- declare const OrgInvitation: z.ZodObject<{
22543
- id: z.ZodString;
22544
- orgId: z.ZodString;
22545
- org: z.ZodObject<{
22546
- id: z.ZodString;
22547
- key: z.ZodString;
22548
- name: z.ZodString;
22549
- plan: z.ZodOptional<z.ZodEnum<typeof OrgPlan>>;
22550
- createdAt: z.ZodCoercedDate<unknown>;
22551
- updatedAt: z.ZodCoercedDate<unknown>;
22552
- trialEndDate: z.ZodOptional<z.ZodString>;
22553
- lastTrialExtensionDate: z.ZodOptional<z.ZodString>;
22554
- limits: z.ZodOptional<z.ZodObject<{
22555
- numberOfWorkspaces: z.ZodOptional<z.ZodNumber>;
22556
- todayUsage: z.ZodOptional<z.ZodNumber>;
22557
- lastThirtyDayUsage: z.ZodOptional<z.ZodNumber>;
22558
- membraneAgentLastThirtyDaysUsage: z.ZodOptional<z.ZodNumber>;
22559
- membraneExpertCreditsCapPerMonth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
22560
- defaultTenantAiCreditsRolling30DayLimit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
22997
+ parallelSseRequests: z.ZodOptional<z.ZodObject<{
22998
+ value: z.ZodOptional<z.ZodNumber>;
22999
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23000
+ unit: z.ZodEnum<typeof LimitUnits>;
22561
23001
  }, z.core.$strip>>;
22562
- thirtyDayTotalCredits: z.ZodOptional<z.ZodNumber>;
22563
- lastThirtyDayUsagePercent: z.ZodOptional<z.ZodNumber>;
22564
- todayUsagePercent: z.ZodOptional<z.ZodNumber>;
22565
- domains: z.ZodOptional<z.ZodArray<z.ZodString>>;
22566
- featureFlags: z.ZodOptional<z.ZodArray<z.ZodString>>;
22567
- freeAiCredits: z.ZodOptional<z.ZodNumber>;
22568
- paidAiCredits: z.ZodOptional<z.ZodNumber>;
22569
- freeAiMonthlyCredits: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
22570
- stripeCustomerId: z.ZodOptional<z.ZodString>;
22571
- autoChargeEnabled: z.ZodOptional<z.ZodBoolean>;
22572
- autoChargeThreshold: z.ZodOptional<z.ZodNumber>;
22573
- autoChargePurchaseAmount: z.ZodOptional<z.ZodNumber>;
22574
- autoChargeMonthlyLimit: z.ZodOptional<z.ZodNumber>;
22575
- freeEngineCredits: z.ZodOptional<z.ZodNumber>;
22576
- paidEngineCredits: z.ZodOptional<z.ZodNumber>;
22577
- freeEngineMonthlyCredits: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
22578
- engineAutoChargeEnabled: z.ZodOptional<z.ZodBoolean>;
22579
- engineAutoChargeThreshold: z.ZodOptional<z.ZodNumber>;
22580
- engineAutoChargePurchaseAmount: z.ZodOptional<z.ZodNumber>;
22581
- engineAutoChargeMonthlyLimit: z.ZodOptional<z.ZodNumber>;
22582
- }, z.core.$strip>;
22583
- name: z.ZodString;
22584
- workspaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
22585
- uuid: z.ZodString;
22586
- email: z.ZodOptional<z.ZodString>;
23002
+ parallelBackgroundJobs: z.ZodOptional<z.ZodObject<{
23003
+ value: z.ZodOptional<z.ZodNumber>;
23004
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23005
+ unit: z.ZodEnum<typeof LimitUnits>;
23006
+ }, z.core.$strip>>;
23007
+ parallelEventProcessingJobs: z.ZodOptional<z.ZodObject<{
23008
+ value: z.ZodOptional<z.ZodNumber>;
23009
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23010
+ unit: z.ZodEnum<typeof LimitUnits>;
23011
+ }, z.core.$strip>>;
23012
+ parallelEventProcessingJobsPerConnection: z.ZodOptional<z.ZodObject<{
23013
+ value: z.ZodOptional<z.ZodNumber>;
23014
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23015
+ unit: z.ZodEnum<typeof LimitUnits>;
23016
+ }, z.core.$strip>>;
23017
+ parallelInstantTasksActiveJobs: z.ZodOptional<z.ZodObject<{
23018
+ value: z.ZodOptional<z.ZodNumber>;
23019
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23020
+ unit: z.ZodEnum<typeof LimitUnits>;
23021
+ }, z.core.$strip>>;
23022
+ parallelAgentSessions: z.ZodOptional<z.ZodObject<{
23023
+ value: z.ZodOptional<z.ZodNumber>;
23024
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23025
+ unit: z.ZodEnum<typeof LimitUnits>;
23026
+ }, z.core.$strip>>;
23027
+ parallelCustomCodeRuns: z.ZodOptional<z.ZodObject<{
23028
+ value: z.ZodOptional<z.ZodNumber>;
23029
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23030
+ unit: z.ZodEnum<typeof LimitUnits>;
23031
+ }, z.core.$strip>>;
23032
+ ParallelWriteDatabaseRequests: z.ZodOptional<z.ZodObject<{
23033
+ value: z.ZodOptional<z.ZodNumber>;
23034
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23035
+ unit: z.ZodEnum<typeof LimitUnits>;
23036
+ }, z.core.$strip>>;
23037
+ fileUploadsMbPerHour: z.ZodOptional<z.ZodObject<{
23038
+ value: z.ZodOptional<z.ZodNumber>;
23039
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23040
+ unit: z.ZodEnum<typeof LimitUnits>;
23041
+ }, z.core.$strip>>;
23042
+ apiRequestsPerSecond: z.ZodOptional<z.ZodObject<{
23043
+ value: z.ZodOptional<z.ZodNumber>;
23044
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23045
+ unit: z.ZodEnum<typeof LimitUnits>;
23046
+ }, z.core.$strip>>;
23047
+ apiRequestsPerHour: z.ZodOptional<z.ZodObject<{
23048
+ value: z.ZodOptional<z.ZodNumber>;
23049
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23050
+ unit: z.ZodEnum<typeof LimitUnits>;
23051
+ }, z.core.$strip>>;
23052
+ webhookRequestsPerSecond: z.ZodOptional<z.ZodObject<{
23053
+ value: z.ZodOptional<z.ZodNumber>;
23054
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23055
+ unit: z.ZodEnum<typeof LimitUnits>;
23056
+ }, z.core.$strip>>;
23057
+ webhookRequestsPerHour: z.ZodOptional<z.ZodObject<{
23058
+ value: z.ZodOptional<z.ZodNumber>;
23059
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23060
+ unit: z.ZodEnum<typeof LimitUnits>;
23061
+ }, z.core.$strip>>;
23062
+ workspaceElementCreationsPerSecond: z.ZodOptional<z.ZodObject<{
23063
+ value: z.ZodOptional<z.ZodNumber>;
23064
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23065
+ unit: z.ZodEnum<typeof LimitUnits>;
23066
+ }, z.core.$strip>>;
23067
+ workspaceElementCreationsPerHour: z.ZodOptional<z.ZodObject<{
23068
+ value: z.ZodOptional<z.ZodNumber>;
23069
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23070
+ unit: z.ZodEnum<typeof LimitUnits>;
23071
+ }, z.core.$strip>>;
23072
+ workspaceElementSearchIndexingPerMinute: z.ZodOptional<z.ZodObject<{
23073
+ value: z.ZodOptional<z.ZodNumber>;
23074
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23075
+ unit: z.ZodEnum<typeof LimitUnits>;
23076
+ }, z.core.$strip>>;
23077
+ mcpOAuthAuthorizationsPerHour: z.ZodOptional<z.ZodObject<{
23078
+ value: z.ZodOptional<z.ZodNumber>;
23079
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23080
+ unit: z.ZodEnum<typeof LimitUnits>;
23081
+ }, z.core.$strip>>;
23082
+ mcpOAuthTokensPerHour: z.ZodOptional<z.ZodObject<{
23083
+ value: z.ZodOptional<z.ZodNumber>;
23084
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23085
+ unit: z.ZodEnum<typeof LimitUnits>;
23086
+ }, z.core.$strip>>;
23087
+ totalNumberOfCustomers: z.ZodOptional<z.ZodObject<{
23088
+ value: z.ZodOptional<z.ZodNumber>;
23089
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23090
+ unit: z.ZodEnum<typeof LimitUnits>;
23091
+ }, z.core.$strip>>;
23092
+ totalNumberOfConnections: z.ZodOptional<z.ZodObject<{
23093
+ value: z.ZodOptional<z.ZodNumber>;
23094
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23095
+ unit: z.ZodEnum<typeof LimitUnits>;
23096
+ }, z.core.$strip>>;
23097
+ totalNumberOfWorkspaceElements: z.ZodOptional<z.ZodObject<{
23098
+ value: z.ZodOptional<z.ZodNumber>;
23099
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23100
+ unit: z.ZodEnum<typeof LimitUnits>;
23101
+ }, z.core.$strip>>;
23102
+ totalNumberOfWorkspaceDatabaseRecords: z.ZodOptional<z.ZodObject<{
23103
+ value: z.ZodOptional<z.ZodNumber>;
23104
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23105
+ unit: z.ZodEnum<typeof LimitUnits>;
23106
+ }, z.core.$strip>>;
23107
+ flowRunsQueueSizePerConnection: z.ZodOptional<z.ZodObject<{
23108
+ value: z.ZodOptional<z.ZodNumber>;
23109
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23110
+ unit: z.ZodEnum<typeof LimitUnits>;
23111
+ }, z.core.$strip>>;
23112
+ instantTasksQueueSize: z.ZodOptional<z.ZodObject<{
23113
+ value: z.ZodOptional<z.ZodNumber>;
23114
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23115
+ unit: z.ZodEnum<typeof LimitUnits>;
23116
+ }, z.core.$strip>>;
23117
+ QueuedTasksQueueSize: z.ZodOptional<z.ZodObject<{
23118
+ value: z.ZodOptional<z.ZodNumber>;
23119
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23120
+ unit: z.ZodEnum<typeof LimitUnits>;
23121
+ }, z.core.$strip>>;
23122
+ parallelApiRequestsPerCustomer: z.ZodOptional<z.ZodObject<{
23123
+ value: z.ZodOptional<z.ZodNumber>;
23124
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23125
+ unit: z.ZodEnum<typeof LimitUnits>;
23126
+ }, z.core.$strip>>;
23127
+ parallelBackgroundJobsPerCustomer: z.ZodOptional<z.ZodObject<{
23128
+ value: z.ZodOptional<z.ZodNumber>;
23129
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23130
+ unit: z.ZodEnum<typeof LimitUnits>;
23131
+ }, z.core.$strip>>;
23132
+ parallelCustomCodeRunsPerCustomer: z.ZodOptional<z.ZodObject<{
23133
+ value: z.ZodOptional<z.ZodNumber>;
23134
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23135
+ unit: z.ZodEnum<typeof LimitUnits>;
23136
+ }, z.core.$strip>>;
23137
+ totalNumberOfDatabaseEntitiesPerCustomer: z.ZodOptional<z.ZodObject<{
23138
+ value: z.ZodOptional<z.ZodNumber>;
23139
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23140
+ unit: z.ZodEnum<typeof LimitUnits>;
23141
+ }, z.core.$strip>>;
23142
+ apiRequestsPerCustomerPerSecond: z.ZodOptional<z.ZodObject<{
23143
+ value: z.ZodOptional<z.ZodNumber>;
23144
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23145
+ unit: z.ZodEnum<typeof LimitUnits>;
23146
+ }, z.core.$strip>>;
23147
+ apiRequestsPerCustomerPerHour: z.ZodOptional<z.ZodObject<{
23148
+ value: z.ZodOptional<z.ZodNumber>;
23149
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23150
+ unit: z.ZodEnum<typeof LimitUnits>;
23151
+ }, z.core.$strip>>;
23152
+ webhookRequestsPerCustomerPerSecond: z.ZodOptional<z.ZodObject<{
23153
+ value: z.ZodOptional<z.ZodNumber>;
23154
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23155
+ unit: z.ZodEnum<typeof LimitUnits>;
23156
+ }, z.core.$strip>>;
23157
+ webhookRequestsPerCustomerPerHour: z.ZodOptional<z.ZodObject<{
23158
+ value: z.ZodOptional<z.ZodNumber>;
23159
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23160
+ unit: z.ZodEnum<typeof LimitUnits>;
23161
+ }, z.core.$strip>>;
23162
+ externalEventsPerCustomerPerDay: z.ZodOptional<z.ZodObject<{
23163
+ value: z.ZodOptional<z.ZodNumber>;
23164
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23165
+ unit: z.ZodEnum<typeof LimitUnits>;
23166
+ }, z.core.$strip>>;
23167
+ defaultTenantAiCreditsRolling30DayLimit: z.ZodOptional<z.ZodObject<{
23168
+ value: z.ZodOptional<z.ZodNumber>;
23169
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23170
+ unit: z.ZodEnum<typeof LimitUnits>;
23171
+ }, z.core.$strip>>;
23172
+ }, z.core.$strip>>;
23173
+ settings: z.ZodOptional<z.ZodObject<{
23174
+ enableApiLogs: z.ZodOptional<z.ZodBoolean>;
23175
+ enableWebhookLogs: z.ZodOptional<z.ZodBoolean>;
23176
+ enableActionRunLogs: z.ZodOptional<z.ZodBoolean>;
23177
+ disableSecretKeyAuth: z.ZodOptional<z.ZodBoolean>;
23178
+ useMembraneUniverse: z.ZodOptional<z.ZodBoolean>;
23179
+ useRemoteRepository: z.ZodOptional<z.ZodBoolean>;
23180
+ autoGenerateIntegrationsFromConnectors: z.ZodOptional<z.ZodBoolean>;
23181
+ autoGenerateIntegrationsFromExternalApps: z.ZodOptional<z.ZodBoolean>;
23182
+ autoGenerateIntegrationsFromWebSearch: z.ZodOptional<z.ZodBoolean>;
23183
+ }, z.core.$strip>>;
23184
+ publicKeys: z.ZodOptional<z.ZodArray<z.ZodObject<{
23185
+ name: z.ZodString;
23186
+ publicKey: z.ZodString;
23187
+ }, z.core.$strip>>>;
23188
+ userFieldsSchema: z.ZodOptional<z.ZodAny>;
23189
+ webhookUri: z.ZodOptional<z.ZodString>;
23190
+ enabledWebhookEvents: z.ZodOptional<z.ZodArray<z.ZodString>>;
23191
+ alertDeliverySettings: z.ZodOptional<z.ZodObject<{
23192
+ alertTypes: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
23193
+ fileUploadsMbPerHour: AlertType.fileUploadsMbPerHour;
23194
+ apiRequestsPerSecond: AlertType.apiRequestsPerSecond;
23195
+ apiRequestsPerHour: AlertType.apiRequestsPerHour;
23196
+ webhookRequestsPerSecond: AlertType.webhookRequestsPerSecond;
23197
+ webhookRequestsPerHour: AlertType.webhookRequestsPerHour;
23198
+ workspaceElementCreationsPerSecond: AlertType.workspaceElementCreationsPerSecond;
23199
+ workspaceElementCreationsPerHour: AlertType.workspaceElementCreationsPerHour;
23200
+ workspaceElementSearchIndexingPerMinute: AlertType.workspaceElementSearchIndexingPerMinute;
23201
+ externalEventsPerCustomerPerDay: AlertType.externalEventsPerCustomerPerDay;
23202
+ apiRequestsPerCustomerPerSecond: AlertType.apiRequestsPerCustomerPerSecond;
23203
+ apiRequestsPerCustomerPerHour: AlertType.apiRequestsPerCustomerPerHour;
23204
+ webhookRequestsPerCustomerPerSecond: AlertType.webhookRequestsPerCustomerPerSecond;
23205
+ webhookRequestsPerCustomerPerHour: AlertType.webhookRequestsPerCustomerPerHour;
23206
+ parallelApiRequestsPerCustomer: AlertType.parallelApiRequestsPerCustomer;
23207
+ engineCreditsExhaustionProjected: AlertType.engineCreditsExhaustionProjected;
23208
+ engineCreditsExhaustionActual: AlertType.engineCreditsExhaustionActual;
23209
+ aiCreditsDebtAccumulated: AlertType.aiCreditsDebtAccumulated;
23210
+ totalNumberOfDatabaseEntitiesPerCustomer: AlertType.totalNumberOfDatabaseEntitiesPerCustomer;
23211
+ totalNumberOfCustomers: AlertType.totalNumberOfCustomers;
23212
+ totalNumberOfConnections: AlertType.totalNumberOfConnections;
23213
+ totalNumberOfWorkspaceElements: AlertType.totalNumberOfWorkspaceElements;
23214
+ totalNumberOfWorkspaceDatabaseRecords: AlertType.totalNumberOfWorkspaceDatabaseRecords;
23215
+ instantTasksQueueSize: AlertType.instantTasksQueueSize;
23216
+ queuedTasksQueueSize: AlertType.queuedTasksQueueSize;
23217
+ flowRunsQueueSizePerConnection: AlertType.flowRunsQueueSizePerConnection;
23218
+ eventsProcessingQueueSizePerConnection: AlertType.eventsProcessingQueueSizePerConnection;
23219
+ parallelApiRequests: AlertType.parallelApiRequests;
23220
+ testAlert: AlertType.testAlert;
23221
+ }>, z.ZodOptional<z.ZodObject<{
23222
+ internal: z.ZodLiteral<true>;
23223
+ webhook: z.ZodOptional<z.ZodObject<{
23224
+ enabled: z.ZodBoolean;
23225
+ }, z.core.$strip>>;
23226
+ email: z.ZodOptional<z.ZodObject<{
23227
+ enabled: z.ZodBoolean;
23228
+ }, z.core.$strip>>;
23229
+ }, z.core.$strip>>>>;
23230
+ }, z.core.$strip>>;
23231
+ jwksUri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23232
+ type: z.ZodOptional<z.ZodEnum<typeof WorkspaceType>>;
23233
+ isReadOnly: z.ZodOptional<z.ZodBoolean>;
22587
23234
  }, z.core.$strip>;
22588
- type OrgInvitation = z.infer<typeof OrgInvitation>;
22589
- declare const UpdateOrgInvitationRequest: z.ZodObject<{
22590
- name: z.ZodOptional<z.ZodString>;
22591
- workspaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
23235
+ type OrgWorkspaceUpdateRequest = z.infer<typeof OrgWorkspaceUpdateRequest>;
23236
+ declare const WorkspaceOnboardingData: z.ZodObject<{
23237
+ productSetup: z.ZodOptional<z.ZodObject<{
23238
+ type: z.ZodOptional<z.ZodEnum<{
23239
+ app: "app";
23240
+ "ai-agent": "ai-agent";
23241
+ }>>;
23242
+ agentType: z.ZodOptional<z.ZodString>;
23243
+ name: z.ZodOptional<z.ZodString>;
23244
+ connectedProductId: z.ZodOptional<z.ZodString>;
23245
+ }, z.core.$strip>>;
23246
+ connections: z.ZodOptional<z.ZodObject<{
23247
+ apps: z.ZodArray<z.ZodObject<{
23248
+ externalAppId: z.ZodOptional<z.ZodString>;
23249
+ name: z.ZodOptional<z.ZodString>;
23250
+ url: z.ZodOptional<z.ZodString>;
23251
+ status: z.ZodOptional<z.ZodEnum<{
23252
+ connected: "connected";
23253
+ skipped: "skipped";
23254
+ pending: "pending";
23255
+ }>>;
23256
+ }, z.core.$strip>>;
23257
+ }, z.core.$strip>>;
23258
+ }, z.core.$loose>;
23259
+ type WorkspaceOnboardingData = z.infer<typeof WorkspaceOnboardingData>;
23260
+ declare const OrgWorkspaceUser: z.ZodObject<{
23261
+ id: z.ZodString;
23262
+ workspaceId: z.ZodString;
23263
+ testCustomerId: z.ZodString;
23264
+ userId: z.ZodString;
23265
+ role: z.ZodString;
23266
+ onboardingData: z.ZodOptional<z.ZodObject<{
23267
+ productSetup: z.ZodOptional<z.ZodObject<{
23268
+ type: z.ZodOptional<z.ZodEnum<{
23269
+ app: "app";
23270
+ "ai-agent": "ai-agent";
23271
+ }>>;
23272
+ agentType: z.ZodOptional<z.ZodString>;
23273
+ name: z.ZodOptional<z.ZodString>;
23274
+ connectedProductId: z.ZodOptional<z.ZodString>;
23275
+ }, z.core.$strip>>;
23276
+ connections: z.ZodOptional<z.ZodObject<{
23277
+ apps: z.ZodArray<z.ZodObject<{
23278
+ externalAppId: z.ZodOptional<z.ZodString>;
23279
+ name: z.ZodOptional<z.ZodString>;
23280
+ url: z.ZodOptional<z.ZodString>;
23281
+ status: z.ZodOptional<z.ZodEnum<{
23282
+ connected: "connected";
23283
+ skipped: "skipped";
23284
+ pending: "pending";
23285
+ }>>;
23286
+ }, z.core.$strip>>;
23287
+ }, z.core.$strip>>;
23288
+ }, z.core.$loose>>;
23289
+ }, z.core.$strip>;
23290
+ type OrgWorkspaceUser = z.infer<typeof OrgWorkspaceUser>;
23291
+ declare const PatchUserWorkspaceSettings: z.ZodObject<{
23292
+ onboardingData: z.ZodOptional<z.ZodObject<{
23293
+ productSetup: z.ZodOptional<z.ZodObject<{
23294
+ type: z.ZodOptional<z.ZodEnum<{
23295
+ app: "app";
23296
+ "ai-agent": "ai-agent";
23297
+ }>>;
23298
+ agentType: z.ZodOptional<z.ZodString>;
23299
+ name: z.ZodOptional<z.ZodString>;
23300
+ connectedProductId: z.ZodOptional<z.ZodString>;
23301
+ }, z.core.$strip>>;
23302
+ connections: z.ZodOptional<z.ZodObject<{
23303
+ apps: z.ZodArray<z.ZodObject<{
23304
+ externalAppId: z.ZodOptional<z.ZodString>;
23305
+ name: z.ZodOptional<z.ZodString>;
23306
+ url: z.ZodOptional<z.ZodString>;
23307
+ status: z.ZodOptional<z.ZodEnum<{
23308
+ connected: "connected";
23309
+ skipped: "skipped";
23310
+ pending: "pending";
23311
+ }>>;
23312
+ }, z.core.$strip>>;
23313
+ }, z.core.$strip>>;
23314
+ }, z.core.$loose>>;
23315
+ }, z.core.$strip>;
23316
+ type PatchUserWorkspaceSettings = z.infer<typeof PatchUserWorkspaceSettings>;
23317
+ declare const CreateOrgRequest: z.ZodObject<{
23318
+ name: z.ZodString;
23319
+ website: z.ZodOptional<z.ZodString>;
23320
+ logoUri: z.ZodOptional<z.ZodString>;
23321
+ integrationApps: z.ZodOptional<z.ZodString>;
23322
+ firstIntegrationUseCase: z.ZodOptional<z.ZodString>;
23323
+ referralSource: z.ZodOptional<z.ZodString>;
23324
+ useCase: z.ZodOptional<z.ZodString>;
23325
+ builder: z.ZodOptional<z.ZodArray<z.ZodEnum<{
23326
+ me: "me";
23327
+ team: "team";
23328
+ }>>>;
23329
+ stripeCustomerId: z.ZodOptional<z.ZodString>;
23330
+ signupSource: z.ZodOptional<z.ZodString>;
23331
+ }, z.core.$strip>;
23332
+ type CreateOrgRequest = z.infer<typeof CreateOrgRequest>;
23333
+ declare const UpdateOrgRequest: z.ZodObject<{
23334
+ name: z.ZodOptional<z.ZodString>;
23335
+ domains: z.ZodOptional<z.ZodArray<z.ZodString>>;
23336
+ }, z.core.$strip>;
23337
+ type UpdateOrgRequest = z.infer<typeof UpdateOrgRequest>;
23338
+ declare const BaseOrgUser: z.ZodObject<{
23339
+ id: z.ZodString;
23340
+ orgId: z.ZodString;
23341
+ userId: z.ZodString;
23342
+ role: z.ZodString;
23343
+ status: z.ZodString;
23344
+ workspaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
23345
+ }, z.core.$strip>;
23346
+ type BaseOrgUser = z.infer<typeof BaseOrgUser>;
23347
+ declare const FullOrgUser: z.ZodObject<{
23348
+ id: z.ZodString;
23349
+ orgId: z.ZodString;
23350
+ userId: z.ZodString;
23351
+ role: z.ZodString;
23352
+ status: z.ZodString;
23353
+ workspaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
23354
+ user: z.ZodObject<{
23355
+ id: z.ZodString;
23356
+ auth0Id: z.ZodOptional<z.ZodString>;
23357
+ email: z.ZodString;
23358
+ name: z.ZodString;
23359
+ defaultAccountId: z.ZodOptional<z.ZodString>;
23360
+ defaultWorkspaceId: z.ZodOptional<z.ZodString>;
23361
+ isAdmin: z.ZodOptional<z.ZodBoolean>;
23362
+ trialRequested: z.ZodBoolean;
23363
+ pat: z.ZodOptional<z.ZodString>;
23364
+ isEligible: z.ZodOptional<z.ZodBoolean>;
23365
+ ineligibilityReason: z.ZodOptional<z.ZodEnum<{
23366
+ disposable: "disposable";
23367
+ blockedDomain: "blockedDomain";
23368
+ }>>;
23369
+ emailVerified: z.ZodOptional<z.ZodBoolean>;
23370
+ isCompanyEmail: z.ZodOptional<z.ZodBoolean>;
23371
+ }, z.core.$strip>;
23372
+ org: z.ZodObject<{
23373
+ id: z.ZodString;
23374
+ key: z.ZodString;
23375
+ name: z.ZodString;
23376
+ plan: z.ZodOptional<z.ZodEnum<typeof OrgPlan>>;
23377
+ createdAt: z.ZodCoercedDate<unknown>;
23378
+ updatedAt: z.ZodCoercedDate<unknown>;
23379
+ trialEndDate: z.ZodOptional<z.ZodString>;
23380
+ lastTrialExtensionDate: z.ZodOptional<z.ZodString>;
23381
+ limits: z.ZodOptional<z.ZodObject<{
23382
+ numberOfWorkspaces: z.ZodOptional<z.ZodNumber>;
23383
+ todayUsage: z.ZodOptional<z.ZodNumber>;
23384
+ lastThirtyDayUsage: z.ZodOptional<z.ZodNumber>;
23385
+ membraneAgentLastThirtyDaysUsage: z.ZodOptional<z.ZodNumber>;
23386
+ membraneExpertCreditsCapPerMonth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23387
+ defaultTenantAiCreditsRolling30DayLimit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23388
+ }, z.core.$strip>>;
23389
+ thirtyDayTotalCredits: z.ZodOptional<z.ZodNumber>;
23390
+ lastThirtyDayUsagePercent: z.ZodOptional<z.ZodNumber>;
23391
+ todayUsagePercent: z.ZodOptional<z.ZodNumber>;
23392
+ domains: z.ZodOptional<z.ZodArray<z.ZodString>>;
23393
+ featureFlags: z.ZodOptional<z.ZodArray<z.ZodString>>;
23394
+ freeAiCredits: z.ZodOptional<z.ZodNumber>;
23395
+ paidAiCredits: z.ZodOptional<z.ZodNumber>;
23396
+ freeAiMonthlyCredits: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23397
+ stripeCustomerId: z.ZodOptional<z.ZodString>;
23398
+ autoChargeEnabled: z.ZodOptional<z.ZodBoolean>;
23399
+ autoChargeThreshold: z.ZodOptional<z.ZodNumber>;
23400
+ autoChargePurchaseAmount: z.ZodOptional<z.ZodNumber>;
23401
+ autoChargeMonthlyLimit: z.ZodOptional<z.ZodNumber>;
23402
+ freeEngineCredits: z.ZodOptional<z.ZodNumber>;
23403
+ paidEngineCredits: z.ZodOptional<z.ZodNumber>;
23404
+ freeEngineMonthlyCredits: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23405
+ engineAutoChargeEnabled: z.ZodOptional<z.ZodBoolean>;
23406
+ engineAutoChargeThreshold: z.ZodOptional<z.ZodNumber>;
23407
+ engineAutoChargePurchaseAmount: z.ZodOptional<z.ZodNumber>;
23408
+ engineAutoChargeMonthlyLimit: z.ZodOptional<z.ZodNumber>;
23409
+ currentUserCanLeave: z.ZodOptional<z.ZodBoolean>;
23410
+ }, 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<{
23503
+ id: z.ZodString;
23504
+ name: z.ZodString;
23505
+ orgId: z.ZodString;
23506
+ apiBaseUri: z.ZodOptional<z.ZodString>;
23507
+ key: z.ZodString;
23508
+ secret: z.ZodString;
23509
+ createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>>;
23510
+ updatedAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>>;
23511
+ engineAccessToken: z.ZodOptional<z.ZodString>;
23512
+ trialEndDate: z.ZodOptional<z.ZodString>;
23513
+ featureFlags: z.ZodOptional<z.ZodArray<z.ZodString>>;
23514
+ logoUri: z.ZodOptional<z.ZodString>;
23515
+ membraneInstanceId: z.ZodOptional<z.ZodString>;
23516
+ operatorLimits: z.ZodOptional<z.ZodObject<{
23517
+ parallelEventPulls: z.ZodOptional<z.ZodObject<{
23518
+ value: z.ZodOptional<z.ZodNumber>;
23519
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23520
+ unit: z.ZodEnum<typeof LimitUnits>;
23521
+ }, z.core.$strip>>;
23522
+ parallelIncrementalEventPullsPerConnection: z.ZodOptional<z.ZodObject<{
23523
+ value: z.ZodOptional<z.ZodNumber>;
23524
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23525
+ unit: z.ZodEnum<typeof LimitUnits>;
23526
+ }, z.core.$strip>>;
23527
+ parallelFullSyncEventPullsPerConnection: z.ZodOptional<z.ZodObject<{
23528
+ value: z.ZodOptional<z.ZodNumber>;
23529
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23530
+ unit: z.ZodEnum<typeof LimitUnits>;
23531
+ }, z.core.$strip>>;
23532
+ parallelFlowRuns: z.ZodOptional<z.ZodObject<{
23533
+ value: z.ZodOptional<z.ZodNumber>;
23534
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23535
+ unit: z.ZodEnum<typeof LimitUnits>;
23536
+ }, z.core.$strip>>;
23537
+ parallelFlowRunsPerConnection: z.ZodOptional<z.ZodObject<{
23538
+ value: z.ZodOptional<z.ZodNumber>;
23539
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23540
+ unit: z.ZodEnum<typeof LimitUnits>;
23541
+ }, z.core.$strip>>;
23542
+ parallelApiRequests: z.ZodOptional<z.ZodObject<{
23543
+ value: z.ZodOptional<z.ZodNumber>;
23544
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23545
+ unit: z.ZodEnum<typeof LimitUnits>;
23546
+ }, z.core.$strip>>;
23547
+ parallelSseRequests: z.ZodOptional<z.ZodObject<{
23548
+ value: z.ZodOptional<z.ZodNumber>;
23549
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23550
+ unit: z.ZodEnum<typeof LimitUnits>;
23551
+ }, z.core.$strip>>;
23552
+ parallelBackgroundJobs: z.ZodOptional<z.ZodObject<{
23553
+ value: z.ZodOptional<z.ZodNumber>;
23554
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23555
+ unit: z.ZodEnum<typeof LimitUnits>;
23556
+ }, z.core.$strip>>;
23557
+ parallelEventProcessingJobs: z.ZodOptional<z.ZodObject<{
23558
+ value: z.ZodOptional<z.ZodNumber>;
23559
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23560
+ unit: z.ZodEnum<typeof LimitUnits>;
23561
+ }, z.core.$strip>>;
23562
+ parallelEventProcessingJobsPerConnection: z.ZodOptional<z.ZodObject<{
23563
+ value: z.ZodOptional<z.ZodNumber>;
23564
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23565
+ unit: z.ZodEnum<typeof LimitUnits>;
23566
+ }, z.core.$strip>>;
23567
+ parallelInstantTasksActiveJobs: z.ZodOptional<z.ZodObject<{
23568
+ value: z.ZodOptional<z.ZodNumber>;
23569
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23570
+ unit: z.ZodEnum<typeof LimitUnits>;
23571
+ }, z.core.$strip>>;
23572
+ parallelAgentSessions: z.ZodOptional<z.ZodObject<{
23573
+ value: z.ZodOptional<z.ZodNumber>;
23574
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23575
+ unit: z.ZodEnum<typeof LimitUnits>;
23576
+ }, z.core.$strip>>;
23577
+ parallelCustomCodeRuns: z.ZodOptional<z.ZodObject<{
23578
+ value: z.ZodOptional<z.ZodNumber>;
23579
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23580
+ unit: z.ZodEnum<typeof LimitUnits>;
23581
+ }, z.core.$strip>>;
23582
+ ParallelWriteDatabaseRequests: z.ZodOptional<z.ZodObject<{
23583
+ value: z.ZodOptional<z.ZodNumber>;
23584
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23585
+ unit: z.ZodEnum<typeof LimitUnits>;
23586
+ }, z.core.$strip>>;
23587
+ fileUploadsMbPerHour: z.ZodOptional<z.ZodObject<{
23588
+ value: z.ZodOptional<z.ZodNumber>;
23589
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23590
+ unit: z.ZodEnum<typeof LimitUnits>;
23591
+ }, z.core.$strip>>;
23592
+ apiRequestsPerSecond: z.ZodOptional<z.ZodObject<{
23593
+ value: z.ZodOptional<z.ZodNumber>;
23594
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23595
+ unit: z.ZodEnum<typeof LimitUnits>;
23596
+ }, z.core.$strip>>;
23597
+ apiRequestsPerHour: z.ZodOptional<z.ZodObject<{
23598
+ value: z.ZodOptional<z.ZodNumber>;
23599
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23600
+ unit: z.ZodEnum<typeof LimitUnits>;
23601
+ }, z.core.$strip>>;
23602
+ webhookRequestsPerSecond: z.ZodOptional<z.ZodObject<{
23603
+ value: z.ZodOptional<z.ZodNumber>;
23604
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23605
+ unit: z.ZodEnum<typeof LimitUnits>;
23606
+ }, z.core.$strip>>;
23607
+ webhookRequestsPerHour: z.ZodOptional<z.ZodObject<{
23608
+ value: z.ZodOptional<z.ZodNumber>;
23609
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23610
+ unit: z.ZodEnum<typeof LimitUnits>;
23611
+ }, z.core.$strip>>;
23612
+ workspaceElementCreationsPerSecond: z.ZodOptional<z.ZodObject<{
23613
+ value: z.ZodOptional<z.ZodNumber>;
23614
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23615
+ unit: z.ZodEnum<typeof LimitUnits>;
23616
+ }, z.core.$strip>>;
23617
+ workspaceElementCreationsPerHour: z.ZodOptional<z.ZodObject<{
23618
+ value: z.ZodOptional<z.ZodNumber>;
23619
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23620
+ unit: z.ZodEnum<typeof LimitUnits>;
23621
+ }, z.core.$strip>>;
23622
+ workspaceElementSearchIndexingPerMinute: z.ZodOptional<z.ZodObject<{
23623
+ value: z.ZodOptional<z.ZodNumber>;
23624
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23625
+ unit: z.ZodEnum<typeof LimitUnits>;
23626
+ }, z.core.$strip>>;
23627
+ mcpOAuthAuthorizationsPerHour: z.ZodOptional<z.ZodObject<{
23628
+ value: z.ZodOptional<z.ZodNumber>;
23629
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23630
+ unit: z.ZodEnum<typeof LimitUnits>;
23631
+ }, z.core.$strip>>;
23632
+ mcpOAuthTokensPerHour: z.ZodOptional<z.ZodObject<{
23633
+ value: z.ZodOptional<z.ZodNumber>;
23634
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23635
+ unit: z.ZodEnum<typeof LimitUnits>;
23636
+ }, z.core.$strip>>;
23637
+ totalNumberOfCustomers: z.ZodOptional<z.ZodObject<{
23638
+ value: z.ZodOptional<z.ZodNumber>;
23639
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23640
+ unit: z.ZodEnum<typeof LimitUnits>;
23641
+ }, z.core.$strip>>;
23642
+ totalNumberOfConnections: z.ZodOptional<z.ZodObject<{
23643
+ value: z.ZodOptional<z.ZodNumber>;
23644
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23645
+ unit: z.ZodEnum<typeof LimitUnits>;
23646
+ }, z.core.$strip>>;
23647
+ totalNumberOfWorkspaceElements: z.ZodOptional<z.ZodObject<{
23648
+ value: z.ZodOptional<z.ZodNumber>;
23649
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23650
+ unit: z.ZodEnum<typeof LimitUnits>;
23651
+ }, z.core.$strip>>;
23652
+ totalNumberOfWorkspaceDatabaseRecords: z.ZodOptional<z.ZodObject<{
23653
+ value: z.ZodOptional<z.ZodNumber>;
23654
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23655
+ unit: z.ZodEnum<typeof LimitUnits>;
23656
+ }, z.core.$strip>>;
23657
+ flowRunsQueueSizePerConnection: z.ZodOptional<z.ZodObject<{
23658
+ value: z.ZodOptional<z.ZodNumber>;
23659
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23660
+ unit: z.ZodEnum<typeof LimitUnits>;
23661
+ }, z.core.$strip>>;
23662
+ instantTasksQueueSize: z.ZodOptional<z.ZodObject<{
23663
+ value: z.ZodOptional<z.ZodNumber>;
23664
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23665
+ unit: z.ZodEnum<typeof LimitUnits>;
23666
+ }, z.core.$strip>>;
23667
+ QueuedTasksQueueSize: z.ZodOptional<z.ZodObject<{
23668
+ value: z.ZodOptional<z.ZodNumber>;
23669
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23670
+ unit: z.ZodEnum<typeof LimitUnits>;
23671
+ }, z.core.$strip>>;
23672
+ parallelApiRequestsPerCustomer: z.ZodOptional<z.ZodObject<{
23673
+ value: z.ZodOptional<z.ZodNumber>;
23674
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23675
+ unit: z.ZodEnum<typeof LimitUnits>;
23676
+ }, z.core.$strip>>;
23677
+ parallelBackgroundJobsPerCustomer: z.ZodOptional<z.ZodObject<{
23678
+ value: z.ZodOptional<z.ZodNumber>;
23679
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23680
+ unit: z.ZodEnum<typeof LimitUnits>;
23681
+ }, z.core.$strip>>;
23682
+ parallelCustomCodeRunsPerCustomer: z.ZodOptional<z.ZodObject<{
23683
+ value: z.ZodOptional<z.ZodNumber>;
23684
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23685
+ unit: z.ZodEnum<typeof LimitUnits>;
23686
+ }, z.core.$strip>>;
23687
+ totalNumberOfDatabaseEntitiesPerCustomer: z.ZodOptional<z.ZodObject<{
23688
+ value: z.ZodOptional<z.ZodNumber>;
23689
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23690
+ unit: z.ZodEnum<typeof LimitUnits>;
23691
+ }, z.core.$strip>>;
23692
+ apiRequestsPerCustomerPerSecond: z.ZodOptional<z.ZodObject<{
23693
+ value: z.ZodOptional<z.ZodNumber>;
23694
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23695
+ unit: z.ZodEnum<typeof LimitUnits>;
23696
+ }, z.core.$strip>>;
23697
+ apiRequestsPerCustomerPerHour: z.ZodOptional<z.ZodObject<{
23698
+ value: z.ZodOptional<z.ZodNumber>;
23699
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23700
+ unit: z.ZodEnum<typeof LimitUnits>;
23701
+ }, z.core.$strip>>;
23702
+ webhookRequestsPerCustomerPerSecond: z.ZodOptional<z.ZodObject<{
23703
+ value: z.ZodOptional<z.ZodNumber>;
23704
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23705
+ unit: z.ZodEnum<typeof LimitUnits>;
23706
+ }, z.core.$strip>>;
23707
+ webhookRequestsPerCustomerPerHour: z.ZodOptional<z.ZodObject<{
23708
+ value: z.ZodOptional<z.ZodNumber>;
23709
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23710
+ unit: z.ZodEnum<typeof LimitUnits>;
23711
+ }, z.core.$strip>>;
23712
+ externalEventsPerCustomerPerDay: z.ZodOptional<z.ZodObject<{
23713
+ value: z.ZodOptional<z.ZodNumber>;
23714
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23715
+ unit: z.ZodEnum<typeof LimitUnits>;
23716
+ }, z.core.$strip>>;
23717
+ defaultTenantAiCreditsRolling30DayLimit: z.ZodOptional<z.ZodObject<{
23718
+ value: z.ZodOptional<z.ZodNumber>;
23719
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23720
+ unit: z.ZodEnum<typeof LimitUnits>;
23721
+ }, z.core.$strip>>;
23722
+ }, z.core.$strip>>;
23723
+ operatorLimitsSyncedAt: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>>>;
23724
+ operatorLimitsSyncError: z.ZodOptional<z.ZodString>;
23725
+ limits: z.ZodOptional<z.ZodObject<{
23726
+ parallelEventPulls: z.ZodOptional<z.ZodObject<{
23727
+ value: z.ZodOptional<z.ZodNumber>;
23728
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23729
+ unit: z.ZodEnum<typeof LimitUnits>;
23730
+ }, z.core.$strip>>;
23731
+ parallelIncrementalEventPullsPerConnection: z.ZodOptional<z.ZodObject<{
23732
+ value: z.ZodOptional<z.ZodNumber>;
23733
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23734
+ unit: z.ZodEnum<typeof LimitUnits>;
23735
+ }, z.core.$strip>>;
23736
+ parallelFullSyncEventPullsPerConnection: z.ZodOptional<z.ZodObject<{
23737
+ value: z.ZodOptional<z.ZodNumber>;
23738
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23739
+ unit: z.ZodEnum<typeof LimitUnits>;
23740
+ }, z.core.$strip>>;
23741
+ parallelFlowRuns: z.ZodOptional<z.ZodObject<{
23742
+ value: z.ZodOptional<z.ZodNumber>;
23743
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23744
+ unit: z.ZodEnum<typeof LimitUnits>;
23745
+ }, z.core.$strip>>;
23746
+ parallelFlowRunsPerConnection: z.ZodOptional<z.ZodObject<{
23747
+ value: z.ZodOptional<z.ZodNumber>;
23748
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23749
+ unit: z.ZodEnum<typeof LimitUnits>;
23750
+ }, z.core.$strip>>;
23751
+ parallelApiRequests: z.ZodOptional<z.ZodObject<{
23752
+ value: z.ZodOptional<z.ZodNumber>;
23753
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23754
+ unit: z.ZodEnum<typeof LimitUnits>;
23755
+ }, z.core.$strip>>;
23756
+ parallelSseRequests: z.ZodOptional<z.ZodObject<{
23757
+ value: z.ZodOptional<z.ZodNumber>;
23758
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23759
+ unit: z.ZodEnum<typeof LimitUnits>;
23760
+ }, z.core.$strip>>;
23761
+ parallelBackgroundJobs: z.ZodOptional<z.ZodObject<{
23762
+ value: z.ZodOptional<z.ZodNumber>;
23763
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23764
+ unit: z.ZodEnum<typeof LimitUnits>;
23765
+ }, z.core.$strip>>;
23766
+ parallelEventProcessingJobs: z.ZodOptional<z.ZodObject<{
23767
+ value: z.ZodOptional<z.ZodNumber>;
23768
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23769
+ unit: z.ZodEnum<typeof LimitUnits>;
23770
+ }, z.core.$strip>>;
23771
+ parallelEventProcessingJobsPerConnection: z.ZodOptional<z.ZodObject<{
23772
+ value: z.ZodOptional<z.ZodNumber>;
23773
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23774
+ unit: z.ZodEnum<typeof LimitUnits>;
23775
+ }, z.core.$strip>>;
23776
+ parallelInstantTasksActiveJobs: z.ZodOptional<z.ZodObject<{
23777
+ value: z.ZodOptional<z.ZodNumber>;
23778
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23779
+ unit: z.ZodEnum<typeof LimitUnits>;
23780
+ }, z.core.$strip>>;
23781
+ parallelAgentSessions: z.ZodOptional<z.ZodObject<{
23782
+ value: z.ZodOptional<z.ZodNumber>;
23783
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23784
+ unit: z.ZodEnum<typeof LimitUnits>;
23785
+ }, z.core.$strip>>;
23786
+ parallelCustomCodeRuns: z.ZodOptional<z.ZodObject<{
23787
+ value: z.ZodOptional<z.ZodNumber>;
23788
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23789
+ unit: z.ZodEnum<typeof LimitUnits>;
23790
+ }, z.core.$strip>>;
23791
+ ParallelWriteDatabaseRequests: z.ZodOptional<z.ZodObject<{
23792
+ value: z.ZodOptional<z.ZodNumber>;
23793
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23794
+ unit: z.ZodEnum<typeof LimitUnits>;
23795
+ }, z.core.$strip>>;
23796
+ fileUploadsMbPerHour: z.ZodOptional<z.ZodObject<{
23797
+ value: z.ZodOptional<z.ZodNumber>;
23798
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23799
+ unit: z.ZodEnum<typeof LimitUnits>;
23800
+ }, z.core.$strip>>;
23801
+ apiRequestsPerSecond: z.ZodOptional<z.ZodObject<{
23802
+ value: z.ZodOptional<z.ZodNumber>;
23803
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23804
+ unit: z.ZodEnum<typeof LimitUnits>;
23805
+ }, z.core.$strip>>;
23806
+ apiRequestsPerHour: z.ZodOptional<z.ZodObject<{
23807
+ value: z.ZodOptional<z.ZodNumber>;
23808
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23809
+ unit: z.ZodEnum<typeof LimitUnits>;
23810
+ }, z.core.$strip>>;
23811
+ webhookRequestsPerSecond: z.ZodOptional<z.ZodObject<{
23812
+ value: z.ZodOptional<z.ZodNumber>;
23813
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23814
+ unit: z.ZodEnum<typeof LimitUnits>;
23815
+ }, z.core.$strip>>;
23816
+ webhookRequestsPerHour: z.ZodOptional<z.ZodObject<{
23817
+ value: z.ZodOptional<z.ZodNumber>;
23818
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23819
+ unit: z.ZodEnum<typeof LimitUnits>;
23820
+ }, z.core.$strip>>;
23821
+ workspaceElementCreationsPerSecond: z.ZodOptional<z.ZodObject<{
23822
+ value: z.ZodOptional<z.ZodNumber>;
23823
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23824
+ unit: z.ZodEnum<typeof LimitUnits>;
23825
+ }, z.core.$strip>>;
23826
+ workspaceElementCreationsPerHour: z.ZodOptional<z.ZodObject<{
23827
+ value: z.ZodOptional<z.ZodNumber>;
23828
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23829
+ unit: z.ZodEnum<typeof LimitUnits>;
23830
+ }, z.core.$strip>>;
23831
+ workspaceElementSearchIndexingPerMinute: z.ZodOptional<z.ZodObject<{
23832
+ value: z.ZodOptional<z.ZodNumber>;
23833
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23834
+ unit: z.ZodEnum<typeof LimitUnits>;
23835
+ }, z.core.$strip>>;
23836
+ mcpOAuthAuthorizationsPerHour: z.ZodOptional<z.ZodObject<{
23837
+ value: z.ZodOptional<z.ZodNumber>;
23838
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23839
+ unit: z.ZodEnum<typeof LimitUnits>;
23840
+ }, z.core.$strip>>;
23841
+ mcpOAuthTokensPerHour: z.ZodOptional<z.ZodObject<{
23842
+ value: z.ZodOptional<z.ZodNumber>;
23843
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23844
+ unit: z.ZodEnum<typeof LimitUnits>;
23845
+ }, z.core.$strip>>;
23846
+ totalNumberOfCustomers: z.ZodOptional<z.ZodObject<{
23847
+ value: z.ZodOptional<z.ZodNumber>;
23848
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23849
+ unit: z.ZodEnum<typeof LimitUnits>;
23850
+ }, z.core.$strip>>;
23851
+ totalNumberOfConnections: z.ZodOptional<z.ZodObject<{
23852
+ value: z.ZodOptional<z.ZodNumber>;
23853
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23854
+ unit: z.ZodEnum<typeof LimitUnits>;
23855
+ }, z.core.$strip>>;
23856
+ totalNumberOfWorkspaceElements: z.ZodOptional<z.ZodObject<{
23857
+ value: z.ZodOptional<z.ZodNumber>;
23858
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23859
+ unit: z.ZodEnum<typeof LimitUnits>;
23860
+ }, z.core.$strip>>;
23861
+ totalNumberOfWorkspaceDatabaseRecords: z.ZodOptional<z.ZodObject<{
23862
+ value: z.ZodOptional<z.ZodNumber>;
23863
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23864
+ unit: z.ZodEnum<typeof LimitUnits>;
23865
+ }, z.core.$strip>>;
23866
+ flowRunsQueueSizePerConnection: z.ZodOptional<z.ZodObject<{
23867
+ value: z.ZodOptional<z.ZodNumber>;
23868
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23869
+ unit: z.ZodEnum<typeof LimitUnits>;
23870
+ }, z.core.$strip>>;
23871
+ instantTasksQueueSize: z.ZodOptional<z.ZodObject<{
23872
+ value: z.ZodOptional<z.ZodNumber>;
23873
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23874
+ unit: z.ZodEnum<typeof LimitUnits>;
23875
+ }, z.core.$strip>>;
23876
+ QueuedTasksQueueSize: z.ZodOptional<z.ZodObject<{
23877
+ value: z.ZodOptional<z.ZodNumber>;
23878
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23879
+ unit: z.ZodEnum<typeof LimitUnits>;
23880
+ }, z.core.$strip>>;
23881
+ parallelApiRequestsPerCustomer: z.ZodOptional<z.ZodObject<{
23882
+ value: z.ZodOptional<z.ZodNumber>;
23883
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23884
+ unit: z.ZodEnum<typeof LimitUnits>;
23885
+ }, z.core.$strip>>;
23886
+ parallelBackgroundJobsPerCustomer: z.ZodOptional<z.ZodObject<{
23887
+ value: z.ZodOptional<z.ZodNumber>;
23888
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23889
+ unit: z.ZodEnum<typeof LimitUnits>;
23890
+ }, z.core.$strip>>;
23891
+ parallelCustomCodeRunsPerCustomer: z.ZodOptional<z.ZodObject<{
23892
+ value: z.ZodOptional<z.ZodNumber>;
23893
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23894
+ unit: z.ZodEnum<typeof LimitUnits>;
23895
+ }, z.core.$strip>>;
23896
+ totalNumberOfDatabaseEntitiesPerCustomer: z.ZodOptional<z.ZodObject<{
23897
+ value: z.ZodOptional<z.ZodNumber>;
23898
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23899
+ unit: z.ZodEnum<typeof LimitUnits>;
23900
+ }, z.core.$strip>>;
23901
+ apiRequestsPerCustomerPerSecond: z.ZodOptional<z.ZodObject<{
23902
+ value: z.ZodOptional<z.ZodNumber>;
23903
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23904
+ unit: z.ZodEnum<typeof LimitUnits>;
23905
+ }, z.core.$strip>>;
23906
+ apiRequestsPerCustomerPerHour: z.ZodOptional<z.ZodObject<{
23907
+ value: z.ZodOptional<z.ZodNumber>;
23908
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23909
+ unit: z.ZodEnum<typeof LimitUnits>;
23910
+ }, z.core.$strip>>;
23911
+ webhookRequestsPerCustomerPerSecond: z.ZodOptional<z.ZodObject<{
23912
+ value: z.ZodOptional<z.ZodNumber>;
23913
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23914
+ unit: z.ZodEnum<typeof LimitUnits>;
23915
+ }, z.core.$strip>>;
23916
+ webhookRequestsPerCustomerPerHour: z.ZodOptional<z.ZodObject<{
23917
+ value: z.ZodOptional<z.ZodNumber>;
23918
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23919
+ unit: z.ZodEnum<typeof LimitUnits>;
23920
+ }, z.core.$strip>>;
23921
+ externalEventsPerCustomerPerDay: z.ZodOptional<z.ZodObject<{
23922
+ value: z.ZodOptional<z.ZodNumber>;
23923
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23924
+ unit: z.ZodEnum<typeof LimitUnits>;
23925
+ }, z.core.$strip>>;
23926
+ defaultTenantAiCreditsRolling30DayLimit: z.ZodOptional<z.ZodObject<{
23927
+ value: z.ZodOptional<z.ZodNumber>;
23928
+ defaultValue: z.ZodOptional<z.ZodNumber>;
23929
+ unit: z.ZodEnum<typeof LimitUnits>;
23930
+ }, z.core.$strip>>;
23931
+ }, z.core.$strip>>;
23932
+ settings: z.ZodOptional<z.ZodObject<{
23933
+ enableApiLogs: z.ZodOptional<z.ZodBoolean>;
23934
+ enableWebhookLogs: z.ZodOptional<z.ZodBoolean>;
23935
+ enableActionRunLogs: z.ZodOptional<z.ZodBoolean>;
23936
+ disableSecretKeyAuth: z.ZodOptional<z.ZodBoolean>;
23937
+ useMembraneUniverse: z.ZodOptional<z.ZodBoolean>;
23938
+ useRemoteRepository: z.ZodOptional<z.ZodBoolean>;
23939
+ autoGenerateIntegrationsFromConnectors: z.ZodOptional<z.ZodBoolean>;
23940
+ autoGenerateIntegrationsFromExternalApps: z.ZodOptional<z.ZodBoolean>;
23941
+ autoGenerateIntegrationsFromWebSearch: z.ZodOptional<z.ZodBoolean>;
23942
+ }, z.core.$strip>>;
23943
+ publicKeys: z.ZodOptional<z.ZodArray<z.ZodObject<{
23944
+ name: z.ZodString;
23945
+ publicKey: z.ZodString;
23946
+ }, z.core.$strip>>>;
23947
+ userFieldsSchema: z.ZodOptional<z.ZodAny>;
23948
+ webhookUri: z.ZodOptional<z.ZodString>;
23949
+ enabledWebhookEvents: z.ZodOptional<z.ZodArray<z.ZodString>>;
23950
+ alertDeliverySettings: z.ZodOptional<z.ZodObject<{
23951
+ alertTypes: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
23952
+ fileUploadsMbPerHour: AlertType.fileUploadsMbPerHour;
23953
+ apiRequestsPerSecond: AlertType.apiRequestsPerSecond;
23954
+ apiRequestsPerHour: AlertType.apiRequestsPerHour;
23955
+ webhookRequestsPerSecond: AlertType.webhookRequestsPerSecond;
23956
+ webhookRequestsPerHour: AlertType.webhookRequestsPerHour;
23957
+ workspaceElementCreationsPerSecond: AlertType.workspaceElementCreationsPerSecond;
23958
+ workspaceElementCreationsPerHour: AlertType.workspaceElementCreationsPerHour;
23959
+ workspaceElementSearchIndexingPerMinute: AlertType.workspaceElementSearchIndexingPerMinute;
23960
+ externalEventsPerCustomerPerDay: AlertType.externalEventsPerCustomerPerDay;
23961
+ apiRequestsPerCustomerPerSecond: AlertType.apiRequestsPerCustomerPerSecond;
23962
+ apiRequestsPerCustomerPerHour: AlertType.apiRequestsPerCustomerPerHour;
23963
+ webhookRequestsPerCustomerPerSecond: AlertType.webhookRequestsPerCustomerPerSecond;
23964
+ webhookRequestsPerCustomerPerHour: AlertType.webhookRequestsPerCustomerPerHour;
23965
+ parallelApiRequestsPerCustomer: AlertType.parallelApiRequestsPerCustomer;
23966
+ engineCreditsExhaustionProjected: AlertType.engineCreditsExhaustionProjected;
23967
+ engineCreditsExhaustionActual: AlertType.engineCreditsExhaustionActual;
23968
+ aiCreditsDebtAccumulated: AlertType.aiCreditsDebtAccumulated;
23969
+ totalNumberOfDatabaseEntitiesPerCustomer: AlertType.totalNumberOfDatabaseEntitiesPerCustomer;
23970
+ totalNumberOfCustomers: AlertType.totalNumberOfCustomers;
23971
+ totalNumberOfConnections: AlertType.totalNumberOfConnections;
23972
+ totalNumberOfWorkspaceElements: AlertType.totalNumberOfWorkspaceElements;
23973
+ totalNumberOfWorkspaceDatabaseRecords: AlertType.totalNumberOfWorkspaceDatabaseRecords;
23974
+ instantTasksQueueSize: AlertType.instantTasksQueueSize;
23975
+ queuedTasksQueueSize: AlertType.queuedTasksQueueSize;
23976
+ flowRunsQueueSizePerConnection: AlertType.flowRunsQueueSizePerConnection;
23977
+ eventsProcessingQueueSizePerConnection: AlertType.eventsProcessingQueueSizePerConnection;
23978
+ parallelApiRequests: AlertType.parallelApiRequests;
23979
+ testAlert: AlertType.testAlert;
23980
+ }>, z.ZodOptional<z.ZodObject<{
23981
+ internal: z.ZodLiteral<true>;
23982
+ webhook: z.ZodOptional<z.ZodObject<{
23983
+ enabled: z.ZodBoolean;
23984
+ }, z.core.$strip>>;
23985
+ email: z.ZodOptional<z.ZodObject<{
23986
+ enabled: z.ZodBoolean;
23987
+ }, z.core.$strip>>;
23988
+ }, z.core.$strip>>>>;
23989
+ }, z.core.$strip>>;
23990
+ jwksUri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23991
+ type: z.ZodOptional<z.ZodEnum<typeof WorkspaceType>>;
23992
+ isReadOnly: z.ZodOptional<z.ZodBoolean>;
23993
+ }, z.core.$strip>>;
23994
+ cursor: z.ZodOptional<z.ZodString>;
22592
23995
  }, z.core.$strip>;
22593
- type UpdateOrgInvitationRequest = z.infer<typeof UpdateOrgInvitationRequest>;
22594
- declare const CreateOrgInvitationRequest: z.ZodObject<{
23996
+ type ListOrgWorkspacesResponse = z.infer<typeof ListOrgWorkspacesResponse>;
23997
+ declare const CreateOrgWorkspaceRequest: z.ZodObject<{
22595
23998
  name: z.ZodOptional<z.ZodString>;
22596
- workspaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
22597
- email: z.ZodOptional<z.ZodString>;
22598
- }, z.core.$strip>;
22599
- type CreateOrgInvitationRequest = z.infer<typeof CreateOrgInvitationRequest>;
22600
- declare const FindOrgsQuery: z.ZodObject<{
22601
- search: z.ZodOptional<z.ZodString>;
22602
- myOrgs: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
22603
- }, z.core.$strip>;
22604
- type FindOrgsQuery = z.infer<typeof FindOrgsQuery>;
22605
- declare const FindOrgWorkspacesQuery: z.ZodObject<{
22606
- search: z.ZodOptional<z.ZodString>;
22607
- cursor: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
22608
- limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
23999
+ logoUri: z.ZodOptional<z.ZodString>;
24000
+ orgId: z.ZodString;
24001
+ membraneInstanceId: z.ZodOptional<z.ZodString>;
22609
24002
  }, z.core.$strip>;
22610
- type FindOrgWorkspacesQuery = z.infer<typeof FindOrgWorkspacesQuery>;
22611
- declare const ListOrgWorkspacesQuery: z.ZodObject<{
22612
- search: z.ZodOptional<z.ZodString>;
22613
- cursor: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
22614
- limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
22615
- orgId: z.ZodOptional<z.ZodString>;
24003
+ type CreateOrgWorkspaceRequest = z.infer<typeof CreateOrgWorkspaceRequest>;
24004
+ declare const RotateOrgWorkspaceSecretResponse: z.ZodObject<{
24005
+ secret: z.ZodString;
22616
24006
  }, z.core.$strip>;
22617
- type ListOrgWorkspacesQuery = z.infer<typeof ListOrgWorkspacesQuery>;
22618
- declare const ListOrgWorkspacesResponse: z.ZodObject<{
22619
- items: z.ZodArray<z.ZodObject<{
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<{
22620
24028
  id: z.ZodString;
22621
24029
  name: z.ZodString;
22622
24030
  orgId: z.ZodString;
@@ -22630,7 +24038,7 @@ declare const ListOrgWorkspacesResponse: z.ZodObject<{
22630
24038
  featureFlags: z.ZodOptional<z.ZodArray<z.ZodString>>;
22631
24039
  logoUri: z.ZodOptional<z.ZodString>;
22632
24040
  membraneInstanceId: z.ZodOptional<z.ZodString>;
22633
- limits: z.ZodOptional<z.ZodObject<{
24041
+ operatorLimits: z.ZodOptional<z.ZodObject<{
22634
24042
  parallelEventPulls: z.ZodOptional<z.ZodObject<{
22635
24043
  value: z.ZodOptional<z.ZodNumber>;
22636
24044
  defaultValue: z.ZodOptional<z.ZodNumber>;
@@ -22837,115 +24245,8 @@ declare const ListOrgWorkspacesResponse: z.ZodObject<{
22837
24245
  unit: z.ZodEnum<typeof LimitUnits>;
22838
24246
  }, z.core.$strip>>;
22839
24247
  }, z.core.$strip>>;
22840
- settings: z.ZodOptional<z.ZodObject<{
22841
- enableApiLogs: z.ZodOptional<z.ZodBoolean>;
22842
- enableWebhookLogs: z.ZodOptional<z.ZodBoolean>;
22843
- enableActionRunLogs: z.ZodOptional<z.ZodBoolean>;
22844
- disableSecretKeyAuth: z.ZodOptional<z.ZodBoolean>;
22845
- useMembraneUniverse: z.ZodOptional<z.ZodBoolean>;
22846
- useRemoteRepository: z.ZodOptional<z.ZodBoolean>;
22847
- autoGenerateIntegrationsFromConnectors: z.ZodOptional<z.ZodBoolean>;
22848
- autoGenerateIntegrationsFromExternalApps: z.ZodOptional<z.ZodBoolean>;
22849
- autoGenerateIntegrationsFromWebSearch: z.ZodOptional<z.ZodBoolean>;
22850
- }, z.core.$strip>>;
22851
- publicKeys: z.ZodOptional<z.ZodArray<z.ZodObject<{
22852
- name: z.ZodString;
22853
- publicKey: z.ZodString;
22854
- }, z.core.$strip>>>;
22855
- userFieldsSchema: z.ZodOptional<z.ZodAny>;
22856
- webhookUri: z.ZodOptional<z.ZodString>;
22857
- enabledWebhookEvents: z.ZodOptional<z.ZodArray<z.ZodString>>;
22858
- alertDeliverySettings: z.ZodOptional<z.ZodObject<{
22859
- alertTypes: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
22860
- fileUploadsMbPerHour: AlertType.fileUploadsMbPerHour;
22861
- apiRequestsPerSecond: AlertType.apiRequestsPerSecond;
22862
- apiRequestsPerHour: AlertType.apiRequestsPerHour;
22863
- webhookRequestsPerSecond: AlertType.webhookRequestsPerSecond;
22864
- webhookRequestsPerHour: AlertType.webhookRequestsPerHour;
22865
- workspaceElementCreationsPerSecond: AlertType.workspaceElementCreationsPerSecond;
22866
- workspaceElementCreationsPerHour: AlertType.workspaceElementCreationsPerHour;
22867
- workspaceElementSearchIndexingPerMinute: AlertType.workspaceElementSearchIndexingPerMinute;
22868
- externalEventsPerCustomerPerDay: AlertType.externalEventsPerCustomerPerDay;
22869
- apiRequestsPerCustomerPerSecond: AlertType.apiRequestsPerCustomerPerSecond;
22870
- apiRequestsPerCustomerPerHour: AlertType.apiRequestsPerCustomerPerHour;
22871
- webhookRequestsPerCustomerPerSecond: AlertType.webhookRequestsPerCustomerPerSecond;
22872
- webhookRequestsPerCustomerPerHour: AlertType.webhookRequestsPerCustomerPerHour;
22873
- parallelApiRequestsPerCustomer: AlertType.parallelApiRequestsPerCustomer;
22874
- engineCreditsExhaustionProjected: AlertType.engineCreditsExhaustionProjected;
22875
- engineCreditsExhaustionActual: AlertType.engineCreditsExhaustionActual;
22876
- aiCreditsDebtAccumulated: AlertType.aiCreditsDebtAccumulated;
22877
- totalNumberOfDatabaseEntitiesPerCustomer: AlertType.totalNumberOfDatabaseEntitiesPerCustomer;
22878
- totalNumberOfCustomers: AlertType.totalNumberOfCustomers;
22879
- totalNumberOfConnections: AlertType.totalNumberOfConnections;
22880
- totalNumberOfWorkspaceElements: AlertType.totalNumberOfWorkspaceElements;
22881
- totalNumberOfWorkspaceDatabaseRecords: AlertType.totalNumberOfWorkspaceDatabaseRecords;
22882
- instantTasksQueueSize: AlertType.instantTasksQueueSize;
22883
- queuedTasksQueueSize: AlertType.queuedTasksQueueSize;
22884
- flowRunsQueueSizePerConnection: AlertType.flowRunsQueueSizePerConnection;
22885
- eventsProcessingQueueSizePerConnection: AlertType.eventsProcessingQueueSizePerConnection;
22886
- parallelApiRequests: AlertType.parallelApiRequests;
22887
- testAlert: AlertType.testAlert;
22888
- }>, z.ZodOptional<z.ZodObject<{
22889
- internal: z.ZodLiteral<true>;
22890
- webhook: z.ZodOptional<z.ZodObject<{
22891
- enabled: z.ZodBoolean;
22892
- }, z.core.$strip>>;
22893
- email: z.ZodOptional<z.ZodObject<{
22894
- enabled: z.ZodBoolean;
22895
- }, z.core.$strip>>;
22896
- }, z.core.$strip>>>>;
22897
- }, z.core.$strip>>;
22898
- jwksUri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22899
- type: z.ZodOptional<z.ZodEnum<typeof WorkspaceType>>;
22900
- isReadOnly: z.ZodOptional<z.ZodBoolean>;
22901
- }, z.core.$strip>>;
22902
- cursor: z.ZodOptional<z.ZodString>;
22903
- }, z.core.$strip>;
22904
- type ListOrgWorkspacesResponse = z.infer<typeof ListOrgWorkspacesResponse>;
22905
- declare const CreateOrgWorkspaceRequest: z.ZodObject<{
22906
- name: z.ZodOptional<z.ZodString>;
22907
- logoUri: z.ZodOptional<z.ZodString>;
22908
- orgId: z.ZodString;
22909
- membraneInstanceId: z.ZodOptional<z.ZodString>;
22910
- }, z.core.$strip>;
22911
- type CreateOrgWorkspaceRequest = z.infer<typeof CreateOrgWorkspaceRequest>;
22912
- declare const RotateOrgWorkspaceSecretResponse: z.ZodObject<{
22913
- secret: z.ZodString;
22914
- }, z.core.$strip>;
22915
- type RotateOrgWorkspaceSecretResponse = z.infer<typeof RotateOrgWorkspaceSecretResponse>;
22916
- declare const AccountResponse: z.ZodObject<{
22917
- user: z.ZodOptional<z.ZodObject<{
22918
- id: z.ZodString;
22919
- auth0Id: z.ZodOptional<z.ZodString>;
22920
- email: z.ZodString;
22921
- name: z.ZodString;
22922
- defaultAccountId: z.ZodOptional<z.ZodString>;
22923
- defaultWorkspaceId: z.ZodOptional<z.ZodString>;
22924
- isAdmin: z.ZodOptional<z.ZodBoolean>;
22925
- trialRequested: z.ZodBoolean;
22926
- pat: z.ZodOptional<z.ZodString>;
22927
- isEligible: z.ZodOptional<z.ZodBoolean>;
22928
- ineligibilityReason: z.ZodOptional<z.ZodEnum<{
22929
- disposable: "disposable";
22930
- blockedDomain: "blockedDomain";
22931
- }>>;
22932
- emailVerified: z.ZodOptional<z.ZodBoolean>;
22933
- isCompanyEmail: z.ZodOptional<z.ZodBoolean>;
22934
- }, z.core.$strip>>;
22935
- workspace: z.ZodOptional<z.ZodObject<{
22936
- id: z.ZodString;
22937
- name: z.ZodString;
22938
- orgId: z.ZodString;
22939
- apiBaseUri: z.ZodOptional<z.ZodString>;
22940
- key: z.ZodString;
22941
- secret: z.ZodString;
22942
- createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>>;
22943
- updatedAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>>;
22944
- engineAccessToken: z.ZodOptional<z.ZodString>;
22945
- trialEndDate: z.ZodOptional<z.ZodString>;
22946
- featureFlags: z.ZodOptional<z.ZodArray<z.ZodString>>;
22947
- logoUri: z.ZodOptional<z.ZodString>;
22948
- membraneInstanceId: z.ZodOptional<z.ZodString>;
24248
+ operatorLimitsSyncedAt: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>>>;
24249
+ operatorLimitsSyncError: z.ZodOptional<z.ZodString>;
22949
24250
  limits: z.ZodOptional<z.ZodObject<{
22950
24251
  parallelEventPulls: z.ZodOptional<z.ZodObject<{
22951
24252
  value: z.ZodOptional<z.ZodNumber>;
@@ -23603,6 +24904,7 @@ declare const AccountResponse: z.ZodObject<{
23603
24904
  engineAutoChargeThreshold: z.ZodOptional<z.ZodNumber>;
23604
24905
  engineAutoChargePurchaseAmount: z.ZodOptional<z.ZodNumber>;
23605
24906
  engineAutoChargeMonthlyLimit: z.ZodOptional<z.ZodNumber>;
24907
+ currentUserCanLeave: z.ZodOptional<z.ZodBoolean>;
23606
24908
  }, z.core.$strip>>>;
23607
24909
  permissions: z.ZodOptional<z.ZodArray<z.ZodString>>;
23608
24910
  authContextPermissions: z.ZodOptional<z.ZodObject<{
@@ -24340,6 +25642,9 @@ declare const AI_GATEWAY_SUPPORTED_MODELS: readonly [{
24340
25642
  }, {
24341
25643
  readonly id: "anthropic/claude-opus-4.5";
24342
25644
  readonly name: "Claude Opus 4.5";
25645
+ }, {
25646
+ readonly id: "anthropic/claude-haiku-4.5";
25647
+ readonly name: "Claude Haiku 4.5";
24343
25648
  }, {
24344
25649
  readonly id: "openai/gpt-5.2";
24345
25650
  readonly name: "GPT-5.2";
@@ -24359,6 +25664,7 @@ declare const AIGatewaySupportedModelIdSchema: z.ZodEnum<{
24359
25664
  "anthropic/claude-opus-4.6": "anthropic/claude-opus-4.6";
24360
25665
  "anthropic/claude-sonnet-4.5": "anthropic/claude-sonnet-4.5";
24361
25666
  "anthropic/claude-opus-4.5": "anthropic/claude-opus-4.5";
25667
+ "anthropic/claude-haiku-4.5": "anthropic/claude-haiku-4.5";
24362
25668
  "openai/gpt-5.2": "openai/gpt-5.2";
24363
25669
  "openai/gpt-5-nano": "openai/gpt-5-nano";
24364
25670
  "google/gemini-3-pro-preview": "google/gemini-3-pro-preview";
@@ -24798,7 +26104,7 @@ declare const SessionParameters: z.ZodObject<{
24798
26104
  }, z.core.$strip>>;
24799
26105
  apiUri: z.ZodOptional<z.ZodString>;
24800
26106
  prompt: z.ZodOptional<z.ZodString>;
24801
- elementType: z.ZodOptional<z.ZodString>;
26107
+ elementType: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementType>>;
24802
26108
  elementId: z.ZodOptional<z.ZodString>;
24803
26109
  customerId: z.ZodOptional<z.ZodString>;
24804
26110
  opencodeSessionUuid: z.ZodOptional<z.ZodString>;
@@ -25058,6 +26364,56 @@ declare const AsyncRequestTriggerResponse: z.ZodObject<{
25058
26364
  accessKey: z.ZodString;
25059
26365
  }, z.core.$strip>;
25060
26366
  type AsyncRequestTriggerResponse = z.infer<typeof AsyncRequestTriggerResponse>;
26367
+ declare const ListableAsyncRequestType: z.ZodEnum<{
26368
+ "export-workspace": "export-workspace";
26369
+ "import-workspace": "import-workspace";
26370
+ }>;
26371
+ type ListableAsyncRequestType = z.infer<typeof ListableAsyncRequestType>;
26372
+ declare const AsyncRequestStatusSchema: z.ZodEnum<typeof AsyncRequestStatus>;
26373
+ declare const AsyncRequest: z.ZodObject<{
26374
+ id: z.ZodString;
26375
+ requestType: z.ZodEnum<{
26376
+ "export-workspace": "export-workspace";
26377
+ "import-workspace": "import-workspace";
26378
+ }>;
26379
+ status: z.ZodEnum<typeof AsyncRequestStatus>;
26380
+ progress: z.ZodOptional<z.ZodNumber>;
26381
+ result: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
26382
+ error: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
26383
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
26384
+ createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>>;
26385
+ startedAt: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>>>;
26386
+ completedAt: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>>>;
26387
+ }, z.core.$strip>;
26388
+ type AsyncRequest = z.infer<typeof AsyncRequest>;
26389
+ declare const ListAsyncRequestsQuery: z.ZodObject<{
26390
+ requestType: z.ZodEnum<{
26391
+ "export-workspace": "export-workspace";
26392
+ "import-workspace": "import-workspace";
26393
+ }>;
26394
+ status: z.ZodOptional<z.ZodEnum<typeof AsyncRequestStatus>>;
26395
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
26396
+ cursor: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
26397
+ }, z.core.$strip>;
26398
+ type ListAsyncRequestsQuery = z.infer<typeof ListAsyncRequestsQuery>;
26399
+ declare const ListAsyncRequestsResponse: z.ZodObject<{
26400
+ items: z.ZodArray<z.ZodObject<{
26401
+ id: z.ZodString;
26402
+ requestType: z.ZodEnum<{
26403
+ "export-workspace": "export-workspace";
26404
+ "import-workspace": "import-workspace";
26405
+ }>;
26406
+ status: z.ZodEnum<typeof AsyncRequestStatus>;
26407
+ progress: z.ZodOptional<z.ZodNumber>;
26408
+ result: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
26409
+ error: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
26410
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
26411
+ createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>>;
26412
+ startedAt: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>>>;
26413
+ completedAt: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>>>;
26414
+ }, z.core.$strip>>;
26415
+ }, z.core.$strip>;
26416
+ type ListAsyncRequestsResponse = z.infer<typeof ListAsyncRequestsResponse>;
25061
26417
 
25062
26418
  declare const SelfHostingToken: z.ZodObject<{
25063
26419
  id: z.ZodString;
@@ -25097,81 +26453,136 @@ declare const ValidateSelfHostingTokenResponse: z.ZodObject<{
25097
26453
  }, z.core.$strip>;
25098
26454
  type ValidateSelfHostingTokenResponse = z.infer<typeof ValidateSelfHostingTokenResponse>;
25099
26455
 
25100
- declare const CLIENT_TOKEN_GRANT_TYPES: readonly ["mcp-oauth", "cli-oauth", "agent-session", "api"];
25101
- declare const ClientTokenGrantType: z.ZodEnum<{
26456
+ declare const PLATFORM_USER_TOKEN_GRANT_TYPES: readonly ["cli-oauth"];
26457
+ declare const PlatformUserTokenGrantType: z.ZodEnum<{
26458
+ "cli-oauth": "cli-oauth";
26459
+ }>;
26460
+ type PlatformUserTokenGrantType = z.infer<typeof PlatformUserTokenGrantType>;
26461
+ declare const PlatformUserToken: z.ZodObject<{
26462
+ id: z.ZodString;
26463
+ platformUserId: z.ZodString;
26464
+ grantType: z.ZodEnum<{
26465
+ "cli-oauth": "cli-oauth";
26466
+ }>;
26467
+ grantId: z.ZodOptional<z.ZodString>;
26468
+ grantName: z.ZodOptional<z.ZodString>;
26469
+ settings: z.ZodOptional<z.ZodObject<{
26470
+ defaultWorkspaceKey: z.ZodOptional<z.ZodString>;
26471
+ defaultTenantKey: z.ZodOptional<z.ZodString>;
26472
+ connectionId: z.ZodOptional<z.ZodString>;
26473
+ }, z.core.$strip>>;
26474
+ createdAt: z.ZodString;
26475
+ lastUsedDate: z.ZodOptional<z.ZodString>;
26476
+ }, z.core.$strip>;
26477
+ type PlatformUserToken = z.infer<typeof PlatformUserToken>;
26478
+ declare const PlatformUserTokenListResponse: z.ZodObject<{
26479
+ items: z.ZodArray<z.ZodObject<{
26480
+ id: z.ZodString;
26481
+ platformUserId: z.ZodString;
26482
+ grantType: z.ZodEnum<{
26483
+ "cli-oauth": "cli-oauth";
26484
+ }>;
26485
+ grantId: z.ZodOptional<z.ZodString>;
26486
+ grantName: z.ZodOptional<z.ZodString>;
26487
+ settings: z.ZodOptional<z.ZodObject<{
26488
+ defaultWorkspaceKey: z.ZodOptional<z.ZodString>;
26489
+ defaultTenantKey: z.ZodOptional<z.ZodString>;
26490
+ connectionId: z.ZodOptional<z.ZodString>;
26491
+ }, z.core.$strip>>;
26492
+ createdAt: z.ZodString;
26493
+ lastUsedDate: z.ZodOptional<z.ZodString>;
26494
+ }, z.core.$strip>>;
26495
+ }, z.core.$strip>;
26496
+ type PlatformUserTokenListResponse = z.infer<typeof PlatformUserTokenListResponse>;
26497
+
26498
+ declare const WORKSPACE_TOKEN_GRANT_TYPES: readonly ["mcp-oauth", "agent-session", "api"];
26499
+ declare const WorkspaceTokenGrantType: z.ZodEnum<{
25102
26500
  api: "api";
25103
26501
  "agent-session": "agent-session";
25104
26502
  "mcp-oauth": "mcp-oauth";
25105
- "cli-oauth": "cli-oauth";
25106
26503
  }>;
25107
- type ClientTokenGrantType = z.infer<typeof ClientTokenGrantType>;
25108
- declare const ClientToken: z.ZodObject<{
26504
+ type WorkspaceTokenGrantType = z.infer<typeof WorkspaceTokenGrantType>;
26505
+ declare const WorkspaceToken: z.ZodObject<{
25109
26506
  id: z.ZodString;
25110
- workspaceId: z.ZodOptional<z.ZodString>;
25111
- platformUserId: z.ZodOptional<z.ZodString>;
26507
+ workspaceId: z.ZodString;
25112
26508
  tenantId: z.ZodOptional<z.ZodString>;
26509
+ platformUserId: z.ZodOptional<z.ZodString>;
25113
26510
  grantType: z.ZodEnum<{
25114
26511
  api: "api";
25115
26512
  "agent-session": "agent-session";
25116
26513
  "mcp-oauth": "mcp-oauth";
25117
- "cli-oauth": "cli-oauth";
25118
26514
  }>;
25119
26515
  grantId: z.ZodOptional<z.ZodString>;
25120
26516
  grantName: z.ZodOptional<z.ZodString>;
25121
26517
  connectedProductId: z.ZodOptional<z.ZodString>;
26518
+ settings: z.ZodOptional<z.ZodObject<{
26519
+ defaultWorkspaceKey: z.ZodOptional<z.ZodString>;
26520
+ defaultTenantKey: z.ZodOptional<z.ZodString>;
26521
+ connectionId: z.ZodOptional<z.ZodString>;
26522
+ }, z.core.$strip>>;
25122
26523
  createdAt: z.ZodString;
26524
+ lastUsedDate: z.ZodOptional<z.ZodString>;
25123
26525
  }, z.core.$strip>;
25124
- type ClientToken = z.infer<typeof ClientToken>;
25125
- declare const CreateClientTokenResponse: z.ZodObject<{
26526
+ type WorkspaceToken = z.infer<typeof WorkspaceToken>;
26527
+ declare const CreateWorkspaceTokenResponse: z.ZodObject<{
25126
26528
  id: z.ZodString;
25127
- workspaceId: z.ZodOptional<z.ZodString>;
25128
- platformUserId: z.ZodOptional<z.ZodString>;
26529
+ workspaceId: z.ZodString;
25129
26530
  tenantId: z.ZodOptional<z.ZodString>;
26531
+ platformUserId: z.ZodOptional<z.ZodString>;
25130
26532
  grantType: z.ZodEnum<{
25131
26533
  api: "api";
25132
26534
  "agent-session": "agent-session";
25133
26535
  "mcp-oauth": "mcp-oauth";
25134
- "cli-oauth": "cli-oauth";
25135
26536
  }>;
25136
26537
  grantId: z.ZodOptional<z.ZodString>;
25137
26538
  grantName: z.ZodOptional<z.ZodString>;
25138
26539
  connectedProductId: z.ZodOptional<z.ZodString>;
26540
+ settings: z.ZodOptional<z.ZodObject<{
26541
+ defaultWorkspaceKey: z.ZodOptional<z.ZodString>;
26542
+ defaultTenantKey: z.ZodOptional<z.ZodString>;
26543
+ connectionId: z.ZodOptional<z.ZodString>;
26544
+ }, z.core.$strip>>;
25139
26545
  createdAt: z.ZodString;
26546
+ lastUsedDate: z.ZodOptional<z.ZodString>;
25140
26547
  accessToken: z.ZodString;
25141
26548
  }, z.core.$strip>;
25142
- type CreateClientTokenResponse = z.infer<typeof CreateClientTokenResponse>;
25143
- declare const CreateClientTokenRequest: z.ZodObject<{
26549
+ type CreateWorkspaceTokenResponse = z.infer<typeof CreateWorkspaceTokenResponse>;
26550
+ declare const CreateWorkspaceTokenRequest: z.ZodObject<{
25144
26551
  grantType: z.ZodEnum<{
25145
26552
  api: "api";
25146
26553
  "agent-session": "agent-session";
25147
26554
  "mcp-oauth": "mcp-oauth";
25148
- "cli-oauth": "cli-oauth";
25149
26555
  }>;
25150
26556
  grantId: z.ZodString;
25151
26557
  grantName: z.ZodString;
25152
26558
  tenantId: z.ZodOptional<z.ZodString>;
25153
26559
  clientKey: z.ZodOptional<z.ZodString>;
25154
26560
  }, z.core.$strip>;
25155
- type CreateClientTokenRequest = z.infer<typeof CreateClientTokenRequest>;
25156
- declare const ClientTokenListResponse: z.ZodObject<{
26561
+ type CreateWorkspaceTokenRequest = z.infer<typeof CreateWorkspaceTokenRequest>;
26562
+ declare const WorkspaceTokenListResponse: z.ZodObject<{
25157
26563
  items: z.ZodArray<z.ZodObject<{
25158
26564
  id: z.ZodString;
25159
- workspaceId: z.ZodOptional<z.ZodString>;
25160
- platformUserId: z.ZodOptional<z.ZodString>;
26565
+ workspaceId: z.ZodString;
25161
26566
  tenantId: z.ZodOptional<z.ZodString>;
26567
+ platformUserId: z.ZodOptional<z.ZodString>;
25162
26568
  grantType: z.ZodEnum<{
25163
26569
  api: "api";
25164
26570
  "agent-session": "agent-session";
25165
26571
  "mcp-oauth": "mcp-oauth";
25166
- "cli-oauth": "cli-oauth";
25167
26572
  }>;
25168
26573
  grantId: z.ZodOptional<z.ZodString>;
25169
26574
  grantName: z.ZodOptional<z.ZodString>;
25170
26575
  connectedProductId: z.ZodOptional<z.ZodString>;
26576
+ settings: z.ZodOptional<z.ZodObject<{
26577
+ defaultWorkspaceKey: z.ZodOptional<z.ZodString>;
26578
+ defaultTenantKey: z.ZodOptional<z.ZodString>;
26579
+ connectionId: z.ZodOptional<z.ZodString>;
26580
+ }, z.core.$strip>>;
25171
26581
  createdAt: z.ZodString;
26582
+ lastUsedDate: z.ZodOptional<z.ZodString>;
25172
26583
  }, z.core.$strip>>;
25173
26584
  }, z.core.$strip>;
25174
- type ClientTokenListResponse = z.infer<typeof ClientTokenListResponse>;
26585
+ type WorkspaceTokenListResponse = z.infer<typeof WorkspaceTokenListResponse>;
25175
26586
 
25176
26587
  declare const MEMBRANE_CLI_CLIENT_ID: "membrane-cli";
25177
26588
  declare const OAUTH_TOKEN_TYPE_PLATFORM_USER: "platform-user";
@@ -25179,11 +26590,20 @@ declare const OAUTH_TOKEN_TYPE_TENANT: "tenant";
25179
26590
  declare const OAUTH_TOKEN_TYPE_CONNECTION: "connection";
25180
26591
  declare const OAUTH_TOKEN_TYPES: readonly ["platform-user", "tenant", "connection"];
25181
26592
  type OAuthTokenType = (typeof OAUTH_TOKEN_TYPES)[number];
25182
- interface AuthContextSettings {
25183
- defaultWorkspaceKey?: string;
25184
- defaultTenantKey?: string;
25185
- connectionId?: string;
25186
- }
26593
+ declare const AuthContextSettings: z.ZodObject<{
26594
+ defaultWorkspaceKey: z.ZodOptional<z.ZodString>;
26595
+ defaultTenantKey: z.ZodOptional<z.ZodString>;
26596
+ connectionId: z.ZodOptional<z.ZodString>;
26597
+ }, z.core.$strip>;
26598
+ type AuthContextSettings = z.infer<typeof AuthContextSettings>;
26599
+ declare const PatchTokenSettingsRequest: z.ZodObject<{
26600
+ settings: z.ZodOptional<z.ZodObject<{
26601
+ defaultWorkspaceKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26602
+ defaultTenantKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26603
+ connectionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26604
+ }, z.core.$strip>>;
26605
+ }, z.core.$strip>;
26606
+ type PatchTokenSettingsRequest = z.infer<typeof PatchTokenSettingsRequest>;
25187
26607
  declare const OAuthTokenResponse: z.ZodObject<{
25188
26608
  access_token: z.ZodString;
25189
26609
  token_type: z.ZodString;
@@ -25455,5 +26875,5 @@ declare class MembraneClient extends MembraneApiClient {
25455
26875
  connectionRequest(connectionId: string, uri: string, data?: any): Promise<any>;
25456
26876
  }
25457
26877
 
25458
- 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, ActionApiResponse, ActionDependency, ActionDependencyType, ActionEditableProperties, ActionExportProperties, ActionInstanceAccessor, ActionInstanceApiResponse, ActionInstanceSetupError, ActionInstancesAccessor, ActionRunError, ActionRunLogRecordApiResponse, ActionRunLogStatus, ActionRunResponse, ActionRunsStatsQuery, 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, AsyncRequestStatus, AsyncRequestTriggerResponse, AuthContextPermissionsSchema, BackwardCompatibleDataSourceEditableProperties, BadRequestError, BadRequestErrorKey, BaseAction, BaseActionInstance, BaseActionRunLogRecord, BaseAppDataSchema, BaseAppDataSchemaInstance, BaseAppEventSubscription, BaseAppEventType, BaseConnectedProduct, BaseConnection, BaseConnectionAttemptLog, BaseConnector, BaseCustomer, BaseDataLinkTable, BaseDataLinkTableInstance, BaseDataSource, BaseDataSourceInstance, BaseExternalEvent, BaseExternalEventLogRecord, BaseExternalEventPull, BaseExternalEventSubscription, BaseFieldMapping, BaseFieldMappingInstance, BaseFlow, BaseFlowInstance, BaseFlowRun, BaseFunctionDefinition, BaseIntegration, BaseIntegrationLevelMembraneInterface, BaseIntegrationLevelMembraneInterfaceEditableProperties, BaseIntegrationLevelMembraneInterfaceExportProperties, BaseIntegrationLevelMembraneInterfaceReadOnlyProperties, BaseMembraneInterface, BaseMembraneInterfaceEditableProperties, BaseMembraneInterfaceReadOnlyProperties, BaseOrgUser, BasePackage, BaseScreen, BaseWorkspaceElement, CLIENT_TOKEN_GRANT_TYPES, 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, ClientToken, ClientTokenGrantType, ClientTokenListResponse, CommonFindElementsQuery, CommonFindInstancesQuery, CommonInstancesListQuery, CommonIntegrationOrConnectionQuery, CommonListElementsQuery, ConcurrencyError, ConcurrencyErrorKey, ConfigurationError, ConfigurationState, ConnectPayload, ConnectUIOptions, ConnectedProductApiResponse, ConnectedProductAudience, ConnectedProductType, ConnectionAccessor, ConnectionApiResponse, ConnectionApiResponseWithSecrets, ConnectionAttemptLogApiResponse, ConnectionClientAction, ConnectionDataCollectionAccessor, ConnectionEditableProperties, 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, CreateClientTokenRequest, CreateClientTokenResponse, CreateConnectedProductRequest, CreateConnectionRequest, CreateConnectionRequestPayload, CreateConnectorRequest, CreateCustomerRequest, CreateDataLinkTableRequest, CreateDataSourceInstanceRequest, CreateDataSourceRequest, CreateFieldMappingInstanceRequest, CreateFieldMappingRequest, CreateFlowNodeRequest, CreateFlowRequest, CreateFlowRunRequest, CreateIntegrationRequest, CreateMembraneInstanceRequest, CreateOrgInvitationRequest, CreateOrgRequest, CreateOrgUserRequest, CreateOrgWorkspaceRequest, CreatePackageRequest, CreateScreenRequest, CreateSelfHostingTokenRequest, CreateSelfHostingTokenResponse, CreateWorkspaceRequest, 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, 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, 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, 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, ListDataSourceInstancesForConnectionQuery, ListExternalApiLogsQuery, ListExternalAppsQuery, ListExternalEventLogRecordsQuery, ListExternalEventPullsQuery, ListExternalEventSubscriptionsQuery, ListFlowInstancesForConnectionQuery, ListIncomingWebhooksQuery, ListMembraneInstancesQuery, ListMembraneInstancesResponse, ListOrgWorkspacesQuery, ListOrgWorkspacesResponse, ListPublicConnectorsQuery, ListPublicPackagesQuery, ListWorkspacesQuery, 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, PackageAccessor, PackageApiResponse, PackageCalculatedProperties, PackageEditableProperties, PackageElement, PackageElementApi, PackageElementExport, PackageExportProperties, PackageVersionData, PackageVersionListItem, PackagesAccessor, PaginationQuery, PaginationResponse, ParallelExecutionLimits, PatchAgentSessionSchema, PatchConnectionRequestPayload, PatchUserWorkspaceSettings, PendingQueueCountSchema, PendingTasksSummarySchema, PlatformUser, RATE_LIMITS, REFERENCE_ELEMENT_TYPE_SELF, RateLimitExceededError, RateLimits, 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, 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, WebhookTypeEnum, Workspace, WorkspaceAiCreditLimits, WorkspaceEditableFields, WorkspaceElementChangeType, WorkspaceElementDependencyType, WorkspaceElementSearchQuery, WorkspaceElementSearchResult, WorkspaceElementSpecs, WorkspaceElementState, WorkspaceElementType, WorkspaceElementsStatsSchema, WorkspaceEventType, WorkspaceLimitsSchema, WorkspaceNotificationType, WorkspaceOnboardingData, WorkspacePublicKey, WorkspaceSettingsSchema, WorkspaceSizeLimits, WorkspaceSyncEventType, WorkspaceType, WritableConnectorVersionData, WritablePackageVersionData, WriteableConnectorFields, WriteableConnectorOption, __resolveValue, addRequiredFieldsToSchema, addUdmFallbackFields, addUndefinedWriteableProperties, backwardCompatibleFilterMatch, buildData, buildDataSchema, buildValue, compareWorkspaceExports, compressDataSchema, createCompoundSchema, createFlowInstanceSchema, createObjectFromLocators, createOrUpdateConnection, createPaginationResponseSchema, createSchema, dataCollectionEventTypeToExternalEventType, dataLocationParametersMatch, doesMatchFilter, 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, 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 };
25459
- 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, AuthContextSettings, 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, 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, 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 };
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 };
26879
+ 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 };