@membranehq/sdk 0.28.1 → 0.28.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. package/dist/bundle.d.ts +47 -4
  2. package/dist/bundle.js +73 -7
  3. package/dist/bundle.js.map +1 -1
  4. package/dist/dts/accessors/actions-accessors.d.ts +1 -0
  5. package/dist/dts/accessors/connections-accessors.d.ts +2 -0
  6. package/dist/dts/accessors/integrations-accessors.d.ts +1 -0
  7. package/dist/dts/agent/session.d.ts +10 -1
  8. package/dist/dts/ai-gateway/models.d.ts +43 -0
  9. package/dist/dts/ai-gateway/models.test.d.ts +1 -0
  10. package/dist/dts/alerts/types.d.ts +7 -0
  11. package/dist/dts/api-client.d.ts +22 -3
  12. package/dist/dts/index.browser.d.ts +1 -0
  13. package/dist/dts/membrane-instances/types.d.ts +19 -35
  14. package/dist/dts/membrane-instances/types.test.d.ts +1 -0
  15. package/dist/dts/orgs/types.d.ts +55 -11
  16. package/dist/dts/webhooks/types.d.ts +3 -2
  17. package/dist/dts/workspace-elements/api/act-api.d.ts +33 -0
  18. package/dist/dts/workspace-elements/api/action-run-log-records-api.d.ts +2 -0
  19. package/dist/dts/workspace-elements/api/actions-api.d.ts +3 -0
  20. package/dist/dts/workspace-elements/api/connections-api.d.ts +9 -0
  21. package/dist/dts/workspace-elements/api/data-link-table-instances-api.d.ts +2 -0
  22. package/dist/dts/workspace-elements/api/data-sources-api.d.ts +4 -0
  23. package/dist/dts/workspace-elements/api/external-api-logs-api.d.ts +1 -0
  24. package/dist/dts/workspace-elements/api/external-event-log-records-api.d.ts +1 -0
  25. package/dist/dts/workspace-elements/api/external-event-pulls-api.d.ts +1 -0
  26. package/dist/dts/workspace-elements/api/external-event-subscriptions-api.d.ts +4 -1
  27. package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +4 -0
  28. package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +2 -0
  29. package/dist/dts/workspace-elements/api/flows-api.d.ts +3 -0
  30. package/dist/dts/workspace-elements/api/incoming-webhooks-api.d.ts +1 -0
  31. package/dist/dts/workspace-elements/api/index.d.ts +1 -0
  32. package/dist/dts/workspace-elements/api/integrations-api.d.ts +112 -0
  33. package/dist/dts/workspace-elements/api/packages-api.d.ts +1 -0
  34. package/dist/dts/workspace-elements/base/connection-requests/index.d.ts +2 -0
  35. package/dist/dts/workspace-elements/base/connections/index.d.ts +2 -0
  36. package/dist/dts/workspace-elements/types.d.ts +4 -1
  37. package/dist/dts/workspaces/api.d.ts +20 -0
  38. package/dist/dts/workspaces/compare.d.ts +2 -0
  39. package/dist/dts/workspaces/types.d.ts +29 -0
  40. package/dist/index.browser.d.mts +403 -55
  41. package/dist/index.browser.d.ts +403 -55
  42. package/dist/index.browser.js +230 -25
  43. package/dist/index.browser.js.map +1 -1
  44. package/dist/index.browser.mjs +220 -26
  45. package/dist/index.browser.mjs.map +1 -1
  46. package/dist/index.node.d.mts +403 -55
  47. package/dist/index.node.d.ts +403 -55
  48. package/dist/index.node.js +230 -25
  49. package/dist/index.node.js.map +1 -1
  50. package/dist/index.node.mjs +220 -26
  51. package/dist/index.node.mjs.map +1 -1
  52. package/package.json +1 -1
@@ -13,6 +13,7 @@ export declare class ActionAccessor<RunInput = any, RunOutput = any> extends Ele
13
13
  run(input?: RunInput, options?: {
14
14
  integrationKey?: string;
15
15
  connectionId?: string;
16
+ connectionKey?: string;
16
17
  }): Promise<ActionRunResponse<RunOutput>>;
17
18
  }
