@kinotic-ai/os-api 1.9.0 → 1.10.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 +27 -2
- package/dist/index.d.cts +49 -8
- package/dist/index.d.ts +49 -8
- package/dist/index.js +27 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -80,6 +80,8 @@ __export(exports_src, {
|
|
|
80
80
|
LogManager: () => LogManager,
|
|
81
81
|
LogLevel: () => LogLevel,
|
|
82
82
|
KinoticProjectConfig: () => KinoticProjectConfig,
|
|
83
|
+
InviteEmailTemplateService: () => InviteEmailTemplateService,
|
|
84
|
+
InviteEmailTemplate: () => InviteEmailTemplate,
|
|
83
85
|
IdDecorator: () => IdDecorator,
|
|
84
86
|
IamUser: () => IamUser,
|
|
85
87
|
GroupLoggerLevelsDescriptor: () => GroupLoggerLevelsDescriptor,
|
|
@@ -472,6 +474,17 @@ class PendingInviteSummary {
|
|
|
472
474
|
created = null;
|
|
473
475
|
expiresAt = null;
|
|
474
476
|
}
|
|
477
|
+
// packages/os-api/src/api/model/InviteEmailTemplate.ts
|
|
478
|
+
class InviteEmailTemplate {
|
|
479
|
+
id = null;
|
|
480
|
+
organizationId = null;
|
|
481
|
+
applicationId = "";
|
|
482
|
+
subject = "";
|
|
483
|
+
htmlBody = "";
|
|
484
|
+
textBody = "";
|
|
485
|
+
created = null;
|
|
486
|
+
updated = null;
|
|
487
|
+
}
|
|
475
488
|
// packages/os-api/src/api/model/github/GitHubAppInstallation.ts
|
|
476
489
|
class GitHubAppInstallation {
|
|
477
490
|
id = null;
|
|
@@ -784,6 +797,17 @@ class MemberService {
|
|
|
784
797
|
};
|
|
785
798
|
}
|
|
786
799
|
}
|
|
800
|
+
// packages/os-api/src/api/services/IInviteEmailTemplateService.ts
|
|
801
|
+
var import_core9 = require("@kinotic-ai/core");
|
|
802
|
+
|
|
803
|
+
class InviteEmailTemplateService extends import_core9.CrudServiceProxy {
|
|
804
|
+
constructor(kinotic) {
|
|
805
|
+
super(kinotic.serviceProxy("org.kinotic.os.api.services.InviteEmailTemplateService"));
|
|
806
|
+
}
|
|
807
|
+
findByApplication(applicationId) {
|
|
808
|
+
return this.serviceProxy.invoke("findByApplication", [applicationId]);
|
|
809
|
+
}
|
|
810
|
+
}
|
|
787
811
|
// packages/os-api/src/api/services/IDeviceApprovalService.ts
|
|
788
812
|
class DeviceApprovalService {
|
|
789
813
|
serviceProxy;
|
|
@@ -795,9 +819,9 @@ class DeviceApprovalService {
|
|
|
795
819
|
}
|
|
796
820
|
}
|
|
797
821
|
// packages/os-api/src/api/services/IGitHubAppInstallationService.ts
|
|
798
|
-
var
|
|
822
|
+
var import_core10 = require("@kinotic-ai/core");
|
|
799
823
|
|
|
800
|
-
class GitHubAppInstallationService extends
|
|
824
|
+
class GitHubAppInstallationService extends import_core10.CrudServiceProxy {
|
|
801
825
|
constructor(kinotic) {
|
|
802
826
|
super(kinotic.serviceProxy("org.kinotic.github.api.services.GitHubAppInstallationService"));
|
|
803
827
|
}
|
|
@@ -826,6 +850,7 @@ var OsApiPlugin = {
|
|
|
826
850
|
vmNodes: new VmNodeServiceProxy(kinotic),
|
|
827
851
|
workloads: new WorkloadServiceProxy(kinotic),
|
|
828
852
|
members: new MemberService(kinotic),
|
|
853
|
+
inviteEmailTemplates: new InviteEmailTemplateService(kinotic),
|
|
829
854
|
deviceApproval: new DeviceApprovalService(kinotic),
|
|
830
855
|
githubAppInstallations: new GitHubAppInstallationService(kinotic)
|
|
831
856
|
};
|
package/dist/index.d.cts
CHANGED
|
@@ -591,7 +591,7 @@ interface CompleteOrgRequest {
|
|
|
591
591
|
}
|
|
592
592
|
import { Identifiable as Identifiable9 } from "@kinotic-ai/core";
|
|
593
593
|
/**
|
|
594
|
-
*
|
|
594
|
+
* View of a pending invitation for listing in the web app. Deliberately excludes the accept token — anyone who
|
|
595
595
|
* can list invitations must not be able to redeem them.
|
|
596
596
|
*/
|
|
597
597
|
declare class PendingInviteSummary implements Identifiable9<string> {
|
|
@@ -610,12 +610,33 @@ declare class PendingInviteSummary implements Identifiable9<string> {
|
|
|
610
610
|
}
|
|
611
611
|
import { Identifiable as Identifiable10 } from "@kinotic-ai/core";
|
|
612
612
|
/**
|
|
613
|
+
* An application's customized invitation email — at most one per application. Subject and
|
|
614
|
+
* bodies are Handlebars sources rendered with the same variables as the built-in
|
|
615
|
+
* invitation template; when an application has no template, the built-in is used.
|
|
616
|
+
*/
|
|
617
|
+
declare class InviteEmailTemplate implements Identifiable10<string> {
|
|
618
|
+
id: string | null;
|
|
619
|
+
/** The organization that owns {@link applicationId}; set by the server on save. */
|
|
620
|
+
organizationId: string | null;
|
|
621
|
+
/** The application whose invitation email this template customizes. Always set. */
|
|
622
|
+
applicationId: string;
|
|
623
|
+
/** Handlebars source for the subject line (rendered as plain text). */
|
|
624
|
+
subject: string;
|
|
625
|
+
/** Handlebars source for the HTML body. */
|
|
626
|
+
htmlBody: string;
|
|
627
|
+
/** Handlebars source for the plain-text body. */
|
|
628
|
+
textBody: string;
|
|
629
|
+
created: number | null;
|
|
630
|
+
updated: number | null;
|
|
631
|
+
}
|
|
632
|
+
import { Identifiable as Identifiable11 } from "@kinotic-ai/core";
|
|
633
|
+
/**
|
|
613
634
|
* Persisted record of one GitHub App installation that a Kinotic Org has authorised.
|
|
614
635
|
* The durable binding that says "Org X has access to GitHub install Y" — without it,
|
|
615
636
|
* no installation token can be minted on behalf of the org and webhook deliveries
|
|
616
637
|
* can't be matched to a project.
|
|
617
638
|
*/
|
|
618
|
-
declare class GitHubAppInstallation implements
|
|
639
|
+
declare class GitHubAppInstallation implements Identifiable11<string> {
|
|
619
640
|
id: string | null;
|
|
620
641
|
organizationId: string;
|
|
621
642
|
githubInstallationId: number;
|
|
@@ -1163,6 +1184,25 @@ declare class MemberService implements IMemberService {
|
|
|
1163
1184
|
memberDataSource(applicationId: string | null): IDataSource<IamUser>;
|
|
1164
1185
|
}
|
|
1165
1186
|
import { IKinotic as IKinotic12 } from "@kinotic-ai/core";
|
|
1187
|
+
import { CrudServiceProxy as CrudServiceProxy8, ICrudServiceProxy as ICrudServiceProxy8 } from "@kinotic-ai/core";
|
|
1188
|
+
/**
|
|
1189
|
+
* CRUD service for an application's customized invitation email — at most one
|
|
1190
|
+
* {@link InviteEmailTemplate} per application. Saving validates the Handlebars sources, so
|
|
1191
|
+
* a broken template is rejected instead of breaking the next send. Deleting the template
|
|
1192
|
+
* reverts the application to the built-in invitation email.
|
|
1193
|
+
*/
|
|
1194
|
+
interface IInviteEmailTemplateService extends ICrudServiceProxy8<InviteEmailTemplate> {
|
|
1195
|
+
/**
|
|
1196
|
+
* Finds the application's invitation template, or null when the application uses the
|
|
1197
|
+
* built-in email.
|
|
1198
|
+
*/
|
|
1199
|
+
findByApplication(applicationId: string): Promise<InviteEmailTemplate | null>;
|
|
1200
|
+
}
|
|
1201
|
+
declare class InviteEmailTemplateService extends CrudServiceProxy8<InviteEmailTemplate> implements IInviteEmailTemplateService {
|
|
1202
|
+
constructor(kinotic: IKinotic12);
|
|
1203
|
+
findByApplication(applicationId: string): Promise<InviteEmailTemplate | null>;
|
|
1204
|
+
}
|
|
1205
|
+
import { IKinotic as IKinotic13 } from "@kinotic-ai/core";
|
|
1166
1206
|
/**
|
|
1167
1207
|
* Browser-invoked service for the RFC 8628 device-authorization approve step. The signed-in
|
|
1168
1208
|
* browser user calls {@link approve} with the user_code shown in their CLI; the gateway
|
|
@@ -1177,11 +1217,11 @@ interface IDeviceApprovalService {
|
|
|
1177
1217
|
}
|
|
1178
1218
|
declare class DeviceApprovalService implements IDeviceApprovalService {
|
|
1179
1219
|
private readonly serviceProxy;
|
|
1180
|
-
constructor(kinotic:
|
|
1220
|
+
constructor(kinotic: IKinotic13);
|
|
1181
1221
|
approve(userCode: string): Promise<void>;
|
|
1182
1222
|
}
|
|
1183
|
-
import { CrudServiceProxy as
|
|
1184
|
-
interface IGitHubAppInstallationService extends
|
|
1223
|
+
import { CrudServiceProxy as CrudServiceProxy9, IKinotic as IKinotic14, ICrudServiceProxy as ICrudServiceProxy9 } from "@kinotic-ai/core";
|
|
1224
|
+
interface IGitHubAppInstallationService extends ICrudServiceProxy9<GitHubAppInstallation> {
|
|
1185
1225
|
/**
|
|
1186
1226
|
* Stages a single-use state token bound to the caller's organization plus the
|
|
1187
1227
|
* supplied returnTo, then returns the GitHub install URL with that state
|
|
@@ -1206,8 +1246,8 @@ interface IGitHubAppInstallationService extends ICrudServiceProxy8<GitHubAppInst
|
|
|
1206
1246
|
*/
|
|
1207
1247
|
findForCurrentOrg(): Promise<GitHubAppInstallation | null>;
|
|
1208
1248
|
}
|
|
1209
|
-
declare class GitHubAppInstallationService extends
|
|
1210
|
-
constructor(kinotic:
|
|
1249
|
+
declare class GitHubAppInstallationService extends CrudServiceProxy9<GitHubAppInstallation> implements IGitHubAppInstallationService {
|
|
1250
|
+
constructor(kinotic: IKinotic14);
|
|
1211
1251
|
startInstall(returnTo: string | null): Promise<string>;
|
|
1212
1252
|
completeInstall(installationId: number, state: string): Promise<GitHubInstallCompletion>;
|
|
1213
1253
|
findForCurrentOrg(): Promise<GitHubAppInstallation | null>;
|
|
@@ -1225,6 +1265,7 @@ interface IOsApiExtension {
|
|
|
1225
1265
|
vmNodes: IVmNodeService;
|
|
1226
1266
|
workloads: IWorkloadService;
|
|
1227
1267
|
members: IMemberService;
|
|
1268
|
+
inviteEmailTemplates: IInviteEmailTemplateService;
|
|
1228
1269
|
deviceApproval: IDeviceApprovalService;
|
|
1229
1270
|
githubAppInstallations: IGitHubAppInstallationService;
|
|
1230
1271
|
}
|
|
@@ -1232,4 +1273,4 @@ declare const OsApiPlugin: KinoticPlugin<IOsApiExtension>;
|
|
|
1232
1273
|
declare module "@kinotic-ai/core" {
|
|
1233
1274
|
interface KinoticSingleton extends IOsApiExtension {}
|
|
1234
1275
|
}
|
|
1235
|
-
export { isSystemParticipant, isOrganizationParticipant, isApplicationParticipant, WorkloadStatus, WorkloadServiceProxy, Workload, VmProviderType, VmNodeStatus, VmNodeServiceProxy, VmNode, VersionDecorator, TimeReferenceDecorator, TextDecorator, TenantSelectionC3Type, TenantIdDecorator, SingleLoggerLevelsDescriptor, SignUpRequest, SignUpCompleteRequest, QueryOptionsC3Type, QueryDecorator, ProjectType, ProjectService, Project, ProgressType, PendingInviteSummary, ParticipantType, PageableC3Type, PageC3Type, OsApiPlugin, OrganizationService, Organization, NotIndexedDecorator, NestedDecorator, NamedQueriesDefinitionService, NamedQueriesDefinition, MigrationService, MigrationResult, MigrationRequest, MigrationDefinition, MemberService, LoggersDescriptor, LoggerLevelsDescriptor, LogManager, LogLevel, KinoticProjectConfig, InsightRequest, InsightProgress, IdDecorator, IamUser, IWorkloadService, IVmNodeService, ISystemParticipant, IProjectService, IOsApiExtension, IOrganizationService, IOrganizationParticipant, INamedQueriesDefinitionService, IMigrationService, IMemberService, ILogManager, IGitHubAppInstallationService, IEntityDefinitionService, IDeviceApprovalService, IDataInsightsService, IApplicationService, IApplicationParticipant, GroupLoggerLevelsDescriptor, GitHubToken, GitHubRepoToken, GitHubInstallCompletion, GitHubAppInstallationService, GitHubAppInstallation, FlattenedDecorator, EsIndexConfigurationDecorator, EntityDefinitionService, EntityDefinition, EntityDecorator, EntitiesPathConfig, DiscriminatorDecorator, DeviceApprovalService, DataInsightsService, DataInsightsComponent, CompleteOrgRequest, AutoGeneratedIdDecorator, AuthType, ApplicationService, Application };
|
|
1276
|
+
export { isSystemParticipant, isOrganizationParticipant, isApplicationParticipant, WorkloadStatus, WorkloadServiceProxy, Workload, VmProviderType, VmNodeStatus, VmNodeServiceProxy, VmNode, VersionDecorator, TimeReferenceDecorator, TextDecorator, TenantSelectionC3Type, TenantIdDecorator, SingleLoggerLevelsDescriptor, SignUpRequest, SignUpCompleteRequest, QueryOptionsC3Type, QueryDecorator, ProjectType, ProjectService, Project, ProgressType, PendingInviteSummary, ParticipantType, PageableC3Type, PageC3Type, OsApiPlugin, OrganizationService, Organization, NotIndexedDecorator, NestedDecorator, NamedQueriesDefinitionService, NamedQueriesDefinition, MigrationService, MigrationResult, MigrationRequest, MigrationDefinition, MemberService, LoggersDescriptor, LoggerLevelsDescriptor, LogManager, LogLevel, KinoticProjectConfig, InviteEmailTemplateService, InviteEmailTemplate, InsightRequest, InsightProgress, IdDecorator, IamUser, IWorkloadService, IVmNodeService, ISystemParticipant, IProjectService, IOsApiExtension, IOrganizationService, IOrganizationParticipant, INamedQueriesDefinitionService, IMigrationService, IMemberService, ILogManager, IInviteEmailTemplateService, IGitHubAppInstallationService, IEntityDefinitionService, IDeviceApprovalService, IDataInsightsService, IApplicationService, IApplicationParticipant, GroupLoggerLevelsDescriptor, GitHubToken, GitHubRepoToken, GitHubInstallCompletion, GitHubAppInstallationService, GitHubAppInstallation, FlattenedDecorator, EsIndexConfigurationDecorator, EntityDefinitionService, EntityDefinition, EntityDecorator, EntitiesPathConfig, DiscriminatorDecorator, DeviceApprovalService, DataInsightsService, DataInsightsComponent, CompleteOrgRequest, AutoGeneratedIdDecorator, AuthType, ApplicationService, Application };
|
package/dist/index.d.ts
CHANGED
|
@@ -591,7 +591,7 @@ interface CompleteOrgRequest {
|
|
|
591
591
|
}
|
|
592
592
|
import { Identifiable as Identifiable9 } from "@kinotic-ai/core";
|
|
593
593
|
/**
|
|
594
|
-
*
|
|
594
|
+
* View of a pending invitation for listing in the web app. Deliberately excludes the accept token — anyone who
|
|
595
595
|
* can list invitations must not be able to redeem them.
|
|
596
596
|
*/
|
|
597
597
|
declare class PendingInviteSummary implements Identifiable9<string> {
|
|
@@ -610,12 +610,33 @@ declare class PendingInviteSummary implements Identifiable9<string> {
|
|
|
610
610
|
}
|
|
611
611
|
import { Identifiable as Identifiable10 } from "@kinotic-ai/core";
|
|
612
612
|
/**
|
|
613
|
+
* An application's customized invitation email — at most one per application. Subject and
|
|
614
|
+
* bodies are Handlebars sources rendered with the same variables as the built-in
|
|
615
|
+
* invitation template; when an application has no template, the built-in is used.
|
|
616
|
+
*/
|
|
617
|
+
declare class InviteEmailTemplate implements Identifiable10<string> {
|
|
618
|
+
id: string | null;
|
|
619
|
+
/** The organization that owns {@link applicationId}; set by the server on save. */
|
|
620
|
+
organizationId: string | null;
|
|
621
|
+
/** The application whose invitation email this template customizes. Always set. */
|
|
622
|
+
applicationId: string;
|
|
623
|
+
/** Handlebars source for the subject line (rendered as plain text). */
|
|
624
|
+
subject: string;
|
|
625
|
+
/** Handlebars source for the HTML body. */
|
|
626
|
+
htmlBody: string;
|
|
627
|
+
/** Handlebars source for the plain-text body. */
|
|
628
|
+
textBody: string;
|
|
629
|
+
created: number | null;
|
|
630
|
+
updated: number | null;
|
|
631
|
+
}
|
|
632
|
+
import { Identifiable as Identifiable11 } from "@kinotic-ai/core";
|
|
633
|
+
/**
|
|
613
634
|
* Persisted record of one GitHub App installation that a Kinotic Org has authorised.
|
|
614
635
|
* The durable binding that says "Org X has access to GitHub install Y" — without it,
|
|
615
636
|
* no installation token can be minted on behalf of the org and webhook deliveries
|
|
616
637
|
* can't be matched to a project.
|
|
617
638
|
*/
|
|
618
|
-
declare class GitHubAppInstallation implements
|
|
639
|
+
declare class GitHubAppInstallation implements Identifiable11<string> {
|
|
619
640
|
id: string | null;
|
|
620
641
|
organizationId: string;
|
|
621
642
|
githubInstallationId: number;
|
|
@@ -1163,6 +1184,25 @@ declare class MemberService implements IMemberService {
|
|
|
1163
1184
|
memberDataSource(applicationId: string | null): IDataSource<IamUser>;
|
|
1164
1185
|
}
|
|
1165
1186
|
import { IKinotic as IKinotic12 } from "@kinotic-ai/core";
|
|
1187
|
+
import { CrudServiceProxy as CrudServiceProxy8, ICrudServiceProxy as ICrudServiceProxy8 } from "@kinotic-ai/core";
|
|
1188
|
+
/**
|
|
1189
|
+
* CRUD service for an application's customized invitation email — at most one
|
|
1190
|
+
* {@link InviteEmailTemplate} per application. Saving validates the Handlebars sources, so
|
|
1191
|
+
* a broken template is rejected instead of breaking the next send. Deleting the template
|
|
1192
|
+
* reverts the application to the built-in invitation email.
|
|
1193
|
+
*/
|
|
1194
|
+
interface IInviteEmailTemplateService extends ICrudServiceProxy8<InviteEmailTemplate> {
|
|
1195
|
+
/**
|
|
1196
|
+
* Finds the application's invitation template, or null when the application uses the
|
|
1197
|
+
* built-in email.
|
|
1198
|
+
*/
|
|
1199
|
+
findByApplication(applicationId: string): Promise<InviteEmailTemplate | null>;
|
|
1200
|
+
}
|
|
1201
|
+
declare class InviteEmailTemplateService extends CrudServiceProxy8<InviteEmailTemplate> implements IInviteEmailTemplateService {
|
|
1202
|
+
constructor(kinotic: IKinotic12);
|
|
1203
|
+
findByApplication(applicationId: string): Promise<InviteEmailTemplate | null>;
|
|
1204
|
+
}
|
|
1205
|
+
import { IKinotic as IKinotic13 } from "@kinotic-ai/core";
|
|
1166
1206
|
/**
|
|
1167
1207
|
* Browser-invoked service for the RFC 8628 device-authorization approve step. The signed-in
|
|
1168
1208
|
* browser user calls {@link approve} with the user_code shown in their CLI; the gateway
|
|
@@ -1177,11 +1217,11 @@ interface IDeviceApprovalService {
|
|
|
1177
1217
|
}
|
|
1178
1218
|
declare class DeviceApprovalService implements IDeviceApprovalService {
|
|
1179
1219
|
private readonly serviceProxy;
|
|
1180
|
-
constructor(kinotic:
|
|
1220
|
+
constructor(kinotic: IKinotic13);
|
|
1181
1221
|
approve(userCode: string): Promise<void>;
|
|
1182
1222
|
}
|
|
1183
|
-
import { CrudServiceProxy as
|
|
1184
|
-
interface IGitHubAppInstallationService extends
|
|
1223
|
+
import { CrudServiceProxy as CrudServiceProxy9, IKinotic as IKinotic14, ICrudServiceProxy as ICrudServiceProxy9 } from "@kinotic-ai/core";
|
|
1224
|
+
interface IGitHubAppInstallationService extends ICrudServiceProxy9<GitHubAppInstallation> {
|
|
1185
1225
|
/**
|
|
1186
1226
|
* Stages a single-use state token bound to the caller's organization plus the
|
|
1187
1227
|
* supplied returnTo, then returns the GitHub install URL with that state
|
|
@@ -1206,8 +1246,8 @@ interface IGitHubAppInstallationService extends ICrudServiceProxy8<GitHubAppInst
|
|
|
1206
1246
|
*/
|
|
1207
1247
|
findForCurrentOrg(): Promise<GitHubAppInstallation | null>;
|
|
1208
1248
|
}
|
|
1209
|
-
declare class GitHubAppInstallationService extends
|
|
1210
|
-
constructor(kinotic:
|
|
1249
|
+
declare class GitHubAppInstallationService extends CrudServiceProxy9<GitHubAppInstallation> implements IGitHubAppInstallationService {
|
|
1250
|
+
constructor(kinotic: IKinotic14);
|
|
1211
1251
|
startInstall(returnTo: string | null): Promise<string>;
|
|
1212
1252
|
completeInstall(installationId: number, state: string): Promise<GitHubInstallCompletion>;
|
|
1213
1253
|
findForCurrentOrg(): Promise<GitHubAppInstallation | null>;
|
|
@@ -1225,6 +1265,7 @@ interface IOsApiExtension {
|
|
|
1225
1265
|
vmNodes: IVmNodeService;
|
|
1226
1266
|
workloads: IWorkloadService;
|
|
1227
1267
|
members: IMemberService;
|
|
1268
|
+
inviteEmailTemplates: IInviteEmailTemplateService;
|
|
1228
1269
|
deviceApproval: IDeviceApprovalService;
|
|
1229
1270
|
githubAppInstallations: IGitHubAppInstallationService;
|
|
1230
1271
|
}
|
|
@@ -1232,4 +1273,4 @@ declare const OsApiPlugin: KinoticPlugin<IOsApiExtension>;
|
|
|
1232
1273
|
declare module "@kinotic-ai/core" {
|
|
1233
1274
|
interface KinoticSingleton extends IOsApiExtension {}
|
|
1234
1275
|
}
|
|
1235
|
-
export { isSystemParticipant, isOrganizationParticipant, isApplicationParticipant, WorkloadStatus, WorkloadServiceProxy, Workload, VmProviderType, VmNodeStatus, VmNodeServiceProxy, VmNode, VersionDecorator, TimeReferenceDecorator, TextDecorator, TenantSelectionC3Type, TenantIdDecorator, SingleLoggerLevelsDescriptor, SignUpRequest, SignUpCompleteRequest, QueryOptionsC3Type, QueryDecorator, ProjectType, ProjectService, Project, ProgressType, PendingInviteSummary, ParticipantType, PageableC3Type, PageC3Type, OsApiPlugin, OrganizationService, Organization, NotIndexedDecorator, NestedDecorator, NamedQueriesDefinitionService, NamedQueriesDefinition, MigrationService, MigrationResult, MigrationRequest, MigrationDefinition, MemberService, LoggersDescriptor, LoggerLevelsDescriptor, LogManager, LogLevel, KinoticProjectConfig, InsightRequest, InsightProgress, IdDecorator, IamUser, IWorkloadService, IVmNodeService, ISystemParticipant, IProjectService, IOsApiExtension, IOrganizationService, IOrganizationParticipant, INamedQueriesDefinitionService, IMigrationService, IMemberService, ILogManager, IGitHubAppInstallationService, IEntityDefinitionService, IDeviceApprovalService, IDataInsightsService, IApplicationService, IApplicationParticipant, GroupLoggerLevelsDescriptor, GitHubToken, GitHubRepoToken, GitHubInstallCompletion, GitHubAppInstallationService, GitHubAppInstallation, FlattenedDecorator, EsIndexConfigurationDecorator, EntityDefinitionService, EntityDefinition, EntityDecorator, EntitiesPathConfig, DiscriminatorDecorator, DeviceApprovalService, DataInsightsService, DataInsightsComponent, CompleteOrgRequest, AutoGeneratedIdDecorator, AuthType, ApplicationService, Application };
|
|
1276
|
+
export { isSystemParticipant, isOrganizationParticipant, isApplicationParticipant, WorkloadStatus, WorkloadServiceProxy, Workload, VmProviderType, VmNodeStatus, VmNodeServiceProxy, VmNode, VersionDecorator, TimeReferenceDecorator, TextDecorator, TenantSelectionC3Type, TenantIdDecorator, SingleLoggerLevelsDescriptor, SignUpRequest, SignUpCompleteRequest, QueryOptionsC3Type, QueryDecorator, ProjectType, ProjectService, Project, ProgressType, PendingInviteSummary, ParticipantType, PageableC3Type, PageC3Type, OsApiPlugin, OrganizationService, Organization, NotIndexedDecorator, NestedDecorator, NamedQueriesDefinitionService, NamedQueriesDefinition, MigrationService, MigrationResult, MigrationRequest, MigrationDefinition, MemberService, LoggersDescriptor, LoggerLevelsDescriptor, LogManager, LogLevel, KinoticProjectConfig, InviteEmailTemplateService, InviteEmailTemplate, InsightRequest, InsightProgress, IdDecorator, IamUser, IWorkloadService, IVmNodeService, ISystemParticipant, IProjectService, IOsApiExtension, IOrganizationService, IOrganizationParticipant, INamedQueriesDefinitionService, IMigrationService, IMemberService, ILogManager, IInviteEmailTemplateService, IGitHubAppInstallationService, IEntityDefinitionService, IDeviceApprovalService, IDataInsightsService, IApplicationService, IApplicationParticipant, GroupLoggerLevelsDescriptor, GitHubToken, GitHubRepoToken, GitHubInstallCompletion, GitHubAppInstallationService, GitHubAppInstallation, FlattenedDecorator, EsIndexConfigurationDecorator, EntityDefinitionService, EntityDefinition, EntityDecorator, EntitiesPathConfig, DiscriminatorDecorator, DeviceApprovalService, DataInsightsService, DataInsightsComponent, CompleteOrgRequest, AutoGeneratedIdDecorator, AuthType, ApplicationService, Application };
|
package/dist/index.js
CHANGED
|
@@ -367,6 +367,17 @@ class PendingInviteSummary {
|
|
|
367
367
|
created = null;
|
|
368
368
|
expiresAt = null;
|
|
369
369
|
}
|
|
370
|
+
// packages/os-api/src/api/model/InviteEmailTemplate.ts
|
|
371
|
+
class InviteEmailTemplate {
|
|
372
|
+
id = null;
|
|
373
|
+
organizationId = null;
|
|
374
|
+
applicationId = "";
|
|
375
|
+
subject = "";
|
|
376
|
+
htmlBody = "";
|
|
377
|
+
textBody = "";
|
|
378
|
+
created = null;
|
|
379
|
+
updated = null;
|
|
380
|
+
}
|
|
370
381
|
// packages/os-api/src/api/model/github/GitHubAppInstallation.ts
|
|
371
382
|
class GitHubAppInstallation {
|
|
372
383
|
id = null;
|
|
@@ -681,6 +692,17 @@ class MemberService {
|
|
|
681
692
|
};
|
|
682
693
|
}
|
|
683
694
|
}
|
|
695
|
+
// packages/os-api/src/api/services/IInviteEmailTemplateService.ts
|
|
696
|
+
import { CrudServiceProxy as CrudServiceProxy8 } from "@kinotic-ai/core";
|
|
697
|
+
|
|
698
|
+
class InviteEmailTemplateService extends CrudServiceProxy8 {
|
|
699
|
+
constructor(kinotic) {
|
|
700
|
+
super(kinotic.serviceProxy("org.kinotic.os.api.services.InviteEmailTemplateService"));
|
|
701
|
+
}
|
|
702
|
+
findByApplication(applicationId) {
|
|
703
|
+
return this.serviceProxy.invoke("findByApplication", [applicationId]);
|
|
704
|
+
}
|
|
705
|
+
}
|
|
684
706
|
// packages/os-api/src/api/services/IDeviceApprovalService.ts
|
|
685
707
|
class DeviceApprovalService {
|
|
686
708
|
serviceProxy;
|
|
@@ -692,9 +714,9 @@ class DeviceApprovalService {
|
|
|
692
714
|
}
|
|
693
715
|
}
|
|
694
716
|
// packages/os-api/src/api/services/IGitHubAppInstallationService.ts
|
|
695
|
-
import { CrudServiceProxy as
|
|
717
|
+
import { CrudServiceProxy as CrudServiceProxy9 } from "@kinotic-ai/core";
|
|
696
718
|
|
|
697
|
-
class GitHubAppInstallationService extends
|
|
719
|
+
class GitHubAppInstallationService extends CrudServiceProxy9 {
|
|
698
720
|
constructor(kinotic) {
|
|
699
721
|
super(kinotic.serviceProxy("org.kinotic.github.api.services.GitHubAppInstallationService"));
|
|
700
722
|
}
|
|
@@ -723,6 +745,7 @@ var OsApiPlugin = {
|
|
|
723
745
|
vmNodes: new VmNodeServiceProxy(kinotic),
|
|
724
746
|
workloads: new WorkloadServiceProxy(kinotic),
|
|
725
747
|
members: new MemberService(kinotic),
|
|
748
|
+
inviteEmailTemplates: new InviteEmailTemplateService(kinotic),
|
|
726
749
|
deviceApproval: new DeviceApprovalService(kinotic),
|
|
727
750
|
githubAppInstallations: new GitHubAppInstallationService(kinotic)
|
|
728
751
|
};
|
|
@@ -769,6 +792,8 @@ export {
|
|
|
769
792
|
LogManager,
|
|
770
793
|
LogLevel,
|
|
771
794
|
KinoticProjectConfig,
|
|
795
|
+
InviteEmailTemplateService,
|
|
796
|
+
InviteEmailTemplate,
|
|
772
797
|
IdDecorator,
|
|
773
798
|
IamUser,
|
|
774
799
|
GroupLoggerLevelsDescriptor,
|