@flowrunner/cli 0.1.4 → 0.1.5-dev.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/ai-docs/instructions/service-code-format/08-polling-triggers.md +2 -2
  2. package/dist/cli.js +46 -31
  3. package/dist/cli.js.map +3 -3
  4. package/dist/index.js +14 -7
  5. package/dist/index.js.map +2 -2
  6. package/dist/types/shared/src/constants/docs.d.ts +4 -0
  7. package/dist/types/shared/src/constants/error-codes.d.ts +1 -0
  8. package/dist/types/shared/src/constants/index.d.ts +1 -0
  9. package/dist/types/shared/src/constants/knowledge-base.d.ts +1 -0
  10. package/dist/types/shared/src/constants/notification-types.d.ts +95 -22
  11. package/dist/types/shared/src/constants/shared-extensions.d.ts +9 -0
  12. package/dist/types/shared/src/errors/k8s.d.ts +10 -0
  13. package/dist/types/shared/src/scheme/crm/dto.d.ts +2 -2
  14. package/dist/types/shared/src/scheme/flowrunner/custom-elements.d.ts +20 -29
  15. package/dist/types/shared/src/scheme/integration-connection/dto.d.ts +2 -2
  16. package/dist/types/shared/src/scheme/knowledge-base/dto.d.ts +80 -0
  17. package/dist/types/shared/src/scheme/notifications/dto.d.ts +3 -0
  18. package/dist/types/shared/src/scheme/notifications/rest.d.ts +6 -0
  19. package/dist/types/shared/src/scheme/shared-extensions/config.d.ts +20 -20
  20. package/dist/types/shared/src/scheme/shared-extensions/custom-extensions.d.ts +30 -36
  21. package/dist/types/shared/src/scheme/shared-extensions/extension.d.ts +40 -40
  22. package/dist/types/shared/src/scheme/shared-extensions/index.d.ts +1 -0
  23. package/dist/types/shared/src/scheme/shared-extensions/resolve.d.ts +15 -24
  24. package/dist/types/shared/src/scheme/shared-extensions/search.d.ts +10 -10
  25. package/dist/types/shared/src/scheme/shared-extensions/workspace-stack.d.ts +44 -0
  26. package/dist/types/shared/src/scheme/workspace/dto.d.ts +1 -1
  27. package/package.json +1 -1
  28. package/runtime/index.js +14 -7
  29. package/runtime/index.js.map +2 -2
  30. package/runtime/types/shared/src/constants/docs.d.ts +4 -0
  31. package/runtime/types/shared/src/constants/error-codes.d.ts +1 -0
  32. package/runtime/types/shared/src/constants/index.d.ts +1 -0
  33. package/runtime/types/shared/src/constants/knowledge-base.d.ts +1 -0
  34. package/runtime/types/shared/src/constants/notification-types.d.ts +95 -22
  35. package/runtime/types/shared/src/constants/shared-extensions.d.ts +9 -0
  36. package/runtime/types/shared/src/errors/k8s.d.ts +10 -0
  37. package/runtime/types/shared/src/scheme/flowrunner/custom-elements.d.ts +20 -29
  38. package/runtime/types/shared/src/scheme/integration-connection/dto.d.ts +2 -2
  39. package/runtime/types/shared/src/scheme/knowledge-base/dto.d.ts +80 -0
  40. package/runtime/types/shared/src/scheme/notifications/dto.d.ts +3 -0
  41. package/runtime/types/shared/src/scheme/notifications/rest.d.ts +6 -0
  42. package/runtime/types/shared/src/scheme/shared-extensions/config.d.ts +20 -20
  43. package/runtime/types/shared/src/scheme/shared-extensions/custom-extensions.d.ts +30 -36
  44. package/runtime/types/shared/src/scheme/shared-extensions/extension.d.ts +40 -40
  45. package/runtime/types/shared/src/scheme/shared-extensions/index.d.ts +1 -0
  46. package/runtime/types/shared/src/scheme/shared-extensions/resolve.d.ts +15 -24
  47. package/runtime/types/shared/src/scheme/shared-extensions/search.d.ts +10 -10
  48. package/runtime/types/shared/src/scheme/shared-extensions/workspace-stack.d.ts +44 -0
@@ -0,0 +1,4 @@
1
+ export declare const DOCS_BASE_URL = "https://docs.flowrunner.ai";
2
+ export declare const DocsLinks: {
3
+ readonly EXTENSION_CONFIG_ITEMS: "https://docs.flowrunner.ai/extend/service-structure.html#what-the-workspace-fills-in";
4
+ };
@@ -12,5 +12,6 @@ export declare enum CommonErrorTypes {
12
12
  S3_ERROR = "S3_ERROR",
13
13
  CLI_TOKEN_EXPIRED = "CLI_TOKEN_EXPIRED",
14
14
  K8S_POD_EXECUTION_ERROR = "K8S_POD_EXECUTION_ERROR",
15
+ CLOUD_CODE_RESPONSE_TOO_LARGE = "CLOUD_CODE_RESPONSE_TOO_LARGE",
15
16
  VECTOR_SEARCH_ERROR = "VECTOR_SEARCH_ERROR"
16
17
  }
