@flowrunner/cli 0.1.0 → 0.1.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 (41) hide show
  1. package/ai-docs/instructions/service-code-format/09-realtime-triggers.md +51 -8
  2. package/ai-docs/instructions/service-code-format/13-runtime-contracts.md +25 -12
  3. package/ai-docs/instructions/service-code-format/14-reference-service.md +1 -1
  4. package/ai-docs/instructions/service-code-format/16-gotchas.md +1 -1
  5. package/ai-docs/instructions/service-code-format/README.md +2 -2
  6. package/ai-docs/providers/claude/agents/flowrunner-service-code-engineer.md +4 -4
  7. package/ai-docs/providers/claude/agents/flowrunner-service-test-engineer.md +1 -1
  8. package/ai-docs/providers/claude/main-orchestrator-segment.md +2 -2
  9. package/bin/flowrunner.js +3 -3
  10. package/bin/resolve-local.js +14 -6
  11. package/dist/cli.js +440 -249
  12. package/dist/cli.js.map +4 -4
  13. package/dist/index.js +433 -242
  14. package/dist/index.js.map +4 -4
  15. package/dist/types/flow-extension-runner/src/v2/realtime-triggers/system-params.d.ts +2 -0
  16. package/dist/types/flow-extension-runner/src/v2/realtime-triggers/trigger-method.d.ts +6 -2
  17. package/dist/types/flow-extension-runner/src/v2/realtime-triggers/types.d.ts +6 -1
  18. package/dist/types/flow-extension-runner/src/v2/realtime-triggers/verify.d.ts +1 -1
  19. package/dist/types/packages/cli/src/constants/testing.d.ts +9 -4
  20. package/dist/types/shared/src/constants/knowledge-base.d.ts +1 -0
  21. package/dist/types/shared/src/scheme/billing/java.dto.d.ts +19 -1
  22. package/dist/types/shared/src/scheme/crm/dto.d.ts +2 -2
  23. package/dist/types/shared/src/scheme/flowrunner/java.dto.d.ts +1 -1
  24. package/dist/types/shared/src/scheme/knowledge-base/dto.d.ts +156 -0
  25. package/dist/types/shared/src/scheme/workspace/dto.d.ts +1 -1
  26. package/package.json +3 -3
  27. package/project-files/sandbox/files-mock.js +1 -1
  28. package/project-files/sandbox/nock-mock.js +1 -1
  29. package/project-files/sandbox/service.js +1 -1
  30. package/runtime/index.js +39 -24
  31. package/runtime/index.js.map +2 -2
  32. package/runtime/types/flow-extension-runner/src/v2/realtime-triggers/system-params.d.ts +2 -0
  33. package/runtime/types/flow-extension-runner/src/v2/realtime-triggers/trigger-method.d.ts +6 -2
  34. package/runtime/types/flow-extension-runner/src/v2/realtime-triggers/types.d.ts +6 -1
  35. package/runtime/types/flow-extension-runner/src/v2/realtime-triggers/verify.d.ts +1 -1
  36. package/runtime/types/shared/src/constants/knowledge-base.d.ts +1 -0
  37. package/runtime/types/shared/src/scheme/billing/java.dto.d.ts +19 -1
  38. package/runtime/types/shared/src/scheme/crm/dto.d.ts +2 -2
  39. package/runtime/types/shared/src/scheme/flowrunner/java.dto.d.ts +1 -1
  40. package/runtime/types/shared/src/scheme/knowledge-base/dto.d.ts +156 -0
  41. package/runtime/types/shared/src/scheme/workspace/dto.d.ts +1 -1
@@ -17,11 +17,13 @@ export declare const RealtimeInboundInvocationSchema: import("zod").ZodObject<{
17
17
  queryParams: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
18
18
  body: import("zod").ZodUnknown;
19
19
  rawBody: import("zod").ZodOptional<import("zod").ZodString>;
20
+ webhookData: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
20
21
  connectionId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
21
22
  }, import("zod/v4/core").$loose>;
