@typeship-ax/cli 0.10.0 → 0.20.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.
Files changed (70) hide show
  1. package/AGENTS.md +9 -4
  2. package/README.md +4 -4
  3. package/api.json +4829 -679
  4. package/api.md +387 -91
  5. package/dist/cli-agent.d.ts +5 -5
  6. package/dist/cli-agent.d.ts.map +1 -1
  7. package/dist/cli-agent.js +14 -10
  8. package/dist/cli.js +151 -75
  9. package/dist/core/http.d.ts +3 -2
  10. package/dist/core/http.d.ts.map +1 -1
  11. package/dist/core/http.js +18 -6
  12. package/dist/errors.d.ts +17 -10
  13. package/dist/errors.d.ts.map +1 -1
  14. package/dist/errors.js +24 -15
  15. package/dist/index.d.ts +7 -3
  16. package/dist/index.d.ts.map +1 -1
  17. package/dist/index.js +9 -5
  18. package/dist/ops.d.ts +4 -0
  19. package/dist/ops.d.ts.map +1 -1
  20. package/dist/ops.js +45 -35
  21. package/dist/polling-login.d.ts.map +1 -1
  22. package/dist/polling-login.js +11 -1
  23. package/dist/resources/account.d.ts +4 -4
  24. package/dist/resources/account.d.ts.map +1 -1
  25. package/dist/resources/account.js +10 -5
  26. package/dist/resources/api-keys.d.ts +40 -14
  27. package/dist/resources/api-keys.d.ts.map +1 -1
  28. package/dist/resources/api-keys.js +45 -13
  29. package/dist/resources/definition-revisions.d.ts +35 -18
  30. package/dist/resources/definition-revisions.d.ts.map +1 -1
  31. package/dist/resources/definition-revisions.js +43 -15
  32. package/dist/resources/definitions.d.ts +21 -6
  33. package/dist/resources/definitions.d.ts.map +1 -1
  34. package/dist/resources/definitions.js +16 -3
  35. package/dist/resources/generate.d.ts +44 -15
  36. package/dist/resources/generate.d.ts.map +1 -1
  37. package/dist/resources/generate.js +55 -13
  38. package/dist/resources/generations.d.ts +14 -6
  39. package/dist/resources/generations.d.ts.map +1 -1
  40. package/dist/resources/generations.js +26 -5
  41. package/dist/resources/projects.d.ts +106 -53
  42. package/dist/resources/projects.d.ts.map +1 -1
  43. package/dist/resources/projects.js +78 -31
  44. package/dist/resources/targets.d.ts +240 -40
  45. package/dist/resources/targets.d.ts.map +1 -1
  46. package/dist/resources/targets.js +307 -21
  47. package/dist/schemas.d.ts +1 -0
  48. package/dist/schemas.d.ts.map +1 -1
  49. package/dist/schemas.js +171 -111
  50. package/dist/types.d.ts +1969 -154
  51. package/dist/types.d.ts.map +1 -1
  52. package/dist/types.js +87 -3
  53. package/package.json +3 -3
  54. package/src/cli-agent.ts +17 -13
  55. package/src/cli.ts +138 -70
  56. package/src/core/http.ts +17 -6
  57. package/src/errors.ts +25 -15
  58. package/src/index.ts +9 -5
  59. package/src/ops.ts +49 -35
  60. package/src/polling-login.ts +10 -1
  61. package/src/resources/account.ts +11 -4
  62. package/src/resources/api-keys.ts +84 -13
  63. package/src/resources/definition-revisions.ts +74 -16
  64. package/src/resources/definitions.ts +28 -4
  65. package/src/resources/generate.ts +78 -13
  66. package/src/resources/generations.ts +31 -4
  67. package/src/resources/projects.ts +141 -39
  68. package/src/resources/targets.ts +561 -27
  69. package/src/schemas.ts +172 -112
  70. package/src/types.ts +2105 -154
