@typeship-ax/mcp 0.21.0 → 0.22.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/AGENTS.md +15 -11
- package/README.md +22 -53
- package/api.json +9998 -10118
- package/api.md +8983 -9120
- package/dist/arguments.d.ts +47 -0
- package/dist/arguments.d.ts.map +1 -0
- package/dist/arguments.js +254 -0
- package/dist/core/http.d.ts +162 -19
- package/dist/core/http.d.ts.map +1 -1
- package/dist/core/http.js +381 -48
- package/dist/core/pagination.d.ts +42 -6
- package/dist/core/pagination.d.ts.map +1 -1
- package/dist/core/pagination.js +111 -17
- package/dist/credential-storage.d.ts +10 -3
- package/dist/credential-storage.d.ts.map +1 -1
- package/dist/credential-storage.js +15 -6
- package/dist/dates.d.ts +1 -1
- package/dist/dates.js +1 -1
- package/dist/errors.d.ts +20 -84
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +20 -108
- package/dist/fields.d.ts +29 -0
- package/dist/fields.d.ts.map +1 -0
- package/dist/fields.js +101 -0
- package/dist/index.d.ts +28 -18
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +35 -25
- package/dist/mcp-authorization.d.ts.map +1 -1
- package/dist/mcp-authorization.js +34 -10
- package/dist/mcp-protocol.d.ts +87 -44
- package/dist/mcp-protocol.d.ts.map +1 -1
- package/dist/mcp-protocol.js +552 -478
- package/dist/mcp.d.ts.map +1 -1
- package/dist/mcp.js +127 -28
- package/dist/named-credentials.d.ts +19 -0
- package/dist/named-credentials.d.ts.map +1 -1
- package/dist/named-credentials.js +81 -1
- package/dist/oauth-request.d.ts +7 -1
- package/dist/oauth-request.d.ts.map +1 -1
- package/dist/oauth-request.js +26 -4
- package/dist/oauth-session.d.ts +13 -1
- package/dist/oauth-session.d.ts.map +1 -1
- package/dist/oauth-session.js +34 -18
- package/dist/ops.d.ts +53 -5
- package/dist/ops.d.ts.map +1 -1
- package/dist/ops.js +49 -40
- package/dist/resources/api-keys.d.ts +10 -7
- package/dist/resources/api-keys.d.ts.map +1 -1
- package/dist/resources/api-keys.js +10 -31
- package/dist/resources/deliveries.d.ts +88 -4
- package/dist/resources/deliveries.d.ts.map +1 -1
- package/dist/resources/deliveries.js +95 -18
- package/dist/resources/drafts.d.ts +15 -15
- package/dist/resources/drafts.d.ts.map +1 -1
- package/dist/resources/drafts.js +11 -64
- package/dist/resources/files.d.ts +4 -4
- package/dist/resources/files.d.ts.map +1 -1
- package/dist/resources/files.js +3 -12
- package/dist/resources/generations.d.ts +14 -14
- package/dist/resources/generations.d.ts.map +1 -1
- package/dist/resources/generations.js +21 -45
- package/dist/resources/organization.d.ts +4 -4
- package/dist/resources/organization.d.ts.map +1 -1
- package/dist/resources/organization.js +3 -10
- package/dist/resources/{generate.d.ts → packages.d.ts} +16 -16
- package/dist/resources/packages.d.ts.map +1 -0
- package/dist/resources/{generate.js → packages.js} +13 -29
- package/dist/resources/projects.d.ts +50 -50
- package/dist/resources/projects.d.ts.map +1 -1
- package/dist/resources/projects.js +60 -116
- package/dist/resources/releases.d.ts +21 -16
- package/dist/resources/releases.d.ts.map +1 -1
- package/dist/resources/releases.js +18 -39
- package/dist/resources/spec-revisions.d.ts +15 -6
- package/dist/resources/spec-revisions.d.ts.map +1 -1
- package/dist/resources/spec-revisions.js +6 -28
- package/dist/resources/specs.d.ts +7 -7
- package/dist/resources/specs.d.ts.map +1 -1
- package/dist/resources/specs.js +6 -34
- package/dist/resources/targets.d.ts +48 -48
- package/dist/resources/targets.d.ts.map +1 -1
- package/dist/resources/targets.js +58 -114
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +78 -76
- package/dist/search.d.ts +54 -0
- package/dist/search.d.ts.map +1 -0
- package/dist/search.js +421 -0
- package/dist/types.d.ts +499 -339
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +18 -18
- package/dist/worker.js +2 -2
- package/package.json +5 -2
- package/server.json +5 -5
- package/src/arguments.ts +242 -0
- package/src/core/http.ts +457 -58
- package/src/core/pagination.ts +129 -18
- package/src/credential-storage.ts +16 -6
- package/src/dates.ts +1 -1
- package/src/errors.ts +46 -115
- package/src/fields.ts +91 -0
- package/src/index.ts +45 -28
- package/src/mcp-authorization.ts +29 -9
- package/src/mcp-protocol.ts +580 -428
- package/src/mcp.ts +113 -26
- package/src/named-credentials.ts +66 -1
- package/src/oauth-request.ts +32 -6
- package/src/oauth-session.ts +37 -19
- package/src/ops.ts +82 -44
- package/src/resources/api-keys.ts +34 -48
- package/src/resources/deliveries.ts +211 -30
- package/src/resources/drafts.ts +60 -107
- package/src/resources/files.ts +19 -20
- package/src/resources/generations.ts +57 -75
- package/src/resources/organization.ts +11 -16
- package/src/resources/{generate.ts → packages.ts} +43 -51
- package/src/resources/projects.ts +145 -200
- package/src/resources/releases.ts +48 -65
- package/src/resources/spec-revisions.ts +38 -47
- package/src/resources/specs.ts +39 -59
- package/src/resources/targets.ts +143 -193
- package/src/schemas.ts +78 -76
- package/src/search.ts +434 -0
- package/src/types.ts +538 -357
- package/src/worker.ts +2 -2
- package/dist/resources/generate.d.ts.map +0 -1
- package/dist/resources/publications.d.ts +0 -47
- package/dist/resources/publications.d.ts.map +0 -1
- package/dist/resources/publications.js +0 -70
- package/src/resources/publications.ts +0 -140
package/src/worker.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
//
|
|
2
|
-
// Generated by
|
|
1
|
+
// Typeship — host this MCP server on Cloudflare.
|
|
2
|
+
// Generated by Typeship — https://typeship.dev
|
|
3
3
|
// Before deployment, create an application-owned Worker entry using
|
|
4
4
|
// createMcpHandler from this package with credentialsFor for each verified
|
|
5
5
|
// MCP identity. Set wrangler.toml main to that entry. The generated default
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"generate.d.ts","sourceRoot":"","sources":["../../src/resources/generate.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAAE,KAAK,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAChE,OAAO,EACL,kBAAkB,EAClB,cAAc,EACd,kBAAkB,EAClB,eAAe,EACf,gBAAgB,EAChB,eAAe,EACf,aAAa,EACb,cAAc,EACd,mBAAmB,EACnB,aAAa,EACb,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;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACG,GAAG,CACP,IAAI,EAAE,eAAe,EACrB,MAAM,CAAC,EAAE,iBAAiB,EAC1B,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,oBAAoB,CAAC;IA0BhC;;;;;;;;;;;;OAYG;IACG,eAAe,CAAC,MAAM,EAAE,6BAA6B,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;CAmBtG;AAED,MAAM,WAAW,iBAAiB;IAChC;;;;;OAKG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,oCAAoC;AACpC,MAAM,MAAM,gBAAgB,GACxB,eAAe,GACf,iBAAiB,GACjB,cAAc,GACd,aAAa,GACb,oBAAoB,GACpB,wBAAwB,GACxB,gBAAgB,GAChB,mBAAmB,GACnB,gBAAgB,GAChB,kBAAkB,GAClB,kBAAkB,GAClB,cAAc,GACd,eAAe,CAAC;AAEpB,MAAM,WAAW,6BAA6B;IAC5C,yEAAyE;IACzE,KAAK,EAAE,MAAM,CAAC;CACf;AAED,gDAAgD;AAChD,MAAM,MAAM,4BAA4B,GACpC,eAAe,GACf,aAAa,GACb,gBAAgB,GAChB,mBAAmB,GACnB,kBAAkB,GAClB,kBAAkB,GAClB,cAAc,GACd,eAAe,CAAC"}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { HttpCore, type RequestOptions } from "../core/http.js";
|
|
2
|
-
import { PagePromise } from "../core/pagination.js";
|
|
3
|
-
import { ResponseParseError, TransportError, UnexpectedApiError, ValidationError, BadRequestError, ForbiddenError, InternalServerError, NotFoundError, RateLimitedError, UnauthorizedError } from "../errors.js";
|
|
4
|
-
import type { PublicationId, PublicationRead, PublicationResponseRead, ReleaseId } from "../types.js";
|
|
5
|
-
export declare class PublicationsResource {
|
|
6
|
-
private readonly _core;
|
|
7
|
-
constructor(_core: HttpCore);
|
|
8
|
-
/**
|
|
9
|
-
* List publications
|
|
10
|
-
*
|
|
11
|
-
* Auto-paginates: `for await (const item of …)` walks every page.
|
|
12
|
-
* `GET /publications`
|
|
13
|
-
*/
|
|
14
|
-
list(params?: PublicationsListParams, options?: RequestOptions): PagePromise<PublicationRead, PublicationsListError>;
|
|
15
|
-
/**
|
|
16
|
-
* Get publishing status
|
|
17
|
-
*
|
|
18
|
-
* Returns the registry publishing status for a release. A status in another organization returns
|
|
19
|
-
* 404 resource_not_found.
|
|
20
|
-
* `GET /publications/{publication_id}`
|
|
21
|
-
*/
|
|
22
|
-
get(publicationId: PublicationId, options?: RequestOptions): Promise<PublicationResponseRead>;
|
|
23
|
-
}
|
|
24
|
-
export interface PublicationsListParams {
|
|
25
|
-
/**
|
|
26
|
-
* Maximum number of resources to return. Omit for 20; otherwise supply base-10 digits
|
|
27
|
-
* representing an integer from 1 to 100. Empty, malformed, or out-of-range values return 400
|
|
28
|
-
* input_invalid. List query parameters must appear only once; repeated or unrecognized parameters
|
|
29
|
-
* return 400 query_param_invalid.
|
|
30
|
-
*/
|
|
31
|
-
limit?: number;
|
|
32
|
-
/**
|
|
33
|
-
* Opaque cursor from the preceding page's next_cursor. Valid only for the same organization,
|
|
34
|
-
* operation, filters, and ordering that issued it. Omit to start at the first page. Empty or
|
|
35
|
-
* malformed cursors, and cursors issued for different filters, return 400 cursor_invalid; start
|
|
36
|
-
* again from the first page. Repeated cursors return 400 query_param_invalid. The page limit may
|
|
37
|
-
* change between requests.
|
|
38
|
-
*/
|
|
39
|
-
cursor?: string;
|
|
40
|
-
/** Only publications of this release. */
|
|
41
|
-
releaseId?: ReleaseId;
|
|
42
|
-
}
|
|
43
|
-
/** Typed errors `list` can throw. */
|
|
44
|
-
export type PublicationsListError = BadRequestError | UnauthorizedError | ForbiddenError | NotFoundError | RateLimitedError | InternalServerError | UnexpectedApiError | ResponseParseError | TransportError | ValidationError;
|
|
45
|
-
/** Typed errors `get` can throw. */
|
|
46
|
-
export type PublicationsGetError = UnauthorizedError | ForbiddenError | NotFoundError | RateLimitedError | InternalServerError | UnexpectedApiError | ResponseParseError | TransportError | ValidationError;
|
|
47
|
-
//# sourceMappingURL=publications.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"publications.d.ts","sourceRoot":"","sources":["../../src/resources/publications.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAAE,KAAK,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAChE,OAAO,EAAY,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,EACL,kBAAkB,EAClB,cAAc,EACd,kBAAkB,EAClB,eAAe,EACf,eAAe,EACf,cAAc,EACd,mBAAmB,EACnB,aAAa,EACb,gBAAgB,EAChB,iBAAiB,EAClB,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EAEV,aAAa,EAGb,eAAe,EAEf,uBAAuB,EACvB,SAAS,EACV,MAAM,aAAa,CAAC;AAErB,qBAAa,oBAAoB;IACnB,OAAO,CAAC,QAAQ,CAAC,KAAK;gBAAL,KAAK,EAAE,QAAQ;IAC5C;;;;;OAKG;IACH,IAAI,CACF,MAAM,CAAC,EAAE,sBAAsB,EAC/B,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,eAAe,EAAE,qBAAqB,CAAC;IA+BtD;;;;;;OAMG;IACG,GAAG,CAAC,aAAa,EAAE,aAAa,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,uBAAuB,CAAC;CAiBpG;AAED,MAAM,WAAW,sBAAsB;IACrC;;;;;OAKG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,yCAAyC;IACzC,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB;AAED,qCAAqC;AACrC,MAAM,MAAM,qBAAqB,GAC7B,eAAe,GACf,iBAAiB,GACjB,cAAc,GACd,aAAa,GACb,gBAAgB,GAChB,mBAAmB,GACnB,kBAAkB,GAClB,kBAAkB,GAClB,cAAc,GACd,eAAe,CAAC;AAEpB,oCAAoC;AACpC,MAAM,MAAM,oBAAoB,GAC5B,iBAAiB,GACjB,cAAc,GACd,aAAa,GACb,gBAAgB,GAChB,mBAAmB,GACnB,kBAAkB,GAClB,kBAAkB,GAClB,cAAc,GACd,eAAe,CAAC"}
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
// typeship — publications resource.
|
|
2
|
-
// Generated by typeship — https://typeship.dev
|
|
3
|
-
import { paginate } from "../core/pagination.js";
|
|
4
|
-
import { BadRequestError, ForbiddenError, InternalServerError, NotFoundError, RateLimitedError, UnauthorizedError, } from "../errors.js";
|
|
5
|
-
export class PublicationsResource {
|
|
6
|
-
_core;
|
|
7
|
-
constructor(_core) {
|
|
8
|
-
this._core = _core;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* List publications
|
|
12
|
-
*
|
|
13
|
-
* Auto-paginates: `for await (const item of …)` walks every page.
|
|
14
|
-
* `GET /publications`
|
|
15
|
-
*/
|
|
16
|
-
list(params, options) {
|
|
17
|
-
return paginate(this._core, {
|
|
18
|
-
method: "GET",
|
|
19
|
-
path: "/publications",
|
|
20
|
-
security: [{ "apiKey": [] }],
|
|
21
|
-
query: {
|
|
22
|
-
limit: params?.limit,
|
|
23
|
-
cursor: params?.cursor,
|
|
24
|
-
release_id: params?.releaseId,
|
|
25
|
-
},
|
|
26
|
-
errors: {
|
|
27
|
-
"400": BadRequestError,
|
|
28
|
-
"401": UnauthorizedError,
|
|
29
|
-
"403": ForbiddenError,
|
|
30
|
-
"404": NotFoundError,
|
|
31
|
-
"429": RateLimitedError,
|
|
32
|
-
"500": InternalServerError,
|
|
33
|
-
},
|
|
34
|
-
idempotent: true,
|
|
35
|
-
schemaKey: "publications.list",
|
|
36
|
-
options,
|
|
37
|
-
}, {
|
|
38
|
-
style: "cursor",
|
|
39
|
-
itemsField: "data",
|
|
40
|
-
cursorParam: "cursor",
|
|
41
|
-
nextCursorField: "next_cursor",
|
|
42
|
-
hasMoreField: "has_more",
|
|
43
|
-
limitParam: "limit",
|
|
44
|
-
});
|
|
45
|
-
}
|
|
46
|
-
/**
|
|
47
|
-
* Get publishing status
|
|
48
|
-
*
|
|
49
|
-
* Returns the registry publishing status for a release. A status in another organization returns
|
|
50
|
-
* 404 resource_not_found.
|
|
51
|
-
* `GET /publications/{publication_id}`
|
|
52
|
-
*/
|
|
53
|
-
async get(publicationId, options) {
|
|
54
|
-
return this._core.requestData({
|
|
55
|
-
method: "GET",
|
|
56
|
-
path: `/publications/${encodeURIComponent(String(publicationId))}`,
|
|
57
|
-
security: [{ "apiKey": [] }],
|
|
58
|
-
errors: {
|
|
59
|
-
"401": UnauthorizedError,
|
|
60
|
-
"403": ForbiddenError,
|
|
61
|
-
"404": NotFoundError,
|
|
62
|
-
"429": RateLimitedError,
|
|
63
|
-
"500": InternalServerError,
|
|
64
|
-
},
|
|
65
|
-
idempotent: true,
|
|
66
|
-
schemaKey: "publications.get",
|
|
67
|
-
options,
|
|
68
|
-
});
|
|
69
|
-
}
|
|
70
|
-
}
|
|
@@ -1,140 +0,0 @@
|
|
|
1
|
-
// typeship — publications resource.
|
|
2
|
-
// Generated by typeship — https://typeship.dev
|
|
3
|
-
|
|
4
|
-
import { HttpCore, type RequestOptions } from "../core/http.js";
|
|
5
|
-
import { paginate, PagePromise } from "../core/pagination.js";
|
|
6
|
-
import {
|
|
7
|
-
ResponseParseError,
|
|
8
|
-
TransportError,
|
|
9
|
-
UnexpectedApiError,
|
|
10
|
-
ValidationError,
|
|
11
|
-
BadRequestError,
|
|
12
|
-
ForbiddenError,
|
|
13
|
-
InternalServerError,
|
|
14
|
-
NotFoundError,
|
|
15
|
-
RateLimitedError,
|
|
16
|
-
UnauthorizedError,
|
|
17
|
-
} from "../errors.js";
|
|
18
|
-
import type {
|
|
19
|
-
Publication,
|
|
20
|
-
PublicationId,
|
|
21
|
-
PublicationList,
|
|
22
|
-
PublicationListRead,
|
|
23
|
-
PublicationRead,
|
|
24
|
-
PublicationResponse,
|
|
25
|
-
PublicationResponseRead,
|
|
26
|
-
ReleaseId,
|
|
27
|
-
} from "../types.js";
|
|
28
|
-
|
|
29
|
-
export class PublicationsResource {
|
|
30
|
-
constructor(private readonly _core: HttpCore) {}
|
|
31
|
-
/**
|
|
32
|
-
* List publications
|
|
33
|
-
*
|
|
34
|
-
* Auto-paginates: `for await (const item of …)` walks every page.
|
|
35
|
-
* `GET /publications`
|
|
36
|
-
*/
|
|
37
|
-
list(
|
|
38
|
-
params?: PublicationsListParams,
|
|
39
|
-
options?: RequestOptions,
|
|
40
|
-
): PagePromise<PublicationRead, PublicationsListError> {
|
|
41
|
-
return paginate<PublicationRead, PublicationsListError>(this._core, {
|
|
42
|
-
method: "GET",
|
|
43
|
-
path: "/publications",
|
|
44
|
-
security: [{"apiKey":[]}],
|
|
45
|
-
query: {
|
|
46
|
-
limit: params?.limit,
|
|
47
|
-
cursor: params?.cursor,
|
|
48
|
-
release_id: params?.releaseId,
|
|
49
|
-
},
|
|
50
|
-
errors: {
|
|
51
|
-
"400": BadRequestError,
|
|
52
|
-
"401": UnauthorizedError,
|
|
53
|
-
"403": ForbiddenError,
|
|
54
|
-
"404": NotFoundError,
|
|
55
|
-
"429": RateLimitedError,
|
|
56
|
-
"500": InternalServerError,
|
|
57
|
-
},
|
|
58
|
-
idempotent: true,
|
|
59
|
-
schemaKey: "publications.list",
|
|
60
|
-
options,
|
|
61
|
-
}, {
|
|
62
|
-
style: "cursor",
|
|
63
|
-
itemsField: "data",
|
|
64
|
-
cursorParam: "cursor",
|
|
65
|
-
nextCursorField: "next_cursor",
|
|
66
|
-
hasMoreField: "has_more",
|
|
67
|
-
limitParam: "limit",
|
|
68
|
-
});
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
/**
|
|
72
|
-
* Get publishing status
|
|
73
|
-
*
|
|
74
|
-
* Returns the registry publishing status for a release. A status in another organization returns
|
|
75
|
-
* 404 resource_not_found.
|
|
76
|
-
* `GET /publications/{publication_id}`
|
|
77
|
-
*/
|
|
78
|
-
async get(publicationId: PublicationId, options?: RequestOptions): Promise<PublicationResponseRead> {
|
|
79
|
-
return this._core.requestData<PublicationResponseRead, PublicationsGetError>({
|
|
80
|
-
method: "GET",
|
|
81
|
-
path: `/publications/${encodeURIComponent(String(publicationId))}`,
|
|
82
|
-
security: [{"apiKey":[]}],
|
|
83
|
-
errors: {
|
|
84
|
-
"401": UnauthorizedError,
|
|
85
|
-
"403": ForbiddenError,
|
|
86
|
-
"404": NotFoundError,
|
|
87
|
-
"429": RateLimitedError,
|
|
88
|
-
"500": InternalServerError,
|
|
89
|
-
},
|
|
90
|
-
idempotent: true,
|
|
91
|
-
schemaKey: "publications.get",
|
|
92
|
-
options,
|
|
93
|
-
});
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
export interface PublicationsListParams {
|
|
98
|
-
/**
|
|
99
|
-
* Maximum number of resources to return. Omit for 20; otherwise supply base-10 digits
|
|
100
|
-
* representing an integer from 1 to 100. Empty, malformed, or out-of-range values return 400
|
|
101
|
-
* input_invalid. List query parameters must appear only once; repeated or unrecognized parameters
|
|
102
|
-
* return 400 query_param_invalid.
|
|
103
|
-
*/
|
|
104
|
-
limit?: number;
|
|
105
|
-
/**
|
|
106
|
-
* Opaque cursor from the preceding page's next_cursor. Valid only for the same organization,
|
|
107
|
-
* operation, filters, and ordering that issued it. Omit to start at the first page. Empty or
|
|
108
|
-
* malformed cursors, and cursors issued for different filters, return 400 cursor_invalid; start
|
|
109
|
-
* again from the first page. Repeated cursors return 400 query_param_invalid. The page limit may
|
|
110
|
-
* change between requests.
|
|
111
|
-
*/
|
|
112
|
-
cursor?: string;
|
|
113
|
-
/** Only publications of this release. */
|
|
114
|
-
releaseId?: ReleaseId;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
/** Typed errors `list` can throw. */
|
|
118
|
-
export type PublicationsListError =
|
|
119
|
-
| BadRequestError
|
|
120
|
-
| UnauthorizedError
|
|
121
|
-
| ForbiddenError
|
|
122
|
-
| NotFoundError
|
|
123
|
-
| RateLimitedError
|
|
124
|
-
| InternalServerError
|
|
125
|
-
| UnexpectedApiError
|
|
126
|
-
| ResponseParseError
|
|
127
|
-
| TransportError
|
|
128
|
-
| ValidationError;
|
|
129
|
-
|
|
130
|
-
/** Typed errors `get` can throw. */
|
|
131
|
-
export type PublicationsGetError =
|
|
132
|
-
| UnauthorizedError
|
|
133
|
-
| ForbiddenError
|
|
134
|
-
| NotFoundError
|
|
135
|
-
| RateLimitedError
|
|
136
|
-
| InternalServerError
|
|
137
|
-
| UnexpectedApiError
|
|
138
|
-
| ResponseParseError
|
|
139
|
-
| TransportError
|
|
140
|
-
| ValidationError;
|