18
19
  export declare class IntegrationLevelActionAccessor extends IntegrationLevelElementAccessor<ActionApiResponse, UpdateActionRequest> {
@@ -46,6 +46,7 @@ export declare class ConnectionAccessor {
46
46
  createdAt: string;
47
47
  updatedAt: string;
48
48
  userId: string;
49
+ key?: string | undefined;
49
50
  isTest?: boolean | undefined;
50
51
  connected?: boolean | undefined;
51
52
  disconnected?: boolean | undefined;
@@ -179,6 +180,7 @@ export declare function createOrUpdateConnection(options: {
179
180
  connectorId?: string;
180
181
  connectorVersion?: string;
181
182
  connectionId?: string;
183
+ connectionKey?: string;
182
184
  allowMultipleConnections?: boolean;
183
185
  connectionRequestId?: string;
184
186
  apiUri: string;
@@ -53,6 +53,7 @@ export declare class IntegrationAccessor extends ElementAccessor<IntegrationApiR
53
53
  createdAt: string;
54
54
  updatedAt: string;
55
55
  userId: string;
56
+ key?: string | undefined;
56
57
  isTest?: boolean | undefined;
57
58
  connected?: boolean | undefined;
58
59
  disconnected?: boolean | undefined;
@@ -58,7 +58,16 @@ export declare const CreateAgentSession: z.ZodObject<{
58
58
  prompt: z.ZodString;
59
59
  testCustomerId: z.ZodOptional<z.ZodString>;
60
60
  isExternal: z.ZodOptional<z.ZodBoolean>;
61
- modelId: z.ZodOptional<z.ZodString>;
61
+ modelId: z.ZodOptional<z.ZodEnum<{
62
+ "anthropic/claude-sonnet-4.6": "anthropic/claude-sonnet-4.6";
63
+ "anthropic/claude-opus-4.6": "anthropic/claude-opus-4.6";
64
+ "anthropic/claude-sonnet-4.5": "anthropic/claude-sonnet-4.5";
65
+ "anthropic/claude-opus-4.5": "anthropic/claude-opus-4.5";
66
+ "openai/gpt-5.2": "openai/gpt-5.2";
67
+ "openai/gpt-5-nano": "openai/gpt-5-nano";
68
+ "google/gemini-3-pro-preview": "google/gemini-3-pro-preview";
69
+ "moonshotai/kimi-k2.5": "moonshotai/kimi-k2.5";
70
+ }>>;
62
71
  agentName: z.ZodOptional<z.ZodEnum<typeof AgentName>>;
63
72
  promptAttachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
64
73
  title: z.ZodString;
@@ -0,0 +1,43 @@
1
+ import { z } from 'zod';
2
+ export declare const AI_GATEWAY_SUPPORTED_MODELS: readonly [{
3
+ readonly id: "anthropic/claude-sonnet-4.6";
4
+ readonly name: "Claude Sonnet 4.6";
5
+ }, {
6
+ readonly id: "anthropic/claude-opus-4.6";
7
+ readonly name: "Claude Opus 4.6";
8
+ }, {
9
+ readonly id: "anthropic/claude-sonnet-4.5";
10
+ readonly name: "Claude Sonnet 4.5";
11
+ }, {
12
+ readonly id: "anthropic/claude-opus-4.5";
13
+ readonly name: "Claude Opus 4.5";
14
+ }, {
15
+ readonly id: "openai/gpt-5.2";
16
+ readonly name: "GPT-5.2";
17
+ }, {
18
+ readonly id: "openai/gpt-5-nano";
19
+ readonly name: "GPT-5 Nano";
20
+ }, {
21
+ readonly id: "google/gemini-3-pro-preview";
22
+ readonly name: "Gemini 3 Pro";
23
+ }, {
24
+ readonly id: "moonshotai/kimi-k2.5";
25
+ readonly name: "Kimi K2.5";
26
+ }];
27
+ export declare const AI_GATEWAY_SUPPORTED_MODEL_IDS: [(typeof AI_GATEWAY_SUPPORTED_MODELS)[number]["id"], ...(typeof AI_GATEWAY_SUPPORTED_MODELS)[number]["id"][]];
28
+ export declare const AIGatewaySupportedModelIdSchema: z.ZodEnum<{
29
+ "anthropic/claude-sonnet-4.6": "anthropic/claude-sonnet-4.6";
30
+ "anthropic/claude-opus-4.6": "anthropic/claude-opus-4.6";
31
+ "anthropic/claude-sonnet-4.5": "anthropic/claude-sonnet-4.5";
32
+ "anthropic/claude-opus-4.5": "anthropic/claude-opus-4.5";
33
+ "openai/gpt-5.2": "openai/gpt-5.2";
34
+ "openai/gpt-5-nano": "openai/gpt-5-nano";
35
+ "google/gemini-3-pro-preview": "google/gemini-3-pro-preview";
36
+ "moonshotai/kimi-k2.5": "moonshotai/kimi-k2.5";
37
+ }>;
38
+ export type AIGatewaySupportedModelId = z.infer<typeof AIGatewaySupportedModelIdSchema>;
39
+ export declare const DEFAULT_AI_GATEWAY_MODEL_ID: AIGatewaySupportedModelId;
40
+ export declare const AI_GATEWAY_PROVIDER_MODELS: Readonly<Record<AIGatewaySupportedModelId, {
41
+ name: string;
42
+ }>>;
43
+ export declare function isAIGatewaySupportedModelId(modelId: string): modelId is AIGatewaySupportedModelId;
@@ -0,0 +1 @@
1
+ export {};
@@ -24,6 +24,7 @@ export declare enum AlertType {
24
24
  parallelApiRequestsPerCustomer = "parallelApiRequestsPerCustomer",
25
25
  engineCreditsExhaustionProjected = "engineCreditsExhaustionProjected",
26
26
  engineCreditsExhaustionActual = "engineCreditsExhaustionActual",
27
+ aiCreditsDebtAccumulated = "aiCreditsDebtAccumulated",
27
28
  totalNumberOfDatabaseEntitiesPerCustomer = "totalNumberOfDatabaseEntitiesPerCustomer",
28
29
  totalNumberOfCustomers = "totalNumberOfCustomers",
29
30
  totalNumberOfConnections = "totalNumberOfConnections",
@@ -60,6 +61,7 @@ export declare const ALERT_TYPE_CATEGORIES: {
60
61
  readonly parallelApiRequestsPerCustomer: AlertCategory.CUSTOMER_RATE_LIMIT;
61
62
  readonly engineCreditsExhaustionProjected: AlertCategory.USAGE;
62
63
  readonly engineCreditsExhaustionActual: AlertCategory.USAGE;
64
+ readonly aiCreditsDebtAccumulated: AlertCategory.USAGE;
63
65
  readonly totalNumberOfDatabaseEntitiesPerCustomer: AlertCategory.WORKSPACE_SIZE;
64
66
  readonly testAlert: AlertCategory.TEST;
65
67
  readonly totalNumberOfCustomers: AlertCategory.WORKSPACE_SIZE;
@@ -105,6 +107,7 @@ export declare const Alert: z.ZodObject<{
105
107
  parallelApiRequestsPerCustomer: AlertType.parallelApiRequestsPerCustomer;
106
108
  engineCreditsExhaustionProjected: AlertType.engineCreditsExhaustionProjected;
107
109
  engineCreditsExhaustionActual: AlertType.engineCreditsExhaustionActual;
110
+ aiCreditsDebtAccumulated: AlertType.aiCreditsDebtAccumulated;
108
111
  totalNumberOfDatabaseEntitiesPerCustomer: AlertType.totalNumberOfDatabaseEntitiesPerCustomer;
109
112
  totalNumberOfCustomers: AlertType.totalNumberOfCustomers;
110
113
  totalNumberOfConnections: AlertType.totalNumberOfConnections;
@@ -155,6 +158,7 @@ export declare const AlertSchema: z.ZodObject<{
155
158
  parallelApiRequestsPerCustomer: AlertType.parallelApiRequestsPerCustomer;
156
159
  engineCreditsExhaustionProjected: AlertType.engineCreditsExhaustionProjected;
157
160
  engineCreditsExhaustionActual: AlertType.engineCreditsExhaustionActual;
161
+ aiCreditsDebtAccumulated: AlertType.aiCreditsDebtAccumulated;
158
162
  totalNumberOfDatabaseEntitiesPerCustomer: AlertType.totalNumberOfDatabaseEntitiesPerCustomer;
159
163
  totalNumberOfCustomers: AlertType.totalNumberOfCustomers;
160
164
  totalNumberOfConnections: AlertType.totalNumberOfConnections;
@@ -214,6 +218,7 @@ export declare const AlertDeliverySettingsSchema: z.ZodObject<{
214
218
  parallelApiRequestsPerCustomer: AlertType.parallelApiRequestsPerCustomer;
215
219
  engineCreditsExhaustionProjected: AlertType.engineCreditsExhaustionProjected;
216
220
  engineCreditsExhaustionActual: AlertType.engineCreditsExhaustionActual;
221
+ aiCreditsDebtAccumulated: AlertType.aiCreditsDebtAccumulated;
217
222
  totalNumberOfDatabaseEntitiesPerCustomer: AlertType.totalNumberOfDatabaseEntitiesPerCustomer;
218
223
  totalNumberOfCustomers: AlertType.totalNumberOfCustomers;
219
224
  totalNumberOfConnections: AlertType.totalNumberOfConnections;
@@ -265,6 +270,7 @@ export declare const FindAlertsQuery: z.ZodObject<{
265
270
  parallelApiRequestsPerCustomer: AlertType.parallelApiRequestsPerCustomer;
266
271
  engineCreditsExhaustionProjected: AlertType.engineCreditsExhaustionProjected;
267
272
  engineCreditsExhaustionActual: AlertType.engineCreditsExhaustionActual;
273
+ aiCreditsDebtAccumulated: AlertType.aiCreditsDebtAccumulated;
268
274
  totalNumberOfDatabaseEntitiesPerCustomer: AlertType.totalNumberOfDatabaseEntitiesPerCustomer;
269
275
  totalNumberOfCustomers: AlertType.totalNumberOfCustomers;
270
276
  totalNumberOfConnections: AlertType.totalNumberOfConnections;
@@ -301,6 +307,7 @@ export declare const CreateAlert: z.ZodObject<{
301
307
  parallelApiRequestsPerCustomer: AlertType.parallelApiRequestsPerCustomer;
302
308
  engineCreditsExhaustionProjected: AlertType.engineCreditsExhaustionProjected;
303
309
  engineCreditsExhaustionActual: AlertType.engineCreditsExhaustionActual;
310
+ aiCreditsDebtAccumulated: AlertType.aiCreditsDebtAccumulated;
304
311
  totalNumberOfDatabaseEntitiesPerCustomer: AlertType.totalNumberOfDatabaseEntitiesPerCustomer;
305
312
  totalNumberOfCustomers: AlertType.totalNumberOfCustomers;
306
313
  totalNumberOfConnections: AlertType.totalNumberOfConnections;
@@ -3,24 +3,42 @@ import { LogRecord } from './logging';
3
3
  export declare const axios: import("axios").AxiosInstance;
4
4
  export declare const DEFAULT_API_URI = "https://api.getmembrane.com";
5
5
  export declare const DEFAULT_UI_URI = "https://ui.getmembrane.com";
6
- export interface MembraneClientOptions {
7
- token?: string;
8
- fetchToken?: () => Promise<string>;
6
+ interface BaseClientOptions {
9
7
  credentials?: any;
10
8
  fetchCredentials?: () => Promise<any>;
11
9
  apiUri?: string;
12
10
  uiUri?: string;
11
+ }
12
+ interface TokenBasedClientOptions extends BaseClientOptions {
13
+ token?: string;
14
+ fetchToken?: () => Promise<string>;
15
+ workspaceKey?: never;
16
+ workspaceSecret?: never;
17
+ tenantKey?: never;
13
18
  accessToken?: string;
14
19
  }
20
+ interface WorkspaceCredentialClientOptions extends BaseClientOptions {
21
+ token?: never;
22
+ fetchToken?: never;
23
+ workspaceKey: string;
24
+ workspaceSecret: string;
25
+ tenantKey: string;
26
+ accessToken?: never;
27
+ }
28
+ export type MembraneClientOptions = TokenBasedClientOptions | WorkspaceCredentialClientOptions;
15
29
  export declare class MembraneApiClient {
16
30
  apiUri: string;
17
31
  uiUri: string;
18
32
  token?: string;
19
33
  protected fetchToken?: () => Promise<string>;
20
34
  private logs;
35
+ private _workspaceKey?;
36
+ private _workspaceSecret?;
37
+ private _tenantKey?;
21
38
  constructor(options?: MembraneClientOptions);
22
39
  setCredentials(credentials: any): Promise<any>;
23
40
  getToken(): Promise<string>;
41
+ private mintToken;
24
42
  get<T = any>(uri: string, queryParams?: Record<string, any>, options?: AxiosRequestConfig): Promise<T>;
25
43
  post<T = any>(uri: string, data?: any, options?: AxiosRequestConfig): Promise<T>;
26
44
  put<T = any>(uri: string, data?: any, options?: AxiosRequestConfig): Promise<T>;
@@ -42,3 +60,4 @@ export declare class MembraneApiClient {
42
60
  private log;
43
61
  private handleRequestError;
44
62
  }
63
+ export {};
@@ -13,6 +13,7 @@ export * from './data-schema';
13
13
  export * from './data-schema-utils';
14
14
  export * from './date-time';
15
15
  export * from './api';
16
+ export * from './ai-gateway/models';
16
17
  export * from './stats';
17
18
  export * from './http-requests';
18
19
  export * from './integration-elements';
@@ -21,6 +21,24 @@ export declare const MembraneInstance: z.ZodObject<{
21
21
  lastReportedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
22
22
  activeTenants: z.ZodOptional<z.ZodNumber>;
23
23
  billableTenants: z.ZodOptional<z.ZodNumber>;
24
+ }, z.core.$strip>;
25
+ export type MembraneInstanceDto = z.infer<typeof MembraneInstance>;
26
+ export declare const MembraneInstanceAdmin: z.ZodObject<{
27
+ id: z.ZodString;
28
+ name: z.ZodString;
29
+ apiBaseUri: z.ZodString;
30
+ consoleBaseUri: z.ZodOptional<z.ZodString>;
31
+ orgId: z.ZodOptional<z.ZodString>;
32
+ type: z.ZodOptional<z.ZodString>;
33
+ engineVersion: z.ZodOptional<z.ZodString>;
34
+ commitSHA: z.ZodOptional<z.ZodString>;
35
+ buildDate: z.ZodOptional<z.ZodString>;
36
+ cloudProvider: z.ZodOptional<z.ZodString>;
37
+ lastReportedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
38
+ activeTenants: z.ZodOptional<z.ZodNumber>;
39
+ billableTenants: z.ZodOptional<z.ZodNumber>;
40
+ orgName: z.ZodOptional<z.ZodString>;
41
+ workspaceCount: z.ZodOptional<z.ZodNumber>;
24
42
  clusterName: z.ZodOptional<z.ZodString>;
25
43
  argoCdUrl: z.ZodOptional<z.ZodURL>;
26
44
  grafanaUrl: z.ZodOptional<z.ZodURL>;
@@ -30,7 +48,7 @@ export declare const MembraneInstance: z.ZodObject<{
30
48
  awsAccountName: z.ZodOptional<z.ZodString>;
31
49
  awsSsoUrl: z.ZodOptional<z.ZodURL>;
32
50
  }, z.core.$strip>;
33
- export type MembraneInstanceDto = z.infer<typeof MembraneInstance>;
51
+ export type MembraneInstanceAdmin = z.infer<typeof MembraneInstanceAdmin>;
34
52
  export declare const CreateMembraneInstanceRequest: z.ZodObject<{
35
53
  name: z.ZodString;
36
54
  apiBaseUri: z.ZodString;
@@ -74,41 +92,7 @@ export declare const ListMembraneInstancesResponse: z.ZodObject<{
74
92
  lastReportedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
75
93
  activeTenants: z.ZodOptional<z.ZodNumber>;
76
94
  billableTenants: z.ZodOptional<z.ZodNumber>;
77
- clusterName: z.ZodOptional<z.ZodString>;
78
- argoCdUrl: z.ZodOptional<z.ZodURL>;
79
- grafanaUrl: z.ZodOptional<z.ZodURL>;
80
- mongoAtlasUrl: z.ZodOptional<z.ZodURL>;
81
- helmBranch: z.ZodOptional<z.ZodString>;
82
- helmValuesPath: z.ZodOptional<z.ZodURL>;
83
- awsAccountName: z.ZodOptional<z.ZodString>;
84
- awsSsoUrl: z.ZodOptional<z.ZodURL>;
85
95
  }, z.core.$strip>>;
86
96
  cursor: z.ZodOptional<z.ZodString>;
87
97
  }, z.core.$strip>;
88
98
  export type ListMembraneInstancesResponse = z.infer<typeof ListMembraneInstancesResponse>;
89
- export declare const MembraneInstanceAdmin: z.ZodObject<{
90
- id: z.ZodString;
91
- name: z.ZodString;
92
- apiBaseUri: z.ZodString;
93
- consoleBaseUri: z.ZodOptional<z.ZodString>;
94
- orgId: z.ZodOptional<z.ZodString>;
95
- type: z.ZodOptional<z.ZodString>;
96
- engineVersion: z.ZodOptional<z.ZodString>;
97
- commitSHA: z.ZodOptional<z.ZodString>;
98
- buildDate: z.ZodOptional<z.ZodString>;
99
- cloudProvider: z.ZodOptional<z.ZodString>;
100
- lastReportedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
101
- activeTenants: z.ZodOptional<z.ZodNumber>;
102
- billableTenants: z.ZodOptional<z.ZodNumber>;
103
- clusterName: z.ZodOptional<z.ZodString>;
104
- argoCdUrl: z.ZodOptional<z.ZodURL>;
105
- grafanaUrl: z.ZodOptional<z.ZodURL>;
106
- mongoAtlasUrl: z.ZodOptional<z.ZodURL>;
107
- helmBranch: z.ZodOptional<z.ZodString>;
108
- helmValuesPath: z.ZodOptional<z.ZodURL>;
109
- awsAccountName: z.ZodOptional<z.ZodString>;
110
- awsSsoUrl: z.ZodOptional<z.ZodURL>;
111
- orgName: z.ZodOptional<z.ZodString>;
112
- workspaceCount: z.ZodOptional<z.ZodNumber>;
113
- }, z.core.$strip>;
114
- export type MembraneInstanceAdmin = z.infer<typeof MembraneInstanceAdmin>;
@@ -0,0 +1 @@
1
+ export {};
@@ -255,6 +255,11 @@ export declare const WorkspaceEditableFields: z.ZodObject<{
255
255
  defaultValue: z.ZodOptional<z.ZodNumber>;
256
256
  unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
257
257
  }, z.core.$strip>>;
258
+ flowRunsQueueSizePerConnection: z.ZodOptional<z.ZodObject<{
259
+ value: z.ZodOptional<z.ZodNumber>;
260
+ defaultValue: z.ZodOptional<z.ZodNumber>;
261
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
262
+ }, z.core.$strip>>;
258
263
  instantTasksQueueSize: z.ZodOptional<z.ZodObject<{
259
264
  value: z.ZodOptional<z.ZodNumber>;
260
265
  defaultValue: z.ZodOptional<z.ZodNumber>;
@@ -323,6 +328,9 @@ export declare const WorkspaceEditableFields: z.ZodObject<{
323
328
  disableSecretKeyAuth: z.ZodOptional<z.ZodBoolean>;
324
329
  useMembraneUniverse: z.ZodOptional<z.ZodBoolean>;
325
330
  useRemoteRepository: z.ZodOptional<z.ZodBoolean>;
331
+ autoGenerateIntegrationsFromConnectors: z.ZodOptional<z.ZodBoolean>;
332
+ autoGenerateIntegrationsFromExternalApps: z.ZodOptional<z.ZodBoolean>;
333
+ autoGenerateIntegrationsFromWebSearch: z.ZodOptional<z.ZodBoolean>;
326
334
  }, z.core.$strip>>;
327
335
  publicKeys: z.ZodOptional<z.ZodArray<z.ZodObject<{
328
336
  name: z.ZodString;
@@ -349,6 +357,7 @@ export declare const WorkspaceEditableFields: z.ZodObject<{
349
357
  parallelApiRequestsPerCustomer: import("../alerts").AlertType.parallelApiRequestsPerCustomer;
350
358
  engineCreditsExhaustionProjected: import("../alerts").AlertType.engineCreditsExhaustionProjected;
351
359
  engineCreditsExhaustionActual: import("../alerts").AlertType.engineCreditsExhaustionActual;
360
+ aiCreditsDebtAccumulated: import("../alerts").AlertType.aiCreditsDebtAccumulated;
352
361
  totalNumberOfDatabaseEntitiesPerCustomer: import("../alerts").AlertType.totalNumberOfDatabaseEntitiesPerCustomer;
353
362
  totalNumberOfCustomers: import("../alerts").AlertType.totalNumberOfCustomers;
354
363
  totalNumberOfConnections: import("../alerts").AlertType.totalNumberOfConnections;
@@ -530,6 +539,11 @@ export declare const OrgWorkspace: z.ZodObject<{
530
539
  defaultValue: z.ZodOptional<z.ZodNumber>;
531
540
  unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
532
541
  }, z.core.$strip>>;
542
+ flowRunsQueueSizePerConnection: z.ZodOptional<z.ZodObject<{
543
+ value: z.ZodOptional<z.ZodNumber>;
544
+ defaultValue: z.ZodOptional<z.ZodNumber>;
545
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
546
+ }, z.core.$strip>>;
533
547
  instantTasksQueueSize: z.ZodOptional<z.ZodObject<{
534
548
  value: z.ZodOptional<z.ZodNumber>;
535
549
  defaultValue: z.ZodOptional<z.ZodNumber>;
@@ -598,6 +612,9 @@ export declare const OrgWorkspace: z.ZodObject<{
598
612
  disableSecretKeyAuth: z.ZodOptional<z.ZodBoolean>;
599
613
  useMembraneUniverse: z.ZodOptional<z.ZodBoolean>;
600
614
  useRemoteRepository: z.ZodOptional<z.ZodBoolean>;
615
+ autoGenerateIntegrationsFromConnectors: z.ZodOptional<z.ZodBoolean>;
616
+ autoGenerateIntegrationsFromExternalApps: z.ZodOptional<z.ZodBoolean>;
617
+ autoGenerateIntegrationsFromWebSearch: z.ZodOptional<z.ZodBoolean>;
601
618
  }, z.core.$strip>>;
602
619
  publicKeys: z.ZodOptional<z.ZodArray<z.ZodObject<{
603
620
  name: z.ZodString;
@@ -624,6 +641,7 @@ export declare const OrgWorkspace: z.ZodObject<{
624
641
  parallelApiRequestsPerCustomer: import("../alerts").AlertType.parallelApiRequestsPerCustomer;
625
642
  engineCreditsExhaustionProjected: import("../alerts").AlertType.engineCreditsExhaustionProjected;
626
643
  engineCreditsExhaustionActual: import("../alerts").AlertType.engineCreditsExhaustionActual;
644
+ aiCreditsDebtAccumulated: import("../alerts").AlertType.aiCreditsDebtAccumulated;
627
645
  totalNumberOfDatabaseEntitiesPerCustomer: import("../alerts").AlertType.totalNumberOfDatabaseEntitiesPerCustomer;
628
646
  totalNumberOfCustomers: import("../alerts").AlertType.totalNumberOfCustomers;
629
647
  totalNumberOfConnections: import("../alerts").AlertType.totalNumberOfConnections;
@@ -794,6 +812,11 @@ export declare const OrgWorkspaceUpdateRequest: z.ZodObject<{
794
812
  defaultValue: z.ZodOptional<z.ZodNumber>;
795
813
  unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
796
814
  }, z.core.$strip>>;
815
+ flowRunsQueueSizePerConnection: z.ZodOptional<z.ZodObject<{
816
+ value: z.ZodOptional<z.ZodNumber>;
817
+ defaultValue: z.ZodOptional<z.ZodNumber>;
818
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
819
+ }, z.core.$strip>>;
797
820
  instantTasksQueueSize: z.ZodOptional<z.ZodObject<{
798
821
  value: z.ZodOptional<z.ZodNumber>;
799
822
  defaultValue: z.ZodOptional<z.ZodNumber>;
@@ -862,6 +885,9 @@ export declare const OrgWorkspaceUpdateRequest: z.ZodObject<{
862
885
  disableSecretKeyAuth: z.ZodOptional<z.ZodBoolean>;
863
886
  useMembraneUniverse: z.ZodOptional<z.ZodBoolean>;
864
887
  useRemoteRepository: z.ZodOptional<z.ZodBoolean>;
888
+ autoGenerateIntegrationsFromConnectors: z.ZodOptional<z.ZodBoolean>;
889
+ autoGenerateIntegrationsFromExternalApps: z.ZodOptional<z.ZodBoolean>;
890
+ autoGenerateIntegrationsFromWebSearch: z.ZodOptional<z.ZodBoolean>;
865
891
  }, z.core.$strip>>;
866
892
  publicKeys: z.ZodOptional<z.ZodArray<z.ZodObject<{
867
893
  name: z.ZodString;
@@ -888,6 +914,7 @@ export declare const OrgWorkspaceUpdateRequest: z.ZodObject<{
888
914
  parallelApiRequestsPerCustomer: import("../alerts").AlertType.parallelApiRequestsPerCustomer;
889
915
  engineCreditsExhaustionProjected: import("../alerts").AlertType.engineCreditsExhaustionProjected;
890
916
  engineCreditsExhaustionActual: import("../alerts").AlertType.engineCreditsExhaustionActual;
917
+ aiCreditsDebtAccumulated: import("../alerts").AlertType.aiCreditsDebtAccumulated;
891
918
  totalNumberOfDatabaseEntitiesPerCustomer: import("../alerts").AlertType.totalNumberOfDatabaseEntitiesPerCustomer;
892
919
  totalNumberOfCustomers: import("../alerts").AlertType.totalNumberOfCustomers;
893
920
  totalNumberOfConnections: import("../alerts").AlertType.totalNumberOfConnections;
@@ -1007,17 +1034,7 @@ export declare const CreateOrgRequest: z.ZodObject<{
1007
1034
  team: "team";
1008
1035
  }>>>;
1009
1036
  stripeCustomerId: z.ZodOptional<z.ZodString>;
1010
- signupSource: z.ZodOptional<z.ZodEnum<{
1011
- cursor: "cursor";
1012
- other: "other";
1013
- openclaw: "openclaw";
1014
- claude: "claude";
1015
- chatgpt: "chatgpt";
1016
- web: "web";
1017
- "membrane-cli": "membrane-cli";
1018
- warp: "warp";
1019
- lovable: "lovable";
1020
- }>>;
1037
+ signupSource: z.ZodOptional<z.ZodString>;
1021
1038
  }, z.core.$strip>;
1022
1039
  export type CreateOrgRequest = z.infer<typeof CreateOrgRequest>;
1023
1040
  export declare const UpdateOrgRequest: z.ZodObject<{
@@ -1342,6 +1359,11 @@ export declare const ListOrgWorkspacesResponse: z.ZodObject<{
1342
1359
  defaultValue: z.ZodOptional<z.ZodNumber>;
1343
1360
  unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1344
1361
  }, z.core.$strip>>;
1362
+ flowRunsQueueSizePerConnection: z.ZodOptional<z.ZodObject<{
1363
+ value: z.ZodOptional<z.ZodNumber>;
1364
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1365
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1366
+ }, z.core.$strip>>;
1345
1367
  instantTasksQueueSize: z.ZodOptional<z.ZodObject<{
1346
1368
  value: z.ZodOptional<z.ZodNumber>;
1347
1369
  defaultValue: z.ZodOptional<z.ZodNumber>;
@@ -1410,6 +1432,9 @@ export declare const ListOrgWorkspacesResponse: z.ZodObject<{
1410
1432
  disableSecretKeyAuth: z.ZodOptional<z.ZodBoolean>;
1411
1433
  useMembraneUniverse: z.ZodOptional<z.ZodBoolean>;
1412
1434
  useRemoteRepository: z.ZodOptional<z.ZodBoolean>;
1435
+ autoGenerateIntegrationsFromConnectors: z.ZodOptional<z.ZodBoolean>;
1436
+ autoGenerateIntegrationsFromExternalApps: z.ZodOptional<z.ZodBoolean>;
1437
+ autoGenerateIntegrationsFromWebSearch: z.ZodOptional<z.ZodBoolean>;
1413
1438
  }, z.core.$strip>>;
1414
1439
  publicKeys: z.ZodOptional<z.ZodArray<z.ZodObject<{
1415
1440
  name: z.ZodString;
@@ -1436,6 +1461,7 @@ export declare const ListOrgWorkspacesResponse: z.ZodObject<{
1436
1461
  parallelApiRequestsPerCustomer: import("../alerts").AlertType.parallelApiRequestsPerCustomer;
1437
1462
  engineCreditsExhaustionProjected: import("../alerts").AlertType.engineCreditsExhaustionProjected;
1438
1463
  engineCreditsExhaustionActual: import("../alerts").AlertType.engineCreditsExhaustionActual;
1464
+ aiCreditsDebtAccumulated: import("../alerts").AlertType.aiCreditsDebtAccumulated;
1439
1465
  totalNumberOfDatabaseEntitiesPerCustomer: import("../alerts").AlertType.totalNumberOfDatabaseEntitiesPerCustomer;
1440
1466
  totalNumberOfCustomers: import("../alerts").AlertType.totalNumberOfCustomers;
1441
1467
  totalNumberOfConnections: import("../alerts").AlertType.totalNumberOfConnections;
@@ -1649,6 +1675,11 @@ export declare const AccountResponse: z.ZodObject<{
1649
1675
  defaultValue: z.ZodOptional<z.ZodNumber>;
1650
1676
  unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1651
1677
  }, z.core.$strip>>;
1678
+ flowRunsQueueSizePerConnection: z.ZodOptional<z.ZodObject<{
1679
+ value: z.ZodOptional<z.ZodNumber>;
1680
+ defaultValue: z.ZodOptional<z.ZodNumber>;
1681
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1682
+ }, z.core.$strip>>;
1652
1683
  instantTasksQueueSize: z.ZodOptional<z.ZodObject<{
1653
1684
  value: z.ZodOptional<z.ZodNumber>;
1654
1685
  defaultValue: z.ZodOptional<z.ZodNumber>;
@@ -1717,6 +1748,9 @@ export declare const AccountResponse: z.ZodObject<{
1717
1748
  disableSecretKeyAuth: z.ZodOptional<z.ZodBoolean>;
1718
1749
  useMembraneUniverse: z.ZodOptional<z.ZodBoolean>;
1719
1750
  useRemoteRepository: z.ZodOptional<z.ZodBoolean>;
1751
+ autoGenerateIntegrationsFromConnectors: z.ZodOptional<z.ZodBoolean>;
1752
+ autoGenerateIntegrationsFromExternalApps: z.ZodOptional<z.ZodBoolean>;
1753
+ autoGenerateIntegrationsFromWebSearch: z.ZodOptional<z.ZodBoolean>;
1720
1754
  }, z.core.$strip>>;
1721
1755
  publicKeys: z.ZodOptional<z.ZodArray<z.ZodObject<{
1722
1756
  name: z.ZodString;
@@ -1743,6 +1777,7 @@ export declare const AccountResponse: z.ZodObject<{
1743
1777
  parallelApiRequestsPerCustomer: import("../alerts").AlertType.parallelApiRequestsPerCustomer;
1744
1778
  engineCreditsExhaustionProjected: import("../alerts").AlertType.engineCreditsExhaustionProjected;
1745
1779
  engineCreditsExhaustionActual: import("../alerts").AlertType.engineCreditsExhaustionActual;
1780
+ aiCreditsDebtAccumulated: import("../alerts").AlertType.aiCreditsDebtAccumulated;
1746
1781
  totalNumberOfDatabaseEntitiesPerCustomer: import("../alerts").AlertType.totalNumberOfDatabaseEntitiesPerCustomer;
1747
1782
  totalNumberOfCustomers: import("../alerts").AlertType.totalNumberOfCustomers;
1748
1783
  totalNumberOfConnections: import("../alerts").AlertType.totalNumberOfConnections;
@@ -1992,6 +2027,11 @@ export declare const AccountResponse: z.ZodObject<{
1992
2027
  defaultValue: z.ZodOptional<z.ZodNumber>;
1993
2028
  unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
1994
2029
  }, z.core.$strip>>;
2030
+ flowRunsQueueSizePerConnection: z.ZodOptional<z.ZodObject<{
2031
+ value: z.ZodOptional<z.ZodNumber>;
2032
+ defaultValue: z.ZodOptional<z.ZodNumber>;
2033
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
2034
+ }, z.core.$strip>>;
1995
2035
  instantTasksQueueSize: z.ZodOptional<z.ZodObject<{
1996
2036
  value: z.ZodOptional<z.ZodNumber>;
1997
2037
  defaultValue: z.ZodOptional<z.ZodNumber>;
@@ -2060,6 +2100,9 @@ export declare const AccountResponse: z.ZodObject<{
2060
2100
  disableSecretKeyAuth: z.ZodOptional<z.ZodBoolean>;
2061
2101
  useMembraneUniverse: z.ZodOptional<z.ZodBoolean>;
2062
2102
  useRemoteRepository: z.ZodOptional<z.ZodBoolean>;
2103
+ autoGenerateIntegrationsFromConnectors: z.ZodOptional<z.ZodBoolean>;
2104
+ autoGenerateIntegrationsFromExternalApps: z.ZodOptional<z.ZodBoolean>;
2105
+ autoGenerateIntegrationsFromWebSearch: z.ZodOptional<z.ZodBoolean>;
2063
2106
  }, z.core.$strip>>;
2064
2107
  alertDeliverySettings: z.ZodOptional<z.ZodObject<{
2065
2108
  alertTypes: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
@@ -2079,6 +2122,7 @@ export declare const AccountResponse: z.ZodObject<{
2079
2122
  parallelApiRequestsPerCustomer: import("../alerts").AlertType.parallelApiRequestsPerCustomer;
2080
2123
  engineCreditsExhaustionProjected: import("../alerts").AlertType.engineCreditsExhaustionProjected;
2081
2124
  engineCreditsExhaustionActual: import("../alerts").AlertType.engineCreditsExhaustionActual;
2125
+ aiCreditsDebtAccumulated: import("../alerts").AlertType.aiCreditsDebtAccumulated;
2082
2126
  totalNumberOfDatabaseEntitiesPerCustomer: import("../alerts").AlertType.totalNumberOfDatabaseEntitiesPerCustomer;
2083
2127
  totalNumberOfCustomers: import("../alerts").AlertType.totalNumberOfCustomers;
2084
2128
  totalNumberOfConnections: import("../alerts").AlertType.totalNumberOfConnections;
@@ -9,9 +9,10 @@ export declare enum WebhookTypeEnum {
9
9
  AGENT_SESSION_FINISHED = "agent-session-finished",
10
10
  SEND_ALERT_EMAIL = "send-alert-email",
11
11
  PUBLIC_PACKAGE_ACTION_RUN_FAILED = "public-package-action-run-failed",
12
- BETTER_AUTH_SIGNUP_VERIFY = "better-auth-signup-verify"
12
+ BETTER_AUTH_SIGNUP_VERIFY = "better-auth-signup-verify",
13
+ BETTER_AUTH_RESET_PASSWORD = "better-auth-reset-password"
13
14
  }
14
- export type WebhookType = WebhookTypeEnum.USER_INVITED_TO_ORG | WebhookTypeEnum.ORG_ACCESS_REQUESTED | WebhookTypeEnum.ORG_CREATED | WebhookTypeEnum.TASK_CREATED | WebhookTypeEnum.TASK_UPDATED | WebhookTypeEnum.TASK_ACTIVITY_CREATED | WebhookTypeEnum.CONNECTOR_VERSION_PUBLISHED | WebhookTypeEnum.AGENT_SESSION_FINISHED | WebhookTypeEnum.SEND_ALERT_EMAIL | WebhookTypeEnum.PUBLIC_PACKAGE_ACTION_RUN_FAILED | WebhookTypeEnum.BETTER_AUTH_SIGNUP_VERIFY;
15
+ export type WebhookType = WebhookTypeEnum.USER_INVITED_TO_ORG | WebhookTypeEnum.ORG_ACCESS_REQUESTED | WebhookTypeEnum.ORG_CREATED | WebhookTypeEnum.TASK_CREATED | WebhookTypeEnum.TASK_UPDATED | WebhookTypeEnum.TASK_ACTIVITY_CREATED | WebhookTypeEnum.CONNECTOR_VERSION_PUBLISHED | WebhookTypeEnum.AGENT_SESSION_FINISHED | WebhookTypeEnum.SEND_ALERT_EMAIL | WebhookTypeEnum.PUBLIC_PACKAGE_ACTION_RUN_FAILED | WebhookTypeEnum.BETTER_AUTH_SIGNUP_VERIFY | WebhookTypeEnum.BETTER_AUTH_RESET_PASSWORD;
15
16
  export interface Webhook {
16
17
  type: WebhookType;
17
18
  url: string;
@@ -0,0 +1,33 @@
1
+ import { z } from 'zod';
2
+ import { HttpRequestMethod } from '../../http-requests';
3
+ export declare const ActApiDispatch: z.ZodObject<{
4
+ method: z.ZodEnum<typeof HttpRequestMethod>;
5
+ path: z.ZodOptional<z.ZodString>;
6
+ body: z.ZodOptional<z.ZodAny>;
7
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
8
+ query: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
9
+ url: z.ZodOptional<z.ZodString>;
10
+ data: z.ZodOptional<z.ZodAny>;
11
+ }, z.core.$strip>;
12
+ export type ActApiDispatch = z.infer<typeof ActApiDispatch>;
13
+ export declare const ActRequest: z.ZodObject<{
14
+ id: z.ZodOptional<z.ZodString>;
15
+ key: z.ZodOptional<z.ZodString>;
16
+ api: z.ZodOptional<z.ZodObject<{
17
+ method: z.ZodEnum<typeof HttpRequestMethod>;
18
+ path: z.ZodOptional<z.ZodString>;
19
+ body: z.ZodOptional<z.ZodAny>;
20
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
21
+ query: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
22
+ url: z.ZodOptional<z.ZodString>;
23
+ data: z.ZodOptional<z.ZodAny>;
24
+ }, z.core.$strip>>;
25
+ code: z.ZodOptional<z.ZodString>;
26
+ integrationId: z.ZodOptional<z.ZodString>;
27
+ integrationKey: z.ZodOptional<z.ZodString>;
28
+ connectionId: z.ZodOptional<z.ZodString>;
29
+ connectionKey: z.ZodOptional<z.ZodString>;
30
+ input: z.ZodOptional<z.ZodAny>;
31
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
32
+ }, z.core.$strict>;
33
+ export type ActRequest = z.infer<typeof ActRequest>;
@@ -150,6 +150,7 @@ export declare const ActionRunLogRecordApiResponse: z.ZodObject<{
150
150
  connection: z.ZodOptional<z.ZodObject<{
151
151
  id: z.ZodString;
152
152
  name: z.ZodString;
153
+ key: z.ZodOptional<z.ZodString>;
153
154
  isTest: z.ZodOptional<z.ZodBoolean>;
154
155
  connected: z.ZodOptional<z.ZodBoolean>;
155
156
  disconnected: z.ZodOptional<z.ZodBoolean>;
@@ -372,6 +373,7 @@ export declare const FindActionRunLogsResponse: z.ZodObject<{
372
373
  connection: z.ZodOptional<z.ZodObject<{
373
374
  id: z.ZodString;
374
375
  name: z.ZodString;
376
+ key: z.ZodOptional<z.ZodString>;
375
377
  isTest: z.ZodOptional<z.ZodBoolean>;
376
378
  connected: z.ZodOptional<z.ZodBoolean>;
377
379
  disconnected: z.ZodOptional<z.ZodBoolean>;
@@ -240,6 +240,7 @@ export declare const FindActionsQuery: z.ZodObject<{
240
240
  integrationKey: z.ZodOptional<z.ZodString>;
241
241
  integrationId: z.ZodOptional<z.ZodString>;
242
242
  connectionId: z.ZodOptional<z.ZodString>;
243
+ connectionKey: z.ZodOptional<z.ZodString>;
243
244
  instanceKey: z.ZodOptional<z.ZodString>;
244
245
  search: z.ZodOptional<z.ZodString>;
245
246
  limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
@@ -615,6 +616,7 @@ export declare const ListActionInstancesForConnectionQuery: z.ZodObject<{
615
616
  integrationKey: z.ZodOptional<z.ZodString>;
616
617
  integrationId: z.ZodOptional<z.ZodString>;
617
618
  connectionId: z.ZodOptional<z.ZodString>;
619
+ connectionKey: z.ZodOptional<z.ZodString>;
618
620
  instanceKey: z.ZodOptional<z.ZodString>;
619
621
  search: z.ZodOptional<z.ZodString>;
620
622
  limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
@@ -638,6 +640,7 @@ export declare const FindActionInstancesQuery: z.ZodObject<{
638
640
  integrationKey: z.ZodOptional<z.ZodString>;
639
641
  integrationId: z.ZodOptional<z.ZodString>;
640
642
  connectionId: z.ZodOptional<z.ZodString>;
643
+ connectionKey: z.ZodOptional<z.ZodString>;
641
644
  instanceKey: z.ZodOptional<z.ZodString>;
642
645
  search: z.ZodOptional<z.ZodString>;
643
646
  limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
@@ -29,6 +29,7 @@ export declare const CreateConnectionRequest: z.ZodObject<{
29
29
  name: z.ZodOptional<z.ZodString>;
30
30
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
31
31
  authOptionKey: z.ZodOptional<z.ZodString>;
32
+ key: z.ZodNullable<z.ZodOptional<z.ZodString>>;
32
33
  integrationId: z.ZodOptional<z.ZodString>;
33
34
  integrationUuid: z.ZodOptional<z.ZodString>;
34
35
  integrationKey: z.ZodOptional<z.ZodString>;
@@ -48,6 +49,7 @@ export declare const UpdateConnectionRequest: z.ZodObject<{
48
49
  name: z.ZodOptional<z.ZodString>;
49
50
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
50
51
  authOptionKey: z.ZodOptional<z.ZodString>;
52
+ key: z.ZodNullable<z.ZodOptional<z.ZodString>>;
51
53
  integrationId: z.ZodOptional<z.ZodString>;
52
54
  integrationUuid: z.ZodOptional<z.ZodString>;
53
55
  integrationKey: z.ZodOptional<z.ZodString>;
@@ -64,6 +66,7 @@ export declare const UpdateConnectionRequest: z.ZodObject<{
64
66
  }, z.core.$strip>;
65
67
  export type UpdateConnectionRequest = z.infer<typeof UpdateConnectionRequest>;
66
68
  export declare const ConnectionExportProperties: z.ZodObject<{
69
+ key: z.ZodNullable<z.ZodOptional<z.ZodString>>;
67
70
  name: z.ZodOptional<z.ZodString>;
68
71
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
69
72
  integrationUuid: z.ZodOptional<z.ZodString>;
@@ -101,11 +104,13 @@ export declare const ConnectionSelector: z.ZodObject<{
101
104
  integrationKey: z.ZodOptional<z.ZodString>;
102
105
  integrationId: z.ZodOptional<z.ZodString>;
103
106
  connectionId: z.ZodOptional<z.ZodString>;
107
+ connectionKey: z.ZodOptional<z.ZodString>;
104
108
  }, z.core.$strip>;
105
109
  export type ConnectionSelector = z.infer<typeof ConnectionSelector>;
106
110
  export declare const ConnectionApiResponse: z.ZodObject<{
107
111
  id: z.ZodString;
108
112
  name: z.ZodString;
113
+ key: z.ZodOptional<z.ZodString>;
109
114
  isTest: z.ZodOptional<z.ZodBoolean>;
110
115
  connected: z.ZodOptional<z.ZodBoolean>;
111
116
  disconnected: z.ZodOptional<z.ZodBoolean>;
@@ -208,6 +213,7 @@ export type ConnectionApiResponse = z.infer<typeof ConnectionApiResponse>;
208
213
  export declare const ConnectionApiResponseWithSecrets: z.ZodObject<{
209
214
  id: z.ZodString;
210
215
  name: z.ZodString;
216
+ key: z.ZodOptional<z.ZodString>;
211
217
  isTest: z.ZodOptional<z.ZodBoolean>;
212
218
  connected: z.ZodOptional<z.ZodBoolean>;
213
219
  disconnected: z.ZodOptional<z.ZodBoolean>;
@@ -318,6 +324,7 @@ export declare const ConnectionMessagePayload: z.ZodDiscriminatedUnion<[z.ZodObj
318
324
  connection: z.ZodObject<{
319
325
  id: z.ZodString;
320
326
  name: z.ZodString;
327
+ key: z.ZodOptional<z.ZodString>;
321
328
  isTest: z.ZodOptional<z.ZodBoolean>;
322
329
  connected: z.ZodOptional<z.ZodBoolean>;
323
330
  disconnected: z.ZodOptional<z.ZodBoolean>;
@@ -443,6 +450,7 @@ export declare const ConnectPayload: z.ZodObject<{
443
450
  connectorKey: z.ZodOptional<z.ZodString>;
444
451
  connectorVersion: z.ZodOptional<z.ZodString>;
445
452
  connectionId: z.ZodOptional<z.ZodString>;
453
+ connectionKey: z.ZodOptional<z.ZodString>;
446
454
  name: z.ZodOptional<z.ZodString>;
447
455
  input: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
448
456
  connectionParameters: z.ZodOptional<z.ZodAny>;
@@ -461,6 +469,7 @@ export declare const ConnectUIOptions: z.ZodObject<{
461
469
  integrationKey: z.ZodOptional<z.ZodString>;
462
470
  name: z.ZodOptional<z.ZodString>;
463
471
  intent: z.ZodOptional<z.ZodString>;
472
+ connectionKey: z.ZodOptional<z.ZodString>;
464
473
  authOptionKey: z.ZodOptional<z.ZodString>;
465
474
  connectorParameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
466
475
  connectorId: z.ZodOptional<z.ZodString>;