@@ -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 { ResponseParseError, TransportError, UnexpectedApiError, ValidationError, BadGatewayError, BadRequestError, ConflictError, ForbiddenError, NotFoundError, RateLimitedError, UnauthorizedError, UnprocessableEntityError } from "../errors.js";
4
- import type { DeletedTargetRead, ProjectId, TargetAdoption, TargetDraftResponseRead, TargetDraftUpdate, TargetFields, TargetId, TargetRead, TargetReleaseId, TargetReleaseRead, TargetReleaseResponseRead, TargetResponseRead, TargetUpdateRequest } from "../types.js";
3
+ import { ResponseParseError, TransportError, UnexpectedApiError, ValidationError, BadGatewayError, BadRequestError, ConflictError, ForbiddenError, InternalServerError, NotFoundError, PaymentRequiredError, PreconditionFailedError, RateLimitedError, UnauthorizedError, UnprocessableEntityError } from "../errors.js";
4
+ import type { DeletedTargetRead, DeliveryId, DeliveryResponseRead, DiscardDraftCustomizations, DraftConflictResolutionResponseRead, DraftCustomizationDiscardResponseRead, DraftFileContentResponseRead, DraftFileRead, DraftFileSide, DraftHistoryRecoveryResponseRead, ProjectId, PublicationId, PublicationResponseRead, RecoverDraftHistory, ResolveDraftConflicts, TargetAdoption, TargetDraftResponseRead, TargetDraftUpdate, TargetFields, TargetId, TargetRead, TargetReleaseId, TargetReleaseRead, TargetReleaseResponseRead, TargetResponseRead, TargetUpdateRequest } from "../types.js";
5
5
  export declare class TargetsResource {
6
6
  private readonly _core;
7
7
  constructor(_core: HttpCore);
@@ -15,8 +15,8 @@ export declare class TargetsResource {
15
15
  /**
16
16
  * Create an independently configured Target
17
17
  *
18
- * Several Targets may use the same generator with distinct configuration, Deliveries, and release
19
- * streams.
18
+ * Creates a Target with its own configuration, Deliveries, and release history. Multiple Targets
19
+ * can use the same generator.
20
20
  *
21
21
  * A `Idempotency-Key` UUID is generated per call (stable across retries) unless you pass one.
22
22
  * `POST /projects/{project_id}/targets`
@@ -30,16 +30,36 @@ export declare class TargetsResource {
30
30
  /**
31
31
  * Delete an unused Target
32
32
  *
33
- * Targets with Generation or release history, or an active release candidate, must be disabled
34
- * instead.
33
+ * Deletes a Target with no Generation history, release history, or active Draft. A `409
34
+ * resource_has_dependencies` means one of those resources still depends on it. Retrieve the
35
+ * Target, disable it instead, or resolve the dependency before retrying.
36
+ *
37
+ * See [conditional writes](https://typeship.dev/docs/typeship-api#conditional-writes) for ETag
38
+ * and If-Match.
35
39
  * `DELETE /targets/{target_id}`
36
40
  */
37
- delete(targetId: TargetId, options?: RequestOptions): Promise<ApiResult<DeletedTargetRead, TargetsDeleteError>>;
41
+ delete(targetId: TargetId, params?: TargetsDeleteParams, options?: RequestOptions): Promise<ApiResult<DeletedTargetRead, TargetsDeleteError>>;
38
42
  /**
39
43
  * Update a Target, its Deliveries, or its next reviewed version
44
+ *
45
+ * Omitted fields keep their current values. Supplied config, checks, and deliveries replace their
46
+ * complete stored values.
47
+ * Omitting If-Match applies the update to the current resource; with If-Match, a stale ETag
48
+ * returns 412 precondition_failed without saving.
49
+ * Send proposed_version by itself; use the Draft endpoint to select a version directly.
50
+ *
51
+ * A `409 target_busy` means the Target is publishing; wait for it to finish. A `409
52
+ * delivery_conflict` means another Target owns the requested repository tree; retrieve both
53
+ * Targets, choose a free destination, and retry.
54
+ * A `502` response means the update was saved, but retiring an obsolete review or regenerating a
55
+ * version selection failed. Retrieve the Target and follow the error's retryable and
56
+ * suggested_action fields. Repeating an unfinished version selection resumes generation;
57
+ * repeating a completed selection starts no new work.
58
+ * See [conditional writes](https://typeship.dev/docs/typeship-api#conditional-writes) for ETag
59
+ * and If-Match.
40
60
  * `PATCH /targets/{target_id}`
41
61
  */
42
- update(targetId: TargetId, body: TargetUpdateRequest, options?: RequestOptions): Promise<ApiResult<TargetResponseRead, TargetsUpdateError>>;
62
+ update(targetId: TargetId, body: TargetUpdateRequest, params?: TargetsUpdateParams, options?: RequestOptions): Promise<ApiResult<TargetResponseRead, TargetsUpdateError>>;
43
63
  /**
44
64
  * List immutable releases for a Target
45
65
  *
@@ -50,25 +70,41 @@ export declare class TargetsResource {
50
70
  /**
51
71
  * Retrieve a Target's rolling Draft release
52
72
  *
53
- * Returns Current, the cumulative Draft version and readiness, its exact head, and the optimistic
54
- * release revision.
73
+ * Returns the Draft's status and its one next step, Current's version, the proposed version,
74
+ * readiness, checks, and conflict counts. Every status is described on `status`. The response
75
+ * carries an `ETag`; send it in `If-Match` when updating the Draft to avoid changing a newer
76
+ * version selection.
55
77
  * `GET /targets/{target_id}/draft`
56
78
  */
57
79
  retrieveDraft(targetId: TargetId, options?: RequestOptions): Promise<ApiResult<TargetDraftResponseRead, TargetsRetrieveDraftError>>;
58
80
  /**
59
81
  * Select an exact Draft version or return to automatic versioning
60
82
  *
61
- * Validates the selection against the cumulative required bump and regenerates the same rolling
83
+ * Checks your version choice against the required version bump, then regenerates the existing
62
84
  * Draft pull request.
85
+ *
86
+ * Send the Draft's `ETag` in `If-Match` to reject an intervening change with 412
87
+ * precondition_failed before saving or regenerating. Omitting `If-Match` applies the selection to
88
+ * the current Draft. Version is required; null restores automatic selection.
89
+ *
90
+ * A `502` response means the selected version was saved, but regeneration failed. Follow the
91
+ * error's retryable and suggested_action fields. Repeating an unfinished selection resumes
92
+ * generation; repeating a completed selection starts no new work. If using If-Match, retrieve the
93
+ * Draft and confirm the saved selection before retrying with its current ETag.
94
+ * A `409 target_busy` means the Target is publishing; wait and retry. A `409 version_occupied`
95
+ * means the version is already released; retrieve the Draft and releases, choose a new version,
96
+ * and retry.
97
+ * See [conditional writes](https://typeship.dev/docs/typeship-api#conditional-writes) for ETag
98
+ * and If-Match.
63
99
  * `PATCH /targets/{target_id}/draft`
64
100
  */
65
- updateDraft(targetId: TargetId, body: TargetDraftUpdate, options?: RequestOptions): Promise<ApiResult<TargetDraftResponseRead, TargetsUpdateDraftError>>;
101
+ updateDraft(targetId: TargetId, body: TargetDraftUpdate, params?: TargetsUpdateDraftParams, options?: RequestOptions): Promise<ApiResult<TargetDraftResponseRead, TargetsUpdateDraftError>>;
66
102
  /**
67
103
  * Adopt a verified existing package as Current
68
104
  *
69
- * Verifies the repository tag, package metadata, and registry artifact; records an Imported
70
- * Current release; then opens the first Typeship Draft at the next major version because no
71
- * trusted generated baseline exists yet.
105
+ * Checks the repository tag, package metadata, and registry artifact, then records the package as
106
+ * an Imported Current release. Opens the first Typeship Draft at the next major version; review
107
+ * it to establish the baseline for preserving existing code.
72
108
  *
73
109
  * A `Idempotency-Key` UUID is generated per call (stable across retries) unless you pass one.
74
110
  * `POST /targets/{target_id}/adopt`
@@ -76,85 +112,249 @@ export declare class TargetsResource {
76
112
  adoptRelease(targetId: TargetId, body: TargetAdoption, params?: TargetsAdoptReleaseParams, options?: RequestOptions): Promise<ApiResult<TargetReleaseResponseRead, TargetsAdoptReleaseError>>;
77
113
  /**
78
114
  * Retrieve an immutable Target release
79
- * `GET /target_releases/{target_release_id}`
115
+ * `GET /target-releases/{target_release_id}`
80
116
  */
81
117
  retrieveRelease(targetReleaseId: TargetReleaseId, options?: RequestOptions): Promise<ApiResult<TargetReleaseResponseRead, TargetsRetrieveReleaseError>>;
82
118
  /**
83
119
  * Retry publication of an exact Target release
84
120
  *
85
- * Dispatches the repository-owned republish workflow for this immutable version and accepted
86
- * commit. It never selects the latest Draft or release.
121
+ * Retries publication of the specified release through its repository workflow. Uses that
122
+ * release's version and accepted commit, even if a newer Draft or release exists.
123
+ *
124
+ * A `502` response means the repository publication workflow could not be dispatched.
87
125
  *
88
126
  * A `Idempotency-Key` UUID is generated per call (stable across retries) unless you pass one.
89
- * `POST /target_releases/{target_release_id}/republish`
127
+ * `POST /target-releases/{target_release_id}/republish`
90
128
  */
91
129
  republishRelease(targetReleaseId: TargetReleaseId, params?: TargetsRepublishReleaseParams, options?: RequestOptions): Promise<ApiResult<TargetReleaseResponseRead, TargetsRepublishReleaseError>>;
130
+ /**
131
+ * List customized and conflicted files on a Draft
132
+ *
133
+ * Lists the Draft's files that differ from the last accepted package or need a conflict decision,
134
+ * ordered by path, without file content. Each conflict names its kind, where the incoming version
135
+ * comes from, the saved decision, and the sides you can read with retrieveDraftFileContent. With
136
+ * `filter=history`, lists the files affected by a default-branch history rewrite instead; the
137
+ * list is empty when none is pending.
138
+ *
139
+ * Returns `409 stale_draft` while Typeship has not integrated the Draft's latest commit (Draft
140
+ * status generating or branch_changed), or when the Draft changes between pages.
141
+ *
142
+ * Auto-paginates: `for await (const item of …)` walks every page.
143
+ * `GET /targets/{target_id}/draft/files`
144
+ */
145
+ listDraftFiles(targetId: TargetId, params?: TargetsListDraftFilesParams, options?: RequestOptions): PagePromise<DraftFileRead, TargetsListDraftFilesError>;
146
+ /**
147
+ * Read one side of a Draft file
148
+ *
149
+ * Returns up to 24 KiB of one side of a conflicted or history-affected file: text as UTF-8,
150
+ * binary content as base64. Follow `next_cursor` with the same path and side to read the rest,
151
+ * and concatenate the chunks in order. A side where the file is absent returns 404.
152
+ * `GET /targets/{target_id}/draft/files/content`
153
+ */
154
+ retrieveDraftFileContent(targetId: TargetId, params: TargetsRetrieveDraftFileContentParams, options?: RequestOptions): Promise<ApiResult<DraftFileContentResponseRead, TargetsRetrieveDraftFileContentError>>;
155
+ /**
156
+ * Resolve selected Draft conflicts
157
+ *
158
+ * Saves decisions for conflicts on the Draft's head_revision: keep the repository or incoming
159
+ * version, or supply the final content as text or, for binary files, base64. Decisions save
160
+ * together or not at all, and a decision can be replaced until it is applied. Use `dry_run` to
161
+ * validate them first.
162
+ *
163
+ * Saving changes no files. When every conflict has a decision, `remaining_conflicts` is 0 and the
164
+ * Draft status becomes `needs_generation`: generate the Target to apply the decisions and run its
165
+ * checks. Applying them can report conflicts from the next merge stage.
166
+ * `POST /targets/{target_id}/draft/conflicts/resolve`
167
+ */
168
+ resolveDraftConflicts(targetId: TargetId, body: ResolveDraftConflicts, options?: RequestOptions): Promise<ApiResult<DraftConflictResolutionResponseRead, TargetsResolveDraftConflictsError>>;
169
+ /**
170
+ * Discard selected Draft customizations
171
+ *
172
+ * Replaces the listed customized paths that are not conflicts with the generated files, in one
173
+ * commit on the Draft branch. A listed file that exists only on the Draft is deleted. Use
174
+ * `dry_run` to see the planned writes and deletions first. Resolve conflicts with
175
+ * resolveDraftConflicts.
176
+ *
177
+ * After the commit, the Draft status is `branch_changed` until Typeship integrates it from the
178
+ * repository's pull request event and reruns the checks; you do not need to generate the Target.
179
+ * `POST /targets/{target_id}/draft/customizations/discard`
180
+ */
181
+ discardDraftCustomizations(targetId: TargetId, body: DiscardDraftCustomizations, options?: RequestOptions): Promise<ApiResult<DraftCustomizationDiscardResponseRead, TargetsDiscardDraftCustomizationsError>>;
182
+ /**
183
+ * Approve recovery from rewritten default-branch history
184
+ *
185
+ * When the Draft status is `history_rewritten`, review the affected files with `listDraftFiles`
186
+ * and `filter=history`, then approve with the Draft's `history_recovery` revisions. Approval
187
+ * saves the recovery without changing Git, and the Draft status becomes `needs_generation`:
188
+ * generate the Target to open a new Draft from the rewritten default branch. The previous Draft
189
+ * branch stays available, and overlapping code comes back as conflicts to resolve. A rewritten
190
+ * Draft branch alone needs no approval.
191
+ * `POST /targets/{target_id}/draft/history/recover`
192
+ */
193
+ recoverDraftHistory(targetId: TargetId, body: RecoverDraftHistory, options?: RequestOptions): Promise<ApiResult<DraftHistoryRecoveryResponseRead, TargetsRecoverDraftHistoryError>>;
194
+ /**
195
+ * Retrieve a Delivery
196
+ *
197
+ * Returns the configured repository or hosted MCP Delivery for a Target. A Delivery in another
198
+ * organization returns 404 not_found.
199
+ * `GET /deliveries/{delivery_id}`
200
+ */
201
+ retrieveDelivery(deliveryId: DeliveryId, options?: RequestOptions): Promise<ApiResult<DeliveryResponseRead, TargetsRetrieveDeliveryError>>;
202
+ /**
203
+ * Retrieve a Publication
204
+ *
205
+ * Returns the current registry publication state for a Target Release. A Publication in another
206
+ * organization returns 404 not_found.
207
+ * `GET /publications/{publication_id}`
208
+ */
209
+ retrievePublication(publicationId: PublicationId, options?: RequestOptions): Promise<ApiResult<PublicationResponseRead, TargetsRetrievePublicationError>>;
92
210
  }
93
211
  export interface TargetsListParams {
94
- /** Maximum number of resources to return. */
212
+ /**
213
+ * Maximum number of resources to return. Omit for 20; otherwise supply base-10 digits
214
+ * representing an integer from 1 to 100. Empty, malformed, or out-of-range values return 400
215
+ * invalid_request. List query parameters must appear only once; unrecognized parameters also
216
+ * return 400.
217
+ */
95
218
  limit?: number;
96
219
  /**
97
220
  * Opaque cursor from the preceding page's next_cursor. Valid only for the same account,
98
- * operation, filters, and ordering that issued it.
221
+ * operation, filters, and ordering that issued it. Omit to start at the first page. Empty,
222
+ * malformed, or repeated cursors return 400 invalid_request. The page limit may change between
223
+ * requests.
99
224
  */
100
225
  cursor?: string;
101
226
  }
102
227
  /** Every error `list` can produce, as a discriminated union. */
103
- export type TargetsListError = BadRequestError | UnauthorizedError | ForbiddenError | NotFoundError | RateLimitedError | UnexpectedApiError | ResponseParseError | TransportError | ValidationError;
228
+ export type TargetsListError = BadRequestError | UnauthorizedError | ForbiddenError | NotFoundError | RateLimitedError | InternalServerError | UnexpectedApiError | ResponseParseError | TransportError | ValidationError;
104
229
  export interface TargetsCreateParams {
105
230
  /**
106
231
  * Identifies one logical write for 24 hours. The key is scoped to the authenticated account and
107
232
  * operation; account-less generation uses a hashed network identity. Retrying the same method,
108
- * path, query, and JSON body replays the original response. Reusing the key with changed intent
109
- * returns 409. After expiry the key starts a new write.
233
+ * path, query, If-Match header, and JSON body replays the original response. Reusing the key with
234
+ * changed intent returns 409. After expiry the key starts a new write.
110
235
  */
111
236
  idempotencyKey?: string;
112
237
  }
113
238
  /** Every error `create` can produce, as a discriminated union. */
114
- export type TargetsCreateError = BadRequestError | UnauthorizedError | ForbiddenError | NotFoundError | ConflictError | UnprocessableEntityError | RateLimitedError | UnexpectedApiError | ResponseParseError | TransportError | ValidationError;
239
+ export type TargetsCreateError = BadRequestError | UnauthorizedError | PaymentRequiredError | ForbiddenError | NotFoundError | ConflictError | UnprocessableEntityError | RateLimitedError | InternalServerError | UnexpectedApiError | ResponseParseError | TransportError | ValidationError;
115
240
  /** Every error `retrieve` can produce, as a discriminated union. */
116
- export type TargetsRetrieveError = UnauthorizedError | ForbiddenError | NotFoundError | RateLimitedError | UnexpectedApiError | ResponseParseError | TransportError | ValidationError;
241
+ export type TargetsRetrieveError = UnauthorizedError | ForbiddenError | NotFoundError | RateLimitedError | InternalServerError | UnexpectedApiError | ResponseParseError | TransportError | ValidationError;
242
+ export interface TargetsDeleteParams {
243
+ /**
244
+ * ETag from a preceding response. The write applies only if the resource still has that version;
245
+ * otherwise it returns 412 precondition_failed without changes. Omit to write the current
246
+ * version. See https://typeship.dev/docs/typeship-api#conditional-writes.
247
+ */
248
+ ifMatch?: string;
249
+ }
117
250
  /** Every error `delete` can produce, as a discriminated union. */
118
- export type TargetsDeleteError = UnauthorizedError | ForbiddenError | NotFoundError | ConflictError | RateLimitedError | UnexpectedApiError | ResponseParseError | TransportError | ValidationError;
251
+ export type TargetsDeleteError = BadRequestError | UnauthorizedError | ForbiddenError | NotFoundError | ConflictError | PreconditionFailedError | RateLimitedError | InternalServerError | UnexpectedApiError | ResponseParseError | TransportError | ValidationError;
252
+ export interface TargetsUpdateParams {
253
+ /**
254
+ * ETag from a preceding response. The write applies only if the resource still has that version;
255
+ * otherwise it returns 412 precondition_failed without changes. Omit to write the current
256
+ * version. See https://typeship.dev/docs/typeship-api#conditional-writes.
257
+ */
258
+ ifMatch?: string;
259
+ }
119
260
  /** Every error `update` can produce, as a discriminated union. */
120
- export type TargetsUpdateError = BadRequestError | UnauthorizedError | ForbiddenError | NotFoundError | ConflictError | UnprocessableEntityError | RateLimitedError | UnexpectedApiError | ResponseParseError | TransportError | ValidationError;
261
+ export type TargetsUpdateError = BadRequestError | UnauthorizedError | PaymentRequiredError | ForbiddenError | NotFoundError | ConflictError | PreconditionFailedError | UnprocessableEntityError | RateLimitedError | InternalServerError | BadGatewayError | UnexpectedApiError | ResponseParseError | TransportError | ValidationError;
121
262
  export interface TargetsListReleasesParams {
122
- /** Maximum number of resources to return. */
263
+ /**
264
+ * Maximum number of resources to return. Omit for 20; otherwise supply base-10 digits
265
+ * representing an integer from 1 to 100. Empty, malformed, or out-of-range values return 400
266
+ * invalid_request. List query parameters must appear only once; unrecognized parameters also
267
+ * return 400.
268
+ */
123
269
  limit?: number;
124
270
  /**
125
271
  * Opaque cursor from the preceding page's next_cursor. Valid only for the same account,
126
- * operation, filters, and ordering that issued it.
272
+ * operation, filters, and ordering that issued it. Omit to start at the first page. Empty,
273
+ * malformed, or repeated cursors return 400 invalid_request. The page limit may change between
274
+ * requests.
127
275
  */
128
276
  cursor?: string;
129
277
  }
130
278
  /** Every error `listReleases` can produce, as a discriminated union. */
131
- export type TargetsListReleasesError = BadRequestError | UnauthorizedError | ForbiddenError | NotFoundError | RateLimitedError | UnexpectedApiError | ResponseParseError | TransportError | ValidationError;
279
+ export type TargetsListReleasesError = BadRequestError | UnauthorizedError | ForbiddenError | NotFoundError | RateLimitedError | InternalServerError | UnexpectedApiError | ResponseParseError | TransportError | ValidationError;
132
280
  /** Every error `retrieveDraft` can produce, as a discriminated union. */
133
- export type TargetsRetrieveDraftError = UnauthorizedError | ForbiddenError | NotFoundError | RateLimitedError | UnexpectedApiError | ResponseParseError | TransportError | ValidationError;
281
+ export type TargetsRetrieveDraftError = UnauthorizedError | ForbiddenError | NotFoundError | RateLimitedError | InternalServerError | UnexpectedApiError | ResponseParseError | TransportError | ValidationError;
282
+ export interface TargetsUpdateDraftParams {
283
+ /**
284
+ * ETag from a preceding response. The write applies only if the resource still has that version;
285
+ * otherwise it returns 412 precondition_failed without changes. Omit to write the current
286
+ * version. See https://typeship.dev/docs/typeship-api#conditional-writes.
287
+ */
288
+ ifMatch?: string;
289
+ }
134
290
  /** Every error `updateDraft` can produce, as a discriminated union. */
135
- export type TargetsUpdateDraftError = BadRequestError | UnauthorizedError | ForbiddenError | NotFoundError | ConflictError | UnprocessableEntityError | RateLimitedError | UnexpectedApiError | ResponseParseError | TransportError | ValidationError;
291
+ export type TargetsUpdateDraftError = BadRequestError | UnauthorizedError | ForbiddenError | NotFoundError | ConflictError | PreconditionFailedError | UnprocessableEntityError | RateLimitedError | InternalServerError | BadGatewayError | UnexpectedApiError | ResponseParseError | TransportError | ValidationError;
136
292
  export interface TargetsAdoptReleaseParams {
137
293
  /**
138
294
  * Identifies one logical write for 24 hours. The key is scoped to the authenticated account and
139
295
  * operation; account-less generation uses a hashed network identity. Retrying the same method,
140
- * path, query, and JSON body replays the original response. Reusing the key with changed intent
141
- * returns 409. After expiry the key starts a new write.
296
+ * path, query, If-Match header, and JSON body replays the original response. Reusing the key with
297
+ * changed intent returns 409. After expiry the key starts a new write.
142
298
  */
143
299
  idempotencyKey?: string;
144
300
  }
145
301
  /** Every error `adoptRelease` can produce, as a discriminated union. */
146
- export type TargetsAdoptReleaseError = BadRequestError | UnauthorizedError | ForbiddenError | NotFoundError | ConflictError | UnprocessableEntityError | RateLimitedError | UnexpectedApiError | ResponseParseError | TransportError | ValidationError;
302
+ export type TargetsAdoptReleaseError = BadRequestError | UnauthorizedError | ForbiddenError | NotFoundError | ConflictError | UnprocessableEntityError | RateLimitedError | InternalServerError | UnexpectedApiError | ResponseParseError | TransportError | ValidationError;
147
303
  /** Every error `retrieveRelease` can produce, as a discriminated union. */
148
- export type TargetsRetrieveReleaseError = UnauthorizedError | ForbiddenError | NotFoundError | RateLimitedError | UnexpectedApiError | ResponseParseError | TransportError | ValidationError;
304
+ export type TargetsRetrieveReleaseError = UnauthorizedError | ForbiddenError | NotFoundError | RateLimitedError | InternalServerError | UnexpectedApiError | ResponseParseError | TransportError | ValidationError;
149
305
  export interface TargetsRepublishReleaseParams {
150
306
  /**
151
307
  * Identifies one logical write for 24 hours. The key is scoped to the authenticated account and
152
308
  * 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.
309
+ * path, query, If-Match header, and JSON body replays the original response. Reusing the key with
310
+ * changed intent returns 409. After expiry the key starts a new write.
155
311
  */
156
312
  idempotencyKey?: string;
157
313
  }
158
314
  /** Every error `republishRelease` can produce, as a discriminated union. */
159
- export type TargetsRepublishReleaseError = UnauthorizedError | ForbiddenError | NotFoundError | ConflictError | RateLimitedError | BadGatewayError | UnexpectedApiError | ResponseParseError | TransportError | ValidationError;
315
+ export type TargetsRepublishReleaseError = BadRequestError | UnauthorizedError | ForbiddenError | NotFoundError | ConflictError | RateLimitedError | InternalServerError | BadGatewayError | UnexpectedApiError | ResponseParseError | TransportError | ValidationError;
316
+ export interface TargetsListDraftFilesParams {
317
+ /**
318
+ * conflicted: conflicts only. customized: files that differ from the last accepted package.
319
+ * history: files affected by a default-branch history rewrite. Omit for conflicted and customized
320
+ * files.
321
+ */
322
+ filter?: "conflicted" | "customized" | "history";
323
+ /**
324
+ * Maximum number of resources to return. Omit for 20; otherwise supply base-10 digits
325
+ * representing an integer from 1 to 100. Empty, malformed, or out-of-range values return 400
326
+ * invalid_request. List query parameters must appear only once; unrecognized parameters also
327
+ * return 400.
328
+ */
329
+ limit?: number;
330
+ /**
331
+ * Opaque cursor from the preceding page's next_cursor. Valid only for the same account,
332
+ * operation, filters, and ordering that issued it. Omit to start at the first page. Empty,
333
+ * malformed, or repeated cursors return 400 invalid_request. The page limit may change between
334
+ * requests.
335
+ */
336
+ cursor?: string;
337
+ }
338
+ /** Every error `listDraftFiles` can produce, as a discriminated union. */
339
+ export type TargetsListDraftFilesError = BadRequestError | UnauthorizedError | ForbiddenError | NotFoundError | ConflictError | RateLimitedError | InternalServerError | UnexpectedApiError | ResponseParseError | TransportError | ValidationError;
340
+ export interface TargetsRetrieveDraftFileContentParams {
341
+ /** File path from listDraftFiles. */
342
+ path: string;
343
+ /** A side listed for the file. */
344
+ side: DraftFileSide;
345
+ /** next_cursor from the preceding chunk of the same path and side. */
346
+ cursor?: string;
347
+ }
348
+ /** Every error `retrieveDraftFileContent` can produce, as a discriminated union. */
349
+ export type TargetsRetrieveDraftFileContentError = BadRequestError | UnauthorizedError | ForbiddenError | NotFoundError | ConflictError | RateLimitedError | InternalServerError | UnexpectedApiError | ResponseParseError | TransportError | ValidationError;
350
+ /** Every error `resolveDraftConflicts` can produce, as a discriminated union. */
351
+ export type TargetsResolveDraftConflictsError = BadRequestError | UnauthorizedError | ForbiddenError | NotFoundError | ConflictError | RateLimitedError | InternalServerError | UnexpectedApiError | ResponseParseError | TransportError | ValidationError;
352
+ /** Every error `discardDraftCustomizations` can produce, as a discriminated union. */
353
+ export type TargetsDiscardDraftCustomizationsError = BadRequestError | UnauthorizedError | ForbiddenError | NotFoundError | ConflictError | RateLimitedError | InternalServerError | UnexpectedApiError | ResponseParseError | TransportError | ValidationError;
354
+ /** Every error `recoverDraftHistory` can produce, as a discriminated union. */
355
+ export type TargetsRecoverDraftHistoryError = BadRequestError | UnauthorizedError | ForbiddenError | NotFoundError | ConflictError | RateLimitedError | InternalServerError | UnexpectedApiError | ResponseParseError | TransportError | ValidationError;
356
+ /** Every error `retrieveDelivery` can produce, as a discriminated union. */
357
+ export type TargetsRetrieveDeliveryError = UnauthorizedError | ForbiddenError | NotFoundError | RateLimitedError | InternalServerError | UnexpectedApiError | ResponseParseError | TransportError | ValidationError;
358
+ /** Every error `retrievePublication` can produce, as a discriminated union. */
359
+ export type TargetsRetrievePublicationError = UnauthorizedError | ForbiddenError | NotFoundError | RateLimitedError | InternalServerError | UnexpectedApiError | ResponseParseError | TransportError | ValidationError;
160
360
  //# sourceMappingURL=targets.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"targets.d.ts","sourceRoot":"","sources":["../../src/resources/targets.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,kBAAkB,EAClB,eAAe,EACf,eAAe,EACf,eAAe,EACf,aAAa,EACb,cAAc,EACd,aAAa,EACb,gBAAgB,EAChB,iBAAiB,EACjB,wBAAwB,EACzB,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EAEV,iBAAiB,EACjB,SAAS,EAET,cAAc,EAEd,uBAAuB,EACvB,iBAAiB,EACjB,YAAY,EACZ,QAAQ,EAGR,UAAU,EAEV,eAAe,EAGf,iBAAiB,EAEjB,yBAAyB,EAEzB,kBAAkB,EAClB,mBAAmB,EACpB,MAAM,aAAa,CAAC;AAErB,qBAAa,eAAe;IACd,OAAO,CAAC,QAAQ,CAAC,KAAK;gBAAL,KAAK,EAAE,QAAQ;IAC5C;;;;;OAKG;IACH,IAAI,CACF,SAAS,EAAE,SAAS,EACpB,MAAM,CAAC,EAAE,iBAAiB,EAC1B,OAAO,CAAC,EAAE,cA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BAAkB,GAClB,kBAAkB,GAClB,cAAc,GACd,eAAe,CAAC;AAEpB,2EAA2E;AAC3E,MAAM,MAAM,2BAA2B,GACnC,iBAAiB,GACjB,cAAc,GACd,aAAa,GACb,gBAAgB,GAChB,kBAAkB,GAClB,kBAAkB,GAClB,cAAc,GACd,eAAe,CAAC;AAEpB,MAAM,WAAW,6BAA6B;IAC5C;;;;;OAKG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,4EAA4E;AAC5E,MAAM,MAAM,4BAA4B,GACpC,iBAAiB,GACjB,cAAc,GACd,aAAa,GACb,aAAa,GACb,gBAAgB,GAChB,eAAe,GACf,kBAAkB,GAClB,kBAAkB,GAClB,cAAc,GACd,eAAe,CAAC"}
1
+ {"version":3,"file":"targets.d.ts","sourceRoot":"","sources":["../../src/resources/targets.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,kBAAkB,EAClB,eAAe,EACf,eAAe,EACf,eAAe,EACf,aAAa,EACb,cAAc,EACd,mBAAmB,EACnB,aAAa,EACb,oBAAoB,EACpB,uBAAuB,EACvB,gBAAgB,EAChB,iBAAiB,EACjB,wBAAwB,EACzB,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EAEV,iBAAiB,EACjB,UAAU,EAEV,oBAAoB,EACpB,0BAA0B,EAE1B,mCAAmC,EAEnC,qCAAqC,EAGrC,4BAA4B,EAG5B,aAAa,EACb,aAAa,EAEb,gCAAgC,EAChC,SAAS,EACT,aAAa,EAEb,uBAAuB,EACvB,mBAAmB,EACnB,qBAAqB,EAErB,cAAc,EAEd,uBAAuB,EACvB,iBAAiB,EACjB,YAAY,EACZ,QAAQ,EAGR,UAAU,EAEV,eAAe,EAGf,iBAAiB,EA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