@zephytiju/juntai-typescript-sdk 3.2.0 → 3.3.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/CHANGELOG.md +6 -0
- package/README.md +4 -0
- package/dist/clients/prism.build/index.d.ts +5 -0
- package/dist/clients/prism.build/index.js +4 -0
- package/dist/clients/prism.composition/index.d.ts +5 -0
- package/dist/clients/prism.composition/index.js +4 -0
- package/dist/generated/prism.build/client/client.gen.d.ts +2 -0
- package/dist/generated/prism.build/client/client.gen.js +216 -0
- package/dist/generated/prism.build/client/index.d.ts +10 -0
- package/dist/generated/prism.build/client/index.js +6 -0
- package/dist/generated/prism.build/client/types.gen.d.ts +120 -0
- package/dist/generated/prism.build/client/types.gen.js +2 -0
- package/dist/generated/prism.build/client/utils.gen.d.ts +37 -0
- package/dist/generated/prism.build/client/utils.gen.js +228 -0
- package/dist/generated/prism.build/client.gen.d.ts +12 -0
- package/dist/generated/prism.build/client.gen.js +3 -0
- package/dist/generated/prism.build/core/auth.gen.d.ts +25 -0
- package/dist/generated/prism.build/core/auth.gen.js +14 -0
- package/dist/generated/prism.build/core/bodySerializer.gen.d.ts +25 -0
- package/dist/generated/prism.build/core/bodySerializer.gen.js +57 -0
- package/dist/generated/prism.build/core/params.gen.d.ts +43 -0
- package/dist/generated/prism.build/core/params.gen.js +109 -0
- package/dist/generated/prism.build/core/pathSerializer.gen.d.ts +33 -0
- package/dist/generated/prism.build/core/pathSerializer.gen.js +106 -0
- package/dist/generated/prism.build/core/queryKeySerializer.gen.d.ts +18 -0
- package/dist/generated/prism.build/core/queryKeySerializer.gen.js +92 -0
- package/dist/generated/prism.build/core/serverSentEvents.gen.d.ts +71 -0
- package/dist/generated/prism.build/core/serverSentEvents.gen.js +132 -0
- package/dist/generated/prism.build/core/types.gen.d.ts +83 -0
- package/dist/generated/prism.build/core/types.gen.js +2 -0
- package/dist/generated/prism.build/core/utils.gen.d.ts +19 -0
- package/dist/generated/prism.build/core/utils.gen.js +87 -0
- package/dist/generated/prism.build/index.d.ts +2 -0
- package/dist/generated/prism.build/index.js +2 -0
- package/dist/generated/prism.build/sdk.gen.d.ts +31 -0
- package/dist/generated/prism.build/sdk.gen.js +38 -0
- package/dist/generated/prism.build/types.gen.d.ts +705 -0
- package/dist/generated/prism.build/types.gen.js +2 -0
- package/dist/generated/prism.composition/client/client.gen.d.ts +2 -0
- package/dist/generated/prism.composition/client/client.gen.js +216 -0
- package/dist/generated/prism.composition/client/index.d.ts +10 -0
- package/dist/generated/prism.composition/client/index.js +6 -0
- package/dist/generated/prism.composition/client/types.gen.d.ts +120 -0
- package/dist/generated/prism.composition/client/types.gen.js +2 -0
- package/dist/generated/prism.composition/client/utils.gen.d.ts +37 -0
- package/dist/generated/prism.composition/client/utils.gen.js +228 -0
- package/dist/generated/prism.composition/client.gen.d.ts +12 -0
- package/dist/generated/prism.composition/client.gen.js +3 -0
- package/dist/generated/prism.composition/core/auth.gen.d.ts +25 -0
- package/dist/generated/prism.composition/core/auth.gen.js +14 -0
- package/dist/generated/prism.composition/core/bodySerializer.gen.d.ts +25 -0
- package/dist/generated/prism.composition/core/bodySerializer.gen.js +57 -0
- package/dist/generated/prism.composition/core/params.gen.d.ts +43 -0
- package/dist/generated/prism.composition/core/params.gen.js +109 -0
- package/dist/generated/prism.composition/core/pathSerializer.gen.d.ts +33 -0
- package/dist/generated/prism.composition/core/pathSerializer.gen.js +106 -0
- package/dist/generated/prism.composition/core/queryKeySerializer.gen.d.ts +18 -0
- package/dist/generated/prism.composition/core/queryKeySerializer.gen.js +92 -0
- package/dist/generated/prism.composition/core/serverSentEvents.gen.d.ts +71 -0
- package/dist/generated/prism.composition/core/serverSentEvents.gen.js +132 -0
- package/dist/generated/prism.composition/core/types.gen.d.ts +83 -0
- package/dist/generated/prism.composition/core/types.gen.js +2 -0
- package/dist/generated/prism.composition/core/utils.gen.d.ts +19 -0
- package/dist/generated/prism.composition/core/utils.gen.js +87 -0
- package/dist/generated/prism.composition/index.d.ts +2 -0
- package/dist/generated/prism.composition/index.js +2 -0
- package/dist/generated/prism.composition/sdk.gen.d.ts +91 -0
- package/dist/generated/prism.composition/sdk.gen.js +178 -0
- package/dist/generated/prism.composition/types.gen.d.ts +2761 -0
- package/dist/generated/prism.composition/types.gen.js +2 -0
- package/dist/index.d.ts +5 -1
- package/dist/index.js +5 -1
- package/dist/release-manifest.json +30 -2
- package/package.json +9 -1
- package/sources/openapi.lock.json +38 -0
|
@@ -0,0 +1,705 @@
|
|
|
1
|
+
export type ClientOptions = {
|
|
2
|
+
baseUrl: `${string}://${string}` | (string & {});
|
|
3
|
+
};
|
|
4
|
+
/**
|
|
5
|
+
* BuildPage
|
|
6
|
+
*/
|
|
7
|
+
export type BuildPage = {
|
|
8
|
+
/**
|
|
9
|
+
* Items
|
|
10
|
+
*/
|
|
11
|
+
items: Array<BuildView>;
|
|
12
|
+
/**
|
|
13
|
+
* Nextcursor
|
|
14
|
+
*/
|
|
15
|
+
nextCursor: string | null;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* BuildRequest
|
|
19
|
+
*/
|
|
20
|
+
export type BuildRequest = {
|
|
21
|
+
/**
|
|
22
|
+
* Applicationid
|
|
23
|
+
*/
|
|
24
|
+
applicationId: string;
|
|
25
|
+
/**
|
|
26
|
+
* Applicationversionid
|
|
27
|
+
*/
|
|
28
|
+
applicationVersionId: string;
|
|
29
|
+
/**
|
|
30
|
+
* Builderreleaseid
|
|
31
|
+
*/
|
|
32
|
+
builderReleaseId: 'prism-builder@1.1.0';
|
|
33
|
+
/**
|
|
34
|
+
* Operatingsystemid
|
|
35
|
+
*/
|
|
36
|
+
operatingSystemId: string;
|
|
37
|
+
/**
|
|
38
|
+
* Operatingsystemrevisionid
|
|
39
|
+
*/
|
|
40
|
+
operatingSystemRevisionId: string;
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* BuildState
|
|
44
|
+
*/
|
|
45
|
+
export type BuildState = 'REQUESTED' | 'BUILDING' | 'PUBLISHING' | 'ASSOCIATING' | 'SUCCEEDED' | 'FAILED';
|
|
46
|
+
/**
|
|
47
|
+
* BuildView
|
|
48
|
+
*/
|
|
49
|
+
export type BuildView = {
|
|
50
|
+
/**
|
|
51
|
+
* Association
|
|
52
|
+
*/
|
|
53
|
+
association: {
|
|
54
|
+
[key: string]: unknown;
|
|
55
|
+
} | null;
|
|
56
|
+
/**
|
|
57
|
+
* Attempts
|
|
58
|
+
*/
|
|
59
|
+
attempts: number;
|
|
60
|
+
/**
|
|
61
|
+
* Buildid
|
|
62
|
+
*/
|
|
63
|
+
buildId: string;
|
|
64
|
+
/**
|
|
65
|
+
* Builderimage
|
|
66
|
+
*/
|
|
67
|
+
builderImage: string;
|
|
68
|
+
/**
|
|
69
|
+
* Createdat
|
|
70
|
+
*/
|
|
71
|
+
createdAt: string;
|
|
72
|
+
failure: Failure | null;
|
|
73
|
+
/**
|
|
74
|
+
* Manifestdigest
|
|
75
|
+
*/
|
|
76
|
+
manifestDigest: string;
|
|
77
|
+
provenance: Provenance | null;
|
|
78
|
+
/**
|
|
79
|
+
* Receipts
|
|
80
|
+
*/
|
|
81
|
+
receipts: {
|
|
82
|
+
[key: string]: OutputReceipt;
|
|
83
|
+
};
|
|
84
|
+
/**
|
|
85
|
+
* Recordversion
|
|
86
|
+
*/
|
|
87
|
+
recordVersion: number;
|
|
88
|
+
request: BuildRequest;
|
|
89
|
+
state: BuildState;
|
|
90
|
+
/**
|
|
91
|
+
* Tenantid
|
|
92
|
+
*/
|
|
93
|
+
tenantId: string;
|
|
94
|
+
/**
|
|
95
|
+
* Updatedat
|
|
96
|
+
*/
|
|
97
|
+
updatedAt: string;
|
|
98
|
+
};
|
|
99
|
+
/**
|
|
100
|
+
* Failure
|
|
101
|
+
*/
|
|
102
|
+
export type Failure = {
|
|
103
|
+
/**
|
|
104
|
+
* Code
|
|
105
|
+
*/
|
|
106
|
+
code: string;
|
|
107
|
+
/**
|
|
108
|
+
* Retryable
|
|
109
|
+
*/
|
|
110
|
+
retryable: boolean;
|
|
111
|
+
/**
|
|
112
|
+
* Stage
|
|
113
|
+
*/
|
|
114
|
+
stage: string;
|
|
115
|
+
};
|
|
116
|
+
/**
|
|
117
|
+
* HTTPValidationError
|
|
118
|
+
*/
|
|
119
|
+
export type HttpValidationError = {
|
|
120
|
+
/**
|
|
121
|
+
* Detail
|
|
122
|
+
*/
|
|
123
|
+
detail?: Array<ValidationError>;
|
|
124
|
+
};
|
|
125
|
+
/**
|
|
126
|
+
* OutputReceipt
|
|
127
|
+
*/
|
|
128
|
+
export type OutputReceipt = {
|
|
129
|
+
/**
|
|
130
|
+
* Artifact Id
|
|
131
|
+
*/
|
|
132
|
+
artifact_id?: string | null;
|
|
133
|
+
/**
|
|
134
|
+
* Builder Release
|
|
135
|
+
*/
|
|
136
|
+
builder_release: 'prism-builder@1.1.0';
|
|
137
|
+
/**
|
|
138
|
+
* Configuration Id
|
|
139
|
+
*/
|
|
140
|
+
configuration_id?: string | null;
|
|
141
|
+
/**
|
|
142
|
+
* Input Digest
|
|
143
|
+
*/
|
|
144
|
+
input_digest: string;
|
|
145
|
+
/**
|
|
146
|
+
* Kind
|
|
147
|
+
*/
|
|
148
|
+
kind: 'configuration' | 'artifact';
|
|
149
|
+
/**
|
|
150
|
+
* Manifest Digest
|
|
151
|
+
*/
|
|
152
|
+
manifest_digest: string;
|
|
153
|
+
/**
|
|
154
|
+
* Media Type
|
|
155
|
+
*/
|
|
156
|
+
media_type: string;
|
|
157
|
+
/**
|
|
158
|
+
* Payload Digest
|
|
159
|
+
*/
|
|
160
|
+
payload_digest: string;
|
|
161
|
+
/**
|
|
162
|
+
* Revision Id
|
|
163
|
+
*/
|
|
164
|
+
revision_id?: string | null;
|
|
165
|
+
/**
|
|
166
|
+
* Size
|
|
167
|
+
*/
|
|
168
|
+
size: number;
|
|
169
|
+
/**
|
|
170
|
+
* Tenant Id
|
|
171
|
+
*/
|
|
172
|
+
tenant_id: string;
|
|
173
|
+
/**
|
|
174
|
+
* Version Id
|
|
175
|
+
*/
|
|
176
|
+
version_id?: string | null;
|
|
177
|
+
};
|
|
178
|
+
/**
|
|
179
|
+
* Provenance
|
|
180
|
+
*/
|
|
181
|
+
export type Provenance = {
|
|
182
|
+
/**
|
|
183
|
+
* Artifactdigest
|
|
184
|
+
*/
|
|
185
|
+
artifactDigest: string;
|
|
186
|
+
/**
|
|
187
|
+
* Builderrelease
|
|
188
|
+
*/
|
|
189
|
+
builderRelease: 'prism-builder@1.1.0';
|
|
190
|
+
/**
|
|
191
|
+
* Configurationdigest
|
|
192
|
+
*/
|
|
193
|
+
configurationDigest: string;
|
|
194
|
+
/**
|
|
195
|
+
* Inputdigest
|
|
196
|
+
*/
|
|
197
|
+
inputDigest: string;
|
|
198
|
+
/**
|
|
199
|
+
* Toolchaindigest
|
|
200
|
+
*/
|
|
201
|
+
toolchainDigest: string;
|
|
202
|
+
};
|
|
203
|
+
/**
|
|
204
|
+
* ValidationError
|
|
205
|
+
*/
|
|
206
|
+
export type ValidationError = {
|
|
207
|
+
/**
|
|
208
|
+
* Context
|
|
209
|
+
*/
|
|
210
|
+
ctx?: {
|
|
211
|
+
[key: string]: unknown;
|
|
212
|
+
};
|
|
213
|
+
/**
|
|
214
|
+
* Input
|
|
215
|
+
*/
|
|
216
|
+
input?: unknown;
|
|
217
|
+
/**
|
|
218
|
+
* Location
|
|
219
|
+
*/
|
|
220
|
+
loc: Array<string | number>;
|
|
221
|
+
/**
|
|
222
|
+
* Message
|
|
223
|
+
*/
|
|
224
|
+
msg: string;
|
|
225
|
+
/**
|
|
226
|
+
* Error Type
|
|
227
|
+
*/
|
|
228
|
+
type: string;
|
|
229
|
+
};
|
|
230
|
+
/**
|
|
231
|
+
* _HTTPErrorDetails
|
|
232
|
+
*/
|
|
233
|
+
export type HttpErrorDetails = {
|
|
234
|
+
/**
|
|
235
|
+
* Issues
|
|
236
|
+
*/
|
|
237
|
+
issues?: Array<HttpValidationIssue>;
|
|
238
|
+
/**
|
|
239
|
+
* Request Id
|
|
240
|
+
*/
|
|
241
|
+
request_id: string;
|
|
242
|
+
/**
|
|
243
|
+
* Truncated
|
|
244
|
+
*/
|
|
245
|
+
truncated?: boolean;
|
|
246
|
+
};
|
|
247
|
+
/**
|
|
248
|
+
* _HTTPErrorEnvelope
|
|
249
|
+
*/
|
|
250
|
+
export type HttpErrorEnvelope = {
|
|
251
|
+
/**
|
|
252
|
+
* Code
|
|
253
|
+
*/
|
|
254
|
+
code: string;
|
|
255
|
+
details: HttpErrorDetails;
|
|
256
|
+
/**
|
|
257
|
+
* Message
|
|
258
|
+
*/
|
|
259
|
+
message: string;
|
|
260
|
+
};
|
|
261
|
+
/**
|
|
262
|
+
* _HTTPValidationIssue
|
|
263
|
+
*
|
|
264
|
+
* A bounded validation issue safe to return across the HTTP boundary.
|
|
265
|
+
*/
|
|
266
|
+
export type HttpValidationIssue = {
|
|
267
|
+
/**
|
|
268
|
+
* Location
|
|
269
|
+
*/
|
|
270
|
+
location: Array<string | number>;
|
|
271
|
+
/**
|
|
272
|
+
* Type
|
|
273
|
+
*/
|
|
274
|
+
type: string;
|
|
275
|
+
};
|
|
276
|
+
export type ListBuildsData = {
|
|
277
|
+
body?: never;
|
|
278
|
+
path: {
|
|
279
|
+
/**
|
|
280
|
+
* Application Id
|
|
281
|
+
*/
|
|
282
|
+
application_id: string;
|
|
283
|
+
};
|
|
284
|
+
query?: {
|
|
285
|
+
/**
|
|
286
|
+
* Limit
|
|
287
|
+
*/
|
|
288
|
+
limit?: number;
|
|
289
|
+
/**
|
|
290
|
+
* Cursor
|
|
291
|
+
*/
|
|
292
|
+
cursor?: string | null;
|
|
293
|
+
};
|
|
294
|
+
url: '/v1/applications/{application_id}/builds';
|
|
295
|
+
};
|
|
296
|
+
export type ListBuildsErrors = {
|
|
297
|
+
/**
|
|
298
|
+
* Stable, redacted build diagnostic
|
|
299
|
+
*/
|
|
300
|
+
400: {
|
|
301
|
+
code: string;
|
|
302
|
+
retryable: boolean;
|
|
303
|
+
stage: string;
|
|
304
|
+
};
|
|
305
|
+
/**
|
|
306
|
+
* Stable, redacted build diagnostic
|
|
307
|
+
*/
|
|
308
|
+
401: {
|
|
309
|
+
code: string;
|
|
310
|
+
retryable: boolean;
|
|
311
|
+
stage: string;
|
|
312
|
+
};
|
|
313
|
+
/**
|
|
314
|
+
* Stable, redacted build diagnostic
|
|
315
|
+
*/
|
|
316
|
+
403: {
|
|
317
|
+
code: string;
|
|
318
|
+
retryable: boolean;
|
|
319
|
+
stage: string;
|
|
320
|
+
};
|
|
321
|
+
/**
|
|
322
|
+
* Stable, redacted build diagnostic
|
|
323
|
+
*/
|
|
324
|
+
404: {
|
|
325
|
+
code: string;
|
|
326
|
+
retryable: boolean;
|
|
327
|
+
stage: string;
|
|
328
|
+
};
|
|
329
|
+
/**
|
|
330
|
+
* Stable, redacted build diagnostic
|
|
331
|
+
*/
|
|
332
|
+
409: {
|
|
333
|
+
code: string;
|
|
334
|
+
retryable: boolean;
|
|
335
|
+
stage: string;
|
|
336
|
+
};
|
|
337
|
+
/**
|
|
338
|
+
* Stable, redacted build diagnostic
|
|
339
|
+
*/
|
|
340
|
+
410: {
|
|
341
|
+
code: string;
|
|
342
|
+
retryable: boolean;
|
|
343
|
+
stage: string;
|
|
344
|
+
};
|
|
345
|
+
/**
|
|
346
|
+
* Stable, redacted build diagnostic
|
|
347
|
+
*/
|
|
348
|
+
412: {
|
|
349
|
+
code: string;
|
|
350
|
+
retryable: boolean;
|
|
351
|
+
stage: string;
|
|
352
|
+
};
|
|
353
|
+
/**
|
|
354
|
+
* Stable, redacted build diagnostic
|
|
355
|
+
*/
|
|
356
|
+
413: {
|
|
357
|
+
code: string;
|
|
358
|
+
retryable: boolean;
|
|
359
|
+
stage: string;
|
|
360
|
+
};
|
|
361
|
+
/**
|
|
362
|
+
* Request failed inside the framework boundary
|
|
363
|
+
*/
|
|
364
|
+
500: HttpErrorEnvelope;
|
|
365
|
+
/**
|
|
366
|
+
* Stable, redacted build diagnostic
|
|
367
|
+
*/
|
|
368
|
+
503: {
|
|
369
|
+
code: string;
|
|
370
|
+
retryable: boolean;
|
|
371
|
+
stage: string;
|
|
372
|
+
};
|
|
373
|
+
/**
|
|
374
|
+
* Stable, redacted build diagnostic
|
|
375
|
+
*/
|
|
376
|
+
504: {
|
|
377
|
+
code: string;
|
|
378
|
+
retryable: boolean;
|
|
379
|
+
stage: string;
|
|
380
|
+
};
|
|
381
|
+
};
|
|
382
|
+
export type ListBuildsError = ListBuildsErrors[keyof ListBuildsErrors];
|
|
383
|
+
export type ListBuildsResponses = {
|
|
384
|
+
/**
|
|
385
|
+
* Successful Response
|
|
386
|
+
*/
|
|
387
|
+
200: BuildPage;
|
|
388
|
+
};
|
|
389
|
+
export type ListBuildsResponse = ListBuildsResponses[keyof ListBuildsResponses];
|
|
390
|
+
export type CreateBuildData = {
|
|
391
|
+
body: BuildRequest;
|
|
392
|
+
headers: {
|
|
393
|
+
'Idempotency-Key': string;
|
|
394
|
+
};
|
|
395
|
+
path?: never;
|
|
396
|
+
query?: never;
|
|
397
|
+
url: '/v1/builds';
|
|
398
|
+
};
|
|
399
|
+
export type CreateBuildErrors = {
|
|
400
|
+
/**
|
|
401
|
+
* Stable, redacted build diagnostic
|
|
402
|
+
*/
|
|
403
|
+
400: {
|
|
404
|
+
code: string;
|
|
405
|
+
retryable: boolean;
|
|
406
|
+
stage: string;
|
|
407
|
+
};
|
|
408
|
+
/**
|
|
409
|
+
* Stable, redacted build diagnostic
|
|
410
|
+
*/
|
|
411
|
+
401: {
|
|
412
|
+
code: string;
|
|
413
|
+
retryable: boolean;
|
|
414
|
+
stage: string;
|
|
415
|
+
};
|
|
416
|
+
/**
|
|
417
|
+
* Stable, redacted build diagnostic
|
|
418
|
+
*/
|
|
419
|
+
403: {
|
|
420
|
+
code: string;
|
|
421
|
+
retryable: boolean;
|
|
422
|
+
stage: string;
|
|
423
|
+
};
|
|
424
|
+
/**
|
|
425
|
+
* Stable, redacted build diagnostic
|
|
426
|
+
*/
|
|
427
|
+
404: {
|
|
428
|
+
code: string;
|
|
429
|
+
retryable: boolean;
|
|
430
|
+
stage: string;
|
|
431
|
+
};
|
|
432
|
+
/**
|
|
433
|
+
* Stable, redacted build diagnostic
|
|
434
|
+
*/
|
|
435
|
+
409: {
|
|
436
|
+
code: string;
|
|
437
|
+
retryable: boolean;
|
|
438
|
+
stage: string;
|
|
439
|
+
};
|
|
440
|
+
/**
|
|
441
|
+
* Stable, redacted build diagnostic
|
|
442
|
+
*/
|
|
443
|
+
410: {
|
|
444
|
+
code: string;
|
|
445
|
+
retryable: boolean;
|
|
446
|
+
stage: string;
|
|
447
|
+
};
|
|
448
|
+
/**
|
|
449
|
+
* Stable, redacted build diagnostic
|
|
450
|
+
*/
|
|
451
|
+
412: {
|
|
452
|
+
code: string;
|
|
453
|
+
retryable: boolean;
|
|
454
|
+
stage: string;
|
|
455
|
+
};
|
|
456
|
+
/**
|
|
457
|
+
* Stable, redacted build diagnostic
|
|
458
|
+
*/
|
|
459
|
+
413: {
|
|
460
|
+
code: string;
|
|
461
|
+
retryable: boolean;
|
|
462
|
+
stage: string;
|
|
463
|
+
};
|
|
464
|
+
/**
|
|
465
|
+
* Request failed inside the framework boundary
|
|
466
|
+
*/
|
|
467
|
+
500: HttpErrorEnvelope;
|
|
468
|
+
/**
|
|
469
|
+
* Stable, redacted build diagnostic
|
|
470
|
+
*/
|
|
471
|
+
503: {
|
|
472
|
+
code: string;
|
|
473
|
+
retryable: boolean;
|
|
474
|
+
stage: string;
|
|
475
|
+
};
|
|
476
|
+
/**
|
|
477
|
+
* Stable, redacted build diagnostic
|
|
478
|
+
*/
|
|
479
|
+
504: {
|
|
480
|
+
code: string;
|
|
481
|
+
retryable: boolean;
|
|
482
|
+
stage: string;
|
|
483
|
+
};
|
|
484
|
+
};
|
|
485
|
+
export type CreateBuildError = CreateBuildErrors[keyof CreateBuildErrors];
|
|
486
|
+
export type CreateBuildResponses = {
|
|
487
|
+
/**
|
|
488
|
+
* Successful Response
|
|
489
|
+
*/
|
|
490
|
+
200: BuildView;
|
|
491
|
+
};
|
|
492
|
+
export type CreateBuildResponse = CreateBuildResponses[keyof CreateBuildResponses];
|
|
493
|
+
export type GetBuildData = {
|
|
494
|
+
body?: never;
|
|
495
|
+
path: {
|
|
496
|
+
/**
|
|
497
|
+
* Build Id
|
|
498
|
+
*/
|
|
499
|
+
build_id: string;
|
|
500
|
+
};
|
|
501
|
+
query?: never;
|
|
502
|
+
url: '/v1/builds/{build_id}';
|
|
503
|
+
};
|
|
504
|
+
export type GetBuildErrors = {
|
|
505
|
+
/**
|
|
506
|
+
* Stable, redacted build diagnostic
|
|
507
|
+
*/
|
|
508
|
+
400: {
|
|
509
|
+
code: string;
|
|
510
|
+
retryable: boolean;
|
|
511
|
+
stage: string;
|
|
512
|
+
};
|
|
513
|
+
/**
|
|
514
|
+
* Stable, redacted build diagnostic
|
|
515
|
+
*/
|
|
516
|
+
401: {
|
|
517
|
+
code: string;
|
|
518
|
+
retryable: boolean;
|
|
519
|
+
stage: string;
|
|
520
|
+
};
|
|
521
|
+
/**
|
|
522
|
+
* Stable, redacted build diagnostic
|
|
523
|
+
*/
|
|
524
|
+
403: {
|
|
525
|
+
code: string;
|
|
526
|
+
retryable: boolean;
|
|
527
|
+
stage: string;
|
|
528
|
+
};
|
|
529
|
+
/**
|
|
530
|
+
* Stable, redacted build diagnostic
|
|
531
|
+
*/
|
|
532
|
+
404: {
|
|
533
|
+
code: string;
|
|
534
|
+
retryable: boolean;
|
|
535
|
+
stage: string;
|
|
536
|
+
};
|
|
537
|
+
/**
|
|
538
|
+
* Stable, redacted build diagnostic
|
|
539
|
+
*/
|
|
540
|
+
409: {
|
|
541
|
+
code: string;
|
|
542
|
+
retryable: boolean;
|
|
543
|
+
stage: string;
|
|
544
|
+
};
|
|
545
|
+
/**
|
|
546
|
+
* Stable, redacted build diagnostic
|
|
547
|
+
*/
|
|
548
|
+
410: {
|
|
549
|
+
code: string;
|
|
550
|
+
retryable: boolean;
|
|
551
|
+
stage: string;
|
|
552
|
+
};
|
|
553
|
+
/**
|
|
554
|
+
* Stable, redacted build diagnostic
|
|
555
|
+
*/
|
|
556
|
+
412: {
|
|
557
|
+
code: string;
|
|
558
|
+
retryable: boolean;
|
|
559
|
+
stage: string;
|
|
560
|
+
};
|
|
561
|
+
/**
|
|
562
|
+
* Stable, redacted build diagnostic
|
|
563
|
+
*/
|
|
564
|
+
413: {
|
|
565
|
+
code: string;
|
|
566
|
+
retryable: boolean;
|
|
567
|
+
stage: string;
|
|
568
|
+
};
|
|
569
|
+
/**
|
|
570
|
+
* Request failed inside the framework boundary
|
|
571
|
+
*/
|
|
572
|
+
500: HttpErrorEnvelope;
|
|
573
|
+
/**
|
|
574
|
+
* Stable, redacted build diagnostic
|
|
575
|
+
*/
|
|
576
|
+
503: {
|
|
577
|
+
code: string;
|
|
578
|
+
retryable: boolean;
|
|
579
|
+
stage: string;
|
|
580
|
+
};
|
|
581
|
+
/**
|
|
582
|
+
* Stable, redacted build diagnostic
|
|
583
|
+
*/
|
|
584
|
+
504: {
|
|
585
|
+
code: string;
|
|
586
|
+
retryable: boolean;
|
|
587
|
+
stage: string;
|
|
588
|
+
};
|
|
589
|
+
};
|
|
590
|
+
export type GetBuildError = GetBuildErrors[keyof GetBuildErrors];
|
|
591
|
+
export type GetBuildResponses = {
|
|
592
|
+
/**
|
|
593
|
+
* Successful Response
|
|
594
|
+
*/
|
|
595
|
+
200: BuildView;
|
|
596
|
+
};
|
|
597
|
+
export type GetBuildResponse = GetBuildResponses[keyof GetBuildResponses];
|
|
598
|
+
export type RetryBuildData = {
|
|
599
|
+
body?: never;
|
|
600
|
+
headers: {
|
|
601
|
+
'Idempotency-Key': string;
|
|
602
|
+
};
|
|
603
|
+
path: {
|
|
604
|
+
/**
|
|
605
|
+
* Build Id
|
|
606
|
+
*/
|
|
607
|
+
build_id: string;
|
|
608
|
+
};
|
|
609
|
+
query?: never;
|
|
610
|
+
url: '/v1/builds/{build_id}/retry';
|
|
611
|
+
};
|
|
612
|
+
export type RetryBuildErrors = {
|
|
613
|
+
/**
|
|
614
|
+
* Stable, redacted build diagnostic
|
|
615
|
+
*/
|
|
616
|
+
400: {
|
|
617
|
+
code: string;
|
|
618
|
+
retryable: boolean;
|
|
619
|
+
stage: string;
|
|
620
|
+
};
|
|
621
|
+
/**
|
|
622
|
+
* Stable, redacted build diagnostic
|
|
623
|
+
*/
|
|
624
|
+
401: {
|
|
625
|
+
code: string;
|
|
626
|
+
retryable: boolean;
|
|
627
|
+
stage: string;
|
|
628
|
+
};
|
|
629
|
+
/**
|
|
630
|
+
* Stable, redacted build diagnostic
|
|
631
|
+
*/
|
|
632
|
+
403: {
|
|
633
|
+
code: string;
|
|
634
|
+
retryable: boolean;
|
|
635
|
+
stage: string;
|
|
636
|
+
};
|
|
637
|
+
/**
|
|
638
|
+
* Stable, redacted build diagnostic
|
|
639
|
+
*/
|
|
640
|
+
404: {
|
|
641
|
+
code: string;
|
|
642
|
+
retryable: boolean;
|
|
643
|
+
stage: string;
|
|
644
|
+
};
|
|
645
|
+
/**
|
|
646
|
+
* Stable, redacted build diagnostic
|
|
647
|
+
*/
|
|
648
|
+
409: {
|
|
649
|
+
code: string;
|
|
650
|
+
retryable: boolean;
|
|
651
|
+
stage: string;
|
|
652
|
+
};
|
|
653
|
+
/**
|
|
654
|
+
* Stable, redacted build diagnostic
|
|
655
|
+
*/
|
|
656
|
+
410: {
|
|
657
|
+
code: string;
|
|
658
|
+
retryable: boolean;
|
|
659
|
+
stage: string;
|
|
660
|
+
};
|
|
661
|
+
/**
|
|
662
|
+
* Stable, redacted build diagnostic
|
|
663
|
+
*/
|
|
664
|
+
412: {
|
|
665
|
+
code: string;
|
|
666
|
+
retryable: boolean;
|
|
667
|
+
stage: string;
|
|
668
|
+
};
|
|
669
|
+
/**
|
|
670
|
+
* Stable, redacted build diagnostic
|
|
671
|
+
*/
|
|
672
|
+
413: {
|
|
673
|
+
code: string;
|
|
674
|
+
retryable: boolean;
|
|
675
|
+
stage: string;
|
|
676
|
+
};
|
|
677
|
+
/**
|
|
678
|
+
* Request failed inside the framework boundary
|
|
679
|
+
*/
|
|
680
|
+
500: HttpErrorEnvelope;
|
|
681
|
+
/**
|
|
682
|
+
* Stable, redacted build diagnostic
|
|
683
|
+
*/
|
|
684
|
+
503: {
|
|
685
|
+
code: string;
|
|
686
|
+
retryable: boolean;
|
|
687
|
+
stage: string;
|
|
688
|
+
};
|
|
689
|
+
/**
|
|
690
|
+
* Stable, redacted build diagnostic
|
|
691
|
+
*/
|
|
692
|
+
504: {
|
|
693
|
+
code: string;
|
|
694
|
+
retryable: boolean;
|
|
695
|
+
stage: string;
|
|
696
|
+
};
|
|
697
|
+
};
|
|
698
|
+
export type RetryBuildError = RetryBuildErrors[keyof RetryBuildErrors];
|
|
699
|
+
export type RetryBuildResponses = {
|
|
700
|
+
/**
|
|
701
|
+
* Successful Response
|
|
702
|
+
*/
|
|
703
|
+
200: BuildView;
|
|
704
|
+
};
|
|
705
|
+
export type RetryBuildResponse = RetryBuildResponses[keyof RetryBuildResponses];
|