@kinotic-ai/os-api 1.4.0 → 1.5.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 CHANGED
@@ -78,7 +78,9 @@ __export(exports_src, {
78
78
  IamUserService: () => IamUserService,
79
79
  IamUser: () => IamUser,
80
80
  GroupLoggerLevelsDescriptor: () => GroupLoggerLevelsDescriptor,
81
- GitHubInstallationToken: () => GitHubInstallationToken,
81
+ GitHubToken: () => GitHubToken,
82
+ GitHubRepoToken: () => GitHubRepoToken,
83
+ GitHubInstallCompletion: () => GitHubInstallCompletion,
82
84
  GitHubAppInstallationService: () => GitHubAppInstallationService,
83
85
  GitHubAppInstallation: () => GitHubAppInstallation,
84
86
  FlattenedDecorator: () => FlattenedDecorator,
@@ -299,9 +301,9 @@ class Project {
299
301
  name;
300
302
  description;
301
303
  sourceOfTruth = null;
302
- repoFullName = null;
303
- repoId = null;
304
- defaultBranch = null;
304
+ repoFullName;
305
+ repoId;
306
+ defaultBranch;
305
307
  repoPrivate = true;
306
308
  updated = null;
307
309
  constructor(id, applicationId, name, description) {
@@ -463,13 +465,21 @@ class GitHubAppInstallation {
463
465
  created = null;
464
466
  updated = null;
465
467
  }
466
- // packages/os-api/src/api/model/github/GitHubInstallationToken.ts
467
- class GitHubInstallationToken {
468
+ // packages/os-api/src/api/model/github/GitHubToken.ts
469
+ class GitHubToken {
468
470
  token = "";
469
471
  expiresAt = 0;
472
+ }
473
+ // packages/os-api/src/api/model/github/GitHubRepoToken.ts
474
+ class GitHubRepoToken extends GitHubToken {
470
475
  cloneUrl = "";
471
476
  defaultBranch = "";
472
477
  }
478
+ // packages/os-api/src/api/model/github/GitHubInstallCompletion.ts
479
+ class GitHubInstallCompletion {
480
+ installation;
481
+ returnTo = null;
482
+ }
473
483
  // packages/os-api/src/api/model/KinoticProjectConfig.ts
474
484
  class KinoticProjectConfig {
475
485
  name;
@@ -730,8 +740,11 @@ class GitHubAppInstallationService extends import_core9.CrudServiceProxy {
730
740
  constructor(kinotic) {
731
741
  super(kinotic.serviceProxy("org.kinotic.github.api.services.GitHubAppInstallationService"));
732
742
  }
733
- startInstall() {
734
- return this.serviceProxy.invoke("startInstall", []);
743
+ startInstall(returnTo) {
744
+ return this.serviceProxy.invoke("startInstall", [returnTo]);
745
+ }
746
+ completeInstall(installationId, state) {
747
+ return this.serviceProxy.invoke("completeInstall", [installationId, state]);
735
748
  }
736
749
  findForCurrentOrg() {
737
750
  return this.serviceProxy.invoke("findForCurrentOrg", []);
package/dist/index.d.cts CHANGED
@@ -201,19 +201,18 @@ declare class Project implements Identifiable3<string> {
201
201
  * Full name ({@code owner/repo}) of the GitHub repository backing this project.
202
202
  * Stamped at create time by the server-side repo provisioner.
203
203
  */
204
- repoFullName: string | null;
204
+ repoFullName: string;
205
205
  /**
206
206
  * GitHub's stable repository id. Survives renames on the GitHub side.
207
207
  */
208
- repoId: number | null;
208
+ repoId: number;
209
209
  /**
210
210
  * Default branch of the backing repository at the time it was provisioned.
211
211
  */
212
- defaultBranch: string | null;
212
+ defaultBranch: string;
213
213
  /**
214
214
  * Visibility chosen for the backing repository at create time. The SPA sets
215
- * this on the create call; the platform passes it through to GitHub. Snapshot
216
- * only — not synced back if changed on GitHub later.
215
+ * this before save; the platform passes it through to GitHub.
217
216
  */
218
217
  repoPrivate: boolean;
219
218
  /**
@@ -599,22 +598,38 @@ declare class GitHubAppInstallation implements Identifiable9<string> {
599
598
  updated: number | null;
600
599
  }
601
600
  /**
602
- * What worker nodes receive when they ask for clone credentials. The token is a
603
- * short-lived GitHub installation access token scoped to a single repository with
604
- * {@code contents:read} permission; {@code expiresAt} is the absolute UTC instant
605
- * (epoch milliseconds).
601
+ * A short-lived GitHub installation access token. Mirrors the Java
602
+ * {@code org.kinotic.github.api.model.GitHubToken}; {@code expiresAt} is the
603
+ * absolute UTC instant (epoch milliseconds) at which GitHub will reject the token.
606
604
  */
607
- declare class GitHubInstallationToken {
608
- /** Bearer token to send as {@code Authorization: Bearer <token>} on git over HTTPS. */
605
+ declare class GitHubToken {
606
+ /** Bearer token to send as {@code Authorization: Bearer <token>}. */
609
607
  token: string;
610
- /** Absolute expiry (epoch milliseconds). Workers should not use the token beyond this point. */
608
+ /** Absolute expiry (epoch milliseconds). Do not use past this point. */
611
609
  expiresAt: number;
612
- /** {@code https://github.com/<owner>/<repo>.git} for the linked repo. */
610
+ }
611
+ /**
612
+ * A {@link GitHubToken} bundled with the repository-clone metadata a worker needs
613
+ * to {@code git clone} the project's backing repo. Returned by
614
+ * {@code GitHubProjectRepoService.issueRepoToken}.
615
+ */
616
+ declare class GitHubRepoToken extends GitHubToken {
617
+ /** {@code https://github.com/<owner>/<repo>.git} for the project's repo. */
613
618
  cloneUrl: string;
614
- /** Default branch on the linked repo (e.g. {@code main}). */
619
+ /** Default branch on the repo (e.g. {@code main}). */
615
620
  defaultBranch: string;
616
621
  }
617
622
  /**
623
+ * Result of finalising a GitHub install round-trip. {@code returnTo} echoes what
624
+ * the SPA staged when it called {@code startInstall(...)} and may carry query
625
+ * params (e.g. {@code /projects?openNewProject=1}) so the destination page can
626
+ * pick up where the user was.
627
+ */
628
+ declare class GitHubInstallCompletion {
629
+ installation: GitHubAppInstallation;
630
+ returnTo: string | null;
631
+ }
632
+ /**
618
633
  * Configuration for a single entities path and its corresponding repository output.
619
634
  */
620
635
  type EntitiesPathConfig = {
@@ -1060,24 +1075,33 @@ declare class IamUserService extends CrudServiceProxy8<IamUser> implements IIamU
1060
1075
  import { CrudServiceProxy as CrudServiceProxy9, IKinotic as IKinotic12, ICrudServiceProxy as ICrudServiceProxy9 } from "@kinotic-ai/core";
1061
1076
  interface IGitHubAppInstallationService extends ICrudServiceProxy9<GitHubAppInstallation> {
1062
1077
  /**
1063
- * Stages a single-use {@code state} token bound to the caller's organization in
1064
- * a cluster-wide store, then returns the GitHub install URL with that state
1078
+ * Stages a single-use state token bound to the caller's organization plus the
1079
+ * supplied returnTo, then returns the GitHub install URL with that state
1065
1080
  * embedded. The SPA performs {@code window.location = url}.
1066
- * <p>
1067
- * Caller must be authenticated under {@code ORGANIZATION} scope; the org is read
1068
- * from the participant. The state expires after 10 minutes if unused.
1081
+ *
1082
+ * returnTo is echoed back from {@link completeInstall} and may carry query
1083
+ * params (e.g. {@code /projects?openNewProject=1}) so the destination page
1084
+ * can pick up where the user was.
1085
+ */
1086
+ startInstall(returnTo: string | null): Promise<string>;
1087
+ /**
1088
+ * Finalises the install once GitHub has redirected the browser back to the SPA
1089
+ * callback. Consumes the staged state, fetches the install details from GitHub,
1090
+ * persists the {@link GitHubAppInstallation} row, and returns it along with the
1091
+ * original intent and returnTo.
1069
1092
  */
1070
- startInstall(): Promise<string>;
1093
+ completeInstall(installationId: number, state: string): Promise<GitHubInstallCompletion>;
1071
1094
  /**
1072
1095
  * Returns the (at-most-one) installation bound to the caller's organization, or
1073
- * {@code null} if GitHub is not yet linked. Drives the "linked / not linked"
1074
- * indicator in the org-settings UI.
1096
+ * null if GitHub is not yet linked. Drives the "linked / not linked" indicator
1097
+ * in the org-settings UI.
1075
1098
  */
1076
1099
  findForCurrentOrg(): Promise<GitHubAppInstallation | null>;
1077
1100
  }
1078
1101
  declare class GitHubAppInstallationService extends CrudServiceProxy9<GitHubAppInstallation> implements IGitHubAppInstallationService {
1079
1102
  constructor(kinotic: IKinotic12);
1080
- startInstall(): Promise<string>;
1103
+ startInstall(returnTo: string | null): Promise<string>;
1104
+ completeInstall(installationId: number, state: string): Promise<GitHubInstallCompletion>;
1081
1105
  findForCurrentOrg(): Promise<GitHubAppInstallation | null>;
1082
1106
  }
1083
1107
  import { KinoticPlugin } from "@kinotic-ai/core";
@@ -1099,4 +1123,4 @@ declare const OsApiPlugin: KinoticPlugin<IOsApiExtension>;
1099
1123
  declare module "@kinotic-ai/core" {
1100
1124
  interface KinoticSingleton extends IOsApiExtension {}
1101
1125
  }
1102
- export { WorkloadStatus, WorkloadServiceProxy, Workload, VmProviderType, VmNodeStatus, VmNodeServiceProxy, VmNode, VersionDecorator, TimeReferenceDecorator, TextDecorator, TenantSelectionC3Type, TenantIdDecorator, SingleLoggerLevelsDescriptor, SignUpRequest, SignUpCompleteRequest, QueryOptionsC3Type, QueryDecorator, ProjectType, ProjectService, Project, ProgressType, PageableC3Type, PageC3Type, OsApiPlugin, OrganizationService, Organization, NotIndexedDecorator, NestedDecorator, NamedQueriesDefinitionService, NamedQueriesDefinition, MigrationService, MigrationResult, MigrationRequest, MigrationDefinition, LoggersDescriptor, LoggerLevelsDescriptor, LogManager, LogLevel, KinoticProjectConfig, InsightRequest, InsightProgress, IdDecorator, IamUserService, IamUser, IWorkloadService, IVmNodeService, IProjectService, IOsApiExtension, IOrganizationService, INamedQueriesDefinitionService, IMigrationService, ILogManager, IIamUserService, IGitHubAppInstallationService, IEntityDefinitionService, IDataInsightsService, IApplicationService, GroupLoggerLevelsDescriptor, GitHubInstallationToken, GitHubAppInstallationService, GitHubAppInstallation, FlattenedDecorator, EsIndexConfigurationDecorator, EntityDefinitionService, EntityDefinition, EntityDecorator, EntitiesPathConfig, DiscriminatorDecorator, DataInsightsService, DataInsightsComponent, AutoGeneratedIdDecorator, AuthType, ApplicationService, Application };
1126
+ export { WorkloadStatus, WorkloadServiceProxy, Workload, VmProviderType, VmNodeStatus, VmNodeServiceProxy, VmNode, VersionDecorator, TimeReferenceDecorator, TextDecorator, TenantSelectionC3Type, TenantIdDecorator, SingleLoggerLevelsDescriptor, SignUpRequest, SignUpCompleteRequest, QueryOptionsC3Type, QueryDecorator, ProjectType, ProjectService, Project, ProgressType, PageableC3Type, PageC3Type, OsApiPlugin, OrganizationService, Organization, NotIndexedDecorator, NestedDecorator, NamedQueriesDefinitionService, NamedQueriesDefinition, MigrationService, MigrationResult, MigrationRequest, MigrationDefinition, LoggersDescriptor, LoggerLevelsDescriptor, LogManager, LogLevel, KinoticProjectConfig, InsightRequest, InsightProgress, IdDecorator, IamUserService, IamUser, IWorkloadService, IVmNodeService, IProjectService, IOsApiExtension, IOrganizationService, INamedQueriesDefinitionService, IMigrationService, ILogManager, IIamUserService, IGitHubAppInstallationService, IEntityDefinitionService, IDataInsightsService, IApplicationService, GroupLoggerLevelsDescriptor, GitHubToken, GitHubRepoToken, GitHubInstallCompletion, GitHubAppInstallationService, GitHubAppInstallation, FlattenedDecorator, EsIndexConfigurationDecorator, EntityDefinitionService, EntityDefinition, EntityDecorator, EntitiesPathConfig, DiscriminatorDecorator, DataInsightsService, DataInsightsComponent, AutoGeneratedIdDecorator, AuthType, ApplicationService, Application };
package/dist/index.d.ts CHANGED
@@ -201,19 +201,18 @@ declare class Project implements Identifiable3<string> {
201
201
  * Full name ({@code owner/repo}) of the GitHub repository backing this project.
202
202
  * Stamped at create time by the server-side repo provisioner.
203
203
  */
204
- repoFullName: string | null;
204
+ repoFullName: string;
205
205
  /**
206
206
  * GitHub's stable repository id. Survives renames on the GitHub side.
207
207
  */
208
- repoId: number | null;
208
+ repoId: number;
209
209
  /**
210
210
  * Default branch of the backing repository at the time it was provisioned.
211
211
  */
212
- defaultBranch: string | null;
212
+ defaultBranch: string;
213
213
  /**
214
214
  * Visibility chosen for the backing repository at create time. The SPA sets
215
- * this on the create call; the platform passes it through to GitHub. Snapshot
216
- * only — not synced back if changed on GitHub later.
215
+ * this before save; the platform passes it through to GitHub.
217
216
  */
218
217
  repoPrivate: boolean;
219
218
  /**
@@ -599,22 +598,38 @@ declare class GitHubAppInstallation implements Identifiable9<string> {
599
598
  updated: number | null;
600
599
  }
601
600
  /**
602
- * What worker nodes receive when they ask for clone credentials. The token is a
603
- * short-lived GitHub installation access token scoped to a single repository with
604
- * {@code contents:read} permission; {@code expiresAt} is the absolute UTC instant
605
- * (epoch milliseconds).
601
+ * A short-lived GitHub installation access token. Mirrors the Java
602
+ * {@code org.kinotic.github.api.model.GitHubToken}; {@code expiresAt} is the
603
+ * absolute UTC instant (epoch milliseconds) at which GitHub will reject the token.
606
604
  */
607
- declare class GitHubInstallationToken {
608
- /** Bearer token to send as {@code Authorization: Bearer <token>} on git over HTTPS. */
605
+ declare class GitHubToken {
606
+ /** Bearer token to send as {@code Authorization: Bearer <token>}. */
609
607
  token: string;
610
- /** Absolute expiry (epoch milliseconds). Workers should not use the token beyond this point. */
608
+ /** Absolute expiry (epoch milliseconds). Do not use past this point. */
611
609
  expiresAt: number;
612
- /** {@code https://github.com/<owner>/<repo>.git} for the linked repo. */
610
+ }
611
+ /**
612
+ * A {@link GitHubToken} bundled with the repository-clone metadata a worker needs
613
+ * to {@code git clone} the project's backing repo. Returned by
614
+ * {@code GitHubProjectRepoService.issueRepoToken}.
615
+ */
616
+ declare class GitHubRepoToken extends GitHubToken {
617
+ /** {@code https://github.com/<owner>/<repo>.git} for the project's repo. */
613
618
  cloneUrl: string;
614
- /** Default branch on the linked repo (e.g. {@code main}). */
619
+ /** Default branch on the repo (e.g. {@code main}). */
615
620
  defaultBranch: string;
616
621
  }
617
622
  /**
623
+ * Result of finalising a GitHub install round-trip. {@code returnTo} echoes what
624
+ * the SPA staged when it called {@code startInstall(...)} and may carry query
625
+ * params (e.g. {@code /projects?openNewProject=1}) so the destination page can
626
+ * pick up where the user was.
627
+ */
628
+ declare class GitHubInstallCompletion {
629
+ installation: GitHubAppInstallation;
630
+ returnTo: string | null;
631
+ }
632
+ /**
618
633
  * Configuration for a single entities path and its corresponding repository output.
619
634
  */
620
635
  type EntitiesPathConfig = {
@@ -1060,24 +1075,33 @@ declare class IamUserService extends CrudServiceProxy8<IamUser> implements IIamU
1060
1075
  import { CrudServiceProxy as CrudServiceProxy9, IKinotic as IKinotic12, ICrudServiceProxy as ICrudServiceProxy9 } from "@kinotic-ai/core";
1061
1076
  interface IGitHubAppInstallationService extends ICrudServiceProxy9<GitHubAppInstallation> {
1062
1077
  /**
1063
- * Stages a single-use {@code state} token bound to the caller's organization in
1064
- * a cluster-wide store, then returns the GitHub install URL with that state
1078
+ * Stages a single-use state token bound to the caller's organization plus the
1079
+ * supplied returnTo, then returns the GitHub install URL with that state
1065
1080
  * embedded. The SPA performs {@code window.location = url}.
1066
- * <p>
1067
- * Caller must be authenticated under {@code ORGANIZATION} scope; the org is read
1068
- * from the participant. The state expires after 10 minutes if unused.
1081
+ *
1082
+ * returnTo is echoed back from {@link completeInstall} and may carry query
1083
+ * params (e.g. {@code /projects?openNewProject=1}) so the destination page
1084
+ * can pick up where the user was.
1085
+ */
1086
+ startInstall(returnTo: string | null): Promise<string>;
1087
+ /**
1088
+ * Finalises the install once GitHub has redirected the browser back to the SPA
1089
+ * callback. Consumes the staged state, fetches the install details from GitHub,
1090
+ * persists the {@link GitHubAppInstallation} row, and returns it along with the
1091
+ * original intent and returnTo.
1069
1092
  */
1070
- startInstall(): Promise<string>;
1093
+ completeInstall(installationId: number, state: string): Promise<GitHubInstallCompletion>;
1071
1094
  /**
1072
1095
  * Returns the (at-most-one) installation bound to the caller's organization, or
1073
- * {@code null} if GitHub is not yet linked. Drives the "linked / not linked"
1074
- * indicator in the org-settings UI.
1096
+ * null if GitHub is not yet linked. Drives the "linked / not linked" indicator
1097
+ * in the org-settings UI.
1075
1098
  */
1076
1099
  findForCurrentOrg(): Promise<GitHubAppInstallation | null>;
1077
1100
  }
1078
1101
  declare class GitHubAppInstallationService extends CrudServiceProxy9<GitHubAppInstallation> implements IGitHubAppInstallationService {
1079
1102
  constructor(kinotic: IKinotic12);
1080
- startInstall(): Promise<string>;
1103
+ startInstall(returnTo: string | null): Promise<string>;
1104
+ completeInstall(installationId: number, state: string): Promise<GitHubInstallCompletion>;
1081
1105
  findForCurrentOrg(): Promise<GitHubAppInstallation | null>;
1082
1106
  }
1083
1107
  import { KinoticPlugin } from "@kinotic-ai/core";
@@ -1099,4 +1123,4 @@ declare const OsApiPlugin: KinoticPlugin<IOsApiExtension>;
1099
1123
  declare module "@kinotic-ai/core" {
1100
1124
  interface KinoticSingleton extends IOsApiExtension {}
1101
1125
  }
1102
- export { WorkloadStatus, WorkloadServiceProxy, Workload, VmProviderType, VmNodeStatus, VmNodeServiceProxy, VmNode, VersionDecorator, TimeReferenceDecorator, TextDecorator, TenantSelectionC3Type, TenantIdDecorator, SingleLoggerLevelsDescriptor, SignUpRequest, SignUpCompleteRequest, QueryOptionsC3Type, QueryDecorator, ProjectType, ProjectService, Project, ProgressType, PageableC3Type, PageC3Type, OsApiPlugin, OrganizationService, Organization, NotIndexedDecorator, NestedDecorator, NamedQueriesDefinitionService, NamedQueriesDefinition, MigrationService, MigrationResult, MigrationRequest, MigrationDefinition, LoggersDescriptor, LoggerLevelsDescriptor, LogManager, LogLevel, KinoticProjectConfig, InsightRequest, InsightProgress, IdDecorator, IamUserService, IamUser, IWorkloadService, IVmNodeService, IProjectService, IOsApiExtension, IOrganizationService, INamedQueriesDefinitionService, IMigrationService, ILogManager, IIamUserService, IGitHubAppInstallationService, IEntityDefinitionService, IDataInsightsService, IApplicationService, GroupLoggerLevelsDescriptor, GitHubInstallationToken, GitHubAppInstallationService, GitHubAppInstallation, FlattenedDecorator, EsIndexConfigurationDecorator, EntityDefinitionService, EntityDefinition, EntityDecorator, EntitiesPathConfig, DiscriminatorDecorator, DataInsightsService, DataInsightsComponent, AutoGeneratedIdDecorator, AuthType, ApplicationService, Application };
1126
+ export { WorkloadStatus, WorkloadServiceProxy, Workload, VmProviderType, VmNodeStatus, VmNodeServiceProxy, VmNode, VersionDecorator, TimeReferenceDecorator, TextDecorator, TenantSelectionC3Type, TenantIdDecorator, SingleLoggerLevelsDescriptor, SignUpRequest, SignUpCompleteRequest, QueryOptionsC3Type, QueryDecorator, ProjectType, ProjectService, Project, ProgressType, PageableC3Type, PageC3Type, OsApiPlugin, OrganizationService, Organization, NotIndexedDecorator, NestedDecorator, NamedQueriesDefinitionService, NamedQueriesDefinition, MigrationService, MigrationResult, MigrationRequest, MigrationDefinition, LoggersDescriptor, LoggerLevelsDescriptor, LogManager, LogLevel, KinoticProjectConfig, InsightRequest, InsightProgress, IdDecorator, IamUserService, IamUser, IWorkloadService, IVmNodeService, IProjectService, IOsApiExtension, IOrganizationService, INamedQueriesDefinitionService, IMigrationService, ILogManager, IIamUserService, IGitHubAppInstallationService, IEntityDefinitionService, IDataInsightsService, IApplicationService, GroupLoggerLevelsDescriptor, GitHubToken, GitHubRepoToken, GitHubInstallCompletion, GitHubAppInstallationService, GitHubAppInstallation, FlattenedDecorator, EsIndexConfigurationDecorator, EntityDefinitionService, EntityDefinition, EntityDecorator, EntitiesPathConfig, DiscriminatorDecorator, DataInsightsService, DataInsightsComponent, AutoGeneratedIdDecorator, AuthType, ApplicationService, Application };
package/dist/index.js CHANGED
@@ -202,9 +202,9 @@ class Project {
202
202
  name;
203
203
  description;
204
204
  sourceOfTruth = null;
205
- repoFullName = null;
206
- repoId = null;
207
- defaultBranch = null;
205
+ repoFullName;
206
+ repoId;
207
+ defaultBranch;
208
208
  repoPrivate = true;
209
209
  updated = null;
210
210
  constructor(id, applicationId, name, description) {
@@ -366,13 +366,21 @@ class GitHubAppInstallation {
366
366
  created = null;
367
367
  updated = null;
368
368
  }
369
- // packages/os-api/src/api/model/github/GitHubInstallationToken.ts
370
- class GitHubInstallationToken {
369
+ // packages/os-api/src/api/model/github/GitHubToken.ts
370
+ class GitHubToken {
371
371
  token = "";
372
372
  expiresAt = 0;
373
+ }
374
+ // packages/os-api/src/api/model/github/GitHubRepoToken.ts
375
+ class GitHubRepoToken extends GitHubToken {
373
376
  cloneUrl = "";
374
377
  defaultBranch = "";
375
378
  }
379
+ // packages/os-api/src/api/model/github/GitHubInstallCompletion.ts
380
+ class GitHubInstallCompletion {
381
+ installation;
382
+ returnTo = null;
383
+ }
376
384
  // packages/os-api/src/api/model/KinoticProjectConfig.ts
377
385
  class KinoticProjectConfig {
378
386
  name;
@@ -633,8 +641,11 @@ class GitHubAppInstallationService extends CrudServiceProxy9 {
633
641
  constructor(kinotic) {
634
642
  super(kinotic.serviceProxy("org.kinotic.github.api.services.GitHubAppInstallationService"));
635
643
  }
636
- startInstall() {
637
- return this.serviceProxy.invoke("startInstall", []);
644
+ startInstall(returnTo) {
645
+ return this.serviceProxy.invoke("startInstall", [returnTo]);
646
+ }
647
+ completeInstall(installationId, state) {
648
+ return this.serviceProxy.invoke("completeInstall", [installationId, state]);
638
649
  }
639
650
  findForCurrentOrg() {
640
651
  return this.serviceProxy.invoke("findForCurrentOrg", []);
@@ -698,7 +709,9 @@ export {
698
709
  IamUserService,
699
710
  IamUser,
700
711
  GroupLoggerLevelsDescriptor,
701
- GitHubInstallationToken,
712
+ GitHubToken,
713
+ GitHubRepoToken,
714
+ GitHubInstallCompletion,
702
715
  GitHubAppInstallationService,
703
716
  GitHubAppInstallation,
704
717
  FlattenedDecorator,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kinotic-ai/os-api",
3
- "version": "1.4.0",
3
+ "version": "1.5.0",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
@@ -41,7 +41,7 @@
41
41
  "rxjs": "^7.8.2"
42
42
  },
43
43
  "devDependencies": {
44
- "@kinotic-ai/core": "1.2.1",
44
+ "@kinotic-ai/core": "1.2.2",
45
45
  "@types/node": "^25.3.2",
46
46
  "@vitest/coverage-v8": "^4.0.18",
47
47
  "@vitest/runner": "^4.0.18",