@kinotic-ai/os-api 1.0.0 → 1.0.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.
package/dist/index.cjs CHANGED
@@ -64,7 +64,7 @@ __export(exports_src, {
64
64
  OsApiPlugin: () => OsApiPlugin,
65
65
  NotIndexedDecorator: () => NotIndexedDecorator,
66
66
  NestedDecorator: () => NestedDecorator,
67
- NamedQueriesService: () => NamedQueriesService,
67
+ NamedQueriesDefinitionService: () => NamedQueriesDefinitionService,
68
68
  NamedQueriesDefinition: () => NamedQueriesDefinition,
69
69
  MigrationService: () => MigrationService,
70
70
  LoggersDescriptor: () => LoggersDescriptor,
@@ -426,7 +426,7 @@ var import_core = require("@kinotic-ai/core");
426
426
 
427
427
  class ApplicationService extends import_core.CrudServiceProxy {
428
428
  constructor(kinotic) {
429
- super(kinotic.serviceProxy("org.kinotic.structures.api.services.ApplicationService"));
429
+ super(kinotic.serviceProxy("org.kinotic.os.api.services.ApplicationService"));
430
430
  }
431
431
  createApplicationIfNotExist(id, description) {
432
432
  return this.serviceProxy.invoke("createApplicationIfNotExist", [id, description]);
@@ -469,7 +469,7 @@ var import_core2 = require("@kinotic-ai/core");
469
469
 
470
470
  class ProjectService extends import_core2.CrudServiceProxy {
471
471
  constructor(kinotic) {
472
- super(kinotic.serviceProxy("org.kinotic.structures.api.services.ProjectService"));
472
+ super(kinotic.serviceProxy("org.kinotic.os.api.services.ProjectService"));
473
473
  }
474
474
  countForApplication(applicationId) {
475
475
  return this.serviceProxy.invoke("countForApplication", [applicationId]);
@@ -554,12 +554,12 @@ class EntityDefinitionService extends import_core3.CrudServiceProxy {
554
554
  return this.serviceProxy.invoke("syncIndex", []);
555
555
  }
556
556
  }
557
- // packages/os-api/src/api/services/INamedQueriesService.ts
557
+ // packages/os-api/src/api/services/INamedQueriesDefinitionService.ts
558
558
  var import_core4 = require("@kinotic-ai/core");
559
559
 
560
- class NamedQueriesService extends import_core4.CrudServiceProxy {
560
+ class NamedQueriesDefinitionService extends import_core4.CrudServiceProxy {
561
561
  constructor(kinotic) {
562
- super(kinotic.serviceProxy("org.kinotic.persistence.api.services.NamedQueriesService"));
562
+ super(kinotic.serviceProxy("org.kinotic.persistence.api.services.NamedQueriesDefinitionService"));
563
563
  }
564
564
  syncIndex() {
565
565
  return this.serviceProxy.invoke("syncIndex", []);
@@ -599,7 +599,7 @@ var OsApiPlugin = {
599
599
  projects: new ProjectService(kinotic),
600
600
  logManager: new LogManager(kinotic),
601
601
  entityDefinitions: new EntityDefinitionService(kinotic),
602
- namedQueries: new NamedQueriesService(kinotic),
602
+ namedQueriesDefinitions: new NamedQueriesDefinitionService(kinotic),
603
603
  migrations: new MigrationService(kinotic),
604
604
  dataInsights: new DataInsightsService(kinotic)
605
605
  };
package/dist/index.d.cts CHANGED
@@ -706,14 +706,14 @@ declare class EntityDefinitionService extends CrudServiceProxy3<EntityDefinition
706
706
  }
707
707
  import { IKinotic as IKinotic5 } from "@kinotic-ai/core";
708
708
  import { CrudServiceProxy as CrudServiceProxy4, ICrudServiceProxy as ICrudServiceProxy4 } from "@kinotic-ai/core";
709
- interface INamedQueriesService extends ICrudServiceProxy4<NamedQueriesDefinition> {
709
+ interface INamedQueriesDefinitionService extends ICrudServiceProxy4<NamedQueriesDefinition> {
710
710
  /**
711
711
  * This operation makes all the recent writes immediately available for search.
712
712
  * @return a Promise that resolves when the operation is complete
713
713
  */
714
714
  syncIndex(): Promise<void>;
715
715
  }
716
- declare class NamedQueriesService extends CrudServiceProxy4<NamedQueriesDefinition> implements INamedQueriesService {
716
+ declare class NamedQueriesDefinitionService extends CrudServiceProxy4<NamedQueriesDefinition> implements INamedQueriesDefinitionService {
717
717
  constructor(kinotic: IKinotic5);
718
718
  syncIndex(): Promise<void>;
719
719
  }
@@ -782,7 +782,7 @@ interface IOsApiExtension {
782
782
  projects: IProjectService;
783
783
  logManager: ILogManager;
784
784
  entityDefinitions: IEntityDefinitionService;
785
- namedQueries: INamedQueriesService;
785
+ namedQueriesDefinitions: INamedQueriesDefinitionService;
786
786
  migrations: IMigrationService;
787
787
  dataInsights: IDataInsightsService;
788
788
  }
@@ -790,4 +790,4 @@ declare const OsApiPlugin: KinoticPlugin<IOsApiExtension>;
790
790
  declare module "@kinotic-ai/core" {
791
791
  interface KinoticSingleton extends IOsApiExtension {}
792
792
  }
793
- export { VersionDecorator, TypescriptProjectConfig, TypescriptExternalProjectConfig, TransformConfiguration, TimeReferenceDecorator, TextDecorator, TenantSelectionC3Type, TenantIdDecorator, StructuresProjectConfig, SingleLoggerLevelsDescriptor, RoleDecorator, QueryOptionsC3Type, QueryDecorator, ProjectType2 as ProjectType, ProjectService, Project, ProgressType, PolicyDecorator, PageableC3Type, PageC3Type, OverrideConfiguration, OsApiPlugin, NotIndexedDecorator, NestedDecorator, NamedQueriesService, NamedQueriesDefinition, MigrationService, MigrationResult, MigrationRequest, MigrationDefinition, LoggersDescriptor, LoggerLevelsDescriptor, LogManager, LogLevel, InsightRequest, InsightProgress, IdDecorator, IProjectService, IOsApiExtension, INamedQueriesService, IMigrationService, ILogManager, IEntityDefinitionService, IDataInsightsService, IApplicationService, GroupLoggerLevelsDescriptor, FlattenedDecorator, EsIndexConfigurationDecorator, EntityDefinitionService, EntityDefinition, EntityDecorator, EntityConfiguration, DiscriminatorDecorator, DataInsightsService, DataInsightsComponent, CalculatedPropertyConfiguration, AutoGeneratedIdDecorator, ApplicationService, Application, $Role, $Policy };
793
+ export { VersionDecorator, TypescriptProjectConfig, TypescriptExternalProjectConfig, TransformConfiguration, TimeReferenceDecorator, TextDecorator, TenantSelectionC3Type, TenantIdDecorator, StructuresProjectConfig, SingleLoggerLevelsDescriptor, RoleDecorator, QueryOptionsC3Type, QueryDecorator, ProjectType2 as ProjectType, ProjectService, Project, ProgressType, PolicyDecorator, PageableC3Type, PageC3Type, OverrideConfiguration, OsApiPlugin, NotIndexedDecorator, NestedDecorator, NamedQueriesDefinitionService, NamedQueriesDefinition, MigrationService, MigrationResult, MigrationRequest, MigrationDefinition, LoggersDescriptor, LoggerLevelsDescriptor, LogManager, LogLevel, InsightRequest, InsightProgress, IdDecorator, IProjectService, IOsApiExtension, INamedQueriesDefinitionService, IMigrationService, ILogManager, IEntityDefinitionService, IDataInsightsService, IApplicationService, GroupLoggerLevelsDescriptor, FlattenedDecorator, EsIndexConfigurationDecorator, EntityDefinitionService, EntityDefinition, EntityDecorator, EntityConfiguration, DiscriminatorDecorator, DataInsightsService, DataInsightsComponent, CalculatedPropertyConfiguration, AutoGeneratedIdDecorator, ApplicationService, Application, $Role, $Policy };
package/dist/index.d.ts CHANGED
@@ -706,14 +706,14 @@ declare class EntityDefinitionService extends CrudServiceProxy3<EntityDefinition
706
706
  }
707
707
  import { IKinotic as IKinotic5 } from "@kinotic-ai/core";
708
708
  import { CrudServiceProxy as CrudServiceProxy4, ICrudServiceProxy as ICrudServiceProxy4 } from "@kinotic-ai/core";
709
- interface INamedQueriesService extends ICrudServiceProxy4<NamedQueriesDefinition> {
709
+ interface INamedQueriesDefinitionService extends ICrudServiceProxy4<NamedQueriesDefinition> {
710
710
  /**
711
711
  * This operation makes all the recent writes immediately available for search.
712
712
  * @return a Promise that resolves when the operation is complete
713
713
  */
714
714
  syncIndex(): Promise<void>;
715
715
  }
716
- declare class NamedQueriesService extends CrudServiceProxy4<NamedQueriesDefinition> implements INamedQueriesService {
716
+ declare class NamedQueriesDefinitionService extends CrudServiceProxy4<NamedQueriesDefinition> implements INamedQueriesDefinitionService {
717
717
  constructor(kinotic: IKinotic5);
718
718
  syncIndex(): Promise<void>;
719
719
  }
@@ -782,7 +782,7 @@ interface IOsApiExtension {
782
782
  projects: IProjectService;
783
783
  logManager: ILogManager;
784
784
  entityDefinitions: IEntityDefinitionService;
785
- namedQueries: INamedQueriesService;
785
+ namedQueriesDefinitions: INamedQueriesDefinitionService;
786
786
  migrations: IMigrationService;
787
787
  dataInsights: IDataInsightsService;
788
788
  }
@@ -790,4 +790,4 @@ declare const OsApiPlugin: KinoticPlugin<IOsApiExtension>;
790
790
  declare module "@kinotic-ai/core" {
791
791
  interface KinoticSingleton extends IOsApiExtension {}
792
792
  }
793
- export { VersionDecorator, TypescriptProjectConfig, TypescriptExternalProjectConfig, TransformConfiguration, TimeReferenceDecorator, TextDecorator, TenantSelectionC3Type, TenantIdDecorator, StructuresProjectConfig, SingleLoggerLevelsDescriptor, RoleDecorator, QueryOptionsC3Type, QueryDecorator, ProjectType2 as ProjectType, ProjectService, Project, ProgressType, PolicyDecorator, PageableC3Type, PageC3Type, OverrideConfiguration, OsApiPlugin, NotIndexedDecorator, NestedDecorator, NamedQueriesService, NamedQueriesDefinition, MigrationService, MigrationResult, MigrationRequest, MigrationDefinition, LoggersDescriptor, LoggerLevelsDescriptor, LogManager, LogLevel, InsightRequest, InsightProgress, IdDecorator, IProjectService, IOsApiExtension, INamedQueriesService, IMigrationService, ILogManager, IEntityDefinitionService, IDataInsightsService, IApplicationService, GroupLoggerLevelsDescriptor, FlattenedDecorator, EsIndexConfigurationDecorator, EntityDefinitionService, EntityDefinition, EntityDecorator, EntityConfiguration, DiscriminatorDecorator, DataInsightsService, DataInsightsComponent, CalculatedPropertyConfiguration, AutoGeneratedIdDecorator, ApplicationService, Application, $Role, $Policy };
793
+ export { VersionDecorator, TypescriptProjectConfig, TypescriptExternalProjectConfig, TransformConfiguration, TimeReferenceDecorator, TextDecorator, TenantSelectionC3Type, TenantIdDecorator, StructuresProjectConfig, SingleLoggerLevelsDescriptor, RoleDecorator, QueryOptionsC3Type, QueryDecorator, ProjectType2 as ProjectType, ProjectService, Project, ProgressType, PolicyDecorator, PageableC3Type, PageC3Type, OverrideConfiguration, OsApiPlugin, NotIndexedDecorator, NestedDecorator, NamedQueriesDefinitionService, NamedQueriesDefinition, MigrationService, MigrationResult, MigrationRequest, MigrationDefinition, LoggersDescriptor, LoggerLevelsDescriptor, LogManager, LogLevel, InsightRequest, InsightProgress, IdDecorator, IProjectService, IOsApiExtension, INamedQueriesDefinitionService, IMigrationService, ILogManager, IEntityDefinitionService, IDataInsightsService, IApplicationService, GroupLoggerLevelsDescriptor, FlattenedDecorator, EsIndexConfigurationDecorator, EntityDefinitionService, EntityDefinition, EntityDecorator, EntityConfiguration, DiscriminatorDecorator, DataInsightsService, DataInsightsComponent, CalculatedPropertyConfiguration, AutoGeneratedIdDecorator, ApplicationService, Application, $Role, $Policy };
package/dist/index.js CHANGED
@@ -334,7 +334,7 @@ import { CrudServiceProxy } from "@kinotic-ai/core";
334
334
 
335
335
  class ApplicationService extends CrudServiceProxy {
336
336
  constructor(kinotic) {
337
- super(kinotic.serviceProxy("org.kinotic.structures.api.services.ApplicationService"));
337
+ super(kinotic.serviceProxy("org.kinotic.os.api.services.ApplicationService"));
338
338
  }
339
339
  createApplicationIfNotExist(id, description) {
340
340
  return this.serviceProxy.invoke("createApplicationIfNotExist", [id, description]);
@@ -377,7 +377,7 @@ import { CrudServiceProxy as CrudServiceProxy2, FunctionalIterablePage } from "@
377
377
 
378
378
  class ProjectService extends CrudServiceProxy2 {
379
379
  constructor(kinotic) {
380
- super(kinotic.serviceProxy("org.kinotic.structures.api.services.ProjectService"));
380
+ super(kinotic.serviceProxy("org.kinotic.os.api.services.ProjectService"));
381
381
  }
382
382
  countForApplication(applicationId) {
383
383
  return this.serviceProxy.invoke("countForApplication", [applicationId]);
@@ -462,12 +462,12 @@ class EntityDefinitionService extends CrudServiceProxy3 {
462
462
  return this.serviceProxy.invoke("syncIndex", []);
463
463
  }
464
464
  }
465
- // packages/os-api/src/api/services/INamedQueriesService.ts
465
+ // packages/os-api/src/api/services/INamedQueriesDefinitionService.ts
466
466
  import { CrudServiceProxy as CrudServiceProxy4 } from "@kinotic-ai/core";
467
467
 
468
- class NamedQueriesService extends CrudServiceProxy4 {
468
+ class NamedQueriesDefinitionService extends CrudServiceProxy4 {
469
469
  constructor(kinotic) {
470
- super(kinotic.serviceProxy("org.kinotic.persistence.api.services.NamedQueriesService"));
470
+ super(kinotic.serviceProxy("org.kinotic.persistence.api.services.NamedQueriesDefinitionService"));
471
471
  }
472
472
  syncIndex() {
473
473
  return this.serviceProxy.invoke("syncIndex", []);
@@ -507,7 +507,7 @@ var OsApiPlugin = {
507
507
  projects: new ProjectService(kinotic),
508
508
  logManager: new LogManager(kinotic),
509
509
  entityDefinitions: new EntityDefinitionService(kinotic),
510
- namedQueries: new NamedQueriesService(kinotic),
510
+ namedQueriesDefinitions: new NamedQueriesDefinitionService(kinotic),
511
511
  migrations: new MigrationService(kinotic),
512
512
  dataInsights: new DataInsightsService(kinotic)
513
513
  };
@@ -538,7 +538,7 @@ export {
538
538
  OsApiPlugin,
539
539
  NotIndexedDecorator,
540
540
  NestedDecorator,
541
- NamedQueriesService,
541
+ NamedQueriesDefinitionService,
542
542
  NamedQueriesDefinition,
543
543
  MigrationService,
544
544
  LoggersDescriptor,
package/package.json CHANGED
@@ -50,5 +50,5 @@
50
50
  "optional": true
51
51
  }
52
52
  },
53
- "version": "1.0.0"
53
+ "version": "1.0.1"
54
54
  }