@kinotic-ai/system-api 5.0.0-beta.39 → 5.0.0-beta.40
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 +3 -3
- package/dist/index.d.cts +13 -11
- package/dist/index.d.ts +13 -11
- package/dist/index.js +3 -3
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -45,7 +45,7 @@ __export(exports_src, {
|
|
|
45
45
|
KinoticClusterInfo: () => KinoticClusterInfo,
|
|
46
46
|
KinoticClusterInfoService: () => KinoticClusterInfoService,
|
|
47
47
|
KinoticNodeInfo: () => KinoticNodeInfo,
|
|
48
|
-
|
|
48
|
+
License: () => License,
|
|
49
49
|
LicenseService: () => LicenseService,
|
|
50
50
|
LicenseStatus: () => LicenseStatus,
|
|
51
51
|
LlmConfiguration: () => LlmConfiguration,
|
|
@@ -526,8 +526,8 @@ var LicenseStatus;
|
|
|
526
526
|
LicenseStatus["GRACE_PERIOD"] = "GRACE_PERIOD";
|
|
527
527
|
LicenseStatus["EXPIRED"] = "EXPIRED";
|
|
528
528
|
})(LicenseStatus ||= {});
|
|
529
|
-
// packages/system-api/src/api/model/license/
|
|
530
|
-
class
|
|
529
|
+
// packages/system-api/src/api/model/license/License.ts
|
|
530
|
+
class License {
|
|
531
531
|
licensee;
|
|
532
532
|
issuedAt = null;
|
|
533
533
|
expiresAt;
|
package/dist/index.d.cts
CHANGED
|
@@ -658,9 +658,10 @@ declare enum LicenseStatus {
|
|
|
658
658
|
EXPIRED = "EXPIRED"
|
|
659
659
|
}
|
|
660
660
|
/**
|
|
661
|
-
*
|
|
661
|
+
* A verified Kinotic Enterprise License: who it is issued to, when it was issued and expires, and the Enterprise
|
|
662
|
+
* Features it turns on until its grace period ends.
|
|
662
663
|
*/
|
|
663
|
-
declare class
|
|
664
|
+
declare class License {
|
|
664
665
|
/** The party the license is issued to. */
|
|
665
666
|
licensee: string;
|
|
666
667
|
/** When the license was issued, or null when its key does not say. */
|
|
@@ -669,7 +670,7 @@ declare class LicenseDetails {
|
|
|
669
670
|
expiresAt: string;
|
|
670
671
|
/** When the license stops turning its features on, a grace period after it expires. */
|
|
671
672
|
graceEndsAt: string;
|
|
672
|
-
/** Where the license stands
|
|
673
|
+
/** Where the license stands at the time it was handed out. */
|
|
673
674
|
status: LicenseStatus;
|
|
674
675
|
/** The Enterprise Features the license turns on while it is active or in its grace period. */
|
|
675
676
|
features: EnterpriseFeature[];
|
|
@@ -682,20 +683,21 @@ declare class LicenseDetails {
|
|
|
682
683
|
*/
|
|
683
684
|
interface ILicenseService {
|
|
684
685
|
/** Resolves null when no valid key is installed. */
|
|
685
|
-
findCurrent(): Promise<
|
|
686
|
+
findCurrent(): Promise<License | null>;
|
|
686
687
|
/**
|
|
687
688
|
* Installs licenseKey for the whole cluster in place of the installed key, resolving with the license it holds.
|
|
688
|
-
*
|
|
689
|
-
* ten minutes. Rejects a key Minds Ignited did not sign, one naming no licensee or expiry,
|
|
690
|
-
* period has ended
|
|
689
|
+
* The call resolves once the key is stored and the node that took the call runs on it; every other node runs on
|
|
690
|
+
* it shortly after, except a node the cluster could not reach, which reads it within ten minutes. Rejects a key Minds Ignited did not sign, one naming no licensee or expiry, one whose grace
|
|
691
|
+
* period has ended, and, on a cluster that stores secrets in Azure Key Vault, one that does not turn
|
|
692
|
+
* AZURE_KEY_VAULT on.
|
|
691
693
|
*/
|
|
692
|
-
install(licenseKey: string): Promise<
|
|
694
|
+
install(licenseKey: string): Promise<License>;
|
|
693
695
|
}
|
|
694
696
|
declare class LicenseService implements ILicenseService {
|
|
695
697
|
private readonly serviceProxy;
|
|
696
698
|
constructor(kinotic: IKinotic11);
|
|
697
|
-
findCurrent(): Promise<
|
|
698
|
-
install(licenseKey: string): Promise<
|
|
699
|
+
findCurrent(): Promise<License | null>;
|
|
700
|
+
install(licenseKey: string): Promise<License>;
|
|
699
701
|
}
|
|
700
702
|
interface ISystemApiExtension {
|
|
701
703
|
vmNodes: IVmNodeService;
|
|
@@ -724,4 +726,4 @@ declare class LogManager implements ILogManager {
|
|
|
724
726
|
declare module "@kinotic-ai/core" {
|
|
725
727
|
interface KinoticSingleton extends ISystemApiExtension {}
|
|
726
728
|
}
|
|
727
|
-
export { EnterpriseFeature, GroupLoggerLevelsDescriptor, IKinoticClusterInfoService, ILicenseService, ILlmConfigurationService, ILogManager, ISystemApiExtension, ISystemJobService, ISystemMemberService, ISystemOrganizationService, IVmNodeService, IWatchEventService, IWorkloadOrchestrationService, IWorkloadService, KinoticClusterInfo, KinoticClusterInfoService, KinoticNodeInfo,
|
|
729
|
+
export { EnterpriseFeature, GroupLoggerLevelsDescriptor, IKinoticClusterInfoService, ILicenseService, ILlmConfigurationService, ILogManager, ISystemApiExtension, ISystemJobService, ISystemMemberService, ISystemOrganizationService, IVmNodeService, IWatchEventService, IWorkloadOrchestrationService, IWorkloadService, KinoticClusterInfo, KinoticClusterInfoService, KinoticNodeInfo, License, LicenseService, LicenseStatus, LlmConfiguration, LlmConfigurationService, LlmProviderType, LogLevel, LogManager, LoggerLevelsDescriptor, LoggersDescriptor, SYSTEM_API_ZONE, SingleLoggerLevelsDescriptor, SystemApiPlugin, SystemJobDescriptor, SystemJobService, SystemMemberService, SystemOrganizationService, TraceLogProperties, VmNode, VmNodeOrchestrationServiceProxy, VmNodeRegistration, VmNodeServiceProxy, VmNodeState, VmNodeStatusType, VmProviderType, WatchEventService, WorkloadOrchestrationService, WorkloadServiceProxy, WorkloadStatusReport };
|
package/dist/index.d.ts
CHANGED
|
@@ -658,9 +658,10 @@ declare enum LicenseStatus {
|
|
|
658
658
|
EXPIRED = "EXPIRED"
|
|
659
659
|
}
|
|
660
660
|
/**
|
|
661
|
-
*
|
|
661
|
+
* A verified Kinotic Enterprise License: who it is issued to, when it was issued and expires, and the Enterprise
|
|
662
|
+
* Features it turns on until its grace period ends.
|
|
662
663
|
*/
|
|
663
|
-
declare class
|
|
664
|
+
declare class License {
|
|
664
665
|
/** The party the license is issued to. */
|
|
665
666
|
licensee: string;
|
|
666
667
|
/** When the license was issued, or null when its key does not say. */
|
|
@@ -669,7 +670,7 @@ declare class LicenseDetails {
|
|
|
669
670
|
expiresAt: string;
|
|
670
671
|
/** When the license stops turning its features on, a grace period after it expires. */
|
|
671
672
|
graceEndsAt: string;
|
|
672
|
-
/** Where the license stands
|
|
673
|
+
/** Where the license stands at the time it was handed out. */
|
|
673
674
|
status: LicenseStatus;
|
|
674
675
|
/** The Enterprise Features the license turns on while it is active or in its grace period. */
|
|
675
676
|
features: EnterpriseFeature[];
|
|
@@ -682,20 +683,21 @@ declare class LicenseDetails {
|
|
|
682
683
|
*/
|
|
683
684
|
interface ILicenseService {
|
|
684
685
|
/** Resolves null when no valid key is installed. */
|
|
685
|
-
findCurrent(): Promise<
|
|
686
|
+
findCurrent(): Promise<License | null>;
|
|
686
687
|
/**
|
|
687
688
|
* Installs licenseKey for the whole cluster in place of the installed key, resolving with the license it holds.
|
|
688
|
-
*
|
|
689
|
-
* ten minutes. Rejects a key Minds Ignited did not sign, one naming no licensee or expiry,
|
|
690
|
-
* period has ended
|
|
689
|
+
* The call resolves once the key is stored and the node that took the call runs on it; every other node runs on
|
|
690
|
+
* it shortly after, except a node the cluster could not reach, which reads it within ten minutes. Rejects a key Minds Ignited did not sign, one naming no licensee or expiry, one whose grace
|
|
691
|
+
* period has ended, and, on a cluster that stores secrets in Azure Key Vault, one that does not turn
|
|
692
|
+
* AZURE_KEY_VAULT on.
|
|
691
693
|
*/
|
|
692
|
-
install(licenseKey: string): Promise<
|
|
694
|
+
install(licenseKey: string): Promise<License>;
|
|
693
695
|
}
|
|
694
696
|
declare class LicenseService implements ILicenseService {
|
|
695
697
|
private readonly serviceProxy;
|
|
696
698
|
constructor(kinotic: IKinotic11);
|
|
697
|
-
findCurrent(): Promise<
|
|
698
|
-
install(licenseKey: string): Promise<
|
|
699
|
+
findCurrent(): Promise<License | null>;
|
|
700
|
+
install(licenseKey: string): Promise<License>;
|
|
699
701
|
}
|
|
700
702
|
interface ISystemApiExtension {
|
|
701
703
|
vmNodes: IVmNodeService;
|
|
@@ -724,4 +726,4 @@ declare class LogManager implements ILogManager {
|
|
|
724
726
|
declare module "@kinotic-ai/core" {
|
|
725
727
|
interface KinoticSingleton extends ISystemApiExtension {}
|
|
726
728
|
}
|
|
727
|
-
export { EnterpriseFeature, GroupLoggerLevelsDescriptor, IKinoticClusterInfoService, ILicenseService, ILlmConfigurationService, ILogManager, ISystemApiExtension, ISystemJobService, ISystemMemberService, ISystemOrganizationService, IVmNodeService, IWatchEventService, IWorkloadOrchestrationService, IWorkloadService, KinoticClusterInfo, KinoticClusterInfoService, KinoticNodeInfo,
|
|
729
|
+
export { EnterpriseFeature, GroupLoggerLevelsDescriptor, IKinoticClusterInfoService, ILicenseService, ILlmConfigurationService, ILogManager, ISystemApiExtension, ISystemJobService, ISystemMemberService, ISystemOrganizationService, IVmNodeService, IWatchEventService, IWorkloadOrchestrationService, IWorkloadService, KinoticClusterInfo, KinoticClusterInfoService, KinoticNodeInfo, License, LicenseService, LicenseStatus, LlmConfiguration, LlmConfigurationService, LlmProviderType, LogLevel, LogManager, LoggerLevelsDescriptor, LoggersDescriptor, SYSTEM_API_ZONE, SingleLoggerLevelsDescriptor, SystemApiPlugin, SystemJobDescriptor, SystemJobService, SystemMemberService, SystemOrganizationService, TraceLogProperties, VmNode, VmNodeOrchestrationServiceProxy, VmNodeRegistration, VmNodeServiceProxy, VmNodeState, VmNodeStatusType, VmProviderType, WatchEventService, WorkloadOrchestrationService, WorkloadServiceProxy, WorkloadStatusReport };
|
package/dist/index.js
CHANGED
|
@@ -456,8 +456,8 @@ var LicenseStatus;
|
|
|
456
456
|
LicenseStatus["GRACE_PERIOD"] = "GRACE_PERIOD";
|
|
457
457
|
LicenseStatus["EXPIRED"] = "EXPIRED";
|
|
458
458
|
})(LicenseStatus ||= {});
|
|
459
|
-
// packages/system-api/src/api/model/license/
|
|
460
|
-
class
|
|
459
|
+
// packages/system-api/src/api/model/license/License.ts
|
|
460
|
+
class License {
|
|
461
461
|
licensee;
|
|
462
462
|
issuedAt = null;
|
|
463
463
|
expiresAt;
|
|
@@ -477,7 +477,7 @@ export {
|
|
|
477
477
|
KinoticClusterInfo,
|
|
478
478
|
KinoticClusterInfoService,
|
|
479
479
|
KinoticNodeInfo,
|
|
480
|
-
|
|
480
|
+
License,
|
|
481
481
|
LicenseService,
|
|
482
482
|
LicenseStatus,
|
|
483
483
|
LlmConfiguration,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kinotic-ai/system-api",
|
|
3
|
-
"version": "5.0.0-beta.
|
|
3
|
+
"version": "5.0.0-beta.40",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Client API for the Kinotic platform's system plane: the workload and node orchestration services system machines and operators use.",
|
|
6
6
|
"files": [
|