@cloudfleet/sdk 0.0.1-263dfe6 → 0.0.1-2854ca2
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/README.md +26 -2
- package/dist/@tanstack/react-query.gen.d.ts +1199 -0
- package/dist/@tanstack/react-query.gen.d.ts.map +1 -0
- package/dist/@tanstack/react-query.gen.js +1215 -0
- package/dist/@tanstack/react-query.gen.js.map +1 -0
- package/dist/client/client.gen.d.ts +3 -0
- package/dist/client/client.gen.d.ts.map +1 -0
- package/dist/client/client.gen.js +217 -0
- package/dist/client/client.gen.js.map +1 -0
- package/dist/client/index.d.ts +8 -7
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +6 -4
- package/dist/client/index.js.map +1 -1
- package/dist/client/{types.d.ts → types.gen.d.ts} +23 -22
- package/dist/client/types.gen.d.ts.map +1 -0
- package/dist/client/types.gen.js +3 -0
- package/dist/client/types.gen.js.map +1 -0
- package/dist/client/{utils.d.ts → utils.gen.d.ts} +17 -25
- package/dist/client/utils.gen.d.ts.map +1 -0
- package/dist/client/{utils.js → utils.gen.js} +66 -122
- package/dist/client/utils.gen.js.map +1 -0
- package/dist/client.gen.d.ts +3 -3
- package/dist/client.gen.d.ts.map +1 -1
- package/dist/client.gen.js +1 -3
- package/dist/client.gen.js.map +1 -1
- package/dist/core/{auth.d.ts → auth.gen.d.ts} +1 -1
- package/dist/core/auth.gen.d.ts.map +1 -0
- package/dist/core/{auth.js → auth.gen.js} +2 -1
- package/dist/core/auth.gen.js.map +1 -0
- package/dist/core/bodySerializer.gen.d.ts +26 -0
- package/dist/core/bodySerializer.gen.d.ts.map +1 -0
- package/dist/core/{bodySerializer.js → bodySerializer.gen.js} +6 -2
- package/dist/core/bodySerializer.gen.js.map +1 -0
- package/dist/core/{params.d.ts → params.gen.d.ts} +11 -1
- package/dist/core/params.gen.d.ts.map +1 -0
- package/dist/core/{params.js → params.gen.js} +24 -11
- package/dist/core/params.gen.js.map +1 -0
- package/dist/core/{pathSerializer.d.ts → pathSerializer.gen.d.ts} +1 -1
- package/dist/core/pathSerializer.gen.d.ts.map +1 -0
- package/dist/core/{pathSerializer.js → pathSerializer.gen.js} +5 -12
- package/dist/core/pathSerializer.gen.js.map +1 -0
- package/dist/core/queryKeySerializer.gen.d.ts +19 -0
- package/dist/core/queryKeySerializer.gen.d.ts.map +1 -0
- package/dist/core/queryKeySerializer.gen.js +93 -0
- package/dist/core/queryKeySerializer.gen.js.map +1 -0
- package/dist/core/serverSentEvents.gen.d.ts +72 -0
- package/dist/core/serverSentEvents.gen.d.ts.map +1 -0
- package/dist/core/serverSentEvents.gen.js +133 -0
- package/dist/core/serverSentEvents.gen.js.map +1 -0
- package/dist/core/{types.d.ts → types.gen.d.ts} +16 -16
- package/dist/core/types.gen.d.ts.map +1 -0
- package/dist/core/types.gen.js +3 -0
- package/dist/core/types.gen.js.map +1 -0
- package/dist/core/utils.gen.d.ts +20 -0
- package/dist/core/utils.gen.d.ts.map +1 -0
- package/dist/core/utils.gen.js +88 -0
- package/dist/core/utils.gen.js.map +1 -0
- package/dist/schemas.gen.d.ts +1607 -667
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +2931 -696
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +312 -164
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +441 -335
- package/dist/sdk.gen.js.map +1 -1
- package/dist/services/kubernetes/api.d.ts +20 -20
- package/dist/types.gen.d.ts +1788 -800
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +3558 -2542
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +1460 -1185
- package/dist/zod.gen.js.map +1 -1
- package/package.json +28 -8
- package/dist/client/client.d.ts +0 -3
- package/dist/client/client.d.ts.map +0 -1
- package/dist/client/client.js +0 -146
- package/dist/client/client.js.map +0 -1
- package/dist/client/types.d.ts.map +0 -1
- package/dist/client/types.js +0 -2
- package/dist/client/types.js.map +0 -1
- package/dist/client/utils.d.ts.map +0 -1
- package/dist/client/utils.js.map +0 -1
- package/dist/core/auth.d.ts.map +0 -1
- package/dist/core/auth.js.map +0 -1
- package/dist/core/bodySerializer.d.ts +0 -18
- package/dist/core/bodySerializer.d.ts.map +0 -1
- package/dist/core/bodySerializer.js.map +0 -1
- package/dist/core/params.d.ts.map +0 -1
- package/dist/core/params.js.map +0 -1
- package/dist/core/pathSerializer.d.ts.map +0 -1
- package/dist/core/pathSerializer.js.map +0 -1
- package/dist/core/types.d.ts.map +0 -1
- package/dist/core/types.js +0 -2
- package/dist/core/types.js.map +0 -1
package/dist/types.gen.d.ts
CHANGED
|
@@ -1,4 +1,31 @@
|
|
|
1
|
+
export type ClientOptions = {
|
|
2
|
+
baseUrl: 'https://api.cloudfleet.ai/v1' | (string & {});
|
|
3
|
+
};
|
|
4
|
+
export type BasicPriceConsentInput = {
|
|
5
|
+
/**
|
|
6
|
+
* The administrator's decision on the new Basic price. `accepted` continues to paid billing when the signup credit runs out; `rejected` opts out (clusters are suspended, never charged). A `rejected` org can later be flipped back to `accepted`.
|
|
7
|
+
*/
|
|
8
|
+
decision: 'accepted' | 'rejected';
|
|
9
|
+
};
|
|
10
|
+
export type BasicPriceConsent = {
|
|
11
|
+
/**
|
|
12
|
+
* Consent status for the new Basic price. `not_applicable` when the organization is not in scope for the migration. `pending` when the organization must opt in but no admin has decided yet. `accepted` / `rejected` reflect the recorded decision.
|
|
13
|
+
*/
|
|
14
|
+
status: 'not_applicable' | 'pending' | 'accepted' | 'rejected';
|
|
15
|
+
/**
|
|
16
|
+
* When the current decision was recorded. Absent while `not_applicable` or `pending`.
|
|
17
|
+
*/
|
|
18
|
+
decided_at?: string;
|
|
19
|
+
/**
|
|
20
|
+
* User id of the administrator who recorded the current decision. Absent while `not_applicable` or `pending`.
|
|
21
|
+
*/
|
|
22
|
+
decided_by?: string;
|
|
23
|
+
};
|
|
1
24
|
export type BillingContact = {
|
|
25
|
+
/**
|
|
26
|
+
* Type of the organization. `business` for legal entities, `personal` for individuals.
|
|
27
|
+
*/
|
|
28
|
+
type: 'business' | 'personal';
|
|
2
29
|
/**
|
|
3
30
|
* Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
|
|
4
31
|
*/
|
|
@@ -36,13 +63,9 @@ export type BillingContact = {
|
|
|
36
63
|
*/
|
|
37
64
|
email: string;
|
|
38
65
|
/**
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
first_name: string;
|
|
42
|
-
/**
|
|
43
|
-
* Last name of the billing contact person.
|
|
66
|
+
* Name of the billing contact person.
|
|
44
67
|
*/
|
|
45
|
-
|
|
68
|
+
individual_name: string;
|
|
46
69
|
/**
|
|
47
70
|
* Tax ID of the organization.
|
|
48
71
|
*/
|
|
@@ -58,35 +81,31 @@ export type BillingCredits = {
|
|
|
58
81
|
*/
|
|
59
82
|
id?: string;
|
|
60
83
|
/**
|
|
61
|
-
*
|
|
62
|
-
*/
|
|
63
|
-
date_created: string;
|
|
64
|
-
/**
|
|
65
|
-
* Promotional code used by the customer.
|
|
84
|
+
* Type of the promotional code.
|
|
66
85
|
*/
|
|
67
|
-
|
|
86
|
+
type: 'credit' | 'discount';
|
|
68
87
|
/**
|
|
69
|
-
*
|
|
88
|
+
* Timestamp when the credit becomes active. ISO 8601 date string in the UTC timezone.
|
|
70
89
|
*/
|
|
71
|
-
|
|
90
|
+
date_start: string;
|
|
72
91
|
/**
|
|
73
|
-
*
|
|
92
|
+
* Timestamp when the credit expires or becomes inactive. ISO 8601 date string in the UTC timezone.
|
|
74
93
|
*/
|
|
75
|
-
|
|
94
|
+
date_end?: string;
|
|
76
95
|
/**
|
|
77
|
-
*
|
|
96
|
+
* Promotional code used by the customer.
|
|
78
97
|
*/
|
|
79
|
-
|
|
98
|
+
code: string;
|
|
80
99
|
/**
|
|
81
|
-
*
|
|
100
|
+
* Description of the promotional code.
|
|
82
101
|
*/
|
|
83
|
-
|
|
102
|
+
description?: string;
|
|
84
103
|
/**
|
|
85
|
-
*
|
|
104
|
+
* Total value of the promotional code.
|
|
86
105
|
*/
|
|
87
|
-
|
|
106
|
+
value_total: number;
|
|
88
107
|
/**
|
|
89
|
-
*
|
|
108
|
+
* Remaining value of the promotional code.
|
|
90
109
|
*/
|
|
91
110
|
value_remaining?: number;
|
|
92
111
|
};
|
|
@@ -134,9 +153,9 @@ export type Chart = {
|
|
|
134
153
|
*/
|
|
135
154
|
chart: string;
|
|
136
155
|
/**
|
|
137
|
-
* Status of the chart deployment.
|
|
156
|
+
* Status of the chart deployment (Flux HelmRelease Ready condition reason, e.g. InstallSucceeded, UpgradeFailed, Progressing).
|
|
138
157
|
*/
|
|
139
|
-
status:
|
|
158
|
+
status: string;
|
|
140
159
|
/**
|
|
141
160
|
* Current version of the chart deployment.
|
|
142
161
|
*/
|
|
@@ -164,6 +183,9 @@ export type ChartUpdateInput = {
|
|
|
164
183
|
*/
|
|
165
184
|
version_channel: string;
|
|
166
185
|
};
|
|
186
|
+
/**
|
|
187
|
+
* Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
188
|
+
*/
|
|
167
189
|
export type ClusterCreateInput = {
|
|
168
190
|
/**
|
|
169
191
|
* Name of the cluster.
|
|
@@ -172,15 +194,61 @@ export type ClusterCreateInput = {
|
|
|
172
194
|
/**
|
|
173
195
|
* Tier of the cluster.
|
|
174
196
|
*/
|
|
175
|
-
tier
|
|
176
|
-
/**
|
|
177
|
-
* Cloudfleet control plane region. One of "staging", "northamerica-central-1", "europe-central-1a". This field can not be updated after creation.
|
|
178
|
-
*/
|
|
179
|
-
region?: 'staging' | 'northamerica-central-1' | 'europe-central-1a';
|
|
197
|
+
tier?: 'basic' | 'pro' | 'enterprise';
|
|
180
198
|
/**
|
|
181
199
|
* Version of the kubernetes cluster.
|
|
182
200
|
*/
|
|
183
201
|
version_channel?: string;
|
|
202
|
+
/**
|
|
203
|
+
* Release channel for the cluster's control plane.
|
|
204
|
+
*/
|
|
205
|
+
release_channel?: 'rapid' | 'stable' | 'extended';
|
|
206
|
+
/**
|
|
207
|
+
* Cluster feature toggles.
|
|
208
|
+
*/
|
|
209
|
+
features?: {
|
|
210
|
+
/**
|
|
211
|
+
* GPU sharing strategy.
|
|
212
|
+
*/
|
|
213
|
+
gpu_sharing_strategy?: 'none' | 'mps' | 'time_slicing';
|
|
214
|
+
/**
|
|
215
|
+
* Maximum number of pods that may share a single GPU.
|
|
216
|
+
*/
|
|
217
|
+
gpu_max_shared_clients_per_gpu?: number;
|
|
218
|
+
/**
|
|
219
|
+
* Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.
|
|
220
|
+
*/
|
|
221
|
+
cilium_socket_lb_host_namespace_only?: boolean;
|
|
222
|
+
};
|
|
223
|
+
/**
|
|
224
|
+
* Cloudfleet control plane region. This field can not be updated after creation.
|
|
225
|
+
*/
|
|
226
|
+
region: string;
|
|
227
|
+
/**
|
|
228
|
+
* Cluster networking configuration. Immutable after creation.
|
|
229
|
+
*/
|
|
230
|
+
networking?: {
|
|
231
|
+
/**
|
|
232
|
+
* CIDR block for pod IPs.
|
|
233
|
+
*/
|
|
234
|
+
pod_cidr?: string;
|
|
235
|
+
/**
|
|
236
|
+
* CIDR block for service IPs.
|
|
237
|
+
*/
|
|
238
|
+
service_cidr?: string;
|
|
239
|
+
/**
|
|
240
|
+
* Enable IPv4+IPv6 dual-stack networking.
|
|
241
|
+
*/
|
|
242
|
+
dual_stack?: boolean;
|
|
243
|
+
/**
|
|
244
|
+
* IPv6 pod CIDR. Requires dual_stack.
|
|
245
|
+
*/
|
|
246
|
+
pod_cidr_v6?: string;
|
|
247
|
+
/**
|
|
248
|
+
* IPv6 service CIDR. Requires dual_stack.
|
|
249
|
+
*/
|
|
250
|
+
service_cidr_v6?: string;
|
|
251
|
+
};
|
|
184
252
|
};
|
|
185
253
|
export type ClusterJoinInformation = {
|
|
186
254
|
/**
|
|
@@ -191,6 +259,14 @@ export type ClusterJoinInformation = {
|
|
|
191
259
|
* Internal URL of the Kubernetes cluster control plane. This is the endpoint that kubelet uses to connect to the cluster.
|
|
192
260
|
*/
|
|
193
261
|
endpoint: string;
|
|
262
|
+
/**
|
|
263
|
+
* Cluster DNS IP address. This is the IP address of the kube-dns service in the cluster.
|
|
264
|
+
*/
|
|
265
|
+
cluster_dns: string;
|
|
266
|
+
/**
|
|
267
|
+
* Pod CIDR for the cluster. Used to configure iptables rules on nodes to prevent Tailscale routing loops.
|
|
268
|
+
*/
|
|
269
|
+
pod_cidr: string;
|
|
194
270
|
/**
|
|
195
271
|
* Authentication key for the cluster.
|
|
196
272
|
*/
|
|
@@ -238,6 +314,9 @@ export type ClusterJoinInformation = {
|
|
|
238
314
|
gcp_workload_identity_provider: string;
|
|
239
315
|
};
|
|
240
316
|
};
|
|
317
|
+
/**
|
|
318
|
+
* Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
319
|
+
*/
|
|
241
320
|
export type Cluster = {
|
|
242
321
|
/**
|
|
243
322
|
* Name of the cluster.
|
|
@@ -246,24 +325,71 @@ export type Cluster = {
|
|
|
246
325
|
/**
|
|
247
326
|
* Tier of the cluster.
|
|
248
327
|
*/
|
|
249
|
-
tier: 'basic' | 'pro';
|
|
328
|
+
tier: 'basic' | 'pro' | 'enterprise';
|
|
250
329
|
/**
|
|
251
|
-
*
|
|
330
|
+
* Version of the kubernetes cluster.
|
|
252
331
|
*/
|
|
253
|
-
|
|
332
|
+
version_channel: string;
|
|
254
333
|
/**
|
|
255
|
-
*
|
|
334
|
+
* Release channel for the cluster's control plane.
|
|
256
335
|
*/
|
|
257
|
-
|
|
336
|
+
release_channel: 'rapid' | 'stable' | 'extended';
|
|
337
|
+
/**
|
|
338
|
+
* Cluster feature toggles.
|
|
339
|
+
*/
|
|
340
|
+
features: {
|
|
341
|
+
/**
|
|
342
|
+
* GPU sharing strategy.
|
|
343
|
+
*/
|
|
344
|
+
gpu_sharing_strategy: 'none' | 'mps' | 'time_slicing';
|
|
345
|
+
/**
|
|
346
|
+
* Maximum number of pods that may share a single GPU.
|
|
347
|
+
*/
|
|
348
|
+
gpu_max_shared_clients_per_gpu: number;
|
|
349
|
+
/**
|
|
350
|
+
* Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.
|
|
351
|
+
*/
|
|
352
|
+
cilium_socket_lb_host_namespace_only: boolean;
|
|
353
|
+
};
|
|
354
|
+
/**
|
|
355
|
+
* Cloudfleet control plane region. This field can not be updated after creation.
|
|
356
|
+
*/
|
|
357
|
+
region: string;
|
|
358
|
+
/**
|
|
359
|
+
* Cluster networking configuration. Immutable after creation.
|
|
360
|
+
*/
|
|
361
|
+
networking: {
|
|
362
|
+
/**
|
|
363
|
+
* CIDR block for pod IPs.
|
|
364
|
+
*/
|
|
365
|
+
pod_cidr: string;
|
|
366
|
+
/**
|
|
367
|
+
* CIDR block for service IPs.
|
|
368
|
+
*/
|
|
369
|
+
service_cidr: string;
|
|
370
|
+
/**
|
|
371
|
+
* Enable IPv4+IPv6 dual-stack networking.
|
|
372
|
+
*/
|
|
373
|
+
dual_stack: boolean;
|
|
374
|
+
/**
|
|
375
|
+
* IPv6 pod CIDR. Requires dual_stack.
|
|
376
|
+
*/
|
|
377
|
+
pod_cidr_v6: string;
|
|
378
|
+
/**
|
|
379
|
+
* IPv6 service CIDR. Requires dual_stack.
|
|
380
|
+
*/
|
|
381
|
+
service_cidr_v6: string;
|
|
382
|
+
};
|
|
258
383
|
/**
|
|
259
384
|
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
260
385
|
*/
|
|
261
386
|
id: string;
|
|
262
387
|
/**
|
|
263
|
-
* Status of the cluster.
|
|
388
|
+
* Status of the cluster.
|
|
264
389
|
*/
|
|
265
|
-
status: '
|
|
390
|
+
status: 'creating' | 'deployed' | 'updating' | 'disabled';
|
|
266
391
|
endpoint?: string | '';
|
|
392
|
+
endpoint_public?: string | '';
|
|
267
393
|
/**
|
|
268
394
|
* Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.
|
|
269
395
|
*/
|
|
@@ -283,125 +409,259 @@ export type Cluster = {
|
|
|
283
409
|
/**
|
|
284
410
|
* Indicates if the cluster is ready to be used.
|
|
285
411
|
*/
|
|
286
|
-
ready
|
|
412
|
+
ready: boolean;
|
|
287
413
|
};
|
|
414
|
+
/**
|
|
415
|
+
* Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
416
|
+
*/
|
|
288
417
|
export type ClusterUpdateInput = {
|
|
289
418
|
/**
|
|
290
419
|
* Name of the cluster.
|
|
291
420
|
*/
|
|
292
|
-
name
|
|
421
|
+
name: string;
|
|
293
422
|
/**
|
|
294
423
|
* Tier of the cluster.
|
|
295
424
|
*/
|
|
296
|
-
tier
|
|
425
|
+
tier?: 'basic' | 'pro' | 'enterprise';
|
|
297
426
|
/**
|
|
298
427
|
* Version of the kubernetes cluster.
|
|
299
428
|
*/
|
|
300
429
|
version_channel?: string;
|
|
430
|
+
/**
|
|
431
|
+
* Release channel for the cluster's control plane.
|
|
432
|
+
*/
|
|
433
|
+
release_channel?: 'rapid' | 'stable' | 'extended';
|
|
434
|
+
/**
|
|
435
|
+
* Cluster feature toggles.
|
|
436
|
+
*/
|
|
437
|
+
features?: {
|
|
438
|
+
/**
|
|
439
|
+
* GPU sharing strategy.
|
|
440
|
+
*/
|
|
441
|
+
gpu_sharing_strategy?: 'none' | 'mps' | 'time_slicing';
|
|
442
|
+
/**
|
|
443
|
+
* Maximum number of pods that may share a single GPU.
|
|
444
|
+
*/
|
|
445
|
+
gpu_max_shared_clients_per_gpu?: number;
|
|
446
|
+
/**
|
|
447
|
+
* Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.
|
|
448
|
+
*/
|
|
449
|
+
cilium_socket_lb_host_namespace_only?: boolean;
|
|
450
|
+
};
|
|
301
451
|
};
|
|
452
|
+
/**
|
|
453
|
+
* Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
454
|
+
*/
|
|
302
455
|
export type FleetCreateInput = {
|
|
303
456
|
/**
|
|
304
457
|
* Limits define a set of bounds for provisioning capacity.
|
|
305
458
|
*/
|
|
306
459
|
limits?: {
|
|
307
460
|
/**
|
|
308
|
-
* CPU limit in cores.
|
|
461
|
+
* CPU limit in cores. Maximum 100,000.
|
|
309
462
|
*/
|
|
310
|
-
cpu
|
|
463
|
+
cpu?: number;
|
|
311
464
|
};
|
|
312
465
|
gcp?: {
|
|
313
|
-
enabled
|
|
466
|
+
enabled: boolean;
|
|
314
467
|
/**
|
|
315
|
-
*
|
|
468
|
+
* GCP project ID to deploy instances into. 6-30 chars, lowercase letters/digits/hyphens, must start with a letter and not end with a hyphen. Omit when GCP is disabled.
|
|
316
469
|
*/
|
|
317
|
-
project
|
|
470
|
+
project?: string;
|
|
318
471
|
};
|
|
319
472
|
hetzner?: {
|
|
320
|
-
enabled
|
|
473
|
+
enabled: boolean;
|
|
321
474
|
/**
|
|
322
|
-
* Hetzner Cloud API
|
|
475
|
+
* Hetzner Cloud API token with read/write access (64 alphanumeric characters). Write-only: reads return a redacted placeholder, never the token. Omit the field, or send the placeholder back unchanged, to keep the existing key. Send a new value to rotate it.
|
|
323
476
|
*/
|
|
324
|
-
apiKey
|
|
477
|
+
apiKey?: string;
|
|
325
478
|
};
|
|
326
479
|
aws?: {
|
|
327
|
-
enabled
|
|
480
|
+
enabled: boolean;
|
|
481
|
+
/**
|
|
482
|
+
* AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
|
|
483
|
+
*/
|
|
484
|
+
controllerRoleArn?: string;
|
|
485
|
+
};
|
|
486
|
+
/**
|
|
487
|
+
* Constraints define scheduling and provisioning requirements for the fleet. Each field restricts the values allowed for a given Kubernetes label key. Multiple constraints are ANDed together.
|
|
488
|
+
*/
|
|
489
|
+
constraints?: {
|
|
490
|
+
/**
|
|
491
|
+
* Allowed values for `karpenter.sh/capacity-type`.
|
|
492
|
+
*/
|
|
493
|
+
'karpenter.sh/capacity-type'?: Array<'on-demand' | 'spot'>;
|
|
494
|
+
/**
|
|
495
|
+
* Allowed values for `kubernetes.io/arch`.
|
|
496
|
+
*/
|
|
497
|
+
'kubernetes.io/arch'?: Array<'amd64' | 'arm64'>;
|
|
328
498
|
/**
|
|
329
|
-
*
|
|
499
|
+
* Allowed values for `cfke.io/instance-family`.
|
|
330
500
|
*/
|
|
331
|
-
|
|
501
|
+
'cfke.io/instance-family'?: Array<'a1' | 'a2' | 'a3' | 'a4' | 'c1' | 'c2' | 'c2d' | 'c3' | 'c3d' | 'c4' | 'c4a' | 'c4d' | 'c5' | 'c5a' | 'c5ad' | 'c5d' | 'c5n' | 'c6a' | 'c6g' | 'c6gd' | 'c6gn' | 'c6i' | 'c6id' | 'c6in' | 'c7a' | 'c7g' | 'c7gd' | 'c7gn' | 'c7i' | 'c7i-flex' | 'c8g' | 'c8gd' | 'cax' | 'ccx' | 'cpx' | 'cx' | 'd2' | 'd3' | 'd3en' | 'dl1' | 'dl2q' | 'e2' | 'f1' | 'f2' | 'g1' | 'g2' | 'g4ad' | 'g4dn' | 'g5' | 'g5g' | 'g6' | 'g6e' | 'gr6' | 'h1' | 'h3' | 'hpc6a' | 'hpc6id' | 'hpc7a' | 'hpc7g' | 'i2' | 'i3' | 'i3en' | 'i4g' | 'i4i' | 'i7i' | 'i7ie' | 'i8g' | 'im4gn' | 'inf1' | 'inf2' | 'is4gen' | 'm1' | 'm2' | 'm3' | 'm4' | 'm5' | 'm5a' | 'm5ad' | 'm5d' | 'm5dn' | 'm5n' | 'm5zn' | 'm6a' | 'm6g' | 'm6gd' | 'm6i' | 'm6id' | 'm6idn' | 'm6in' | 'm7a' | 'm7g' | 'm7gd' | 'm7i' | 'm7i-flex' | 'm8g' | 'm8gd' | 'n1' | 'n2' | 'n2d' | 'n4' | 'p3' | 'p3dn' | 'p4d' | 'p4de' | 'p5' | 'p5e' | 'p5en' | 'p6-b200' | 'r3' | 'r4' | 'r5' | 'r5a' | 'r5ad' | 'r5b' | 'r5d' | 'r5dn' | 'r5n' | 'r6a' | 'r6g' | 'r6gd' | 'r6i' | 'r6id' | 'r6idn' | 'r6in' | 'r7a' | 'r7g' | 'r7gd' | 'r7i' | 'r7iz' | 'r8g' | 'r8gd' | 't2' | 't2a' | 't2d' | 't3' | 't3a' | 't4g' | 'trn1' | 'trn1n' | 'u-3tb1' | 'u-6tb1' | 'u7i-12tb' | 'u7i-6tb' | 'u7i-8tb' | 'u7in-16tb' | 'u7in-24tb' | 'u7in-32tb' | 'vt1' | 'x1' | 'x1e' | 'x2gd' | 'x2idn' | 'x2iedn' | 'x2iezn' | 'x4' | 'x8g' | 'z1d' | 'z3'>;
|
|
502
|
+
/**
|
|
503
|
+
* Allowed values for `topology.kubernetes.io/region`.
|
|
504
|
+
*/
|
|
505
|
+
'topology.kubernetes.io/region'?: Array<'africa-south1' | 'ap-northeast-1' | 'ap-northeast-2' | 'ap-northeast-3' | 'ap-south-1' | 'ap-southeast-1' | 'ap-southeast-2' | 'ash' | 'asia-east1' | 'asia-east2' | 'asia-northeast1' | 'asia-northeast2' | 'asia-northeast3' | 'asia-south1' | 'asia-south2' | 'asia-southeast1' | 'asia-southeast2' | 'australia-southeast1' | 'australia-southeast2' | 'ca-central-1' | 'eu-central-1' | 'eu-central-2' | 'eu-north-1' | 'eu-west-1' | 'eu-west-2' | 'eu-west-3' | 'europe-central2' | 'europe-north1' | 'europe-southwest1' | 'europe-west1' | 'europe-west10' | 'europe-west12' | 'europe-west2' | 'europe-west3' | 'europe-west4' | 'europe-west6' | 'europe-west8' | 'europe-west9' | 'fsn1' | 'hel1' | 'hil' | 'me-central1' | 'me-central2' | 'me-west1' | 'nbg1' | 'northamerica-northeast1' | 'northamerica-northeast2' | 'sa-east-1' | 'sin' | 'southamerica-east1' | 'southamerica-west1' | 'us-central1' | 'us-east-1' | 'us-east-2' | 'us-east1' | 'us-east4' | 'us-east5' | 'us-south1' | 'us-west-1' | 'us-west-2' | 'us-west1' | 'us-west2' | 'us-west3' | 'us-west4'>;
|
|
332
506
|
};
|
|
507
|
+
/**
|
|
508
|
+
* Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet. Full-overwrite: omit to reset to the default (`conservative`).
|
|
509
|
+
*/
|
|
510
|
+
scalingProfile?: 'aggressive' | 'conservative';
|
|
333
511
|
/**
|
|
334
512
|
* Unique identifier of the kubernetes fleet.
|
|
335
513
|
*/
|
|
336
514
|
id: string;
|
|
337
515
|
};
|
|
516
|
+
/**
|
|
517
|
+
* Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
518
|
+
*/
|
|
338
519
|
export type Fleet = {
|
|
339
520
|
/**
|
|
340
521
|
* Limits define a set of bounds for provisioning capacity.
|
|
341
522
|
*/
|
|
342
523
|
limits?: {
|
|
343
524
|
/**
|
|
344
|
-
* CPU limit in cores.
|
|
525
|
+
* CPU limit in cores. Maximum 100,000.
|
|
345
526
|
*/
|
|
346
|
-
cpu
|
|
527
|
+
cpu?: number;
|
|
347
528
|
};
|
|
348
529
|
gcp?: {
|
|
349
|
-
enabled
|
|
530
|
+
enabled: boolean;
|
|
350
531
|
/**
|
|
351
|
-
*
|
|
532
|
+
* GCP project ID to deploy instances into. 6-30 chars, lowercase letters/digits/hyphens, must start with a letter and not end with a hyphen. Omit when GCP is disabled.
|
|
352
533
|
*/
|
|
353
|
-
project
|
|
534
|
+
project?: string;
|
|
354
535
|
};
|
|
355
536
|
hetzner?: {
|
|
356
|
-
enabled
|
|
537
|
+
enabled: boolean;
|
|
357
538
|
/**
|
|
358
|
-
* Hetzner
|
|
539
|
+
* Redacted Hetzner API token. Returned as 64 asterisks when a token is configured; omitted otherwise. The real value is never echoed by the API.
|
|
359
540
|
*/
|
|
360
|
-
apiKey
|
|
541
|
+
apiKey?: string;
|
|
361
542
|
};
|
|
362
543
|
aws?: {
|
|
363
|
-
enabled
|
|
544
|
+
enabled: boolean;
|
|
545
|
+
/**
|
|
546
|
+
* AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
|
|
547
|
+
*/
|
|
548
|
+
controllerRoleArn?: string;
|
|
549
|
+
};
|
|
550
|
+
/**
|
|
551
|
+
* Constraints define scheduling and provisioning requirements for the fleet. Each field restricts the values allowed for a given Kubernetes label key. Multiple constraints are ANDed together.
|
|
552
|
+
*/
|
|
553
|
+
constraints: {
|
|
554
|
+
/**
|
|
555
|
+
* Allowed values for `karpenter.sh/capacity-type`.
|
|
556
|
+
*/
|
|
557
|
+
'karpenter.sh/capacity-type': Array<'on-demand' | 'spot'>;
|
|
558
|
+
/**
|
|
559
|
+
* Allowed values for `kubernetes.io/arch`.
|
|
560
|
+
*/
|
|
561
|
+
'kubernetes.io/arch': Array<'amd64' | 'arm64'>;
|
|
562
|
+
/**
|
|
563
|
+
* Allowed values for `cfke.io/instance-family`.
|
|
564
|
+
*/
|
|
565
|
+
'cfke.io/instance-family'?: Array<'a1' | 'a2' | 'a3' | 'a4' | 'c1' | 'c2' | 'c2d' | 'c3' | 'c3d' | 'c4' | 'c4a' | 'c4d' | 'c5' | 'c5a' | 'c5ad' | 'c5d' | 'c5n' | 'c6a' | 'c6g' | 'c6gd' | 'c6gn' | 'c6i' | 'c6id' | 'c6in' | 'c7a' | 'c7g' | 'c7gd' | 'c7gn' | 'c7i' | 'c7i-flex' | 'c8g' | 'c8gd' | 'cax' | 'ccx' | 'cpx' | 'cx' | 'd2' | 'd3' | 'd3en' | 'dl1' | 'dl2q' | 'e2' | 'f1' | 'f2' | 'g1' | 'g2' | 'g4ad' | 'g4dn' | 'g5' | 'g5g' | 'g6' | 'g6e' | 'gr6' | 'h1' | 'h3' | 'hpc6a' | 'hpc6id' | 'hpc7a' | 'hpc7g' | 'i2' | 'i3' | 'i3en' | 'i4g' | 'i4i' | 'i7i' | 'i7ie' | 'i8g' | 'im4gn' | 'inf1' | 'inf2' | 'is4gen' | 'm1' | 'm2' | 'm3' | 'm4' | 'm5' | 'm5a' | 'm5ad' | 'm5d' | 'm5dn' | 'm5n' | 'm5zn' | 'm6a' | 'm6g' | 'm6gd' | 'm6i' | 'm6id' | 'm6idn' | 'm6in' | 'm7a' | 'm7g' | 'm7gd' | 'm7i' | 'm7i-flex' | 'm8g' | 'm8gd' | 'n1' | 'n2' | 'n2d' | 'n4' | 'p3' | 'p3dn' | 'p4d' | 'p4de' | 'p5' | 'p5e' | 'p5en' | 'p6-b200' | 'r3' | 'r4' | 'r5' | 'r5a' | 'r5ad' | 'r5b' | 'r5d' | 'r5dn' | 'r5n' | 'r6a' | 'r6g' | 'r6gd' | 'r6i' | 'r6id' | 'r6idn' | 'r6in' | 'r7a' | 'r7g' | 'r7gd' | 'r7i' | 'r7iz' | 'r8g' | 'r8gd' | 't2' | 't2a' | 't2d' | 't3' | 't3a' | 't4g' | 'trn1' | 'trn1n' | 'u-3tb1' | 'u-6tb1' | 'u7i-12tb' | 'u7i-6tb' | 'u7i-8tb' | 'u7in-16tb' | 'u7in-24tb' | 'u7in-32tb' | 'vt1' | 'x1' | 'x1e' | 'x2gd' | 'x2idn' | 'x2iedn' | 'x2iezn' | 'x4' | 'x8g' | 'z1d' | 'z3'>;
|
|
364
566
|
/**
|
|
365
|
-
*
|
|
567
|
+
* Allowed values for `topology.kubernetes.io/region`.
|
|
366
568
|
*/
|
|
367
|
-
|
|
569
|
+
'topology.kubernetes.io/region'?: Array<'africa-south1' | 'ap-northeast-1' | 'ap-northeast-2' | 'ap-northeast-3' | 'ap-south-1' | 'ap-southeast-1' | 'ap-southeast-2' | 'ash' | 'asia-east1' | 'asia-east2' | 'asia-northeast1' | 'asia-northeast2' | 'asia-northeast3' | 'asia-south1' | 'asia-south2' | 'asia-southeast1' | 'asia-southeast2' | 'australia-southeast1' | 'australia-southeast2' | 'ca-central-1' | 'eu-central-1' | 'eu-central-2' | 'eu-north-1' | 'eu-west-1' | 'eu-west-2' | 'eu-west-3' | 'europe-central2' | 'europe-north1' | 'europe-southwest1' | 'europe-west1' | 'europe-west10' | 'europe-west12' | 'europe-west2' | 'europe-west3' | 'europe-west4' | 'europe-west6' | 'europe-west8' | 'europe-west9' | 'fsn1' | 'hel1' | 'hil' | 'me-central1' | 'me-central2' | 'me-west1' | 'nbg1' | 'northamerica-northeast1' | 'northamerica-northeast2' | 'sa-east-1' | 'sin' | 'southamerica-east1' | 'southamerica-west1' | 'us-central1' | 'us-east-1' | 'us-east-2' | 'us-east1' | 'us-east4' | 'us-east5' | 'us-south1' | 'us-west-1' | 'us-west-2' | 'us-west1' | 'us-west2' | 'us-west3' | 'us-west4'>;
|
|
368
570
|
};
|
|
571
|
+
/**
|
|
572
|
+
* Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet. Full-overwrite: omit to reset to the default (`conservative`).
|
|
573
|
+
*/
|
|
574
|
+
scalingProfile: 'aggressive' | 'conservative';
|
|
369
575
|
/**
|
|
370
576
|
* Unique identifier of the kubernetes fleet.
|
|
371
577
|
*/
|
|
372
578
|
id: string;
|
|
579
|
+
/**
|
|
580
|
+
* Indicates whether the fleet configuration is healthy.
|
|
581
|
+
*/
|
|
582
|
+
ready: boolean;
|
|
583
|
+
/**
|
|
584
|
+
* Human-readable reason the fleet is not ready. Present only when `ready` is false.
|
|
585
|
+
*/
|
|
586
|
+
status_message?: string;
|
|
587
|
+
/**
|
|
588
|
+
* Creation date and time of the fleet.
|
|
589
|
+
*/
|
|
590
|
+
created_at: string;
|
|
591
|
+
/**
|
|
592
|
+
* Date and time the fleet was last updated.
|
|
593
|
+
*/
|
|
594
|
+
updated_at: string;
|
|
373
595
|
};
|
|
596
|
+
/**
|
|
597
|
+
* Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
598
|
+
*/
|
|
374
599
|
export type FleetUpdateInput = {
|
|
375
600
|
/**
|
|
376
601
|
* Limits define a set of bounds for provisioning capacity.
|
|
377
602
|
*/
|
|
378
603
|
limits?: {
|
|
379
604
|
/**
|
|
380
|
-
* CPU limit in cores.
|
|
605
|
+
* CPU limit in cores. Maximum 100,000.
|
|
381
606
|
*/
|
|
382
|
-
cpu
|
|
607
|
+
cpu?: number;
|
|
383
608
|
};
|
|
384
609
|
gcp?: {
|
|
385
|
-
enabled
|
|
610
|
+
enabled: boolean;
|
|
386
611
|
/**
|
|
387
|
-
*
|
|
612
|
+
* GCP project ID to deploy instances into. 6-30 chars, lowercase letters/digits/hyphens, must start with a letter and not end with a hyphen. Omit when GCP is disabled.
|
|
388
613
|
*/
|
|
389
|
-
project
|
|
614
|
+
project?: string;
|
|
390
615
|
};
|
|
391
616
|
hetzner?: {
|
|
392
|
-
enabled
|
|
617
|
+
enabled: boolean;
|
|
393
618
|
/**
|
|
394
|
-
* Hetzner Cloud API
|
|
619
|
+
* Hetzner Cloud API token with read/write access (64 alphanumeric characters). Write-only: reads return a redacted placeholder, never the token. Omit the field, or send the placeholder back unchanged, to keep the existing key. Send a new value to rotate it.
|
|
395
620
|
*/
|
|
396
|
-
apiKey
|
|
621
|
+
apiKey?: string;
|
|
397
622
|
};
|
|
398
623
|
aws?: {
|
|
399
|
-
enabled
|
|
624
|
+
enabled: boolean;
|
|
625
|
+
/**
|
|
626
|
+
* AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
|
|
627
|
+
*/
|
|
628
|
+
controllerRoleArn?: string;
|
|
629
|
+
};
|
|
630
|
+
/**
|
|
631
|
+
* Constraints define scheduling and provisioning requirements for the fleet. Each field restricts the values allowed for a given Kubernetes label key. Multiple constraints are ANDed together.
|
|
632
|
+
*/
|
|
633
|
+
constraints?: {
|
|
634
|
+
/**
|
|
635
|
+
* Allowed values for `karpenter.sh/capacity-type`.
|
|
636
|
+
*/
|
|
637
|
+
'karpenter.sh/capacity-type'?: Array<'on-demand' | 'spot'>;
|
|
638
|
+
/**
|
|
639
|
+
* Allowed values for `kubernetes.io/arch`.
|
|
640
|
+
*/
|
|
641
|
+
'kubernetes.io/arch'?: Array<'amd64' | 'arm64'>;
|
|
642
|
+
/**
|
|
643
|
+
* Allowed values for `cfke.io/instance-family`.
|
|
644
|
+
*/
|
|
645
|
+
'cfke.io/instance-family'?: Array<'a1' | 'a2' | 'a3' | 'a4' | 'c1' | 'c2' | 'c2d' | 'c3' | 'c3d' | 'c4' | 'c4a' | 'c4d' | 'c5' | 'c5a' | 'c5ad' | 'c5d' | 'c5n' | 'c6a' | 'c6g' | 'c6gd' | 'c6gn' | 'c6i' | 'c6id' | 'c6in' | 'c7a' | 'c7g' | 'c7gd' | 'c7gn' | 'c7i' | 'c7i-flex' | 'c8g' | 'c8gd' | 'cax' | 'ccx' | 'cpx' | 'cx' | 'd2' | 'd3' | 'd3en' | 'dl1' | 'dl2q' | 'e2' | 'f1' | 'f2' | 'g1' | 'g2' | 'g4ad' | 'g4dn' | 'g5' | 'g5g' | 'g6' | 'g6e' | 'gr6' | 'h1' | 'h3' | 'hpc6a' | 'hpc6id' | 'hpc7a' | 'hpc7g' | 'i2' | 'i3' | 'i3en' | 'i4g' | 'i4i' | 'i7i' | 'i7ie' | 'i8g' | 'im4gn' | 'inf1' | 'inf2' | 'is4gen' | 'm1' | 'm2' | 'm3' | 'm4' | 'm5' | 'm5a' | 'm5ad' | 'm5d' | 'm5dn' | 'm5n' | 'm5zn' | 'm6a' | 'm6g' | 'm6gd' | 'm6i' | 'm6id' | 'm6idn' | 'm6in' | 'm7a' | 'm7g' | 'm7gd' | 'm7i' | 'm7i-flex' | 'm8g' | 'm8gd' | 'n1' | 'n2' | 'n2d' | 'n4' | 'p3' | 'p3dn' | 'p4d' | 'p4de' | 'p5' | 'p5e' | 'p5en' | 'p6-b200' | 'r3' | 'r4' | 'r5' | 'r5a' | 'r5ad' | 'r5b' | 'r5d' | 'r5dn' | 'r5n' | 'r6a' | 'r6g' | 'r6gd' | 'r6i' | 'r6id' | 'r6idn' | 'r6in' | 'r7a' | 'r7g' | 'r7gd' | 'r7i' | 'r7iz' | 'r8g' | 'r8gd' | 't2' | 't2a' | 't2d' | 't3' | 't3a' | 't4g' | 'trn1' | 'trn1n' | 'u-3tb1' | 'u-6tb1' | 'u7i-12tb' | 'u7i-6tb' | 'u7i-8tb' | 'u7in-16tb' | 'u7in-24tb' | 'u7in-32tb' | 'vt1' | 'x1' | 'x1e' | 'x2gd' | 'x2idn' | 'x2iedn' | 'x2iezn' | 'x4' | 'x8g' | 'z1d' | 'z3'>;
|
|
400
646
|
/**
|
|
401
|
-
*
|
|
647
|
+
* Allowed values for `topology.kubernetes.io/region`.
|
|
402
648
|
*/
|
|
403
|
-
|
|
649
|
+
'topology.kubernetes.io/region'?: Array<'africa-south1' | 'ap-northeast-1' | 'ap-northeast-2' | 'ap-northeast-3' | 'ap-south-1' | 'ap-southeast-1' | 'ap-southeast-2' | 'ash' | 'asia-east1' | 'asia-east2' | 'asia-northeast1' | 'asia-northeast2' | 'asia-northeast3' | 'asia-south1' | 'asia-south2' | 'asia-southeast1' | 'asia-southeast2' | 'australia-southeast1' | 'australia-southeast2' | 'ca-central-1' | 'eu-central-1' | 'eu-central-2' | 'eu-north-1' | 'eu-west-1' | 'eu-west-2' | 'eu-west-3' | 'europe-central2' | 'europe-north1' | 'europe-southwest1' | 'europe-west1' | 'europe-west10' | 'europe-west12' | 'europe-west2' | 'europe-west3' | 'europe-west4' | 'europe-west6' | 'europe-west8' | 'europe-west9' | 'fsn1' | 'hel1' | 'hil' | 'me-central1' | 'me-central2' | 'me-west1' | 'nbg1' | 'northamerica-northeast1' | 'northamerica-northeast2' | 'sa-east-1' | 'sin' | 'southamerica-east1' | 'southamerica-west1' | 'us-central1' | 'us-east-1' | 'us-east-2' | 'us-east1' | 'us-east4' | 'us-east5' | 'us-south1' | 'us-west-1' | 'us-west-2' | 'us-west1' | 'us-west2' | 'us-west3' | 'us-west4'>;
|
|
404
650
|
};
|
|
651
|
+
/**
|
|
652
|
+
* Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet. Full-overwrite: omit to reset to the default (`conservative`).
|
|
653
|
+
*/
|
|
654
|
+
scalingProfile?: 'aggressive' | 'conservative';
|
|
655
|
+
};
|
|
656
|
+
export type InviteCreateInput = {
|
|
657
|
+
/**
|
|
658
|
+
* Email address of the user to invite.
|
|
659
|
+
*/
|
|
660
|
+
email: string;
|
|
661
|
+
/**
|
|
662
|
+
* Role the invited user will be assigned on redemption. Can be 'Administrator' or 'User'.
|
|
663
|
+
*/
|
|
664
|
+
role?: 'Administrator' | 'User';
|
|
405
665
|
};
|
|
406
666
|
export type Invite = {
|
|
407
667
|
/**
|
|
@@ -424,399 +684,656 @@ export type Invite = {
|
|
|
424
684
|
* Generated unique invite code.
|
|
425
685
|
*/
|
|
426
686
|
code?: string;
|
|
687
|
+
/**
|
|
688
|
+
* Role the invited user will be assigned on redemption. Can be 'Administrator' or 'User'.
|
|
689
|
+
*/
|
|
690
|
+
role?: 'Administrator' | 'User';
|
|
427
691
|
};
|
|
428
692
|
export type Invoice = {
|
|
429
693
|
/**
|
|
430
|
-
* Unique identifier of the invoice.
|
|
694
|
+
* Unique identifier of the invoice.
|
|
431
695
|
*/
|
|
432
696
|
id?: string;
|
|
433
|
-
|
|
434
|
-
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
435
|
-
*/
|
|
436
|
-
organizationId?: string;
|
|
697
|
+
number?: string;
|
|
437
698
|
/**
|
|
438
699
|
* Status of the invoice
|
|
439
700
|
*/
|
|
440
|
-
status?:
|
|
701
|
+
status?: string;
|
|
441
702
|
/**
|
|
442
703
|
* Total amount of the invoice
|
|
443
704
|
*/
|
|
444
|
-
|
|
705
|
+
total?: number;
|
|
445
706
|
/**
|
|
446
707
|
* Currency of the invoice
|
|
447
708
|
*/
|
|
448
|
-
currency?:
|
|
709
|
+
currency?: string;
|
|
710
|
+
/**
|
|
711
|
+
* Timestamp when the invoice was issued. ISO 8601 date string in the UTC timezone.
|
|
712
|
+
*/
|
|
713
|
+
created: string;
|
|
449
714
|
/**
|
|
450
|
-
*
|
|
715
|
+
* Billing period start timestamp. ISO 8601 date string in the UTC timezone.
|
|
451
716
|
*/
|
|
452
|
-
|
|
717
|
+
period_start: string;
|
|
453
718
|
/**
|
|
454
|
-
*
|
|
719
|
+
* Billing period end timestamp. ISO 8601 date string in the UTC timezone.
|
|
455
720
|
*/
|
|
456
|
-
|
|
721
|
+
period_end: string;
|
|
722
|
+
invoice_pdf?: string;
|
|
723
|
+
};
|
|
724
|
+
export type MarketplaceListingFiles = {
|
|
725
|
+
/**
|
|
726
|
+
* Raw Chart.yaml content from the Helm chart
|
|
727
|
+
*/
|
|
728
|
+
chartYaml?: string;
|
|
729
|
+
/**
|
|
730
|
+
* Raw values.yaml content from the Helm chart
|
|
731
|
+
*/
|
|
732
|
+
valuesYaml?: string;
|
|
457
733
|
/**
|
|
458
|
-
*
|
|
734
|
+
* JSON schema for values.yaml as a string
|
|
459
735
|
*/
|
|
460
|
-
|
|
736
|
+
valuesSchemaJson?: string;
|
|
737
|
+
};
|
|
738
|
+
export type MarketplaceListing = {
|
|
461
739
|
/**
|
|
462
|
-
*
|
|
740
|
+
* Name of the chart
|
|
463
741
|
*/
|
|
464
|
-
|
|
742
|
+
name: string;
|
|
465
743
|
/**
|
|
466
|
-
*
|
|
744
|
+
* Available versions of the chart
|
|
467
745
|
*/
|
|
468
|
-
|
|
746
|
+
versions: Array<string>;
|
|
469
747
|
/**
|
|
470
|
-
*
|
|
748
|
+
* Version channels for the chart
|
|
471
749
|
*/
|
|
472
|
-
|
|
750
|
+
version_channels: Array<string>;
|
|
473
751
|
/**
|
|
474
|
-
*
|
|
752
|
+
* Latest version of the chart
|
|
475
753
|
*/
|
|
476
|
-
|
|
754
|
+
latestVersion: string;
|
|
477
755
|
/**
|
|
478
|
-
*
|
|
756
|
+
* Chart metadata
|
|
479
757
|
*/
|
|
480
|
-
|
|
758
|
+
metadata?: {
|
|
481
759
|
/**
|
|
482
|
-
*
|
|
760
|
+
* Chart name from metadata
|
|
483
761
|
*/
|
|
484
|
-
|
|
762
|
+
name: string;
|
|
485
763
|
/**
|
|
486
|
-
*
|
|
764
|
+
* Chart version from metadata
|
|
487
765
|
*/
|
|
488
|
-
|
|
766
|
+
version: string;
|
|
489
767
|
/**
|
|
490
|
-
*
|
|
768
|
+
* Chart description
|
|
491
769
|
*/
|
|
492
|
-
|
|
770
|
+
description?: string;
|
|
493
771
|
/**
|
|
494
|
-
*
|
|
772
|
+
* Application version
|
|
495
773
|
*/
|
|
496
|
-
|
|
774
|
+
appVersion?: string;
|
|
497
775
|
/**
|
|
498
|
-
*
|
|
776
|
+
* Helm API version
|
|
499
777
|
*/
|
|
500
|
-
|
|
778
|
+
apiVersion?: string;
|
|
501
779
|
/**
|
|
502
|
-
*
|
|
780
|
+
* Chart keywords
|
|
503
781
|
*/
|
|
504
|
-
|
|
782
|
+
keywords?: Array<string>;
|
|
505
783
|
/**
|
|
506
|
-
*
|
|
784
|
+
* Chart home URL
|
|
507
785
|
*/
|
|
508
|
-
|
|
786
|
+
home?: string;
|
|
509
787
|
/**
|
|
510
|
-
*
|
|
788
|
+
* A URL to an SVG or PNG image to be used as an icon
|
|
511
789
|
*/
|
|
512
|
-
|
|
790
|
+
icon?: string;
|
|
513
791
|
/**
|
|
514
|
-
*
|
|
792
|
+
* Chart source URLs
|
|
515
793
|
*/
|
|
516
|
-
|
|
794
|
+
sources?: Array<string>;
|
|
517
795
|
/**
|
|
518
|
-
*
|
|
796
|
+
* Chart maintainers
|
|
519
797
|
*/
|
|
520
|
-
|
|
798
|
+
maintainers?: Array<{
|
|
799
|
+
/**
|
|
800
|
+
* Maintainer name
|
|
801
|
+
*/
|
|
802
|
+
name: string;
|
|
803
|
+
/**
|
|
804
|
+
* Maintainer email
|
|
805
|
+
*/
|
|
806
|
+
email?: string;
|
|
807
|
+
}>;
|
|
808
|
+
};
|
|
809
|
+
};
|
|
810
|
+
export type OrganizationCreateInput = {
|
|
811
|
+
/**
|
|
812
|
+
* Type of the organization. `business` for legal entities, `personal` for individuals.
|
|
813
|
+
*/
|
|
814
|
+
type: 'business' | 'personal';
|
|
815
|
+
/**
|
|
816
|
+
* Email address used for billing as a string.
|
|
817
|
+
*/
|
|
818
|
+
email: string;
|
|
819
|
+
/**
|
|
820
|
+
* First name of the billing contact person.
|
|
821
|
+
*/
|
|
822
|
+
first_name: string;
|
|
823
|
+
/**
|
|
824
|
+
* Last name of the billing contact person.
|
|
825
|
+
*/
|
|
826
|
+
last_name: string;
|
|
827
|
+
/**
|
|
828
|
+
* Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
|
|
829
|
+
*/
|
|
830
|
+
company_name: string;
|
|
831
|
+
/**
|
|
832
|
+
* Password for the root account. Must be at least 8 characters long and contain at least one uppercase letter, one lowercase letter, one number and one special character.
|
|
833
|
+
*/
|
|
834
|
+
password: string;
|
|
835
|
+
};
|
|
836
|
+
export type OrganizationCreateOutput = {
|
|
837
|
+
/**
|
|
838
|
+
* Unique identifier of the newly created organization. Generated by the API and safe to use for client-side tracking immediately.
|
|
839
|
+
*/
|
|
840
|
+
id: string;
|
|
841
|
+
};
|
|
842
|
+
export type Organization = {
|
|
843
|
+
/**
|
|
844
|
+
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
845
|
+
*/
|
|
846
|
+
id: string;
|
|
847
|
+
/**
|
|
848
|
+
* Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
|
|
849
|
+
*/
|
|
850
|
+
name?: string;
|
|
851
|
+
/**
|
|
852
|
+
* Type of the organization. `business` for legal entities, `personal` for individuals.
|
|
853
|
+
*/
|
|
854
|
+
type: 'business' | 'personal';
|
|
855
|
+
/**
|
|
856
|
+
* Creation date of the organization. ISO 8601 date string in UTC timezone
|
|
857
|
+
*/
|
|
858
|
+
date_created: string;
|
|
859
|
+
/**
|
|
860
|
+
* For security reasons, platform quota is controlled by Cloudfleet and can be updated only by Cloudfleet administrators. Please open a support ticket if you need to change the platform quota.
|
|
861
|
+
*/
|
|
862
|
+
quota: {
|
|
521
863
|
/**
|
|
522
|
-
*
|
|
864
|
+
* Maximum number of Basic clusters that can be created.
|
|
523
865
|
*/
|
|
524
|
-
|
|
866
|
+
basic_clusters_max: number;
|
|
525
867
|
/**
|
|
526
|
-
*
|
|
868
|
+
* Available number of Basic clusters that can be created.
|
|
527
869
|
*/
|
|
528
|
-
|
|
870
|
+
basic_clusters_available: number;
|
|
529
871
|
/**
|
|
530
|
-
*
|
|
872
|
+
* Maximum number of Pro clusters that can be created.
|
|
531
873
|
*/
|
|
532
|
-
|
|
874
|
+
pro_clusters_max: number;
|
|
533
875
|
/**
|
|
534
|
-
*
|
|
876
|
+
* Available number of Pro clusters that can be created.
|
|
535
877
|
*/
|
|
536
|
-
|
|
878
|
+
pro_clusters_available: number;
|
|
537
879
|
/**
|
|
538
|
-
*
|
|
880
|
+
* Maximum number of Enterprise clusters that can be created.
|
|
539
881
|
*/
|
|
540
|
-
|
|
882
|
+
enterprise_clusters_max: number;
|
|
541
883
|
/**
|
|
542
|
-
*
|
|
884
|
+
* Available number of Enterprise clusters that can be created.
|
|
543
885
|
*/
|
|
544
|
-
|
|
886
|
+
enterprise_clusters_available: number;
|
|
545
887
|
/**
|
|
546
|
-
*
|
|
888
|
+
* Maximum number of fleets that can be created per cluster.
|
|
547
889
|
*/
|
|
548
|
-
|
|
890
|
+
fleets_max: number;
|
|
549
891
|
/**
|
|
550
|
-
*
|
|
892
|
+
* List of Cloudfleet cluster tiers available for the organization.
|
|
551
893
|
*/
|
|
552
|
-
|
|
894
|
+
cluster_tiers: Array<string>;
|
|
553
895
|
/**
|
|
554
|
-
*
|
|
896
|
+
* List of Cloudfleet control plane regions available for the organization.
|
|
555
897
|
*/
|
|
556
|
-
|
|
898
|
+
regions: Array<string>;
|
|
557
899
|
/**
|
|
558
|
-
*
|
|
900
|
+
* List of CFKE control plane versions available for the organization.
|
|
559
901
|
*/
|
|
560
|
-
|
|
902
|
+
versions: Array<{
|
|
903
|
+
/**
|
|
904
|
+
* Id of the control plane version. Used in API calls.
|
|
905
|
+
*/
|
|
906
|
+
id: string;
|
|
907
|
+
/**
|
|
908
|
+
* Label of the control plane version. Used in frontent UI.
|
|
909
|
+
*/
|
|
910
|
+
label: string;
|
|
911
|
+
}>;
|
|
561
912
|
/**
|
|
562
|
-
*
|
|
913
|
+
* Organization-level maximum CFCR storage volume in GB. -1 means no limit.
|
|
563
914
|
*/
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
} | string>;
|
|
567
|
-
}>;
|
|
915
|
+
cfcr_storage_gb: number;
|
|
916
|
+
};
|
|
568
917
|
/**
|
|
569
|
-
*
|
|
918
|
+
* Status of the organization. Can be `active` or `closed`, or `suspended`.
|
|
570
919
|
*/
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
920
|
+
status: 'active' | 'closed' | 'suspended';
|
|
921
|
+
/**
|
|
922
|
+
* Verification status of the organization, which determines the assigned quota. `none` when billing information is incomplete, `submitted` when billing information is complete but the organization is not yet verified, `verified` when the organization is verified.
|
|
923
|
+
*/
|
|
924
|
+
verification: 'none' | 'submitted' | 'verified';
|
|
925
|
+
};
|
|
926
|
+
export type PaymentMethod = {
|
|
927
|
+
/**
|
|
928
|
+
* Payment method identifier. Stripe payment method id for cards/SEPA; the constant `bank_transfer` for the invoice/bank-transfer method. Used to set as default or delete the payment method.
|
|
929
|
+
*/
|
|
930
|
+
id: string;
|
|
931
|
+
/**
|
|
932
|
+
* Payment method type. `card`, `sepa_debit` for SEPA Direct Debit (business accounts only), or `bank_transfer` for paying invoices by bank transfer.
|
|
933
|
+
*/
|
|
934
|
+
type: 'card' | 'sepa_debit' | 'bank_transfer';
|
|
935
|
+
/**
|
|
936
|
+
* Last 4 digits of the payment card number, of the bank account (IBAN) for SEPA Direct Debit, or of the destination IBAN for bank transfer.
|
|
937
|
+
*/
|
|
938
|
+
last4: string;
|
|
939
|
+
/**
|
|
940
|
+
* Two-digit number representing the card's expiration month. Null for SEPA Direct Debit and bank transfer.
|
|
941
|
+
*/
|
|
942
|
+
exp_month: number;
|
|
943
|
+
/**
|
|
944
|
+
* Four-digit number representing the card's expiration year. May be in the past for an expired card still on file. Null for SEPA Direct Debit and bank transfer.
|
|
945
|
+
*/
|
|
946
|
+
exp_year: number;
|
|
947
|
+
/**
|
|
948
|
+
* Payment card brand as reported by Stripe, e.g. `visa`, `mastercard`, `amex`, `cartes_bancaires`, or `unknown`. Null for SEPA Direct Debit and bank transfer.
|
|
949
|
+
*/
|
|
950
|
+
brand: string;
|
|
951
|
+
/**
|
|
952
|
+
* Full destination IBAN to send bank transfers to. Set only for `bank_transfer`; null otherwise. This is Cloudfleet's virtual receiving account, shown in full so the customer can pay into it.
|
|
953
|
+
*/
|
|
954
|
+
iban: string;
|
|
955
|
+
/**
|
|
956
|
+
* BIC/SWIFT of the destination bank for bank transfers. Set only for `bank_transfer`; null otherwise.
|
|
957
|
+
*/
|
|
958
|
+
bic: string;
|
|
959
|
+
/**
|
|
960
|
+
* Account holder name of the destination bank account for bank transfers. Set only for `bank_transfer`; null otherwise.
|
|
961
|
+
*/
|
|
962
|
+
account_holder_name: string;
|
|
963
|
+
/**
|
|
964
|
+
* Whether this payment method is the default used for invoices and active subscriptions. Always false for `bank_transfer` (it cannot be a Stripe default payment method).
|
|
965
|
+
*/
|
|
966
|
+
is_default: boolean;
|
|
967
|
+
};
|
|
968
|
+
export type PlatformQuota = {
|
|
969
|
+
/**
|
|
970
|
+
* Maximum number of Basic clusters that can be created.
|
|
971
|
+
*/
|
|
972
|
+
basic_clusters_max: number;
|
|
973
|
+
/**
|
|
974
|
+
* Available number of Basic clusters that can be created.
|
|
975
|
+
*/
|
|
976
|
+
basic_clusters_available: number;
|
|
977
|
+
/**
|
|
978
|
+
* Maximum number of Pro clusters that can be created.
|
|
979
|
+
*/
|
|
980
|
+
pro_clusters_max: number;
|
|
981
|
+
/**
|
|
982
|
+
* Available number of Pro clusters that can be created.
|
|
983
|
+
*/
|
|
984
|
+
pro_clusters_available: number;
|
|
985
|
+
/**
|
|
986
|
+
* Maximum number of Enterprise clusters that can be created.
|
|
987
|
+
*/
|
|
988
|
+
enterprise_clusters_max: number;
|
|
989
|
+
/**
|
|
990
|
+
* Available number of Enterprise clusters that can be created.
|
|
991
|
+
*/
|
|
992
|
+
enterprise_clusters_available: number;
|
|
993
|
+
/**
|
|
994
|
+
* Maximum number of fleets that can be created per cluster.
|
|
995
|
+
*/
|
|
996
|
+
fleets_max: number;
|
|
997
|
+
/**
|
|
998
|
+
* List of Cloudfleet cluster tiers available for the organization.
|
|
999
|
+
*/
|
|
1000
|
+
cluster_tiers: Array<string>;
|
|
1001
|
+
/**
|
|
1002
|
+
* List of Cloudfleet control plane regions available for the organization.
|
|
1003
|
+
*/
|
|
1004
|
+
regions: Array<string>;
|
|
1005
|
+
/**
|
|
1006
|
+
* List of CFKE control plane versions available for the organization.
|
|
1007
|
+
*/
|
|
1008
|
+
versions: Array<{
|
|
604
1009
|
/**
|
|
605
|
-
*
|
|
1010
|
+
* Id of the control plane version. Used in API calls.
|
|
606
1011
|
*/
|
|
607
|
-
|
|
1012
|
+
id: string;
|
|
608
1013
|
/**
|
|
609
|
-
*
|
|
1014
|
+
* Label of the control plane version. Used in frontent UI.
|
|
610
1015
|
*/
|
|
611
|
-
|
|
1016
|
+
label: string;
|
|
1017
|
+
}>;
|
|
1018
|
+
/**
|
|
1019
|
+
* Organization-level maximum CFCR storage volume in GB. -1 means no limit.
|
|
1020
|
+
*/
|
|
1021
|
+
cfcr_storage_gb: number;
|
|
1022
|
+
};
|
|
1023
|
+
export type RegistryRepository = {
|
|
1024
|
+
/**
|
|
1025
|
+
* Repository name.
|
|
1026
|
+
*/
|
|
1027
|
+
name: string;
|
|
1028
|
+
/**
|
|
1029
|
+
* Registry region.
|
|
1030
|
+
*/
|
|
1031
|
+
region: string;
|
|
1032
|
+
/**
|
|
1033
|
+
* Full URI of the repository.
|
|
1034
|
+
*/
|
|
1035
|
+
uri: string;
|
|
1036
|
+
};
|
|
1037
|
+
export type RegistryRepositoryWithTags = {
|
|
1038
|
+
/**
|
|
1039
|
+
* Repository name.
|
|
1040
|
+
*/
|
|
1041
|
+
name: string;
|
|
1042
|
+
/**
|
|
1043
|
+
* Registry region.
|
|
1044
|
+
*/
|
|
1045
|
+
region: string;
|
|
1046
|
+
/**
|
|
1047
|
+
* Full URI of the repository.
|
|
1048
|
+
*/
|
|
1049
|
+
uri: string;
|
|
1050
|
+
/**
|
|
1051
|
+
* Array of tags in the repository.
|
|
1052
|
+
*/
|
|
1053
|
+
tags: Array<{
|
|
612
1054
|
/**
|
|
613
|
-
*
|
|
1055
|
+
* Tag name.
|
|
614
1056
|
*/
|
|
615
|
-
|
|
1057
|
+
name: string;
|
|
616
1058
|
/**
|
|
617
|
-
*
|
|
1059
|
+
* Size of the tag in bytes.
|
|
618
1060
|
*/
|
|
619
|
-
|
|
1061
|
+
size: number;
|
|
620
1062
|
/**
|
|
621
|
-
*
|
|
1063
|
+
* Media type of the manifest.
|
|
622
1064
|
*/
|
|
623
|
-
|
|
1065
|
+
mediaType?: string;
|
|
624
1066
|
/**
|
|
625
|
-
*
|
|
1067
|
+
* Array of platform strings for multi-arch images (e.g., linux/amd64, linux/arm64).
|
|
626
1068
|
*/
|
|
627
|
-
|
|
1069
|
+
platforms?: Array<string>;
|
|
1070
|
+
}>;
|
|
1071
|
+
/**
|
|
1072
|
+
* Total size of all tags in the repository in bytes.
|
|
1073
|
+
*/
|
|
1074
|
+
totalSize: number;
|
|
1075
|
+
};
|
|
1076
|
+
export type RegistryTag = {
|
|
1077
|
+
/**
|
|
1078
|
+
* Tag name.
|
|
1079
|
+
*/
|
|
1080
|
+
name: string;
|
|
1081
|
+
/**
|
|
1082
|
+
* Manifest digest for pulling by digest.
|
|
1083
|
+
*/
|
|
1084
|
+
digest: string;
|
|
1085
|
+
/**
|
|
1086
|
+
* Media type of the manifest.
|
|
1087
|
+
*/
|
|
1088
|
+
mediaType?: string;
|
|
1089
|
+
/**
|
|
1090
|
+
* Manifest config metadata.
|
|
1091
|
+
*/
|
|
1092
|
+
config?: {
|
|
628
1093
|
/**
|
|
629
|
-
*
|
|
1094
|
+
* Size of the config in bytes.
|
|
630
1095
|
*/
|
|
631
|
-
|
|
1096
|
+
size: number;
|
|
1097
|
+
};
|
|
1098
|
+
/**
|
|
1099
|
+
* Array of layer metadata.
|
|
1100
|
+
*/
|
|
1101
|
+
layers?: Array<{
|
|
632
1102
|
/**
|
|
633
|
-
*
|
|
1103
|
+
* Digest of the layer.
|
|
634
1104
|
*/
|
|
635
|
-
|
|
1105
|
+
digest?: string;
|
|
636
1106
|
/**
|
|
637
|
-
*
|
|
1107
|
+
* Size of the layer in bytes.
|
|
638
1108
|
*/
|
|
639
|
-
|
|
1109
|
+
size: number;
|
|
1110
|
+
}>;
|
|
1111
|
+
/**
|
|
1112
|
+
* Array of manifests for multi-arch images.
|
|
1113
|
+
*/
|
|
1114
|
+
manifests?: Array<{
|
|
640
1115
|
/**
|
|
641
|
-
*
|
|
1116
|
+
* Digest of the manifest.
|
|
642
1117
|
*/
|
|
643
|
-
|
|
1118
|
+
digest: string;
|
|
644
1119
|
/**
|
|
645
|
-
*
|
|
1120
|
+
* Platform information for the manifest.
|
|
646
1121
|
*/
|
|
647
|
-
|
|
1122
|
+
platform?: {
|
|
1123
|
+
/**
|
|
1124
|
+
* Architecture of the platform.
|
|
1125
|
+
*/
|
|
1126
|
+
architecture: string;
|
|
1127
|
+
/**
|
|
1128
|
+
* Operating system of the platform.
|
|
1129
|
+
*/
|
|
1130
|
+
os: string;
|
|
1131
|
+
/**
|
|
1132
|
+
* Variant of the platform (e.g., v7, v8 for ARM).
|
|
1133
|
+
*/
|
|
1134
|
+
variant?: string;
|
|
1135
|
+
};
|
|
648
1136
|
/**
|
|
649
|
-
*
|
|
1137
|
+
* Layers for this platform.
|
|
650
1138
|
*/
|
|
651
|
-
|
|
1139
|
+
layers?: Array<{
|
|
1140
|
+
/**
|
|
1141
|
+
* Digest of the layer.
|
|
1142
|
+
*/
|
|
1143
|
+
digest?: string;
|
|
1144
|
+
/**
|
|
1145
|
+
* Size of the layer in bytes.
|
|
1146
|
+
*/
|
|
1147
|
+
size: number;
|
|
1148
|
+
}>;
|
|
652
1149
|
/**
|
|
653
|
-
*
|
|
1150
|
+
* Total size of this platform manifest in bytes.
|
|
654
1151
|
*/
|
|
655
|
-
|
|
656
|
-
[key: string]: unknown;
|
|
657
|
-
} | string>;
|
|
1152
|
+
size?: number;
|
|
658
1153
|
}>;
|
|
659
|
-
};
|
|
660
|
-
export type MarketplaceListing = {
|
|
661
1154
|
/**
|
|
662
|
-
*
|
|
1155
|
+
* Total size of the tag in bytes.
|
|
663
1156
|
*/
|
|
664
|
-
|
|
1157
|
+
size: number;
|
|
665
1158
|
/**
|
|
666
|
-
*
|
|
1159
|
+
* Registry region.
|
|
667
1160
|
*/
|
|
668
|
-
|
|
1161
|
+
region: string;
|
|
669
1162
|
/**
|
|
670
|
-
*
|
|
1163
|
+
* Repository name.
|
|
671
1164
|
*/
|
|
672
|
-
|
|
1165
|
+
repository: string;
|
|
673
1166
|
/**
|
|
674
|
-
*
|
|
1167
|
+
* Full URI of the tag.
|
|
675
1168
|
*/
|
|
676
|
-
|
|
1169
|
+
uri: string;
|
|
1170
|
+
};
|
|
1171
|
+
export type TicketAttachment = {
|
|
677
1172
|
/**
|
|
678
|
-
*
|
|
1173
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
679
1174
|
*/
|
|
680
|
-
|
|
1175
|
+
id: string;
|
|
681
1176
|
/**
|
|
682
|
-
*
|
|
1177
|
+
* Original filename as uploaded.
|
|
683
1178
|
*/
|
|
684
|
-
|
|
1179
|
+
filename: string;
|
|
685
1180
|
/**
|
|
686
|
-
*
|
|
1181
|
+
* MIME content type of the attachment.
|
|
687
1182
|
*/
|
|
688
|
-
|
|
689
|
-
version_channels: Array<string>;
|
|
690
|
-
value_schemas: Array<{
|
|
691
|
-
/**
|
|
692
|
-
* Version of the chart.
|
|
693
|
-
*/
|
|
694
|
-
version: string;
|
|
695
|
-
/**
|
|
696
|
-
* Schema of the chart values. JSON Schema as string
|
|
697
|
-
*/
|
|
698
|
-
schema: string;
|
|
699
|
-
/**
|
|
700
|
-
* Schema of the chart values
|
|
701
|
-
*/
|
|
702
|
-
placeholder: string;
|
|
703
|
-
}>;
|
|
704
|
-
};
|
|
705
|
-
export type OrganizationCreateInput = {
|
|
1183
|
+
content_type: string;
|
|
706
1184
|
/**
|
|
707
|
-
*
|
|
1185
|
+
* Size of the attachment in bytes.
|
|
708
1186
|
*/
|
|
709
|
-
|
|
1187
|
+
size: number;
|
|
1188
|
+
};
|
|
1189
|
+
export type TicketCreateInput = {
|
|
710
1190
|
/**
|
|
711
|
-
*
|
|
1191
|
+
* Ticket category. Drives auto-assignment and may carry a subcategory in `properties`.
|
|
712
1192
|
*/
|
|
713
|
-
|
|
1193
|
+
category: 'billing' | 'technical' | 'general';
|
|
714
1194
|
/**
|
|
715
|
-
*
|
|
1195
|
+
* Initial message body in markdown. There is no separate subject — the first message body is the description.
|
|
716
1196
|
*/
|
|
717
|
-
|
|
1197
|
+
body: string;
|
|
718
1198
|
/**
|
|
719
|
-
*
|
|
1199
|
+
* Free-form key/value bag set by the UI (e.g. `subcategory`, `cluster_id`, `cluster_name`, `region`).
|
|
720
1200
|
*/
|
|
721
|
-
|
|
1201
|
+
properties?: {
|
|
1202
|
+
[key: string]: unknown;
|
|
1203
|
+
};
|
|
1204
|
+
};
|
|
1205
|
+
export type TicketMessageInput = {
|
|
722
1206
|
/**
|
|
723
|
-
*
|
|
1207
|
+
* Reply body in markdown.
|
|
724
1208
|
*/
|
|
725
|
-
|
|
1209
|
+
body: string;
|
|
726
1210
|
};
|
|
727
|
-
export type
|
|
1211
|
+
export type TicketMessage = {
|
|
728
1212
|
/**
|
|
729
|
-
* Unique identifier of the
|
|
1213
|
+
* Unique identifier of the message (Mongo ObjectId).
|
|
730
1214
|
*/
|
|
731
1215
|
id: string;
|
|
732
1216
|
/**
|
|
733
|
-
*
|
|
1217
|
+
* Message type. Internal notes are filtered out of customer-facing responses.
|
|
734
1218
|
*/
|
|
735
|
-
|
|
1219
|
+
type: 'customer_reply' | 'agent_reply';
|
|
736
1220
|
/**
|
|
737
|
-
*
|
|
1221
|
+
* Message body in markdown.
|
|
738
1222
|
*/
|
|
739
|
-
|
|
1223
|
+
body: string;
|
|
740
1224
|
/**
|
|
741
|
-
*
|
|
1225
|
+
* First name of the author. Null when not provided.
|
|
742
1226
|
*/
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
/**
|
|
753
|
-
* Maximum number of Pro clusters that can be created.
|
|
754
|
-
*/
|
|
755
|
-
pro_clusters_max: number;
|
|
756
|
-
/**
|
|
757
|
-
* Available number of Pro clusters that can be created.
|
|
758
|
-
*/
|
|
759
|
-
pro_clusters_available: number;
|
|
1227
|
+
author_first_name?: string;
|
|
1228
|
+
/**
|
|
1229
|
+
* Last name of the author. Null when not provided.
|
|
1230
|
+
*/
|
|
1231
|
+
author_last_name?: string;
|
|
1232
|
+
/**
|
|
1233
|
+
* Attachments associated with this message.
|
|
1234
|
+
*/
|
|
1235
|
+
attachments?: Array<{
|
|
760
1236
|
/**
|
|
761
|
-
*
|
|
1237
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
762
1238
|
*/
|
|
763
|
-
|
|
1239
|
+
id: string;
|
|
764
1240
|
/**
|
|
765
|
-
*
|
|
1241
|
+
* Original filename as uploaded.
|
|
766
1242
|
*/
|
|
767
|
-
|
|
1243
|
+
filename: string;
|
|
768
1244
|
/**
|
|
769
|
-
*
|
|
1245
|
+
* MIME content type of the attachment.
|
|
770
1246
|
*/
|
|
771
|
-
|
|
1247
|
+
content_type: string;
|
|
772
1248
|
/**
|
|
773
|
-
*
|
|
1249
|
+
* Size of the attachment in bytes.
|
|
774
1250
|
*/
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
* Id of the control plane version. Used in API calls.
|
|
778
|
-
*/
|
|
779
|
-
id: string;
|
|
780
|
-
/**
|
|
781
|
-
* Label of the control plane version. Used in frontent UI.
|
|
782
|
-
*/
|
|
783
|
-
label: string;
|
|
784
|
-
}>;
|
|
785
|
-
};
|
|
1251
|
+
size: number;
|
|
1252
|
+
}>;
|
|
786
1253
|
/**
|
|
787
|
-
*
|
|
1254
|
+
* Creation date of the message. ISO 8601 UTC.
|
|
788
1255
|
*/
|
|
789
|
-
|
|
1256
|
+
date_created: string;
|
|
790
1257
|
};
|
|
791
|
-
export type
|
|
1258
|
+
export type Ticket = {
|
|
792
1259
|
/**
|
|
793
|
-
* Unique identifier of the
|
|
1260
|
+
* Unique identifier of the ticket (Mongo ObjectId).
|
|
794
1261
|
*/
|
|
795
1262
|
id: string;
|
|
796
1263
|
/**
|
|
797
|
-
*
|
|
1264
|
+
* Current state of the ticket.
|
|
798
1265
|
*/
|
|
799
|
-
|
|
1266
|
+
status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
|
|
800
1267
|
/**
|
|
801
|
-
*
|
|
1268
|
+
* Ticket category.
|
|
802
1269
|
*/
|
|
803
|
-
|
|
1270
|
+
category: 'billing' | 'technical' | 'general';
|
|
804
1271
|
/**
|
|
805
|
-
*
|
|
1272
|
+
* First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
|
|
806
1273
|
*/
|
|
807
|
-
|
|
1274
|
+
summary: string;
|
|
808
1275
|
/**
|
|
809
|
-
*
|
|
1276
|
+
* Closure timestamp. Null while the ticket is open.
|
|
810
1277
|
*/
|
|
811
|
-
|
|
1278
|
+
closed_at?: string;
|
|
812
1279
|
/**
|
|
813
|
-
*
|
|
1280
|
+
* Creation date of the ticket. ISO 8601 UTC.
|
|
814
1281
|
*/
|
|
815
|
-
|
|
1282
|
+
date_created: string;
|
|
816
1283
|
/**
|
|
817
|
-
*
|
|
1284
|
+
* Last update date of the ticket. ISO 8601 UTC.
|
|
818
1285
|
*/
|
|
819
|
-
|
|
1286
|
+
date_updated: string;
|
|
1287
|
+
/**
|
|
1288
|
+
* Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
|
|
1289
|
+
*/
|
|
1290
|
+
messages?: Array<{
|
|
1291
|
+
/**
|
|
1292
|
+
* Unique identifier of the message (Mongo ObjectId).
|
|
1293
|
+
*/
|
|
1294
|
+
id: string;
|
|
1295
|
+
/**
|
|
1296
|
+
* Message type. Internal notes are filtered out of customer-facing responses.
|
|
1297
|
+
*/
|
|
1298
|
+
type: 'customer_reply' | 'agent_reply';
|
|
1299
|
+
/**
|
|
1300
|
+
* Message body in markdown.
|
|
1301
|
+
*/
|
|
1302
|
+
body: string;
|
|
1303
|
+
/**
|
|
1304
|
+
* First name of the author. Null when not provided.
|
|
1305
|
+
*/
|
|
1306
|
+
author_first_name?: string;
|
|
1307
|
+
/**
|
|
1308
|
+
* Last name of the author. Null when not provided.
|
|
1309
|
+
*/
|
|
1310
|
+
author_last_name?: string;
|
|
1311
|
+
/**
|
|
1312
|
+
* Attachments associated with this message.
|
|
1313
|
+
*/
|
|
1314
|
+
attachments?: Array<{
|
|
1315
|
+
/**
|
|
1316
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
1317
|
+
*/
|
|
1318
|
+
id: string;
|
|
1319
|
+
/**
|
|
1320
|
+
* Original filename as uploaded.
|
|
1321
|
+
*/
|
|
1322
|
+
filename: string;
|
|
1323
|
+
/**
|
|
1324
|
+
* MIME content type of the attachment.
|
|
1325
|
+
*/
|
|
1326
|
+
content_type: string;
|
|
1327
|
+
/**
|
|
1328
|
+
* Size of the attachment in bytes.
|
|
1329
|
+
*/
|
|
1330
|
+
size: number;
|
|
1331
|
+
}>;
|
|
1332
|
+
/**
|
|
1333
|
+
* Creation date of the message. ISO 8601 UTC.
|
|
1334
|
+
*/
|
|
1335
|
+
date_created: string;
|
|
1336
|
+
}>;
|
|
820
1337
|
};
|
|
821
1338
|
export type TokenCreateInput = {
|
|
822
1339
|
/**
|
|
@@ -860,35 +1377,85 @@ export type TokenUpdateInput = {
|
|
|
860
1377
|
*/
|
|
861
1378
|
role?: 'Administrator' | 'User';
|
|
862
1379
|
};
|
|
863
|
-
export type
|
|
1380
|
+
export type UsageFacets = {
|
|
864
1381
|
/**
|
|
865
|
-
*
|
|
1382
|
+
* List of unique cluster IDs
|
|
866
1383
|
*/
|
|
867
|
-
|
|
1384
|
+
cluster_id?: Array<string>;
|
|
868
1385
|
/**
|
|
869
|
-
*
|
|
1386
|
+
* List of unique products
|
|
870
1387
|
*/
|
|
871
|
-
|
|
1388
|
+
product?: Array<'cfke_controlplane_basic' | 'cfke_controlplane_pro' | 'cfke_controlplane_enterprise' | 'cfke_connected_nodes_basic' | 'cfke_connected_nodes_pro' | 'cfke_connected_nodes_enterprise' | 'cfcr_storage'>;
|
|
1389
|
+
};
|
|
1390
|
+
export type UsageResponse = {
|
|
872
1391
|
/**
|
|
873
|
-
*
|
|
1392
|
+
* Usage data
|
|
1393
|
+
*/
|
|
1394
|
+
data: Array<{
|
|
1395
|
+
/**
|
|
1396
|
+
* Hour of the usage
|
|
1397
|
+
*/
|
|
1398
|
+
hour: string;
|
|
1399
|
+
/**
|
|
1400
|
+
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
1401
|
+
*/
|
|
1402
|
+
cluster_id: string;
|
|
1403
|
+
/**
|
|
1404
|
+
* The product the usage is associated with
|
|
1405
|
+
*/
|
|
1406
|
+
product: 'cfke_controlplane_basic' | 'cfke_controlplane_pro' | 'cfke_controlplane_enterprise' | 'cfke_connected_nodes_basic' | 'cfke_connected_nodes_pro' | 'cfke_connected_nodes_enterprise' | 'cfcr_storage';
|
|
1407
|
+
/**
|
|
1408
|
+
* Consumption
|
|
1409
|
+
*/
|
|
1410
|
+
value: number;
|
|
1411
|
+
/**
|
|
1412
|
+
* Price per unit
|
|
1413
|
+
*/
|
|
1414
|
+
price: number;
|
|
1415
|
+
/**
|
|
1416
|
+
* Total cost
|
|
1417
|
+
*/
|
|
1418
|
+
total: number;
|
|
1419
|
+
}>;
|
|
1420
|
+
/**
|
|
1421
|
+
* Facets for filtering
|
|
1422
|
+
*/
|
|
1423
|
+
facets: {
|
|
1424
|
+
/**
|
|
1425
|
+
* List of unique cluster IDs
|
|
1426
|
+
*/
|
|
1427
|
+
cluster_id?: Array<string>;
|
|
1428
|
+
/**
|
|
1429
|
+
* List of unique products
|
|
1430
|
+
*/
|
|
1431
|
+
product?: Array<'cfke_controlplane_basic' | 'cfke_controlplane_pro' | 'cfke_controlplane_enterprise' | 'cfke_connected_nodes_basic' | 'cfke_connected_nodes_pro' | 'cfke_connected_nodes_enterprise' | 'cfcr_storage'>;
|
|
1432
|
+
};
|
|
1433
|
+
};
|
|
1434
|
+
export type Usage = {
|
|
1435
|
+
/**
|
|
1436
|
+
* Hour of the usage
|
|
874
1437
|
*/
|
|
875
|
-
|
|
1438
|
+
hour: string;
|
|
1439
|
+
/**
|
|
1440
|
+
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
1441
|
+
*/
|
|
1442
|
+
cluster_id: string;
|
|
876
1443
|
/**
|
|
877
1444
|
* The product the usage is associated with
|
|
878
1445
|
*/
|
|
879
|
-
product: '
|
|
1446
|
+
product: 'cfke_controlplane_basic' | 'cfke_controlplane_pro' | 'cfke_controlplane_enterprise' | 'cfke_connected_nodes_basic' | 'cfke_connected_nodes_pro' | 'cfke_connected_nodes_enterprise' | 'cfcr_storage';
|
|
880
1447
|
/**
|
|
881
|
-
*
|
|
1448
|
+
* Consumption
|
|
882
1449
|
*/
|
|
883
|
-
|
|
1450
|
+
value: number;
|
|
1451
|
+
/**
|
|
1452
|
+
* Price per unit
|
|
1453
|
+
*/
|
|
1454
|
+
price: number;
|
|
884
1455
|
/**
|
|
885
|
-
*
|
|
1456
|
+
* Total cost
|
|
886
1457
|
*/
|
|
887
|
-
|
|
888
|
-
cpu: number | '';
|
|
889
|
-
price: number | '';
|
|
890
|
-
value: number | '';
|
|
891
|
-
total: number | '';
|
|
1458
|
+
total: number;
|
|
892
1459
|
};
|
|
893
1460
|
export type UserCreateInput = {
|
|
894
1461
|
/**
|
|
@@ -911,14 +1478,6 @@ export type UserCreateInput = {
|
|
|
911
1478
|
* User password. Must be at least 8 characters long.
|
|
912
1479
|
*/
|
|
913
1480
|
password: string;
|
|
914
|
-
/**
|
|
915
|
-
* Status of the user. Can be `active` or `inactive`. Inactive users cannot log in or manage organization resources.
|
|
916
|
-
*/
|
|
917
|
-
status?: 'active' | 'inactive';
|
|
918
|
-
/**
|
|
919
|
-
* User role. Can be 'Administrator', 'User'.
|
|
920
|
-
*/
|
|
921
|
-
role?: 'Administrator' | 'User';
|
|
922
1481
|
};
|
|
923
1482
|
export type User = {
|
|
924
1483
|
/**
|
|
@@ -972,562 +1531,658 @@ export type UserUpdateInput = {
|
|
|
972
1531
|
*/
|
|
973
1532
|
status?: 'active' | 'inactive';
|
|
974
1533
|
};
|
|
975
|
-
export type
|
|
1534
|
+
export type ListUserOrganizationsData = {
|
|
1535
|
+
body?: never;
|
|
1536
|
+
path: {
|
|
1537
|
+
/**
|
|
1538
|
+
* User email address.
|
|
1539
|
+
*/
|
|
1540
|
+
email: string;
|
|
1541
|
+
};
|
|
1542
|
+
query?: never;
|
|
1543
|
+
url: '/users/organizations/{email}';
|
|
1544
|
+
};
|
|
1545
|
+
export type ListUserOrganizationsResponses = {
|
|
1546
|
+
/**
|
|
1547
|
+
* An array of organizations the user belongs to.
|
|
1548
|
+
*/
|
|
1549
|
+
200: Array<{
|
|
1550
|
+
/**
|
|
1551
|
+
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
1552
|
+
*/
|
|
1553
|
+
realm?: string;
|
|
1554
|
+
/**
|
|
1555
|
+
* Human-readable name of the organization
|
|
1556
|
+
*/
|
|
1557
|
+
displayName?: string;
|
|
1558
|
+
}>;
|
|
1559
|
+
};
|
|
1560
|
+
export type ListUserOrganizationsResponse = ListUserOrganizationsResponses[keyof ListUserOrganizationsResponses];
|
|
1561
|
+
export type ListUsersData = {
|
|
976
1562
|
body?: never;
|
|
977
1563
|
path?: never;
|
|
978
1564
|
query?: never;
|
|
979
|
-
url: '/
|
|
1565
|
+
url: '/users';
|
|
980
1566
|
};
|
|
981
|
-
export type
|
|
1567
|
+
export type ListUsersErrors = {
|
|
982
1568
|
/**
|
|
983
1569
|
* Not authenticated
|
|
984
1570
|
*/
|
|
985
1571
|
401: unknown;
|
|
986
1572
|
};
|
|
987
|
-
export type
|
|
1573
|
+
export type ListUsersResponses = {
|
|
988
1574
|
/**
|
|
989
|
-
* An array of
|
|
1575
|
+
* An array of users
|
|
990
1576
|
*/
|
|
991
|
-
200: Array<
|
|
1577
|
+
200: Array<User>;
|
|
992
1578
|
};
|
|
993
|
-
export type
|
|
994
|
-
export type
|
|
995
|
-
body
|
|
1579
|
+
export type ListUsersResponse = ListUsersResponses[keyof ListUsersResponses];
|
|
1580
|
+
export type CreateUserData = {
|
|
1581
|
+
body: UserCreateInput;
|
|
996
1582
|
path?: never;
|
|
997
1583
|
query?: never;
|
|
998
|
-
url: '/
|
|
1584
|
+
url: '/users';
|
|
999
1585
|
};
|
|
1000
|
-
export type
|
|
1586
|
+
export type CreateUserResponses = {
|
|
1001
1587
|
/**
|
|
1002
|
-
*
|
|
1588
|
+
* Successfully created. Returns created user details.
|
|
1003
1589
|
*/
|
|
1004
|
-
200:
|
|
1590
|
+
200: User;
|
|
1005
1591
|
};
|
|
1006
|
-
export type
|
|
1007
|
-
export type
|
|
1592
|
+
export type CreateUserResponse = CreateUserResponses[keyof CreateUserResponses];
|
|
1593
|
+
export type DeleteUserData = {
|
|
1008
1594
|
body?: never;
|
|
1009
|
-
path
|
|
1595
|
+
path: {
|
|
1596
|
+
/**
|
|
1597
|
+
* Unique user identifier. UUID v4 string in canonical form
|
|
1598
|
+
*/
|
|
1599
|
+
user_id: string;
|
|
1600
|
+
};
|
|
1010
1601
|
query?: never;
|
|
1011
|
-
url: '/
|
|
1602
|
+
url: '/users/{user_id}';
|
|
1012
1603
|
};
|
|
1013
|
-
export type
|
|
1604
|
+
export type DeleteUserErrors = {
|
|
1014
1605
|
/**
|
|
1015
|
-
*
|
|
1606
|
+
* Deleting own user is not allowed. Delete your organization instead.
|
|
1016
1607
|
*/
|
|
1017
|
-
|
|
1018
|
-
};
|
|
1019
|
-
export type GetPaymentMethodResponses = {
|
|
1608
|
+
400: unknown;
|
|
1020
1609
|
/**
|
|
1021
|
-
*
|
|
1610
|
+
* Not authenticated
|
|
1022
1611
|
*/
|
|
1023
|
-
|
|
1024
|
-
};
|
|
1025
|
-
export type GetPaymentMethodResponse = GetPaymentMethodResponses[keyof GetPaymentMethodResponses];
|
|
1026
|
-
export type GetPaymentMethodSecretData = {
|
|
1027
|
-
body?: never;
|
|
1028
|
-
path?: never;
|
|
1029
|
-
query?: never;
|
|
1030
|
-
url: '/billing/payment-method';
|
|
1612
|
+
401: unknown;
|
|
1031
1613
|
};
|
|
1032
|
-
export type
|
|
1614
|
+
export type DeleteUserResponses = {
|
|
1033
1615
|
/**
|
|
1034
|
-
*
|
|
1035
|
-
*
|
|
1616
|
+
* User profile information
|
|
1036
1617
|
*/
|
|
1037
|
-
200:
|
|
1038
|
-
/**
|
|
1039
|
-
* The client secret.
|
|
1040
|
-
*/
|
|
1041
|
-
id?: string;
|
|
1042
|
-
};
|
|
1618
|
+
200: User;
|
|
1043
1619
|
};
|
|
1044
|
-
export type
|
|
1045
|
-
export type
|
|
1620
|
+
export type DeleteUserResponse = DeleteUserResponses[keyof DeleteUserResponses];
|
|
1621
|
+
export type GetUserData = {
|
|
1046
1622
|
body?: never;
|
|
1047
|
-
path
|
|
1048
|
-
query: {
|
|
1049
|
-
/**
|
|
1050
|
-
* Start date for the usage. Date of oldest data point to retrieve.
|
|
1051
|
-
*/
|
|
1052
|
-
start_date: string;
|
|
1623
|
+
path: {
|
|
1053
1624
|
/**
|
|
1054
|
-
*
|
|
1625
|
+
* Unique user identifier. UUID v4 string in canonical form
|
|
1055
1626
|
*/
|
|
1056
|
-
|
|
1627
|
+
user_id: string;
|
|
1057
1628
|
};
|
|
1058
|
-
|
|
1629
|
+
query?: never;
|
|
1630
|
+
url: '/users/{user_id}';
|
|
1059
1631
|
};
|
|
1060
|
-
export type
|
|
1632
|
+
export type GetUserErrors = {
|
|
1061
1633
|
/**
|
|
1062
1634
|
* Not authenticated
|
|
1063
1635
|
*/
|
|
1064
1636
|
401: unknown;
|
|
1065
1637
|
};
|
|
1066
|
-
export type
|
|
1638
|
+
export type GetUserResponses = {
|
|
1067
1639
|
/**
|
|
1068
|
-
*
|
|
1640
|
+
* User profile information
|
|
1069
1641
|
*/
|
|
1070
|
-
200:
|
|
1642
|
+
200: User;
|
|
1071
1643
|
};
|
|
1072
|
-
export type
|
|
1073
|
-
export type
|
|
1074
|
-
body
|
|
1644
|
+
export type GetUserResponse = GetUserResponses[keyof GetUserResponses];
|
|
1645
|
+
export type UpdateUserData = {
|
|
1646
|
+
body: UserUpdateInput;
|
|
1075
1647
|
path: {
|
|
1076
1648
|
/**
|
|
1077
|
-
* Unique
|
|
1649
|
+
* Unique user identifier. UUID v4 string in canonical form
|
|
1078
1650
|
*/
|
|
1079
|
-
|
|
1651
|
+
user_id: string;
|
|
1080
1652
|
};
|
|
1081
1653
|
query?: never;
|
|
1082
|
-
url: '/
|
|
1654
|
+
url: '/users/{user_id}';
|
|
1083
1655
|
};
|
|
1084
|
-
export type
|
|
1656
|
+
export type UpdateUserResponses = {
|
|
1085
1657
|
/**
|
|
1086
|
-
*
|
|
1658
|
+
* Successfully created. Returns created user details.
|
|
1087
1659
|
*/
|
|
1088
|
-
200:
|
|
1089
|
-
html?: string;
|
|
1090
|
-
};
|
|
1660
|
+
200: User;
|
|
1091
1661
|
};
|
|
1092
|
-
export type
|
|
1093
|
-
export type
|
|
1662
|
+
export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
|
|
1663
|
+
export type ListTokensData = {
|
|
1094
1664
|
body?: never;
|
|
1095
1665
|
path?: never;
|
|
1096
1666
|
query?: never;
|
|
1097
|
-
url: '/
|
|
1667
|
+
url: '/tokens';
|
|
1098
1668
|
};
|
|
1099
|
-
export type
|
|
1669
|
+
export type ListTokensErrors = {
|
|
1100
1670
|
/**
|
|
1101
|
-
*
|
|
1671
|
+
* Not authenticated
|
|
1102
1672
|
*/
|
|
1103
|
-
|
|
1104
|
-
};
|
|
1105
|
-
export type GetContactResponse = GetContactResponses[keyof GetContactResponses];
|
|
1106
|
-
export type UpdateContactData = {
|
|
1107
|
-
body: BillingContact;
|
|
1108
|
-
path?: never;
|
|
1109
|
-
query?: never;
|
|
1110
|
-
url: '/billing/contact';
|
|
1673
|
+
401: unknown;
|
|
1111
1674
|
};
|
|
1112
|
-
export type
|
|
1675
|
+
export type ListTokensResponses = {
|
|
1113
1676
|
/**
|
|
1114
|
-
*
|
|
1677
|
+
* Returns a list of access token details with masked secrets.
|
|
1115
1678
|
*/
|
|
1116
|
-
200:
|
|
1679
|
+
200: Array<Token>;
|
|
1117
1680
|
};
|
|
1118
|
-
export type
|
|
1119
|
-
export type
|
|
1120
|
-
body
|
|
1681
|
+
export type ListTokensResponse = ListTokensResponses[keyof ListTokensResponses];
|
|
1682
|
+
export type CreateTokenData = {
|
|
1683
|
+
body: TokenCreateInput;
|
|
1121
1684
|
path?: never;
|
|
1122
1685
|
query?: never;
|
|
1123
|
-
url: '/
|
|
1686
|
+
url: '/tokens';
|
|
1124
1687
|
};
|
|
1125
|
-
export type
|
|
1688
|
+
export type CreateTokenErrors = {
|
|
1126
1689
|
/**
|
|
1127
1690
|
* Not authenticated
|
|
1128
1691
|
*/
|
|
1129
1692
|
401: unknown;
|
|
1130
1693
|
};
|
|
1131
|
-
export type
|
|
1694
|
+
export type CreateTokenResponses = {
|
|
1132
1695
|
/**
|
|
1133
|
-
*
|
|
1696
|
+
* Successfully created. Returns created token details with unmasked/raw secret.
|
|
1134
1697
|
*/
|
|
1135
|
-
200:
|
|
1698
|
+
200: Token;
|
|
1136
1699
|
};
|
|
1137
|
-
export type
|
|
1138
|
-
export type
|
|
1139
|
-
body
|
|
1700
|
+
export type CreateTokenResponse = CreateTokenResponses[keyof CreateTokenResponses];
|
|
1701
|
+
export type DeleteTokenData = {
|
|
1702
|
+
body?: never;
|
|
1703
|
+
path: {
|
|
1140
1704
|
/**
|
|
1141
|
-
*
|
|
1705
|
+
* Generated unique identifier of the access token.
|
|
1142
1706
|
*/
|
|
1143
|
-
|
|
1707
|
+
token_id: string;
|
|
1144
1708
|
};
|
|
1145
|
-
path?: never;
|
|
1146
1709
|
query?: never;
|
|
1147
|
-
url: '/
|
|
1148
|
-
};
|
|
1149
|
-
export type RedeemCreditsErrors = {
|
|
1150
|
-
/**
|
|
1151
|
-
* Not authenticated
|
|
1152
|
-
*/
|
|
1153
|
-
401: unknown;
|
|
1710
|
+
url: '/tokens/{token_id}';
|
|
1154
1711
|
};
|
|
1155
|
-
export type
|
|
1712
|
+
export type DeleteTokenResponses = {
|
|
1156
1713
|
/**
|
|
1157
|
-
* Successfully
|
|
1714
|
+
* Successfully deleted.
|
|
1158
1715
|
*/
|
|
1159
1716
|
200: unknown;
|
|
1160
1717
|
};
|
|
1161
|
-
export type
|
|
1718
|
+
export type GetTokenData = {
|
|
1162
1719
|
body?: never;
|
|
1163
1720
|
path: {
|
|
1164
1721
|
/**
|
|
1165
|
-
*
|
|
1722
|
+
* Generated unique identifier of the access token.
|
|
1166
1723
|
*/
|
|
1167
|
-
|
|
1724
|
+
token_id: string;
|
|
1168
1725
|
};
|
|
1169
1726
|
query?: never;
|
|
1170
|
-
url: '/
|
|
1727
|
+
url: '/tokens/{token_id}';
|
|
1171
1728
|
};
|
|
1172
|
-
export type
|
|
1729
|
+
export type GetTokenErrors = {
|
|
1173
1730
|
/**
|
|
1174
1731
|
* Not authenticated
|
|
1175
1732
|
*/
|
|
1176
1733
|
401: unknown;
|
|
1177
1734
|
};
|
|
1178
|
-
export type
|
|
1735
|
+
export type GetTokenResponses = {
|
|
1179
1736
|
/**
|
|
1180
|
-
*
|
|
1737
|
+
* Returns access token details with masked secret.
|
|
1181
1738
|
*/
|
|
1182
|
-
200:
|
|
1739
|
+
200: Token;
|
|
1183
1740
|
};
|
|
1184
|
-
export type
|
|
1185
|
-
export type
|
|
1186
|
-
body:
|
|
1741
|
+
export type GetTokenResponse = GetTokenResponses[keyof GetTokenResponses];
|
|
1742
|
+
export type UpdateTokenData = {
|
|
1743
|
+
body: TokenUpdateInput;
|
|
1187
1744
|
path: {
|
|
1188
1745
|
/**
|
|
1189
|
-
*
|
|
1746
|
+
* Generated unique identifier of the access token.
|
|
1190
1747
|
*/
|
|
1191
|
-
|
|
1748
|
+
token_id: string;
|
|
1192
1749
|
};
|
|
1193
1750
|
query?: never;
|
|
1194
|
-
url: '/
|
|
1751
|
+
url: '/tokens/{token_id}';
|
|
1195
1752
|
};
|
|
1196
|
-
export type
|
|
1753
|
+
export type UpdateTokenErrors = {
|
|
1197
1754
|
/**
|
|
1198
|
-
*
|
|
1755
|
+
* Not authenticated
|
|
1199
1756
|
*/
|
|
1200
|
-
|
|
1757
|
+
401: unknown;
|
|
1201
1758
|
};
|
|
1202
|
-
export type
|
|
1203
|
-
|
|
1759
|
+
export type UpdateTokenResponses = {
|
|
1760
|
+
/**
|
|
1761
|
+
* Successfully updated. Returns updated token details with masked secret.
|
|
1762
|
+
*/
|
|
1763
|
+
200: Token;
|
|
1764
|
+
};
|
|
1765
|
+
export type UpdateTokenResponse = UpdateTokenResponses[keyof UpdateTokenResponses];
|
|
1766
|
+
export type RegenerateTokenData = {
|
|
1204
1767
|
body?: never;
|
|
1205
1768
|
path: {
|
|
1206
1769
|
/**
|
|
1207
|
-
*
|
|
1208
|
-
*/
|
|
1209
|
-
cluster_id: string;
|
|
1210
|
-
/**
|
|
1211
|
-
* Chart deployment name as the unique identifier of the chart.
|
|
1770
|
+
* Generated unique identifier of the access token.
|
|
1212
1771
|
*/
|
|
1213
|
-
|
|
1772
|
+
token_id: string;
|
|
1214
1773
|
};
|
|
1215
1774
|
query?: never;
|
|
1216
|
-
url: '/
|
|
1775
|
+
url: '/tokens/{token_id}/secret';
|
|
1217
1776
|
};
|
|
1218
|
-
export type
|
|
1777
|
+
export type RegenerateTokenErrors = {
|
|
1219
1778
|
/**
|
|
1220
|
-
*
|
|
1779
|
+
* Not authenticated
|
|
1221
1780
|
*/
|
|
1222
|
-
|
|
1781
|
+
401: unknown;
|
|
1223
1782
|
};
|
|
1224
|
-
export type
|
|
1225
|
-
|
|
1783
|
+
export type RegenerateTokenResponses = {
|
|
1784
|
+
/**
|
|
1785
|
+
* Successfully updated. Returns updated token details with unmasked / raw secret.
|
|
1786
|
+
*/
|
|
1787
|
+
200: Token;
|
|
1788
|
+
};
|
|
1789
|
+
export type RegenerateTokenResponse = RegenerateTokenResponses[keyof RegenerateTokenResponses];
|
|
1790
|
+
export type ListTicketsData = {
|
|
1226
1791
|
body?: never;
|
|
1227
|
-
path
|
|
1228
|
-
/**
|
|
1229
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1230
|
-
*/
|
|
1231
|
-
cluster_id: string;
|
|
1232
|
-
/**
|
|
1233
|
-
* Chart deployment name as the unique identifier of the chart.
|
|
1234
|
-
*/
|
|
1235
|
-
chart_name: string;
|
|
1236
|
-
};
|
|
1792
|
+
path?: never;
|
|
1237
1793
|
query?: never;
|
|
1238
|
-
url: '/
|
|
1794
|
+
url: '/tickets';
|
|
1239
1795
|
};
|
|
1240
|
-
export type
|
|
1796
|
+
export type ListTicketsResponses = {
|
|
1241
1797
|
/**
|
|
1242
|
-
*
|
|
1798
|
+
* An array of tickets for the organization, newest first.
|
|
1243
1799
|
*/
|
|
1244
|
-
200:
|
|
1800
|
+
200: Array<Ticket>;
|
|
1245
1801
|
};
|
|
1246
|
-
export type
|
|
1247
|
-
export type
|
|
1248
|
-
body:
|
|
1249
|
-
path: {
|
|
1250
|
-
/**
|
|
1251
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1252
|
-
*/
|
|
1253
|
-
cluster_id: string;
|
|
1802
|
+
export type ListTicketsResponse = ListTicketsResponses[keyof ListTicketsResponses];
|
|
1803
|
+
export type CreateTicketData = {
|
|
1804
|
+
body: {
|
|
1254
1805
|
/**
|
|
1255
|
-
*
|
|
1806
|
+
* JSON-encoded TicketCreateInput.
|
|
1256
1807
|
*/
|
|
1257
|
-
|
|
1808
|
+
payload?: string;
|
|
1809
|
+
attachments?: Array<Blob | File>;
|
|
1258
1810
|
};
|
|
1811
|
+
path?: never;
|
|
1259
1812
|
query?: never;
|
|
1260
|
-
url: '/
|
|
1813
|
+
url: '/tickets';
|
|
1261
1814
|
};
|
|
1262
|
-
export type
|
|
1815
|
+
export type CreateTicketResponses = {
|
|
1263
1816
|
/**
|
|
1264
|
-
*
|
|
1817
|
+
* Ticket created.
|
|
1265
1818
|
*/
|
|
1266
|
-
200:
|
|
1819
|
+
200: Ticket;
|
|
1267
1820
|
};
|
|
1268
|
-
export type
|
|
1269
|
-
export type
|
|
1821
|
+
export type CreateTicketResponse = CreateTicketResponses[keyof CreateTicketResponses];
|
|
1822
|
+
export type CloseTicketData = {
|
|
1270
1823
|
body?: never;
|
|
1271
1824
|
path: {
|
|
1272
|
-
|
|
1273
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1274
|
-
*/
|
|
1275
|
-
cluster_id: string;
|
|
1825
|
+
ticket_id: string;
|
|
1276
1826
|
};
|
|
1277
1827
|
query?: never;
|
|
1278
|
-
url: '/
|
|
1828
|
+
url: '/tickets/{ticket_id}';
|
|
1279
1829
|
};
|
|
1280
|
-
export type
|
|
1830
|
+
export type CloseTicketResponses = {
|
|
1281
1831
|
/**
|
|
1282
|
-
*
|
|
1832
|
+
* Ticket closed.
|
|
1283
1833
|
*/
|
|
1284
|
-
|
|
1834
|
+
200: Ticket;
|
|
1285
1835
|
};
|
|
1286
|
-
export type
|
|
1836
|
+
export type CloseTicketResponse = CloseTicketResponses[keyof CloseTicketResponses];
|
|
1837
|
+
export type GetTicketData = {
|
|
1838
|
+
body?: never;
|
|
1839
|
+
path: {
|
|
1840
|
+
ticket_id: string;
|
|
1841
|
+
};
|
|
1842
|
+
query?: never;
|
|
1843
|
+
url: '/tickets/{ticket_id}';
|
|
1844
|
+
};
|
|
1845
|
+
export type GetTicketResponses = {
|
|
1287
1846
|
/**
|
|
1288
|
-
*
|
|
1847
|
+
* Ticket with messages (internal notes excluded).
|
|
1289
1848
|
*/
|
|
1290
|
-
200:
|
|
1849
|
+
200: Ticket;
|
|
1291
1850
|
};
|
|
1292
|
-
export type
|
|
1293
|
-
export type
|
|
1294
|
-
body:
|
|
1295
|
-
path: {
|
|
1851
|
+
export type GetTicketResponse = GetTicketResponses[keyof GetTicketResponses];
|
|
1852
|
+
export type ReplyTicketData = {
|
|
1853
|
+
body: {
|
|
1296
1854
|
/**
|
|
1297
|
-
*
|
|
1855
|
+
* JSON-encoded TicketMessageInput.
|
|
1298
1856
|
*/
|
|
1299
|
-
|
|
1857
|
+
payload?: string;
|
|
1858
|
+
attachments?: Array<Blob | File>;
|
|
1859
|
+
};
|
|
1860
|
+
path: {
|
|
1861
|
+
ticket_id: string;
|
|
1300
1862
|
};
|
|
1301
1863
|
query?: never;
|
|
1302
|
-
url: '/
|
|
1864
|
+
url: '/tickets/{ticket_id}/messages';
|
|
1303
1865
|
};
|
|
1304
|
-
export type
|
|
1866
|
+
export type ReplyTicketErrors = {
|
|
1305
1867
|
/**
|
|
1306
|
-
*
|
|
1868
|
+
* Ticket is closed. Open a new ticket instead.
|
|
1307
1869
|
*/
|
|
1308
|
-
|
|
1870
|
+
409: unknown;
|
|
1309
1871
|
};
|
|
1310
|
-
export type
|
|
1311
|
-
export type CreateFleetResponses = {
|
|
1872
|
+
export type ReplyTicketResponses = {
|
|
1312
1873
|
/**
|
|
1313
|
-
*
|
|
1874
|
+
* Reply appended.
|
|
1314
1875
|
*/
|
|
1315
|
-
200:
|
|
1876
|
+
200: TicketMessage;
|
|
1316
1877
|
};
|
|
1317
|
-
export type
|
|
1318
|
-
export type
|
|
1878
|
+
export type ReplyTicketResponse = ReplyTicketResponses[keyof ReplyTicketResponses];
|
|
1879
|
+
export type GetTicketAttachmentData = {
|
|
1319
1880
|
body?: never;
|
|
1320
1881
|
path: {
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
*/
|
|
1324
|
-
cluster_id: string;
|
|
1325
|
-
/**
|
|
1326
|
-
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
1327
|
-
*/
|
|
1328
|
-
fleet_name: string;
|
|
1882
|
+
ticket_id: string;
|
|
1883
|
+
attachment_id: string;
|
|
1329
1884
|
};
|
|
1330
1885
|
query?: never;
|
|
1331
|
-
url: '/
|
|
1886
|
+
url: '/tickets/{ticket_id}/attachments/{attachment_id}';
|
|
1332
1887
|
};
|
|
1333
|
-
export type
|
|
1888
|
+
export type GetTicketAttachmentResponses = {
|
|
1334
1889
|
/**
|
|
1335
|
-
*
|
|
1890
|
+
* Attachment binary stream.
|
|
1336
1891
|
*/
|
|
1337
|
-
200:
|
|
1892
|
+
200: Blob | File;
|
|
1338
1893
|
};
|
|
1339
|
-
export type
|
|
1340
|
-
export type
|
|
1894
|
+
export type GetTicketAttachmentResponse = GetTicketAttachmentResponses[keyof GetTicketAttachmentResponses];
|
|
1895
|
+
export type ListRepositoriesData = {
|
|
1896
|
+
body?: never;
|
|
1897
|
+
path?: never;
|
|
1898
|
+
query?: never;
|
|
1899
|
+
url: '/registry';
|
|
1900
|
+
};
|
|
1901
|
+
export type ListRepositoriesErrors = {
|
|
1902
|
+
/**
|
|
1903
|
+
* Not authenticated
|
|
1904
|
+
*/
|
|
1905
|
+
401: unknown;
|
|
1906
|
+
/**
|
|
1907
|
+
* Internal server error
|
|
1908
|
+
*/
|
|
1909
|
+
500: unknown;
|
|
1910
|
+
};
|
|
1911
|
+
export type ListRepositoriesResponses = {
|
|
1912
|
+
/**
|
|
1913
|
+
* List of repositories
|
|
1914
|
+
*/
|
|
1915
|
+
200: Array<RegistryRepository>;
|
|
1916
|
+
};
|
|
1917
|
+
export type ListRepositoriesResponse = ListRepositoriesResponses[keyof ListRepositoriesResponses];
|
|
1918
|
+
export type ListTagsData = {
|
|
1341
1919
|
body?: never;
|
|
1342
1920
|
path: {
|
|
1343
1921
|
/**
|
|
1344
|
-
*
|
|
1922
|
+
* Region where the repository is located
|
|
1345
1923
|
*/
|
|
1346
|
-
|
|
1924
|
+
region: string;
|
|
1347
1925
|
/**
|
|
1348
|
-
*
|
|
1926
|
+
* Name of the repository
|
|
1349
1927
|
*/
|
|
1350
|
-
|
|
1928
|
+
repository: string;
|
|
1351
1929
|
};
|
|
1352
1930
|
query?: never;
|
|
1353
|
-
url: '/
|
|
1931
|
+
url: '/registry/{region}/{repository}';
|
|
1354
1932
|
};
|
|
1355
|
-
export type
|
|
1933
|
+
export type ListTagsErrors = {
|
|
1356
1934
|
/**
|
|
1357
|
-
*
|
|
1935
|
+
* Not authenticated
|
|
1358
1936
|
*/
|
|
1359
|
-
|
|
1937
|
+
401: unknown;
|
|
1938
|
+
/**
|
|
1939
|
+
* Repository not found
|
|
1940
|
+
*/
|
|
1941
|
+
404: unknown;
|
|
1942
|
+
/**
|
|
1943
|
+
* Internal server error
|
|
1944
|
+
*/
|
|
1945
|
+
500: unknown;
|
|
1360
1946
|
};
|
|
1361
|
-
export type
|
|
1362
|
-
|
|
1363
|
-
|
|
1947
|
+
export type ListTagsResponses = {
|
|
1948
|
+
/**
|
|
1949
|
+
* Repository with tags
|
|
1950
|
+
*/
|
|
1951
|
+
200: RegistryRepositoryWithTags;
|
|
1952
|
+
};
|
|
1953
|
+
export type ListTagsResponse = ListTagsResponses[keyof ListTagsResponses];
|
|
1954
|
+
export type DeleteTagData = {
|
|
1955
|
+
body?: never;
|
|
1364
1956
|
path: {
|
|
1365
1957
|
/**
|
|
1366
|
-
*
|
|
1958
|
+
* Region where the repository is located
|
|
1367
1959
|
*/
|
|
1368
|
-
|
|
1960
|
+
region: string;
|
|
1369
1961
|
/**
|
|
1370
|
-
*
|
|
1962
|
+
* Name of the repository
|
|
1371
1963
|
*/
|
|
1372
|
-
|
|
1964
|
+
repository: string;
|
|
1965
|
+
/**
|
|
1966
|
+
* Name of the tag
|
|
1967
|
+
*/
|
|
1968
|
+
tag: string;
|
|
1373
1969
|
};
|
|
1374
1970
|
query?: never;
|
|
1375
|
-
url: '/
|
|
1971
|
+
url: '/registry/{region}/{repository}/{tag}';
|
|
1376
1972
|
};
|
|
1377
|
-
export type
|
|
1973
|
+
export type DeleteTagErrors = {
|
|
1378
1974
|
/**
|
|
1379
|
-
*
|
|
1975
|
+
* Not authenticated
|
|
1380
1976
|
*/
|
|
1381
|
-
|
|
1977
|
+
401: unknown;
|
|
1978
|
+
/**
|
|
1979
|
+
* Tag not found
|
|
1980
|
+
*/
|
|
1981
|
+
404: unknown;
|
|
1982
|
+
/**
|
|
1983
|
+
* Internal server error
|
|
1984
|
+
*/
|
|
1985
|
+
500: unknown;
|
|
1382
1986
|
};
|
|
1383
|
-
export type
|
|
1384
|
-
export type UpdateFleetResponses = {
|
|
1987
|
+
export type DeleteTagResponses = {
|
|
1385
1988
|
/**
|
|
1386
|
-
*
|
|
1989
|
+
* Tag successfully deleted
|
|
1387
1990
|
*/
|
|
1388
|
-
200:
|
|
1991
|
+
200: unknown;
|
|
1389
1992
|
};
|
|
1390
|
-
export type
|
|
1391
|
-
export type QueryClusterData = {
|
|
1993
|
+
export type GetTagData = {
|
|
1392
1994
|
body?: never;
|
|
1393
1995
|
path: {
|
|
1394
1996
|
/**
|
|
1395
|
-
*
|
|
1997
|
+
* Region where the repository is located
|
|
1396
1998
|
*/
|
|
1397
|
-
|
|
1999
|
+
region: string;
|
|
2000
|
+
/**
|
|
2001
|
+
* Name of the repository
|
|
2002
|
+
*/
|
|
2003
|
+
repository: string;
|
|
2004
|
+
/**
|
|
2005
|
+
* Name of the tag
|
|
2006
|
+
*/
|
|
2007
|
+
tag: string;
|
|
1398
2008
|
};
|
|
1399
2009
|
query?: never;
|
|
1400
|
-
url: '/
|
|
2010
|
+
url: '/registry/{region}/{repository}/{tag}';
|
|
1401
2011
|
};
|
|
1402
|
-
export type
|
|
2012
|
+
export type GetTagErrors = {
|
|
1403
2013
|
/**
|
|
1404
2014
|
* Not authenticated
|
|
1405
2015
|
*/
|
|
1406
2016
|
401: unknown;
|
|
2017
|
+
/**
|
|
2018
|
+
* Tag not found
|
|
2019
|
+
*/
|
|
2020
|
+
404: unknown;
|
|
2021
|
+
/**
|
|
2022
|
+
* Internal server error
|
|
2023
|
+
*/
|
|
2024
|
+
500: unknown;
|
|
1407
2025
|
};
|
|
1408
|
-
export type
|
|
2026
|
+
export type GetTagResponses = {
|
|
1409
2027
|
/**
|
|
1410
|
-
*
|
|
2028
|
+
* Tag details
|
|
1411
2029
|
*/
|
|
1412
|
-
200:
|
|
2030
|
+
200: RegistryTag;
|
|
1413
2031
|
};
|
|
1414
|
-
export type
|
|
2032
|
+
export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
|
|
2033
|
+
export type GetOrganizationData = {
|
|
1415
2034
|
body?: never;
|
|
1416
2035
|
path?: never;
|
|
1417
2036
|
query?: never;
|
|
1418
|
-
url: '/
|
|
2037
|
+
url: '/organization';
|
|
1419
2038
|
};
|
|
1420
|
-
export type
|
|
2039
|
+
export type GetOrganizationResponses = {
|
|
1421
2040
|
/**
|
|
1422
|
-
*
|
|
2041
|
+
* Returns a single object containing organization details.
|
|
1423
2042
|
*/
|
|
1424
|
-
|
|
2043
|
+
200: Organization;
|
|
1425
2044
|
};
|
|
1426
|
-
export type
|
|
2045
|
+
export type GetOrganizationResponse = GetOrganizationResponses[keyof GetOrganizationResponses];
|
|
2046
|
+
export type CreateOrganizationData = {
|
|
2047
|
+
body: OrganizationCreateInput;
|
|
2048
|
+
path?: never;
|
|
2049
|
+
query?: never;
|
|
2050
|
+
url: '/organization';
|
|
2051
|
+
};
|
|
2052
|
+
export type CreateOrganizationResponses = {
|
|
1427
2053
|
/**
|
|
1428
|
-
*
|
|
2054
|
+
* Organization signup accepted. Returns the generated organization id immediately; provisioning (billing, Keycloak realm, user) continues asynchronously in the background.
|
|
2055
|
+
*
|
|
1429
2056
|
*/
|
|
1430
|
-
200:
|
|
2057
|
+
200: OrganizationCreateOutput;
|
|
1431
2058
|
};
|
|
1432
|
-
export type
|
|
1433
|
-
export type
|
|
1434
|
-
body
|
|
2059
|
+
export type CreateOrganizationResponse = CreateOrganizationResponses[keyof CreateOrganizationResponses];
|
|
2060
|
+
export type GetBasicPriceConsentData = {
|
|
2061
|
+
body?: never;
|
|
1435
2062
|
path?: never;
|
|
1436
2063
|
query?: never;
|
|
1437
|
-
url: '/
|
|
2064
|
+
url: '/organization/basic-price-consent';
|
|
1438
2065
|
};
|
|
1439
|
-
export type
|
|
2066
|
+
export type GetBasicPriceConsentResponses = {
|
|
1440
2067
|
/**
|
|
1441
|
-
*
|
|
2068
|
+
* Returns the current consent status.
|
|
1442
2069
|
*/
|
|
1443
|
-
|
|
2070
|
+
200: BasicPriceConsent;
|
|
1444
2071
|
};
|
|
1445
|
-
export type
|
|
1446
|
-
export type
|
|
2072
|
+
export type GetBasicPriceConsentResponse = GetBasicPriceConsentResponses[keyof GetBasicPriceConsentResponses];
|
|
2073
|
+
export type SetBasicPriceConsentData = {
|
|
2074
|
+
body: BasicPriceConsentInput;
|
|
2075
|
+
path?: never;
|
|
2076
|
+
query?: never;
|
|
2077
|
+
url: '/organization/basic-price-consent';
|
|
2078
|
+
};
|
|
2079
|
+
export type SetBasicPriceConsentErrors = {
|
|
1447
2080
|
/**
|
|
1448
|
-
*
|
|
2081
|
+
* The authenticated principal has no email address (e.g. a service account) and cannot record this decision.
|
|
2082
|
+
*
|
|
1449
2083
|
*/
|
|
1450
|
-
|
|
2084
|
+
401: unknown;
|
|
2085
|
+
/**
|
|
2086
|
+
* The consent flow does not apply to this organization.
|
|
2087
|
+
*/
|
|
2088
|
+
409: unknown;
|
|
1451
2089
|
};
|
|
1452
|
-
export type
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
2090
|
+
export type SetBasicPriceConsentResponses = {
|
|
2091
|
+
/**
|
|
2092
|
+
* Decision recorded. Returns the updated consent status.
|
|
2093
|
+
*/
|
|
2094
|
+
200: BasicPriceConsent;
|
|
2095
|
+
};
|
|
2096
|
+
export type SetBasicPriceConsentResponse = SetBasicPriceConsentResponses[keyof SetBasicPriceConsentResponses];
|
|
2097
|
+
export type PostMcpData = {
|
|
2098
|
+
/**
|
|
2099
|
+
* JSON-RPC 2.0 request payload
|
|
2100
|
+
*/
|
|
2101
|
+
body: {
|
|
2102
|
+
jsonrpc?: string;
|
|
2103
|
+
method?: string;
|
|
2104
|
+
id?: string | number;
|
|
1456
2105
|
/**
|
|
1457
|
-
*
|
|
2106
|
+
* Method-specific parameters
|
|
1458
2107
|
*/
|
|
1459
|
-
|
|
2108
|
+
params?: {
|
|
2109
|
+
[key: string]: unknown;
|
|
2110
|
+
};
|
|
1460
2111
|
};
|
|
2112
|
+
path?: never;
|
|
1461
2113
|
query?: never;
|
|
1462
|
-
url: '/
|
|
2114
|
+
url: '/mcp';
|
|
1463
2115
|
};
|
|
1464
|
-
export type
|
|
2116
|
+
export type PostMcpErrors = {
|
|
1465
2117
|
/**
|
|
1466
|
-
*
|
|
2118
|
+
* Not authenticated
|
|
1467
2119
|
*/
|
|
1468
|
-
|
|
2120
|
+
401: unknown;
|
|
1469
2121
|
};
|
|
1470
|
-
export type
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
2122
|
+
export type PostMcpResponses = {
|
|
2123
|
+
/**
|
|
2124
|
+
* JSON-RPC 2.0 success or error response
|
|
2125
|
+
*/
|
|
2126
|
+
200: {
|
|
2127
|
+
jsonrpc?: string;
|
|
2128
|
+
id?: string | number;
|
|
2129
|
+
result?: {
|
|
2130
|
+
[key: string]: unknown;
|
|
2131
|
+
};
|
|
2132
|
+
error?: {
|
|
2133
|
+
code?: number;
|
|
2134
|
+
message?: string;
|
|
2135
|
+
};
|
|
1478
2136
|
};
|
|
2137
|
+
};
|
|
2138
|
+
export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
|
|
2139
|
+
export type ListMarketplaceChartsData = {
|
|
2140
|
+
body?: never;
|
|
2141
|
+
path?: never;
|
|
1479
2142
|
query?: never;
|
|
1480
|
-
url: '/
|
|
2143
|
+
url: '/marketplace';
|
|
1481
2144
|
};
|
|
1482
|
-
export type
|
|
2145
|
+
export type ListMarketplaceChartsErrors = {
|
|
1483
2146
|
/**
|
|
1484
|
-
*
|
|
2147
|
+
* Not authenticated
|
|
1485
2148
|
*/
|
|
1486
|
-
|
|
1487
|
-
};
|
|
1488
|
-
export type GetClusterResponse = GetClusterResponses[keyof GetClusterResponses];
|
|
1489
|
-
export type UpdateClusterData = {
|
|
1490
|
-
body: ClusterUpdateInput;
|
|
1491
|
-
path: {
|
|
1492
|
-
/**
|
|
1493
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1494
|
-
*/
|
|
1495
|
-
cluster_id: string;
|
|
1496
|
-
};
|
|
1497
|
-
query?: never;
|
|
1498
|
-
url: '/clusters/{cluster_id}';
|
|
2149
|
+
401: unknown;
|
|
1499
2150
|
};
|
|
1500
|
-
export type
|
|
2151
|
+
export type ListMarketplaceChartsResponses = {
|
|
1501
2152
|
/**
|
|
1502
|
-
*
|
|
2153
|
+
* An array of chart listings in the marketplace.
|
|
1503
2154
|
*/
|
|
1504
|
-
200:
|
|
2155
|
+
200: Array<MarketplaceListing>;
|
|
1505
2156
|
};
|
|
1506
|
-
export type
|
|
1507
|
-
export type
|
|
2157
|
+
export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
|
|
2158
|
+
export type GetMarketplaceChartFilesData = {
|
|
1508
2159
|
body?: never;
|
|
1509
2160
|
path: {
|
|
1510
2161
|
/**
|
|
1511
|
-
*
|
|
2162
|
+
* Name of the chart in the marketplace.
|
|
1512
2163
|
*/
|
|
1513
|
-
|
|
2164
|
+
chart_name: string;
|
|
2165
|
+
/**
|
|
2166
|
+
* Version channel pattern to match (e.g., "1.31.x-cfke.x" for latest 1.31 patch, "1.x.x-cfke.x" for latest 1.x minor).
|
|
2167
|
+
*/
|
|
2168
|
+
version_channel: string;
|
|
1514
2169
|
};
|
|
1515
2170
|
query?: never;
|
|
1516
|
-
url: '/
|
|
2171
|
+
url: '/marketplace/{chart_name}/files/{version_channel}';
|
|
1517
2172
|
};
|
|
1518
|
-
export type
|
|
2173
|
+
export type GetMarketplaceChartFilesErrors = {
|
|
1519
2174
|
/**
|
|
1520
|
-
*
|
|
2175
|
+
* Chart not found or no version matches the channel
|
|
1521
2176
|
*/
|
|
1522
|
-
|
|
2177
|
+
404: unknown;
|
|
1523
2178
|
};
|
|
1524
|
-
export type
|
|
2179
|
+
export type GetMarketplaceChartFilesResponses = {
|
|
1525
2180
|
/**
|
|
1526
|
-
*
|
|
2181
|
+
* Returns an object containing the chart files for the latest matching version.
|
|
1527
2182
|
*/
|
|
1528
|
-
200:
|
|
2183
|
+
200: MarketplaceListingFiles;
|
|
1529
2184
|
};
|
|
1530
|
-
export type
|
|
2185
|
+
export type GetMarketplaceChartFilesResponse = GetMarketplaceChartFilesResponses[keyof GetMarketplaceChartFilesResponses];
|
|
1531
2186
|
export type ListInvitesData = {
|
|
1532
2187
|
body?: never;
|
|
1533
2188
|
path?: never;
|
|
@@ -1548,12 +2203,7 @@ export type ListInvitesResponses = {
|
|
|
1548
2203
|
};
|
|
1549
2204
|
export type ListInvitesResponse = ListInvitesResponses[keyof ListInvitesResponses];
|
|
1550
2205
|
export type CreateInviteData = {
|
|
1551
|
-
body:
|
|
1552
|
-
/**
|
|
1553
|
-
* User email address
|
|
1554
|
-
*/
|
|
1555
|
-
email?: string;
|
|
1556
|
-
};
|
|
2206
|
+
body: InviteCreateInput;
|
|
1557
2207
|
path?: never;
|
|
1558
2208
|
query?: never;
|
|
1559
2209
|
url: '/invites';
|
|
@@ -1578,9 +2228,18 @@ export type GetInviteData = {
|
|
|
1578
2228
|
};
|
|
1579
2229
|
export type GetInviteResponses = {
|
|
1580
2230
|
/**
|
|
1581
|
-
* Returns
|
|
2231
|
+
* The invitation code is valid. Returns the invited email and organization.
|
|
1582
2232
|
*/
|
|
1583
|
-
200:
|
|
2233
|
+
200: {
|
|
2234
|
+
/**
|
|
2235
|
+
* Email address the invite was issued to.
|
|
2236
|
+
*/
|
|
2237
|
+
email?: string;
|
|
2238
|
+
/**
|
|
2239
|
+
* Identifier of the organization the invite grants access to.
|
|
2240
|
+
*/
|
|
2241
|
+
organization_id?: string;
|
|
2242
|
+
};
|
|
1584
2243
|
};
|
|
1585
2244
|
export type GetInviteResponse = GetInviteResponses[keyof GetInviteResponses];
|
|
1586
2245
|
export type DeleteInviteData = {
|
|
@@ -1600,325 +2259,654 @@ export type DeleteInviteResponses = {
|
|
|
1600
2259
|
*/
|
|
1601
2260
|
200: unknown;
|
|
1602
2261
|
};
|
|
1603
|
-
export type
|
|
2262
|
+
export type QueryClusterData = {
|
|
1604
2263
|
body?: never;
|
|
1605
|
-
path
|
|
2264
|
+
path: {
|
|
2265
|
+
/**
|
|
2266
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2267
|
+
*/
|
|
2268
|
+
cluster_id: string;
|
|
2269
|
+
};
|
|
1606
2270
|
query?: never;
|
|
1607
|
-
url: '/
|
|
2271
|
+
url: '/clusters/{cluster_id}/query';
|
|
1608
2272
|
};
|
|
1609
|
-
export type
|
|
2273
|
+
export type QueryClusterErrors = {
|
|
1610
2274
|
/**
|
|
1611
2275
|
* Not authenticated
|
|
1612
2276
|
*/
|
|
1613
2277
|
401: unknown;
|
|
1614
2278
|
};
|
|
1615
|
-
export type
|
|
2279
|
+
export type QueryClusterResponses = {
|
|
1616
2280
|
/**
|
|
1617
|
-
*
|
|
2281
|
+
* Kubernetes API response
|
|
1618
2282
|
*/
|
|
1619
|
-
200:
|
|
2283
|
+
200: unknown;
|
|
1620
2284
|
};
|
|
1621
|
-
export type
|
|
1622
|
-
export type GetMarketplaceChartData = {
|
|
2285
|
+
export type ListFleetsData = {
|
|
1623
2286
|
body?: never;
|
|
1624
2287
|
path: {
|
|
1625
2288
|
/**
|
|
1626
|
-
* Unique identifier of the
|
|
2289
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1627
2290
|
*/
|
|
1628
|
-
|
|
2291
|
+
cluster_id: string;
|
|
1629
2292
|
};
|
|
1630
2293
|
query?: never;
|
|
1631
|
-
url: '/
|
|
2294
|
+
url: '/clusters/{cluster_id}/fleets';
|
|
1632
2295
|
};
|
|
1633
|
-
export type
|
|
2296
|
+
export type ListFleetsErrors = {
|
|
1634
2297
|
/**
|
|
1635
|
-
*
|
|
2298
|
+
* Not authenticated
|
|
1636
2299
|
*/
|
|
1637
|
-
|
|
1638
|
-
};
|
|
1639
|
-
export type GetMarketplaceChartResponse = GetMarketplaceChartResponses[keyof GetMarketplaceChartResponses];
|
|
1640
|
-
export type GetOrganizationData = {
|
|
1641
|
-
body?: never;
|
|
1642
|
-
path?: never;
|
|
1643
|
-
query?: never;
|
|
1644
|
-
url: '/organization';
|
|
2300
|
+
401: unknown;
|
|
1645
2301
|
};
|
|
1646
|
-
export type
|
|
2302
|
+
export type ListFleetsResponses = {
|
|
1647
2303
|
/**
|
|
1648
|
-
*
|
|
2304
|
+
* An array of fleets
|
|
1649
2305
|
*/
|
|
1650
|
-
200:
|
|
2306
|
+
200: Array<Fleet>;
|
|
1651
2307
|
};
|
|
1652
|
-
export type
|
|
1653
|
-
export type
|
|
1654
|
-
body:
|
|
1655
|
-
path
|
|
2308
|
+
export type ListFleetsResponse = ListFleetsResponses[keyof ListFleetsResponses];
|
|
2309
|
+
export type CreateFleetData = {
|
|
2310
|
+
body: FleetCreateInput;
|
|
2311
|
+
path: {
|
|
2312
|
+
/**
|
|
2313
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2314
|
+
*/
|
|
2315
|
+
cluster_id: string;
|
|
2316
|
+
};
|
|
1656
2317
|
query?: never;
|
|
1657
|
-
url: '/
|
|
2318
|
+
url: '/clusters/{cluster_id}/fleets';
|
|
1658
2319
|
};
|
|
1659
|
-
export type
|
|
2320
|
+
export type CreateFleetErrors = {
|
|
1660
2321
|
/**
|
|
1661
|
-
*
|
|
2322
|
+
* Cluster quota exceeded. Maximum number of fleets per cluster allowed in this organization is reached.
|
|
1662
2323
|
*/
|
|
1663
|
-
|
|
1664
|
-
};
|
|
1665
|
-
export type ListTokensData = {
|
|
1666
|
-
body?: never;
|
|
1667
|
-
path?: never;
|
|
1668
|
-
query?: never;
|
|
1669
|
-
url: '/tokens';
|
|
1670
|
-
};
|
|
1671
|
-
export type ListTokensErrors = {
|
|
2324
|
+
402: string;
|
|
1672
2325
|
/**
|
|
1673
|
-
*
|
|
2326
|
+
* The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
|
|
1674
2327
|
*/
|
|
1675
|
-
|
|
2328
|
+
409: string;
|
|
1676
2329
|
};
|
|
1677
|
-
export type
|
|
2330
|
+
export type CreateFleetError = CreateFleetErrors[keyof CreateFleetErrors];
|
|
2331
|
+
export type CreateFleetResponses = {
|
|
1678
2332
|
/**
|
|
1679
|
-
*
|
|
2333
|
+
* Successfully created. Returns created Fleet ID.
|
|
1680
2334
|
*/
|
|
1681
|
-
200:
|
|
2335
|
+
200: string;
|
|
1682
2336
|
};
|
|
1683
|
-
export type
|
|
1684
|
-
export type
|
|
1685
|
-
body
|
|
1686
|
-
path
|
|
2337
|
+
export type CreateFleetResponse = CreateFleetResponses[keyof CreateFleetResponses];
|
|
2338
|
+
export type DeleteFleetData = {
|
|
2339
|
+
body?: never;
|
|
2340
|
+
path: {
|
|
2341
|
+
/**
|
|
2342
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2343
|
+
*/
|
|
2344
|
+
cluster_id: string;
|
|
2345
|
+
/**
|
|
2346
|
+
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
2347
|
+
*/
|
|
2348
|
+
fleet_name: string;
|
|
2349
|
+
};
|
|
1687
2350
|
query?: never;
|
|
1688
|
-
url: '/
|
|
2351
|
+
url: '/clusters/{cluster_id}/fleets/{fleet_name}';
|
|
1689
2352
|
};
|
|
1690
|
-
export type
|
|
2353
|
+
export type DeleteFleetErrors = {
|
|
1691
2354
|
/**
|
|
1692
|
-
*
|
|
2355
|
+
* The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
|
|
1693
2356
|
*/
|
|
1694
|
-
|
|
2357
|
+
409: string;
|
|
1695
2358
|
};
|
|
1696
|
-
export type
|
|
2359
|
+
export type DeleteFleetError = DeleteFleetErrors[keyof DeleteFleetErrors];
|
|
2360
|
+
export type DeleteFleetResponses = {
|
|
1697
2361
|
/**
|
|
1698
|
-
* Successfully
|
|
2362
|
+
* Successfully deleted.
|
|
1699
2363
|
*/
|
|
1700
|
-
200:
|
|
2364
|
+
200: string;
|
|
1701
2365
|
};
|
|
1702
|
-
export type
|
|
1703
|
-
export type
|
|
2366
|
+
export type DeleteFleetResponse = DeleteFleetResponses[keyof DeleteFleetResponses];
|
|
2367
|
+
export type GetFleetData = {
|
|
1704
2368
|
body?: never;
|
|
1705
2369
|
path: {
|
|
1706
2370
|
/**
|
|
1707
|
-
*
|
|
2371
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1708
2372
|
*/
|
|
1709
|
-
|
|
2373
|
+
cluster_id: string;
|
|
2374
|
+
/**
|
|
2375
|
+
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
2376
|
+
*/
|
|
2377
|
+
fleet_name: string;
|
|
1710
2378
|
};
|
|
1711
2379
|
query?: never;
|
|
1712
|
-
url: '/
|
|
2380
|
+
url: '/clusters/{cluster_id}/fleets/{fleet_name}';
|
|
1713
2381
|
};
|
|
1714
|
-
export type
|
|
2382
|
+
export type GetFleetResponses = {
|
|
1715
2383
|
/**
|
|
1716
|
-
*
|
|
2384
|
+
* Returns a single object containing fleet details.
|
|
1717
2385
|
*/
|
|
1718
|
-
200:
|
|
2386
|
+
200: Fleet;
|
|
1719
2387
|
};
|
|
1720
|
-
export type
|
|
1721
|
-
|
|
2388
|
+
export type GetFleetResponse = GetFleetResponses[keyof GetFleetResponses];
|
|
2389
|
+
export type UpdateFleetData = {
|
|
2390
|
+
body: FleetUpdateInput;
|
|
1722
2391
|
path: {
|
|
1723
2392
|
/**
|
|
1724
|
-
*
|
|
2393
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1725
2394
|
*/
|
|
1726
|
-
|
|
2395
|
+
cluster_id: string;
|
|
2396
|
+
/**
|
|
2397
|
+
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
2398
|
+
*/
|
|
2399
|
+
fleet_name: string;
|
|
1727
2400
|
};
|
|
1728
2401
|
query?: never;
|
|
1729
|
-
url: '/
|
|
2402
|
+
url: '/clusters/{cluster_id}/fleets/{fleet_name}';
|
|
1730
2403
|
};
|
|
1731
|
-
export type
|
|
2404
|
+
export type UpdateFleetErrors = {
|
|
1732
2405
|
/**
|
|
1733
|
-
*
|
|
2406
|
+
* Organization must have a valid payment method configured to access this endpoint.
|
|
1734
2407
|
*/
|
|
1735
|
-
|
|
2408
|
+
402: string;
|
|
2409
|
+
/**
|
|
2410
|
+
* The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
|
|
2411
|
+
*/
|
|
2412
|
+
409: string;
|
|
1736
2413
|
};
|
|
1737
|
-
export type
|
|
2414
|
+
export type UpdateFleetError = UpdateFleetErrors[keyof UpdateFleetErrors];
|
|
2415
|
+
export type UpdateFleetResponses = {
|
|
1738
2416
|
/**
|
|
1739
|
-
*
|
|
2417
|
+
* Successfully updated.
|
|
1740
2418
|
*/
|
|
1741
|
-
200:
|
|
2419
|
+
200: string;
|
|
1742
2420
|
};
|
|
1743
|
-
export type
|
|
1744
|
-
export type
|
|
1745
|
-
body
|
|
2421
|
+
export type UpdateFleetResponse = UpdateFleetResponses[keyof UpdateFleetResponses];
|
|
2422
|
+
export type ListChartsData = {
|
|
2423
|
+
body?: never;
|
|
1746
2424
|
path: {
|
|
1747
2425
|
/**
|
|
1748
|
-
*
|
|
2426
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1749
2427
|
*/
|
|
1750
|
-
|
|
2428
|
+
cluster_id: string;
|
|
1751
2429
|
};
|
|
1752
2430
|
query?: never;
|
|
1753
|
-
url: '/
|
|
2431
|
+
url: '/clusters/{cluster_id}/charts';
|
|
1754
2432
|
};
|
|
1755
|
-
export type
|
|
2433
|
+
export type ListChartsErrors = {
|
|
1756
2434
|
/**
|
|
1757
2435
|
* Not authenticated
|
|
1758
2436
|
*/
|
|
1759
2437
|
401: unknown;
|
|
1760
2438
|
};
|
|
1761
|
-
export type
|
|
2439
|
+
export type ListChartsResponses = {
|
|
1762
2440
|
/**
|
|
1763
|
-
*
|
|
2441
|
+
* An array of charts
|
|
1764
2442
|
*/
|
|
1765
|
-
200:
|
|
2443
|
+
200: Array<Chart>;
|
|
1766
2444
|
};
|
|
1767
|
-
export type
|
|
1768
|
-
export type
|
|
1769
|
-
body
|
|
2445
|
+
export type ListChartsResponse = ListChartsResponses[keyof ListChartsResponses];
|
|
2446
|
+
export type CreateChartData = {
|
|
2447
|
+
body: ChartCreateInput;
|
|
1770
2448
|
path: {
|
|
1771
2449
|
/**
|
|
1772
|
-
*
|
|
2450
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1773
2451
|
*/
|
|
1774
|
-
|
|
2452
|
+
cluster_id: string;
|
|
1775
2453
|
};
|
|
1776
2454
|
query?: never;
|
|
1777
|
-
url: '/
|
|
2455
|
+
url: '/clusters/{cluster_id}/charts';
|
|
1778
2456
|
};
|
|
1779
|
-
export type
|
|
2457
|
+
export type CreateChartErrors = {
|
|
2458
|
+
/**
|
|
2459
|
+
* The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
|
|
2460
|
+
*/
|
|
2461
|
+
409: string;
|
|
2462
|
+
};
|
|
2463
|
+
export type CreateChartError = CreateChartErrors[keyof CreateChartErrors];
|
|
2464
|
+
export type CreateChartResponses = {
|
|
2465
|
+
/**
|
|
2466
|
+
* Successfully created. Returns created Chart ID.
|
|
2467
|
+
*/
|
|
2468
|
+
200: string;
|
|
2469
|
+
};
|
|
2470
|
+
export type CreateChartResponse = CreateChartResponses[keyof CreateChartResponses];
|
|
2471
|
+
export type DeleteChartData = {
|
|
2472
|
+
body?: never;
|
|
2473
|
+
path: {
|
|
2474
|
+
/**
|
|
2475
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2476
|
+
*/
|
|
2477
|
+
cluster_id: string;
|
|
2478
|
+
/**
|
|
2479
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
2480
|
+
*/
|
|
2481
|
+
chart_name: string;
|
|
2482
|
+
};
|
|
2483
|
+
query?: never;
|
|
2484
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
2485
|
+
};
|
|
2486
|
+
export type DeleteChartErrors = {
|
|
2487
|
+
/**
|
|
2488
|
+
* The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
|
|
2489
|
+
*/
|
|
2490
|
+
409: string;
|
|
2491
|
+
};
|
|
2492
|
+
export type DeleteChartError = DeleteChartErrors[keyof DeleteChartErrors];
|
|
2493
|
+
export type DeleteChartResponses = {
|
|
2494
|
+
/**
|
|
2495
|
+
* Successfully deleted.
|
|
2496
|
+
*/
|
|
2497
|
+
200: string;
|
|
2498
|
+
};
|
|
2499
|
+
export type DeleteChartResponse = DeleteChartResponses[keyof DeleteChartResponses];
|
|
2500
|
+
export type GetChartData = {
|
|
2501
|
+
body?: never;
|
|
2502
|
+
path: {
|
|
2503
|
+
/**
|
|
2504
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2505
|
+
*/
|
|
2506
|
+
cluster_id: string;
|
|
2507
|
+
/**
|
|
2508
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
2509
|
+
*/
|
|
2510
|
+
chart_name: string;
|
|
2511
|
+
};
|
|
2512
|
+
query?: never;
|
|
2513
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
2514
|
+
};
|
|
2515
|
+
export type GetChartResponses = {
|
|
2516
|
+
/**
|
|
2517
|
+
* Returns a single object containing chart details.
|
|
2518
|
+
*/
|
|
2519
|
+
200: Chart;
|
|
2520
|
+
};
|
|
2521
|
+
export type GetChartResponse = GetChartResponses[keyof GetChartResponses];
|
|
2522
|
+
export type UpdateChartData = {
|
|
2523
|
+
body: ChartUpdateInput;
|
|
2524
|
+
path: {
|
|
2525
|
+
/**
|
|
2526
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2527
|
+
*/
|
|
2528
|
+
cluster_id: string;
|
|
2529
|
+
/**
|
|
2530
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
2531
|
+
*/
|
|
2532
|
+
chart_name: string;
|
|
2533
|
+
};
|
|
2534
|
+
query?: never;
|
|
2535
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
2536
|
+
};
|
|
2537
|
+
export type UpdateChartErrors = {
|
|
2538
|
+
/**
|
|
2539
|
+
* The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
|
|
2540
|
+
*/
|
|
2541
|
+
409: string;
|
|
2542
|
+
};
|
|
2543
|
+
export type UpdateChartError = UpdateChartErrors[keyof UpdateChartErrors];
|
|
2544
|
+
export type UpdateChartResponses = {
|
|
2545
|
+
/**
|
|
2546
|
+
* Successfully updated.
|
|
2547
|
+
*/
|
|
2548
|
+
200: string;
|
|
2549
|
+
};
|
|
2550
|
+
export type UpdateChartResponse = UpdateChartResponses[keyof UpdateChartResponses];
|
|
2551
|
+
export type ListClustersData = {
|
|
2552
|
+
body?: never;
|
|
2553
|
+
path?: never;
|
|
2554
|
+
query?: never;
|
|
2555
|
+
url: '/clusters';
|
|
2556
|
+
};
|
|
2557
|
+
export type ListClustersErrors = {
|
|
1780
2558
|
/**
|
|
1781
2559
|
* Not authenticated
|
|
1782
2560
|
*/
|
|
1783
2561
|
401: unknown;
|
|
1784
2562
|
};
|
|
1785
|
-
export type
|
|
2563
|
+
export type ListClustersResponses = {
|
|
1786
2564
|
/**
|
|
1787
|
-
*
|
|
2565
|
+
* An array of clusters
|
|
1788
2566
|
*/
|
|
1789
|
-
200:
|
|
2567
|
+
200: Array<Cluster>;
|
|
1790
2568
|
};
|
|
1791
|
-
export type
|
|
1792
|
-
export type
|
|
2569
|
+
export type ListClustersResponse = ListClustersResponses[keyof ListClustersResponses];
|
|
2570
|
+
export type CreateClusterData = {
|
|
2571
|
+
body: ClusterCreateInput;
|
|
2572
|
+
path?: never;
|
|
2573
|
+
query?: never;
|
|
2574
|
+
url: '/clusters';
|
|
2575
|
+
};
|
|
2576
|
+
export type CreateClusterErrors = {
|
|
2577
|
+
/**
|
|
2578
|
+
* Cluster quota exceeded. Maximum number of clusters allowed in this organization is reached.
|
|
2579
|
+
*/
|
|
2580
|
+
402: string;
|
|
2581
|
+
};
|
|
2582
|
+
export type CreateClusterError = CreateClusterErrors[keyof CreateClusterErrors];
|
|
2583
|
+
export type CreateClusterResponses = {
|
|
2584
|
+
/**
|
|
2585
|
+
* Successfully created. Returns created Cluster ID.
|
|
2586
|
+
*/
|
|
2587
|
+
200: string;
|
|
2588
|
+
};
|
|
2589
|
+
export type CreateClusterResponse = CreateClusterResponses[keyof CreateClusterResponses];
|
|
2590
|
+
export type DeleteClusterData = {
|
|
1793
2591
|
body?: never;
|
|
1794
2592
|
path: {
|
|
1795
2593
|
/**
|
|
1796
|
-
*
|
|
2594
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1797
2595
|
*/
|
|
1798
|
-
|
|
2596
|
+
cluster_id: string;
|
|
1799
2597
|
};
|
|
1800
2598
|
query?: never;
|
|
1801
|
-
url: '/
|
|
2599
|
+
url: '/clusters/{cluster_id}';
|
|
1802
2600
|
};
|
|
1803
|
-
export type
|
|
2601
|
+
export type DeleteClusterErrors = {
|
|
1804
2602
|
/**
|
|
1805
|
-
*
|
|
2603
|
+
* Cluster not found; it does not exist or has already been deleted.
|
|
1806
2604
|
*/
|
|
1807
|
-
|
|
2605
|
+
404: unknown;
|
|
2606
|
+
/**
|
|
2607
|
+
* The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
|
|
2608
|
+
*/
|
|
2609
|
+
409: string;
|
|
2610
|
+
/**
|
|
2611
|
+
* Transient failure tearing down the cluster; retry the request.
|
|
2612
|
+
*/
|
|
2613
|
+
503: unknown;
|
|
2614
|
+
};
|
|
2615
|
+
export type DeleteClusterError = DeleteClusterErrors[keyof DeleteClusterErrors];
|
|
2616
|
+
export type DeleteClusterResponses = {
|
|
2617
|
+
/**
|
|
2618
|
+
* Successfully deleted. The cluster has been torn down.
|
|
2619
|
+
*/
|
|
2620
|
+
200: string;
|
|
2621
|
+
};
|
|
2622
|
+
export type DeleteClusterResponse = DeleteClusterResponses[keyof DeleteClusterResponses];
|
|
2623
|
+
export type GetClusterData = {
|
|
2624
|
+
body?: never;
|
|
2625
|
+
path: {
|
|
1808
2626
|
/**
|
|
1809
|
-
* Unique identifier of the
|
|
2627
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1810
2628
|
*/
|
|
1811
|
-
|
|
2629
|
+
cluster_id: string;
|
|
2630
|
+
};
|
|
2631
|
+
query?: never;
|
|
2632
|
+
url: '/clusters/{cluster_id}';
|
|
2633
|
+
};
|
|
2634
|
+
export type GetClusterResponses = {
|
|
2635
|
+
/**
|
|
2636
|
+
* Returns a single object containing cluster details.
|
|
2637
|
+
*/
|
|
2638
|
+
200: Cluster;
|
|
2639
|
+
};
|
|
2640
|
+
export type GetClusterResponse = GetClusterResponses[keyof GetClusterResponses];
|
|
2641
|
+
export type UpdateClusterData = {
|
|
2642
|
+
body: ClusterUpdateInput;
|
|
2643
|
+
path: {
|
|
1812
2644
|
/**
|
|
1813
|
-
*
|
|
2645
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1814
2646
|
*/
|
|
1815
|
-
|
|
1816
|
-
}
|
|
2647
|
+
cluster_id: string;
|
|
2648
|
+
};
|
|
2649
|
+
query?: never;
|
|
2650
|
+
url: '/clusters/{cluster_id}';
|
|
1817
2651
|
};
|
|
1818
|
-
export type
|
|
1819
|
-
|
|
2652
|
+
export type UpdateClusterErrors = {
|
|
2653
|
+
/**
|
|
2654
|
+
* The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
|
|
2655
|
+
*/
|
|
2656
|
+
409: string;
|
|
2657
|
+
};
|
|
2658
|
+
export type UpdateClusterError = UpdateClusterErrors[keyof UpdateClusterErrors];
|
|
2659
|
+
export type UpdateClusterResponses = {
|
|
2660
|
+
/**
|
|
2661
|
+
* Successfully updated. Returns updated cluster details.
|
|
2662
|
+
*/
|
|
2663
|
+
200: Cluster;
|
|
2664
|
+
};
|
|
2665
|
+
export type UpdateClusterResponse = UpdateClusterResponses[keyof UpdateClusterResponses];
|
|
2666
|
+
export type GetJoinInformationData = {
|
|
1820
2667
|
body?: never;
|
|
1821
|
-
path
|
|
2668
|
+
path: {
|
|
2669
|
+
/**
|
|
2670
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2671
|
+
*/
|
|
2672
|
+
cluster_id: string;
|
|
2673
|
+
};
|
|
1822
2674
|
query?: never;
|
|
1823
|
-
url: '/
|
|
2675
|
+
url: '/clusters/{cluster_id}/join_information';
|
|
1824
2676
|
};
|
|
1825
|
-
export type
|
|
2677
|
+
export type GetJoinInformationErrors = {
|
|
1826
2678
|
/**
|
|
1827
2679
|
* Not authenticated
|
|
1828
2680
|
*/
|
|
1829
2681
|
401: unknown;
|
|
2682
|
+
/**
|
|
2683
|
+
* The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
|
|
2684
|
+
*/
|
|
2685
|
+
409: string;
|
|
1830
2686
|
};
|
|
1831
|
-
export type
|
|
2687
|
+
export type GetJoinInformationError = GetJoinInformationErrors[keyof GetJoinInformationErrors];
|
|
2688
|
+
export type GetJoinInformationResponses = {
|
|
1832
2689
|
/**
|
|
1833
|
-
* An
|
|
2690
|
+
* An object of cluster join information
|
|
1834
2691
|
*/
|
|
1835
|
-
200:
|
|
2692
|
+
200: ClusterJoinInformation;
|
|
1836
2693
|
};
|
|
1837
|
-
export type
|
|
1838
|
-
export type
|
|
1839
|
-
body
|
|
2694
|
+
export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
|
|
2695
|
+
export type GetUsageData = {
|
|
2696
|
+
body?: never;
|
|
2697
|
+
path?: never;
|
|
2698
|
+
query?: {
|
|
2699
|
+
/**
|
|
2700
|
+
* Time granularity for usage aggregation - hourly (Past 48 hours aggregated by hour), daily (Past 30 days aggregated by day), monthly (Past 12 months aggregated by month)
|
|
2701
|
+
*/
|
|
2702
|
+
granularity?: 'hourly' | 'daily' | 'monthly';
|
|
2703
|
+
};
|
|
2704
|
+
url: '/billing/usage';
|
|
2705
|
+
};
|
|
2706
|
+
export type GetUsageErrors = {
|
|
2707
|
+
/**
|
|
2708
|
+
* Not authenticated
|
|
2709
|
+
*/
|
|
2710
|
+
401: unknown;
|
|
2711
|
+
};
|
|
2712
|
+
export type GetUsageResponses = {
|
|
2713
|
+
/**
|
|
2714
|
+
* Usage data with facets for filtering
|
|
2715
|
+
*/
|
|
2716
|
+
200: UsageResponse;
|
|
2717
|
+
};
|
|
2718
|
+
export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
|
|
2719
|
+
export type GetPaymentMethodSecretData = {
|
|
2720
|
+
body?: never;
|
|
1840
2721
|
path?: never;
|
|
1841
2722
|
query?: never;
|
|
1842
|
-
url: '/
|
|
2723
|
+
url: '/billing/payment-method';
|
|
1843
2724
|
};
|
|
1844
|
-
export type
|
|
2725
|
+
export type GetPaymentMethodSecretResponses = {
|
|
1845
2726
|
/**
|
|
1846
|
-
*
|
|
2727
|
+
* The client secret. Used for client-side retrieval using a publishable key. The client secret can be used to complete a payment from your frontend. It should not be stored, logged, or exposed to anyone other than the customer. Make sure that you have TLS enabled on any page that includes the client secret.
|
|
2728
|
+
*
|
|
1847
2729
|
*/
|
|
1848
|
-
200:
|
|
2730
|
+
200: {
|
|
2731
|
+
/**
|
|
2732
|
+
* The client secret.
|
|
2733
|
+
*/
|
|
2734
|
+
id?: string;
|
|
2735
|
+
};
|
|
1849
2736
|
};
|
|
1850
|
-
export type
|
|
1851
|
-
export type
|
|
2737
|
+
export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
|
|
2738
|
+
export type ListPaymentMethodsData = {
|
|
2739
|
+
body?: never;
|
|
2740
|
+
path?: never;
|
|
2741
|
+
query?: never;
|
|
2742
|
+
url: '/billing/payment-methods';
|
|
2743
|
+
};
|
|
2744
|
+
export type ListPaymentMethodsErrors = {
|
|
2745
|
+
/**
|
|
2746
|
+
* Not authenticated
|
|
2747
|
+
*/
|
|
2748
|
+
401: unknown;
|
|
2749
|
+
};
|
|
2750
|
+
export type ListPaymentMethodsResponses = {
|
|
2751
|
+
/**
|
|
2752
|
+
* An array of payment methods.
|
|
2753
|
+
*/
|
|
2754
|
+
200: Array<PaymentMethod>;
|
|
2755
|
+
};
|
|
2756
|
+
export type ListPaymentMethodsResponse = ListPaymentMethodsResponses[keyof ListPaymentMethodsResponses];
|
|
2757
|
+
export type SetDefaultPaymentMethodData = {
|
|
1852
2758
|
body?: never;
|
|
1853
2759
|
path: {
|
|
1854
2760
|
/**
|
|
1855
|
-
*
|
|
2761
|
+
* Stripe payment method identifier.
|
|
1856
2762
|
*/
|
|
1857
|
-
|
|
2763
|
+
paymentMethodId: string;
|
|
1858
2764
|
};
|
|
1859
2765
|
query?: never;
|
|
1860
|
-
url: '/
|
|
2766
|
+
url: '/billing/payment-methods/{paymentMethodId}/default';
|
|
1861
2767
|
};
|
|
1862
|
-
export type
|
|
2768
|
+
export type SetDefaultPaymentMethodErrors = {
|
|
1863
2769
|
/**
|
|
1864
|
-
*
|
|
2770
|
+
* The bank transfer payment method cannot be set as the default.
|
|
1865
2771
|
*/
|
|
1866
2772
|
400: unknown;
|
|
1867
2773
|
/**
|
|
1868
2774
|
* Not authenticated
|
|
1869
2775
|
*/
|
|
1870
2776
|
401: unknown;
|
|
2777
|
+
/**
|
|
2778
|
+
* Payment method not found.
|
|
2779
|
+
*/
|
|
2780
|
+
404: unknown;
|
|
1871
2781
|
};
|
|
1872
|
-
export type
|
|
2782
|
+
export type SetDefaultPaymentMethodResponses = {
|
|
1873
2783
|
/**
|
|
1874
|
-
*
|
|
2784
|
+
* Default payment method updated.
|
|
1875
2785
|
*/
|
|
1876
|
-
|
|
2786
|
+
204: void;
|
|
1877
2787
|
};
|
|
1878
|
-
export type
|
|
1879
|
-
export type
|
|
2788
|
+
export type SetDefaultPaymentMethodResponse = SetDefaultPaymentMethodResponses[keyof SetDefaultPaymentMethodResponses];
|
|
2789
|
+
export type DeletePaymentMethodData = {
|
|
1880
2790
|
body?: never;
|
|
1881
2791
|
path: {
|
|
1882
2792
|
/**
|
|
1883
|
-
*
|
|
2793
|
+
* Stripe payment method identifier.
|
|
1884
2794
|
*/
|
|
1885
|
-
|
|
2795
|
+
paymentMethodId: string;
|
|
1886
2796
|
};
|
|
1887
2797
|
query?: never;
|
|
1888
|
-
url: '/
|
|
2798
|
+
url: '/billing/payment-methods/{paymentMethodId}';
|
|
1889
2799
|
};
|
|
1890
|
-
export type
|
|
2800
|
+
export type DeletePaymentMethodErrors = {
|
|
2801
|
+
/**
|
|
2802
|
+
* The bank transfer payment method cannot be removed.
|
|
2803
|
+
*/
|
|
2804
|
+
400: unknown;
|
|
2805
|
+
/**
|
|
2806
|
+
* Not authenticated
|
|
2807
|
+
*/
|
|
2808
|
+
401: unknown;
|
|
2809
|
+
/**
|
|
2810
|
+
* Payment method not found.
|
|
2811
|
+
*/
|
|
2812
|
+
404: unknown;
|
|
2813
|
+
/**
|
|
2814
|
+
* Cannot delete the only remaining payment method.
|
|
2815
|
+
*/
|
|
2816
|
+
409: unknown;
|
|
2817
|
+
};
|
|
2818
|
+
export type DeletePaymentMethodResponses = {
|
|
2819
|
+
/**
|
|
2820
|
+
* Payment method deleted.
|
|
2821
|
+
*/
|
|
2822
|
+
204: void;
|
|
2823
|
+
};
|
|
2824
|
+
export type DeletePaymentMethodResponse = DeletePaymentMethodResponses[keyof DeletePaymentMethodResponses];
|
|
2825
|
+
export type ListInvoicesData = {
|
|
2826
|
+
body?: never;
|
|
2827
|
+
path?: never;
|
|
2828
|
+
query?: never;
|
|
2829
|
+
url: '/billing/invoices';
|
|
2830
|
+
};
|
|
2831
|
+
export type ListInvoicesErrors = {
|
|
1891
2832
|
/**
|
|
1892
2833
|
* Not authenticated
|
|
1893
2834
|
*/
|
|
1894
2835
|
401: unknown;
|
|
1895
2836
|
};
|
|
1896
|
-
export type
|
|
2837
|
+
export type ListInvoicesResponses = {
|
|
1897
2838
|
/**
|
|
1898
|
-
*
|
|
2839
|
+
* An array of usage records.
|
|
1899
2840
|
*/
|
|
1900
|
-
200:
|
|
2841
|
+
200: Array<Invoice>;
|
|
1901
2842
|
};
|
|
1902
|
-
export type
|
|
1903
|
-
export type
|
|
1904
|
-
body
|
|
1905
|
-
path
|
|
2843
|
+
export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
|
|
2844
|
+
export type GetContactData = {
|
|
2845
|
+
body?: never;
|
|
2846
|
+
path?: never;
|
|
2847
|
+
query?: never;
|
|
2848
|
+
url: '/billing/contact';
|
|
2849
|
+
};
|
|
2850
|
+
export type GetContactResponses = {
|
|
2851
|
+
/**
|
|
2852
|
+
* Returns a single object containing organization contact and billing address details.
|
|
2853
|
+
*/
|
|
2854
|
+
200: BillingContact;
|
|
2855
|
+
};
|
|
2856
|
+
export type GetContactResponse = GetContactResponses[keyof GetContactResponses];
|
|
2857
|
+
export type UpdateContactData = {
|
|
2858
|
+
body: BillingContact;
|
|
2859
|
+
path?: never;
|
|
2860
|
+
query?: never;
|
|
2861
|
+
url: '/billing/contact';
|
|
2862
|
+
};
|
|
2863
|
+
export type UpdateContactResponses = {
|
|
2864
|
+
/**
|
|
2865
|
+
* Successfully updated. Returns updated organization details.
|
|
2866
|
+
*/
|
|
2867
|
+
200: BillingContact;
|
|
2868
|
+
};
|
|
2869
|
+
export type UpdateContactResponse = UpdateContactResponses[keyof UpdateContactResponses];
|
|
2870
|
+
export type GetCreditsData = {
|
|
2871
|
+
body?: never;
|
|
2872
|
+
path?: never;
|
|
2873
|
+
query?: never;
|
|
2874
|
+
url: '/billing/credits';
|
|
2875
|
+
};
|
|
2876
|
+
export type GetCreditsErrors = {
|
|
2877
|
+
/**
|
|
2878
|
+
* Not authenticated
|
|
2879
|
+
*/
|
|
2880
|
+
401: unknown;
|
|
2881
|
+
};
|
|
2882
|
+
export type GetCreditsResponses = {
|
|
2883
|
+
/**
|
|
2884
|
+
* An array of the applied promotional credits records.
|
|
2885
|
+
*/
|
|
2886
|
+
200: Array<BillingCredits>;
|
|
2887
|
+
};
|
|
2888
|
+
export type GetCreditsResponse = GetCreditsResponses[keyof GetCreditsResponses];
|
|
2889
|
+
export type RedeemCreditsData = {
|
|
2890
|
+
body: {
|
|
1906
2891
|
/**
|
|
1907
|
-
*
|
|
2892
|
+
* Promotional code to redeem
|
|
1908
2893
|
*/
|
|
1909
|
-
|
|
2894
|
+
code?: string;
|
|
1910
2895
|
};
|
|
2896
|
+
path?: never;
|
|
1911
2897
|
query?: never;
|
|
1912
|
-
url: '/
|
|
2898
|
+
url: '/billing/credits';
|
|
1913
2899
|
};
|
|
1914
|
-
export type
|
|
2900
|
+
export type RedeemCreditsErrors = {
|
|
1915
2901
|
/**
|
|
1916
|
-
*
|
|
2902
|
+
* Not authenticated
|
|
1917
2903
|
*/
|
|
1918
|
-
|
|
2904
|
+
401: unknown;
|
|
1919
2905
|
};
|
|
1920
|
-
export type
|
|
1921
|
-
|
|
1922
|
-
|
|
2906
|
+
export type RedeemCreditsResponses = {
|
|
2907
|
+
/**
|
|
2908
|
+
* Successfully created a new organization.
|
|
2909
|
+
*/
|
|
2910
|
+
200: unknown;
|
|
1923
2911
|
};
|
|
1924
2912
|
//# sourceMappingURL=types.gen.d.ts.map
|