@membranehq/sdk 0.28.2 → 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 (76) hide show
  1. package/dist/bundle.d.ts +49 -2
  2. package/dist/bundle.js +1899 -1388
  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 +6 -1
  7. package/dist/dts/accessors/integrations-accessors.d.ts +3 -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/api-version.generated.d.ts +1 -1
  12. package/dist/dts/async-requests/types.d.ts +50 -0
  13. package/dist/dts/deprecation.d.ts +1 -0
  14. package/dist/dts/errors/index.d.ts +5 -1
  15. package/dist/dts/index.browser.d.ts +2 -1
  16. package/dist/dts/membrane-instances/types.d.ts +4 -0
  17. package/dist/dts/oauth/types.d.ts +14 -5
  18. package/dist/dts/orgs/types.d.ts +682 -50
  19. package/dist/dts/orgs/types.test.d.ts +1 -0
  20. package/dist/dts/platform-user-tokens/types.d.ts +42 -0
  21. package/dist/dts/workspace-elements/api/action-run-log-records-api.d.ts +32 -72
  22. package/dist/dts/workspace-elements/api/checkpoints-api.d.ts +0 -1
  23. package/dist/dts/workspace-elements/api/connections-api.d.ts +30 -3
  24. package/dist/dts/workspace-elements/api/connectors-api.d.ts +10 -0
  25. package/dist/dts/workspace-elements/api/data-link-table-instances-api.d.ts +1 -0
  26. package/dist/dts/workspace-elements/api/data-sources-api.d.ts +2 -0
  27. package/dist/dts/workspace-elements/api/external-api-logs-api.d.ts +1 -0
  28. package/dist/dts/workspace-elements/api/external-apps-api.d.ts +28 -0
  29. package/dist/dts/workspace-elements/api/external-event-log-records-api.d.ts +5 -0
  30. package/dist/dts/workspace-elements/api/external-event-pulls-api.d.ts +3 -0
  31. package/dist/dts/workspace-elements/api/external-event-subscriptions-api.d.ts +13 -0
  32. package/dist/dts/workspace-elements/api/external-event-types-api.d.ts +331 -0
  33. package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +2 -0
  34. package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +2 -0
  35. package/dist/dts/workspace-elements/api/flows-api.d.ts +2 -0
  36. package/dist/dts/workspace-elements/api/incoming-webhooks-api.d.ts +4 -0
  37. package/dist/dts/workspace-elements/api/index.d.ts +1 -0
  38. package/dist/dts/workspace-elements/api/integrations-api.d.ts +14 -7
  39. package/dist/dts/workspace-elements/base/action-run-log-records/index.d.ts +19 -0
  40. package/dist/dts/workspace-elements/base/actions/action-payload.d.ts +46 -0
  41. package/dist/dts/workspace-elements/base/actions/action-payload.test.d.ts +1 -0
  42. package/dist/dts/workspace-elements/base/actions/index.d.ts +3 -2
  43. package/dist/dts/workspace-elements/base/app-data-schemas/index.d.ts +2 -2
  44. package/dist/dts/workspace-elements/base/app-event-types/index.d.ts +2 -2
  45. package/dist/dts/workspace-elements/base/connection-requests/index.d.ts +4 -0
  46. package/dist/dts/workspace-elements/base/connections/index.d.ts +2 -0
  47. package/dist/dts/workspace-elements/base/connectors/index.d.ts +5 -5
  48. package/dist/dts/workspace-elements/base/data-link-tables/index.d.ts +2 -2
  49. package/dist/dts/workspace-elements/base/data-sources/index.d.ts +2 -2
  50. package/dist/dts/workspace-elements/base/external-event-log-records/index.d.ts +1 -0
  51. package/dist/dts/workspace-elements/base/external-event-subscriptions/index.d.ts +2 -0
  52. package/dist/dts/workspace-elements/base/external-event-types/index.d.ts +190 -0
  53. package/dist/dts/workspace-elements/base/field-mappings/index.d.ts +2 -2
  54. package/dist/dts/workspace-elements/base/flows/index.d.ts +2 -2
  55. package/dist/dts/workspace-elements/base/index.d.ts +1 -0
  56. package/dist/dts/workspace-elements/base/integrations/index.d.ts +2 -2
  57. package/dist/dts/workspace-elements/base/packages/index.d.ts +2 -2
  58. package/dist/dts/workspace-elements/types.d.ts +11 -2
  59. package/dist/dts/workspace-tokens/index.d.ts +1 -0
  60. package/dist/dts/{client-tokens → workspace-tokens}/types.d.ts +35 -22
  61. package/dist/dts/workspaces/api.d.ts +0 -6
  62. package/dist/dts/workspaces/compare.d.ts +4 -1
  63. package/dist/index.browser.d.mts +2279 -847
  64. package/dist/index.browser.d.ts +2279 -847
  65. package/dist/index.browser.js +692 -196
  66. package/dist/index.browser.js.map +1 -1
  67. package/dist/index.browser.mjs +653 -190
  68. package/dist/index.browser.mjs.map +1 -1
  69. package/dist/index.node.d.mts +2279 -847
  70. package/dist/index.node.d.ts +2279 -847
  71. package/dist/index.node.js +692 -196
  72. package/dist/index.node.js.map +1 -1
  73. package/dist/index.node.mjs +653 -190
  74. package/dist/index.node.mjs.map +1 -1
  75. package/package.json +2 -2
  76. /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>;
@@ -11453,6 +11729,8 @@ declare const ConnectionApiResponse: z.ZodObject<{
11453
11729
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
11454
11730
  }, z.core.$strip>>>;
11455
11731
  }, z.core.$strip>>;
11732
+ connectorParameters: z.ZodOptional<z.ZodUnknown>;
11733
+ input: z.ZodOptional<z.ZodUnknown>;
11456
11734
  }, z.core.$strip>;
11457
11735
  type ConnectionApiResponse = z.infer<typeof ConnectionApiResponse>;
11458
11736
  declare const ConnectionApiResponseWithSecrets: z.ZodObject<{
@@ -11492,6 +11770,7 @@ declare const ConnectionApiResponseWithSecrets: z.ZodObject<{
11492
11770
  description: z.ZodString;
11493
11771
  uiUrl: z.ZodOptional<z.ZodString>;
11494
11772
  agentInstructions: z.ZodOptional<z.ZodString>;
11773
+ handoffAgentInstructions: z.ZodOptional<z.ZodString>;
11495
11774
  }, z.core.$strip>>;
11496
11775
  userId: z.ZodString;
11497
11776
  tenantId: z.ZodOptional<z.ZodString>;
@@ -11556,9 +11835,9 @@ declare const ConnectionApiResponseWithSecrets: z.ZodObject<{
11556
11835
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
11557
11836
  }, z.core.$strip>>>;
11558
11837
  }, z.core.$strip>>;
11559
- credentials: z.ZodOptional<z.ZodUnknown>;
11560
- input: z.ZodOptional<z.ZodUnknown>;
11561
11838
  connectorParameters: z.ZodOptional<z.ZodUnknown>;
11839
+ input: z.ZodOptional<z.ZodUnknown>;
11840
+ credentials: z.ZodOptional<z.ZodUnknown>;
11562
11841
  }, z.core.$strip>;
11563
11842
  type ConnectionApiResponseWithSecrets = z.infer<typeof ConnectionApiResponseWithSecrets>;
11564
11843
  type Connection = ConnectionApiResponse;
@@ -11603,6 +11882,7 @@ declare const ConnectionMessagePayload: z.ZodDiscriminatedUnion<[z.ZodObject<{
11603
11882
  description: z.ZodString;
11604
11883
  uiUrl: z.ZodOptional<z.ZodString>;
11605
11884
  agentInstructions: z.ZodOptional<z.ZodString>;
11885
+ handoffAgentInstructions: z.ZodOptional<z.ZodString>;
11606
11886
  }, z.core.$strip>>;
11607
11887
  userId: z.ZodString;
11608
11888
  tenantId: z.ZodOptional<z.ZodString>;
@@ -11667,6 +11947,8 @@ declare const ConnectionMessagePayload: z.ZodDiscriminatedUnion<[z.ZodObject<{
11667
11947
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
11668
11948
  }, z.core.$strip>>>;
11669
11949
  }, z.core.$strip>>;
11950
+ connectorParameters: z.ZodOptional<z.ZodUnknown>;
11951
+ input: z.ZodOptional<z.ZodUnknown>;
11670
11952
  }, z.core.$strip>;
