@okf/ootils 1.26.1 → 1.26.3

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.
@@ -502,7 +502,7 @@ declare namespace BASE_BULLMQ_CONFIG {
502
502
  }
503
503
  export { workerConfig_5 as workerConfig };
504
504
  }
505
- namespace AI_AUTO_ANNOTATE_QUEUE {
505
+ namespace SENTIMENT_AND_NER_QUEUE {
506
506
  let id_6: string;
507
507
  export { id_6 as id };
508
508
  export namespace queueConfig_6 {
@@ -539,10 +539,17 @@ declare namespace BASE_BULLMQ_CONFIG {
539
539
  export { lockDuration_6 as lockDuration };
540
540
  let maxStalledCount_6: number;
541
541
  export { maxStalledCount_6 as maxStalledCount };
542
+ export namespace limiter_3 {
543
+ let max_3: number;
544
+ export { max_3 as max };
545
+ let duration_3: number;
546
+ export { duration_3 as duration };
547
+ }
548
+ export { limiter_3 as limiter };
542
549
  }
543
550
  export { workerConfig_6 as workerConfig };
544
551
  }
545
- namespace ANNOS_ELASTIC_SYNC_QUEUE {
552
+ namespace AI_AUTO_ANNOTATE_QUEUE {
546
553
  let id_7: string;
547
554
  export { id_7 as id };
548
555
  export namespace queueConfig_7 {
@@ -582,7 +589,7 @@ declare namespace BASE_BULLMQ_CONFIG {
582
589
  }
583
590
  export { workerConfig_7 as workerConfig };
584
591
  }
585
- namespace CHUNKS_ELASTIC_SYNC_QUEUE {
592
+ namespace ANNOS_ELASTIC_SYNC_QUEUE {
586
593
  let id_8: string;
587
594
  export { id_8 as id };
588
595
  export namespace queueConfig_8 {
@@ -622,7 +629,7 @@ declare namespace BASE_BULLMQ_CONFIG {
622
629
  }
623
630
  export { workerConfig_8 as workerConfig };
624
631
  }
625
- namespace CONTENT_ELASTIC_SYNC_QUEUE {
632
+ namespace CHUNKS_ELASTIC_SYNC_QUEUE {
626
633
  let id_9: string;
627
634
  export { id_9 as id };
628
635
  export namespace queueConfig_9 {
@@ -662,7 +669,7 @@ declare namespace BASE_BULLMQ_CONFIG {
662
669
  }
663
670
  export { workerConfig_9 as workerConfig };
664
671
  }
665
- namespace REINDEX_QUEUE {
672
+ namespace CONTENT_ELASTIC_SYNC_QUEUE {
666
673
  let id_10: string;
667
674
  export { id_10 as id };
668
675
  export namespace queueConfig_10 {
@@ -676,8 +683,6 @@ declare namespace BASE_BULLMQ_CONFIG {
676
683
  export { delay_10 as delay };
677
684
  }
678
685
  export { backoff_10 as backoff };
679
- let delay_11: number;
680
- export { delay_11 as delay };
681
686
  let removeOnComplete_10: number;
682
687
  export { removeOnComplete_10 as removeOnComplete };
683
688
  let removeOnFail_10: number;
@@ -704,6 +709,48 @@ declare namespace BASE_BULLMQ_CONFIG {
704
709
  }
705
710
  export { workerConfig_10 as workerConfig };
706
711
  }
712
+ namespace REINDEX_QUEUE {
713
+ let id_11: string;
714
+ export { id_11 as id };
715
+ export namespace queueConfig_11 {
716
+ export namespace defaultJobOptions_11 {
717
+ let attempts_11: number;
718
+ export { attempts_11 as attempts };
719
+ export namespace backoff_11 {
720
+ let type_11: string;
721
+ export { type_11 as type };
722
+ let delay_11: number;
723
+ export { delay_11 as delay };
724
+ }
725
+ export { backoff_11 as backoff };
726
+ let delay_12: number;
727
+ export { delay_12 as delay };
728
+ let removeOnComplete_11: number;
729
+ export { removeOnComplete_11 as removeOnComplete };
730
+ let removeOnFail_11: number;
731
+ export { removeOnFail_11 as removeOnFail };
732
+ }
733
+ export { defaultJobOptions_11 as defaultJobOptions };
734
+ export namespace streams_11 {
735
+ export namespace events_11 {
736
+ let maxLen_11: number;
737
+ export { maxLen_11 as maxLen };
738
+ }
739
+ export { events_11 as events };
740
+ }
741
+ export { streams_11 as streams };
742
+ }
743
+ export { queueConfig_11 as queueConfig };
744
+ export namespace workerConfig_11 {
745
+ let concurrency_11: number;
746
+ export { concurrency_11 as concurrency };
747
+ let lockDuration_11: number;
748
+ export { lockDuration_11 as lockDuration };
749
+ let maxStalledCount_11: number;
750
+ export { maxStalledCount_11 as maxStalledCount };
751
+ }
752
+ export { workerConfig_11 as workerConfig };
753
+ }
707
754
  }
708
755
 
709
756
  interface PlatformContextContentItem {
package/dist/browser.d.ts CHANGED
@@ -502,7 +502,7 @@ declare namespace BASE_BULLMQ_CONFIG {
502
502
  }
503
503
  export { workerConfig_5 as workerConfig };
504
504
  }
505
- namespace AI_AUTO_ANNOTATE_QUEUE {
505
+ namespace SENTIMENT_AND_NER_QUEUE {
506
506
  let id_6: string;
507
507
  export { id_6 as id };
508
508
  export namespace queueConfig_6 {
@@ -539,10 +539,17 @@ declare namespace BASE_BULLMQ_CONFIG {
539
539
  export { lockDuration_6 as lockDuration };
540
540
  let maxStalledCount_6: number;
541
541
  export { maxStalledCount_6 as maxStalledCount };
542
+ export namespace limiter_3 {
543
+ let max_3: number;
544
+ export { max_3 as max };
545
+ let duration_3: number;
546
+ export { duration_3 as duration };
547
+ }
548
+ export { limiter_3 as limiter };
542
549
  }
543
550
  export { workerConfig_6 as workerConfig };
544
551
  }
545
- namespace ANNOS_ELASTIC_SYNC_QUEUE {
552
+ namespace AI_AUTO_ANNOTATE_QUEUE {
546
553
  let id_7: string;
547
554
  export { id_7 as id };
548
555
  export namespace queueConfig_7 {
@@ -582,7 +589,7 @@ declare namespace BASE_BULLMQ_CONFIG {
582
589
  }
583
590
  export { workerConfig_7 as workerConfig };
584
591
  }
585
- namespace CHUNKS_ELASTIC_SYNC_QUEUE {
592
+ namespace ANNOS_ELASTIC_SYNC_QUEUE {
586
593
  let id_8: string;
587
594
  export { id_8 as id };
588
595
  export namespace queueConfig_8 {
@@ -622,7 +629,7 @@ declare namespace BASE_BULLMQ_CONFIG {
622
629
  }
623
630
  export { workerConfig_8 as workerConfig };
624
631
  }
625
- namespace CONTENT_ELASTIC_SYNC_QUEUE {
632
+ namespace CHUNKS_ELASTIC_SYNC_QUEUE {
626
633
  let id_9: string;
627
634
  export { id_9 as id };
628
635
  export namespace queueConfig_9 {
@@ -662,7 +669,7 @@ declare namespace BASE_BULLMQ_CONFIG {
662
669
  }
663
670
  export { workerConfig_9 as workerConfig };
664
671
  }
665
- namespace REINDEX_QUEUE {
672
+ namespace CONTENT_ELASTIC_SYNC_QUEUE {
666
673
  let id_10: string;
667
674
  export { id_10 as id };
668
675
  export namespace queueConfig_10 {
@@ -676,8 +683,6 @@ declare namespace BASE_BULLMQ_CONFIG {
676
683
  export { delay_10 as delay };
677
684
  }
678
685
  export { backoff_10 as backoff };
679
- let delay_11: number;
680
- export { delay_11 as delay };
681
686
  let removeOnComplete_10: number;
682
687
  export { removeOnComplete_10 as removeOnComplete };
683
688
  let removeOnFail_10: number;
@@ -704,6 +709,48 @@ declare namespace BASE_BULLMQ_CONFIG {
704
709
  }
705
710
  export { workerConfig_10 as workerConfig };
706
711
  }
712
+ namespace REINDEX_QUEUE {
713
+ let id_11: string;
714
+ export { id_11 as id };
715
+ export namespace queueConfig_11 {
716
+ export namespace defaultJobOptions_11 {
717
+ let attempts_11: number;
718
+ export { attempts_11 as attempts };
719
+ export namespace backoff_11 {
720
+ let type_11: string;
721
+ export { type_11 as type };
722
+ let delay_11: number;
723
+ export { delay_11 as delay };
724
+ }
725
+ export { backoff_11 as backoff };
726
+ let delay_12: number;
727
+ export { delay_12 as delay };
728
+ let removeOnComplete_11: number;
729
+ export { removeOnComplete_11 as removeOnComplete };
730
+ let removeOnFail_11: number;
731
+ export { removeOnFail_11 as removeOnFail };
732
+ }
733
+ export { defaultJobOptions_11 as defaultJobOptions };
734
+ export namespace streams_11 {
735
+ export namespace events_11 {
736
+ let maxLen_11: number;
737
+ export { maxLen_11 as maxLen };
738
+ }
739
+ export { events_11 as events };
740
+ }
741
+ export { streams_11 as streams };
742
+ }
743
+ export { queueConfig_11 as queueConfig };
744
+ export namespace workerConfig_11 {
745
+ let concurrency_11: number;
746
+ export { concurrency_11 as concurrency };
747
+ let lockDuration_11: number;
748
+ export { lockDuration_11 as lockDuration };
749
+ let maxStalledCount_11: number;
750
+ export { maxStalledCount_11 as maxStalledCount };
751
+ }
752
+ export { workerConfig_11 as workerConfig };
753
+ }
707
754
  }
708
755
 
709
756
  interface PlatformContextContentItem {
package/dist/browser.js CHANGED
@@ -632,6 +632,34 @@ var BASE_BULLMQ_CONFIG = {
632
632
  }
633
633
  }
634
634
  },
635
+ SENTIMENT_AND_NER_QUEUE: {
636
+ id: "sentiment-and-ner-queue",
637
+ queueConfig: {
638
+ defaultJobOptions: {
639
+ attempts: 3,
640
+ backoff: {
641
+ type: "exponential",
642
+ delay: 2e3
643
+ },
644
+ removeOnComplete: 30,
645
+ removeOnFail: 100
646
+ },
647
+ streams: {
648
+ events: {
649
+ maxLen: 10
650
+ }
651
+ }
652
+ },
653
+ workerConfig: {
654
+ concurrency: 1,
655
+ lockDuration: 9e4,
656
+ maxStalledCount: 3,
657
+ limiter: {
658
+ max: 100,
659
+ duration: 6e4
660
+ }
661
+ }
662
+ },
635
663
  AI_AUTO_ANNOTATE_QUEUE: {
636
664
  id: "ai-auto-annotate-queue",
637
665
  queueConfig: {
package/dist/browser.mjs CHANGED
@@ -578,6 +578,34 @@ var BASE_BULLMQ_CONFIG = {
578
578
  }
579
579
  }
580
580
  },
581
+ SENTIMENT_AND_NER_QUEUE: {
582
+ id: "sentiment-and-ner-queue",
583
+ queueConfig: {
584
+ defaultJobOptions: {
585
+ attempts: 3,
586
+ backoff: {
587
+ type: "exponential",
588
+ delay: 2e3
589
+ },
590
+ removeOnComplete: 30,
591
+ removeOnFail: 100
592
+ },
593
+ streams: {
594
+ events: {
595
+ maxLen: 10
596
+ }
597
+ }
598
+ },
599
+ workerConfig: {
600
+ concurrency: 1,
601
+ lockDuration: 9e4,
602
+ maxStalledCount: 3,
603
+ limiter: {
604
+ max: 100,
605
+ duration: 6e4
606
+ }
607
+ }
608
+ },
581
609
  AI_AUTO_ANNOTATE_QUEUE: {
582
610
  id: "ai-auto-annotate-queue",
583
611
  queueConfig: {
package/dist/node.d.mts CHANGED
@@ -1,5 +1,3 @@
1
- import { Client } from '@elastic/elasticsearch';
2
- import Redis from 'ioredis';
3
1
  import * as _google_cloud_secret_manager_build_src_v1 from '@google-cloud/secret-manager/build/src/v1';
4
2
  import * as mongoose from 'mongoose';
5
3
  import mongoose__default, { Document, Types, Schema } from 'mongoose';
@@ -511,7 +509,7 @@ declare namespace BASE_BULLMQ_CONFIG {
511
509
  }
512
510
  export { workerConfig_5 as workerConfig };
513
511
  }
514
- namespace AI_AUTO_ANNOTATE_QUEUE {
512
+ namespace SENTIMENT_AND_NER_QUEUE {
515
513
  let id_6: string;
516
514
  export { id_6 as id };
517
515
  export namespace queueConfig_6 {
@@ -548,10 +546,17 @@ declare namespace BASE_BULLMQ_CONFIG {
548
546
  export { lockDuration_6 as lockDuration };
549
547
  let maxStalledCount_6: number;
550
548
  export { maxStalledCount_6 as maxStalledCount };
549
+ export namespace limiter_3 {
550
+ let max_3: number;
551
+ export { max_3 as max };
552
+ let duration_3: number;
553
+ export { duration_3 as duration };
554
+ }
555
+ export { limiter_3 as limiter };
551
556
  }
552
557
  export { workerConfig_6 as workerConfig };
553
558
  }
554
- namespace ANNOS_ELASTIC_SYNC_QUEUE {
559
+ namespace AI_AUTO_ANNOTATE_QUEUE {
555
560
  let id_7: string;
556
561
  export { id_7 as id };
557
562
  export namespace queueConfig_7 {
@@ -591,7 +596,7 @@ declare namespace BASE_BULLMQ_CONFIG {
591
596
  }
592
597
  export { workerConfig_7 as workerConfig };
593
598
  }
594
- namespace CHUNKS_ELASTIC_SYNC_QUEUE {
599
+ namespace ANNOS_ELASTIC_SYNC_QUEUE {
595
600
  let id_8: string;
596
601
  export { id_8 as id };
597
602
  export namespace queueConfig_8 {
@@ -631,7 +636,7 @@ declare namespace BASE_BULLMQ_CONFIG {
631
636
  }
632
637
  export { workerConfig_8 as workerConfig };
633
638
  }
634
- namespace CONTENT_ELASTIC_SYNC_QUEUE {
639
+ namespace CHUNKS_ELASTIC_SYNC_QUEUE {
635
640
  let id_9: string;
636
641
  export { id_9 as id };
637
642
  export namespace queueConfig_9 {
@@ -671,7 +676,7 @@ declare namespace BASE_BULLMQ_CONFIG {
671
676
  }
672
677
  export { workerConfig_9 as workerConfig };
673
678
  }
674
- namespace REINDEX_QUEUE {
679
+ namespace CONTENT_ELASTIC_SYNC_QUEUE {
675
680
  let id_10: string;
676
681
  export { id_10 as id };
677
682
  export namespace queueConfig_10 {
@@ -685,8 +690,6 @@ declare namespace BASE_BULLMQ_CONFIG {
685
690
  export { delay_10 as delay };
686
691
  }
687
692
  export { backoff_10 as backoff };
688
- let delay_11: number;
689
- export { delay_11 as delay };
690
693
  let removeOnComplete_10: number;
691
694
  export { removeOnComplete_10 as removeOnComplete };
692
695
  let removeOnFail_10: number;
@@ -713,6 +716,48 @@ declare namespace BASE_BULLMQ_CONFIG {
713
716
  }
714
717
  export { workerConfig_10 as workerConfig };
715
718
  }
719
+ namespace REINDEX_QUEUE {
720
+ let id_11: string;
721
+ export { id_11 as id };
722
+ export namespace queueConfig_11 {
723
+ export namespace defaultJobOptions_11 {
724
+ let attempts_11: number;
725
+ export { attempts_11 as attempts };
726
+ export namespace backoff_11 {
727
+ let type_11: string;
728
+ export { type_11 as type };
729
+ let delay_11: number;
730
+ export { delay_11 as delay };
731
+ }
732
+ export { backoff_11 as backoff };
733
+ let delay_12: number;
734
+ export { delay_12 as delay };
735
+ let removeOnComplete_11: number;
736
+ export { removeOnComplete_11 as removeOnComplete };
737
+ let removeOnFail_11: number;
738
+ export { removeOnFail_11 as removeOnFail };
739
+ }
740
+ export { defaultJobOptions_11 as defaultJobOptions };
741
+ export namespace streams_11 {
742
+ export namespace events_11 {
743
+ let maxLen_11: number;
744
+ export { maxLen_11 as maxLen };
745
+ }
746
+ export { events_11 as events };
747
+ }
748
+ export { streams_11 as streams };
749
+ }
750
+ export { queueConfig_11 as queueConfig };
751
+ export namespace workerConfig_11 {
752
+ let concurrency_11: number;
753
+ export { concurrency_11 as concurrency };
754
+ let lockDuration_11: number;
755
+ export { lockDuration_11 as lockDuration };
756
+ let maxStalledCount_11: number;
757
+ export { maxStalledCount_11 as maxStalledCount };
758
+ }
759
+ export { workerConfig_11 as workerConfig };
760
+ }
716
761
  }
717
762
 
718
763
  interface PlatformContextContentItem {
@@ -1182,17 +1227,39 @@ declare namespace MongoConnector {
1182
1227
 
1183
1228
  declare class ElasticSearchConnector {
1184
1229
  static getInstance(): any;
1185
- static getClient(): any;
1186
- constructor(options?: {});
1187
- client: Client | null;
1188
- cloudId: any;
1189
- apiKey: any;
1190
1230
  /**
1191
- * Initialize Elasticsearch client
1231
+ * Get an Elasticsearch client.
1232
+ * @param {string} [env] - Optional env to get a specific env's client.
1233
+ * If omitted, returns the current env's client (backwards compat).
1234
+ */
1235
+ static getClient(env?: string): any;
1236
+ static getEnv(): any;
1237
+ /**
1238
+ * @param {Object} options
1239
+ *
1240
+ * Multi-env mode (preferred):
1241
+ * { env: 'dev', configs: { dev: { cloudId, apiKey }, staging: { cloudId, apiKey }, prod: { cloudId, apiKey } } }
1242
+ *
1243
+ * Legacy single-env mode (backwards compat):
1244
+ * { cloudId: '...', apiKey: '...' }
1192
1245
  */
1193
- connect(): Client;
1246
+ constructor(options?: Object);
1247
+ env: any;
1248
+ clients: {};
1249
+ client: any;
1250
+ _configs: any;
1251
+ _legacyConfig: {
1252
+ cloudId: any;
1253
+ apiKey: any;
1254
+ } | undefined;
1194
1255
  /**
1195
- * Close the Elasticsearch client
1256
+ * Initialize Elasticsearch client(s).
1257
+ * Multi-env: connects to all configured envs.
1258
+ * Legacy: connects a single client.
1259
+ */
1260
+ connect(): any;
1261
+ /**
1262
+ * Close all Elasticsearch clients.
1196
1263
  */
1197
1264
  close(): Promise<void>;
1198
1265
  }
@@ -1203,7 +1270,12 @@ declare namespace ElasticSearchConnector {
1203
1270
  declare class RedisCacheConnector {
1204
1271
  static getEnv(): any;
1205
1272
  static getInstance(): any;
1206
- static getClient(): any;
1273
+ /**
1274
+ * Get a Redis client.
1275
+ * @param {string} [env] - Optional env to get a specific env's client.
1276
+ * If omitted, returns the current env's client (backwards compat).
1277
+ */
1278
+ static getClient(env?: string): any;
1207
1279
  /**
1208
1280
  * Find documents in Redis cache
1209
1281
  * @param {Object} params - Search parameters
@@ -1239,12 +1311,6 @@ declare class RedisCacheConnector {
1239
1311
  /**
1240
1312
  * Generate Redis key for config caching
1241
1313
  * @private
1242
- * @param {Object} params - Parameters for key generation
1243
- * @param {string} params.tenant - The tenant identifier
1244
- * @param {'platformConfigs'|'tpl'} params.modelName - The model/collection name
1245
- * @param {string} params.type - The document type
1246
- * @param {string} [params.env] - Environment (defaults to current env)
1247
- * @returns {string} The Redis key
1248
1314
  */
1249
1315
  private static _getRedisKeyForConfig;
1250
1316
  /**
@@ -1295,18 +1361,33 @@ declare class RedisCacheConnector {
1295
1361
  * @static
1296
1362
  */
1297
1363
  static loadTplsAndPlatformConfigsToCache({ tenant }?: string): Promise<void>;
1298
- constructor(options?: {});
1299
- client: Redis | null;
1300
- host: any;
1364
+ /**
1365
+ * @param {Object} options
1366
+ *
1367
+ * Multi-env mode (preferred):
1368
+ * { env: 'dev', configs: { dev: { host, port, password }, staging: { host, port, password }, prod: { host, port, password } } }
1369
+ *
1370
+ * Legacy single-env mode (backwards compat):
1371
+ * { host: '...', port: 6379, password: '...', env: 'dev' }
1372
+ */
1373
+ constructor(options?: Object);
1301
1374
  env: any;
1302
- port: any;
1303
- password: any;
1375
+ clients: {};
1376
+ client: any;
1377
+ _configs: any;
1378
+ _legacyConfig: {
1379
+ host: any;
1380
+ port: any;
1381
+ password: any;
1382
+ } | undefined;
1304
1383
  /**
1305
- * Initialize Redis client
1384
+ * Initialize Redis client(s).
1385
+ * Multi-env: connects to all configured envs.
1386
+ * Legacy: connects a single client.
1306
1387
  */
1307
- connect: () => Promise<Redis>;
1388
+ connect: () => Promise<any>;
1308
1389
  /**
1309
- * Close the Redis client
1390
+ * Close all Redis clients.
1310
1391
  */
1311
1392
  close(): Promise<void>;
1312
1393
  }
@@ -1333,6 +1414,45 @@ declare class SecretManagerConnector {
1333
1414
  static getDbConfigs(): any;
1334
1415
  static getTenantEnvConfigs(tenant: any): any;
1335
1416
  static getEnvSpecificConfigs(env: any): any;
1417
+ /**
1418
+ * Get Redis configs for all envs, structured for RedisCacheConnector multi-env mode.
1419
+ * @returns {{ dev: { host, port, password }, staging: { host, port, password }, prod: { host, port, password } }}
1420
+ */
1421
+ static getRedisConfigsForAllEnvs(): {
1422
+ dev: {
1423
+ host: any;
1424
+ port: any;
1425
+ password: any;
1426
+ };
1427
+ staging: {
1428
+ host: any;
1429
+ port: any;
1430
+ password: any;
1431
+ };
1432
+ prod: {
1433
+ host: any;
1434
+ port: any;
1435
+ password: any;
1436
+ };
1437
+ };
1438
+ /**
1439
+ * Get Elasticsearch configs for all envs, structured for ElasticSearchConnector multi-env mode.
1440
+ * @returns {{ dev: { cloudId, apiKey }, staging: { cloudId, apiKey }, prod: { cloudId, apiKey } }}
1441
+ */
1442
+ static getElasticConfigsForAllEnvs(): {
1443
+ dev: {
1444
+ cloudId: any;
1445
+ apiKey: any;
1446
+ };
1447
+ staging: {
1448
+ cloudId: any;
1449
+ apiKey: any;
1450
+ };
1451
+ prod: {
1452
+ cloudId: any;
1453
+ apiKey: any;
1454
+ };
1455
+ };
1336
1456
  static addSecretVersion(secretName: any, data: any): Promise<any>;
1337
1457
  static getInstance(): any;
1338
1458
  constructor({ secrets }?: {
@@ -1390,6 +1510,10 @@ declare function getGeneratedTopicsModelByTenant({ tenant, env }: {
1390
1510
  tenant: any;
1391
1511
  env: any;
1392
1512
  }): any;
1513
+ declare function getGeneratedEntitiesModelByTenant({ tenant, env }: {
1514
+ tenant: any;
1515
+ env: any;
1516
+ }): any;
1393
1517
 
1394
1518
  interface ITagData {
1395
1519
  _id?: Types.ObjectId;
@@ -1625,6 +1749,24 @@ declare const GeneratedTopicsSchema: Schema<IGeneratedTopic, mongoose.Model<IGen
1625
1749
  __v: number;
1626
1750
  }>;
1627
1751
 
1752
+ interface IGeneratedEntity {
1753
+ canonicalName: string;
1754
+ type: string;
1755
+ embeddings: number[];
1756
+ aliases: string[];
1757
+ createdAt: Date;
1758
+ updatedAt: Date;
1759
+ }
1760
+ declare const GeneratedEntitiesSchema: Schema<IGeneratedEntity, mongoose.Model<IGeneratedEntity, any, any, any, mongoose.Document<unknown, any, IGeneratedEntity, any, {}> & IGeneratedEntity & {
1761
+ _id: mongoose.Types.ObjectId;
1762
+ } & {
1763
+ __v: number;
1764
+ }, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, IGeneratedEntity, mongoose.Document<unknown, {}, mongoose.FlatRecord<IGeneratedEntity>, {}, mongoose.DefaultSchemaOptions> & mongoose.FlatRecord<IGeneratedEntity> & {
1765
+ _id: mongoose.Types.ObjectId;
1766
+ } & {
1767
+ __v: number;
1768
+ }>;
1769
+
1628
1770
  declare class WorkerManager {
1629
1771
  constructor(workers?: any[]);
1630
1772
  workers: any[];
@@ -1778,4 +1920,4 @@ declare function GET_GLOBAL_BULLMQ_CONFIG({ env, redisCredentials }: {
1778
1920
  };
1779
1921
  }): Object;
1780
1922
 
1781
- export { AIChatSchema, AnnosElasticSyncProducer, AnnotationSchema, BASE_BULLMQ_CONFIG, BaseProducer, BaseWorker, ChunksElasticSyncProducer, ElasticSearchConnector, FILTER_IDS, GET_GLOBAL_BULLMQ_CONFIG, GeneratedTopicsSchema, MongoConnector, PlatformConfigsSchema, ProducerManager, RedisCacheConnector, SecretManagerConnector, TEMP_removeDuplicateFilters, TplSchema, UI_CONTENT, WorkerManager, _self_managed_buildAnnoHierarchyConfig, _self_managed_getFixedAnnoRollupBlocks, _self_managed_getFixedAnnoTagBlock, autoGenFilterConfigsFromTpl, buildFilterConfigurations, compareAndGroupBlocks, deleteVal, extractAllBlocksFromTpl, extractAndOrganizeBlocks, genTagId, generateFilterKey, getAIChatModelByTenant, getAnnotationsModelByTenant, getDbByTenant, getFilterKeyForBlock, getGeneratedTopicsModelByTenant, getModelByTenant, getPlatformConfigsModelByTenant, getPlatformContextContent, getRollupPossibilities, getRoutePathToEditContent, getRoutePathToModerateContent, getRoutePathToPublishedContent, getTplModelByTenant, getVal, mergeAnnoDataIntoAnnotationsTags, parseSpecialConfigSyntax, processAuthorAndCommonFilters, _recursExtractBlocks as recursivelyExtractBlocks, segrigateDocs, setVal, toArray };
1923
+ export { AIChatSchema, AnnosElasticSyncProducer, AnnotationSchema, BASE_BULLMQ_CONFIG, BaseProducer, BaseWorker, ChunksElasticSyncProducer, ElasticSearchConnector, FILTER_IDS, GET_GLOBAL_BULLMQ_CONFIG, GeneratedEntitiesSchema, GeneratedTopicsSchema, MongoConnector, PlatformConfigsSchema, ProducerManager, RedisCacheConnector, SecretManagerConnector, TEMP_removeDuplicateFilters, TplSchema, UI_CONTENT, WorkerManager, _self_managed_buildAnnoHierarchyConfig, _self_managed_getFixedAnnoRollupBlocks, _self_managed_getFixedAnnoTagBlock, autoGenFilterConfigsFromTpl, buildFilterConfigurations, compareAndGroupBlocks, deleteVal, extractAllBlocksFromTpl, extractAndOrganizeBlocks, genTagId, generateFilterKey, getAIChatModelByTenant, getAnnotationsModelByTenant, getDbByTenant, getFilterKeyForBlock, getGeneratedEntitiesModelByTenant, getGeneratedTopicsModelByTenant, getModelByTenant, getPlatformConfigsModelByTenant, getPlatformContextContent, getRollupPossibilities, getRoutePathToEditContent, getRoutePathToModerateContent, getRoutePathToPublishedContent, getTplModelByTenant, getVal, mergeAnnoDataIntoAnnotationsTags, parseSpecialConfigSyntax, processAuthorAndCommonFilters, _recursExtractBlocks as recursivelyExtractBlocks, segrigateDocs, setVal, toArray };