22
23
  export declare const RealtimeSelectInvocationSchema: import("zod").ZodObject<{
23
24
  eventName: import("zod").ZodString;
24
25
  eventData: import("zod").ZodUnknown;
26
+ webhookData: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
25
27
  triggers: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
26
28
  id: import("zod").ZodString;
27
29
  data: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
@@ -25,9 +25,13 @@ export declare class RealtimeTriggerMethod extends ExtensionMethod implements Lo
25
25
  * Whether one CONFIGURED INSTANCE of this trigger cares about an event. Declarative form: type-coerced
26
26
  * equality per filled param, where an empty param means "any" — that is what lets a user leave a filter
27
27
  * blank and receive everything. Predicate form: the author decides. No `match` at all: always fires.
28
+ *
29
+ * `webhookData` is handed to the predicate form to be READ — an instance filter that depends on what the
30
+ * subscription registered (a tenant id, a resource the webhook was scoped to) has nowhere else to get it.
31
+ * Returning a new document is not a thing this seam can do; only subscribe/refresh/unsubscribe persist.
28
32
  */
29
- matches(params: Record<string, unknown>, providerEventData: ProviderPayload): boolean;
30
- extendResult(providerEventData: ProviderPayload, ctx: ExecutionContext): Promise<unknown> | unknown;
33
+ matches(params: Record<string, unknown>, providerEventData: ProviderPayload, webhookData?: ProviderPayload): boolean;
34
+ extendResult(providerEventData: ProviderPayload, ctx: ExecutionContext, webhookData?: ProviderPayload): Promise<unknown> | unknown;
31
35
  hasExtendResult(): boolean;
32
36
  toModel(): SharedExtensionMethod;
33
37
  }
@@ -36,13 +36,16 @@ export interface RealtimeVerify<TShape extends ExtensionShape = AnyShape> {
36
36
  header: string;
37
37
  algo: string;
38
38
  encoding: 'hex' | 'base64';
39
- secret: (config: TShape['config']) => string;
39
+ secret: (config: TShape['config'], bag: {
40
+ webhookData: ProviderPayload;
41
+ }) => string;
40
42
  freshness?: number;
41
43
  timestampHeader?: string;
42
44
  }
43
45
  type InboundBag<TShape extends ExtensionShape = AnyShape> = HandlerBag<TShape> & {
44
46
  rawBody?: string;
45
47
  headers: Record<string, unknown>;
48
+ webhookData: ProviderPayload;
46
49
  };