11671
11953
  }, z.core.$strip>, z.ZodObject<{
11672
11954
  source: z.ZodString;
@@ -11677,6 +11959,16 @@ declare const ConnectionMessagePayload: z.ZodDiscriminatedUnion<[z.ZodObject<{
11677
11959
  connectionId: z.ZodOptional<z.ZodString>;
11678
11960
  }, z.core.$strip>], "type">;
11679
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>;
11680
11972
  declare const GenerateOptionsRequest: z.ZodObject<{
11681
11973
  integrationId: z.ZodOptional<z.ZodString>;
11682
11974
  integrationKey: z.ZodOptional<z.ZodString>;
@@ -11694,6 +11986,8 @@ declare const ConnectPayload: z.ZodObject<{
11694
11986
  connectorId: z.ZodOptional<z.ZodString>;
11695
11987
  connectorKey: z.ZodOptional<z.ZodString>;
11696
11988
  connectorVersion: z.ZodOptional<z.ZodString>;
11989
+ externalAppId: z.ZodOptional<z.ZodString>;
11990
+ externalAppKey: z.ZodOptional<z.ZodString>;
11697
11991
  connectionId: z.ZodOptional<z.ZodString>;
11698
11992
  connectionKey: z.ZodOptional<z.ZodString>;
11699
11993
  name: z.ZodOptional<z.ZodString>;
@@ -11714,6 +12008,8 @@ declare const ConnectUIOptions: z.ZodObject<{
11714
12008
  integrationKey: z.ZodOptional<z.ZodString>;
11715
12009
  name: z.ZodOptional<z.ZodString>;
11716
12010
  intent: z.ZodOptional<z.ZodString>;
12011
+ externalAppId: z.ZodOptional<z.ZodString>;
12012
+ externalAppKey: z.ZodOptional<z.ZodString>;
11717
12013
  connectionKey: z.ZodOptional<z.ZodString>;
11718
12014
  authOptionKey: z.ZodOptional<z.ZodString>;
11719
12015
  connectorParameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -11732,8 +12028,14 @@ declare const ConnectUIOptions: z.ZodObject<{
11732
12028
  }>>;
11733
12029
  }, z.core.$strip>;
11734
12030
  type ConnectUIOptions = z.infer<typeof ConnectUIOptions>;
12031
+ interface LateConnectionEvents {
12032
+ onConnection?: (connection: ConnectionApiResponse) => void;
12033
+ onFailure?: (error: MembraneError) => void;
12034
+ signal?: AbortSignal;
12035
+ }
11735
12036
  type ConnectOptions = ConnectPayload & {
11736
12037
  onPopupClosed?: () => void;
12038
+ lateEvents?: LateConnectionEvents;
11737
12039
  sameWindow?: boolean;
11738
12040
  };
11739
12041
 
@@ -11904,6 +12206,7 @@ declare const FlowRunApiResponse: z.ZodObject<{
11904
12206
  description: z.ZodString;
11905
12207
  uiUrl: z.ZodOptional<z.ZodString>;
11906
12208
  agentInstructions: z.ZodOptional<z.ZodString>;
12209
+ handoffAgentInstructions: z.ZodOptional<z.ZodString>;
11907
12210
  }, z.core.$strip>>;
11908
12211
  userId: z.ZodString;
11909
12212
  tenantId: z.ZodOptional<z.ZodString>;
@@ -12109,6 +12412,7 @@ declare const FindFlowRunsResponse: z.ZodObject<{
12109
12412
  description: z.ZodString;
12110
12413
  uiUrl: z.ZodOptional<z.ZodString>;
12111
12414
  agentInstructions: z.ZodOptional<z.ZodString>;
12415
+ handoffAgentInstructions: z.ZodOptional<z.ZodString>;
12112
12416
  }, z.core.$strip>>;
12113
12417
  userId: z.ZodString;
12114
12418
  tenantId: z.ZodOptional<z.ZodString>;
@@ -12465,6 +12769,7 @@ declare const FlowApiResponse: z.ZodObject<{
12465
12769
  description: z.ZodString;
12466
12770
  uiUrl: z.ZodOptional<z.ZodString>;
12467
12771
  agentInstructions: z.ZodOptional<z.ZodString>;
12772
+ handoffAgentInstructions: z.ZodOptional<z.ZodString>;
12468
12773
  }, z.core.$strip>>;
12469
12774
  userId: z.ZodString;
12470
12775
  tenantId: z.ZodOptional<z.ZodString>;
@@ -12826,6 +13131,7 @@ declare const FlowInstanceApiResponse: z.ZodObject<{
12826
13131
  description: z.ZodString;
12827
13132
  uiUrl: z.ZodOptional<z.ZodString>;
12828
13133
  agentInstructions: z.ZodOptional<z.ZodString>;
13134
+ handoffAgentInstructions: z.ZodOptional<z.ZodString>;
12829
13135
  }, z.core.$strip>>;
12830
13136
  userId: z.ZodString;
12831
13137
  tenantId: z.ZodOptional<z.ZodString>;
@@ -13546,6 +13852,7 @@ declare const DataSourceApiResponse: z.ZodObject<{
13546
13852
  description: z.ZodString;
13547
13853
  uiUrl: z.ZodOptional<z.ZodString>;
13548
13854
  agentInstructions: z.ZodOptional<z.ZodString>;
13855
+ handoffAgentInstructions: z.ZodOptional<z.ZodString>;
13549
13856
  }, z.core.$strip>>;
13550
13857
  userId: z.ZodString;
13551
13858
  tenantId: z.ZodOptional<z.ZodString>;
@@ -14152,6 +14459,7 @@ declare const DataSourceInstanceApiResponse: z.ZodObject<{
14152
14459
  description: z.ZodString;
14153
14460
  uiUrl: z.ZodOptional<z.ZodString>;
14154
14461
  agentInstructions: z.ZodOptional<z.ZodString>;
14462
+ handoffAgentInstructions: z.ZodOptional<z.ZodString>;
14155
14463
  }, z.core.$strip>>;
14156
14464
  userId: z.ZodString;
14157
14465
  tenantId: z.ZodOptional<z.ZodString>;
@@ -14630,6 +14938,7 @@ declare class ConnectionAccessor {
14630
14938
  patch(data: UpdateConnectionRequest): Promise<ConnectionApiResponse>;
14631
14939
  put(data: UpdateConnectionRequest): Promise<ConnectionApiResponse>;
14632
14940
  archive(): Promise<void>;
14941
+ restore(): Promise<ConnectionApiResponse>;
14633
14942
  request(path: string, data?: any): Promise<any>;
14634
14943
  get proxy(): ConnectionProxy;
14635
14944
  operation(key: string): ConnectionOperationAccessor;
@@ -14674,6 +14983,7 @@ declare class ConnectionAccessor {
14674
14983
  description: string;
14675
14984
  uiUrl?: string | undefined;
14676
14985
  agentInstructions?: string | undefined;
14986
+ handoffAgentInstructions?: string | undefined;
14677
14987
  } | undefined;
14678
14988
  tenantId?: string | undefined;
14679
14989
  user?: {
@@ -14730,6 +15040,8 @@ declare class ConnectionAccessor {
14730
15040
  parameters?: Record<string, any> | undefined;
14731
15041
  }> | undefined;
14732
15042
  } | undefined;
15043
+ connectorParameters?: unknown;
15044
+ input?: unknown;
14733
15045
  } | null>;
14734
15046
  openReconnectUI(_options?: OpenConfigurationOptions): Promise<ConnectionApiResponse | null>;
14735
15047
  refreshCredentials(): Promise<void>;
@@ -14785,6 +15097,7 @@ declare function createOrUpdateConnection(options: {
14785
15097
  apiUri: string;
14786
15098
  redirectUri?: string;
14787
15099
  onPopupClosed?: () => void;
15100
+ lateEvents?: LateConnectionEvents;
14788
15101
  }): Promise<ConnectionApiResponse | null>;
14789
15102
 
14790
15103
  declare class FlowsAccessor extends ElementListAccessor<FlowApiResponse, FindFlowsQuery, CreateFlowRequest> {
@@ -14858,6 +15171,7 @@ declare const CreateIntegrationRequest: z.ZodObject<{
14858
15171
  disabled: z.ZodOptional<z.ZodBoolean>;
14859
15172
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
14860
15173
  }, z.core.$strip>>>;
15174
+ intent: z.ZodOptional<z.ZodString>;
14861
15175
  }, z.core.$strip>;
14862
15176
  type CreateIntegrationRequest = z.infer<typeof CreateIntegrationRequest>;
14863
15177
  declare const UpdateIntegrationRequest: z.ZodObject<{
@@ -14888,6 +15202,7 @@ declare const FindIntegrationsQuery: z.ZodObject<{
14888
15202
  connectors: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
14889
15203
  externalApps: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
14890
15204
  websearch: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
15205
+ all: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
14891
15206
  limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
14892
15207
  cursor: z.ZodOptional<z.ZodString>;
14893
15208
  search: z.ZodOptional<z.ZodString>;
@@ -14926,7 +15241,6 @@ declare const IntegrationAuthOption: z.ZodObject<{
14926
15241
  }, z.core.$strip>;
14927
15242
  type IntegrationAuthOption = z.infer<typeof IntegrationAuthOption>;
14928
15243
  declare const IntegrationApiResponse: z.ZodObject<{
14929
- id: z.ZodString;
14930
15244
  uuid: z.ZodOptional<z.ZodString>;
14931
15245
  key: z.ZodOptional<z.ZodString>;
14932
15246
  description: z.ZodOptional<z.ZodString>;
@@ -14938,7 +15252,6 @@ declare const IntegrationApiResponse: z.ZodObject<{
14938
15252
  createdAt: z.ZodOptional<z.ZodString>;
14939
15253
  updatedAt: z.ZodOptional<z.ZodString>;
14940
15254
  isReadOnly: z.ZodOptional<z.ZodBoolean>;
14941
- logoUri: z.ZodString;
14942
15255
  connectorId: z.ZodOptional<z.ZodString>;
14943
15256
  connectorVersion: z.ZodOptional<z.ZodString>;
14944
15257
  oAuthCallbackUri: z.ZodOptional<z.ZodString>;
@@ -15007,6 +15320,7 @@ declare const IntegrationApiResponse: z.ZodObject<{
15007
15320
  description: z.ZodString;
15008
15321
  uiUrl: z.ZodOptional<z.ZodString>;
15009
15322
  agentInstructions: z.ZodOptional<z.ZodString>;
15323
+ handoffAgentInstructions: z.ZodOptional<z.ZodString>;
15010
15324
  }, z.core.$strip>>;
15011
15325
  userId: z.ZodString;
15012
15326
  tenantId: z.ZodOptional<z.ZodString>;
@@ -15030,7 +15344,11 @@ declare const IntegrationApiResponse: z.ZodObject<{
15030
15344
  helpUri: z.ZodOptional<z.ZodString>;
15031
15345
  }, z.core.$strip>>;
15032
15346
  }, z.core.$strip>>>;
15033
- }, 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>;
15351
+ }, z.core.$strip>;
15034
15352
  type IntegrationApiResponse = z.infer<typeof IntegrationApiResponse>;
15035
15353
  declare const IntegrationListItem: z.ZodObject<{
15036
15354
  uuid: z.ZodOptional<z.ZodString>;
@@ -15112,6 +15430,7 @@ declare const IntegrationListItem: z.ZodObject<{
15112
15430
  description: z.ZodString;
15113
15431
  uiUrl: z.ZodOptional<z.ZodString>;
15114
15432
  agentInstructions: z.ZodOptional<z.ZodString>;
15433
+ handoffAgentInstructions: z.ZodOptional<z.ZodString>;
15115
15434
  }, z.core.$strip>>;
15116
15435
  userId: z.ZodString;
15117
15436
  tenantId: z.ZodOptional<z.ZodString>;
@@ -15138,8 +15457,9 @@ declare const IntegrationListItem: z.ZodObject<{
15138
15457
  id: z.ZodOptional<z.ZodString>;
15139
15458
  logoUri: z.ZodOptional<z.ZodString>;
15140
15459
  appUri: z.ZodOptional<z.ZodString>;
15460
+ isConnected: z.ZodOptional<z.ZodBoolean>;
15141
15461
  }, z.core.$strip>;
15142
- type IntegrationListItem = z.infer<typeof IntegrationListItem>;
15462
+ type IntegrationListItem = IntegrationApiResponse;
15143
15463
  type Integration = IntegrationApiResponse;
15144
15464
 
15145
15465
  declare const FieldMappingApiResponse: z.ZodObject<{
@@ -15389,6 +15709,7 @@ declare const FieldMappingApiResponse: z.ZodObject<{
15389
15709
  description: z.ZodString;
15390
15710
  uiUrl: z.ZodOptional<z.ZodString>;
15391
15711
  agentInstructions: z.ZodOptional<z.ZodString>;
15712
+ handoffAgentInstructions: z.ZodOptional<z.ZodString>;
15392
15713
  }, z.core.$strip>>;
15393
15714
  userId: z.ZodString;
15394
15715
  tenantId: z.ZodOptional<z.ZodString>;
@@ -15694,6 +16015,7 @@ declare const FieldMappingInstanceApiResponse: z.ZodObject<{
15694
16015
  description: z.ZodString;
15695
16016
  uiUrl: z.ZodOptional<z.ZodString>;
15696
16017
  agentInstructions: z.ZodOptional<z.ZodString>;
16018
+ handoffAgentInstructions: z.ZodOptional<z.ZodString>;
15697
16019
  }, z.core.$strip>>;
15698
16020
  userId: z.ZodString;
15699
16021
  tenantId: z.ZodOptional<z.ZodString>;
@@ -16053,6 +16375,7 @@ declare class IntegrationAccessor extends ElementAccessor<IntegrationApiResponse
16053
16375
  description: string;
16054
16376
  uiUrl?: string | undefined;
16055
16377
  agentInstructions?: string | undefined;
16378
+ handoffAgentInstructions?: string | undefined;
16056
16379
  } | undefined;
16057
16380
  tenantId?: string | undefined;
16058
16381
  user?: {
@@ -16109,6 +16432,8 @@ declare class IntegrationAccessor extends ElementAccessor<IntegrationApiResponse
16109
16432
  parameters?: Record<string, any> | undefined;
16110
16433
  }> | undefined;
16111
16434
  } | undefined;
16435
+ connectorParameters?: unknown;
16436
+ input?: unknown;
16112
16437
  } | null>;
16113
16438
  createConnection({ parameters, name, }: {
16114
16439
  parameters?: any;
@@ -16657,9 +16982,15 @@ declare const ListExternalEventSubscriptionsQuery: z.ZodObject<{
16657
16982
  connectionId: z.ZodOptional<z.ZodString>;
16658
16983
  integrationId: z.ZodOptional<z.ZodString>;
16659
16984
  externalAppId: z.ZodOptional<z.ZodString>;
16985
+ externalEventTypeId: z.ZodOptional<z.ZodString>;
16660
16986
  status: z.ZodOptional<z.ZodEnum<typeof ExternalEventSubscriptionStatus>>;
16661
16987
  }, z.core.$strip>;
16662
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>;
16663
16994
  declare const ExternalEventSubscriptionApiResponse: z.ZodObject<{
16664
16995
  userId: z.ZodString;
16665
16996
  tenantId: z.ZodOptional<z.ZodString>;
@@ -16667,6 +16998,7 @@ declare const ExternalEventSubscriptionApiResponse: z.ZodObject<{
16667
16998
  name: z.ZodOptional<z.ZodString>;
16668
16999
  connectionId: z.ZodString;
16669
17000
  integrationId: z.ZodString;
17001
+ externalEventTypeId: z.ZodOptional<z.ZodString>;
16670
17002
  config: z.ZodOptional<z.ZodObject<{
16671
17003
  type: z.ZodEnum<typeof ExternalEventSubscriptionType>;
16672
17004
  dataSource: z.ZodOptional<z.ZodObject<{
@@ -16697,6 +17029,7 @@ declare const ExternalEventSubscriptionApiResponse: z.ZodObject<{
16697
17029
  nextRefreshTimestamp: z.ZodOptional<z.ZodNumber>;
16698
17030
  globalWebhookKey: z.ZodOptional<z.ZodString>;
16699
17031
  globalWebhookEventSelector: z.ZodOptional<z.ZodString>;
17032
+ incomingWebhookUri: z.ZodOptional<z.ZodString>;
16700
17033
  webhookUri: z.ZodOptional<z.ZodString>;
16701
17034
  user: z.ZodOptional<z.ZodObject<{
16702
17035
  id: z.ZodString;
@@ -16750,6 +17083,7 @@ declare const ExternalEventSubscriptionApiResponse: z.ZodObject<{
16750
17083
  description: z.ZodString;
16751
17084
  uiUrl: z.ZodOptional<z.ZodString>;
16752
17085
  agentInstructions: z.ZodOptional<z.ZodString>;
17086
+ handoffAgentInstructions: z.ZodOptional<z.ZodString>;
16753
17087
  }, z.core.$strip>>;
16754
17088
  userId: z.ZodString;
16755
17089
  tenantId: z.ZodOptional<z.ZodString>;
@@ -16802,6 +17136,10 @@ declare const ExternalEventSubscriptionApiResponse: z.ZodObject<{
16802
17136
  }, z.core.$strip>>;
16803
17137
  }, z.core.$strip>;
16804
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>;
16805
17143
  type ExternalEventSubscription = ExternalEventSubscriptionApiResponse;
16806
17144
 
16807
17145
  interface FindExternalEventSubscriptionsQuery extends PaginationQuery {
@@ -17648,44 +17986,23 @@ declare const ActionRunLogRecordApiResponse: z.ZodObject<{
17648
17986
  duration: z.ZodOptional<z.ZodNumber>;
17649
17987
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
17650
17988
  action: z.ZodOptional<z.ZodObject<{
17651
- id: z.ZodString;
17652
- uuid: z.ZodOptional<z.ZodString>;
17653
- key: z.ZodOptional<z.ZodString>;
17654
- description: z.ZodOptional<z.ZodString>;
17655
- meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
17656
- integrationId: z.ZodOptional<z.ZodString>;
17657
- integrationUuid: z.ZodOptional<z.ZodString>;
17989
+ id: z.ZodOptional<z.ZodString>;
17658
17990
  integrationKey: z.ZodOptional<z.ZodString>;
17659
- parentId: z.ZodOptional<z.ZodString>;
17660
- parentUuid: z.ZodOptional<z.ZodString>;
17661
- parentKey: z.ZodOptional<z.ZodString>;
17662
- isUniversal: z.ZodOptional<z.ZodBoolean>;
17663
- externalAppId: z.ZodOptional<z.ZodString>;
17664
- externalAppKey: z.ZodOptional<z.ZodString>;
17991
+ key: z.ZodOptional<z.ZodString>;
17992
+ connectionKey: z.ZodOptional<z.ZodString>;
17665
17993
  connectionId: z.ZodOptional<z.ZodString>;
17666
- instanceKey: z.ZodOptional<z.ZodString>;
17667
- inputSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
17668
- type: z.ZodOptional<z.ZodEnum<typeof ActionType>>;
17669
- config: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
17670
- outputMapping: z.ZodOptional<z.ZodAny>;
17671
- customOutputSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
17672
- name: z.ZodString;
17673
- state: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementState>>;
17674
- errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>>;
17675
- revision: z.ZodOptional<z.ZodString>;
17676
- createdAt: z.ZodOptional<z.ZodString>;
17677
- updatedAt: z.ZodOptional<z.ZodString>;
17678
- archivedAt: z.ZodOptional<z.ZodString>;
17679
- isDeactivated: z.ZodOptional<z.ZodBoolean>;
17680
- isReadOnly: z.ZodOptional<z.ZodBoolean>;
17681
- isCustomized: z.ZodOptional<z.ZodBoolean>;
17682
- agentSessionId: z.ZodOptional<z.ZodString>;
17683
- universalParentId: z.ZodOptional<z.ZodString>;
17684
- outputSchema: z.ZodOptional<z.ZodAny>;
17685
- isPublic: z.ZodOptional<z.ZodBoolean>;
17686
- externalAppUuid: z.ZodOptional<z.ZodString>;
17687
- userId: z.ZodOptional<z.ZodString>;
17688
- 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>>;
17689
18006
  }, z.core.$strip>>;
17690
18007
  actionInstance: z.ZodOptional<z.ZodObject<{
17691
18008
  id: z.ZodString;
@@ -17810,6 +18127,7 @@ declare const ActionRunLogRecordApiResponse: z.ZodObject<{
17810
18127
  description: z.ZodString;
17811
18128
  uiUrl: z.ZodOptional<z.ZodString>;
17812
18129
  agentInstructions: z.ZodOptional<z.ZodString>;
18130
+ handoffAgentInstructions: z.ZodOptional<z.ZodString>;
17813
18131
  }, z.core.$strip>>;
17814
18132
  userId: z.ZodString;
17815
18133
  tenantId: z.ZodOptional<z.ZodString>;
@@ -17871,44 +18189,23 @@ declare const FindActionRunLogsResponse: z.ZodObject<{
17871
18189
  duration: z.ZodOptional<z.ZodNumber>;
17872
18190
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
17873
18191
  action: z.ZodOptional<z.ZodObject<{
17874
- id: z.ZodString;
17875
- uuid: z.ZodOptional<z.ZodString>;
17876
- key: z.ZodOptional<z.ZodString>;
17877
- description: z.ZodOptional<z.ZodString>;
17878
- meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
17879
- integrationId: z.ZodOptional<z.ZodString>;
17880
- integrationUuid: z.ZodOptional<z.ZodString>;
18192
+ id: z.ZodOptional<z.ZodString>;
17881
18193
  integrationKey: z.ZodOptional<z.ZodString>;
17882
- parentId: z.ZodOptional<z.ZodString>;
17883
- parentUuid: z.ZodOptional<z.ZodString>;
17884
- parentKey: z.ZodOptional<z.ZodString>;
17885
- isUniversal: z.ZodOptional<z.ZodBoolean>;
17886
- externalAppId: z.ZodOptional<z.ZodString>;
17887
- externalAppKey: z.ZodOptional<z.ZodString>;
18194
+ key: z.ZodOptional<z.ZodString>;
18195
+ connectionKey: z.ZodOptional<z.ZodString>;
17888
18196
  connectionId: z.ZodOptional<z.ZodString>;
17889
- instanceKey: z.ZodOptional<z.ZodString>;
17890
- inputSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
17891
- type: z.ZodOptional<z.ZodEnum<typeof ActionType>>;
17892
- config: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
17893
- outputMapping: z.ZodOptional<z.ZodAny>;
17894
- customOutputSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
17895
- name: z.ZodString;
17896
- state: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementState>>;
17897
- errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>>;
17898
- revision: z.ZodOptional<z.ZodString>;
17899
- createdAt: z.ZodOptional<z.ZodString>;
17900
- updatedAt: z.ZodOptional<z.ZodString>;
17901
- archivedAt: z.ZodOptional<z.ZodString>;
17902
- isDeactivated: z.ZodOptional<z.ZodBoolean>;
17903
- isReadOnly: z.ZodOptional<z.ZodBoolean>;
17904
- isCustomized: z.ZodOptional<z.ZodBoolean>;
17905
- agentSessionId: z.ZodOptional<z.ZodString>;
17906
- universalParentId: z.ZodOptional<z.ZodString>;
17907
- outputSchema: z.ZodOptional<z.ZodAny>;
17908
- isPublic: z.ZodOptional<z.ZodBoolean>;
17909
- externalAppUuid: z.ZodOptional<z.ZodString>;
17910
- userId: z.ZodOptional<z.ZodString>;
17911
- 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>>;
17912
18209
  }, z.core.$strip>>;
17913
18210
  actionInstance: z.ZodOptional<z.ZodObject<{
17914
18211
  id: z.ZodString;
@@ -18033,6 +18330,7 @@ declare const FindActionRunLogsResponse: z.ZodObject<{
18033
18330
  description: z.ZodString;
18034
18331
  uiUrl: z.ZodOptional<z.ZodString>;
18035
18332
  agentInstructions: z.ZodOptional<z.ZodString>;
18333
+ handoffAgentInstructions: z.ZodOptional<z.ZodString>;
18036
18334
  }, z.core.$strip>>;
18037
18335
  userId: z.ZodString;
18038
18336
  tenantId: z.ZodOptional<z.ZodString>;
@@ -18065,6 +18363,16 @@ declare const ListPublicConnectorsQuery: z.ZodObject<{
18065
18363
  search: z.ZodOptional<z.ZodString>;
18066
18364
  }, z.core.$strip>;
18067
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>;
18068
18376
 
18069
18377
  declare const ListExternalAppsQuery: z.ZodObject<{
18070
18378
  limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
@@ -18075,6 +18383,34 @@ declare const ListExternalAppsQuery: z.ZodObject<{
18075
18383
  isConnected: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
18076
18384
  }, z.core.$strip>;
18077
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>;
18078
18414
 
18079
18415
  declare const CheckpointApiResponse: z.ZodObject<{
18080
18416
  id: z.ZodString;
@@ -18083,7 +18419,6 @@ declare const CheckpointApiResponse: z.ZodObject<{
18083
18419
  checkpointNumber: z.ZodNumber;
18084
18420
  snapshot: z.ZodRecord<z.ZodString, z.ZodUnknown>;
18085
18421
  createdAt: z.ZodString;
18086
- createdBy: z.ZodOptional<z.ZodString>;
18087
18422
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
18088
18423
  }, z.core.$strip>;
18089
18424
  type CheckpointApiResponse = z.infer<typeof CheckpointApiResponse>;
@@ -18358,6 +18693,7 @@ declare const DataLinkTableInstanceApiResponse: z.ZodObject<{
18358
18693
  description: z.ZodString;
18359
18694
  uiUrl: z.ZodOptional<z.ZodString>;
18360
18695
  agentInstructions: z.ZodOptional<z.ZodString>;
18696
+ handoffAgentInstructions: z.ZodOptional<z.ZodString>;
18361
18697
  }, z.core.$strip>>;
18362
18698
  userId: z.ZodString;
18363
18699
  tenantId: z.ZodOptional<z.ZodString>;
@@ -18645,6 +18981,7 @@ declare const ListExternalEventLogRecordsQuery: z.ZodObject<{
18645
18981
  connectionId: z.ZodOptional<z.ZodString>;
18646
18982
  integrationId: z.ZodOptional<z.ZodString>;
18647
18983
  externalEventSubscriptionId: z.ZodOptional<z.ZodString>;
18984
+ externalEventTypeId: z.ZodOptional<z.ZodString>;
18648
18985
  status: z.ZodOptional<z.ZodEnum<typeof ExternalEventLogStatus>>;
18649
18986
  externalAppId: z.ZodOptional<z.ZodString>;
18650
18987
  from: z.ZodOptional<z.ZodString>;
@@ -18660,6 +18997,7 @@ declare const ExternalEventLogRecordApiResponse: z.ZodObject<{
18660
18997
  externalEventSubscriptionId: z.ZodString;
18661
18998
  integrationId: z.ZodString;
18662
18999
  connectionId: z.ZodString;
19000
+ externalEventTypeId: z.ZodOptional<z.ZodString>;
18663
19001
  payload: z.ZodOptional<z.ZodAny>;
18664
19002
  launchedFlowRunIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
18665
19003
  status: z.ZodEnum<typeof ExternalEventLogStatus>;
@@ -18686,6 +19024,7 @@ declare const ExternalEventLogRecordApiResponse: z.ZodObject<{
18686
19024
  name: z.ZodOptional<z.ZodString>;
18687
19025
  connectionId: z.ZodString;
18688
19026
  integrationId: z.ZodString;
19027
+ externalEventTypeId: z.ZodOptional<z.ZodString>;
18689
19028
  config: z.ZodOptional<z.ZodObject<{
18690
19029
  type: z.ZodEnum<typeof ExternalEventSubscriptionType>;
18691
19030
  dataSource: z.ZodOptional<z.ZodObject<{
@@ -18716,6 +19055,7 @@ declare const ExternalEventLogRecordApiResponse: z.ZodObject<{
18716
19055
  nextRefreshTimestamp: z.ZodOptional<z.ZodNumber>;
18717
19056
  globalWebhookKey: z.ZodOptional<z.ZodString>;
18718
19057
  globalWebhookEventSelector: z.ZodOptional<z.ZodString>;
19058
+ incomingWebhookUri: z.ZodOptional<z.ZodString>;
18719
19059
  webhookUri: z.ZodOptional<z.ZodString>;
18720
19060
  }, z.core.$strip>>;
18721
19061
  integration: z.ZodOptional<z.ZodObject<{
@@ -18801,6 +19141,7 @@ declare const ExternalEventLogRecordApiResponse: z.ZodObject<{
18801
19141
  description: z.ZodString;
18802
19142
  uiUrl: z.ZodOptional<z.ZodString>;
18803
19143
  agentInstructions: z.ZodOptional<z.ZodString>;
19144
+ handoffAgentInstructions: z.ZodOptional<z.ZodString>;
18804
19145
  }, z.core.$strip>>;
18805
19146
  userId: z.ZodString;
18806
19147
  tenantId: z.ZodOptional<z.ZodString>;
@@ -18871,6 +19212,7 @@ declare const ExternalEventPullApiResponse: z.ZodObject<{
18871
19212
  name: z.ZodOptional<z.ZodString>;
18872
19213
  connectionId: z.ZodString;
18873
19214
  integrationId: z.ZodString;
19215
+ externalEventTypeId: z.ZodOptional<z.ZodString>;
18874
19216
  config: z.ZodOptional<z.ZodObject<{
18875
19217
  type: z.ZodEnum<typeof ExternalEventSubscriptionType>;
18876
19218
  dataSource: z.ZodOptional<z.ZodObject<{
@@ -18901,6 +19243,7 @@ declare const ExternalEventPullApiResponse: z.ZodObject<{
18901
19243
  nextRefreshTimestamp: z.ZodOptional<z.ZodNumber>;
18902
19244
  globalWebhookKey: z.ZodOptional<z.ZodString>;
18903
19245
  globalWebhookEventSelector: z.ZodOptional<z.ZodString>;
19246
+ incomingWebhookUri: z.ZodOptional<z.ZodString>;
18904
19247
  webhookUri: z.ZodOptional<z.ZodString>;
18905
19248
  }, z.core.$strip>>;
18906
19249
  integration: z.ZodOptional<z.ZodObject<{
@@ -18986,6 +19329,7 @@ declare const ExternalEventPullApiResponse: z.ZodObject<{
18986
19329
  description: z.ZodString;
18987
19330
  uiUrl: z.ZodOptional<z.ZodString>;
18988
19331
  agentInstructions: z.ZodOptional<z.ZodString>;
19332
+ handoffAgentInstructions: z.ZodOptional<z.ZodString>;
18989
19333
  }, z.core.$strip>>;
18990
19334
  userId: z.ZodString;
18991
19335
  tenantId: z.ZodOptional<z.ZodString>;
@@ -18994,38 +19338,369 @@ declare const ExternalEventPullApiResponse: z.ZodObject<{
18994
19338
  type ExternalEventPullApiResponse = z.infer<typeof ExternalEventPullApiResponse>;
18995
19339
  type ExternalEventPull = ExternalEventPullApiResponse;
18996
19340
 
18997
- 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>;
18998
19467
  search: z.ZodOptional<z.ZodString>;
18999
19468
  limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
19000
19469
  cursor: z.ZodOptional<z.ZodString>;
19001
19470
  includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
19002
- tenantId: z.ZodOptional<z.ZodString>;
19003
19471
  userId: z.ZodOptional<z.ZodString>;
19004
- appEventTypeId: z.ZodOptional<z.ZodString>;
19005
- from: z.ZodOptional<z.ZodString>;
19006
- 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>;
19007
19482
  }, z.core.$strip>;
19008
- type ListAppEventLogRecordsQuery = z.infer<typeof ListAppEventLogRecordsQuery>;
19009
- declare const AppEventLogRecordApiResponse: z.ZodObject<{
19483
+ type FindExternalEventTypesQuery = z.infer<typeof FindExternalEventTypesQuery>;
19484
+ declare const ExternalEventTypeApiResponse: z.ZodObject<{
19010
19485
  id: z.ZodString;
19011
- name: z.ZodOptional<z.ZodString>;
19012
- userId: z.ZodString;
19013
- user: z.ZodOptional<z.ZodObject<{
19014
- id: z.ZodString;
19015
- name: z.ZodString;
19016
- meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
19017
- internalId: z.ZodString;
19018
- fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
19019
- credentials: z.ZodOptional<z.ZodAny>;
19020
- lastActiveAt: z.ZodOptional<z.ZodString>;
19021
- isTest: z.ZodOptional<z.ZodBoolean>;
19022
- isBillable: z.ZodOptional<z.ZodBoolean>;
19023
- isActive: z.ZodOptional<z.ZodBoolean>;
19024
- aiCreditsRolling30DayLimit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
19025
- createdAt: z.ZodOptional<z.ZodString>;
19026
- archivedAt: z.ZodOptional<z.ZodString>;
19027
- }, z.core.$strip>>;
19028
- appEventTypeId: z.ZodString;
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;
19029
19704
  appEventType: z.ZodOptional<z.ZodObject<{
19030
19705
  id: z.ZodString;
19031
19706
  uuid: z.ZodOptional<z.ZodString>;
@@ -19175,6 +19850,7 @@ declare const ExternalApiLogApiResponse: z.ZodObject<{
19175
19850
  description: z.ZodString;
19176
19851
  uiUrl: z.ZodOptional<z.ZodString>;
19177
19852
  agentInstructions: z.ZodOptional<z.ZodString>;
19853
+ handoffAgentInstructions: z.ZodOptional<z.ZodString>;
19178
19854
  }, z.core.$strip>>;
19179
19855
  userId: z.ZodString;
19180
19856
  tenantId: z.ZodOptional<z.ZodString>;
@@ -19234,6 +19910,7 @@ declare const ListIncomingWebhooksQuery: z.ZodObject<{
19234
19910
  tenantId: z.ZodOptional<z.ZodString>;
19235
19911
  integrationId: z.ZodOptional<z.ZodString>;
19236
19912
  connectionId: z.ZodOptional<z.ZodString>;
19913
+ subscriptionId: z.ZodOptional<z.ZodString>;
19237
19914
  status: z.ZodOptional<z.ZodEnum<typeof IncomingWebhooksState>>;
19238
19915
  externalAppId: z.ZodOptional<z.ZodString>;
19239
19916
  from: z.ZodOptional<z.ZodString>;
@@ -19306,6 +19983,7 @@ declare const IncomingWebhookApiResponse: z.ZodObject<{
19306
19983
  description: z.ZodString;
19307
19984
  uiUrl: z.ZodOptional<z.ZodString>;
19308
19985
  agentInstructions: z.ZodOptional<z.ZodString>;
19986
+ handoffAgentInstructions: z.ZodOptional<z.ZodString>;
19309
19987
  }, z.core.$strip>>;
19310
19988
  userId: z.ZodString;
19311
19989
  tenantId: z.ZodOptional<z.ZodString>;
@@ -19317,6 +19995,7 @@ declare const IncomingWebhookApiResponse: z.ZodObject<{
19317
19995
  name: z.ZodOptional<z.ZodString>;
19318
19996
  connectionId: z.ZodString;
19319
19997
  integrationId: z.ZodString;
19998
+ externalEventTypeId: z.ZodOptional<z.ZodString>;
19320
19999
  config: z.ZodOptional<z.ZodObject<{
19321
20000
  type: z.ZodEnum<typeof ExternalEventSubscriptionType>;
19322
20001
  dataSource: z.ZodOptional<z.ZodObject<{
@@ -19347,6 +20026,7 @@ declare const IncomingWebhookApiResponse: z.ZodObject<{
19347
20026
  nextRefreshTimestamp: z.ZodOptional<z.ZodNumber>;
19348
20027
  globalWebhookKey: z.ZodOptional<z.ZodString>;
19349
20028
  globalWebhookEventSelector: z.ZodOptional<z.ZodString>;
20029
+ incomingWebhookUri: z.ZodOptional<z.ZodString>;
19350
20030
  webhookUri: z.ZodOptional<z.ZodString>;
19351
20031
  }, z.core.$strip>>;
19352
20032
  }, z.core.$strip>;
@@ -19638,6 +20318,7 @@ declare const CreateAgentSession: z.ZodObject<{
19638
20318
  "anthropic/claude-opus-4.6": "anthropic/claude-opus-4.6";
19639
20319
  "anthropic/claude-sonnet-4.5": "anthropic/claude-sonnet-4.5";
19640
20320
  "anthropic/claude-opus-4.5": "anthropic/claude-opus-4.5";
20321
+ "anthropic/claude-haiku-4.5": "anthropic/claude-haiku-4.5";
19641
20322
  "openai/gpt-5.2": "openai/gpt-5.2";
19642
20323
  "openai/gpt-5-nano": "openai/gpt-5-nano";
19643
20324
  "google/gemini-3-pro-preview": "google/gemini-3-pro-preview";
@@ -21312,12 +21993,6 @@ declare const GenerateWorkspaceAccessTokenResponse: z.ZodObject<{
21312
21993
  token: z.ZodString;
21313
21994
  }, z.core.$strip>;
21314
21995
  type GenerateWorkspaceAccessTokenResponse = z.infer<typeof GenerateWorkspaceAccessTokenResponse>;
21315
- declare const ListWorkspacesQuery: z.ZodObject<{
21316
- orgId: z.ZodOptional<z.ZodString>;
21317
- workspaceKey: z.ZodOptional<z.ZodString>;
21318
- includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
21319
- }, z.core.$strip>;
21320
- type ListWorkspacesQuery = z.infer<typeof ListWorkspacesQuery>;
21321
21996
  declare const GetWorkspaceQuery: z.ZodObject<{
21322
21997
  includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
21323
21998
  }, z.core.$strip>;
@@ -21357,7 +22032,7 @@ interface WorkspaceElementChangeInfo {
21357
22032
  interface WorkspaceExportComparisonResult {
21358
22033
  comparison: WorkspaceExportComparison;
21359
22034
  changes: Record<string, WorkspaceElementChangeInfo>;
21360
- baseUuidByTargetUuid: Map<string, string>;
22035
+ sourceUuidByTargetUuid: Map<string, string>;
21361
22036
  diff?: string;
21362
22037
  }
21363
22038
  interface WorkspaceExportComparisonOptions {
@@ -21365,6 +22040,9 @@ interface WorkspaceExportComparisonOptions {
21365
22040
  includeDiff?: boolean;
21366
22041
  }
21367
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;
21368
22046
  declare function getElementSelector(type: WorkspaceElementType, key: string, integrationIdentifier?: string): string;
21369
22047
 
21370
22048
  declare const IneligibilityReasonSchema: z.ZodEnum<{
@@ -21497,6 +22175,7 @@ declare const Org: z.ZodObject<{
21497
22175
  engineAutoChargeThreshold: z.ZodOptional<z.ZodNumber>;
21498
22176
  engineAutoChargePurchaseAmount: z.ZodOptional<z.ZodNumber>;
21499
22177
  engineAutoChargeMonthlyLimit: z.ZodOptional<z.ZodNumber>;
22178
+ currentUserCanLeave: z.ZodOptional<z.ZodBoolean>;
21500
22179
  }, z.core.$strip>;
21501
22180
  type Org = z.infer<typeof Org>;
21502
22181
  declare const EngineCreditsProjectionResponse: z.ZodObject<{
@@ -21802,7 +22481,7 @@ declare const OrgWorkspace: z.ZodObject<{
21802
22481
  featureFlags: z.ZodOptional<z.ZodArray<z.ZodString>>;
21803
22482
  logoUri: z.ZodOptional<z.ZodString>;
21804
22483
  membraneInstanceId: z.ZodOptional<z.ZodString>;
21805
- limits: z.ZodOptional<z.ZodObject<{
22484
+ operatorLimits: z.ZodOptional<z.ZodObject<{
21806
22485
  parallelEventPulls: z.ZodOptional<z.ZodObject<{
21807
22486
  value: z.ZodOptional<z.ZodNumber>;
21808
22487
  defaultValue: z.ZodOptional<z.ZodNumber>;
@@ -22009,72 +22688,8 @@ declare const OrgWorkspace: z.ZodObject<{
22009
22688
  unit: z.ZodEnum<typeof LimitUnits>;
22010
22689
  }, z.core.$strip>>;
22011
22690
  }, z.core.$strip>>;
22012
- settings: z.ZodOptional<z.ZodObject<{
22013
- enableApiLogs: z.ZodOptional<z.ZodBoolean>;
22014
- enableWebhookLogs: z.ZodOptional<z.ZodBoolean>;
22015
- enableActionRunLogs: z.ZodOptional<z.ZodBoolean>;
22016
- disableSecretKeyAuth: z.ZodOptional<z.ZodBoolean>;
22017
- useMembraneUniverse: z.ZodOptional<z.ZodBoolean>;
22018
- useRemoteRepository: z.ZodOptional<z.ZodBoolean>;
22019
- autoGenerateIntegrationsFromConnectors: z.ZodOptional<z.ZodBoolean>;
22020
- autoGenerateIntegrationsFromExternalApps: z.ZodOptional<z.ZodBoolean>;
22021
- autoGenerateIntegrationsFromWebSearch: z.ZodOptional<z.ZodBoolean>;
22022
- }, z.core.$strip>>;
22023
- publicKeys: z.ZodOptional<z.ZodArray<z.ZodObject<{
22024
- name: z.ZodString;
22025
- publicKey: z.ZodString;
22026
- }, z.core.$strip>>>;
22027
- userFieldsSchema: z.ZodOptional<z.ZodAny>;
22028
- webhookUri: z.ZodOptional<z.ZodString>;
22029
- enabledWebhookEvents: z.ZodOptional<z.ZodArray<z.ZodString>>;
22030
- alertDeliverySettings: z.ZodOptional<z.ZodObject<{
22031
- alertTypes: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
22032
- fileUploadsMbPerHour: AlertType.fileUploadsMbPerHour;
22033
- apiRequestsPerSecond: AlertType.apiRequestsPerSecond;
22034
- apiRequestsPerHour: AlertType.apiRequestsPerHour;
22035
- webhookRequestsPerSecond: AlertType.webhookRequestsPerSecond;
22036
- webhookRequestsPerHour: AlertType.webhookRequestsPerHour;
22037
- workspaceElementCreationsPerSecond: AlertType.workspaceElementCreationsPerSecond;
22038
- workspaceElementCreationsPerHour: AlertType.workspaceElementCreationsPerHour;
22039
- workspaceElementSearchIndexingPerMinute: AlertType.workspaceElementSearchIndexingPerMinute;
22040
- externalEventsPerCustomerPerDay: AlertType.externalEventsPerCustomerPerDay;
22041
- apiRequestsPerCustomerPerSecond: AlertType.apiRequestsPerCustomerPerSecond;
22042
- apiRequestsPerCustomerPerHour: AlertType.apiRequestsPerCustomerPerHour;
22043
- webhookRequestsPerCustomerPerSecond: AlertType.webhookRequestsPerCustomerPerSecond;
22044
- webhookRequestsPerCustomerPerHour: AlertType.webhookRequestsPerCustomerPerHour;
22045
- parallelApiRequestsPerCustomer: AlertType.parallelApiRequestsPerCustomer;
22046
- engineCreditsExhaustionProjected: AlertType.engineCreditsExhaustionProjected;
22047
- engineCreditsExhaustionActual: AlertType.engineCreditsExhaustionActual;
22048
- aiCreditsDebtAccumulated: AlertType.aiCreditsDebtAccumulated;
22049
- totalNumberOfDatabaseEntitiesPerCustomer: AlertType.totalNumberOfDatabaseEntitiesPerCustomer;
22050
- totalNumberOfCustomers: AlertType.totalNumberOfCustomers;
22051
- totalNumberOfConnections: AlertType.totalNumberOfConnections;
22052
- totalNumberOfWorkspaceElements: AlertType.totalNumberOfWorkspaceElements;
22053
- totalNumberOfWorkspaceDatabaseRecords: AlertType.totalNumberOfWorkspaceDatabaseRecords;
22054
- instantTasksQueueSize: AlertType.instantTasksQueueSize;
22055
- queuedTasksQueueSize: AlertType.queuedTasksQueueSize;
22056
- flowRunsQueueSizePerConnection: AlertType.flowRunsQueueSizePerConnection;
22057
- eventsProcessingQueueSizePerConnection: AlertType.eventsProcessingQueueSizePerConnection;
22058
- parallelApiRequests: AlertType.parallelApiRequests;
22059
- testAlert: AlertType.testAlert;
22060
- }>, z.ZodOptional<z.ZodObject<{
22061
- internal: z.ZodLiteral<true>;
22062
- webhook: z.ZodOptional<z.ZodObject<{
22063
- enabled: z.ZodBoolean;
22064
- }, z.core.$strip>>;
22065
- email: z.ZodOptional<z.ZodObject<{
22066
- enabled: z.ZodBoolean;
22067
- }, z.core.$strip>>;
22068
- }, z.core.$strip>>>>;
22069
- }, z.core.$strip>>;
22070
- jwksUri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22071
- type: z.ZodOptional<z.ZodEnum<typeof WorkspaceType>>;
22072
- isReadOnly: z.ZodOptional<z.ZodBoolean>;
22073
- }, z.core.$strip>;
22074
- type OrgWorkspace = z.infer<typeof OrgWorkspace>;
22075
- declare const OrgWorkspaceUpdateRequest: z.ZodObject<{
22076
- name: z.ZodOptional<z.ZodString>;
22077
- 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>;
22078
22693
  limits: z.ZodOptional<z.ZodObject<{
22079
22694
  parallelEventPulls: z.ZodOptional<z.ZodObject<{
22080
22695
  value: z.ZodOptional<z.ZodNumber>;
@@ -22344,271 +22959,1072 @@ declare const OrgWorkspaceUpdateRequest: z.ZodObject<{
22344
22959
  type: z.ZodOptional<z.ZodEnum<typeof WorkspaceType>>;
22345
22960
  isReadOnly: z.ZodOptional<z.ZodBoolean>;
22346
22961
  }, z.core.$strip>;
22347
- type OrgWorkspaceUpdateRequest = z.infer<typeof OrgWorkspaceUpdateRequest>;
22348
- declare const WorkspaceOnboardingData: z.ZodObject<{
22349
- productSetup: z.ZodOptional<z.ZodObject<{
22350
- type: z.ZodOptional<z.ZodEnum<{
22351
- app: "app";
22352
- "ai-agent": "ai-agent";
22353
- }>>;
22354
- agentType: z.ZodOptional<z.ZodString>;
22355
- name: z.ZodOptional<z.ZodString>;
22356
- connectedProductId: z.ZodOptional<z.ZodString>;
22357
- }, z.core.$strip>>;
22358
- connections: z.ZodOptional<z.ZodObject<{
22359
- apps: z.ZodArray<z.ZodObject<{
22360
- externalAppId: z.ZodOptional<z.ZodString>;
22361
- name: z.ZodOptional<z.ZodString>;
22362
- url: z.ZodOptional<z.ZodString>;
22363
- status: z.ZodOptional<z.ZodEnum<{
22364
- connected: "connected";
22365
- skipped: "skipped";
22366
- pending: "pending";
22367
- }>>;
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>;
22368
22971
  }, z.core.$strip>>;
22369
- }, z.core.$strip>>;
22370
- }, z.core.$loose>;
22371
- type WorkspaceOnboardingData = z.infer<typeof WorkspaceOnboardingData>;
22372
- declare const OrgWorkspaceUser: z.ZodObject<{
22373
- id: z.ZodString;
22374
- workspaceId: z.ZodString;
22375
- testCustomerId: z.ZodString;
22376
- userId: z.ZodString;
22377
- role: z.ZodString;
22378
- onboardingData: z.ZodOptional<z.ZodObject<{
22379
- productSetup: z.ZodOptional<z.ZodObject<{
22380
- type: z.ZodOptional<z.ZodEnum<{
22381
- app: "app";
22382
- "ai-agent": "ai-agent";
22383
- }>>;
22384
- agentType: z.ZodOptional<z.ZodString>;
22385
- name: z.ZodOptional<z.ZodString>;
22386
- 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>;
22387
22976
  }, z.core.$strip>>;
22388
- connections: z.ZodOptional<z.ZodObject<{
22389
- apps: z.ZodArray<z.ZodObject<{
22390
- externalAppId: z.ZodOptional<z.ZodString>;
22391
- name: z.ZodOptional<z.ZodString>;
22392
- url: z.ZodOptional<z.ZodString>;
22393
- status: z.ZodOptional<z.ZodEnum<{
22394
- connected: "connected";
22395
- skipped: "skipped";
22396
- pending: "pending";
22397
- }>>;
22398
- }, 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>;
22399
22981
  }, z.core.$strip>>;
22400
- }, z.core.$loose>>;
22401
- }, z.core.$strip>;
22402
- type OrgWorkspaceUser = z.infer<typeof OrgWorkspaceUser>;
22403
- declare const PatchUserWorkspaceSettings: z.ZodObject<{
22404
- onboardingData: z.ZodOptional<z.ZodObject<{
22405
- productSetup: z.ZodOptional<z.ZodObject<{
22406
- type: z.ZodOptional<z.ZodEnum<{
22407
- app: "app";
22408
- "ai-agent": "ai-agent";
22409
- }>>;
22410
- agentType: z.ZodOptional<z.ZodString>;
22411
- name: z.ZodOptional<z.ZodString>;
22412
- 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>;
22413
22986
  }, z.core.$strip>>;
22414
- connections: z.ZodOptional<z.ZodObject<{
22415
- apps: z.ZodArray<z.ZodObject<{
22416
- externalAppId: z.ZodOptional<z.ZodString>;
22417
- name: z.ZodOptional<z.ZodString>;
22418
- url: z.ZodOptional<z.ZodString>;
22419
- status: z.ZodOptional<z.ZodEnum<{
22420
- connected: "connected";
22421
- skipped: "skipped";
22422
- pending: "pending";
22423
- }>>;
22424
- }, 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>;
22425
22991
  }, z.core.$strip>>;
22426
- }, z.core.$loose>>;
22427
- }, z.core.$strip>;
22428
- type PatchUserWorkspaceSettings = z.infer<typeof PatchUserWorkspaceSettings>;
22429
- declare const CreateOrgRequest: z.ZodObject<{
22430
- name: z.ZodString;
22431
- website: z.ZodOptional<z.ZodString>;
22432
- logoUri: z.ZodOptional<z.ZodString>;
22433
- integrationApps: z.ZodOptional<z.ZodString>;
22434
- firstIntegrationUseCase: z.ZodOptional<z.ZodString>;
22435
- referralSource: z.ZodOptional<z.ZodString>;
22436
- builder: z.ZodOptional<z.ZodArray<z.ZodEnum<{
22437
- me: "me";
22438
- team: "team";
22439
- }>>>;
22440
- stripeCustomerId: z.ZodOptional<z.ZodString>;
22441
- signupSource: z.ZodOptional<z.ZodString>;
22442
- }, z.core.$strip>;
22443
- type CreateOrgRequest = z.infer<typeof CreateOrgRequest>;
22444
- declare const UpdateOrgRequest: z.ZodObject<{
22445
- name: z.ZodOptional<z.ZodString>;
22446
- domains: z.ZodOptional<z.ZodArray<z.ZodString>>;
22447
- }, z.core.$strip>;
22448
- type UpdateOrgRequest = z.infer<typeof UpdateOrgRequest>;
22449
- declare const BaseOrgUser: z.ZodObject<{
22450
- id: z.ZodString;
22451
- orgId: z.ZodString;
22452
- userId: z.ZodString;
22453
- role: z.ZodString;
22454
- status: z.ZodString;
22455
- workspaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
22456
- }, z.core.$strip>;
22457
- type BaseOrgUser = z.infer<typeof BaseOrgUser>;
22458
- declare const FullOrgUser: z.ZodObject<{
22459
- id: z.ZodString;
22460
- orgId: z.ZodString;
22461
- userId: z.ZodString;
22462
- role: z.ZodString;
22463
- status: z.ZodString;
22464
- workspaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
22465
- user: z.ZodObject<{
22466
- id: z.ZodString;
22467
- auth0Id: z.ZodOptional<z.ZodString>;
22468
- email: z.ZodString;
22469
- name: z.ZodString;
22470
- defaultAccountId: z.ZodOptional<z.ZodString>;
22471
- defaultWorkspaceId: z.ZodOptional<z.ZodString>;
22472
- isAdmin: z.ZodOptional<z.ZodBoolean>;
22473
- trialRequested: z.ZodBoolean;
22474
- pat: z.ZodOptional<z.ZodString>;
22475
- isEligible: z.ZodOptional<z.ZodBoolean>;
22476
- ineligibilityReason: z.ZodOptional<z.ZodEnum<{
22477
- disposable: "disposable";
22478
- blockedDomain: "blockedDomain";
22479
- }>>;
22480
- emailVerified: z.ZodOptional<z.ZodBoolean>;
22481
- isCompanyEmail: z.ZodOptional<z.ZodBoolean>;
22482
- }, z.core.$strip>;
22483
- org: z.ZodObject<{
22484
- id: z.ZodString;
22485
- key: z.ZodString;
22486
- name: z.ZodString;
22487
- plan: z.ZodOptional<z.ZodEnum<typeof OrgPlan>>;
22488
- createdAt: z.ZodCoercedDate<unknown>;
22489
- updatedAt: z.ZodCoercedDate<unknown>;
22490
- trialEndDate: z.ZodOptional<z.ZodString>;
22491
- lastTrialExtensionDate: z.ZodOptional<z.ZodString>;
22492
- limits: z.ZodOptional<z.ZodObject<{
22493
- numberOfWorkspaces: z.ZodOptional<z.ZodNumber>;
22494
- todayUsage: z.ZodOptional<z.ZodNumber>;
22495
- lastThirtyDayUsage: z.ZodOptional<z.ZodNumber>;
22496
- membraneAgentLastThirtyDaysUsage: z.ZodOptional<z.ZodNumber>;
22497
- membraneExpertCreditsCapPerMonth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
22498
- 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>;
22499
22996
  }, z.core.$strip>>;
22500
- thirtyDayTotalCredits: z.ZodOptional<z.ZodNumber>;
22501
- lastThirtyDayUsagePercent: z.ZodOptional<z.ZodNumber>;
22502
- todayUsagePercent: z.ZodOptional<z.ZodNumber>;
22503
- domains: z.ZodOptional<z.ZodArray<z.ZodString>>;
22504
- featureFlags: z.ZodOptional<z.ZodArray<z.ZodString>>;
22505
- freeAiCredits: z.ZodOptional<z.ZodNumber>;
22506
- paidAiCredits: z.ZodOptional<z.ZodNumber>;
22507
- freeAiMonthlyCredits: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
22508
- stripeCustomerId: z.ZodOptional<z.ZodString>;
22509
- autoChargeEnabled: z.ZodOptional<z.ZodBoolean>;
22510
- autoChargeThreshold: z.ZodOptional<z.ZodNumber>;
22511
- autoChargePurchaseAmount: z.ZodOptional<z.ZodNumber>;
22512
- autoChargeMonthlyLimit: z.ZodOptional<z.ZodNumber>;
22513
- freeEngineCredits: z.ZodOptional<z.ZodNumber>;
22514
- paidEngineCredits: z.ZodOptional<z.ZodNumber>;
22515
- freeEngineMonthlyCredits: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
22516
- engineAutoChargeEnabled: z.ZodOptional<z.ZodBoolean>;
22517
- engineAutoChargeThreshold: z.ZodOptional<z.ZodNumber>;
22518
- engineAutoChargePurchaseAmount: z.ZodOptional<z.ZodNumber>;
22519
- engineAutoChargeMonthlyLimit: z.ZodOptional<z.ZodNumber>;
22520
- }, z.core.$strip>;
22521
- }, z.core.$strip>;
22522
- type FullOrgUser = z.infer<typeof FullOrgUser>;
22523
- declare const CreateOrgUserRequest: z.ZodObject<{
22524
- email: z.ZodString;
22525
- workspaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
22526
- }, z.core.$strip>;
22527
- type CreateOrgUserRequest = z.infer<typeof CreateOrgUserRequest>;
22528
- declare const UpdateOrgUserRequest: z.ZodObject<{
22529
- role: z.ZodOptional<z.ZodEnum<typeof OrgUserRole>>;
22530
- status: z.ZodOptional<z.ZodEnum<typeof OrgUserStatus>>;
22531
- workspaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
22532
- }, z.core.$strip>;
22533
- type UpdateOrgUserRequest = z.infer<typeof UpdateOrgUserRequest>;
22534
- declare const OrgInvitation: z.ZodObject<{
22535
- id: z.ZodString;
22536
- orgId: z.ZodString;
22537
- org: z.ZodObject<{
22538
- id: z.ZodString;
22539
- key: z.ZodString;
22540
- name: z.ZodString;
22541
- plan: z.ZodOptional<z.ZodEnum<typeof OrgPlan>>;
22542
- createdAt: z.ZodCoercedDate<unknown>;
22543
- updatedAt: z.ZodCoercedDate<unknown>;
22544
- trialEndDate: z.ZodOptional<z.ZodString>;
22545
- lastTrialExtensionDate: z.ZodOptional<z.ZodString>;
22546
- limits: z.ZodOptional<z.ZodObject<{
22547
- numberOfWorkspaces: z.ZodOptional<z.ZodNumber>;
22548
- todayUsage: z.ZodOptional<z.ZodNumber>;
22549
- lastThirtyDayUsage: z.ZodOptional<z.ZodNumber>;
22550
- membraneAgentLastThirtyDaysUsage: z.ZodOptional<z.ZodNumber>;
22551
- membraneExpertCreditsCapPerMonth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
22552
- 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>;
22553
23001
  }, z.core.$strip>>;
22554
- thirtyDayTotalCredits: z.ZodOptional<z.ZodNumber>;
22555
- lastThirtyDayUsagePercent: z.ZodOptional<z.ZodNumber>;
22556
- todayUsagePercent: z.ZodOptional<z.ZodNumber>;
22557
- domains: z.ZodOptional<z.ZodArray<z.ZodString>>;
22558
- featureFlags: z.ZodOptional<z.ZodArray<z.ZodString>>;
22559
- freeAiCredits: z.ZodOptional<z.ZodNumber>;
22560
- paidAiCredits: z.ZodOptional<z.ZodNumber>;
22561
- freeAiMonthlyCredits: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
22562
- stripeCustomerId: z.ZodOptional<z.ZodString>;
22563
- autoChargeEnabled: z.ZodOptional<z.ZodBoolean>;
22564
- autoChargeThreshold: z.ZodOptional<z.ZodNumber>;
22565
- autoChargePurchaseAmount: z.ZodOptional<z.ZodNumber>;
22566
- autoChargeMonthlyLimit: z.ZodOptional<z.ZodNumber>;
22567
- freeEngineCredits: z.ZodOptional<z.ZodNumber>;
22568
- paidEngineCredits: z.ZodOptional<z.ZodNumber>;
22569
- freeEngineMonthlyCredits: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
22570
- engineAutoChargeEnabled: z.ZodOptional<z.ZodBoolean>;
22571
- engineAutoChargeThreshold: z.ZodOptional<z.ZodNumber>;
22572
- engineAutoChargePurchaseAmount: z.ZodOptional<z.ZodNumber>;
22573
- engineAutoChargeMonthlyLimit: z.ZodOptional<z.ZodNumber>;
22574
- }, z.core.$strip>;
22575
- name: z.ZodString;
22576
- workspaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
22577
- uuid: z.ZodString;
22578
- email: z.ZodOptional<z.ZodString>;
22579
- }, z.core.$strip>;
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>;
23234
+ }, z.core.$strip>;
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>;
22580
23471
  type OrgInvitation = z.infer<typeof OrgInvitation>;
22581
23472
  declare const UpdateOrgInvitationRequest: z.ZodObject<{
22582
23473
  name: z.ZodOptional<z.ZodString>;
22583
23474
  workspaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
22584
23475
  }, z.core.$strip>;
22585
- type UpdateOrgInvitationRequest = z.infer<typeof UpdateOrgInvitationRequest>;
22586
- declare const CreateOrgInvitationRequest: z.ZodObject<{
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>;
23995
+ }, z.core.$strip>;
23996
+ type ListOrgWorkspacesResponse = z.infer<typeof ListOrgWorkspacesResponse>;
23997
+ declare const CreateOrgWorkspaceRequest: z.ZodObject<{
22587
23998
  name: z.ZodOptional<z.ZodString>;
22588
- workspaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
22589
- email: z.ZodOptional<z.ZodString>;
22590
- }, z.core.$strip>;
22591
- type CreateOrgInvitationRequest = z.infer<typeof CreateOrgInvitationRequest>;
22592
- declare const FindOrgsQuery: z.ZodObject<{
22593
- search: z.ZodOptional<z.ZodString>;
22594
- myOrgs: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
22595
- }, z.core.$strip>;
22596
- type FindOrgsQuery = z.infer<typeof FindOrgsQuery>;
22597
- declare const FindOrgWorkspacesQuery: z.ZodObject<{
22598
- search: z.ZodOptional<z.ZodString>;
22599
- cursor: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
22600
- limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
23999
+ logoUri: z.ZodOptional<z.ZodString>;
24000
+ orgId: z.ZodString;
24001
+ membraneInstanceId: z.ZodOptional<z.ZodString>;
22601
24002
  }, z.core.$strip>;
22602
- type FindOrgWorkspacesQuery = z.infer<typeof FindOrgWorkspacesQuery>;
22603
- declare const ListOrgWorkspacesQuery: z.ZodObject<{
22604
- search: z.ZodOptional<z.ZodString>;
22605
- cursor: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
22606
- limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
22607
- orgId: z.ZodOptional<z.ZodString>;
24003
+ type CreateOrgWorkspaceRequest = z.infer<typeof CreateOrgWorkspaceRequest>;
24004
+ declare const RotateOrgWorkspaceSecretResponse: z.ZodObject<{
24005
+ secret: z.ZodString;
22608
24006
  }, z.core.$strip>;
22609
- type ListOrgWorkspacesQuery = z.infer<typeof ListOrgWorkspacesQuery>;
22610
- declare const ListOrgWorkspacesResponse: z.ZodObject<{
22611
- 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<{
22612
24028
  id: z.ZodString;
22613
24029
  name: z.ZodString;
22614
24030
  orgId: z.ZodString;
@@ -22622,7 +24038,7 @@ declare const ListOrgWorkspacesResponse: z.ZodObject<{
22622
24038
  featureFlags: z.ZodOptional<z.ZodArray<z.ZodString>>;
22623
24039
  logoUri: z.ZodOptional<z.ZodString>;
22624
24040
  membraneInstanceId: z.ZodOptional<z.ZodString>;
22625
- limits: z.ZodOptional<z.ZodObject<{
24041
+ operatorLimits: z.ZodOptional<z.ZodObject<{
22626
24042
  parallelEventPulls: z.ZodOptional<z.ZodObject<{
22627
24043
  value: z.ZodOptional<z.ZodNumber>;
22628
24044
  defaultValue: z.ZodOptional<z.ZodNumber>;
@@ -22829,115 +24245,8 @@ declare const ListOrgWorkspacesResponse: z.ZodObject<{
22829
24245
  unit: z.ZodEnum<typeof LimitUnits>;
22830
24246
  }, z.core.$strip>>;
22831
24247
  }, z.core.$strip>>;
22832
- settings: z.ZodOptional<z.ZodObject<{
22833
- enableApiLogs: z.ZodOptional<z.ZodBoolean>;
22834
- enableWebhookLogs: z.ZodOptional<z.ZodBoolean>;
22835
- enableActionRunLogs: z.ZodOptional<z.ZodBoolean>;
22836
- disableSecretKeyAuth: z.ZodOptional<z.ZodBoolean>;
22837
- useMembraneUniverse: z.ZodOptional<z.ZodBoolean>;
22838
- useRemoteRepository: z.ZodOptional<z.ZodBoolean>;
22839
- autoGenerateIntegrationsFromConnectors: z.ZodOptional<z.ZodBoolean>;
22840
- autoGenerateIntegrationsFromExternalApps: z.ZodOptional<z.ZodBoolean>;
22841
- autoGenerateIntegrationsFromWebSearch: z.ZodOptional<z.ZodBoolean>;
22842
- }, z.core.$strip>>;
22843
- publicKeys: z.ZodOptional<z.ZodArray<z.ZodObject<{
22844
- name: z.ZodString;
22845
- publicKey: z.ZodString;
22846
- }, z.core.$strip>>>;
22847
- userFieldsSchema: z.ZodOptional<z.ZodAny>;
22848
- webhookUri: z.ZodOptional<z.ZodString>;
22849
- enabledWebhookEvents: z.ZodOptional<z.ZodArray<z.ZodString>>;
22850
- alertDeliverySettings: z.ZodOptional<z.ZodObject<{
22851
- alertTypes: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
22852
- fileUploadsMbPerHour: AlertType.fileUploadsMbPerHour;
22853
- apiRequestsPerSecond: AlertType.apiRequestsPerSecond;
22854
- apiRequestsPerHour: AlertType.apiRequestsPerHour;
22855
- webhookRequestsPerSecond: AlertType.webhookRequestsPerSecond;
22856
- webhookRequestsPerHour: AlertType.webhookRequestsPerHour;
22857
- workspaceElementCreationsPerSecond: AlertType.workspaceElementCreationsPerSecond;
22858
- workspaceElementCreationsPerHour: AlertType.workspaceElementCreationsPerHour;
22859
- workspaceElementSearchIndexingPerMinute: AlertType.workspaceElementSearchIndexingPerMinute;
22860
- externalEventsPerCustomerPerDay: AlertType.externalEventsPerCustomerPerDay;
22861
- apiRequestsPerCustomerPerSecond: AlertType.apiRequestsPerCustomerPerSecond;
22862
- apiRequestsPerCustomerPerHour: AlertType.apiRequestsPerCustomerPerHour;
22863
- webhookRequestsPerCustomerPerSecond: AlertType.webhookRequestsPerCustomerPerSecond;
22864
- webhookRequestsPerCustomerPerHour: AlertType.webhookRequestsPerCustomerPerHour;
22865
- parallelApiRequestsPerCustomer: AlertType.parallelApiRequestsPerCustomer;
22866
- engineCreditsExhaustionProjected: AlertType.engineCreditsExhaustionProjected;
22867
- engineCreditsExhaustionActual: AlertType.engineCreditsExhaustionActual;
22868
- aiCreditsDebtAccumulated: AlertType.aiCreditsDebtAccumulated;
22869
- totalNumberOfDatabaseEntitiesPerCustomer: AlertType.totalNumberOfDatabaseEntitiesPerCustomer;
22870
- totalNumberOfCustomers: AlertType.totalNumberOfCustomers;
22871
- totalNumberOfConnections: AlertType.totalNumberOfConnections;
22872
- totalNumberOfWorkspaceElements: AlertType.totalNumberOfWorkspaceElements;
22873
- totalNumberOfWorkspaceDatabaseRecords: AlertType.totalNumberOfWorkspaceDatabaseRecords;
22874
- instantTasksQueueSize: AlertType.instantTasksQueueSize;
22875
- queuedTasksQueueSize: AlertType.queuedTasksQueueSize;
22876
- flowRunsQueueSizePerConnection: AlertType.flowRunsQueueSizePerConnection;
22877
- eventsProcessingQueueSizePerConnection: AlertType.eventsProcessingQueueSizePerConnection;
22878
- parallelApiRequests: AlertType.parallelApiRequests;
22879
- testAlert: AlertType.testAlert;
22880
- }>, z.ZodOptional<z.ZodObject<{
22881
- internal: z.ZodLiteral<true>;
22882
- webhook: z.ZodOptional<z.ZodObject<{
22883
- enabled: z.ZodBoolean;
22884
- }, z.core.$strip>>;
22885
- email: z.ZodOptional<z.ZodObject<{
22886
- enabled: z.ZodBoolean;
22887
- }, z.core.$strip>>;
22888
- }, z.core.$strip>>>>;
22889
- }, z.core.$strip>>;
22890
- jwksUri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22891
- type: z.ZodOptional<z.ZodEnum<typeof WorkspaceType>>;
22892
- isReadOnly: z.ZodOptional<z.ZodBoolean>;
22893
- }, z.core.$strip>>;
22894
- cursor: z.ZodOptional<z.ZodString>;
22895
- }, z.core.$strip>;
22896
- type ListOrgWorkspacesResponse = z.infer<typeof ListOrgWorkspacesResponse>;
22897
- declare const CreateOrgWorkspaceRequest: z.ZodObject<{
22898
- name: z.ZodOptional<z.ZodString>;
22899
- logoUri: z.ZodOptional<z.ZodString>;
22900
- orgId: z.ZodString;
22901
- membraneInstanceId: z.ZodOptional<z.ZodString>;
22902
- }, z.core.$strip>;
22903
- type CreateOrgWorkspaceRequest = z.infer<typeof CreateOrgWorkspaceRequest>;
22904
- declare const RotateOrgWorkspaceSecretResponse: z.ZodObject<{
22905
- secret: z.ZodString;
22906
- }, z.core.$strip>;
22907
- type RotateOrgWorkspaceSecretResponse = z.infer<typeof RotateOrgWorkspaceSecretResponse>;
22908
- declare const AccountResponse: z.ZodObject<{
22909
- user: z.ZodOptional<z.ZodObject<{
22910
- id: z.ZodString;
22911
- auth0Id: z.ZodOptional<z.ZodString>;
22912
- email: z.ZodString;
22913
- name: z.ZodString;
22914
- defaultAccountId: z.ZodOptional<z.ZodString>;
22915
- defaultWorkspaceId: z.ZodOptional<z.ZodString>;
22916
- isAdmin: z.ZodOptional<z.ZodBoolean>;
22917
- trialRequested: z.ZodBoolean;
22918
- pat: z.ZodOptional<z.ZodString>;
22919
- isEligible: z.ZodOptional<z.ZodBoolean>;
22920
- ineligibilityReason: z.ZodOptional<z.ZodEnum<{
22921
- disposable: "disposable";
22922
- blockedDomain: "blockedDomain";
22923
- }>>;
22924
- emailVerified: z.ZodOptional<z.ZodBoolean>;
22925
- isCompanyEmail: z.ZodOptional<z.ZodBoolean>;
22926
- }, z.core.$strip>>;
22927
- workspace: z.ZodOptional<z.ZodObject<{
22928
- id: z.ZodString;
22929
- name: z.ZodString;
22930
- orgId: z.ZodString;
22931
- apiBaseUri: z.ZodOptional<z.ZodString>;
22932
- key: z.ZodString;
22933
- secret: z.ZodString;
22934
- createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>>;
22935
- updatedAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>>;
22936
- engineAccessToken: z.ZodOptional<z.ZodString>;
22937
- trialEndDate: z.ZodOptional<z.ZodString>;
22938
- featureFlags: z.ZodOptional<z.ZodArray<z.ZodString>>;
22939
- logoUri: z.ZodOptional<z.ZodString>;
22940
- 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>;
22941
24250
  limits: z.ZodOptional<z.ZodObject<{
22942
24251
  parallelEventPulls: z.ZodOptional<z.ZodObject<{
22943
24252
  value: z.ZodOptional<z.ZodNumber>;
@@ -23595,6 +24904,7 @@ declare const AccountResponse: z.ZodObject<{
23595
24904
  engineAutoChargeThreshold: z.ZodOptional<z.ZodNumber>;
23596
24905
  engineAutoChargePurchaseAmount: z.ZodOptional<z.ZodNumber>;
23597
24906
  engineAutoChargeMonthlyLimit: z.ZodOptional<z.ZodNumber>;
24907
+ currentUserCanLeave: z.ZodOptional<z.ZodBoolean>;
23598
24908
  }, z.core.$strip>>>;
23599
24909
  permissions: z.ZodOptional<z.ZodArray<z.ZodString>>;
23600
24910
  authContextPermissions: z.ZodOptional<z.ZodObject<{
@@ -24332,6 +25642,9 @@ declare const AI_GATEWAY_SUPPORTED_MODELS: readonly [{
24332
25642
  }, {
24333
25643
  readonly id: "anthropic/claude-opus-4.5";
24334
25644
  readonly name: "Claude Opus 4.5";
25645
+ }, {
25646
+ readonly id: "anthropic/claude-haiku-4.5";
25647
+ readonly name: "Claude Haiku 4.5";
24335
25648
  }, {
24336
25649
  readonly id: "openai/gpt-5.2";
24337
25650
  readonly name: "GPT-5.2";
@@ -24351,6 +25664,7 @@ declare const AIGatewaySupportedModelIdSchema: z.ZodEnum<{
24351
25664
  "anthropic/claude-opus-4.6": "anthropic/claude-opus-4.6";
24352
25665
  "anthropic/claude-sonnet-4.5": "anthropic/claude-sonnet-4.5";
24353
25666
  "anthropic/claude-opus-4.5": "anthropic/claude-opus-4.5";
25667
+ "anthropic/claude-haiku-4.5": "anthropic/claude-haiku-4.5";
24354
25668
  "openai/gpt-5.2": "openai/gpt-5.2";
24355
25669
  "openai/gpt-5-nano": "openai/gpt-5-nano";
24356
25670
  "google/gemini-3-pro-preview": "google/gemini-3-pro-preview";
@@ -24790,7 +26104,7 @@ declare const SessionParameters: z.ZodObject<{
24790
26104
  }, z.core.$strip>>;
24791
26105
  apiUri: z.ZodOptional<z.ZodString>;
24792
26106
  prompt: z.ZodOptional<z.ZodString>;
24793
- elementType: z.ZodOptional<z.ZodString>;
26107
+ elementType: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementType>>;
24794
26108
  elementId: z.ZodOptional<z.ZodString>;
24795
26109
  customerId: z.ZodOptional<z.ZodString>;
24796
26110
  opencodeSessionUuid: z.ZodOptional<z.ZodString>;
@@ -25050,6 +26364,56 @@ declare const AsyncRequestTriggerResponse: z.ZodObject<{
25050
26364
  accessKey: z.ZodString;
25051
26365
  }, z.core.$strip>;
25052
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>;
25053
26417
 
25054
26418
  declare const SelfHostingToken: z.ZodObject<{
25055
26419
  id: z.ZodString;
@@ -25089,81 +26453,136 @@ declare const ValidateSelfHostingTokenResponse: z.ZodObject<{
25089
26453
  }, z.core.$strip>;
25090
26454
  type ValidateSelfHostingTokenResponse = z.infer<typeof ValidateSelfHostingTokenResponse>;
25091
26455
 
25092
- declare const CLIENT_TOKEN_GRANT_TYPES: readonly ["mcp-oauth", "cli-oauth", "agent-session", "api"];
25093
- 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<{
25094
26500
  api: "api";
25095
26501
  "agent-session": "agent-session";
25096
26502
  "mcp-oauth": "mcp-oauth";
25097
- "cli-oauth": "cli-oauth";
25098
26503
  }>;
25099
- type ClientTokenGrantType = z.infer<typeof ClientTokenGrantType>;
25100
- declare const ClientToken: z.ZodObject<{
26504
+ type WorkspaceTokenGrantType = z.infer<typeof WorkspaceTokenGrantType>;
26505
+ declare const WorkspaceToken: z.ZodObject<{
25101
26506
  id: z.ZodString;
25102
- workspaceId: z.ZodOptional<z.ZodString>;
25103
- platformUserId: z.ZodOptional<z.ZodString>;
26507
+ workspaceId: z.ZodString;
25104
26508
  tenantId: z.ZodOptional<z.ZodString>;
26509
+ platformUserId: z.ZodOptional<z.ZodString>;
25105
26510
  grantType: z.ZodEnum<{
25106
26511
  api: "api";
25107
26512
  "agent-session": "agent-session";
25108
26513
  "mcp-oauth": "mcp-oauth";
25109
- "cli-oauth": "cli-oauth";
25110
26514
  }>;
25111
26515
  grantId: z.ZodOptional<z.ZodString>;
25112
26516
  grantName: z.ZodOptional<z.ZodString>;
25113
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>>;
25114
26523
  createdAt: z.ZodString;
26524
+ lastUsedDate: z.ZodOptional<z.ZodString>;
25115
26525
  }, z.core.$strip>;
25116
- type ClientToken = z.infer<typeof ClientToken>;
25117
- declare const CreateClientTokenResponse: z.ZodObject<{
26526
+ type WorkspaceToken = z.infer<typeof WorkspaceToken>;
26527
+ declare const CreateWorkspaceTokenResponse: z.ZodObject<{
25118
26528
  id: z.ZodString;
25119
- workspaceId: z.ZodOptional<z.ZodString>;
25120
- platformUserId: z.ZodOptional<z.ZodString>;
26529
+ workspaceId: z.ZodString;
25121
26530
  tenantId: z.ZodOptional<z.ZodString>;
26531
+ platformUserId: z.ZodOptional<z.ZodString>;
25122
26532
  grantType: z.ZodEnum<{
25123
26533
  api: "api";
25124
26534
  "agent-session": "agent-session";
25125
26535
  "mcp-oauth": "mcp-oauth";
25126
- "cli-oauth": "cli-oauth";
25127
26536
  }>;
25128
26537
  grantId: z.ZodOptional<z.ZodString>;
25129
26538
  grantName: z.ZodOptional<z.ZodString>;
25130
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>>;
25131
26545
  createdAt: z.ZodString;
26546
+ lastUsedDate: z.ZodOptional<z.ZodString>;
25132
26547
  accessToken: z.ZodString;
25133
26548
  }, z.core.$strip>;
25134
- type CreateClientTokenResponse = z.infer<typeof CreateClientTokenResponse>;
25135
- declare const CreateClientTokenRequest: z.ZodObject<{
26549
+ type CreateWorkspaceTokenResponse = z.infer<typeof CreateWorkspaceTokenResponse>;
26550
+ declare const CreateWorkspaceTokenRequest: z.ZodObject<{
25136
26551
  grantType: z.ZodEnum<{
25137
26552
  api: "api";
25138
26553
  "agent-session": "agent-session";
25139
26554
  "mcp-oauth": "mcp-oauth";
25140
- "cli-oauth": "cli-oauth";
25141
26555
  }>;
25142
26556
  grantId: z.ZodString;
25143
26557
  grantName: z.ZodString;
25144
26558
  tenantId: z.ZodOptional<z.ZodString>;
25145
26559
  clientKey: z.ZodOptional<z.ZodString>;
25146
26560
  }, z.core.$strip>;
25147
- type CreateClientTokenRequest = z.infer<typeof CreateClientTokenRequest>;
25148
- declare const ClientTokenListResponse: z.ZodObject<{
26561
+ type CreateWorkspaceTokenRequest = z.infer<typeof CreateWorkspaceTokenRequest>;
26562
+ declare const WorkspaceTokenListResponse: z.ZodObject<{
25149
26563
  items: z.ZodArray<z.ZodObject<{
25150
26564
  id: z.ZodString;
25151
- workspaceId: z.ZodOptional<z.ZodString>;
25152
- platformUserId: z.ZodOptional<z.ZodString>;
26565
+ workspaceId: z.ZodString;
25153
26566
  tenantId: z.ZodOptional<z.ZodString>;
26567
+ platformUserId: z.ZodOptional<z.ZodString>;
25154
26568
  grantType: z.ZodEnum<{
25155
26569
  api: "api";
25156
26570
  "agent-session": "agent-session";
25157
26571
  "mcp-oauth": "mcp-oauth";
25158
- "cli-oauth": "cli-oauth";
25159
26572
  }>;
25160
26573
  grantId: z.ZodOptional<z.ZodString>;
25161
26574
  grantName: z.ZodOptional<z.ZodString>;
25162
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>>;
25163
26581
  createdAt: z.ZodString;
26582
+ lastUsedDate: z.ZodOptional<z.ZodString>;
25164
26583
  }, z.core.$strip>>;
25165
26584
  }, z.core.$strip>;
25166
- type ClientTokenListResponse = z.infer<typeof ClientTokenListResponse>;
26585
+ type WorkspaceTokenListResponse = z.infer<typeof WorkspaceTokenListResponse>;
25167
26586
 
25168
26587
  declare const MEMBRANE_CLI_CLIENT_ID: "membrane-cli";
25169
26588
  declare const OAUTH_TOKEN_TYPE_PLATFORM_USER: "platform-user";
@@ -25171,11 +26590,20 @@ declare const OAUTH_TOKEN_TYPE_TENANT: "tenant";
25171
26590
  declare const OAUTH_TOKEN_TYPE_CONNECTION: "connection";
25172
26591
  declare const OAUTH_TOKEN_TYPES: readonly ["platform-user", "tenant", "connection"];
25173
26592
  type OAuthTokenType = (typeof OAUTH_TOKEN_TYPES)[number];
25174
- interface AuthContextSettings {
25175
- defaultWorkspaceKey?: string;
25176
- defaultTenantKey?: string;
25177
- connectionId?: string;
25178
- }
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>;
25179
26607
  declare const OAuthTokenResponse: z.ZodObject<{
25180
26608
  access_token: z.ZodString;
25181
26609
  token_type: z.ZodString;
@@ -25286,6 +26714,8 @@ declare const MembraneInstanceAdmin: z.ZodObject<{
25286
26714
  helmValuesPath: z.ZodOptional<z.ZodURL>;
25287
26715
  awsAccountName: z.ZodOptional<z.ZodString>;
25288
26716
  awsSsoUrl: z.ZodOptional<z.ZodURL>;
26717
+ sentryConsoleProjectId: z.ZodOptional<z.ZodString>;
26718
+ sentryApiProjectId: z.ZodOptional<z.ZodString>;
25289
26719
  }, z.core.$strip>;
25290
26720
  type MembraneInstanceAdmin = z.infer<typeof MembraneInstanceAdmin>;
25291
26721
  declare const CreateMembraneInstanceRequest: z.ZodObject<{
@@ -25308,6 +26738,8 @@ declare const UpdateMembraneInstanceRequest: z.ZodObject<{
25308
26738
  helmValuesPath: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
25309
26739
  awsAccountName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25310
26740
  awsSsoUrl: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
26741
+ sentryConsoleProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26742
+ sentryApiProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25311
26743
  }, z.core.$strict>;
25312
26744
  type UpdateMembraneInstanceRequest = z.infer<typeof UpdateMembraneInstanceRequest>;
25313
26745
  declare const ListMembraneInstancesQuery: z.ZodObject<{
@@ -25443,5 +26875,5 @@ declare class MembraneClient extends MembraneApiClient {
25443
26875
  connectionRequest(connectionId: string, uri: string, data?: any): Promise<any>;
25444
26876
  }
25445
26877
 
25446
- 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 };
25447
- 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 };