@typeship-ax/cli 0.6.0 → 0.9.1
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/AGENTS.md +31 -0
- package/README.md +26 -9
- package/api.json +6861 -3083
- package/api.md +508 -277
- package/dist/api-identity.d.ts +40 -0
- package/dist/api-identity.d.ts.map +1 -0
- package/dist/api-identity.js +128 -0
- package/dist/auth-profiles.d.ts +30 -0
- package/dist/auth-profiles.d.ts.map +1 -0
- package/dist/auth-profiles.js +138 -0
- package/dist/cli-agent.d.ts +9 -1
- package/dist/cli-agent.d.ts.map +1 -1
- package/dist/cli-agent.js +26 -9
- package/dist/cli.js +600 -582
- package/dist/console-login-check.d.ts +21 -0
- package/dist/console-login-check.d.ts.map +1 -0
- package/dist/console-login-check.js +107 -0
- package/dist/console-login-contract.d.ts +45 -0
- package/dist/console-login-contract.d.ts.map +1 -0
- package/dist/console-login-contract.js +40 -0
- package/dist/core/http.d.ts +21 -92
- package/dist/core/http.d.ts.map +1 -1
- package/dist/core/http.js +143 -221
- package/dist/core/pagination.d.ts.map +1 -1
- package/dist/core/pagination.js +6 -34
- package/dist/credential-storage.d.ts +24 -0
- package/dist/credential-storage.d.ts.map +1 -0
- package/dist/credential-storage.js +207 -0
- package/dist/dates.d.ts +0 -2
- package/dist/dates.d.ts.map +1 -1
- package/dist/dates.js +0 -1
- package/dist/docs.d.ts +36 -0
- package/dist/docs.d.ts.map +1 -0
- package/dist/docs.js +258 -0
- package/dist/errors.d.ts +42 -34
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +30 -20
- package/dist/index.d.ts +27 -12
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +40 -14
- package/dist/named-credentials.d.ts +21 -0
- package/dist/named-credentials.d.ts.map +1 -0
- package/dist/named-credentials.js +86 -0
- package/dist/oauth-login.d.ts +39 -0
- package/dist/oauth-login.d.ts.map +1 -0
- package/dist/oauth-login.js +171 -0
- package/dist/oauth-request.d.ts +21 -0
- package/dist/oauth-request.d.ts.map +1 -0
- package/dist/oauth-request.js +119 -0
- package/dist/oauth-session.d.ts +106 -0
- package/dist/oauth-session.d.ts.map +1 -0
- package/dist/oauth-session.js +244 -0
- package/dist/ops.d.ts +18 -0
- package/dist/ops.d.ts.map +1 -1
- package/dist/ops.js +31 -17
- package/dist/polling-login.d.ts +57 -0
- package/dist/polling-login.d.ts.map +1 -0
- package/dist/polling-login.js +204 -0
- package/dist/resources/account.d.ts +4 -4
- package/dist/resources/account.d.ts.map +1 -1
- package/dist/resources/account.js +1 -0
- package/dist/resources/api-keys.d.ts +13 -8
- package/dist/resources/api-keys.d.ts.map +1 -1
- package/dist/resources/api-keys.js +5 -1
- package/dist/resources/definition-revisions.d.ts +58 -0
- package/dist/resources/definition-revisions.d.ts.map +1 -0
- package/dist/resources/definition-revisions.js +114 -0
- package/dist/resources/definitions.d.ts +35 -0
- package/dist/resources/definitions.d.ts.map +1 -0
- package/dist/resources/definitions.js +60 -0
- package/dist/resources/generate.d.ts +18 -7
- package/dist/resources/generate.d.ts.map +1 -1
- package/dist/resources/generate.js +13 -5
- package/dist/resources/generations.d.ts +6 -6
- package/dist/resources/generations.d.ts.map +1 -1
- package/dist/resources/generations.js +3 -1
- package/dist/resources/projects.d.ts +111 -35
- package/dist/resources/projects.d.ts.map +1 -1
- package/dist/resources/projects.js +125 -15
- package/dist/resources/targets.d.ts +97 -0
- package/dist/resources/targets.d.ts.map +1 -0
- package/dist/resources/targets.js +197 -0
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +135 -62
- package/dist/types.d.ts +2072 -267
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +20 -3
- package/package.json +2 -1
- package/src/api-identity.ts +98 -0
- package/src/auth-profiles.ts +114 -0
- package/src/cli-agent.ts +28 -11
- package/src/cli.ts +528 -560
- package/src/console-login-check.ts +88 -0
- package/src/console-login-contract.ts +65 -0
- package/src/core/http.ts +156 -305
- package/src/core/pagination.ts +6 -30
- package/src/credential-storage.ts +183 -0
- package/src/dates.ts +0 -1
- package/src/docs.ts +239 -0
- package/src/errors.ts +52 -41
- package/src/index.ts +49 -14
- package/src/named-credentials.ts +74 -0
- package/src/oauth-login.ts +184 -0
- package/src/oauth-request.ts +90 -0
- package/src/oauth-session.ts +258 -0
- package/src/ops.ts +56 -17
- package/src/polling-login.ts +165 -0
- package/src/resources/account.ts +6 -3
- package/src/resources/api-keys.ts +27 -7
- package/src/resources/definition-revisions.ts +207 -0
- package/src/resources/definitions.ts +122 -0
- package/src/resources/generate.ts +29 -6
- package/src/resources/generations.ts +9 -4
- package/src/resources/projects.ts +274 -41
- package/src/resources/targets.ts +378 -0
- package/src/schemas.ts +135 -62
- package/src/types.ts +2273 -322
- package/dist/resources/spec-revisions.d.ts +0 -47
- package/dist/resources/spec-revisions.d.ts.map +0 -1
- package/dist/resources/spec-revisions.js +0 -90
- package/src/resources/spec-revisions.ts +0 -150
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
// typeship — definitions resource.
|
|
2
|
+
// Generated by typeship — https://typeship.dev — do not edit by hand.
|
|
3
|
+
import { BadRequestError, ConflictError, ForbiddenError, NotFoundError, RateLimitedError, UnauthorizedError, UnprocessableEntityError, } from "../errors.js";
|
|
4
|
+
export class DefinitionsResource {
|
|
5
|
+
_core;
|
|
6
|
+
constructor(_core) {
|
|
7
|
+
this._core = _core;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Retrieve a Definition
|
|
11
|
+
* `GET /definitions/{definition_id}`
|
|
12
|
+
*/
|
|
13
|
+
async retrieve(definitionId, options) {
|
|
14
|
+
return this._core.request({
|
|
15
|
+
method: "GET",
|
|
16
|
+
path: `/definitions/${encodeURIComponent(String(definitionId))}`,
|
|
17
|
+
security: [{ "apiKey": [] }],
|
|
18
|
+
errors: {
|
|
19
|
+
"401": UnauthorizedError,
|
|
20
|
+
"403": ForbiddenError,
|
|
21
|
+
"404": NotFoundError,
|
|
22
|
+
"429": RateLimitedError,
|
|
23
|
+
},
|
|
24
|
+
idempotent: true,
|
|
25
|
+
schemaKey: "definitions.retrieve",
|
|
26
|
+
options,
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Update and resolve a Definition
|
|
31
|
+
*
|
|
32
|
+
* Resolves the complete document graph and records a new immutable revision before saving.
|
|
33
|
+
*
|
|
34
|
+
* A `Idempotency-Key` UUID is generated per call (stable across retries) unless you pass one.
|
|
35
|
+
* `PATCH /definitions/{definition_id}`
|
|
36
|
+
*/
|
|
37
|
+
async update(definitionId, body, params, options) {
|
|
38
|
+
return this._core.request({
|
|
39
|
+
method: "PATCH",
|
|
40
|
+
path: `/definitions/${encodeURIComponent(String(definitionId))}`,
|
|
41
|
+
security: [{ "apiKey": [] }],
|
|
42
|
+
headers: {
|
|
43
|
+
"Idempotency-Key": params?.idempotencyKey === undefined ? undefined : String(params?.idempotencyKey),
|
|
44
|
+
},
|
|
45
|
+
body,
|
|
46
|
+
errors: {
|
|
47
|
+
"400": BadRequestError,
|
|
48
|
+
"401": UnauthorizedError,
|
|
49
|
+
"403": ForbiddenError,
|
|
50
|
+
"404": NotFoundError,
|
|
51
|
+
"409": ConflictError,
|
|
52
|
+
"422": UnprocessableEntityError,
|
|
53
|
+
"429": RateLimitedError,
|
|
54
|
+
},
|
|
55
|
+
idempotencyKey: "Idempotency-Key",
|
|
56
|
+
schemaKey: "definitions.update",
|
|
57
|
+
options,
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
}
|
|
@@ -1,25 +1,36 @@
|
|
|
1
1
|
import { HttpCore, type ApiResult, type RequestOptions } from "../core/http.js";
|
|
2
|
-
import { TransportError, UnexpectedApiError, ValidationError, ApiResponseError, BadRequestError, ForbiddenError, PayloadTooLargeError, RateLimitedError, UnauthorizedError, UnprocessableEntityError } from "../errors.js";
|
|
3
|
-
import type { GenerateRequest,
|
|
2
|
+
import { ResponseParseError, TransportError, UnexpectedApiError, ValidationError, ApiResponseError, BadRequestError, ConflictError, ForbiddenError, PayloadTooLargeError, RateLimitedError, UnauthorizedError, UnprocessableEntityError } from "../errors.js";
|
|
3
|
+
import type { GenerateRequest, GenerationResultRead } from "../types.js";
|
|
4
4
|
export declare class GenerateResource {
|
|
5
5
|
private readonly _core;
|
|
6
6
|
constructor(_core: HttpCore);
|
|
7
7
|
/**
|
|
8
|
-
* Generate
|
|
8
|
+
* Generate one Target from a Definition
|
|
9
9
|
*
|
|
10
10
|
* Stateless generation: nothing is stored. Returns the full generated
|
|
11
11
|
* package as files. Works without an API key: anonymous calls generate
|
|
12
12
|
* the first 25 operations, rate limited per IP address, and the
|
|
13
13
|
* response's `limits` object says what was held back and where to lift
|
|
14
|
-
* it; anonymous calls from a
|
|
14
|
+
* it; anonymous calls from a Definition URL also carry `claim.url`, a link
|
|
15
15
|
* that turns the run into a project once a person signs in. With a key, the free plan generates
|
|
16
16
|
* the first 25 operations and
|
|
17
|
-
* paid plans generate the
|
|
17
|
+
* paid plans generate the complete Definition. A present but invalid key is a
|
|
18
18
|
* 401, not a downgrade to anonymous.
|
|
19
|
+
*
|
|
20
|
+
* A `Idempotency-Key` UUID is generated per call (stable across retries) unless you pass one.
|
|
19
21
|
* `POST /generate`
|
|
20
22
|
*/
|
|
21
|
-
run(body: GenerateRequest, options?: RequestOptions): Promise<ApiResult<
|
|
23
|
+
run(body: GenerateRequest, params?: GenerateRunParams, options?: RequestOptions): Promise<ApiResult<GenerationResultRead, GenerateRunError>>;
|
|
24
|
+
}
|
|
25
|
+
export interface GenerateRunParams {
|
|
26
|
+
/**
|
|
27
|
+
* Identifies one logical write for 24 hours. The key is scoped to the authenticated account and
|
|
28
|
+
* operation; account-less generation uses a hashed network identity. Retrying the same method,
|
|
29
|
+
* path, query, and JSON body replays the original response. Reusing the key with changed intent
|
|
30
|
+
* returns 409. After expiry the key starts a new write.
|
|
31
|
+
*/
|
|
32
|
+
idempotencyKey?: string;
|
|
22
33
|
}
|
|
23
34
|
/** Every error `run` can produce, as a discriminated union. */
|
|
24
|
-
export type GenerateRunError = BadRequestError | UnauthorizedError | ForbiddenError | PayloadTooLargeError | UnprocessableEntityError | RateLimitedError | ApiResponseError | UnexpectedApiError | TransportError | ValidationError;
|
|
35
|
+
export type GenerateRunError = BadRequestError | UnauthorizedError | ForbiddenError | ConflictError | PayloadTooLargeError | UnprocessableEntityError | RateLimitedError | ApiResponseError | UnexpectedApiError | ResponseParseError | TransportError | ValidationError;
|
|
25
36
|
//# sourceMappingURL=generate.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generate.d.ts","sourceRoot":"","sources":["../../src/resources/generate.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAAE,KAAK,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAChF,OAAO,EACL,cAAc,EACd,kBAAkB,EAClB,eAAe,EACf,gBAAgB,EAChB,eAAe,EACf,cAAc,EACd,oBAAoB,EACpB,gBAAgB,EAChB,iBAAiB,EACjB,wBAAwB,EACzB,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,eAAe,
|
|
1
|
+
{"version":3,"file":"generate.d.ts","sourceRoot":"","sources":["../../src/resources/generate.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAAE,KAAK,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAChF,OAAO,EACL,kBAAkB,EAClB,cAAc,EACd,kBAAkB,EAClB,eAAe,EACf,gBAAgB,EAChB,eAAe,EACf,aAAa,EACb,cAAc,EACd,oBAAoB,EACpB,gBAAgB,EAChB,iBAAiB,EACjB,wBAAwB,EACzB,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,eAAe,EAAoB,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAE3F,qBAAa,gBAAgB;IACf,OAAO,CAAC,QAAQ,CAAC,KAAK;gBAAL,KAAK,EAAE,QAAQ;IAC5C;;;;;;;;;;;;;;;OAeG;IACG,GAAG,CACP,IAAI,EAAE,eAAe,EACrB,MAAM,CAAC,EAAE,iBAAiB,EAC1B,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,SAAS,CAAC,oBAAoB,EAAE,gBAAgB,CAAC,CAAC;CAwB9D;AAED,MAAM,WAAW,iBAAiB;IAChC;;;;;OAKG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,+DAA+D;AAC/D,MAAM,MAAM,gBAAgB,GACxB,eAAe,GACf,iBAAiB,GACjB,cAAc,GACd,aAAa,GACb,oBAAoB,GACpB,wBAAwB,GACxB,gBAAgB,GAChB,gBAAgB,GAChB,kBAAkB,GAClB,kBAAkB,GAClB,cAAc,GACd,eAAe,CAAC"}
|
|
@@ -1,39 +1,47 @@
|
|
|
1
1
|
// typeship — generate resource.
|
|
2
2
|
// Generated by typeship — https://typeship.dev — do not edit by hand.
|
|
3
|
-
import { ApiResponseError, BadRequestError, ForbiddenError, PayloadTooLargeError, RateLimitedError, UnauthorizedError, UnprocessableEntityError, } from "../errors.js";
|
|
3
|
+
import { ApiResponseError, BadRequestError, ConflictError, ForbiddenError, PayloadTooLargeError, RateLimitedError, UnauthorizedError, UnprocessableEntityError, } from "../errors.js";
|
|
4
4
|
export class GenerateResource {
|
|
5
5
|
_core;
|
|
6
6
|
constructor(_core) {
|
|
7
7
|
this._core = _core;
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* Generate
|
|
10
|
+
* Generate one Target from a Definition
|
|
11
11
|
*
|
|
12
12
|
* Stateless generation: nothing is stored. Returns the full generated
|
|
13
13
|
* package as files. Works without an API key: anonymous calls generate
|
|
14
14
|
* the first 25 operations, rate limited per IP address, and the
|
|
15
15
|
* response's `limits` object says what was held back and where to lift
|
|
16
|
-
* it; anonymous calls from a
|
|
16
|
+
* it; anonymous calls from a Definition URL also carry `claim.url`, a link
|
|
17
17
|
* that turns the run into a project once a person signs in. With a key, the free plan generates
|
|
18
18
|
* the first 25 operations and
|
|
19
|
-
* paid plans generate the
|
|
19
|
+
* paid plans generate the complete Definition. A present but invalid key is a
|
|
20
20
|
* 401, not a downgrade to anonymous.
|
|
21
|
+
*
|
|
22
|
+
* A `Idempotency-Key` UUID is generated per call (stable across retries) unless you pass one.
|
|
21
23
|
* `POST /generate`
|
|
22
24
|
*/
|
|
23
|
-
async run(body, options) {
|
|
25
|
+
async run(body, params, options) {
|
|
24
26
|
return this._core.request({
|
|
25
27
|
method: "POST",
|
|
26
28
|
path: "/generate",
|
|
29
|
+
security: [{}, { "apiKey": [] }],
|
|
30
|
+
headers: {
|
|
31
|
+
"Idempotency-Key": params?.idempotencyKey === undefined ? undefined : String(params?.idempotencyKey),
|
|
32
|
+
},
|
|
27
33
|
body,
|
|
28
34
|
errors: {
|
|
29
35
|
"400": BadRequestError,
|
|
30
36
|
"401": UnauthorizedError,
|
|
31
37
|
"403": ForbiddenError,
|
|
38
|
+
"409": ConflictError,
|
|
32
39
|
"413": PayloadTooLargeError,
|
|
33
40
|
"422": UnprocessableEntityError,
|
|
34
41
|
"429": RateLimitedError,
|
|
35
42
|
default: ApiResponseError,
|
|
36
43
|
},
|
|
44
|
+
idempotencyKey: "Idempotency-Key",
|
|
37
45
|
schemaKey: "generate.run",
|
|
38
46
|
options,
|
|
39
47
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpCore, type ApiResult, type RequestOptions } from "../core/http.js";
|
|
2
|
-
import { TransportError, UnexpectedApiError, ValidationError, BadRequestError, ForbiddenError, NotFoundError, RateLimitedError, UnauthorizedError } from "../errors.js";
|
|
3
|
-
import type {
|
|
2
|
+
import { ResponseParseError, TransportError, UnexpectedApiError, ValidationError, BadRequestError, ForbiddenError, NotFoundError, RateLimitedError, UnauthorizedError } from "../errors.js";
|
|
3
|
+
import type { GenerationId, GenerationResponseRead } from "../types.js";
|
|
4
4
|
export declare class GenerationsResource {
|
|
5
5
|
private readonly _core;
|
|
6
6
|
constructor(_core: HttpCore);
|
|
@@ -10,22 +10,22 @@ export declare class GenerationsResource {
|
|
|
10
10
|
* Includes the generated files when the generation succeeded.
|
|
11
11
|
* `GET /generations/{generation_id}`
|
|
12
12
|
*/
|
|
13
|
-
retrieve(generationId: GenerationId, options?: RequestOptions): Promise<ApiResult<
|
|
13
|
+
retrieve(generationId: GenerationId, options?: RequestOptions): Promise<ApiResult<GenerationResponseRead, GenerationsRetrieveError>>;
|
|
14
14
|
/**
|
|
15
15
|
* Fetch one file from a generation
|
|
16
16
|
*
|
|
17
|
-
* Raw file content, for generations whose
|
|
17
|
+
* Raw file content, for generations whose target was too large to inline (files_omitted true).
|
|
18
18
|
* The generation's files_index lists valid paths.
|
|
19
19
|
* `GET /generations/{generation_id}/file`
|
|
20
20
|
*/
|
|
21
21
|
retrieveFile(generationId: GenerationId, params: GenerationsRetrieveFileParams, options?: RequestOptions): Promise<ApiResult<string, GenerationsRetrieveFileError>>;
|
|
22
22
|
}
|
|
23
23
|
/** Every error `retrieve` can produce, as a discriminated union. */
|
|
24
|
-
export type GenerationsRetrieveError = UnauthorizedError | ForbiddenError | NotFoundError | RateLimitedError | UnexpectedApiError | TransportError | ValidationError;
|
|
24
|
+
export type GenerationsRetrieveError = UnauthorizedError | ForbiddenError | NotFoundError | RateLimitedError | UnexpectedApiError | ResponseParseError | TransportError | ValidationError;
|
|
25
25
|
export interface GenerationsRetrieveFileParams {
|
|
26
26
|
/** Repo-relative path inside the generated package. */
|
|
27
27
|
path: string;
|
|
28
28
|
}
|
|
29
29
|
/** Every error `retrieveFile` can produce, as a discriminated union. */
|
|
30
|
-
export type GenerationsRetrieveFileError = BadRequestError | UnauthorizedError | ForbiddenError | NotFoundError | RateLimitedError | UnexpectedApiError | TransportError | ValidationError;
|
|
30
|
+
export type GenerationsRetrieveFileError = BadRequestError | UnauthorizedError | ForbiddenError | NotFoundError | RateLimitedError | UnexpectedApiError | ResponseParseError | TransportError | ValidationError;
|
|
31
31
|
//# sourceMappingURL=generations.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generations.d.ts","sourceRoot":"","sources":["../../src/resources/generations.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAAE,KAAK,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAChF,OAAO,EACL,cAAc,EACd,kBAAkB,EAClB,eAAe,EACf,eAAe,EACf,cAAc,EACd,aAAa,EACb,gBAAgB,EAChB,iBAAiB,EAClB,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"generations.d.ts","sourceRoot":"","sources":["../../src/resources/generations.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAAE,KAAK,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAChF,OAAO,EACL,kBAAkB,EAClB,cAAc,EACd,kBAAkB,EAClB,eAAe,EACf,eAAe,EACf,cAAc,EACd,aAAa,EACb,gBAAgB,EAChB,iBAAiB,EAClB,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,YAAY,EAAsB,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAE5F,qBAAa,mBAAmB;IAClB,OAAO,CAAC,QAAQ,CAAC,KAAK;gBAAL,KAAK,EAAE,QAAQ;IAC5C;;;;;OAKG;IACG,QAAQ,CACZ,YAAY,EAAE,YAAY,EAC1B,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,SAAS,CAAC,sBAAsB,EAAE,wBAAwB,CAAC,CAAC;IAiBvE;;;;;;OAMG;IACG,YAAY,CAChB,YAAY,EAAE,YAAY,EAC1B,MAAM,EAAE,6BAA6B,EACrC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,SAAS,CAAC,MAAM,EAAE,4BAA4B,CAAC,CAAC;CAoB5D;AAED,oEAAoE;AACpE,MAAM,MAAM,wBAAwB,GAChC,iBAAiB,GACjB,cAAc,GACd,aAAa,GACb,gBAAgB,GAChB,kBAAkB,GAClB,kBAAkB,GAClB,cAAc,GACd,eAAe,CAAC;AAEpB,MAAM,WAAW,6BAA6B;IAC5C,uDAAuD;IACvD,IAAI,EAAE,MAAM,CAAC;CACd;AAED,wEAAwE;AACxE,MAAM,MAAM,4BAA4B,GACpC,eAAe,GACf,iBAAiB,GACjB,cAAc,GACd,aAAa,GACb,gBAAgB,GAChB,kBAAkB,GAClB,kBAAkB,GAClB,cAAc,GACd,eAAe,CAAC"}
|
|
@@ -16,6 +16,7 @@ export class GenerationsResource {
|
|
|
16
16
|
return this._core.request({
|
|
17
17
|
method: "GET",
|
|
18
18
|
path: `/generations/${encodeURIComponent(String(generationId))}`,
|
|
19
|
+
security: [{ "apiKey": [] }],
|
|
19
20
|
errors: {
|
|
20
21
|
"401": UnauthorizedError,
|
|
21
22
|
"403": ForbiddenError,
|
|
@@ -30,7 +31,7 @@ export class GenerationsResource {
|
|
|
30
31
|
/**
|
|
31
32
|
* Fetch one file from a generation
|
|
32
33
|
*
|
|
33
|
-
* Raw file content, for generations whose
|
|
34
|
+
* Raw file content, for generations whose target was too large to inline (files_omitted true).
|
|
34
35
|
* The generation's files_index lists valid paths.
|
|
35
36
|
* `GET /generations/{generation_id}/file`
|
|
36
37
|
*/
|
|
@@ -38,6 +39,7 @@ export class GenerationsResource {
|
|
|
38
39
|
return this._core.request({
|
|
39
40
|
method: "GET",
|
|
40
41
|
path: `/generations/${encodeURIComponent(String(generationId))}/file`,
|
|
42
|
+
security: [{ "apiKey": [] }],
|
|
41
43
|
query: {
|
|
42
44
|
path: params.path,
|
|
43
45
|
},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HttpCore, type ApiResult, type RequestOptions } from "../core/http.js";
|
|
2
2
|
import { PagePromise } from "../core/pagination.js";
|
|
3
|
-
import { TransportError, UnexpectedApiError, ValidationError, BadRequestError, ConflictError, ForbiddenError, InternalServerError, NotFoundError, PaymentRequiredError, RateLimitedError, UnauthorizedError, UnprocessableEntityError } from "../errors.js";
|
|
4
|
-
import type { CreateProjectRequest,
|
|
3
|
+
import { ResponseParseError, TransportError, UnexpectedApiError, ValidationError, BadGatewayError, BadRequestError, ConflictError, ForbiddenError, InternalServerError, NotFoundError, PaymentRequiredError, RateLimitedError, UnauthorizedError, UnprocessableEntityError } from "../errors.js";
|
|
4
|
+
import type { CreateProjectRequest, DeletedProjectRead, DiagnosticRemediationRead, DiagnosticRemediationRequest, DiagnosticReportRead, GenerationBatchRead, GenerationSummaryRead, ProjectId, ProjectRead, ProjectSummaryRead, RepositoryIntegrationHealthRead, TargetId, UpdateProjectRequest } from "../types.js";
|
|
5
5
|
export declare class ProjectsResource {
|
|
6
6
|
private readonly _core;
|
|
7
7
|
constructor(_core: HttpCore);
|
|
@@ -11,100 +11,176 @@ export declare class ProjectsResource {
|
|
|
11
11
|
* Auto-paginates: `for await (const item of …)` walks every page.
|
|
12
12
|
* `GET /projects`
|
|
13
13
|
*/
|
|
14
|
-
list(params?: ProjectsListParams, options?: RequestOptions): PagePromise<
|
|
14
|
+
list(params?: ProjectsListParams, options?: RequestOptions): PagePromise<ProjectSummaryRead, ProjectsListError>;
|
|
15
15
|
/**
|
|
16
16
|
* Create a project
|
|
17
17
|
*
|
|
18
18
|
* Stores a URL- or GitHub-sourced project. Free includes one stored project, every selected
|
|
19
|
-
*
|
|
19
|
+
* target, and the first 25 operations, while keeping manual and automatic regeneration, history,
|
|
20
20
|
* destination pull requests, and preview checks. Stateless POST /generate does not consume this
|
|
21
|
-
* slot. Pro adds projects and the
|
|
21
|
+
* slot. Pro adds projects and generates every operation in the Definition.
|
|
22
22
|
*
|
|
23
23
|
* A `Idempotency-Key` UUID is generated per call (stable across retries) unless you pass one.
|
|
24
24
|
* `POST /projects`
|
|
25
25
|
*/
|
|
26
|
-
create(body: CreateProjectRequest, params?: ProjectsCreateParams, options?: RequestOptions): Promise<ApiResult<
|
|
26
|
+
create(body: CreateProjectRequest, params?: ProjectsCreateParams, options?: RequestOptions): Promise<ApiResult<ProjectRead, ProjectsCreateError>>;
|
|
27
27
|
/**
|
|
28
28
|
* Retrieve a project
|
|
29
|
+
*
|
|
30
|
+
* Returns Project-owned fields only. List Targets separately for Target and Delivery data.
|
|
29
31
|
* `GET /projects/{project_id}`
|
|
30
32
|
*/
|
|
31
|
-
retrieve(projectId: ProjectId, options?: RequestOptions): Promise<ApiResult<
|
|
33
|
+
retrieve(projectId: ProjectId, options?: RequestOptions): Promise<ApiResult<ProjectRead, ProjectsRetrieveError>>;
|
|
32
34
|
/**
|
|
33
35
|
* Delete a project
|
|
34
36
|
* `DELETE /projects/{project_id}`
|
|
35
37
|
*/
|
|
36
|
-
delete(projectId: ProjectId, options?: RequestOptions): Promise<ApiResult<
|
|
38
|
+
delete(projectId: ProjectId, options?: RequestOptions): Promise<ApiResult<DeletedProjectRead, ProjectsDeleteError>>;
|
|
37
39
|
/**
|
|
38
40
|
* Update a project
|
|
39
41
|
* `PATCH /projects/{project_id}`
|
|
40
42
|
*/
|
|
41
|
-
update(projectId: ProjectId, body: UpdateProjectRequest, options?: RequestOptions): Promise<ApiResult<
|
|
43
|
+
update(projectId: ProjectId, body: UpdateProjectRequest, options?: RequestOptions): Promise<ApiResult<ProjectRead, ProjectsUpdateError>>;
|
|
44
|
+
/**
|
|
45
|
+
* Analyze a project's latest Definition Revision
|
|
46
|
+
*
|
|
47
|
+
* Runs deterministic OpenAPI or GraphQL authorship checks against the latest observed immutable
|
|
48
|
+
* Definition Revision after applying the Definition's existing patches. Diagnostics group every
|
|
49
|
+
* affected location under a stable rule. Exact patches are included only when Typeship can derive
|
|
50
|
+
* the change without inventing API behavior.
|
|
51
|
+
* `GET /projects/{project_id}/diagnostics`
|
|
52
|
+
*/
|
|
53
|
+
retrieveDiagnostics(projectId: ProjectId, options?: RequestOptions): Promise<ApiResult<DiagnosticReportRead, ProjectsRetrieveDiagnosticsError>>;
|
|
54
|
+
/**
|
|
55
|
+
* Refresh a project's Diagnostics from its configured source
|
|
56
|
+
*
|
|
57
|
+
* Fetches the complete configured source, records a new immutable revision only when content
|
|
58
|
+
* changed, and returns its Diagnostics. This does not generate targets or consume a metered
|
|
59
|
+
* generation.
|
|
60
|
+
*
|
|
61
|
+
* A `Idempotency-Key` UUID is generated per call (stable across retries) unless you pass one.
|
|
62
|
+
* `POST /projects/{project_id}/diagnostics`
|
|
63
|
+
*/
|
|
64
|
+
refreshDiagnostics(projectId: ProjectId, params?: ProjectsRefreshDiagnosticsParams, options?: RequestOptions): Promise<ApiResult<DiagnosticReportRead, ProjectsRefreshDiagnosticsError>>;
|
|
65
|
+
/**
|
|
66
|
+
* Apply exact, reviewed diagnostic remediations
|
|
67
|
+
*
|
|
68
|
+
* Applies only deterministic patches. Repository sources receive an updateable source pull
|
|
69
|
+
* request; URL sources receive project overlays. Diagnostics that require API-owner intent return
|
|
70
|
+
* 422 and include an authoring_brief in the Diagnostic instead.
|
|
71
|
+
*
|
|
72
|
+
* A `Idempotency-Key` UUID is generated per call (stable across retries) unless you pass one.
|
|
73
|
+
* `POST /projects/{project_id}/diagnostics/remediations`
|
|
74
|
+
*/
|
|
75
|
+
remediateDiagnostics(projectId: ProjectId, body: DiagnosticRemediationRequest, params?: ProjectsRemediateDiagnosticsParams, options?: RequestOptions): Promise<ApiResult<DiagnosticRemediationRead, ProjectsRemediateDiagnosticsError>>;
|
|
42
76
|
/**
|
|
43
|
-
* Diagnose a project's
|
|
77
|
+
* Diagnose a project's repository integrations
|
|
44
78
|
*
|
|
45
|
-
* Returns machine-actionable source and destination access,
|
|
46
|
-
* setup, required status names, and the latest durable webhook
|
|
47
|
-
* same result.
|
|
48
|
-
* `GET /projects/{project_id}/
|
|
79
|
+
* Returns provider-neutral, machine-actionable source and destination access, Definition
|
|
80
|
+
* readability, source-approval label setup, required status names, and the latest durable webhook
|
|
81
|
+
* delivery. The Console renders this same result.
|
|
82
|
+
* `GET /projects/{project_id}/integration-health`
|
|
49
83
|
*/
|
|
50
|
-
|
|
84
|
+
retrieveIntegrationHealth(projectId: ProjectId, options?: RequestOptions): Promise<ApiResult<RepositoryIntegrationHealthRead, ProjectsRetrieveIntegrationHealthError>>;
|
|
51
85
|
/**
|
|
52
86
|
* List a project's generations
|
|
53
87
|
*
|
|
54
88
|
* Auto-paginates: `for await (const item of …)` walks every page.
|
|
55
89
|
* `GET /projects/{project_id}/generations`
|
|
56
90
|
*/
|
|
57
|
-
listGenerations(projectId: ProjectId, params?: ProjectsListGenerationsParams, options?: RequestOptions): PagePromise<
|
|
91
|
+
listGenerations(projectId: ProjectId, params?: ProjectsListGenerationsParams, options?: RequestOptions): PagePromise<GenerationSummaryRead, ProjectsListGenerationsError>;
|
|
58
92
|
/**
|
|
59
|
-
* Generate
|
|
93
|
+
* Generate targets and open pull requests
|
|
60
94
|
*
|
|
61
|
-
* Resolves the project's URL or
|
|
95
|
+
* Resolves the project's URL or GitHub source, generates every
|
|
62
96
|
* configured delivery package, stores each result in the project's history,
|
|
63
97
|
* and attempts to open a pull request in every configured destination.
|
|
64
98
|
* When the complete generated tree already matches a destination, no
|
|
65
99
|
* commit, branch, or pull request is created and that generation reports
|
|
66
100
|
* `pr_status: no_changes`. This is the same pipeline automatic
|
|
67
101
|
* regeneration runs after a source change.
|
|
102
|
+
*
|
|
103
|
+
* A `Idempotency-Key` UUID is generated per call (stable across retries) unless you pass one.
|
|
68
104
|
* `POST /projects/{project_id}/generations`
|
|
69
105
|
*/
|
|
70
|
-
generate(projectId: ProjectId, options?: RequestOptions): Promise<ApiResult<
|
|
106
|
+
generate(projectId: ProjectId, params?: ProjectsGenerateParams, options?: RequestOptions): Promise<ApiResult<GenerationBatchRead, ProjectsGenerateError>>;
|
|
71
107
|
}
|
|
72
108
|
export interface ProjectsListParams {
|
|
73
109
|
/** Maximum number of resources to return. */
|
|
74
110
|
limit?: number;
|
|
75
|
-
/**
|
|
111
|
+
/**
|
|
112
|
+
* Opaque cursor from the preceding page's next_cursor. Valid only for the same account,
|
|
113
|
+
* operation, filters, and ordering that issued it.
|
|
114
|
+
*/
|
|
76
115
|
cursor?: string;
|
|
77
116
|
}
|
|
78
117
|
/** Every error `list` can produce, as a discriminated union. */
|
|
79
|
-
export type ProjectsListError = BadRequestError | UnauthorizedError | ForbiddenError | RateLimitedError | UnexpectedApiError | TransportError | ValidationError;
|
|
118
|
+
export type ProjectsListError = BadRequestError | UnauthorizedError | ForbiddenError | RateLimitedError | UnexpectedApiError | ResponseParseError | TransportError | ValidationError;
|
|
80
119
|
export interface ProjectsCreateParams {
|
|
81
120
|
/**
|
|
82
|
-
*
|
|
83
|
-
*
|
|
84
|
-
*
|
|
121
|
+
* Identifies one logical write for 24 hours. The key is scoped to the authenticated account and
|
|
122
|
+
* operation; account-less generation uses a hashed network identity. Retrying the same method,
|
|
123
|
+
* path, query, and JSON body replays the original response. Reusing the key with changed intent
|
|
124
|
+
* returns 409. After expiry the key starts a new write.
|
|
85
125
|
*/
|
|
86
126
|
idempotencyKey?: string;
|
|
87
127
|
}
|
|
88
128
|
/** Every error `create` can produce, as a discriminated union. */
|
|
89
|
-
export type ProjectsCreateError = BadRequestError | UnauthorizedError | PaymentRequiredError | ForbiddenError | ConflictError | RateLimitedError | InternalServerError | UnexpectedApiError | TransportError | ValidationError;
|
|
129
|
+
export type ProjectsCreateError = BadRequestError | UnauthorizedError | PaymentRequiredError | ForbiddenError | ConflictError | UnprocessableEntityError | RateLimitedError | InternalServerError | UnexpectedApiError | ResponseParseError | TransportError | ValidationError;
|
|
90
130
|
/** Every error `retrieve` can produce, as a discriminated union. */
|
|
91
|
-
export type ProjectsRetrieveError = UnauthorizedError | ForbiddenError | NotFoundError | RateLimitedError | UnexpectedApiError | TransportError | ValidationError;
|
|
131
|
+
export type ProjectsRetrieveError = UnauthorizedError | ForbiddenError | NotFoundError | RateLimitedError | UnexpectedApiError | ResponseParseError | TransportError | ValidationError;
|
|
92
132
|
/** Every error `delete` can produce, as a discriminated union. */
|
|
93
|
-
export type ProjectsDeleteError = UnauthorizedError | ForbiddenError | NotFoundError | RateLimitedError | UnexpectedApiError | TransportError | ValidationError;
|
|
133
|
+
export type ProjectsDeleteError = UnauthorizedError | ForbiddenError | NotFoundError | RateLimitedError | UnexpectedApiError | ResponseParseError | TransportError | ValidationError;
|
|
94
134
|
/** Every error `update` can produce, as a discriminated union. */
|
|
95
|
-
export type ProjectsUpdateError = BadRequestError | UnauthorizedError | PaymentRequiredError | ForbiddenError | NotFoundError | RateLimitedError | UnexpectedApiError | TransportError | ValidationError;
|
|
96
|
-
/** Every error `
|
|
97
|
-
export type
|
|
135
|
+
export type ProjectsUpdateError = BadRequestError | UnauthorizedError | PaymentRequiredError | ForbiddenError | NotFoundError | ConflictError | UnprocessableEntityError | RateLimitedError | BadGatewayError | UnexpectedApiError | ResponseParseError | TransportError | ValidationError;
|
|
136
|
+
/** Every error `retrieveDiagnostics` can produce, as a discriminated union. */
|
|
137
|
+
export type ProjectsRetrieveDiagnosticsError = UnauthorizedError | ForbiddenError | NotFoundError | RateLimitedError | UnexpectedApiError | ResponseParseError | TransportError | ValidationError;
|
|
138
|
+
export interface ProjectsRefreshDiagnosticsParams {
|
|
139
|
+
/**
|
|
140
|
+
* Identifies one logical write for 24 hours. The key is scoped to the authenticated account and
|
|
141
|
+
* operation; account-less generation uses a hashed network identity. Retrying the same method,
|
|
142
|
+
* path, query, and JSON body replays the original response. Reusing the key with changed intent
|
|
143
|
+
* returns 409. After expiry the key starts a new write.
|
|
144
|
+
*/
|
|
145
|
+
idempotencyKey?: string;
|
|
146
|
+
}
|
|
147
|
+
/** Every error `refreshDiagnostics` can produce, as a discriminated union. */
|
|
148
|
+
export type ProjectsRefreshDiagnosticsError = UnauthorizedError | ForbiddenError | NotFoundError | ConflictError | UnprocessableEntityError | RateLimitedError | UnexpectedApiError | ResponseParseError | TransportError | ValidationError;
|
|
149
|
+
export interface ProjectsRemediateDiagnosticsParams {
|
|
150
|
+
/**
|
|
151
|
+
* Identifies one logical write for 24 hours. The key is scoped to the authenticated account and
|
|
152
|
+
* operation; account-less generation uses a hashed network identity. Retrying the same method,
|
|
153
|
+
* path, query, and JSON body replays the original response. Reusing the key with changed intent
|
|
154
|
+
* returns 409. After expiry the key starts a new write.
|
|
155
|
+
*/
|
|
156
|
+
idempotencyKey?: string;
|
|
157
|
+
}
|
|
158
|
+
/** Every error `remediateDiagnostics` can produce, as a discriminated union. */
|
|
159
|
+
export type ProjectsRemediateDiagnosticsError = BadRequestError | UnauthorizedError | ForbiddenError | NotFoundError | ConflictError | UnprocessableEntityError | RateLimitedError | UnexpectedApiError | ResponseParseError | TransportError | ValidationError;
|
|
160
|
+
/** Every error `retrieveIntegrationHealth` can produce, as a discriminated union. */
|
|
161
|
+
export type ProjectsRetrieveIntegrationHealthError = UnauthorizedError | ForbiddenError | NotFoundError | RateLimitedError | UnexpectedApiError | ResponseParseError | TransportError | ValidationError;
|
|
98
162
|
export interface ProjectsListGenerationsParams {
|
|
99
163
|
/** Maximum number of resources to return. */
|
|
100
164
|
limit?: number;
|
|
101
|
-
/**
|
|
165
|
+
/**
|
|
166
|
+
* Opaque cursor from the preceding page's next_cursor. Valid only for the same account,
|
|
167
|
+
* operation, filters, and ordering that issued it.
|
|
168
|
+
*/
|
|
102
169
|
cursor?: string;
|
|
103
|
-
/** Only generations for this
|
|
104
|
-
|
|
170
|
+
/** Only generations for this persisted Target. */
|
|
171
|
+
targetId?: TargetId;
|
|
105
172
|
}
|
|
106
173
|
/** Every error `listGenerations` can produce, as a discriminated union. */
|
|
107
|
-
export type ProjectsListGenerationsError = BadRequestError | UnauthorizedError | ForbiddenError | NotFoundError | RateLimitedError | UnexpectedApiError | TransportError | ValidationError;
|
|
174
|
+
export type ProjectsListGenerationsError = BadRequestError | UnauthorizedError | ForbiddenError | NotFoundError | RateLimitedError | UnexpectedApiError | ResponseParseError | TransportError | ValidationError;
|
|
175
|
+
export interface ProjectsGenerateParams {
|
|
176
|
+
/**
|
|
177
|
+
* Identifies one logical write for 24 hours. The key is scoped to the authenticated account and
|
|
178
|
+
* operation; account-less generation uses a hashed network identity. Retrying the same method,
|
|
179
|
+
* path, query, and JSON body replays the original response. Reusing the key with changed intent
|
|
180
|
+
* returns 409. After expiry the key starts a new write.
|
|
181
|
+
*/
|
|
182
|
+
idempotencyKey?: string;
|
|
183
|
+
}
|
|
108
184
|
/** Every error `generate` can produce, as a discriminated union. */
|
|
109
|
-
export type ProjectsGenerateError = UnauthorizedError | PaymentRequiredError | ForbiddenError | NotFoundError | UnprocessableEntityError | RateLimitedError | InternalServerError | UnexpectedApiError | TransportError | ValidationError;
|
|
185
|
+
export type ProjectsGenerateError = UnauthorizedError | PaymentRequiredError | ForbiddenError | NotFoundError | ConflictError | UnprocessableEntityError | RateLimitedError | InternalServerError | UnexpectedApiError | ResponseParseError | TransportError | ValidationError;
|
|
110
186
|
//# sourceMappingURL=projects.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"projects.d.ts","sourceRoot":"","sources":["../../src/resources/projects.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAAE,KAAK,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAChF,OAAO,EAAY,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,EACL,cAAc,EACd,kBAAkB,EAClB,eAAe,EACf,eAAe,EACf,aAAa,EACb,cAAc,EACd,mBAAmB,EACnB,aAAa,EACb,oBAAoB,EACpB,gBAAgB,EAChB,iBAAiB,EACjB,wBAAwB,EACzB,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EACV,oBAAoB,
|
|
1
|
+
{"version":3,"file":"projects.d.ts","sourceRoot":"","sources":["../../src/resources/projects.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAAE,KAAK,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAChF,OAAO,EAAY,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,EACL,kBAAkB,EAClB,cAAc,EACd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