@kinotic-ai/os-api 3.1.0 → 4.0.0
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 +15 -15
- package/dist/index.js +15 -15
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -605,7 +605,7 @@ var import_core2 = require("@kinotic-ai/core");
|
|
|
605
605
|
|
|
606
606
|
class ApplicationService extends import_core2.CrudServiceProxy {
|
|
607
607
|
constructor(kinotic) {
|
|
608
|
-
super(kinotic.serviceProxy(`${OS_API_ZONE}
|
|
608
|
+
super(kinotic.serviceProxy(`${OS_API_ZONE}~org.kinotic.os.api.services.ApplicationService`));
|
|
609
609
|
}
|
|
610
610
|
createApplicationIfNotExist(id, description) {
|
|
611
611
|
return this.serviceProxy.invoke("createApplicationIfNotExist", [id, description]);
|
|
@@ -619,7 +619,7 @@ var import_core3 = require("@kinotic-ai/core");
|
|
|
619
619
|
|
|
620
620
|
class OrganizationService extends import_core3.CrudServiceProxy {
|
|
621
621
|
constructor(kinotic) {
|
|
622
|
-
super(kinotic.serviceProxy(`${OS_API_ZONE}
|
|
622
|
+
super(kinotic.serviceProxy(`${OS_API_ZONE}~org.kinotic.os.api.services.OrganizationService`));
|
|
623
623
|
}
|
|
624
624
|
getOidcConfigurations(organizationId) {
|
|
625
625
|
return this.serviceProxy.invoke("getOidcConfigurations", [organizationId]);
|
|
@@ -659,7 +659,7 @@ var import_core4 = require("@kinotic-ai/core");
|
|
|
659
659
|
|
|
660
660
|
class ProjectService extends import_core4.CrudServiceProxy {
|
|
661
661
|
constructor(kinotic) {
|
|
662
|
-
super(kinotic.serviceProxy(`${OS_API_ZONE}
|
|
662
|
+
super(kinotic.serviceProxy(`${OS_API_ZONE}~org.kinotic.os.api.services.ProjectService`));
|
|
663
663
|
}
|
|
664
664
|
countForApplication(applicationId) {
|
|
665
665
|
return this.serviceProxy.invoke("countForApplication", [applicationId]);
|
|
@@ -685,7 +685,7 @@ class ProjectService extends import_core4.CrudServiceProxy {
|
|
|
685
685
|
class LogManager {
|
|
686
686
|
serviceProxy;
|
|
687
687
|
constructor(kinotic) {
|
|
688
|
-
this.serviceProxy = kinotic.serviceProxy(`${OS_API_ZONE}
|
|
688
|
+
this.serviceProxy = kinotic.serviceProxy(`${OS_API_ZONE}~org.kinotic.os.api.services.LogManager`);
|
|
689
689
|
}
|
|
690
690
|
loggers(nodeId) {
|
|
691
691
|
return this.serviceProxy.invoke("loggers", null, nodeId);
|
|
@@ -711,7 +711,7 @@ class LogManager {
|
|
|
711
711
|
class LogService {
|
|
712
712
|
serviceProxy;
|
|
713
713
|
constructor(kinotic) {
|
|
714
|
-
this.serviceProxy = kinotic.serviceProxy(`${OS_API_ZONE}
|
|
714
|
+
this.serviceProxy = kinotic.serviceProxy(`${OS_API_ZONE}~org.kinotic.os.api.services.LogService`);
|
|
715
715
|
}
|
|
716
716
|
tail(workloadId) {
|
|
717
717
|
return this.serviceProxy.invokeStream("tail", [workloadId]);
|
|
@@ -725,7 +725,7 @@ var import_core5 = require("@kinotic-ai/core");
|
|
|
725
725
|
|
|
726
726
|
class EntityDefinitionService extends import_core5.CrudServiceProxy {
|
|
727
727
|
constructor(kinotic) {
|
|
728
|
-
super(kinotic.serviceProxy(`${OS_API_ZONE}
|
|
728
|
+
super(kinotic.serviceProxy(`${OS_API_ZONE}~org.kinotic.persistence.api.services.EntityDefinitionService`));
|
|
729
729
|
}
|
|
730
730
|
countForApplication(applicationId) {
|
|
731
731
|
return this.serviceProxy.invoke("countForApplication", [applicationId]);
|
|
@@ -765,7 +765,7 @@ var import_core6 = require("@kinotic-ai/core");
|
|
|
765
765
|
|
|
766
766
|
class NamedQueriesDefinitionService extends import_core6.CrudServiceProxy {
|
|
767
767
|
constructor(kinotic) {
|
|
768
|
-
super(kinotic.serviceProxy(`${OS_API_ZONE}
|
|
768
|
+
super(kinotic.serviceProxy(`${OS_API_ZONE}~org.kinotic.persistence.api.services.NamedQueriesDefinitionService`));
|
|
769
769
|
}
|
|
770
770
|
syncIndex() {
|
|
771
771
|
return this.serviceProxy.invoke("syncIndex", []);
|
|
@@ -775,7 +775,7 @@ class NamedQueriesDefinitionService extends import_core6.CrudServiceProxy {
|
|
|
775
775
|
class MigrationService {
|
|
776
776
|
serviceProxy;
|
|
777
777
|
constructor(kinotic) {
|
|
778
|
-
this.serviceProxy = kinotic.serviceProxy(`${OS_API_ZONE}
|
|
778
|
+
this.serviceProxy = kinotic.serviceProxy(`${OS_API_ZONE}~org.kinotic.persistence.api.services.MigrationService`);
|
|
779
779
|
}
|
|
780
780
|
executeMigrations(migrationRequest) {
|
|
781
781
|
return this.serviceProxy.invoke("executeMigrations", [migrationRequest]);
|
|
@@ -791,7 +791,7 @@ class MigrationService {
|
|
|
791
791
|
class DataInsightsService {
|
|
792
792
|
serviceProxy;
|
|
793
793
|
constructor(kinotic) {
|
|
794
|
-
this.serviceProxy = kinotic.serviceProxy(`${OS_API_ZONE}
|
|
794
|
+
this.serviceProxy = kinotic.serviceProxy(`${OS_API_ZONE}~org.kinotic.persistence.api.services.insights.DataInsightsService`);
|
|
795
795
|
}
|
|
796
796
|
processRequest(request) {
|
|
797
797
|
return this.serviceProxy.invokeStream("processRequest", [request]);
|
|
@@ -802,7 +802,7 @@ var import_core7 = require("@kinotic-ai/core");
|
|
|
802
802
|
|
|
803
803
|
class VmNodeServiceProxy extends import_core7.CrudServiceProxy {
|
|
804
804
|
constructor(kinotic) {
|
|
805
|
-
super(kinotic.serviceProxy(`${OS_API_ZONE}
|
|
805
|
+
super(kinotic.serviceProxy(`${OS_API_ZONE}~org.kinotic.os.api.services.VmNodeService`));
|
|
806
806
|
}
|
|
807
807
|
findAvailableNode(requiredCpus, requiredMemoryMb, requiredDiskMb) {
|
|
808
808
|
return this.serviceProxy.invoke("findAvailableNode", [requiredCpus, requiredMemoryMb, requiredDiskMb]);
|
|
@@ -816,7 +816,7 @@ var import_core8 = require("@kinotic-ai/core");
|
|
|
816
816
|
|
|
817
817
|
class WorkloadServiceProxy extends import_core8.CrudServiceProxy {
|
|
818
818
|
constructor(kinotic) {
|
|
819
|
-
super(kinotic.serviceProxy(`${OS_API_ZONE}
|
|
819
|
+
super(kinotic.serviceProxy(`${OS_API_ZONE}~org.kinotic.os.api.services.WorkloadService`));
|
|
820
820
|
}
|
|
821
821
|
async findAllForNode(nodeId, pageable) {
|
|
822
822
|
const page = await this.findAllForNodeSinglePage(nodeId, pageable);
|
|
@@ -838,7 +838,7 @@ var import_core9 = require("@kinotic-ai/core");
|
|
|
838
838
|
class MemberService {
|
|
839
839
|
serviceProxy;
|
|
840
840
|
constructor(kinotic) {
|
|
841
|
-
this.serviceProxy = kinotic.serviceProxy(`${OS_API_ZONE}
|
|
841
|
+
this.serviceProxy = kinotic.serviceProxy(`${OS_API_ZONE}~org.kinotic.os.api.services.iam.MemberService`);
|
|
842
842
|
}
|
|
843
843
|
async findMembers(applicationId, pageable) {
|
|
844
844
|
const page = await this.serviceProxy.invoke("findMembers", [applicationId, pageable]);
|
|
@@ -876,7 +876,7 @@ var import_core10 = require("@kinotic-ai/core");
|
|
|
876
876
|
|
|
877
877
|
class InviteEmailTemplateService extends import_core10.CrudServiceProxy {
|
|
878
878
|
constructor(kinotic) {
|
|
879
|
-
super(kinotic.serviceProxy(`${OS_API_ZONE}
|
|
879
|
+
super(kinotic.serviceProxy(`${OS_API_ZONE}~org.kinotic.os.api.services.InviteEmailTemplateService`));
|
|
880
880
|
}
|
|
881
881
|
findByApplication(applicationId) {
|
|
882
882
|
return this.serviceProxy.invoke("findByApplication", [applicationId]);
|
|
@@ -886,7 +886,7 @@ class InviteEmailTemplateService extends import_core10.CrudServiceProxy {
|
|
|
886
886
|
class DeviceApprovalService {
|
|
887
887
|
serviceProxy;
|
|
888
888
|
constructor(kinotic) {
|
|
889
|
-
this.serviceProxy = kinotic.serviceProxy(`${OS_API_ZONE}
|
|
889
|
+
this.serviceProxy = kinotic.serviceProxy(`${OS_API_ZONE}~org.kinotic.os.api.services.iam.DeviceApprovalService`);
|
|
890
890
|
}
|
|
891
891
|
approve(userCode) {
|
|
892
892
|
return this.serviceProxy.invoke("approve", [userCode]);
|
|
@@ -897,7 +897,7 @@ var import_core11 = require("@kinotic-ai/core");
|
|
|
897
897
|
|
|
898
898
|
class GitHubAppInstallationService extends import_core11.CrudServiceProxy {
|
|
899
899
|
constructor(kinotic) {
|
|
900
|
-
super(kinotic.serviceProxy(`${OS_API_ZONE}
|
|
900
|
+
super(kinotic.serviceProxy(`${OS_API_ZONE}~org.kinotic.github.api.services.GitHubAppInstallationService`));
|
|
901
901
|
}
|
|
902
902
|
startInstall(returnTo) {
|
|
903
903
|
return this.serviceProxy.invoke("startInstall", [returnTo]);
|
package/dist/index.js
CHANGED
|
@@ -489,7 +489,7 @@ import { CrudServiceProxy } from "@kinotic-ai/core";
|
|
|
489
489
|
|
|
490
490
|
class ApplicationService extends CrudServiceProxy {
|
|
491
491
|
constructor(kinotic) {
|
|
492
|
-
super(kinotic.serviceProxy(`${OS_API_ZONE}
|
|
492
|
+
super(kinotic.serviceProxy(`${OS_API_ZONE}~org.kinotic.os.api.services.ApplicationService`));
|
|
493
493
|
}
|
|
494
494
|
createApplicationIfNotExist(id, description) {
|
|
495
495
|
return this.serviceProxy.invoke("createApplicationIfNotExist", [id, description]);
|
|
@@ -503,7 +503,7 @@ import { CrudServiceProxy as CrudServiceProxy2 } from "@kinotic-ai/core";
|
|
|
503
503
|
|
|
504
504
|
class OrganizationService extends CrudServiceProxy2 {
|
|
505
505
|
constructor(kinotic) {
|
|
506
|
-
super(kinotic.serviceProxy(`${OS_API_ZONE}
|
|
506
|
+
super(kinotic.serviceProxy(`${OS_API_ZONE}~org.kinotic.os.api.services.OrganizationService`));
|
|
507
507
|
}
|
|
508
508
|
getOidcConfigurations(organizationId) {
|
|
509
509
|
return this.serviceProxy.invoke("getOidcConfigurations", [organizationId]);
|
|
@@ -543,7 +543,7 @@ import { CrudServiceProxy as CrudServiceProxy3, FunctionalIterablePage } from "@
|
|
|
543
543
|
|
|
544
544
|
class ProjectService extends CrudServiceProxy3 {
|
|
545
545
|
constructor(kinotic) {
|
|
546
|
-
super(kinotic.serviceProxy(`${OS_API_ZONE}
|
|
546
|
+
super(kinotic.serviceProxy(`${OS_API_ZONE}~org.kinotic.os.api.services.ProjectService`));
|
|
547
547
|
}
|
|
548
548
|
countForApplication(applicationId) {
|
|
549
549
|
return this.serviceProxy.invoke("countForApplication", [applicationId]);
|
|
@@ -569,7 +569,7 @@ class ProjectService extends CrudServiceProxy3 {
|
|
|
569
569
|
class LogManager {
|
|
570
570
|
serviceProxy;
|
|
571
571
|
constructor(kinotic) {
|
|
572
|
-
this.serviceProxy = kinotic.serviceProxy(`${OS_API_ZONE}
|
|
572
|
+
this.serviceProxy = kinotic.serviceProxy(`${OS_API_ZONE}~org.kinotic.os.api.services.LogManager`);
|
|
573
573
|
}
|
|
574
574
|
loggers(nodeId) {
|
|
575
575
|
return this.serviceProxy.invoke("loggers", null, nodeId);
|
|
@@ -595,7 +595,7 @@ class LogManager {
|
|
|
595
595
|
class LogService {
|
|
596
596
|
serviceProxy;
|
|
597
597
|
constructor(kinotic) {
|
|
598
|
-
this.serviceProxy = kinotic.serviceProxy(`${OS_API_ZONE}
|
|
598
|
+
this.serviceProxy = kinotic.serviceProxy(`${OS_API_ZONE}~org.kinotic.os.api.services.LogService`);
|
|
599
599
|
}
|
|
600
600
|
tail(workloadId) {
|
|
601
601
|
return this.serviceProxy.invokeStream("tail", [workloadId]);
|
|
@@ -609,7 +609,7 @@ import { CrudServiceProxy as CrudServiceProxy4, FunctionalIterablePage as Functi
|
|
|
609
609
|
|
|
610
610
|
class EntityDefinitionService extends CrudServiceProxy4 {
|
|
611
611
|
constructor(kinotic) {
|
|
612
|
-
super(kinotic.serviceProxy(`${OS_API_ZONE}
|
|
612
|
+
super(kinotic.serviceProxy(`${OS_API_ZONE}~org.kinotic.persistence.api.services.EntityDefinitionService`));
|
|
613
613
|
}
|
|
614
614
|
countForApplication(applicationId) {
|
|
615
615
|
return this.serviceProxy.invoke("countForApplication", [applicationId]);
|
|
@@ -649,7 +649,7 @@ import { CrudServiceProxy as CrudServiceProxy5 } from "@kinotic-ai/core";
|
|
|
649
649
|
|
|
650
650
|
class NamedQueriesDefinitionService extends CrudServiceProxy5 {
|
|
651
651
|
constructor(kinotic) {
|
|
652
|
-
super(kinotic.serviceProxy(`${OS_API_ZONE}
|
|
652
|
+
super(kinotic.serviceProxy(`${OS_API_ZONE}~org.kinotic.persistence.api.services.NamedQueriesDefinitionService`));
|
|
653
653
|
}
|
|
654
654
|
syncIndex() {
|
|
655
655
|
return this.serviceProxy.invoke("syncIndex", []);
|
|
@@ -659,7 +659,7 @@ class NamedQueriesDefinitionService extends CrudServiceProxy5 {
|
|
|
659
659
|
class MigrationService {
|
|
660
660
|
serviceProxy;
|
|
661
661
|
constructor(kinotic) {
|
|
662
|
-
this.serviceProxy = kinotic.serviceProxy(`${OS_API_ZONE}
|
|
662
|
+
this.serviceProxy = kinotic.serviceProxy(`${OS_API_ZONE}~org.kinotic.persistence.api.services.MigrationService`);
|
|
663
663
|
}
|
|
664
664
|
executeMigrations(migrationRequest) {
|
|
665
665
|
return this.serviceProxy.invoke("executeMigrations", [migrationRequest]);
|
|
@@ -675,7 +675,7 @@ class MigrationService {
|
|
|
675
675
|
class DataInsightsService {
|
|
676
676
|
serviceProxy;
|
|
677
677
|
constructor(kinotic) {
|
|
678
|
-
this.serviceProxy = kinotic.serviceProxy(`${OS_API_ZONE}
|
|
678
|
+
this.serviceProxy = kinotic.serviceProxy(`${OS_API_ZONE}~org.kinotic.persistence.api.services.insights.DataInsightsService`);
|
|
679
679
|
}
|
|
680
680
|
processRequest(request) {
|
|
681
681
|
return this.serviceProxy.invokeStream("processRequest", [request]);
|
|
@@ -686,7 +686,7 @@ import { CrudServiceProxy as CrudServiceProxy6 } from "@kinotic-ai/core";
|
|
|
686
686
|
|
|
687
687
|
class VmNodeServiceProxy extends CrudServiceProxy6 {
|
|
688
688
|
constructor(kinotic) {
|
|
689
|
-
super(kinotic.serviceProxy(`${OS_API_ZONE}
|
|
689
|
+
super(kinotic.serviceProxy(`${OS_API_ZONE}~org.kinotic.os.api.services.VmNodeService`));
|
|
690
690
|
}
|
|
691
691
|
findAvailableNode(requiredCpus, requiredMemoryMb, requiredDiskMb) {
|
|
692
692
|
return this.serviceProxy.invoke("findAvailableNode", [requiredCpus, requiredMemoryMb, requiredDiskMb]);
|
|
@@ -700,7 +700,7 @@ import { CrudServiceProxy as CrudServiceProxy7, FunctionalIterablePage as Functi
|
|
|
700
700
|
|
|
701
701
|
class WorkloadServiceProxy extends CrudServiceProxy7 {
|
|
702
702
|
constructor(kinotic) {
|
|
703
|
-
super(kinotic.serviceProxy(`${OS_API_ZONE}
|
|
703
|
+
super(kinotic.serviceProxy(`${OS_API_ZONE}~org.kinotic.os.api.services.WorkloadService`));
|
|
704
704
|
}
|
|
705
705
|
async findAllForNode(nodeId, pageable) {
|
|
706
706
|
const page = await this.findAllForNodeSinglePage(nodeId, pageable);
|
|
@@ -724,7 +724,7 @@ import {
|
|
|
724
724
|
class MemberService {
|
|
725
725
|
serviceProxy;
|
|
726
726
|
constructor(kinotic) {
|
|
727
|
-
this.serviceProxy = kinotic.serviceProxy(`${OS_API_ZONE}
|
|
727
|
+
this.serviceProxy = kinotic.serviceProxy(`${OS_API_ZONE}~org.kinotic.os.api.services.iam.MemberService`);
|
|
728
728
|
}
|
|
729
729
|
async findMembers(applicationId, pageable) {
|
|
730
730
|
const page = await this.serviceProxy.invoke("findMembers", [applicationId, pageable]);
|
|
@@ -762,7 +762,7 @@ import { CrudServiceProxy as CrudServiceProxy8 } from "@kinotic-ai/core";
|
|
|
762
762
|
|
|
763
763
|
class InviteEmailTemplateService extends CrudServiceProxy8 {
|
|
764
764
|
constructor(kinotic) {
|
|
765
|
-
super(kinotic.serviceProxy(`${OS_API_ZONE}
|
|
765
|
+
super(kinotic.serviceProxy(`${OS_API_ZONE}~org.kinotic.os.api.services.InviteEmailTemplateService`));
|
|
766
766
|
}
|
|
767
767
|
findByApplication(applicationId) {
|
|
768
768
|
return this.serviceProxy.invoke("findByApplication", [applicationId]);
|
|
@@ -772,7 +772,7 @@ class InviteEmailTemplateService extends CrudServiceProxy8 {
|
|
|
772
772
|
class DeviceApprovalService {
|
|
773
773
|
serviceProxy;
|
|
774
774
|
constructor(kinotic) {
|
|
775
|
-
this.serviceProxy = kinotic.serviceProxy(`${OS_API_ZONE}
|
|
775
|
+
this.serviceProxy = kinotic.serviceProxy(`${OS_API_ZONE}~org.kinotic.os.api.services.iam.DeviceApprovalService`);
|
|
776
776
|
}
|
|
777
777
|
approve(userCode) {
|
|
778
778
|
return this.serviceProxy.invoke("approve", [userCode]);
|
|
@@ -783,7 +783,7 @@ import { CrudServiceProxy as CrudServiceProxy9 } from "@kinotic-ai/core";
|
|
|
783
783
|
|
|
784
784
|
class GitHubAppInstallationService extends CrudServiceProxy9 {
|
|
785
785
|
constructor(kinotic) {
|
|
786
|
-
super(kinotic.serviceProxy(`${OS_API_ZONE}
|
|
786
|
+
super(kinotic.serviceProxy(`${OS_API_ZONE}~org.kinotic.github.api.services.GitHubAppInstallationService`));
|
|
787
787
|
}
|
|
788
788
|
startInstall(returnTo) {
|
|
789
789
|
return this.serviceProxy.invoke("startInstall", [returnTo]);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kinotic-ai/os-api",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -32,15 +32,15 @@
|
|
|
32
32
|
"coverage": "bun test --coverage --pass-with-no-tests"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
|
-
"@kinotic-ai/core": ">=
|
|
35
|
+
"@kinotic-ai/core": ">=4.0.0"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@kinotic-ai/idl": "1.0.10",
|
|
39
|
-
"@kinotic-ai/persistence": "
|
|
39
|
+
"@kinotic-ai/persistence": "4.0.0",
|
|
40
40
|
"rxjs": "^7.8.2"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@kinotic-ai/core": "
|
|
43
|
+
"@kinotic-ai/core": "4.0.0",
|
|
44
44
|
"@types/node": "^25.3.2",
|
|
45
45
|
"tslib": "^2.8.1",
|
|
46
46
|
"typescript": "^5.9.3"
|