@@ -5,6 +5,7 @@ export * from './app';
5
5
  export * from './billing';
6
6
  export * from './compliances';
7
7
  export * from './data-types';
8
+ export * from './docs';
8
9
  export * from './error-codes';
9
10
  export * from './knowledge-base';
10
11
  export * from './notification-types';
@@ -3,6 +3,7 @@ export declare const VectorStoreAdapters: {
3
3
  readonly MONGODB_ATLAS: "MONGODB_ATLAS";
4
4
  readonly POSTGRESQL: "POSTGRESQL";
5
5
  readonly OPENSEARCH: "OPENSEARCH";
6
+ readonly WEAVIATE: "WEAVIATE";
6
7
  };
7
8
  export type VectorStoreAdapters = typeof VectorStoreAdapters[keyof typeof VectorStoreAdapters];
8
9
  export declare const KNOWLEDGE_BASE_ELEMENT_SERVICE_INFO: {
@@ -1,4 +1,5 @@
1
1
  import { z, type ZodSchema } from 'zod';
2
+ import { BillingPlanComponentId } from '../scheme/billing/java.dto';
2
3
  import { type NotificationTagType } from './notifications';
3
4
  import { type SeverityType } from './severity';
4
5
  import { type KeysTuple } from './zod';
@@ -227,9 +228,6 @@ export declare const FlowExtensionPollingTriggerFailedDataSchema: z.ZodObject<{
227
228
  requestName: z.ZodOptional<z.ZodString>;
228
229
  reason: z.ZodOptional<z.ZodString>;
229
230
  error: z.ZodOptional<z.ZodString>;
230
- serviceName: z.ZodOptional<z.ZodString>;
231
- modelName: z.ZodOptional<z.ZodString>;
232
- lang: z.ZodOptional<z.ZodString>;
233
231
  }, z.core.$strip>;
234
232
  export declare const FlowExtensionRealtimeTriggerFailedDataSchema: z.ZodObject<{
235
233
  developerFullName: z.ZodOptional<z.ZodString>;
@@ -243,9 +241,6 @@ export declare const FlowExtensionRealtimeTriggerFailedDataSchema: z.ZodObject<{
243
241
  requestName: z.ZodOptional<z.ZodString>;
244
242
  reason: z.ZodOptional<z.ZodString>;
245
243
  error: z.ZodOptional<z.ZodString>;
246
- serviceName: z.ZodOptional<z.ZodString>;
247
- modelName: z.ZodOptional<z.ZodString>;
248
- lang: z.ZodOptional<z.ZodString>;
249
244
  }, z.core.$strip>;
250
245
  export declare const WorkspaceCloningCompletedDataSchema: z.ZodObject<{
251
246
  developerFullName: z.ZodOptional<z.ZodString>;
@@ -264,14 +259,62 @@ export declare const FlowEventNotificationDataSchema: z.ZodObject<{
264
259
  flowName: z.ZodOptional<z.ZodString>;
265
260
  version: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
266
261
  }, z.core.$strip>;
262
+ export declare const BillingThresholdNotificationDataSchema: z.ZodObject<{
263
+ component: z.ZodEnum<typeof BillingPlanComponentId>;
264
+ usage: z.ZodNumber;
265
+ limit: z.ZodNumber;
266
+ plan: z.ZodString;
267
+ }, z.core.$strip>;
267
268
  export declare const WorkspaceNotificationTypes: {
268
- readonly BILLING_EXCEEDED: {
269
+ readonly BILLING_LIMIT_80: {
270
+ readonly severity: "warning";
271
+ readonly title: "Approaching your execution limit";
272
+ readonly message: (data: Record<string, unknown>) => string;
273
+ readonly emailTemplate: "billing-limit";
274
+ readonly tags: ["billing"];
275
+ readonly dataSchema: z.ZodObject<{
276
+ component: z.ZodEnum<typeof BillingPlanComponentId>;
277
+ usage: z.ZodNumber;
278
+ limit: z.ZodNumber;
279
+ plan: z.ZodString;
280
+ }, z.core.$strip>;
281
+ };
282
+ readonly BILLING_LIMIT_90: {
269
283
  readonly severity: "warning";
270
- readonly title: "Execution Limit Exceeded";
284
+ readonly title: "Execution limit almost reached";
285
+ readonly message: (data: Record<string, unknown>) => string;
286
+ readonly emailTemplate: "billing-limit";
287
+ readonly tags: ["billing"];
288
+ readonly dataSchema: z.ZodObject<{
289
+ component: z.ZodEnum<typeof BillingPlanComponentId>;
290
+ usage: z.ZodNumber;
291
+ limit: z.ZodNumber;
292
+ plan: z.ZodString;
293
+ }, z.core.$strip>;
294
+ };
295
+ readonly BILLING_LIMIT_95: {
296
+ readonly severity: "critical";
297
+ readonly title: "Execution limit nearly exhausted";
298
+ readonly message: (data: Record<string, unknown>) => string;
299
+ readonly emailTemplate: "billing-limit";
300
+ readonly tags: ["billing"];
301
+ readonly dataSchema: z.ZodObject<{
302
+ component: z.ZodEnum<typeof BillingPlanComponentId>;
303
+ usage: z.ZodNumber;
304
+ limit: z.ZodNumber;
305
+ plan: z.ZodString;
306
+ }, z.core.$strip>;
307
+ };
308
+ readonly BILLING_EXCEEDED: {
309
+ readonly severity: "critical";
310
+ readonly title: "Execution Limit Reached";
271
311
  readonly message: (data: Record<string, unknown>) => string;
272
312
  readonly emailTemplate: "billing-exceeded";
273
313
  readonly tags: ["billing"];
274
314
  readonly dataSchema: z.ZodObject<{
315
+ component: z.ZodEnum<typeof BillingPlanComponentId>;
316
+ usage: z.ZodNumber;
317
+ limit: z.ZodNumber;
275
318
  plan: z.ZodString;
276
319
  }, z.core.$strip>;
277
320
  };
@@ -355,9 +398,6 @@ export declare const WorkspaceNotificationTypes: {
355
398
  requestName: z.ZodOptional<z.ZodString>;
356
399
  reason: z.ZodOptional<z.ZodString>;
357
400
  error: z.ZodOptional<z.ZodString>;
358
- serviceName: z.ZodOptional<z.ZodString>;
359
- modelName: z.ZodOptional<z.ZodString>;
360
- lang: z.ZodOptional<z.ZodString>;
361
401
  }, z.core.$strip>;
362
402
  };
363
403
  readonly FLOW_EXTENSION_REALTIME_TRIGGER_FAILED: {
@@ -378,9 +418,6 @@ export declare const WorkspaceNotificationTypes: {
378
418
  requestName: z.ZodOptional<z.ZodString>;
379
419
  reason: z.ZodOptional<z.ZodString>;
380
420
  error: z.ZodOptional<z.ZodString>;
381
- serviceName: z.ZodOptional<z.ZodString>;
382
- modelName: z.ZodOptional<z.ZodString>;
383
- lang: z.ZodOptional<z.ZodString>;
384
421
  }, z.core.$strip>;
385
422
  };
386
423
  readonly WORKSPACE_CLONING_COMPLETED: {
@@ -558,13 +595,55 @@ export declare const WorkspaceNotificationTypeKeys: KeysTuple<typeof WorkspaceNo
558
595
  export declare const AccountNotificationType: { [K in AccountNotificationType]: K; };
559
596
  export declare const WorkspaceNotificationType: { [K in WorkspaceNotificationType]: K; };
560
597
  export declare const AllNotificationTypes: {
561
- readonly BILLING_EXCEEDED: {
598
+ readonly BILLING_LIMIT_80: {
599
+ readonly severity: "warning";
600
+ readonly title: "Approaching your execution limit";
601
+ readonly message: (data: Record<string, unknown>) => string;
602
+ readonly emailTemplate: "billing-limit";
603
+ readonly tags: ["billing"];
604
+ readonly dataSchema: z.ZodObject<{
605
+ component: z.ZodEnum<typeof BillingPlanComponentId>;
606
+ usage: z.ZodNumber;
607
+ limit: z.ZodNumber;
608
+ plan: z.ZodString;
609
+ }, z.core.$strip>;
610
+ };
611
+ readonly BILLING_LIMIT_90: {
562
612
  readonly severity: "warning";
563
- readonly title: "Execution Limit Exceeded";
613
+ readonly title: "Execution limit almost reached";
614
+ readonly message: (data: Record<string, unknown>) => string;
615
+ readonly emailTemplate: "billing-limit";
616
+ readonly tags: ["billing"];
617
+ readonly dataSchema: z.ZodObject<{
618
+ component: z.ZodEnum<typeof BillingPlanComponentId>;
619
+ usage: z.ZodNumber;
620
+ limit: z.ZodNumber;
621
+ plan: z.ZodString;
622
+ }, z.core.$strip>;
623
+ };
624
+ readonly BILLING_LIMIT_95: {
625
+ readonly severity: "critical";
626
+ readonly title: "Execution limit nearly exhausted";
627
+ readonly message: (data: Record<string, unknown>) => string;
628
+ readonly emailTemplate: "billing-limit";
629
+ readonly tags: ["billing"];
630
+ readonly dataSchema: z.ZodObject<{
631
+ component: z.ZodEnum<typeof BillingPlanComponentId>;
632
+ usage: z.ZodNumber;
633
+ limit: z.ZodNumber;
634
+ plan: z.ZodString;
635
+ }, z.core.$strip>;
636
+ };
637
+ readonly BILLING_EXCEEDED: {
638
+ readonly severity: "critical";
639
+ readonly title: "Execution Limit Reached";
564
640
  readonly message: (data: Record<string, unknown>) => string;
565
641
  readonly emailTemplate: "billing-exceeded";
566
642
  readonly tags: ["billing"];
567
643
  readonly dataSchema: z.ZodObject<{
644
+ component: z.ZodEnum<typeof BillingPlanComponentId>;
645
+ usage: z.ZodNumber;
646
+ limit: z.ZodNumber;
568
647
  plan: z.ZodString;
569
648
  }, z.core.$strip>;
570
649
  };
@@ -648,9 +727,6 @@ export declare const AllNotificationTypes: {
648
727
  requestName: z.ZodOptional<z.ZodString>;
649
728
  reason: z.ZodOptional<z.ZodString>;
650
729
  error: z.ZodOptional<z.ZodString>;
651
- serviceName: z.ZodOptional<z.ZodString>;
652
- modelName: z.ZodOptional<z.ZodString>;
653
- lang: z.ZodOptional<z.ZodString>;
654
730
  }, z.core.$strip>;
655
731
  };
656
732
  readonly FLOW_EXTENSION_REALTIME_TRIGGER_FAILED: {
@@ -671,9 +747,6 @@ export declare const AllNotificationTypes: {
671
747
  requestName: z.ZodOptional<z.ZodString>;
672
748
  reason: z.ZodOptional<z.ZodString>;
673
749
  error: z.ZodOptional<z.ZodString>;
674
- serviceName: z.ZodOptional<z.ZodString>;
675
- modelName: z.ZodOptional<z.ZodString>;
676
- lang: z.ZodOptional<z.ZodString>;
677
750
  }, z.core.$strip>;
678
751
  };
679
752
  readonly WORKSPACE_CLONING_COMPLETED: {
@@ -1,4 +1,5 @@
1
1
  export declare const DEFAULT_FLOW_EXTENSION_PACKAGE_ID = "default";
2
+ export declare const WORKSPACE_STACK_MAX_EXTENSIONS = 100;
2
3
  export declare const SharedExtensionStatuses: {
3
4
  readonly INSTALLED: "installed";
4
5
  readonly MISSING_FS: "missing_fs";
@@ -21,6 +22,14 @@ export declare const HostTypes: {
21
22
  readonly SHARED: "SHARED";
22
23
  };
23
24
  export type HostTypeT = typeof HostTypes[keyof typeof HostTypes];
25
+ export declare const ServiceConfigFieldTypes: {
26
+ readonly STRING: "string";
27
+ readonly BOOL: "bool";
28
+ readonly DATE: "date";
29
+ readonly CHOICE: "choice";
30
+ readonly TEXT: "text";
31
+ };
32
+ export type ServiceConfigFieldTypeT = typeof ServiceConfigFieldTypes[keyof typeof ServiceConfigFieldTypes];
24
33
  export declare const ExtensionResolveStatuses: {
25
34
  readonly UNCHANGED: "UNCHANGED";
26
35
  readonly UPDATED: "UPDATED";
@@ -2,3 +2,13 @@ import { ApiError } from './base';
2
2
  export declare class K8SPodExecutionError extends ApiError {
3
3
  constructor(message?: string, details?: unknown);
4
4
  }
5
+ /**
6
+ * The pod's response exceeded the byte cap `fr-web-console` is willing to read back (see
7
+ * `cloudCode.request.maxResponseBytes`). Raised so one workspace returning a gigantic result fails
8
+ * cleanly for that execution only, instead of this shared service buffering the body until it runs
9
+ * out of memory and takes Cloud Code down for everyone. It is the customer's execution error — the
10
+ * code ran, it is the size of what it returned that is the problem.
11
+ */
12
+ export declare class CloudCodeResponseTooLargeError extends ApiError {
13
+ constructor(message?: string, details?: unknown);
14
+ }
@@ -9,11 +9,11 @@ export declare const CustomElementServiceInfoSchema: z.ZodObject<{
9
9
  shared: z.ZodBoolean;
10
10
  name: z.ZodString;
11
11
  type: z.ZodEnum<{
12
- string: "string";
13
- bool: "bool";
14
- date: "date";
15
- choice: "choice";
16
- text: "text";
12
+ readonly STRING: "string";
13
+ readonly BOOL: "bool";
14
+ readonly DATE: "date";
15
+ readonly CHOICE: "choice";
16
+ readonly TEXT: "text";
17
17
  }>;
18
18
  required: z.ZodBoolean;
19
19
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -76,12 +76,9 @@ export declare const CustomElementMethodSchema: z.ZodObject<{
76
76
  APP: "APP";
77
77
  SHARED: "SHARED";
78
78
  }>;
79
- serviceName: z.ZodString;
80
79
  requireOAuth: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
81
80
  id: z.ZodString;
82
81
  legacyElementId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
83
- modelName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
84
- lang: z.ZodOptional<z.ZodNullable<z.ZodString>>;
85
82
  }, z.core.$strip>;
86
83
  export declare const CustomElementsBundleSchema: z.ZodObject<{
87
84
  serviceInfo: z.ZodObject<{
@@ -94,11 +91,11 @@ export declare const CustomElementsBundleSchema: z.ZodObject<{
94
91
  shared: z.ZodBoolean;
95
92
  name: z.ZodString;
96
93
  type: z.ZodEnum<{
97
- string: "string";
98
- bool: "bool";
99
- date: "date";
100
- choice: "choice";
101
- text: "text";
94
+ readonly STRING: "string";
95
+ readonly BOOL: "bool";
96
+ readonly DATE: "date";
97
+ readonly CHOICE: "choice";
98
+ readonly TEXT: "text";
102
99
  }>;
103
100
  required: z.ZodBoolean;
104
101
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -161,12 +158,9 @@ export declare const CustomElementsBundleSchema: z.ZodObject<{
161
158
  APP: "APP";
162
159
  SHARED: "SHARED";
163
160
  }>;
164
- serviceName: z.ZodString;
165
161
  requireOAuth: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
166
162
  id: z.ZodString;
167
163
  legacyElementId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
168
- modelName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
169
- lang: z.ZodOptional<z.ZodNullable<z.ZodString>>;
170
164
  }, z.core.$strip>>;
171
165
  }, z.core.$strip>;
172
166
  export declare const SharedExtensionsElementsSchema: z.ZodObject<{
@@ -181,11 +175,11 @@ export declare const SharedExtensionsElementsSchema: z.ZodObject<{
181
175
  shared: z.ZodBoolean;
182
176
  name: z.ZodString;
183
177
  type: z.ZodEnum<{
184
- string: "string";
185
- bool: "bool";
186
- date: "date";
187
- choice: "choice";
188
- text: "text";
178
+ readonly STRING: "string";
179
+ readonly BOOL: "bool";
180
+ readonly DATE: "date";
181
+ readonly CHOICE: "choice";
182
+ readonly TEXT: "text";
189
183
  }>;
190
184
  required: z.ZodBoolean;
191
185
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -248,12 +242,9 @@ export declare const SharedExtensionsElementsSchema: z.ZodObject<{
248
242
  APP: "APP";
249
243
  SHARED: "SHARED";
250
244
  }>;
251
- serviceName: z.ZodString;
252
245
  requireOAuth: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
253
246
  id: z.ZodString;
254
247
  legacyElementId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
255
- modelName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
256
- lang: z.ZodOptional<z.ZodNullable<z.ZodString>>;
257
248
  }, z.core.$strip>>;
258
249
  }, z.core.$strip>>;
259
250
  }, z.core.$strip>;
@@ -296,11 +287,11 @@ export declare const CustomElementMethodWithServiceInfoSchema: z.ZodObject<{
296
287
  shared: z.ZodBoolean;
297
288
  name: z.ZodString;
298
289
  type: z.ZodEnum<{
299
- string: "string";
300
- bool: "bool";
301
- date: "date";
302
- choice: "choice";
303
- text: "text";
290
+ readonly STRING: "string";
291
+ readonly BOOL: "bool";
292
+ readonly DATE: "date";
293
+ readonly CHOICE: "choice";
294
+ readonly TEXT: "text";
304
295
  }>;
305
296
  required: z.ZodBoolean;
306
297
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -21,9 +21,9 @@ export declare const ConnectionInfoDTOSchema: z.ZodObject<{
21
21
  connectionIdentityName: z.ZodOptional<z.ZodString>;
22
22
  connectionIdentityImageURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
23
  serviceName: z.ZodString;
24
- modelName: z.ZodOptional<z.ZodString>;
25
24
  packageId: z.ZodOptional<z.ZodString>;
26
25
  hostType: z.ZodOptional<z.ZodString>;
26
+ modelName: z.ZodOptional<z.ZodString>;
27
27
  }, z.core.$strip>;
28
28
  export declare const OAuthConnectionDTOSchema: z.ZodObject<{
29
29
  _id: z.ZodUUID;
@@ -36,9 +36,9 @@ export declare const OAuthConnectionDTOSchema: z.ZodObject<{
36
36
  connectionIdentityName: z.ZodOptional<z.ZodString>;
37
37
  connectionIdentityImageURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
38
  serviceName: z.ZodString;
39
- modelName: z.ZodOptional<z.ZodString>;
40
39
  packageId: z.ZodOptional<z.ZodString>;
41
40
  hostType: z.ZodOptional<z.ZodString>;
41
+ modelName: z.ZodOptional<z.ZodString>;
42
42
  }, z.core.$strip>>;
43
43
  created: z.ZodCoercedDate<unknown>;
44
44
  updated: z.ZodCoercedDate<unknown>;
@@ -18,6 +18,7 @@ export declare const VectorStoreAdapterSchema: z.ZodEnum<{
18
18
  readonly MONGODB_ATLAS: "MONGODB_ATLAS";
19
19
  readonly POSTGRESQL: "POSTGRESQL";
20
20
  readonly OPENSEARCH: "OPENSEARCH";
21
+ readonly WEAVIATE: "WEAVIATE";
21
22
  }>;
22
23
  export declare const ChunkingOptionsDTOSchema: z.ZodObject<{
23
24
  chunkSize: z.ZodNumber;
@@ -155,6 +156,44 @@ export declare const OpenSearchIndexMetadataResponseDTOSchema: z.ZodObject<{
155
156
  }, z.core.$strip>>;
156
157
  objectFields: z.ZodArray<z.ZodString>;
157
158
  }, z.core.$strip>;
159
+ export declare const WeaviateHostUrlSchema: z.ZodString;
160
+ export declare const WeaviateVectorStorageConfigSchema: z.ZodObject<{
161
+ host: z.ZodString;
162
+ grpcHost: z.ZodString;
163
+ apiKey: z.ZodString;
164
+ collectionName: z.ZodString;
165
+ textProperty: z.ZodString;
166
+ targetVector: z.ZodString;
167
+ searchInFullCollection: z.ZodBoolean;
168
+ }, z.core.$strip>;
169
+ export declare const WeaviateConnectionDTOSchema: z.ZodObject<{
170
+ apiKey: z.ZodString;
171
+ host: z.ZodString;
172
+ grpcHost: z.ZodString;
173
+ }, z.core.$strip>;
174
+ export declare const WeaviateCollectionNameSchema: z.ZodString;
175
+ export declare const WeaviateConnectionTestResponseDTOSchema: z.ZodObject<{
176
+ success: z.ZodBoolean;
177
+ message: z.ZodString;
178
+ version: z.ZodOptional<z.ZodString>;
179
+ warning: z.ZodOptional<z.ZodString>;
180
+ collections: z.ZodArray<z.ZodString>;
181
+ }, z.core.$strip>;
182
+ export declare const WeaviateVectorInfoDTOSchema: z.ZodObject<{
183
+ name: z.ZodString;
184
+ dimension: z.ZodNullable<z.ZodNumber>;
185
+ }, z.core.$strip>;
186
+ export declare const WeaviateCollectionMetadataResponseDTOSchema: z.ZodObject<{
187
+ exists: z.ZodBoolean;
188
+ isEmpty: z.ZodBoolean;
189
+ objectsCount: z.ZodNumber;
190
+ textProperties: z.ZodArray<z.ZodString>;
191
+ vectors: z.ZodArray<z.ZodObject<{
192
+ name: z.ZodString;
193
+ dimension: z.ZodNullable<z.ZodNumber>;
194
+ }, z.core.$strip>>;
195
+ vectorizer: z.ZodString;
196
+ }, z.core.$strip>;
158
197
  export declare const VectorStorageDTOSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
159
198
  adapter: z.ZodLiteral<"QDRANT">;
160
199
  config: z.ZodObject<{
@@ -217,6 +256,17 @@ export declare const VectorStorageDTOSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
217
256
  rejectUnauthorized: z.ZodBoolean;
218
257
  searchInFullCollection: z.ZodBoolean;
219
258
  }, z.core.$strip>;
259
+ }, z.core.$strip>, z.ZodObject<{
260
+ adapter: z.ZodLiteral<"WEAVIATE">;
261
+ config: z.ZodObject<{
262
+ host: z.ZodString;
263
+ grpcHost: z.ZodString;
264
+ apiKey: z.ZodString;
265
+ collectionName: z.ZodString;
266
+ textProperty: z.ZodString;
267
+ targetVector: z.ZodString;
268
+ searchInFullCollection: z.ZodBoolean;
269
+ }, z.core.$strip>;
220
270
  }, z.core.$strip>], "adapter">;
221
271
  export declare const SyncWarningCodeSchema: z.ZodEnum<{
222
272
  CHUNKS_MISSING: "CHUNKS_MISSING";
@@ -335,6 +385,17 @@ export declare const KnowledgeBaseDTOSchema: z.ZodObject<{
335
385
  rejectUnauthorized: z.ZodBoolean;
336
386
  searchInFullCollection: z.ZodBoolean;
337
387
  }, z.core.$strip>;
388
+ }, z.core.$strip>, z.ZodObject<{
389
+ adapter: z.ZodLiteral<"WEAVIATE">;
390
+ config: z.ZodObject<{
391
+ host: z.ZodString;
392
+ grpcHost: z.ZodString;
393
+ apiKey: z.ZodString;
394
+ collectionName: z.ZodString;
395
+ textProperty: z.ZodString;
396
+ targetVector: z.ZodString;
397
+ searchInFullCollection: z.ZodBoolean;
398
+ }, z.core.$strip>;
338
399
  }, z.core.$strip>], "adapter">;
339
400
  files: z.ZodArray<z.ZodObject<{
340
401
  fileId: z.ZodOptional<z.ZodString>;
@@ -470,6 +531,17 @@ export declare const KnowledgeBaseEntitySchema: z.ZodObject<{
470
531
  rejectUnauthorized: z.ZodBoolean;
471
532
  searchInFullCollection: z.ZodBoolean;
472
533
  }, z.core.$strip>;
534
+ }, z.core.$strip>, z.ZodObject<{
535
+ adapter: z.ZodLiteral<"WEAVIATE">;
536
+ config: z.ZodObject<{
537
+ host: z.ZodString;
538
+ grpcHost: z.ZodString;
539
+ apiKey: z.ZodString;
540
+ collectionName: z.ZodString;
541
+ textProperty: z.ZodString;
542
+ targetVector: z.ZodString;
543
+ searchInFullCollection: z.ZodBoolean;
544
+ }, z.core.$strip>;
473
545
  }, z.core.$strip>], "adapter">;
474
546
  files: z.ZodArray<z.ZodObject<{
475
547
  fileName: z.ZodString;
@@ -513,6 +585,7 @@ export declare const CreateKnowledgeBaseDTOSchema: z.ZodObject<{
513
585
  readonly MONGODB_ATLAS: "MONGODB_ATLAS";
514
586
  readonly POSTGRESQL: "POSTGRESQL";
515
587
  readonly OPENSEARCH: "OPENSEARCH";
588
+ readonly WEAVIATE: "WEAVIATE";
516
589
  }>;
517
590
  vectorStorageConfig: z.ZodRecord<z.ZodString, z.ZodUnknown>;
518
591
  }, z.core.$strip>;
@@ -687,6 +760,13 @@ export type OpenSearchIndexName = z.infer<typeof OpenSearchIndexNameSchema>;
687
760
  export type OpenSearchConnectionTestResponseDTO = z.infer<typeof OpenSearchConnectionTestResponseDTOSchema>;
688
761
  export type OpenSearchVectorFieldInfoDTO = z.infer<typeof OpenSearchVectorFieldInfoDTOSchema>;
689
762
  export type OpenSearchIndexMetadataResponseDTO = z.infer<typeof OpenSearchIndexMetadataResponseDTOSchema>;
763
+ export type WeaviateVectorStorageConfigDTO = z.infer<typeof WeaviateVectorStorageConfigSchema>;
764
+ export type WeaviateConnectionDTO = z.infer<typeof WeaviateConnectionDTOSchema>;
765
+ export type WeaviateHostUrl = z.infer<typeof WeaviateHostUrlSchema>;
766
+ export type WeaviateCollectionName = z.infer<typeof WeaviateCollectionNameSchema>;
767
+ export type WeaviateConnectionTestResponseDTO = z.infer<typeof WeaviateConnectionTestResponseDTOSchema>;
768
+ export type WeaviateVectorInfoDTO = z.infer<typeof WeaviateVectorInfoDTOSchema>;
769
+ export type WeaviateCollectionMetadataResponseDTO = z.infer<typeof WeaviateCollectionMetadataResponseDTOSchema>;
690
770
  export type PostgreSQLIdentifier = z.infer<typeof PostgreSQLIdentifierSchema>;
691
771
  export type PostgreSQLConnectionDTO = z.infer<typeof PostgreSQLConnectionDTOSchema>;
692
772
  export type PostgreSQLConnectionTestResponseDTO = z.infer<typeof PostgreSQLConnectionTestResponseDTOSchema>;
@@ -78,6 +78,9 @@ export declare const WorkspaceNotificationDTOSchema: z.ZodObject<{
78
78
  }>>>;
79
79
  createdAt: z.ZodCoercedDate<unknown>;
80
80
  type: z.ZodEnum<{
81
+ BILLING_LIMIT_80: "BILLING_LIMIT_80";
82
+ BILLING_LIMIT_90: "BILLING_LIMIT_90";
83
+ BILLING_LIMIT_95: "BILLING_LIMIT_95";
81
84
  BILLING_EXCEEDED: "BILLING_EXCEEDED";
82
85
  PAYMENT_CARD_MISSING: "PAYMENT_CARD_MISSING";
83
86
  PAYMENT_FAILED: "PAYMENT_FAILED";
@@ -24,6 +24,9 @@ export declare const AccountNotificationRequestBodySchema: z.ZodObject<{
24
24
  }, z.core.$strip>;
25
25
  export declare const WorkspaceNotificationRequestBodySchema: z.ZodObject<{
26
26
  type: z.ZodEnum<{
27
+ BILLING_LIMIT_80: "BILLING_LIMIT_80";
28
+ BILLING_LIMIT_90: "BILLING_LIMIT_90";
29
+ BILLING_LIMIT_95: "BILLING_LIMIT_95";
27
30
  BILLING_EXCEEDED: "BILLING_EXCEEDED";
28
31
  PAYMENT_CARD_MISSING: "PAYMENT_CARD_MISSING";
29
32
  PAYMENT_FAILED: "PAYMENT_FAILED";
@@ -114,6 +117,9 @@ export declare const WorkspaceNotificationsResponseSchema: z.ZodObject<{
114
117
  }>>>;
115
118
  createdAt: z.ZodCoercedDate<unknown>;
116
119
  type: z.ZodEnum<{
120
+ BILLING_LIMIT_80: "BILLING_LIMIT_80";
121
+ BILLING_LIMIT_90: "BILLING_LIMIT_90";
122
+ BILLING_LIMIT_95: "BILLING_LIMIT_95";
117
123
  BILLING_EXCEEDED: "BILLING_EXCEEDED";
118
124
  PAYMENT_CARD_MISSING: "PAYMENT_CARD_MISSING";
119
125
  PAYMENT_FAILED: "PAYMENT_FAILED";
@@ -3,11 +3,11 @@ export declare const SharedExtensionConfigItemSchema: z.ZodObject<{
3
3
  shared: z.ZodBoolean;
4
4
  name: z.ZodString;
5
5
  type: z.ZodEnum<{
6
- string: "string";
7
- bool: "bool";
8
- date: "date";
9
- choice: "choice";
10
- text: "text";
6
+ readonly STRING: "string";
7
+ readonly BOOL: "bool";
8
+ readonly DATE: "date";
9
+ readonly CHOICE: "choice";
10
+ readonly TEXT: "text";
11
11
  }>;
12
12
  required: z.ZodBoolean;
13
13
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -19,11 +19,11 @@ export declare const SharedConfigDescriptionsSchema: z.ZodArray<z.ZodObject<{
19
19
  shared: z.ZodBoolean;
20
20
  name: z.ZodString;
21
21
  type: z.ZodEnum<{
22
- string: "string";
23
- bool: "bool";
24
- date: "date";
25
- choice: "choice";
26
- text: "text";
22
+ readonly STRING: "string";
23
+ readonly BOOL: "bool";
24
+ readonly DATE: "date";
25
+ readonly CHOICE: "choice";
26
+ readonly TEXT: "text";
27
27
  }>;
28
28
  required: z.ZodBoolean;
29
29
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -35,11 +35,11 @@ export declare const AppConfigDescriptionsSchema: z.ZodArray<z.ZodObject<{
35
35
  shared: z.ZodBoolean;
36
36
  name: z.ZodString;
37
37
  type: z.ZodEnum<{
38
- string: "string";
39
- bool: "bool";
40
- date: "date";
41
- choice: "choice";
42
- text: "text";
38
+ readonly STRING: "string";
39
+ readonly BOOL: "bool";
40
+ readonly DATE: "date";
41
+ readonly CHOICE: "choice";
42
+ readonly TEXT: "text";
43
43
  }>;
44
44
  required: z.ZodBoolean;
45
45
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -51,11 +51,11 @@ export declare const FlowExtensionConfigItemSourceSchema: z.ZodObject<{
51
51
  shared: z.ZodBoolean;
52
52
  name: z.ZodString;
53
53
  type: z.ZodEnum<{
54
- string: "string";
55
- bool: "bool";
56
- date: "date";
57
- choice: "choice";
58
- text: "text";
54
+ readonly STRING: "string";
55
+ readonly BOOL: "bool";
56
+ readonly DATE: "date";
57
+ readonly CHOICE: "choice";
58
+ readonly TEXT: "text";
59
59
  }>;
60
60
  required: z.ZodBoolean;
61
61
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;