@zephytiju/juntai-typescript-sdk 2.2.0 → 3.1.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 +13 -0
- package/README.md +2 -1
- package/dist/clients/platform.vangu-deployment/index.d.ts +5 -0
- package/dist/clients/platform.vangu-deployment/index.js +4 -0
- package/dist/generated/platform.application-metadata/types.gen.d.ts +8 -0
- package/dist/generated/platform.vangu-deployment/client/client.gen.d.ts +2 -0
- package/dist/generated/platform.vangu-deployment/client/client.gen.js +216 -0
- package/dist/generated/platform.vangu-deployment/client/index.d.ts +10 -0
- package/dist/generated/platform.vangu-deployment/client/index.js +6 -0
- package/dist/generated/platform.vangu-deployment/client/types.gen.d.ts +120 -0
- package/dist/generated/platform.vangu-deployment/client/types.gen.js +2 -0
- package/dist/generated/platform.vangu-deployment/client/utils.gen.d.ts +37 -0
- package/dist/generated/platform.vangu-deployment/client/utils.gen.js +228 -0
- package/dist/generated/platform.vangu-deployment/client.gen.d.ts +12 -0
- package/dist/generated/platform.vangu-deployment/client.gen.js +3 -0
- package/dist/generated/platform.vangu-deployment/core/auth.gen.d.ts +25 -0
- package/dist/generated/platform.vangu-deployment/core/auth.gen.js +14 -0
- package/dist/generated/platform.vangu-deployment/core/bodySerializer.gen.d.ts +25 -0
- package/dist/generated/platform.vangu-deployment/core/bodySerializer.gen.js +57 -0
- package/dist/generated/platform.vangu-deployment/core/params.gen.d.ts +43 -0
- package/dist/generated/platform.vangu-deployment/core/params.gen.js +109 -0
- package/dist/generated/platform.vangu-deployment/core/pathSerializer.gen.d.ts +33 -0
- package/dist/generated/platform.vangu-deployment/core/pathSerializer.gen.js +106 -0
- package/dist/generated/platform.vangu-deployment/core/queryKeySerializer.gen.d.ts +18 -0
- package/dist/generated/platform.vangu-deployment/core/queryKeySerializer.gen.js +92 -0
- package/dist/generated/platform.vangu-deployment/core/serverSentEvents.gen.d.ts +71 -0
- package/dist/generated/platform.vangu-deployment/core/serverSentEvents.gen.js +132 -0
- package/dist/generated/platform.vangu-deployment/core/types.gen.d.ts +83 -0
- package/dist/generated/platform.vangu-deployment/core/types.gen.js +2 -0
- package/dist/generated/platform.vangu-deployment/core/utils.gen.d.ts +19 -0
- package/dist/generated/platform.vangu-deployment/core/utils.gen.js +87 -0
- package/dist/generated/platform.vangu-deployment/index.d.ts +2 -0
- package/dist/generated/platform.vangu-deployment/index.js +2 -0
- package/dist/generated/platform.vangu-deployment/sdk.gen.d.ts +35 -0
- package/dist/generated/platform.vangu-deployment/sdk.gen.js +46 -0
- package/dist/generated/platform.vangu-deployment/types.gen.d.ts +660 -0
- package/dist/generated/platform.vangu-deployment/types.gen.js +2 -0
- package/dist/index.d.ts +3 -1
- package/dist/index.js +3 -1
- package/dist/release-manifest.json +22 -8
- package/package.json +8 -1
- package/sources/openapi.lock.json +27 -8
|
@@ -0,0 +1,660 @@
|
|
|
1
|
+
export type ClientOptions = {
|
|
2
|
+
baseUrl: `${string}://${string}` | (string & {});
|
|
3
|
+
};
|
|
4
|
+
/**
|
|
5
|
+
* CancelExecutionResponse
|
|
6
|
+
*/
|
|
7
|
+
export type CancelExecutionResponse = {
|
|
8
|
+
/**
|
|
9
|
+
* Cancellation Requested At
|
|
10
|
+
*/
|
|
11
|
+
cancellation_requested_at: string;
|
|
12
|
+
/**
|
|
13
|
+
* Deployment Execution Id
|
|
14
|
+
*/
|
|
15
|
+
deployment_execution_id: string;
|
|
16
|
+
state: ExecutionState;
|
|
17
|
+
/**
|
|
18
|
+
* Terminal
|
|
19
|
+
*/
|
|
20
|
+
terminal: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Trace Id
|
|
23
|
+
*/
|
|
24
|
+
trace_id: string;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* CapabilityContract
|
|
28
|
+
*/
|
|
29
|
+
export type CapabilityContract = {
|
|
30
|
+
/**
|
|
31
|
+
* Adapter Id
|
|
32
|
+
*/
|
|
33
|
+
adapter_id?: string | null;
|
|
34
|
+
/**
|
|
35
|
+
* Contract Version
|
|
36
|
+
*/
|
|
37
|
+
contract_version: string;
|
|
38
|
+
/**
|
|
39
|
+
* Key
|
|
40
|
+
*/
|
|
41
|
+
key: string;
|
|
42
|
+
/**
|
|
43
|
+
* Provider Specific
|
|
44
|
+
*/
|
|
45
|
+
provider_specific?: boolean;
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* ConnectionState
|
|
49
|
+
*/
|
|
50
|
+
export type ConnectionState = 'available' | 'degraded' | 'unavailable';
|
|
51
|
+
/**
|
|
52
|
+
* CreateExecutionRequest
|
|
53
|
+
*/
|
|
54
|
+
export type CreateExecutionRequest = {
|
|
55
|
+
/**
|
|
56
|
+
* Application Id
|
|
57
|
+
*/
|
|
58
|
+
application_id: string;
|
|
59
|
+
/**
|
|
60
|
+
* Application Version Id
|
|
61
|
+
*/
|
|
62
|
+
application_version_id: string;
|
|
63
|
+
operation: Operation;
|
|
64
|
+
/**
|
|
65
|
+
* Target Id
|
|
66
|
+
*/
|
|
67
|
+
target_id: string;
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* DeploymentExecution
|
|
71
|
+
*/
|
|
72
|
+
export type DeploymentExecution = {
|
|
73
|
+
/**
|
|
74
|
+
* Application Id
|
|
75
|
+
*/
|
|
76
|
+
application_id: string;
|
|
77
|
+
/**
|
|
78
|
+
* Application Version Id
|
|
79
|
+
*/
|
|
80
|
+
application_version_id: string;
|
|
81
|
+
/**
|
|
82
|
+
* Created At
|
|
83
|
+
*/
|
|
84
|
+
created_at: string;
|
|
85
|
+
/**
|
|
86
|
+
* Deployment Execution Id
|
|
87
|
+
*/
|
|
88
|
+
deployment_execution_id: string;
|
|
89
|
+
/**
|
|
90
|
+
* Evidence Locator
|
|
91
|
+
*/
|
|
92
|
+
evidence_locator?: string | null;
|
|
93
|
+
failure?: ExecutionFailure | null;
|
|
94
|
+
/**
|
|
95
|
+
* Logs Locator
|
|
96
|
+
*/
|
|
97
|
+
logs_locator?: string | null;
|
|
98
|
+
operation: Operation;
|
|
99
|
+
/**
|
|
100
|
+
* Outputs
|
|
101
|
+
*/
|
|
102
|
+
outputs?: {
|
|
103
|
+
[key: string]: string;
|
|
104
|
+
};
|
|
105
|
+
/**
|
|
106
|
+
* Phase
|
|
107
|
+
*/
|
|
108
|
+
phase?: string | null;
|
|
109
|
+
/**
|
|
110
|
+
* Schema Version
|
|
111
|
+
*/
|
|
112
|
+
schema_version?: 'juntai.vangu/deployment-execution/v1';
|
|
113
|
+
state: ExecutionState;
|
|
114
|
+
/**
|
|
115
|
+
* Target Id
|
|
116
|
+
*/
|
|
117
|
+
target_id: string;
|
|
118
|
+
/**
|
|
119
|
+
* Terminal
|
|
120
|
+
*/
|
|
121
|
+
terminal: boolean;
|
|
122
|
+
/**
|
|
123
|
+
* Trace Id
|
|
124
|
+
*/
|
|
125
|
+
trace_id: string;
|
|
126
|
+
/**
|
|
127
|
+
* Updated At
|
|
128
|
+
*/
|
|
129
|
+
updated_at: string;
|
|
130
|
+
verified_input: VerifiedInputEvidence;
|
|
131
|
+
};
|
|
132
|
+
/**
|
|
133
|
+
* DeploymentExecutionPage
|
|
134
|
+
*/
|
|
135
|
+
export type DeploymentExecutionPage = {
|
|
136
|
+
/**
|
|
137
|
+
* Items
|
|
138
|
+
*/
|
|
139
|
+
items: Array<DeploymentExecution>;
|
|
140
|
+
/**
|
|
141
|
+
* Next Cursor
|
|
142
|
+
*/
|
|
143
|
+
next_cursor?: string | null;
|
|
144
|
+
};
|
|
145
|
+
/**
|
|
146
|
+
* ExecutionFailure
|
|
147
|
+
*/
|
|
148
|
+
export type ExecutionFailure = {
|
|
149
|
+
/**
|
|
150
|
+
* Affected Path
|
|
151
|
+
*/
|
|
152
|
+
affected_path?: string | null;
|
|
153
|
+
/**
|
|
154
|
+
* Code
|
|
155
|
+
*/
|
|
156
|
+
code: string;
|
|
157
|
+
/**
|
|
158
|
+
* Retryable
|
|
159
|
+
*/
|
|
160
|
+
retryable?: boolean;
|
|
161
|
+
};
|
|
162
|
+
/**
|
|
163
|
+
* ExecutionState
|
|
164
|
+
*/
|
|
165
|
+
export type ExecutionState = 'ACCEPTED' | 'VERIFYING' | 'WAITING_FOR_TARGET' | 'DISPATCHED' | 'TRANSFERRING' | 'PREVIEWING' | 'APPLYING' | 'REMOVING' | 'RECONCILING' | 'CANCEL_REQUESTED' | 'SUCCEEDED' | 'FAILED' | 'CANCELED';
|
|
166
|
+
/**
|
|
167
|
+
* HTTPValidationError
|
|
168
|
+
*/
|
|
169
|
+
export type HttpValidationError = {
|
|
170
|
+
/**
|
|
171
|
+
* Detail
|
|
172
|
+
*/
|
|
173
|
+
detail?: Array<ValidationError>;
|
|
174
|
+
};
|
|
175
|
+
/**
|
|
176
|
+
* HealthResponse
|
|
177
|
+
*/
|
|
178
|
+
export type HealthResponse = {
|
|
179
|
+
/**
|
|
180
|
+
* Service
|
|
181
|
+
*/
|
|
182
|
+
service?: 'vangu-deployment';
|
|
183
|
+
/**
|
|
184
|
+
* Status
|
|
185
|
+
*/
|
|
186
|
+
status?: 'ok';
|
|
187
|
+
};
|
|
188
|
+
/**
|
|
189
|
+
* Operation
|
|
190
|
+
*/
|
|
191
|
+
export type Operation = 'PREVIEW' | 'APPLY' | 'REMOVE';
|
|
192
|
+
/**
|
|
193
|
+
* ProblemDetails
|
|
194
|
+
*/
|
|
195
|
+
export type ProblemDetails = {
|
|
196
|
+
/**
|
|
197
|
+
* Affected Path
|
|
198
|
+
*/
|
|
199
|
+
affected_path?: string | null;
|
|
200
|
+
/**
|
|
201
|
+
* Code
|
|
202
|
+
*/
|
|
203
|
+
code: string;
|
|
204
|
+
/**
|
|
205
|
+
* Correlation Id
|
|
206
|
+
*/
|
|
207
|
+
correlation_id: string;
|
|
208
|
+
/**
|
|
209
|
+
* Detail
|
|
210
|
+
*/
|
|
211
|
+
detail: string;
|
|
212
|
+
/**
|
|
213
|
+
* Instance
|
|
214
|
+
*/
|
|
215
|
+
instance: string;
|
|
216
|
+
/**
|
|
217
|
+
* Retry After Seconds
|
|
218
|
+
*/
|
|
219
|
+
retry_after_seconds?: number | null;
|
|
220
|
+
/**
|
|
221
|
+
* Retryable
|
|
222
|
+
*/
|
|
223
|
+
retryable: boolean;
|
|
224
|
+
/**
|
|
225
|
+
* Status
|
|
226
|
+
*/
|
|
227
|
+
status: number;
|
|
228
|
+
/**
|
|
229
|
+
* Title
|
|
230
|
+
*/
|
|
231
|
+
title: string;
|
|
232
|
+
/**
|
|
233
|
+
* Type
|
|
234
|
+
*/
|
|
235
|
+
type: string;
|
|
236
|
+
};
|
|
237
|
+
/**
|
|
238
|
+
* TargetSummary
|
|
239
|
+
*/
|
|
240
|
+
export type TargetSummary = {
|
|
241
|
+
/**
|
|
242
|
+
* Agent Version
|
|
243
|
+
*/
|
|
244
|
+
agent_version: string;
|
|
245
|
+
/**
|
|
246
|
+
* Artifact Mode
|
|
247
|
+
*/
|
|
248
|
+
artifact_mode?: 'direct-oci-pull';
|
|
249
|
+
/**
|
|
250
|
+
* Capability Digest
|
|
251
|
+
*/
|
|
252
|
+
capability_digest: string;
|
|
253
|
+
connection_state: ConnectionState;
|
|
254
|
+
/**
|
|
255
|
+
* Descriptor Revision
|
|
256
|
+
*/
|
|
257
|
+
descriptor_revision: number;
|
|
258
|
+
/**
|
|
259
|
+
* Substrate Class
|
|
260
|
+
*/
|
|
261
|
+
substrate_class: string;
|
|
262
|
+
/**
|
|
263
|
+
* Supported Capability Contracts
|
|
264
|
+
*/
|
|
265
|
+
supported_capability_contracts: Array<CapabilityContract>;
|
|
266
|
+
/**
|
|
267
|
+
* Target Id
|
|
268
|
+
*/
|
|
269
|
+
target_id: string;
|
|
270
|
+
};
|
|
271
|
+
/**
|
|
272
|
+
* ValidationError
|
|
273
|
+
*/
|
|
274
|
+
export type ValidationError = {
|
|
275
|
+
/**
|
|
276
|
+
* Context
|
|
277
|
+
*/
|
|
278
|
+
ctx?: {
|
|
279
|
+
[key: string]: unknown;
|
|
280
|
+
};
|
|
281
|
+
/**
|
|
282
|
+
* Input
|
|
283
|
+
*/
|
|
284
|
+
input?: unknown;
|
|
285
|
+
/**
|
|
286
|
+
* Location
|
|
287
|
+
*/
|
|
288
|
+
loc: Array<string | number>;
|
|
289
|
+
/**
|
|
290
|
+
* Message
|
|
291
|
+
*/
|
|
292
|
+
msg: string;
|
|
293
|
+
/**
|
|
294
|
+
* Error Type
|
|
295
|
+
*/
|
|
296
|
+
type: string;
|
|
297
|
+
};
|
|
298
|
+
/**
|
|
299
|
+
* VerifiedInputEvidence
|
|
300
|
+
*/
|
|
301
|
+
export type VerifiedInputEvidence = {
|
|
302
|
+
/**
|
|
303
|
+
* Handoff Digest
|
|
304
|
+
*/
|
|
305
|
+
handoff_digest: string;
|
|
306
|
+
/**
|
|
307
|
+
* Package Graph Digest
|
|
308
|
+
*/
|
|
309
|
+
package_graph_digest: string;
|
|
310
|
+
/**
|
|
311
|
+
* Target Capability Digest
|
|
312
|
+
*/
|
|
313
|
+
target_capability_digest: string;
|
|
314
|
+
/**
|
|
315
|
+
* Target Descriptor Revision
|
|
316
|
+
*/
|
|
317
|
+
target_descriptor_revision: number;
|
|
318
|
+
};
|
|
319
|
+
/**
|
|
320
|
+
* _HTTPErrorDetails
|
|
321
|
+
*/
|
|
322
|
+
export type HttpErrorDetails = {
|
|
323
|
+
/**
|
|
324
|
+
* Issues
|
|
325
|
+
*/
|
|
326
|
+
issues?: Array<HttpValidationIssue>;
|
|
327
|
+
/**
|
|
328
|
+
* Request Id
|
|
329
|
+
*/
|
|
330
|
+
request_id: string;
|
|
331
|
+
/**
|
|
332
|
+
* Truncated
|
|
333
|
+
*/
|
|
334
|
+
truncated?: boolean;
|
|
335
|
+
};
|
|
336
|
+
/**
|
|
337
|
+
* _HTTPErrorEnvelope
|
|
338
|
+
*/
|
|
339
|
+
export type HttpErrorEnvelope = {
|
|
340
|
+
/**
|
|
341
|
+
* Code
|
|
342
|
+
*/
|
|
343
|
+
code: string;
|
|
344
|
+
details: HttpErrorDetails;
|
|
345
|
+
/**
|
|
346
|
+
* Message
|
|
347
|
+
*/
|
|
348
|
+
message: string;
|
|
349
|
+
};
|
|
350
|
+
/**
|
|
351
|
+
* _HTTPValidationIssue
|
|
352
|
+
*
|
|
353
|
+
* A bounded validation issue safe to return across the HTTP boundary.
|
|
354
|
+
*/
|
|
355
|
+
export type HttpValidationIssue = {
|
|
356
|
+
/**
|
|
357
|
+
* Location
|
|
358
|
+
*/
|
|
359
|
+
location: Array<string | number>;
|
|
360
|
+
/**
|
|
361
|
+
* Type
|
|
362
|
+
*/
|
|
363
|
+
type: string;
|
|
364
|
+
};
|
|
365
|
+
export type ListDeploymentExecutionsData = {
|
|
366
|
+
body?: never;
|
|
367
|
+
path?: never;
|
|
368
|
+
query?: {
|
|
369
|
+
/**
|
|
370
|
+
* Application Id
|
|
371
|
+
*/
|
|
372
|
+
application_id?: string | null;
|
|
373
|
+
/**
|
|
374
|
+
* Target Id
|
|
375
|
+
*/
|
|
376
|
+
target_id?: string | null;
|
|
377
|
+
/**
|
|
378
|
+
* Operation
|
|
379
|
+
*/
|
|
380
|
+
operation?: Operation | null;
|
|
381
|
+
/**
|
|
382
|
+
* State
|
|
383
|
+
*/
|
|
384
|
+
state?: ExecutionState | null;
|
|
385
|
+
/**
|
|
386
|
+
* Terminal
|
|
387
|
+
*/
|
|
388
|
+
terminal?: boolean | null;
|
|
389
|
+
/**
|
|
390
|
+
* Page Size
|
|
391
|
+
*/
|
|
392
|
+
page_size?: number;
|
|
393
|
+
/**
|
|
394
|
+
* Cursor
|
|
395
|
+
*/
|
|
396
|
+
cursor?: string | null;
|
|
397
|
+
};
|
|
398
|
+
url: '/v1/deployment-executions';
|
|
399
|
+
};
|
|
400
|
+
export type ListDeploymentExecutionsErrors = {
|
|
401
|
+
/**
|
|
402
|
+
* RFC 9457 problem details with bounded retry guidance
|
|
403
|
+
*/
|
|
404
|
+
400: ProblemDetails;
|
|
405
|
+
/**
|
|
406
|
+
* RFC 9457 problem details with bounded retry guidance
|
|
407
|
+
*/
|
|
408
|
+
401: ProblemDetails;
|
|
409
|
+
/**
|
|
410
|
+
* RFC 9457 problem details with bounded retry guidance
|
|
411
|
+
*/
|
|
412
|
+
403: ProblemDetails;
|
|
413
|
+
/**
|
|
414
|
+
* RFC 9457 problem details with bounded retry guidance
|
|
415
|
+
*/
|
|
416
|
+
404: ProblemDetails;
|
|
417
|
+
/**
|
|
418
|
+
* RFC 9457 problem details with bounded retry guidance
|
|
419
|
+
*/
|
|
420
|
+
409: ProblemDetails;
|
|
421
|
+
/**
|
|
422
|
+
* RFC 9457 problem details with bounded retry guidance
|
|
423
|
+
*/
|
|
424
|
+
422: ProblemDetails;
|
|
425
|
+
/**
|
|
426
|
+
* RFC 9457 problem details with bounded retry guidance
|
|
427
|
+
*/
|
|
428
|
+
500: ProblemDetails;
|
|
429
|
+
/**
|
|
430
|
+
* RFC 9457 problem details with bounded retry guidance
|
|
431
|
+
*/
|
|
432
|
+
503: ProblemDetails;
|
|
433
|
+
};
|
|
434
|
+
export type ListDeploymentExecutionsError = ListDeploymentExecutionsErrors[keyof ListDeploymentExecutionsErrors];
|
|
435
|
+
export type ListDeploymentExecutionsResponses = {
|
|
436
|
+
/**
|
|
437
|
+
* Successful Response
|
|
438
|
+
*/
|
|
439
|
+
200: DeploymentExecutionPage;
|
|
440
|
+
};
|
|
441
|
+
export type ListDeploymentExecutionsResponse = ListDeploymentExecutionsResponses[keyof ListDeploymentExecutionsResponses];
|
|
442
|
+
export type CreateDeploymentExecutionData = {
|
|
443
|
+
body: CreateExecutionRequest;
|
|
444
|
+
headers: {
|
|
445
|
+
/**
|
|
446
|
+
* Tenant- and operation-scoped semantic idempotency key.
|
|
447
|
+
*/
|
|
448
|
+
'Idempotency-Key': string;
|
|
449
|
+
};
|
|
450
|
+
path?: never;
|
|
451
|
+
query?: never;
|
|
452
|
+
url: '/v1/deployment-executions';
|
|
453
|
+
};
|
|
454
|
+
export type CreateDeploymentExecutionErrors = {
|
|
455
|
+
/**
|
|
456
|
+
* RFC 9457 problem details with bounded retry guidance
|
|
457
|
+
*/
|
|
458
|
+
400: ProblemDetails;
|
|
459
|
+
/**
|
|
460
|
+
* RFC 9457 problem details with bounded retry guidance
|
|
461
|
+
*/
|
|
462
|
+
401: ProblemDetails;
|
|
463
|
+
/**
|
|
464
|
+
* RFC 9457 problem details with bounded retry guidance
|
|
465
|
+
*/
|
|
466
|
+
403: ProblemDetails;
|
|
467
|
+
/**
|
|
468
|
+
* RFC 9457 problem details with bounded retry guidance
|
|
469
|
+
*/
|
|
470
|
+
404: ProblemDetails;
|
|
471
|
+
/**
|
|
472
|
+
* RFC 9457 problem details with bounded retry guidance
|
|
473
|
+
*/
|
|
474
|
+
409: ProblemDetails;
|
|
475
|
+
/**
|
|
476
|
+
* RFC 9457 problem details with bounded retry guidance
|
|
477
|
+
*/
|
|
478
|
+
422: ProblemDetails;
|
|
479
|
+
/**
|
|
480
|
+
* RFC 9457 problem details with bounded retry guidance
|
|
481
|
+
*/
|
|
482
|
+
500: ProblemDetails;
|
|
483
|
+
/**
|
|
484
|
+
* RFC 9457 problem details with bounded retry guidance
|
|
485
|
+
*/
|
|
486
|
+
503: ProblemDetails;
|
|
487
|
+
};
|
|
488
|
+
export type CreateDeploymentExecutionError = CreateDeploymentExecutionErrors[keyof CreateDeploymentExecutionErrors];
|
|
489
|
+
export type CreateDeploymentExecutionResponses = {
|
|
490
|
+
/**
|
|
491
|
+
* Successful Response
|
|
492
|
+
*/
|
|
493
|
+
202: DeploymentExecution;
|
|
494
|
+
};
|
|
495
|
+
export type CreateDeploymentExecutionResponse = CreateDeploymentExecutionResponses[keyof CreateDeploymentExecutionResponses];
|
|
496
|
+
export type GetDeploymentExecutionData = {
|
|
497
|
+
body?: never;
|
|
498
|
+
path: {
|
|
499
|
+
/**
|
|
500
|
+
* Execution Id
|
|
501
|
+
*/
|
|
502
|
+
execution_id: string;
|
|
503
|
+
};
|
|
504
|
+
query?: never;
|
|
505
|
+
url: '/v1/deployment-executions/{execution_id}';
|
|
506
|
+
};
|
|
507
|
+
export type GetDeploymentExecutionErrors = {
|
|
508
|
+
/**
|
|
509
|
+
* RFC 9457 problem details with bounded retry guidance
|
|
510
|
+
*/
|
|
511
|
+
400: ProblemDetails;
|
|
512
|
+
/**
|
|
513
|
+
* RFC 9457 problem details with bounded retry guidance
|
|
514
|
+
*/
|
|
515
|
+
401: ProblemDetails;
|
|
516
|
+
/**
|
|
517
|
+
* RFC 9457 problem details with bounded retry guidance
|
|
518
|
+
*/
|
|
519
|
+
403: ProblemDetails;
|
|
520
|
+
/**
|
|
521
|
+
* RFC 9457 problem details with bounded retry guidance
|
|
522
|
+
*/
|
|
523
|
+
404: ProblemDetails;
|
|
524
|
+
/**
|
|
525
|
+
* RFC 9457 problem details with bounded retry guidance
|
|
526
|
+
*/
|
|
527
|
+
409: ProblemDetails;
|
|
528
|
+
/**
|
|
529
|
+
* RFC 9457 problem details with bounded retry guidance
|
|
530
|
+
*/
|
|
531
|
+
422: ProblemDetails;
|
|
532
|
+
/**
|
|
533
|
+
* RFC 9457 problem details with bounded retry guidance
|
|
534
|
+
*/
|
|
535
|
+
500: ProblemDetails;
|
|
536
|
+
/**
|
|
537
|
+
* RFC 9457 problem details with bounded retry guidance
|
|
538
|
+
*/
|
|
539
|
+
503: ProblemDetails;
|
|
540
|
+
};
|
|
541
|
+
export type GetDeploymentExecutionError = GetDeploymentExecutionErrors[keyof GetDeploymentExecutionErrors];
|
|
542
|
+
export type GetDeploymentExecutionResponses = {
|
|
543
|
+
/**
|
|
544
|
+
* Successful Response
|
|
545
|
+
*/
|
|
546
|
+
200: DeploymentExecution;
|
|
547
|
+
};
|
|
548
|
+
export type GetDeploymentExecutionResponse = GetDeploymentExecutionResponses[keyof GetDeploymentExecutionResponses];
|
|
549
|
+
export type CancelDeploymentExecutionData = {
|
|
550
|
+
body?: never;
|
|
551
|
+
headers: {
|
|
552
|
+
/**
|
|
553
|
+
* Tenant- and operation-scoped semantic idempotency key.
|
|
554
|
+
*/
|
|
555
|
+
'Idempotency-Key': string;
|
|
556
|
+
};
|
|
557
|
+
path: {
|
|
558
|
+
/**
|
|
559
|
+
* Execution Id
|
|
560
|
+
*/
|
|
561
|
+
execution_id: string;
|
|
562
|
+
};
|
|
563
|
+
query?: never;
|
|
564
|
+
url: '/v1/deployment-executions/{execution_id}/cancel';
|
|
565
|
+
};
|
|
566
|
+
export type CancelDeploymentExecutionErrors = {
|
|
567
|
+
/**
|
|
568
|
+
* RFC 9457 problem details with bounded retry guidance
|
|
569
|
+
*/
|
|
570
|
+
400: ProblemDetails;
|
|
571
|
+
/**
|
|
572
|
+
* RFC 9457 problem details with bounded retry guidance
|
|
573
|
+
*/
|
|
574
|
+
401: ProblemDetails;
|
|
575
|
+
/**
|
|
576
|
+
* RFC 9457 problem details with bounded retry guidance
|
|
577
|
+
*/
|
|
578
|
+
403: ProblemDetails;
|
|
579
|
+
/**
|
|
580
|
+
* RFC 9457 problem details with bounded retry guidance
|
|
581
|
+
*/
|
|
582
|
+
404: ProblemDetails;
|
|
583
|
+
/**
|
|
584
|
+
* RFC 9457 problem details with bounded retry guidance
|
|
585
|
+
*/
|
|
586
|
+
409: ProblemDetails;
|
|
587
|
+
/**
|
|
588
|
+
* RFC 9457 problem details with bounded retry guidance
|
|
589
|
+
*/
|
|
590
|
+
422: ProblemDetails;
|
|
591
|
+
/**
|
|
592
|
+
* RFC 9457 problem details with bounded retry guidance
|
|
593
|
+
*/
|
|
594
|
+
500: ProblemDetails;
|
|
595
|
+
/**
|
|
596
|
+
* RFC 9457 problem details with bounded retry guidance
|
|
597
|
+
*/
|
|
598
|
+
503: ProblemDetails;
|
|
599
|
+
};
|
|
600
|
+
export type CancelDeploymentExecutionError = CancelDeploymentExecutionErrors[keyof CancelDeploymentExecutionErrors];
|
|
601
|
+
export type CancelDeploymentExecutionResponses = {
|
|
602
|
+
/**
|
|
603
|
+
* Successful Response
|
|
604
|
+
*/
|
|
605
|
+
200: CancelExecutionResponse;
|
|
606
|
+
};
|
|
607
|
+
export type CancelDeploymentExecutionResponse = CancelDeploymentExecutionResponses[keyof CancelDeploymentExecutionResponses];
|
|
608
|
+
export type GetDeploymentTargetData = {
|
|
609
|
+
body?: never;
|
|
610
|
+
path: {
|
|
611
|
+
/**
|
|
612
|
+
* Target Id
|
|
613
|
+
*/
|
|
614
|
+
target_id: string;
|
|
615
|
+
};
|
|
616
|
+
query?: never;
|
|
617
|
+
url: '/v1/deployment-targets/{target_id}';
|
|
618
|
+
};
|
|
619
|
+
export type GetDeploymentTargetErrors = {
|
|
620
|
+
/**
|
|
621
|
+
* RFC 9457 problem details with bounded retry guidance
|
|
622
|
+
*/
|
|
623
|
+
400: ProblemDetails;
|
|
624
|
+
/**
|
|
625
|
+
* RFC 9457 problem details with bounded retry guidance
|
|
626
|
+
*/
|
|
627
|
+
401: ProblemDetails;
|
|
628
|
+
/**
|
|
629
|
+
* RFC 9457 problem details with bounded retry guidance
|
|
630
|
+
*/
|
|
631
|
+
403: ProblemDetails;
|
|
632
|
+
/**
|
|
633
|
+
* RFC 9457 problem details with bounded retry guidance
|
|
634
|
+
*/
|
|
635
|
+
404: ProblemDetails;
|
|
636
|
+
/**
|
|
637
|
+
* RFC 9457 problem details with bounded retry guidance
|
|
638
|
+
*/
|
|
639
|
+
409: ProblemDetails;
|
|
640
|
+
/**
|
|
641
|
+
* RFC 9457 problem details with bounded retry guidance
|
|
642
|
+
*/
|
|
643
|
+
422: ProblemDetails;
|
|
644
|
+
/**
|
|
645
|
+
* RFC 9457 problem details with bounded retry guidance
|
|
646
|
+
*/
|
|
647
|
+
500: ProblemDetails;
|
|
648
|
+
/**
|
|
649
|
+
* RFC 9457 problem details with bounded retry guidance
|
|
650
|
+
*/
|
|
651
|
+
503: ProblemDetails;
|
|
652
|
+
};
|
|
653
|
+
export type GetDeploymentTargetError = GetDeploymentTargetErrors[keyof GetDeploymentTargetErrors];
|
|
654
|
+
export type GetDeploymentTargetResponses = {
|
|
655
|
+
/**
|
|
656
|
+
* Successful Response
|
|
657
|
+
*/
|
|
658
|
+
200: TargetSummary;
|
|
659
|
+
};
|
|
660
|
+
export type GetDeploymentTargetResponse = GetDeploymentTargetResponses[keyof GetDeploymentTargetResponses];
|
package/dist/index.d.ts
CHANGED
|
@@ -4,11 +4,13 @@ import * as platformAccount from "./clients/platform.account/index.js";
|
|
|
4
4
|
import * as platformApplicationMetadata from "./clients/platform.application-metadata/index.js";
|
|
5
5
|
import * as platformBlueprint from "./clients/platform.blueprint/index.js";
|
|
6
6
|
import * as platformIam from "./clients/platform.iam/index.js";
|
|
7
|
-
|
|
7
|
+
import * as platformVanguDeployment from "./clients/platform.vangu-deployment/index.js";
|
|
8
|
+
export { juntaiUsageCost, platformAccount, platformApplicationMetadata, platformBlueprint, platformIam, platformVanguDeployment };
|
|
8
9
|
export declare const clients: {
|
|
9
10
|
readonly "juntai.usage-cost": typeof juntaiUsageCost;
|
|
10
11
|
readonly "platform.account": typeof platformAccount;
|
|
11
12
|
readonly "platform.application-metadata": typeof platformApplicationMetadata;
|
|
12
13
|
readonly "platform.blueprint": typeof platformBlueprint;
|
|
13
14
|
readonly "platform.iam": typeof platformIam;
|
|
15
|
+
readonly "platform.vangu-deployment": typeof platformVanguDeployment;
|
|
14
16
|
};
|
package/dist/index.js
CHANGED
|
@@ -4,11 +4,13 @@ import * as platformAccount from "./clients/platform.account/index.js";
|
|
|
4
4
|
import * as platformApplicationMetadata from "./clients/platform.application-metadata/index.js";
|
|
5
5
|
import * as platformBlueprint from "./clients/platform.blueprint/index.js";
|
|
6
6
|
import * as platformIam from "./clients/platform.iam/index.js";
|
|
7
|
-
|
|
7
|
+
import * as platformVanguDeployment from "./clients/platform.vangu-deployment/index.js";
|
|
8
|
+
export { juntaiUsageCost, platformAccount, platformApplicationMetadata, platformBlueprint, platformIam, platformVanguDeployment };
|
|
8
9
|
export const clients = {
|
|
9
10
|
"juntai.usage-cost": juntaiUsageCost,
|
|
10
11
|
"platform.account": platformAccount,
|
|
11
12
|
"platform.application-metadata": platformApplicationMetadata,
|
|
12
13
|
"platform.blueprint": platformBlueprint,
|
|
13
14
|
"platform.iam": platformIam,
|
|
15
|
+
"platform.vangu-deployment": platformVanguDeployment,
|
|
14
16
|
};
|