47
50
  export interface HandshakeResult {
48
51
  responseToWebhook?: ResponseToWebhook;
@@ -116,9 +119,11 @@ export interface RealtimeTriggerProps<TShape extends ExtensionShape = AnyShape,
116
119
  match?: Record<string, string> | ((bag: {
117
120
  params: Infer<TParams>;
118
121
  providerEventData: ProviderPayload;
122
+ webhookData: ProviderPayload;
119
123
  }) => boolean);
120
124
  extendResult?: (bag: HandlerBag<TShape> & {
121
125
  providerEventData: ProviderPayload;
126
+ webhookData: ProviderPayload;
122
127
  }) => unknown;
123
128
  oauth2Scopes?: string[];
124
129
  logo?: string;
@@ -1,2 +1,2 @@
1
1
  import type { RealtimeVerify } from './types';
2
- export declare function verifyDeclarative(verify: RealtimeVerify, rawBody: string | undefined, headers: Record<string, unknown>, config: Record<string, unknown>): boolean;
2
+ export declare function verifyDeclarative(verify: RealtimeVerify, rawBody: string | undefined, headers: Record<string, unknown>, config: Record<string, unknown>, webhookData: unknown): boolean;
@@ -2,6 +2,7 @@ export declare const VectorStoreAdapters: {
2
2
  readonly QDRANT: "QDRANT";
3
3
  readonly MONGODB_ATLAS: "MONGODB_ATLAS";
4
4
  readonly POSTGRESQL: "POSTGRESQL";
5
+ readonly OPENSEARCH: "OPENSEARCH";
5
6
  };
6
7
  export type VectorStoreAdapters = typeof VectorStoreAdapters[keyof typeof VectorStoreAdapters];
7
8
  export declare const KNOWLEDGE_BASE_ELEMENT_SERVICE_INFO: {
@@ -55,6 +55,24 @@ export interface OwnershipTransferProposalJavaDto {
55
55
  newOwnerAccountId: string;
56
56
  workspaceId: string;
57
57
  }
58
+ export interface BillingSubscriptionRecreationJavaDto extends Omit<BillingStripeSubscriptionCreationJavaDto, 'checkoutSessionUrl'> {
59
+ checkoutSessionUrl: string | null;
60
+ completed: boolean;
61
+ }
62
+ export declare const BillingReactivationErrorCode: {
63
+ readonly PAID_NOT_COMPLETED: 11059;
64
+ readonly AWAITING_AUTHENTICATION: 11060;
65
+ };
66
+ export interface BillingReactivationPriceJavaDto {
67
+ plan: BillingPlanId;
68
+ amountDueNow: number;
69
+ subscriptionAmount: number;
70
+ outstandingBalance: number;
71
+ outstandingInvoiceCount: number;
72
+ total: number;
73
+ currentBalance: number;
74
+ currency: string;
75
+ }
58
76
  export type BillingSuspensionIssuerType = 'BILLING' | 'PANIC_MODE' | 'OTHER';
59
77
  export type BillingSuspensionReasonType = 'COMPONENT_LIMIT_REACHED' | 'SUBSCRIPTION_CANCELED' | 'NO_SUBSCRIPTION' | 'POSSIBLE_FRAUD_DETECTED' | 'PAYMENT_FAILED_AFTER_TRIAL' | 'OTHER';
60
78
  export interface BillingSuspensionReasonJavaDto {
@@ -98,7 +116,7 @@ export interface BillingPlanSwitchPriceJavaDto {
98
116
  currency: string;
99
117
  effectiveAt: number | null;
100
118
  }
101
- export type StripeResponseState = 'success' | 'canceled';
119
+ export type StripeResponseState = 'success' | 'canceled' | 'error';
102
120
  export declare enum PlanSwitchOutcome {
103
121
  Applied = "applied",
104
122
  Pending = "pending",
@@ -20,6 +20,7 @@ export declare const WorkspaceDTOSchema: z.ZodObject<{
20
20
  name: z.ZodString;
21
21
  version: z.ZodString;
22
22
  lastReadNotificationsAt: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodCoercedDate<unknown>>>;
23
+ subscriptionId: z.ZodOptional<z.ZodString>;
23
24
  created: z.ZodCoercedDate<unknown>;
24
25
  accountOwnerId: z.ZodString;
25
26
  originDomains: z.ZodString;
@@ -27,7 +28,6 @@ export declare const WorkspaceDTOSchema: z.ZodObject<{
27
28
  lastDayOfUse: z.ZodCoercedDate<unknown>;
28
29
  dbVersion: z.ZodOptional<z.ZodNumber>;
29
30
  shardName: z.ZodOptional<z.ZodString>;
30
- subscriptionId: z.ZodOptional<z.ZodString>;
31
31
  id: z.ZodString;
32
32
  developers: z.ZodArray<z.ZodObject<{
33
33
  name: z.ZodNonOptional<z.ZodString>;
@@ -173,6 +173,7 @@ export declare const CrmWorkspacesResponseSchema: z.ZodObject<{
173
173
  name: z.ZodString;
174
174
  version: z.ZodString;
175
175
  lastReadNotificationsAt: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodCoercedDate<unknown>>>;
176
+ subscriptionId: z.ZodOptional<z.ZodString>;
176
177
  created: z.ZodCoercedDate<unknown>;
177
178
  accountOwnerId: z.ZodString;
178
179
  originDomains: z.ZodString;
@@ -180,7 +181,6 @@ export declare const CrmWorkspacesResponseSchema: z.ZodObject<{
180
181
  lastDayOfUse: z.ZodCoercedDate<unknown>;
181
182
  dbVersion: z.ZodOptional<z.ZodNumber>;
182
183
  shardName: z.ZodOptional<z.ZodString>;
183
- subscriptionId: z.ZodOptional<z.ZodString>;
184
184
  id: z.ZodString;
185
185
  developers: z.ZodArray<z.ZodObject<{
186
186
  name: z.ZodNonOptional<z.ZodString>;
@@ -22,7 +22,7 @@ export declare const FlowElementTypeJava: {
22
22
  export type FlowElementTypeJavaDto = typeof FlowElementTypeJava[keyof typeof FlowElementTypeJava];
23
23
  export declare const FlowElementMetainfoTypeJava: {
24
24
  readonly CALLBACK: "CALLBACK";
25
- readonly BACKENDLESS: "BACKENDLESS";
25
+ readonly EXTENSION: "EXTENSION";
26
26
  readonly HTTP: "HTTP";
27
27
  readonly SYSTEM: "SYSTEM";
28
28
  readonly OPENAI_OPERATION: "OPENAI_OPERATION";
@@ -17,6 +17,7 @@ export declare const VectorStoreAdapterSchema: z.ZodEnum<{
17
17
  readonly QDRANT: "QDRANT";
18
18
  readonly MONGODB_ATLAS: "MONGODB_ATLAS";
19
19
  readonly POSTGRESQL: "POSTGRESQL";
20
+ readonly OPENSEARCH: "OPENSEARCH";
20
21
  }>;
21
22
  export declare const ChunkingOptionsDTOSchema: z.ZodObject<{
22
23
  chunkSize: z.ZodNumber;
@@ -46,6 +47,12 @@ export declare const MongoDBAtlasVectorStorageConfigSchema: z.ZodObject<{
46
47
  primaryKey: z.ZodString;
47
48
  searchInFullCollection: z.ZodBoolean;
48
49
  }, z.core.$strip>;
50
+ export declare const PostgreSQLSslModeSchema: z.ZodEnum<{
51
+ disable: "disable";
52
+ require: "require";
53
+ "verify-full": "verify-full";
54
+ }>;
55
+ export declare const PostgreSQLIdentifierSchema: z.ZodString;
49
56
  export declare const PostgreSQLVectorStorageConfigSchema: z.ZodObject<{
50
57
  host: z.ZodString;
51
58
  port: z.ZodNumber;
@@ -59,6 +66,11 @@ export declare const PostgreSQLVectorStorageConfigSchema: z.ZodObject<{
59
66
  euclidean: "euclidean";
60
67
  inner_product: "inner_product";
61
68
  }>;
69
+ sslMode: z.ZodOptional<z.ZodEnum<{
70
+ disable: "disable";
71
+ require: "require";
72
+ "verify-full": "verify-full";
73
+ }>>;
62
74
  columns: z.ZodObject<{
63
75
  idColumnName: z.ZodString;
64
76
  vectorColumnName: z.ZodString;
@@ -66,6 +78,83 @@ export declare const PostgreSQLVectorStorageConfigSchema: z.ZodObject<{
66
78
  metadataColumnName: z.ZodString;
67
79
  }, z.core.$strip>;
68
80
  }, z.core.$strip>;
81
+ export declare const PostgreSQLConnectionDTOSchema: z.ZodObject<{
82
+ password: z.ZodString;
83
+ database: z.ZodString;
84
+ host: z.ZodString;
85
+ port: z.ZodNumber;
86
+ user: z.ZodString;
87
+ sslMode: z.ZodOptional<z.ZodEnum<{
88
+ disable: "disable";
89
+ require: "require";
90
+ "verify-full": "verify-full";
91
+ }>>;
92
+ }, z.core.$strip>;
93
+ export declare const PostgreSQLConnectionTestResponseDTOSchema: z.ZodObject<{
94
+ success: z.ZodBoolean;
95
+ message: z.ZodString;
96
+ version: z.ZodOptional<z.ZodString>;
97
+ vectorExtension: z.ZodOptional<z.ZodEnum<{
98
+ installed: "installed";
99
+ available: "available";
100
+ }>>;
101
+ tables: z.ZodArray<z.ZodString>;
102
+ }, z.core.$strip>;
103
+ export declare const PostgreSQLVectorColumnInfoDTOSchema: z.ZodObject<{
104
+ name: z.ZodString;
105
+ dimension: z.ZodNullable<z.ZodNumber>;
106
+ }, z.core.$strip>;
107
+ export declare const PostgreSQLTableMetadataResponseDTOSchema: z.ZodObject<{
108
+ exists: z.ZodBoolean;
109
+ isEmpty: z.ZodBoolean;
110
+ rowsCount: z.ZodNumber;
111
+ idColumns: z.ZodArray<z.ZodString>;
112
+ contentColumns: z.ZodArray<z.ZodString>;
113
+ metadataColumns: z.ZodArray<z.ZodString>;
114
+ vectorColumns: z.ZodArray<z.ZodObject<{
115
+ name: z.ZodString;
116
+ dimension: z.ZodNullable<z.ZodNumber>;
117
+ }, z.core.$strip>>;
118
+ }, z.core.$strip>;
119
+ export declare const OpenSearchVectorStorageConfigSchema: z.ZodObject<{
120
+ node: z.ZodString;
121
+ username: z.ZodString;
122
+ password: z.ZodString;
123
+ indexName: z.ZodString;
124
+ textField: z.ZodString;
125
+ vectorField: z.ZodString;
126
+ metadataField: z.ZodString;
127
+ rejectUnauthorized: z.ZodBoolean;
128
+ searchInFullCollection: z.ZodBoolean;
129
+ }, z.core.$strip>;
130
+ export declare const OpenSearchConnectionDTOSchema: z.ZodObject<{
131
+ password: z.ZodString;
132
+ node: z.ZodString;
133
+ username: z.ZodString;
134
+ rejectUnauthorized: z.ZodBoolean;
135
+ }, z.core.$strip>;
136
+ export declare const OpenSearchIndexNameSchema: z.ZodString;
137
+ export declare const OpenSearchConnectionTestResponseDTOSchema: z.ZodObject<{
138
+ success: z.ZodBoolean;
139
+ message: z.ZodString;
140
+ version: z.ZodOptional<z.ZodString>;
141
+ indices: z.ZodArray<z.ZodString>;
142
+ }, z.core.$strip>;
143
+ export declare const OpenSearchVectorFieldInfoDTOSchema: z.ZodObject<{
144
+ name: z.ZodString;
145
+ dimension: z.ZodNumber;
146
+ }, z.core.$strip>;
147
+ export declare const OpenSearchIndexMetadataResponseDTOSchema: z.ZodObject<{
148
+ exists: z.ZodBoolean;
149
+ isEmpty: z.ZodBoolean;
150
+ docsCount: z.ZodNumber;
151
+ textFields: z.ZodArray<z.ZodString>;
152
+ vectorFields: z.ZodArray<z.ZodObject<{
153
+ name: z.ZodString;
154
+ dimension: z.ZodNumber;
155
+ }, z.core.$strip>>;
156
+ objectFields: z.ZodArray<z.ZodString>;
157
+ }, z.core.$strip>;
69
158
  export declare const VectorStorageDTOSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
70
159
  adapter: z.ZodLiteral<"QDRANT">;
71
160
  config: z.ZodObject<{
@@ -103,6 +192,11 @@ export declare const VectorStorageDTOSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
103
192
  euclidean: "euclidean";
104
193
  inner_product: "inner_product";
105
194
  }>;
195
+ sslMode: z.ZodOptional<z.ZodEnum<{
196
+ disable: "disable";
197
+ require: "require";
198
+ "verify-full": "verify-full";
199
+ }>>;
106
200
  columns: z.ZodObject<{
107
201
  idColumnName: z.ZodString;
108
202
  vectorColumnName: z.ZodString;
@@ -110,6 +204,19 @@ export declare const VectorStorageDTOSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
110
204
  metadataColumnName: z.ZodString;
111
205
  }, z.core.$strip>;
112
206
  }, z.core.$strip>;
207
+ }, z.core.$strip>, z.ZodObject<{
208
+ adapter: z.ZodLiteral<"OPENSEARCH">;
209
+ config: z.ZodObject<{
210
+ node: z.ZodString;
211
+ username: z.ZodString;
212
+ password: z.ZodString;
213
+ indexName: z.ZodString;
214
+ textField: z.ZodString;
215
+ vectorField: z.ZodString;
216
+ metadataField: z.ZodString;
217
+ rejectUnauthorized: z.ZodBoolean;
218
+ searchInFullCollection: z.ZodBoolean;
219
+ }, z.core.$strip>;
113
220
  }, z.core.$strip>], "adapter">;
114
221
  export declare const SyncWarningCodeSchema: z.ZodEnum<{
115
222
  CHUNKS_MISSING: "CHUNKS_MISSING";
@@ -203,6 +310,11 @@ export declare const KnowledgeBaseDTOSchema: z.ZodObject<{
203
310
  euclidean: "euclidean";
204
311
  inner_product: "inner_product";
205
312
  }>;
313
+ sslMode: z.ZodOptional<z.ZodEnum<{
314
+ disable: "disable";
315
+ require: "require";
316
+ "verify-full": "verify-full";
317
+ }>>;
206
318
  columns: z.ZodObject<{
207
319
  idColumnName: z.ZodString;
208
320
  vectorColumnName: z.ZodString;
@@ -210,6 +322,19 @@ export declare const KnowledgeBaseDTOSchema: z.ZodObject<{
210
322
  metadataColumnName: z.ZodString;
211
323
  }, z.core.$strip>;
212
324
  }, z.core.$strip>;
325
+ }, z.core.$strip>, z.ZodObject<{
326
+ adapter: z.ZodLiteral<"OPENSEARCH">;
327
+ config: z.ZodObject<{
328
+ node: z.ZodString;
329
+ username: z.ZodString;
330
+ password: z.ZodString;
331
+ indexName: z.ZodString;
332
+ textField: z.ZodString;
333
+ vectorField: z.ZodString;
334
+ metadataField: z.ZodString;
335
+ rejectUnauthorized: z.ZodBoolean;
336
+ searchInFullCollection: z.ZodBoolean;
337
+ }, z.core.$strip>;
213
338
  }, z.core.$strip>], "adapter">;
214
339
  files: z.ZodArray<z.ZodObject<{
215
340
  fileId: z.ZodOptional<z.ZodString>;
@@ -320,6 +445,11 @@ export declare const KnowledgeBaseEntitySchema: z.ZodObject<{
320
445
  euclidean: "euclidean";
321
446
  inner_product: "inner_product";
322
447
  }>;
448
+ sslMode: z.ZodOptional<z.ZodEnum<{
449
+ disable: "disable";
450
+ require: "require";
451
+ "verify-full": "verify-full";
452
+ }>>;
323
453
  columns: z.ZodObject<{
324
454
  idColumnName: z.ZodString;
325
455
  vectorColumnName: z.ZodString;
@@ -327,6 +457,19 @@ export declare const KnowledgeBaseEntitySchema: z.ZodObject<{
327
457
  metadataColumnName: z.ZodString;
328
458
  }, z.core.$strip>;
329
459
  }, z.core.$strip>;
460
+ }, z.core.$strip>, z.ZodObject<{
461
+ adapter: z.ZodLiteral<"OPENSEARCH">;
462
+ config: z.ZodObject<{
463
+ node: z.ZodString;
464
+ username: z.ZodString;
465
+ password: z.ZodString;
466
+ indexName: z.ZodString;
467
+ textField: z.ZodString;
468
+ vectorField: z.ZodString;
469
+ metadataField: z.ZodString;
470
+ rejectUnauthorized: z.ZodBoolean;
471
+ searchInFullCollection: z.ZodBoolean;
472
+ }, z.core.$strip>;
330
473
  }, z.core.$strip>], "adapter">;
331
474
  files: z.ZodArray<z.ZodObject<{
332
475
  fileName: z.ZodString;
@@ -369,6 +512,7 @@ export declare const CreateKnowledgeBaseDTOSchema: z.ZodObject<{
369
512
  readonly QDRANT: "QDRANT";
370
513
  readonly MONGODB_ATLAS: "MONGODB_ATLAS";
371
514
  readonly POSTGRESQL: "POSTGRESQL";
515
+ readonly OPENSEARCH: "OPENSEARCH";
372
516
  }>;
373
517
  vectorStorageConfig: z.ZodRecord<z.ZodString, z.ZodUnknown>;
374
518
  }, z.core.$strip>;
@@ -537,4 +681,16 @@ export type VectorStorageDTO = z.infer<typeof VectorStorageDTOSchema>;
537
681
  export type QdrantVectorStorageConfigDTO = z.infer<typeof QdrantVectorStorageConfigSchema>;
538
682
  export type MongoDBAtlasVectorStorageConfigDTO = z.infer<typeof MongoDBAtlasVectorStorageConfigSchema>;
539
683
  export type PostgreSQLVectorStorageConfigDTO = z.infer<typeof PostgreSQLVectorStorageConfigSchema>;
684
+ export type OpenSearchVectorStorageConfigDTO = z.infer<typeof OpenSearchVectorStorageConfigSchema>;
685
+ export type OpenSearchConnectionDTO = z.infer<typeof OpenSearchConnectionDTOSchema>;
686
+ export type OpenSearchIndexName = z.infer<typeof OpenSearchIndexNameSchema>;
687
+ export type OpenSearchConnectionTestResponseDTO = z.infer<typeof OpenSearchConnectionTestResponseDTOSchema>;
688
+ export type OpenSearchVectorFieldInfoDTO = z.infer<typeof OpenSearchVectorFieldInfoDTOSchema>;
689
+ export type OpenSearchIndexMetadataResponseDTO = z.infer<typeof OpenSearchIndexMetadataResponseDTOSchema>;
690
+ export type PostgreSQLIdentifier = z.infer<typeof PostgreSQLIdentifierSchema>;
691
+ export type PostgreSQLConnectionDTO = z.infer<typeof PostgreSQLConnectionDTOSchema>;
692
+ export type PostgreSQLConnectionTestResponseDTO = z.infer<typeof PostgreSQLConnectionTestResponseDTOSchema>;
693
+ export type PostgreSQLVectorColumnInfoDTO = z.infer<typeof PostgreSQLVectorColumnInfoDTOSchema>;
694
+ export type PostgreSQLTableMetadataResponseDTO = z.infer<typeof PostgreSQLTableMetadataResponseDTOSchema>;
695
+ export type PostgreSQLSslMode = z.infer<typeof PostgreSQLSslModeSchema>;
540
696
  export type DistanceStrategy = PostgreSQLVectorStorageConfigDTO['distanceStrategy'];
@@ -21,6 +21,7 @@ export declare const WorkspaceJavaDTOSchema: z.ZodObject<{
21
21
  type: z.ZodOptional<z.ZodString>;
22
22
  version: z.ZodString;
23
23
  _class: z.ZodOptional<z.ZodString>;
24
+ subscriptionId: z.ZodOptional<z.ZodString>;
24
25
  created: z.ZodCoercedDate<unknown>;
25
26
  accountOwnerId: z.ZodString;
26
27
  originDomains: z.ZodString;
@@ -28,7 +29,6 @@ export declare const WorkspaceJavaDTOSchema: z.ZodObject<{
28
29
  lastDayOfUse: z.ZodCoercedDate<unknown>;
29
30
  dbVersion: z.ZodOptional<z.ZodNumber>;
30
31
  shardName: z.ZodOptional<z.ZodString>;
31
- subscriptionId: z.ZodOptional<z.ZodString>;
32
32
  appId: z.ZodString;
33
33
  appName: z.ZodString;
34
34
  ownerDeveloperId: z.ZodOptional<z.ZodString>;