@app-vitals/agent-lib 1.86.0 → 1.87.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/admin-types.ts +19 -2
- package/package.json +1 -1
package/admin-types.ts
CHANGED
|
@@ -3178,7 +3178,7 @@ export interface paths {
|
|
|
3178
3178
|
};
|
|
3179
3179
|
/**
|
|
3180
3180
|
* Preview the repos the agent's bound GitHub user can reach
|
|
3181
|
-
* @description Platform-admin only (session members, ops keys and agent keys get 403): the response lists repo names the bound user can reach. Read-only; nothing is stored. 404 for an unknown agent; 422 when no githubUsername is bound. Returns `status: unconfigured` (not an error, no GitHub call) when the
|
|
3181
|
+
* @description Platform-admin only (session members, ops keys and agent keys get 403): the response lists repo names the bound user can reach. Read-only; nothing is stored. 404 for an unknown agent; 422 when no githubUsername is bound. Returns `status: unconfigured` (not an error, no GitHub call) when the lookup App is not configured (the installer App is optional), and `status: user_not_found` when the user does not exist on GitHub; otherwise `access` is the resolver output (per-org status, repos with level and canPush, unresolved count, complete flag).
|
|
3182
3182
|
*/
|
|
3183
3183
|
get: {
|
|
3184
3184
|
parameters: {
|
|
@@ -5994,7 +5994,7 @@ export interface components {
|
|
|
5994
5994
|
};
|
|
5995
5995
|
GithubAccessPreview: {
|
|
5996
5996
|
/**
|
|
5997
|
-
* @description `unconfigured` when the
|
|
5997
|
+
* @description `unconfigured` when the lookup App or its key is not set (no GitHub call was made). The installer App is optional.
|
|
5998
5998
|
* @enum {string}
|
|
5999
5999
|
*/
|
|
6000
6000
|
status: "ok" | "user_not_found" | "unconfigured";
|
|
@@ -6023,6 +6023,13 @@ export interface components {
|
|
|
6023
6023
|
};
|
|
6024
6024
|
GithubInstallationReposList: {
|
|
6025
6025
|
appId: number;
|
|
6026
|
+
/**
|
|
6027
|
+
* @description Present only when an App role is missing: `lookup_only` (the enterprise installer App is not configured: repo access is visible but Sync and the agent App's installation repos are unavailable) or `lookup_missing` (the lookup App is not configured). `reason` carries the matching text.
|
|
6028
|
+
* @enum {string}
|
|
6029
|
+
*/
|
|
6030
|
+
appsState?: "lookup_only" | "lookup_missing";
|
|
6031
|
+
/** @description Set with `appsState`: why the installation repos cannot be changed here. The listing is the cached lookup crawl. */
|
|
6032
|
+
reason?: string;
|
|
6026
6033
|
/** @description Whether the cached crawl is complete. While false the list may be partial. */
|
|
6027
6034
|
complete?: boolean;
|
|
6028
6035
|
/** @description When the completed crawl finished (ISO 8601). */
|
|
@@ -6083,6 +6090,11 @@ export interface components {
|
|
|
6083
6090
|
*/
|
|
6084
6091
|
status: "previewed" | "skipped";
|
|
6085
6092
|
reason?: string;
|
|
6093
|
+
/**
|
|
6094
|
+
* @description Present only when an App role is missing: `lookup_only` (the enterprise installer App is not configured: repo access is visible but Sync and the agent App's installation repos are unavailable) or `lookup_missing` (the lookup App is not configured). `reason` carries the matching text.
|
|
6095
|
+
* @enum {string}
|
|
6096
|
+
*/
|
|
6097
|
+
appsState?: "lookup_only" | "lookup_missing";
|
|
6086
6098
|
/** @description Repos the bound user can push to, in orgs the agent App is installed on with a complete access listing, that are not on the installation. No cap. */
|
|
6087
6099
|
appAdds?: string[];
|
|
6088
6100
|
/** @description Installation repos the bound user can no longer push to. */
|
|
@@ -6124,6 +6136,11 @@ export interface components {
|
|
|
6124
6136
|
/** @enum {string} */
|
|
6125
6137
|
status: "applied" | "noop" | "skipped";
|
|
6126
6138
|
reason?: string;
|
|
6139
|
+
/**
|
|
6140
|
+
* @description Present only when an App role is missing: `lookup_only` (the enterprise installer App is not configured: repo access is visible but Sync and the agent App's installation repos are unavailable) or `lookup_missing` (the lookup App is not configured). `reason` carries the matching text.
|
|
6141
|
+
* @enum {string}
|
|
6142
|
+
*/
|
|
6143
|
+
appsState?: "lookup_only" | "lookup_missing";
|
|
6127
6144
|
auditId?: string;
|
|
6128
6145
|
appAdds?: string[];
|
|
6129
6146
|
appRemoves?: string[];
|