@cloudfleet/sdk 0.0.1-9a4447d → 0.0.1-9bc5464
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 +528 -606
- package/dist/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/@tanstack/react-query.gen.js +472 -405
- package/dist/@tanstack/react-query.gen.js.map +1 -1
- package/dist/client/client.gen.d.ts.map +1 -1
- package/dist/client/client.gen.js +1 -4
- package/dist/client/client.gen.js.map +1 -1
- package/dist/client/types.gen.d.ts +1 -1
- package/dist/client/types.gen.d.ts.map +1 -1
- package/dist/client/utils.gen.d.ts +2 -2
- package/dist/client/utils.gen.d.ts.map +1 -1
- package/dist/client/utils.gen.js +3 -3
- package/dist/client/utils.gen.js.map +1 -1
- package/dist/core/params.gen.js +4 -4
- package/dist/core/params.gen.js.map +1 -1
- package/dist/schemas.gen.d.ts +528 -202
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +707 -284
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +252 -221
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +366 -322
- package/dist/sdk.gen.js.map +1 -1
- package/dist/types.gen.d.ts +1144 -816
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +1723 -1484
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +523 -350
- package/dist/zod.gen.js.map +1 -1
- package/package.json +10 -13
package/dist/types.gen.d.ts
CHANGED
|
@@ -1,6 +1,26 @@
|
|
|
1
1
|
export type ClientOptions = {
|
|
2
2
|
baseUrl: 'https://api.cloudfleet.ai/v1' | (string & {});
|
|
3
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
|
+
};
|
|
4
24
|
export type BillingContact = {
|
|
5
25
|
/**
|
|
6
26
|
* Type of the organization. `business` for legal entities, `personal` for individuals.
|
|
@@ -133,9 +153,9 @@ export type Chart = {
|
|
|
133
153
|
*/
|
|
134
154
|
chart: string;
|
|
135
155
|
/**
|
|
136
|
-
* Status of the chart deployment.
|
|
156
|
+
* Status of the chart deployment (Flux HelmRelease Ready condition reason, e.g. InstallSucceeded, UpgradeFailed, Progressing).
|
|
137
157
|
*/
|
|
138
|
-
status:
|
|
158
|
+
status: string;
|
|
139
159
|
/**
|
|
140
160
|
* Current version of the chart deployment.
|
|
141
161
|
*/
|
|
@@ -163,6 +183,9 @@ export type ChartUpdateInput = {
|
|
|
163
183
|
*/
|
|
164
184
|
version_channel: string;
|
|
165
185
|
};
|
|
186
|
+
/**
|
|
187
|
+
* Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
188
|
+
*/
|
|
166
189
|
export type ClusterCreateInput = {
|
|
167
190
|
/**
|
|
168
191
|
* Name of the cluster.
|
|
@@ -171,15 +194,61 @@ export type ClusterCreateInput = {
|
|
|
171
194
|
/**
|
|
172
195
|
* Tier of the cluster.
|
|
173
196
|
*/
|
|
174
|
-
tier
|
|
197
|
+
tier?: 'basic' | 'pro' | 'enterprise';
|
|
198
|
+
/**
|
|
199
|
+
* Version of the kubernetes cluster.
|
|
200
|
+
*/
|
|
201
|
+
version_channel?: string;
|
|
175
202
|
/**
|
|
176
|
-
*
|
|
203
|
+
* Release channel for the cluster's control plane.
|
|
177
204
|
*/
|
|
178
|
-
|
|
205
|
+
release_channel?: 'rapid' | 'stable' | 'extended';
|
|
179
206
|
/**
|
|
180
|
-
*
|
|
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.
|
|
181
225
|
*/
|
|
182
|
-
|
|
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
|
+
};
|
|
183
252
|
};
|
|
184
253
|
export type ClusterJoinInformation = {
|
|
185
254
|
/**
|
|
@@ -194,10 +263,18 @@ export type ClusterJoinInformation = {
|
|
|
194
263
|
* Cluster DNS IP address. This is the IP address of the kube-dns service in the cluster.
|
|
195
264
|
*/
|
|
196
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;
|
|
197
270
|
/**
|
|
198
271
|
* Authentication key for the cluster.
|
|
199
272
|
*/
|
|
200
273
|
auth_key: string;
|
|
274
|
+
/**
|
|
275
|
+
* Coordination server the node registers against. Empty on data plane v1 clusters, where the node advertises its own tag instead. A non-empty value requires a client that declares the dataplane-v2 capability.
|
|
276
|
+
*/
|
|
277
|
+
login_server: string;
|
|
201
278
|
/**
|
|
202
279
|
* Bootstrap token for the cluster.
|
|
203
280
|
*/
|
|
@@ -241,6 +318,9 @@ export type ClusterJoinInformation = {
|
|
|
241
318
|
gcp_workload_identity_provider: string;
|
|
242
319
|
};
|
|
243
320
|
};
|
|
321
|
+
/**
|
|
322
|
+
* Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
323
|
+
*/
|
|
244
324
|
export type Cluster = {
|
|
245
325
|
/**
|
|
246
326
|
* Name of the cluster.
|
|
@@ -249,19 +329,69 @@ export type Cluster = {
|
|
|
249
329
|
/**
|
|
250
330
|
* Tier of the cluster.
|
|
251
331
|
*/
|
|
252
|
-
tier: 'basic' | 'pro';
|
|
332
|
+
tier: 'basic' | 'pro' | 'enterprise';
|
|
333
|
+
/**
|
|
334
|
+
* Version of the kubernetes cluster.
|
|
335
|
+
*/
|
|
336
|
+
version_channel: string;
|
|
337
|
+
/**
|
|
338
|
+
* Release channel for the cluster's control plane.
|
|
339
|
+
*/
|
|
340
|
+
release_channel: 'rapid' | 'stable' | 'extended';
|
|
253
341
|
/**
|
|
254
|
-
*
|
|
342
|
+
* Cluster feature toggles.
|
|
255
343
|
*/
|
|
256
|
-
|
|
344
|
+
features: {
|
|
345
|
+
/**
|
|
346
|
+
* GPU sharing strategy.
|
|
347
|
+
*/
|
|
348
|
+
gpu_sharing_strategy: 'none' | 'mps' | 'time_slicing';
|
|
349
|
+
/**
|
|
350
|
+
* Maximum number of pods that may share a single GPU.
|
|
351
|
+
*/
|
|
352
|
+
gpu_max_shared_clients_per_gpu: number;
|
|
353
|
+
/**
|
|
354
|
+
* Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.
|
|
355
|
+
*/
|
|
356
|
+
cilium_socket_lb_host_namespace_only: boolean;
|
|
357
|
+
};
|
|
358
|
+
/**
|
|
359
|
+
* Cloudfleet control plane region. This field can not be updated after creation.
|
|
360
|
+
*/
|
|
361
|
+
region: string;
|
|
362
|
+
/**
|
|
363
|
+
* Cluster networking configuration. Immutable after creation.
|
|
364
|
+
*/
|
|
365
|
+
networking: {
|
|
366
|
+
/**
|
|
367
|
+
* CIDR block for pod IPs.
|
|
368
|
+
*/
|
|
369
|
+
pod_cidr: string;
|
|
370
|
+
/**
|
|
371
|
+
* CIDR block for service IPs.
|
|
372
|
+
*/
|
|
373
|
+
service_cidr: string;
|
|
374
|
+
/**
|
|
375
|
+
* Enable IPv4+IPv6 dual-stack networking.
|
|
376
|
+
*/
|
|
377
|
+
dual_stack: boolean;
|
|
378
|
+
/**
|
|
379
|
+
* IPv6 pod CIDR. Requires dual_stack.
|
|
380
|
+
*/
|
|
381
|
+
pod_cidr_v6: string;
|
|
382
|
+
/**
|
|
383
|
+
* IPv6 service CIDR. Requires dual_stack.
|
|
384
|
+
*/
|
|
385
|
+
service_cidr_v6: string;
|
|
386
|
+
};
|
|
257
387
|
/**
|
|
258
388
|
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
259
389
|
*/
|
|
260
390
|
id: string;
|
|
261
391
|
/**
|
|
262
|
-
* Status of the cluster.
|
|
392
|
+
* Status of the cluster.
|
|
263
393
|
*/
|
|
264
|
-
status: '
|
|
394
|
+
status: 'creating' | 'deployed' | 'updating' | 'disabled';
|
|
265
395
|
endpoint?: string | '';
|
|
266
396
|
endpoint_public?: string | '';
|
|
267
397
|
/**
|
|
@@ -283,26 +413,49 @@ export type Cluster = {
|
|
|
283
413
|
/**
|
|
284
414
|
* Indicates if the cluster is ready to be used.
|
|
285
415
|
*/
|
|
286
|
-
ready
|
|
287
|
-
/**
|
|
288
|
-
* Version of the kubernetes cluster.
|
|
289
|
-
*/
|
|
290
|
-
version_channel?: string;
|
|
416
|
+
ready: boolean;
|
|
291
417
|
};
|
|
418
|
+
/**
|
|
419
|
+
* Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
420
|
+
*/
|
|
292
421
|
export type ClusterUpdateInput = {
|
|
293
422
|
/**
|
|
294
423
|
* Name of the cluster.
|
|
295
424
|
*/
|
|
296
|
-
name
|
|
425
|
+
name: string;
|
|
297
426
|
/**
|
|
298
427
|
* Tier of the cluster.
|
|
299
428
|
*/
|
|
300
|
-
tier
|
|
429
|
+
tier?: 'basic' | 'pro' | 'enterprise';
|
|
301
430
|
/**
|
|
302
431
|
* Version of the kubernetes cluster.
|
|
303
432
|
*/
|
|
304
433
|
version_channel?: string;
|
|
434
|
+
/**
|
|
435
|
+
* Release channel for the cluster's control plane.
|
|
436
|
+
*/
|
|
437
|
+
release_channel?: 'rapid' | 'stable' | 'extended';
|
|
438
|
+
/**
|
|
439
|
+
* Cluster feature toggles.
|
|
440
|
+
*/
|
|
441
|
+
features?: {
|
|
442
|
+
/**
|
|
443
|
+
* GPU sharing strategy.
|
|
444
|
+
*/
|
|
445
|
+
gpu_sharing_strategy?: 'none' | 'mps' | 'time_slicing';
|
|
446
|
+
/**
|
|
447
|
+
* Maximum number of pods that may share a single GPU.
|
|
448
|
+
*/
|
|
449
|
+
gpu_max_shared_clients_per_gpu?: number;
|
|
450
|
+
/**
|
|
451
|
+
* Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.
|
|
452
|
+
*/
|
|
453
|
+
cilium_socket_lb_host_namespace_only?: boolean;
|
|
454
|
+
};
|
|
305
455
|
};
|
|
456
|
+
/**
|
|
457
|
+
* Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
458
|
+
*/
|
|
306
459
|
export type FleetCreateInput = {
|
|
307
460
|
/**
|
|
308
461
|
* Limits define a set of bounds for provisioning capacity.
|
|
@@ -323,7 +476,7 @@ export type FleetCreateInput = {
|
|
|
323
476
|
hetzner?: {
|
|
324
477
|
enabled: boolean;
|
|
325
478
|
/**
|
|
326
|
-
* Hetzner Cloud API token with read
|
|
479
|
+
* 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.
|
|
327
480
|
*/
|
|
328
481
|
apiKey?: string;
|
|
329
482
|
};
|
|
@@ -335,7 +488,7 @@ export type FleetCreateInput = {
|
|
|
335
488
|
controllerRoleArn?: string;
|
|
336
489
|
};
|
|
337
490
|
/**
|
|
338
|
-
* 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.
|
|
491
|
+
* 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.
|
|
339
492
|
*/
|
|
340
493
|
constraints?: {
|
|
341
494
|
/**
|
|
@@ -356,7 +509,7 @@ export type FleetCreateInput = {
|
|
|
356
509
|
'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'>;
|
|
357
510
|
};
|
|
358
511
|
/**
|
|
359
|
-
* Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
|
|
512
|
+
* 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`).
|
|
360
513
|
*/
|
|
361
514
|
scalingProfile?: 'aggressive' | 'conservative';
|
|
362
515
|
/**
|
|
@@ -364,6 +517,9 @@ export type FleetCreateInput = {
|
|
|
364
517
|
*/
|
|
365
518
|
id: string;
|
|
366
519
|
};
|
|
520
|
+
/**
|
|
521
|
+
* Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
522
|
+
*/
|
|
367
523
|
export type Fleet = {
|
|
368
524
|
/**
|
|
369
525
|
* Limits define a set of bounds for provisioning capacity.
|
|
@@ -396,17 +552,17 @@ export type Fleet = {
|
|
|
396
552
|
controllerRoleArn?: string;
|
|
397
553
|
};
|
|
398
554
|
/**
|
|
399
|
-
* 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.
|
|
555
|
+
* 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.
|
|
400
556
|
*/
|
|
401
|
-
constraints
|
|
557
|
+
constraints: {
|
|
402
558
|
/**
|
|
403
559
|
* Allowed values for `karpenter.sh/capacity-type`.
|
|
404
560
|
*/
|
|
405
|
-
'karpenter.sh/capacity-type'
|
|
561
|
+
'karpenter.sh/capacity-type': Array<'on-demand' | 'spot'>;
|
|
406
562
|
/**
|
|
407
563
|
* Allowed values for `kubernetes.io/arch`.
|
|
408
564
|
*/
|
|
409
|
-
'kubernetes.io/arch'
|
|
565
|
+
'kubernetes.io/arch': Array<'amd64' | 'arm64'>;
|
|
410
566
|
/**
|
|
411
567
|
* Allowed values for `cfke.io/instance-family`.
|
|
412
568
|
*/
|
|
@@ -417,14 +573,33 @@ export type Fleet = {
|
|
|
417
573
|
'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'>;
|
|
418
574
|
};
|
|
419
575
|
/**
|
|
420
|
-
* Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
|
|
576
|
+
* 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`).
|
|
421
577
|
*/
|
|
422
578
|
scalingProfile: 'aggressive' | 'conservative';
|
|
423
579
|
/**
|
|
424
580
|
* Unique identifier of the kubernetes fleet.
|
|
425
581
|
*/
|
|
426
582
|
id: string;
|
|
583
|
+
/**
|
|
584
|
+
* Indicates whether the fleet configuration is healthy.
|
|
585
|
+
*/
|
|
586
|
+
ready: boolean;
|
|
587
|
+
/**
|
|
588
|
+
* Human-readable reason the fleet is not ready. Present only when `ready` is false.
|
|
589
|
+
*/
|
|
590
|
+
status_message?: string;
|
|
591
|
+
/**
|
|
592
|
+
* Creation date and time of the fleet.
|
|
593
|
+
*/
|
|
594
|
+
created_at: string;
|
|
595
|
+
/**
|
|
596
|
+
* Date and time the fleet was last updated.
|
|
597
|
+
*/
|
|
598
|
+
updated_at: string;
|
|
427
599
|
};
|
|
600
|
+
/**
|
|
601
|
+
* Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
602
|
+
*/
|
|
428
603
|
export type FleetUpdateInput = {
|
|
429
604
|
/**
|
|
430
605
|
* Limits define a set of bounds for provisioning capacity.
|
|
@@ -445,7 +620,7 @@ export type FleetUpdateInput = {
|
|
|
445
620
|
hetzner?: {
|
|
446
621
|
enabled: boolean;
|
|
447
622
|
/**
|
|
448
|
-
* Hetzner Cloud API token with read
|
|
623
|
+
* 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.
|
|
449
624
|
*/
|
|
450
625
|
apiKey?: string;
|
|
451
626
|
};
|
|
@@ -457,7 +632,7 @@ export type FleetUpdateInput = {
|
|
|
457
632
|
controllerRoleArn?: string;
|
|
458
633
|
};
|
|
459
634
|
/**
|
|
460
|
-
* 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.
|
|
635
|
+
* 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.
|
|
461
636
|
*/
|
|
462
637
|
constraints?: {
|
|
463
638
|
/**
|
|
@@ -478,9 +653,19 @@ export type FleetUpdateInput = {
|
|
|
478
653
|
'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'>;
|
|
479
654
|
};
|
|
480
655
|
/**
|
|
481
|
-
* Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
|
|
656
|
+
* 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`).
|
|
482
657
|
*/
|
|
483
|
-
scalingProfile
|
|
658
|
+
scalingProfile?: 'aggressive' | 'conservative';
|
|
659
|
+
};
|
|
660
|
+
export type InviteCreateInput = {
|
|
661
|
+
/**
|
|
662
|
+
* Email address of the user to invite.
|
|
663
|
+
*/
|
|
664
|
+
email: string;
|
|
665
|
+
/**
|
|
666
|
+
* Role the invited user will be assigned on redemption. Can be 'Administrator' or 'User'.
|
|
667
|
+
*/
|
|
668
|
+
role?: 'Administrator' | 'User';
|
|
484
669
|
};
|
|
485
670
|
export type Invite = {
|
|
486
671
|
/**
|
|
@@ -503,6 +688,91 @@ export type Invite = {
|
|
|
503
688
|
* Generated unique invite code.
|
|
504
689
|
*/
|
|
505
690
|
code?: string;
|
|
691
|
+
/**
|
|
692
|
+
* Role the invited user will be assigned on redemption. Can be 'Administrator' or 'User'.
|
|
693
|
+
*/
|
|
694
|
+
role?: 'Administrator' | 'User';
|
|
695
|
+
};
|
|
696
|
+
export type InvoicePaymentAttempt = {
|
|
697
|
+
/**
|
|
698
|
+
* Identifier of the invoice.
|
|
699
|
+
*/
|
|
700
|
+
invoice_id: string;
|
|
701
|
+
/**
|
|
702
|
+
* Invoice number. Null if the invoice has no number.
|
|
703
|
+
*/
|
|
704
|
+
number: string;
|
|
705
|
+
/**
|
|
706
|
+
* Amount outstanding when the charge was attempted, in the smallest currency unit.
|
|
707
|
+
*/
|
|
708
|
+
amount: number;
|
|
709
|
+
/**
|
|
710
|
+
* Currency of the invoice.
|
|
711
|
+
*/
|
|
712
|
+
currency: string;
|
|
713
|
+
/**
|
|
714
|
+
* Outcome for this invoice: `paid`, `processing` (accepted, not yet settled), `requires_action` (awaiting customer authentication), or `failed` (declined).
|
|
715
|
+
*/
|
|
716
|
+
status: 'paid' | 'processing' | 'requires_action' | 'failed';
|
|
717
|
+
/**
|
|
718
|
+
* Client secret used to complete customer authentication. Set only when `status` is `requires_action`.
|
|
719
|
+
*/
|
|
720
|
+
client_secret: string;
|
|
721
|
+
/**
|
|
722
|
+
* Decline code. Set only when `status` is `failed`.
|
|
723
|
+
*/
|
|
724
|
+
failure_code: string;
|
|
725
|
+
/**
|
|
726
|
+
* Explanation of the decline, suitable for display. Set only when `status` is `failed`.
|
|
727
|
+
*/
|
|
728
|
+
failure_message: string;
|
|
729
|
+
};
|
|
730
|
+
export type InvoicePaymentResult = {
|
|
731
|
+
/**
|
|
732
|
+
* Overall outcome: `paid` (nothing outstanding), `processing` (all accepted, not yet settled), `action_required` (one or more await customer authentication), `partially_paid`, `failed`, `nothing_due`, or `bank_transfer_due` (the organization pays by bank transfer; nothing was charged).
|
|
733
|
+
*/
|
|
734
|
+
code: 'paid' | 'processing' | 'action_required' | 'partially_paid' | 'failed' | 'nothing_due' | 'bank_transfer_due';
|
|
735
|
+
/**
|
|
736
|
+
* Summary of the outcome, suitable for display.
|
|
737
|
+
*/
|
|
738
|
+
message: string;
|
|
739
|
+
/**
|
|
740
|
+
* One entry per invoice charged, oldest first.
|
|
741
|
+
*/
|
|
742
|
+
results: Array<{
|
|
743
|
+
/**
|
|
744
|
+
* Identifier of the invoice.
|
|
745
|
+
*/
|
|
746
|
+
invoice_id: string;
|
|
747
|
+
/**
|
|
748
|
+
* Invoice number. Null if the invoice has no number.
|
|
749
|
+
*/
|
|
750
|
+
number: string;
|
|
751
|
+
/**
|
|
752
|
+
* Amount outstanding when the charge was attempted, in the smallest currency unit.
|
|
753
|
+
*/
|
|
754
|
+
amount: number;
|
|
755
|
+
/**
|
|
756
|
+
* Currency of the invoice.
|
|
757
|
+
*/
|
|
758
|
+
currency: string;
|
|
759
|
+
/**
|
|
760
|
+
* Outcome for this invoice: `paid`, `processing` (accepted, not yet settled), `requires_action` (awaiting customer authentication), or `failed` (declined).
|
|
761
|
+
*/
|
|
762
|
+
status: 'paid' | 'processing' | 'requires_action' | 'failed';
|
|
763
|
+
/**
|
|
764
|
+
* Client secret used to complete customer authentication. Set only when `status` is `requires_action`.
|
|
765
|
+
*/
|
|
766
|
+
client_secret: string;
|
|
767
|
+
/**
|
|
768
|
+
* Decline code. Set only when `status` is `failed`.
|
|
769
|
+
*/
|
|
770
|
+
failure_code: string;
|
|
771
|
+
/**
|
|
772
|
+
* Explanation of the decline, suitable for display. Set only when `status` is `failed`.
|
|
773
|
+
*/
|
|
774
|
+
failure_message: string;
|
|
775
|
+
}>;
|
|
506
776
|
};
|
|
507
777
|
export type Invoice = {
|
|
508
778
|
/**
|
|
@@ -691,6 +961,14 @@ export type Organization = {
|
|
|
691
961
|
* Available number of Pro clusters that can be created.
|
|
692
962
|
*/
|
|
693
963
|
pro_clusters_available: number;
|
|
964
|
+
/**
|
|
965
|
+
* Maximum number of Enterprise clusters that can be created.
|
|
966
|
+
*/
|
|
967
|
+
enterprise_clusters_max: number;
|
|
968
|
+
/**
|
|
969
|
+
* Available number of Enterprise clusters that can be created.
|
|
970
|
+
*/
|
|
971
|
+
enterprise_clusters_available: number;
|
|
694
972
|
/**
|
|
695
973
|
* Maximum number of fleets that can be created per cluster.
|
|
696
974
|
*/
|
|
@@ -789,6 +1067,14 @@ export type PlatformQuota = {
|
|
|
789
1067
|
* Available number of Pro clusters that can be created.
|
|
790
1068
|
*/
|
|
791
1069
|
pro_clusters_available: number;
|
|
1070
|
+
/**
|
|
1071
|
+
* Maximum number of Enterprise clusters that can be created.
|
|
1072
|
+
*/
|
|
1073
|
+
enterprise_clusters_max: number;
|
|
1074
|
+
/**
|
|
1075
|
+
* Available number of Enterprise clusters that can be created.
|
|
1076
|
+
*/
|
|
1077
|
+
enterprise_clusters_available: number;
|
|
792
1078
|
/**
|
|
793
1079
|
* Maximum number of fleets that can be created per cluster.
|
|
794
1080
|
*/
|
|
@@ -1001,91 +1287,6 @@ export type TicketCreateInput = {
|
|
|
1001
1287
|
[key: string]: unknown;
|
|
1002
1288
|
};
|
|
1003
1289
|
};
|
|
1004
|
-
export type TicketListResponse = {
|
|
1005
|
-
/**
|
|
1006
|
-
* Tickets for the organization, ordered newest first. Messages are omitted from list responses.
|
|
1007
|
-
*/
|
|
1008
|
-
items: Array<{
|
|
1009
|
-
/**
|
|
1010
|
-
* Unique identifier of the ticket (Mongo ObjectId).
|
|
1011
|
-
*/
|
|
1012
|
-
id: string;
|
|
1013
|
-
/**
|
|
1014
|
-
* Current state of the ticket.
|
|
1015
|
-
*/
|
|
1016
|
-
status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
|
|
1017
|
-
/**
|
|
1018
|
-
* Ticket category.
|
|
1019
|
-
*/
|
|
1020
|
-
category: 'billing' | 'technical' | 'general';
|
|
1021
|
-
/**
|
|
1022
|
-
* First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
|
|
1023
|
-
*/
|
|
1024
|
-
summary: string;
|
|
1025
|
-
/**
|
|
1026
|
-
* Closure timestamp. Null while the ticket is open.
|
|
1027
|
-
*/
|
|
1028
|
-
closed_at?: string;
|
|
1029
|
-
/**
|
|
1030
|
-
* Creation date of the ticket. ISO 8601 UTC.
|
|
1031
|
-
*/
|
|
1032
|
-
date_created: string;
|
|
1033
|
-
/**
|
|
1034
|
-
* Last update date of the ticket. ISO 8601 UTC.
|
|
1035
|
-
*/
|
|
1036
|
-
date_updated: string;
|
|
1037
|
-
/**
|
|
1038
|
-
* Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
|
|
1039
|
-
*/
|
|
1040
|
-
messages?: Array<{
|
|
1041
|
-
/**
|
|
1042
|
-
* Unique identifier of the message (Mongo ObjectId).
|
|
1043
|
-
*/
|
|
1044
|
-
id: string;
|
|
1045
|
-
/**
|
|
1046
|
-
* Message type. Internal notes are filtered out of customer-facing responses.
|
|
1047
|
-
*/
|
|
1048
|
-
type: 'customer_reply' | 'agent_reply';
|
|
1049
|
-
/**
|
|
1050
|
-
* Message body in markdown.
|
|
1051
|
-
*/
|
|
1052
|
-
body: string;
|
|
1053
|
-
/**
|
|
1054
|
-
* First name of the author. Null when not provided.
|
|
1055
|
-
*/
|
|
1056
|
-
author_first_name?: string;
|
|
1057
|
-
/**
|
|
1058
|
-
* Last name of the author. Null when not provided.
|
|
1059
|
-
*/
|
|
1060
|
-
author_last_name?: string;
|
|
1061
|
-
/**
|
|
1062
|
-
* Attachments associated with this message.
|
|
1063
|
-
*/
|
|
1064
|
-
attachments?: Array<{
|
|
1065
|
-
/**
|
|
1066
|
-
* Unique identifier of the attachment (Mongo ObjectId).
|
|
1067
|
-
*/
|
|
1068
|
-
id: string;
|
|
1069
|
-
/**
|
|
1070
|
-
* Original filename as uploaded.
|
|
1071
|
-
*/
|
|
1072
|
-
filename: string;
|
|
1073
|
-
/**
|
|
1074
|
-
* MIME content type of the attachment.
|
|
1075
|
-
*/
|
|
1076
|
-
content_type: string;
|
|
1077
|
-
/**
|
|
1078
|
-
* Size of the attachment in bytes.
|
|
1079
|
-
*/
|
|
1080
|
-
size: number;
|
|
1081
|
-
}>;
|
|
1082
|
-
/**
|
|
1083
|
-
* Creation date of the message. ISO 8601 UTC.
|
|
1084
|
-
*/
|
|
1085
|
-
date_created: string;
|
|
1086
|
-
}>;
|
|
1087
|
-
}>;
|
|
1088
|
-
};
|
|
1089
1290
|
export type TicketMessageInput = {
|
|
1090
1291
|
/**
|
|
1091
1292
|
* Reply body in markdown.
|
|
@@ -1269,7 +1470,7 @@ export type UsageFacets = {
|
|
|
1269
1470
|
/**
|
|
1270
1471
|
* List of unique products
|
|
1271
1472
|
*/
|
|
1272
|
-
product?: Array<
|
|
1473
|
+
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'>;
|
|
1273
1474
|
};
|
|
1274
1475
|
export type UsageResponse = {
|
|
1275
1476
|
/**
|
|
@@ -1287,7 +1488,7 @@ export type UsageResponse = {
|
|
|
1287
1488
|
/**
|
|
1288
1489
|
* The product the usage is associated with
|
|
1289
1490
|
*/
|
|
1290
|
-
product:
|
|
1491
|
+
product: 'cfke_controlplane_basic' | 'cfke_controlplane_pro' | 'cfke_controlplane_enterprise' | 'cfke_connected_nodes_basic' | 'cfke_connected_nodes_pro' | 'cfke_connected_nodes_enterprise' | 'cfcr_storage';
|
|
1291
1492
|
/**
|
|
1292
1493
|
* Consumption
|
|
1293
1494
|
*/
|
|
@@ -1312,7 +1513,7 @@ export type UsageResponse = {
|
|
|
1312
1513
|
/**
|
|
1313
1514
|
* List of unique products
|
|
1314
1515
|
*/
|
|
1315
|
-
product?: Array<
|
|
1516
|
+
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'>;
|
|
1316
1517
|
};
|
|
1317
1518
|
};
|
|
1318
1519
|
export type Usage = {
|
|
@@ -1327,7 +1528,7 @@ export type Usage = {
|
|
|
1327
1528
|
/**
|
|
1328
1529
|
* The product the usage is associated with
|
|
1329
1530
|
*/
|
|
1330
|
-
product:
|
|
1531
|
+
product: 'cfke_controlplane_basic' | 'cfke_controlplane_pro' | 'cfke_controlplane_enterprise' | 'cfke_connected_nodes_basic' | 'cfke_connected_nodes_pro' | 'cfke_connected_nodes_enterprise' | 'cfcr_storage';
|
|
1331
1532
|
/**
|
|
1332
1533
|
* Consumption
|
|
1333
1534
|
*/
|
|
@@ -1362,14 +1563,6 @@ export type UserCreateInput = {
|
|
|
1362
1563
|
* User password. Must be at least 8 characters long.
|
|
1363
1564
|
*/
|
|
1364
1565
|
password: string;
|
|
1365
|
-
/**
|
|
1366
|
-
* Status of the user. Can be `active` or `inactive`. Inactive users cannot log in or manage organization resources.
|
|
1367
|
-
*/
|
|
1368
|
-
status?: 'active' | 'inactive';
|
|
1369
|
-
/**
|
|
1370
|
-
* User role. Can be 'Administrator', 'User'.
|
|
1371
|
-
*/
|
|
1372
|
-
role?: 'Administrator' | 'User';
|
|
1373
1566
|
};
|
|
1374
1567
|
export type User = {
|
|
1375
1568
|
/**
|
|
@@ -1423,593 +1616,658 @@ export type UserUpdateInput = {
|
|
|
1423
1616
|
*/
|
|
1424
1617
|
status?: 'active' | 'inactive';
|
|
1425
1618
|
};
|
|
1426
|
-
export type
|
|
1619
|
+
export type ListUserOrganizationsData = {
|
|
1427
1620
|
body?: never;
|
|
1428
|
-
path
|
|
1429
|
-
query?: {
|
|
1621
|
+
path: {
|
|
1430
1622
|
/**
|
|
1431
|
-
*
|
|
1623
|
+
* User email address.
|
|
1432
1624
|
*/
|
|
1433
|
-
|
|
1625
|
+
email: string;
|
|
1434
1626
|
};
|
|
1435
|
-
|
|
1436
|
-
};
|
|
1437
|
-
export type GetUsageErrors = {
|
|
1438
|
-
/**
|
|
1439
|
-
* Not authenticated
|
|
1440
|
-
*/
|
|
1441
|
-
401: unknown;
|
|
1627
|
+
query?: never;
|
|
1628
|
+
url: '/users/organizations/{email}';
|
|
1442
1629
|
};
|
|
1443
|
-
export type
|
|
1630
|
+
export type ListUserOrganizationsResponses = {
|
|
1444
1631
|
/**
|
|
1445
|
-
*
|
|
1632
|
+
* An array of organizations the user belongs to.
|
|
1446
1633
|
*/
|
|
1447
|
-
200:
|
|
1634
|
+
200: Array<{
|
|
1635
|
+
/**
|
|
1636
|
+
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
1637
|
+
*/
|
|
1638
|
+
realm?: string;
|
|
1639
|
+
/**
|
|
1640
|
+
* Human-readable name of the organization
|
|
1641
|
+
*/
|
|
1642
|
+
displayName?: string;
|
|
1643
|
+
}>;
|
|
1448
1644
|
};
|
|
1449
|
-
export type
|
|
1450
|
-
export type
|
|
1645
|
+
export type ListUserOrganizationsResponse = ListUserOrganizationsResponses[keyof ListUserOrganizationsResponses];
|
|
1646
|
+
export type ListUsersData = {
|
|
1451
1647
|
body?: never;
|
|
1452
1648
|
path?: never;
|
|
1453
1649
|
query?: never;
|
|
1454
|
-
url: '/
|
|
1650
|
+
url: '/users';
|
|
1455
1651
|
};
|
|
1456
|
-
export type
|
|
1652
|
+
export type ListUsersErrors = {
|
|
1457
1653
|
/**
|
|
1458
|
-
*
|
|
1459
|
-
*
|
|
1654
|
+
* Not authenticated
|
|
1460
1655
|
*/
|
|
1461
|
-
|
|
1462
|
-
/**
|
|
1463
|
-
* The client secret.
|
|
1464
|
-
*/
|
|
1465
|
-
id?: string;
|
|
1466
|
-
};
|
|
1467
|
-
};
|
|
1468
|
-
export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
|
|
1469
|
-
export type ListPaymentMethodsData = {
|
|
1470
|
-
body?: never;
|
|
1471
|
-
path?: never;
|
|
1472
|
-
query?: never;
|
|
1473
|
-
url: '/billing/payment-methods';
|
|
1656
|
+
401: unknown;
|
|
1474
1657
|
};
|
|
1475
|
-
export type
|
|
1658
|
+
export type ListUsersResponses = {
|
|
1476
1659
|
/**
|
|
1477
|
-
*
|
|
1660
|
+
* An array of users
|
|
1478
1661
|
*/
|
|
1479
|
-
|
|
1662
|
+
200: Array<User>;
|
|
1480
1663
|
};
|
|
1481
|
-
export type
|
|
1664
|
+
export type ListUsersResponse = ListUsersResponses[keyof ListUsersResponses];
|
|
1665
|
+
export type CreateUserData = {
|
|
1666
|
+
body: UserCreateInput;
|
|
1667
|
+
path?: never;
|
|
1668
|
+
query?: never;
|
|
1669
|
+
url: '/users';
|
|
1670
|
+
};
|
|
1671
|
+
export type CreateUserResponses = {
|
|
1482
1672
|
/**
|
|
1483
|
-
*
|
|
1673
|
+
* Successfully created. Returns created user details.
|
|
1484
1674
|
*/
|
|
1485
|
-
200:
|
|
1675
|
+
200: User;
|
|
1486
1676
|
};
|
|
1487
|
-
export type
|
|
1488
|
-
export type
|
|
1677
|
+
export type CreateUserResponse = CreateUserResponses[keyof CreateUserResponses];
|
|
1678
|
+
export type DeleteUserData = {
|
|
1489
1679
|
body?: never;
|
|
1490
1680
|
path: {
|
|
1491
1681
|
/**
|
|
1492
|
-
*
|
|
1682
|
+
* Unique user identifier. UUID v4 string in canonical form
|
|
1493
1683
|
*/
|
|
1494
|
-
|
|
1684
|
+
user_id: string;
|
|
1495
1685
|
};
|
|
1496
1686
|
query?: never;
|
|
1497
|
-
url: '/
|
|
1687
|
+
url: '/users/{user_id}';
|
|
1498
1688
|
};
|
|
1499
|
-
export type
|
|
1689
|
+
export type DeleteUserErrors = {
|
|
1500
1690
|
/**
|
|
1501
|
-
*
|
|
1691
|
+
* Deleting own user is not allowed. Delete your organization instead.
|
|
1502
1692
|
*/
|
|
1503
1693
|
400: unknown;
|
|
1504
1694
|
/**
|
|
1505
1695
|
* Not authenticated
|
|
1506
1696
|
*/
|
|
1507
1697
|
401: unknown;
|
|
1508
|
-
/**
|
|
1509
|
-
* Payment method not found.
|
|
1510
|
-
*/
|
|
1511
|
-
404: unknown;
|
|
1512
1698
|
};
|
|
1513
|
-
export type
|
|
1699
|
+
export type DeleteUserResponses = {
|
|
1514
1700
|
/**
|
|
1515
|
-
*
|
|
1701
|
+
* User profile information
|
|
1516
1702
|
*/
|
|
1517
|
-
|
|
1703
|
+
200: User;
|
|
1518
1704
|
};
|
|
1519
|
-
export type
|
|
1520
|
-
export type
|
|
1705
|
+
export type DeleteUserResponse = DeleteUserResponses[keyof DeleteUserResponses];
|
|
1706
|
+
export type GetUserData = {
|
|
1521
1707
|
body?: never;
|
|
1522
1708
|
path: {
|
|
1523
1709
|
/**
|
|
1524
|
-
*
|
|
1710
|
+
* Unique user identifier. UUID v4 string in canonical form
|
|
1525
1711
|
*/
|
|
1526
|
-
|
|
1712
|
+
user_id: string;
|
|
1527
1713
|
};
|
|
1528
1714
|
query?: never;
|
|
1529
|
-
url: '/
|
|
1715
|
+
url: '/users/{user_id}';
|
|
1530
1716
|
};
|
|
1531
|
-
export type
|
|
1532
|
-
/**
|
|
1533
|
-
* The bank transfer payment method cannot be removed.
|
|
1534
|
-
*/
|
|
1535
|
-
400: unknown;
|
|
1717
|
+
export type GetUserErrors = {
|
|
1536
1718
|
/**
|
|
1537
1719
|
* Not authenticated
|
|
1538
1720
|
*/
|
|
1539
1721
|
401: unknown;
|
|
1722
|
+
};
|
|
1723
|
+
export type GetUserResponses = {
|
|
1540
1724
|
/**
|
|
1541
|
-
*
|
|
1542
|
-
*/
|
|
1543
|
-
404: unknown;
|
|
1544
|
-
/**
|
|
1545
|
-
* Cannot delete the only remaining payment method.
|
|
1725
|
+
* User profile information
|
|
1546
1726
|
*/
|
|
1547
|
-
|
|
1727
|
+
200: User;
|
|
1548
1728
|
};
|
|
1549
|
-
export type
|
|
1729
|
+
export type GetUserResponse = GetUserResponses[keyof GetUserResponses];
|
|
1730
|
+
export type UpdateUserData = {
|
|
1731
|
+
body: UserUpdateInput;
|
|
1732
|
+
path: {
|
|
1733
|
+
/**
|
|
1734
|
+
* Unique user identifier. UUID v4 string in canonical form
|
|
1735
|
+
*/
|
|
1736
|
+
user_id: string;
|
|
1737
|
+
};
|
|
1738
|
+
query?: never;
|
|
1739
|
+
url: '/users/{user_id}';
|
|
1740
|
+
};
|
|
1741
|
+
export type UpdateUserResponses = {
|
|
1550
1742
|
/**
|
|
1551
|
-
*
|
|
1743
|
+
* Successfully created. Returns created user details.
|
|
1552
1744
|
*/
|
|
1553
|
-
|
|
1745
|
+
200: User;
|
|
1554
1746
|
};
|
|
1555
|
-
export type
|
|
1556
|
-
export type
|
|
1747
|
+
export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
|
|
1748
|
+
export type ListTokensData = {
|
|
1557
1749
|
body?: never;
|
|
1558
1750
|
path?: never;
|
|
1559
1751
|
query?: never;
|
|
1560
|
-
url: '/
|
|
1752
|
+
url: '/tokens';
|
|
1561
1753
|
};
|
|
1562
|
-
export type
|
|
1754
|
+
export type ListTokensErrors = {
|
|
1563
1755
|
/**
|
|
1564
1756
|
* Not authenticated
|
|
1565
1757
|
*/
|
|
1566
1758
|
401: unknown;
|
|
1567
1759
|
};
|
|
1568
|
-
export type
|
|
1760
|
+
export type ListTokensResponses = {
|
|
1569
1761
|
/**
|
|
1570
|
-
*
|
|
1762
|
+
* Returns a list of access token details with masked secrets.
|
|
1571
1763
|
*/
|
|
1572
|
-
200: Array<
|
|
1764
|
+
200: Array<Token>;
|
|
1573
1765
|
};
|
|
1574
|
-
export type
|
|
1575
|
-
export type
|
|
1576
|
-
body
|
|
1766
|
+
export type ListTokensResponse = ListTokensResponses[keyof ListTokensResponses];
|
|
1767
|
+
export type CreateTokenData = {
|
|
1768
|
+
body: TokenCreateInput;
|
|
1577
1769
|
path?: never;
|
|
1578
1770
|
query?: never;
|
|
1579
|
-
url: '/
|
|
1771
|
+
url: '/tokens';
|
|
1580
1772
|
};
|
|
1581
|
-
export type
|
|
1773
|
+
export type CreateTokenErrors = {
|
|
1582
1774
|
/**
|
|
1583
|
-
*
|
|
1775
|
+
* Not authenticated
|
|
1584
1776
|
*/
|
|
1585
|
-
|
|
1777
|
+
401: unknown;
|
|
1586
1778
|
};
|
|
1587
|
-
export type
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1779
|
+
export type CreateTokenResponses = {
|
|
1780
|
+
/**
|
|
1781
|
+
* Successfully created. Returns created token details with unmasked/raw secret.
|
|
1782
|
+
*/
|
|
1783
|
+
200: Token;
|
|
1784
|
+
};
|
|
1785
|
+
export type CreateTokenResponse = CreateTokenResponses[keyof CreateTokenResponses];
|
|
1786
|
+
export type DeleteTokenData = {
|
|
1787
|
+
body?: never;
|
|
1788
|
+
path: {
|
|
1789
|
+
/**
|
|
1790
|
+
* Generated unique identifier of the access token.
|
|
1791
|
+
*/
|
|
1792
|
+
token_id: string;
|
|
1793
|
+
};
|
|
1591
1794
|
query?: never;
|
|
1592
|
-
url: '/
|
|
1795
|
+
url: '/tokens/{token_id}';
|
|
1593
1796
|
};
|
|
1594
|
-
export type
|
|
1797
|
+
export type DeleteTokenResponses = {
|
|
1595
1798
|
/**
|
|
1596
|
-
* Successfully
|
|
1799
|
+
* Successfully deleted.
|
|
1597
1800
|
*/
|
|
1598
|
-
200:
|
|
1801
|
+
200: unknown;
|
|
1599
1802
|
};
|
|
1600
|
-
export type
|
|
1601
|
-
export type GetCreditsData = {
|
|
1803
|
+
export type GetTokenData = {
|
|
1602
1804
|
body?: never;
|
|
1603
|
-
path
|
|
1805
|
+
path: {
|
|
1806
|
+
/**
|
|
1807
|
+
* Generated unique identifier of the access token.
|
|
1808
|
+
*/
|
|
1809
|
+
token_id: string;
|
|
1810
|
+
};
|
|
1604
1811
|
query?: never;
|
|
1605
|
-
url: '/
|
|
1812
|
+
url: '/tokens/{token_id}';
|
|
1606
1813
|
};
|
|
1607
|
-
export type
|
|
1814
|
+
export type GetTokenErrors = {
|
|
1608
1815
|
/**
|
|
1609
1816
|
* Not authenticated
|
|
1610
1817
|
*/
|
|
1611
1818
|
401: unknown;
|
|
1612
1819
|
};
|
|
1613
|
-
export type
|
|
1820
|
+
export type GetTokenResponses = {
|
|
1614
1821
|
/**
|
|
1615
|
-
*
|
|
1822
|
+
* Returns access token details with masked secret.
|
|
1616
1823
|
*/
|
|
1617
|
-
200:
|
|
1824
|
+
200: Token;
|
|
1618
1825
|
};
|
|
1619
|
-
export type
|
|
1620
|
-
export type
|
|
1621
|
-
body:
|
|
1826
|
+
export type GetTokenResponse = GetTokenResponses[keyof GetTokenResponses];
|
|
1827
|
+
export type UpdateTokenData = {
|
|
1828
|
+
body: TokenUpdateInput;
|
|
1829
|
+
path: {
|
|
1622
1830
|
/**
|
|
1623
|
-
*
|
|
1831
|
+
* Generated unique identifier of the access token.
|
|
1624
1832
|
*/
|
|
1625
|
-
|
|
1833
|
+
token_id: string;
|
|
1626
1834
|
};
|
|
1627
|
-
path?: never;
|
|
1628
1835
|
query?: never;
|
|
1629
|
-
url: '/
|
|
1836
|
+
url: '/tokens/{token_id}';
|
|
1630
1837
|
};
|
|
1631
|
-
export type
|
|
1838
|
+
export type UpdateTokenErrors = {
|
|
1632
1839
|
/**
|
|
1633
1840
|
* Not authenticated
|
|
1634
1841
|
*/
|
|
1635
1842
|
401: unknown;
|
|
1636
1843
|
};
|
|
1637
|
-
export type
|
|
1844
|
+
export type UpdateTokenResponses = {
|
|
1638
1845
|
/**
|
|
1639
|
-
* Successfully
|
|
1846
|
+
* Successfully updated. Returns updated token details with masked secret.
|
|
1640
1847
|
*/
|
|
1641
|
-
200:
|
|
1848
|
+
200: Token;
|
|
1642
1849
|
};
|
|
1643
|
-
export type
|
|
1850
|
+
export type UpdateTokenResponse = UpdateTokenResponses[keyof UpdateTokenResponses];
|
|
1851
|
+
export type RegenerateTokenData = {
|
|
1644
1852
|
body?: never;
|
|
1645
1853
|
path: {
|
|
1646
1854
|
/**
|
|
1647
|
-
*
|
|
1855
|
+
* Generated unique identifier of the access token.
|
|
1648
1856
|
*/
|
|
1649
|
-
|
|
1857
|
+
token_id: string;
|
|
1650
1858
|
};
|
|
1651
1859
|
query?: never;
|
|
1652
|
-
url: '/
|
|
1860
|
+
url: '/tokens/{token_id}/secret';
|
|
1653
1861
|
};
|
|
1654
|
-
export type
|
|
1862
|
+
export type RegenerateTokenErrors = {
|
|
1655
1863
|
/**
|
|
1656
1864
|
* Not authenticated
|
|
1657
1865
|
*/
|
|
1658
1866
|
401: unknown;
|
|
1659
1867
|
};
|
|
1660
|
-
export type
|
|
1868
|
+
export type RegenerateTokenResponses = {
|
|
1661
1869
|
/**
|
|
1662
|
-
*
|
|
1870
|
+
* Successfully updated. Returns updated token details with unmasked / raw secret.
|
|
1663
1871
|
*/
|
|
1664
|
-
200:
|
|
1872
|
+
200: Token;
|
|
1665
1873
|
};
|
|
1666
|
-
export type
|
|
1667
|
-
export type
|
|
1668
|
-
body
|
|
1669
|
-
path
|
|
1670
|
-
/**
|
|
1671
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1672
|
-
*/
|
|
1673
|
-
cluster_id: string;
|
|
1674
|
-
};
|
|
1874
|
+
export type RegenerateTokenResponse = RegenerateTokenResponses[keyof RegenerateTokenResponses];
|
|
1875
|
+
export type ListTicketsData = {
|
|
1876
|
+
body?: never;
|
|
1877
|
+
path?: never;
|
|
1675
1878
|
query?: never;
|
|
1676
|
-
url: '/
|
|
1879
|
+
url: '/tickets';
|
|
1677
1880
|
};
|
|
1678
|
-
export type
|
|
1881
|
+
export type ListTicketsResponses = {
|
|
1679
1882
|
/**
|
|
1680
|
-
*
|
|
1883
|
+
* An array of tickets for the organization, newest first.
|
|
1681
1884
|
*/
|
|
1682
|
-
200:
|
|
1885
|
+
200: Array<Ticket>;
|
|
1683
1886
|
};
|
|
1684
|
-
export type
|
|
1685
|
-
export type
|
|
1686
|
-
body
|
|
1687
|
-
path: {
|
|
1688
|
-
/**
|
|
1689
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1690
|
-
*/
|
|
1691
|
-
cluster_id: string;
|
|
1887
|
+
export type ListTicketsResponse = ListTicketsResponses[keyof ListTicketsResponses];
|
|
1888
|
+
export type CreateTicketData = {
|
|
1889
|
+
body: {
|
|
1692
1890
|
/**
|
|
1693
|
-
*
|
|
1891
|
+
* JSON-encoded TicketCreateInput.
|
|
1694
1892
|
*/
|
|
1695
|
-
|
|
1893
|
+
payload?: string;
|
|
1894
|
+
attachments?: Array<Blob | File>;
|
|
1696
1895
|
};
|
|
1896
|
+
path?: never;
|
|
1697
1897
|
query?: never;
|
|
1698
|
-
url: '/
|
|
1898
|
+
url: '/tickets';
|
|
1699
1899
|
};
|
|
1700
|
-
export type
|
|
1900
|
+
export type CreateTicketResponses = {
|
|
1701
1901
|
/**
|
|
1702
|
-
*
|
|
1902
|
+
* Ticket created.
|
|
1703
1903
|
*/
|
|
1704
|
-
200:
|
|
1904
|
+
200: Ticket;
|
|
1705
1905
|
};
|
|
1706
|
-
export type
|
|
1707
|
-
export type
|
|
1906
|
+
export type CreateTicketResponse = CreateTicketResponses[keyof CreateTicketResponses];
|
|
1907
|
+
export type CloseTicketData = {
|
|
1708
1908
|
body?: never;
|
|
1709
1909
|
path: {
|
|
1710
|
-
|
|
1711
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1712
|
-
*/
|
|
1713
|
-
cluster_id: string;
|
|
1714
|
-
/**
|
|
1715
|
-
* Chart deployment name as the unique identifier of the chart.
|
|
1716
|
-
*/
|
|
1717
|
-
chart_name: string;
|
|
1910
|
+
ticket_id: string;
|
|
1718
1911
|
};
|
|
1719
1912
|
query?: never;
|
|
1720
|
-
url: '/
|
|
1913
|
+
url: '/tickets/{ticket_id}';
|
|
1721
1914
|
};
|
|
1722
|
-
export type
|
|
1915
|
+
export type CloseTicketResponses = {
|
|
1723
1916
|
/**
|
|
1724
|
-
*
|
|
1917
|
+
* Ticket closed.
|
|
1725
1918
|
*/
|
|
1726
|
-
200:
|
|
1919
|
+
200: Ticket;
|
|
1727
1920
|
};
|
|
1728
|
-
export type
|
|
1729
|
-
export type
|
|
1730
|
-
body
|
|
1921
|
+
export type CloseTicketResponse = CloseTicketResponses[keyof CloseTicketResponses];
|
|
1922
|
+
export type GetTicketData = {
|
|
1923
|
+
body?: never;
|
|
1731
1924
|
path: {
|
|
1732
|
-
|
|
1733
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1734
|
-
*/
|
|
1735
|
-
cluster_id: string;
|
|
1736
|
-
/**
|
|
1737
|
-
* Chart deployment name as the unique identifier of the chart.
|
|
1738
|
-
*/
|
|
1739
|
-
chart_name: string;
|
|
1925
|
+
ticket_id: string;
|
|
1740
1926
|
};
|
|
1741
1927
|
query?: never;
|
|
1742
|
-
url: '/
|
|
1928
|
+
url: '/tickets/{ticket_id}';
|
|
1743
1929
|
};
|
|
1744
|
-
export type
|
|
1930
|
+
export type GetTicketResponses = {
|
|
1745
1931
|
/**
|
|
1746
|
-
*
|
|
1932
|
+
* Ticket with messages (internal notes excluded).
|
|
1747
1933
|
*/
|
|
1748
|
-
200:
|
|
1934
|
+
200: Ticket;
|
|
1749
1935
|
};
|
|
1750
|
-
export type
|
|
1751
|
-
export type
|
|
1752
|
-
body
|
|
1753
|
-
path: {
|
|
1936
|
+
export type GetTicketResponse = GetTicketResponses[keyof GetTicketResponses];
|
|
1937
|
+
export type ReplyTicketData = {
|
|
1938
|
+
body: {
|
|
1754
1939
|
/**
|
|
1755
|
-
*
|
|
1940
|
+
* JSON-encoded TicketMessageInput.
|
|
1756
1941
|
*/
|
|
1757
|
-
|
|
1942
|
+
payload?: string;
|
|
1943
|
+
attachments?: Array<Blob | File>;
|
|
1944
|
+
};
|
|
1945
|
+
path: {
|
|
1946
|
+
ticket_id: string;
|
|
1758
1947
|
};
|
|
1759
1948
|
query?: never;
|
|
1760
|
-
url: '/
|
|
1949
|
+
url: '/tickets/{ticket_id}/messages';
|
|
1761
1950
|
};
|
|
1762
|
-
export type
|
|
1951
|
+
export type ReplyTicketErrors = {
|
|
1763
1952
|
/**
|
|
1764
|
-
*
|
|
1953
|
+
* Ticket is closed. Open a new ticket instead.
|
|
1765
1954
|
*/
|
|
1766
|
-
|
|
1955
|
+
409: unknown;
|
|
1767
1956
|
};
|
|
1768
|
-
export type
|
|
1957
|
+
export type ReplyTicketResponses = {
|
|
1769
1958
|
/**
|
|
1770
|
-
*
|
|
1959
|
+
* Reply appended.
|
|
1771
1960
|
*/
|
|
1772
|
-
200:
|
|
1961
|
+
200: TicketMessage;
|
|
1773
1962
|
};
|
|
1774
|
-
export type
|
|
1775
|
-
export type
|
|
1776
|
-
body
|
|
1963
|
+
export type ReplyTicketResponse = ReplyTicketResponses[keyof ReplyTicketResponses];
|
|
1964
|
+
export type GetTicketAttachmentData = {
|
|
1965
|
+
body?: never;
|
|
1777
1966
|
path: {
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
*/
|
|
1781
|
-
cluster_id: string;
|
|
1967
|
+
ticket_id: string;
|
|
1968
|
+
attachment_id: string;
|
|
1782
1969
|
};
|
|
1783
1970
|
query?: never;
|
|
1784
|
-
url: '/
|
|
1785
|
-
};
|
|
1786
|
-
export type CreateFleetErrors = {
|
|
1787
|
-
/**
|
|
1788
|
-
* Cluster quota exceeded. Maximum number of fleets per cluster allowed in this organization is reached.
|
|
1789
|
-
*/
|
|
1790
|
-
402: string;
|
|
1971
|
+
url: '/tickets/{ticket_id}/attachments/{attachment_id}';
|
|
1791
1972
|
};
|
|
1792
|
-
export type
|
|
1793
|
-
export type CreateFleetResponses = {
|
|
1973
|
+
export type GetTicketAttachmentResponses = {
|
|
1794
1974
|
/**
|
|
1795
|
-
*
|
|
1975
|
+
* Attachment binary stream.
|
|
1796
1976
|
*/
|
|
1797
|
-
200:
|
|
1977
|
+
200: Blob | File;
|
|
1798
1978
|
};
|
|
1799
|
-
export type
|
|
1800
|
-
export type
|
|
1979
|
+
export type GetTicketAttachmentResponse = GetTicketAttachmentResponses[keyof GetTicketAttachmentResponses];
|
|
1980
|
+
export type ListRepositoriesData = {
|
|
1801
1981
|
body?: never;
|
|
1802
|
-
path
|
|
1803
|
-
/**
|
|
1804
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1805
|
-
*/
|
|
1806
|
-
cluster_id: string;
|
|
1807
|
-
/**
|
|
1808
|
-
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
1809
|
-
*/
|
|
1810
|
-
fleet_name: string;
|
|
1811
|
-
};
|
|
1982
|
+
path?: never;
|
|
1812
1983
|
query?: never;
|
|
1813
|
-
url: '/
|
|
1984
|
+
url: '/registry';
|
|
1814
1985
|
};
|
|
1815
|
-
export type
|
|
1986
|
+
export type ListRepositoriesErrors = {
|
|
1816
1987
|
/**
|
|
1817
|
-
*
|
|
1988
|
+
* Not authenticated
|
|
1818
1989
|
*/
|
|
1819
|
-
|
|
1990
|
+
401: unknown;
|
|
1991
|
+
/**
|
|
1992
|
+
* Internal server error
|
|
1993
|
+
*/
|
|
1994
|
+
500: unknown;
|
|
1820
1995
|
};
|
|
1821
|
-
export type
|
|
1822
|
-
|
|
1996
|
+
export type ListRepositoriesResponses = {
|
|
1997
|
+
/**
|
|
1998
|
+
* List of repositories
|
|
1999
|
+
*/
|
|
2000
|
+
200: Array<RegistryRepository>;
|
|
2001
|
+
};
|
|
2002
|
+
export type ListRepositoriesResponse = ListRepositoriesResponses[keyof ListRepositoriesResponses];
|
|
2003
|
+
export type ListTagsData = {
|
|
1823
2004
|
body?: never;
|
|
1824
2005
|
path: {
|
|
1825
2006
|
/**
|
|
1826
|
-
*
|
|
2007
|
+
* Region where the repository is located
|
|
1827
2008
|
*/
|
|
1828
|
-
|
|
2009
|
+
region: string;
|
|
1829
2010
|
/**
|
|
1830
|
-
*
|
|
2011
|
+
* Name of the repository
|
|
1831
2012
|
*/
|
|
1832
|
-
|
|
2013
|
+
repository: string;
|
|
1833
2014
|
};
|
|
1834
2015
|
query?: never;
|
|
1835
|
-
url: '/
|
|
2016
|
+
url: '/registry/{region}/{repository}';
|
|
1836
2017
|
};
|
|
1837
|
-
export type
|
|
2018
|
+
export type ListTagsErrors = {
|
|
1838
2019
|
/**
|
|
1839
|
-
*
|
|
2020
|
+
* Not authenticated
|
|
1840
2021
|
*/
|
|
1841
|
-
|
|
2022
|
+
401: unknown;
|
|
2023
|
+
/**
|
|
2024
|
+
* Repository not found
|
|
2025
|
+
*/
|
|
2026
|
+
404: unknown;
|
|
2027
|
+
/**
|
|
2028
|
+
* Internal server error
|
|
2029
|
+
*/
|
|
2030
|
+
500: unknown;
|
|
1842
2031
|
};
|
|
1843
|
-
export type
|
|
1844
|
-
|
|
1845
|
-
|
|
2032
|
+
export type ListTagsResponses = {
|
|
2033
|
+
/**
|
|
2034
|
+
* Repository with tags
|
|
2035
|
+
*/
|
|
2036
|
+
200: RegistryRepositoryWithTags;
|
|
2037
|
+
};
|
|
2038
|
+
export type ListTagsResponse = ListTagsResponses[keyof ListTagsResponses];
|
|
2039
|
+
export type DeleteTagData = {
|
|
2040
|
+
body?: never;
|
|
1846
2041
|
path: {
|
|
1847
2042
|
/**
|
|
1848
|
-
*
|
|
2043
|
+
* Region where the repository is located
|
|
1849
2044
|
*/
|
|
1850
|
-
|
|
2045
|
+
region: string;
|
|
1851
2046
|
/**
|
|
1852
|
-
*
|
|
2047
|
+
* Name of the repository
|
|
1853
2048
|
*/
|
|
1854
|
-
|
|
2049
|
+
repository: string;
|
|
2050
|
+
/**
|
|
2051
|
+
* Name of the tag
|
|
2052
|
+
*/
|
|
2053
|
+
tag: string;
|
|
1855
2054
|
};
|
|
1856
2055
|
query?: never;
|
|
1857
|
-
url: '/
|
|
2056
|
+
url: '/registry/{region}/{repository}/{tag}';
|
|
1858
2057
|
};
|
|
1859
|
-
export type
|
|
2058
|
+
export type DeleteTagErrors = {
|
|
1860
2059
|
/**
|
|
1861
|
-
*
|
|
2060
|
+
* Not authenticated
|
|
1862
2061
|
*/
|
|
1863
|
-
|
|
2062
|
+
401: unknown;
|
|
2063
|
+
/**
|
|
2064
|
+
* Tag not found
|
|
2065
|
+
*/
|
|
2066
|
+
404: unknown;
|
|
2067
|
+
/**
|
|
2068
|
+
* Internal server error
|
|
2069
|
+
*/
|
|
2070
|
+
500: unknown;
|
|
1864
2071
|
};
|
|
1865
|
-
export type
|
|
1866
|
-
export type UpdateFleetResponses = {
|
|
2072
|
+
export type DeleteTagResponses = {
|
|
1867
2073
|
/**
|
|
1868
|
-
*
|
|
2074
|
+
* Tag successfully deleted
|
|
1869
2075
|
*/
|
|
1870
|
-
200:
|
|
2076
|
+
200: unknown;
|
|
1871
2077
|
};
|
|
1872
|
-
export type
|
|
1873
|
-
export type QueryClusterData = {
|
|
2078
|
+
export type GetTagData = {
|
|
1874
2079
|
body?: never;
|
|
1875
2080
|
path: {
|
|
1876
2081
|
/**
|
|
1877
|
-
*
|
|
2082
|
+
* Region where the repository is located
|
|
1878
2083
|
*/
|
|
1879
|
-
|
|
2084
|
+
region: string;
|
|
2085
|
+
/**
|
|
2086
|
+
* Name of the repository
|
|
2087
|
+
*/
|
|
2088
|
+
repository: string;
|
|
2089
|
+
/**
|
|
2090
|
+
* Name of the tag
|
|
2091
|
+
*/
|
|
2092
|
+
tag: string;
|
|
1880
2093
|
};
|
|
1881
2094
|
query?: never;
|
|
1882
|
-
url: '/
|
|
2095
|
+
url: '/registry/{region}/{repository}/{tag}';
|
|
1883
2096
|
};
|
|
1884
|
-
export type
|
|
2097
|
+
export type GetTagErrors = {
|
|
1885
2098
|
/**
|
|
1886
2099
|
* Not authenticated
|
|
1887
2100
|
*/
|
|
1888
2101
|
401: unknown;
|
|
2102
|
+
/**
|
|
2103
|
+
* Tag not found
|
|
2104
|
+
*/
|
|
2105
|
+
404: unknown;
|
|
2106
|
+
/**
|
|
2107
|
+
* Internal server error
|
|
2108
|
+
*/
|
|
2109
|
+
500: unknown;
|
|
1889
2110
|
};
|
|
1890
|
-
export type
|
|
2111
|
+
export type GetTagResponses = {
|
|
1891
2112
|
/**
|
|
1892
|
-
*
|
|
2113
|
+
* Tag details
|
|
1893
2114
|
*/
|
|
1894
|
-
200:
|
|
2115
|
+
200: RegistryTag;
|
|
1895
2116
|
};
|
|
1896
|
-
export type
|
|
2117
|
+
export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
|
|
2118
|
+
export type GetOrganizationData = {
|
|
1897
2119
|
body?: never;
|
|
1898
2120
|
path?: never;
|
|
1899
2121
|
query?: never;
|
|
1900
|
-
url: '/
|
|
2122
|
+
url: '/organization';
|
|
1901
2123
|
};
|
|
1902
|
-
export type
|
|
2124
|
+
export type GetOrganizationResponses = {
|
|
1903
2125
|
/**
|
|
1904
|
-
*
|
|
2126
|
+
* Returns a single object containing organization details.
|
|
1905
2127
|
*/
|
|
1906
|
-
|
|
2128
|
+
200: Organization;
|
|
1907
2129
|
};
|
|
1908
|
-
export type
|
|
2130
|
+
export type GetOrganizationResponse = GetOrganizationResponses[keyof GetOrganizationResponses];
|
|
2131
|
+
export type CreateOrganizationData = {
|
|
2132
|
+
body: OrganizationCreateInput;
|
|
2133
|
+
path?: never;
|
|
2134
|
+
query?: never;
|
|
2135
|
+
url: '/organization';
|
|
2136
|
+
};
|
|
2137
|
+
export type CreateOrganizationResponses = {
|
|
1909
2138
|
/**
|
|
1910
|
-
*
|
|
2139
|
+
* Organization signup accepted. Returns the generated organization id immediately; provisioning (billing, Keycloak realm, user) continues asynchronously in the background.
|
|
2140
|
+
*
|
|
1911
2141
|
*/
|
|
1912
|
-
200:
|
|
2142
|
+
200: OrganizationCreateOutput;
|
|
1913
2143
|
};
|
|
1914
|
-
export type
|
|
1915
|
-
export type
|
|
1916
|
-
body
|
|
2144
|
+
export type CreateOrganizationResponse = CreateOrganizationResponses[keyof CreateOrganizationResponses];
|
|
2145
|
+
export type GetBasicPriceConsentData = {
|
|
2146
|
+
body?: never;
|
|
1917
2147
|
path?: never;
|
|
1918
2148
|
query?: never;
|
|
1919
|
-
url: '/
|
|
2149
|
+
url: '/organization/basic-price-consent';
|
|
1920
2150
|
};
|
|
1921
|
-
export type
|
|
2151
|
+
export type GetBasicPriceConsentResponses = {
|
|
1922
2152
|
/**
|
|
1923
|
-
*
|
|
2153
|
+
* Returns the current consent status.
|
|
1924
2154
|
*/
|
|
1925
|
-
|
|
2155
|
+
200: BasicPriceConsent;
|
|
1926
2156
|
};
|
|
1927
|
-
export type
|
|
1928
|
-
export type
|
|
2157
|
+
export type GetBasicPriceConsentResponse = GetBasicPriceConsentResponses[keyof GetBasicPriceConsentResponses];
|
|
2158
|
+
export type SetBasicPriceConsentData = {
|
|
2159
|
+
body: BasicPriceConsentInput;
|
|
2160
|
+
path?: never;
|
|
2161
|
+
query?: never;
|
|
2162
|
+
url: '/organization/basic-price-consent';
|
|
2163
|
+
};
|
|
2164
|
+
export type SetBasicPriceConsentErrors = {
|
|
1929
2165
|
/**
|
|
1930
|
-
*
|
|
2166
|
+
* The authenticated principal has no email address (e.g. a service account) and cannot record this decision.
|
|
2167
|
+
*
|
|
1931
2168
|
*/
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
path: {
|
|
1938
|
-
/**
|
|
1939
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1940
|
-
*/
|
|
1941
|
-
cluster_id: string;
|
|
1942
|
-
};
|
|
1943
|
-
query?: never;
|
|
1944
|
-
url: '/clusters/{cluster_id}';
|
|
2169
|
+
401: unknown;
|
|
2170
|
+
/**
|
|
2171
|
+
* The consent flow does not apply to this organization.
|
|
2172
|
+
*/
|
|
2173
|
+
409: unknown;
|
|
1945
2174
|
};
|
|
1946
|
-
export type
|
|
2175
|
+
export type SetBasicPriceConsentResponses = {
|
|
1947
2176
|
/**
|
|
1948
|
-
*
|
|
2177
|
+
* Decision recorded. Returns the updated consent status.
|
|
1949
2178
|
*/
|
|
1950
|
-
200:
|
|
2179
|
+
200: BasicPriceConsent;
|
|
1951
2180
|
};
|
|
1952
|
-
export type
|
|
1953
|
-
export type
|
|
1954
|
-
|
|
1955
|
-
|
|
2181
|
+
export type SetBasicPriceConsentResponse = SetBasicPriceConsentResponses[keyof SetBasicPriceConsentResponses];
|
|
2182
|
+
export type PostMcpData = {
|
|
2183
|
+
/**
|
|
2184
|
+
* JSON-RPC 2.0 request payload
|
|
2185
|
+
*/
|
|
2186
|
+
body: {
|
|
2187
|
+
jsonrpc?: string;
|
|
2188
|
+
method?: string;
|
|
2189
|
+
id?: string | number;
|
|
1956
2190
|
/**
|
|
1957
|
-
*
|
|
2191
|
+
* Method-specific parameters
|
|
1958
2192
|
*/
|
|
1959
|
-
|
|
2193
|
+
params?: {
|
|
2194
|
+
[key: string]: unknown;
|
|
2195
|
+
};
|
|
1960
2196
|
};
|
|
2197
|
+
path?: never;
|
|
1961
2198
|
query?: never;
|
|
1962
|
-
url: '/
|
|
2199
|
+
url: '/mcp';
|
|
1963
2200
|
};
|
|
1964
|
-
export type
|
|
2201
|
+
export type PostMcpErrors = {
|
|
1965
2202
|
/**
|
|
1966
|
-
*
|
|
2203
|
+
* Not authenticated
|
|
1967
2204
|
*/
|
|
1968
|
-
|
|
2205
|
+
401: unknown;
|
|
1969
2206
|
};
|
|
1970
|
-
export type
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
2207
|
+
export type PostMcpResponses = {
|
|
2208
|
+
/**
|
|
2209
|
+
* JSON-RPC 2.0 success or error response
|
|
2210
|
+
*/
|
|
2211
|
+
200: {
|
|
2212
|
+
jsonrpc?: string;
|
|
2213
|
+
id?: string | number;
|
|
2214
|
+
result?: {
|
|
2215
|
+
[key: string]: unknown;
|
|
2216
|
+
};
|
|
2217
|
+
error?: {
|
|
2218
|
+
code?: number;
|
|
2219
|
+
message?: string;
|
|
2220
|
+
};
|
|
1978
2221
|
};
|
|
2222
|
+
};
|
|
2223
|
+
export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
|
|
2224
|
+
export type ListMarketplaceChartsData = {
|
|
2225
|
+
body?: never;
|
|
2226
|
+
path?: never;
|
|
1979
2227
|
query?: never;
|
|
1980
|
-
url: '/
|
|
2228
|
+
url: '/marketplace';
|
|
1981
2229
|
};
|
|
1982
|
-
export type
|
|
2230
|
+
export type ListMarketplaceChartsErrors = {
|
|
1983
2231
|
/**
|
|
1984
|
-
*
|
|
2232
|
+
* Not authenticated
|
|
2233
|
+
*/
|
|
2234
|
+
401: unknown;
|
|
2235
|
+
};
|
|
2236
|
+
export type ListMarketplaceChartsResponses = {
|
|
2237
|
+
/**
|
|
2238
|
+
* An array of chart listings in the marketplace.
|
|
1985
2239
|
*/
|
|
1986
|
-
200:
|
|
2240
|
+
200: Array<MarketplaceListing>;
|
|
1987
2241
|
};
|
|
1988
|
-
export type
|
|
1989
|
-
export type
|
|
2242
|
+
export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
|
|
2243
|
+
export type GetMarketplaceChartFilesData = {
|
|
1990
2244
|
body?: never;
|
|
1991
2245
|
path: {
|
|
1992
2246
|
/**
|
|
1993
|
-
*
|
|
2247
|
+
* Name of the chart in the marketplace.
|
|
1994
2248
|
*/
|
|
1995
|
-
|
|
2249
|
+
chart_name: string;
|
|
2250
|
+
/**
|
|
2251
|
+
* 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).
|
|
2252
|
+
*/
|
|
2253
|
+
version_channel: string;
|
|
1996
2254
|
};
|
|
1997
2255
|
query?: never;
|
|
1998
|
-
url: '/
|
|
2256
|
+
url: '/marketplace/{chart_name}/files/{version_channel}';
|
|
1999
2257
|
};
|
|
2000
|
-
export type
|
|
2258
|
+
export type GetMarketplaceChartFilesErrors = {
|
|
2001
2259
|
/**
|
|
2002
|
-
*
|
|
2260
|
+
* Chart not found or no version matches the channel
|
|
2003
2261
|
*/
|
|
2004
|
-
|
|
2262
|
+
404: unknown;
|
|
2005
2263
|
};
|
|
2006
|
-
export type
|
|
2264
|
+
export type GetMarketplaceChartFilesResponses = {
|
|
2007
2265
|
/**
|
|
2008
|
-
*
|
|
2266
|
+
* Returns an object containing the chart files for the latest matching version.
|
|
2009
2267
|
*/
|
|
2010
|
-
200:
|
|
2268
|
+
200: MarketplaceListingFiles;
|
|
2011
2269
|
};
|
|
2012
|
-
export type
|
|
2270
|
+
export type GetMarketplaceChartFilesResponse = GetMarketplaceChartFilesResponses[keyof GetMarketplaceChartFilesResponses];
|
|
2013
2271
|
export type ListInvitesData = {
|
|
2014
2272
|
body?: never;
|
|
2015
2273
|
path?: never;
|
|
@@ -2030,12 +2288,7 @@ export type ListInvitesResponses = {
|
|
|
2030
2288
|
};
|
|
2031
2289
|
export type ListInvitesResponse = ListInvitesResponses[keyof ListInvitesResponses];
|
|
2032
2290
|
export type CreateInviteData = {
|
|
2033
|
-
body:
|
|
2034
|
-
/**
|
|
2035
|
-
* User email address
|
|
2036
|
-
*/
|
|
2037
|
-
email?: string;
|
|
2038
|
-
};
|
|
2291
|
+
body: InviteCreateInput;
|
|
2039
2292
|
path?: never;
|
|
2040
2293
|
query?: never;
|
|
2041
2294
|
url: '/invites';
|
|
@@ -2060,9 +2313,18 @@ export type GetInviteData = {
|
|
|
2060
2313
|
};
|
|
2061
2314
|
export type GetInviteResponses = {
|
|
2062
2315
|
/**
|
|
2063
|
-
* Returns
|
|
2316
|
+
* The invitation code is valid. Returns the invited email and organization.
|
|
2064
2317
|
*/
|
|
2065
|
-
200:
|
|
2318
|
+
200: {
|
|
2319
|
+
/**
|
|
2320
|
+
* Email address the invite was issued to.
|
|
2321
|
+
*/
|
|
2322
|
+
email?: string;
|
|
2323
|
+
/**
|
|
2324
|
+
* Identifier of the organization the invite grants access to.
|
|
2325
|
+
*/
|
|
2326
|
+
organization_id?: string;
|
|
2327
|
+
};
|
|
2066
2328
|
};
|
|
2067
2329
|
export type GetInviteResponse = GetInviteResponses[keyof GetInviteResponses];
|
|
2068
2330
|
export type DeleteInviteData = {
|
|
@@ -2082,619 +2344,685 @@ export type DeleteInviteResponses = {
|
|
|
2082
2344
|
*/
|
|
2083
2345
|
200: unknown;
|
|
2084
2346
|
};
|
|
2085
|
-
export type
|
|
2347
|
+
export type QueryClusterData = {
|
|
2086
2348
|
body?: never;
|
|
2087
|
-
path
|
|
2349
|
+
path: {
|
|
2350
|
+
/**
|
|
2351
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2352
|
+
*/
|
|
2353
|
+
cluster_id: string;
|
|
2354
|
+
};
|
|
2088
2355
|
query?: never;
|
|
2089
|
-
url: '/
|
|
2356
|
+
url: '/clusters/{cluster_id}/query';
|
|
2090
2357
|
};
|
|
2091
|
-
export type
|
|
2358
|
+
export type QueryClusterErrors = {
|
|
2092
2359
|
/**
|
|
2093
2360
|
* Not authenticated
|
|
2094
2361
|
*/
|
|
2095
2362
|
401: unknown;
|
|
2096
2363
|
};
|
|
2097
|
-
export type
|
|
2364
|
+
export type QueryClusterResponses = {
|
|
2098
2365
|
/**
|
|
2099
|
-
*
|
|
2366
|
+
* Kubernetes API response
|
|
2100
2367
|
*/
|
|
2101
|
-
200:
|
|
2368
|
+
200: unknown;
|
|
2102
2369
|
};
|
|
2103
|
-
export type
|
|
2104
|
-
export type GetMarketplaceChartFilesData = {
|
|
2370
|
+
export type ListFleetsData = {
|
|
2105
2371
|
body?: never;
|
|
2106
2372
|
path: {
|
|
2107
2373
|
/**
|
|
2108
|
-
*
|
|
2374
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2109
2375
|
*/
|
|
2110
|
-
|
|
2376
|
+
cluster_id: string;
|
|
2377
|
+
};
|
|
2378
|
+
query?: never;
|
|
2379
|
+
url: '/clusters/{cluster_id}/fleets';
|
|
2380
|
+
};
|
|
2381
|
+
export type ListFleetsErrors = {
|
|
2382
|
+
/**
|
|
2383
|
+
* Not authenticated
|
|
2384
|
+
*/
|
|
2385
|
+
401: unknown;
|
|
2386
|
+
};
|
|
2387
|
+
export type ListFleetsResponses = {
|
|
2388
|
+
/**
|
|
2389
|
+
* An array of fleets
|
|
2390
|
+
*/
|
|
2391
|
+
200: Array<Fleet>;
|
|
2392
|
+
};
|
|
2393
|
+
export type ListFleetsResponse = ListFleetsResponses[keyof ListFleetsResponses];
|
|
2394
|
+
export type CreateFleetData = {
|
|
2395
|
+
body: FleetCreateInput;
|
|
2396
|
+
path: {
|
|
2111
2397
|
/**
|
|
2112
|
-
*
|
|
2398
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2113
2399
|
*/
|
|
2114
|
-
|
|
2400
|
+
cluster_id: string;
|
|
2115
2401
|
};
|
|
2116
2402
|
query?: never;
|
|
2117
|
-
url: '/
|
|
2403
|
+
url: '/clusters/{cluster_id}/fleets';
|
|
2118
2404
|
};
|
|
2119
|
-
export type
|
|
2405
|
+
export type CreateFleetErrors = {
|
|
2120
2406
|
/**
|
|
2121
|
-
*
|
|
2407
|
+
* Cluster quota exceeded. Maximum number of fleets per cluster allowed in this organization is reached.
|
|
2122
2408
|
*/
|
|
2123
|
-
|
|
2124
|
-
};
|
|
2125
|
-
export type GetMarketplaceChartFilesResponses = {
|
|
2409
|
+
402: string;
|
|
2126
2410
|
/**
|
|
2127
|
-
*
|
|
2411
|
+
* 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.
|
|
2128
2412
|
*/
|
|
2129
|
-
|
|
2413
|
+
409: string;
|
|
2130
2414
|
};
|
|
2131
|
-
export type
|
|
2132
|
-
export type
|
|
2415
|
+
export type CreateFleetError = CreateFleetErrors[keyof CreateFleetErrors];
|
|
2416
|
+
export type CreateFleetResponses = {
|
|
2133
2417
|
/**
|
|
2134
|
-
*
|
|
2418
|
+
* Successfully created. Returns created Fleet ID.
|
|
2135
2419
|
*/
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2420
|
+
200: string;
|
|
2421
|
+
};
|
|
2422
|
+
export type CreateFleetResponse = CreateFleetResponses[keyof CreateFleetResponses];
|
|
2423
|
+
export type DeleteFleetData = {
|
|
2424
|
+
body?: never;
|
|
2425
|
+
path: {
|
|
2140
2426
|
/**
|
|
2141
|
-
*
|
|
2427
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2142
2428
|
*/
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2429
|
+
cluster_id: string;
|
|
2430
|
+
/**
|
|
2431
|
+
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
2432
|
+
*/
|
|
2433
|
+
fleet_name: string;
|
|
2146
2434
|
};
|
|
2147
|
-
path?: never;
|
|
2148
2435
|
query?: never;
|
|
2149
|
-
url: '/
|
|
2436
|
+
url: '/clusters/{cluster_id}/fleets/{fleet_name}';
|
|
2150
2437
|
};
|
|
2151
|
-
export type
|
|
2438
|
+
export type DeleteFleetErrors = {
|
|
2152
2439
|
/**
|
|
2153
|
-
*
|
|
2440
|
+
* 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.
|
|
2154
2441
|
*/
|
|
2155
|
-
|
|
2442
|
+
409: string;
|
|
2156
2443
|
};
|
|
2157
|
-
export type
|
|
2444
|
+
export type DeleteFleetError = DeleteFleetErrors[keyof DeleteFleetErrors];
|
|
2445
|
+
export type DeleteFleetResponses = {
|
|
2158
2446
|
/**
|
|
2159
|
-
*
|
|
2447
|
+
* Successfully deleted.
|
|
2160
2448
|
*/
|
|
2161
|
-
200:
|
|
2162
|
-
jsonrpc?: string;
|
|
2163
|
-
id?: string | number;
|
|
2164
|
-
result?: {
|
|
2165
|
-
[key: string]: unknown;
|
|
2166
|
-
};
|
|
2167
|
-
error?: {
|
|
2168
|
-
code?: number;
|
|
2169
|
-
message?: string;
|
|
2170
|
-
};
|
|
2171
|
-
};
|
|
2449
|
+
200: string;
|
|
2172
2450
|
};
|
|
2173
|
-
export type
|
|
2174
|
-
export type
|
|
2451
|
+
export type DeleteFleetResponse = DeleteFleetResponses[keyof DeleteFleetResponses];
|
|
2452
|
+
export type GetFleetData = {
|
|
2175
2453
|
body?: never;
|
|
2176
|
-
path
|
|
2454
|
+
path: {
|
|
2455
|
+
/**
|
|
2456
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2457
|
+
*/
|
|
2458
|
+
cluster_id: string;
|
|
2459
|
+
/**
|
|
2460
|
+
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
2461
|
+
*/
|
|
2462
|
+
fleet_name: string;
|
|
2463
|
+
};
|
|
2177
2464
|
query?: never;
|
|
2178
|
-
url: '/
|
|
2465
|
+
url: '/clusters/{cluster_id}/fleets/{fleet_name}';
|
|
2179
2466
|
};
|
|
2180
|
-
export type
|
|
2467
|
+
export type GetFleetResponses = {
|
|
2181
2468
|
/**
|
|
2182
|
-
* Returns a single object containing
|
|
2469
|
+
* Returns a single object containing fleet details.
|
|
2183
2470
|
*/
|
|
2184
|
-
200:
|
|
2471
|
+
200: Fleet;
|
|
2185
2472
|
};
|
|
2186
|
-
export type
|
|
2187
|
-
export type
|
|
2188
|
-
body:
|
|
2189
|
-
path
|
|
2473
|
+
export type GetFleetResponse = GetFleetResponses[keyof GetFleetResponses];
|
|
2474
|
+
export type UpdateFleetData = {
|
|
2475
|
+
body: FleetUpdateInput;
|
|
2476
|
+
path: {
|
|
2477
|
+
/**
|
|
2478
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2479
|
+
*/
|
|
2480
|
+
cluster_id: string;
|
|
2481
|
+
/**
|
|
2482
|
+
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
2483
|
+
*/
|
|
2484
|
+
fleet_name: string;
|
|
2485
|
+
};
|
|
2190
2486
|
query?: never;
|
|
2191
|
-
url: '/
|
|
2487
|
+
url: '/clusters/{cluster_id}/fleets/{fleet_name}';
|
|
2192
2488
|
};
|
|
2193
|
-
export type
|
|
2489
|
+
export type UpdateFleetErrors = {
|
|
2194
2490
|
/**
|
|
2195
|
-
* Organization
|
|
2196
|
-
*
|
|
2491
|
+
* Organization must have a valid payment method configured to access this endpoint.
|
|
2197
2492
|
*/
|
|
2198
|
-
|
|
2493
|
+
402: string;
|
|
2494
|
+
/**
|
|
2495
|
+
* 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.
|
|
2496
|
+
*/
|
|
2497
|
+
409: string;
|
|
2199
2498
|
};
|
|
2200
|
-
export type
|
|
2201
|
-
export type
|
|
2499
|
+
export type UpdateFleetError = UpdateFleetErrors[keyof UpdateFleetErrors];
|
|
2500
|
+
export type UpdateFleetResponses = {
|
|
2501
|
+
/**
|
|
2502
|
+
* Successfully updated.
|
|
2503
|
+
*/
|
|
2504
|
+
200: string;
|
|
2505
|
+
};
|
|
2506
|
+
export type UpdateFleetResponse = UpdateFleetResponses[keyof UpdateFleetResponses];
|
|
2507
|
+
export type ListChartsData = {
|
|
2202
2508
|
body?: never;
|
|
2203
|
-
path
|
|
2509
|
+
path: {
|
|
2510
|
+
/**
|
|
2511
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2512
|
+
*/
|
|
2513
|
+
cluster_id: string;
|
|
2514
|
+
};
|
|
2204
2515
|
query?: never;
|
|
2205
|
-
url: '/
|
|
2516
|
+
url: '/clusters/{cluster_id}/charts';
|
|
2206
2517
|
};
|
|
2207
|
-
export type
|
|
2518
|
+
export type ListChartsErrors = {
|
|
2208
2519
|
/**
|
|
2209
2520
|
* Not authenticated
|
|
2210
2521
|
*/
|
|
2211
2522
|
401: unknown;
|
|
2523
|
+
};
|
|
2524
|
+
export type ListChartsResponses = {
|
|
2212
2525
|
/**
|
|
2213
|
-
*
|
|
2526
|
+
* An array of charts
|
|
2214
2527
|
*/
|
|
2215
|
-
|
|
2528
|
+
200: Array<Chart>;
|
|
2216
2529
|
};
|
|
2217
|
-
export type
|
|
2530
|
+
export type ListChartsResponse = ListChartsResponses[keyof ListChartsResponses];
|
|
2531
|
+
export type CreateChartData = {
|
|
2532
|
+
body: ChartCreateInput;
|
|
2533
|
+
path: {
|
|
2534
|
+
/**
|
|
2535
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2536
|
+
*/
|
|
2537
|
+
cluster_id: string;
|
|
2538
|
+
};
|
|
2539
|
+
query?: never;
|
|
2540
|
+
url: '/clusters/{cluster_id}/charts';
|
|
2541
|
+
};
|
|
2542
|
+
export type CreateChartErrors = {
|
|
2218
2543
|
/**
|
|
2219
|
-
*
|
|
2544
|
+
* 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.
|
|
2220
2545
|
*/
|
|
2221
|
-
|
|
2546
|
+
409: string;
|
|
2222
2547
|
};
|
|
2223
|
-
export type
|
|
2224
|
-
export type
|
|
2548
|
+
export type CreateChartError = CreateChartErrors[keyof CreateChartErrors];
|
|
2549
|
+
export type CreateChartResponses = {
|
|
2550
|
+
/**
|
|
2551
|
+
* Successfully created. Returns created Chart ID.
|
|
2552
|
+
*/
|
|
2553
|
+
200: string;
|
|
2554
|
+
};
|
|
2555
|
+
export type CreateChartResponse = CreateChartResponses[keyof CreateChartResponses];
|
|
2556
|
+
export type DeleteChartData = {
|
|
2225
2557
|
body?: never;
|
|
2226
2558
|
path: {
|
|
2227
2559
|
/**
|
|
2228
|
-
*
|
|
2560
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2229
2561
|
*/
|
|
2230
|
-
|
|
2562
|
+
cluster_id: string;
|
|
2231
2563
|
/**
|
|
2232
|
-
*
|
|
2564
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
2233
2565
|
*/
|
|
2234
|
-
|
|
2566
|
+
chart_name: string;
|
|
2235
2567
|
};
|
|
2236
2568
|
query?: never;
|
|
2237
|
-
url: '/
|
|
2569
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
2238
2570
|
};
|
|
2239
|
-
export type
|
|
2240
|
-
/**
|
|
2241
|
-
* Not authenticated
|
|
2242
|
-
*/
|
|
2243
|
-
401: unknown;
|
|
2244
|
-
/**
|
|
2245
|
-
* Repository not found
|
|
2246
|
-
*/
|
|
2247
|
-
404: unknown;
|
|
2571
|
+
export type DeleteChartErrors = {
|
|
2248
2572
|
/**
|
|
2249
|
-
*
|
|
2573
|
+
* 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.
|
|
2250
2574
|
*/
|
|
2251
|
-
|
|
2575
|
+
409: string;
|
|
2252
2576
|
};
|
|
2253
|
-
export type
|
|
2577
|
+
export type DeleteChartError = DeleteChartErrors[keyof DeleteChartErrors];
|
|
2578
|
+
export type DeleteChartResponses = {
|
|
2254
2579
|
/**
|
|
2255
|
-
*
|
|
2580
|
+
* Successfully deleted.
|
|
2256
2581
|
*/
|
|
2257
|
-
200:
|
|
2582
|
+
200: string;
|
|
2258
2583
|
};
|
|
2259
|
-
export type
|
|
2260
|
-
export type
|
|
2584
|
+
export type DeleteChartResponse = DeleteChartResponses[keyof DeleteChartResponses];
|
|
2585
|
+
export type GetChartData = {
|
|
2261
2586
|
body?: never;
|
|
2262
2587
|
path: {
|
|
2263
2588
|
/**
|
|
2264
|
-
*
|
|
2265
|
-
*/
|
|
2266
|
-
region: string;
|
|
2267
|
-
/**
|
|
2268
|
-
* Name of the repository
|
|
2589
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2269
2590
|
*/
|
|
2270
|
-
|
|
2591
|
+
cluster_id: string;
|
|
2271
2592
|
/**
|
|
2272
|
-
*
|
|
2593
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
2273
2594
|
*/
|
|
2274
|
-
|
|
2595
|
+
chart_name: string;
|
|
2275
2596
|
};
|
|
2276
2597
|
query?: never;
|
|
2277
|
-
url: '/
|
|
2278
|
-
};
|
|
2279
|
-
export type DeleteTagErrors = {
|
|
2280
|
-
/**
|
|
2281
|
-
* Not authenticated
|
|
2282
|
-
*/
|
|
2283
|
-
401: unknown;
|
|
2284
|
-
/**
|
|
2285
|
-
* Tag not found
|
|
2286
|
-
*/
|
|
2287
|
-
404: unknown;
|
|
2288
|
-
/**
|
|
2289
|
-
* Internal server error
|
|
2290
|
-
*/
|
|
2291
|
-
500: unknown;
|
|
2598
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
2292
2599
|
};
|
|
2293
|
-
export type
|
|
2600
|
+
export type GetChartResponses = {
|
|
2294
2601
|
/**
|
|
2295
|
-
*
|
|
2602
|
+
* Returns a single object containing chart details.
|
|
2296
2603
|
*/
|
|
2297
|
-
200:
|
|
2604
|
+
200: Chart;
|
|
2298
2605
|
};
|
|
2299
|
-
export type
|
|
2300
|
-
|
|
2606
|
+
export type GetChartResponse = GetChartResponses[keyof GetChartResponses];
|
|
2607
|
+
export type UpdateChartData = {
|
|
2608
|
+
body: ChartUpdateInput;
|
|
2301
2609
|
path: {
|
|
2302
2610
|
/**
|
|
2303
|
-
*
|
|
2304
|
-
*/
|
|
2305
|
-
region: string;
|
|
2306
|
-
/**
|
|
2307
|
-
* Name of the repository
|
|
2611
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2308
2612
|
*/
|
|
2309
|
-
|
|
2613
|
+
cluster_id: string;
|
|
2310
2614
|
/**
|
|
2311
|
-
*
|
|
2615
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
2312
2616
|
*/
|
|
2313
|
-
|
|
2617
|
+
chart_name: string;
|
|
2314
2618
|
};
|
|
2315
2619
|
query?: never;
|
|
2316
|
-
url: '/
|
|
2620
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
2317
2621
|
};
|
|
2318
|
-
export type
|
|
2319
|
-
/**
|
|
2320
|
-
* Not authenticated
|
|
2321
|
-
*/
|
|
2322
|
-
401: unknown;
|
|
2323
|
-
/**
|
|
2324
|
-
* Tag not found
|
|
2325
|
-
*/
|
|
2326
|
-
404: unknown;
|
|
2622
|
+
export type UpdateChartErrors = {
|
|
2327
2623
|
/**
|
|
2328
|
-
*
|
|
2624
|
+
* 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.
|
|
2329
2625
|
*/
|
|
2330
|
-
|
|
2626
|
+
409: string;
|
|
2331
2627
|
};
|
|
2332
|
-
export type
|
|
2628
|
+
export type UpdateChartError = UpdateChartErrors[keyof UpdateChartErrors];
|
|
2629
|
+
export type UpdateChartResponses = {
|
|
2333
2630
|
/**
|
|
2334
|
-
*
|
|
2631
|
+
* Successfully updated.
|
|
2335
2632
|
*/
|
|
2336
|
-
200:
|
|
2633
|
+
200: string;
|
|
2337
2634
|
};
|
|
2338
|
-
export type
|
|
2339
|
-
export type
|
|
2635
|
+
export type UpdateChartResponse = UpdateChartResponses[keyof UpdateChartResponses];
|
|
2636
|
+
export type ListClustersData = {
|
|
2340
2637
|
body?: never;
|
|
2341
2638
|
path?: never;
|
|
2342
2639
|
query?: never;
|
|
2343
|
-
url: '/
|
|
2640
|
+
url: '/clusters';
|
|
2344
2641
|
};
|
|
2345
|
-
export type
|
|
2642
|
+
export type ListClustersErrors = {
|
|
2346
2643
|
/**
|
|
2347
|
-
*
|
|
2644
|
+
* Not authenticated
|
|
2348
2645
|
*/
|
|
2349
|
-
|
|
2646
|
+
401: unknown;
|
|
2350
2647
|
};
|
|
2351
|
-
export type
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
|
|
2355
|
-
|
|
2356
|
-
|
|
2357
|
-
|
|
2358
|
-
|
|
2359
|
-
|
|
2648
|
+
export type ListClustersResponses = {
|
|
2649
|
+
/**
|
|
2650
|
+
* An array of clusters
|
|
2651
|
+
*/
|
|
2652
|
+
200: Array<Cluster>;
|
|
2653
|
+
};
|
|
2654
|
+
export type ListClustersResponse = ListClustersResponses[keyof ListClustersResponses];
|
|
2655
|
+
export type CreateClusterData = {
|
|
2656
|
+
body: ClusterCreateInput;
|
|
2360
2657
|
path?: never;
|
|
2361
2658
|
query?: never;
|
|
2362
|
-
url: '/
|
|
2659
|
+
url: '/clusters';
|
|
2363
2660
|
};
|
|
2364
|
-
export type
|
|
2661
|
+
export type CreateClusterErrors = {
|
|
2365
2662
|
/**
|
|
2366
|
-
*
|
|
2663
|
+
* Cluster quota exceeded. Maximum number of clusters allowed in this organization is reached.
|
|
2367
2664
|
*/
|
|
2368
|
-
|
|
2665
|
+
402: string;
|
|
2369
2666
|
};
|
|
2370
|
-
export type
|
|
2371
|
-
export type
|
|
2667
|
+
export type CreateClusterError = CreateClusterErrors[keyof CreateClusterErrors];
|
|
2668
|
+
export type CreateClusterResponses = {
|
|
2669
|
+
/**
|
|
2670
|
+
* Successfully created. Returns created Cluster ID.
|
|
2671
|
+
*/
|
|
2672
|
+
200: string;
|
|
2673
|
+
};
|
|
2674
|
+
export type CreateClusterResponse = CreateClusterResponses[keyof CreateClusterResponses];
|
|
2675
|
+
export type DeleteClusterData = {
|
|
2372
2676
|
body?: never;
|
|
2373
2677
|
path: {
|
|
2374
|
-
|
|
2678
|
+
/**
|
|
2679
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2680
|
+
*/
|
|
2681
|
+
cluster_id: string;
|
|
2375
2682
|
};
|
|
2376
2683
|
query?: never;
|
|
2377
|
-
url: '/
|
|
2684
|
+
url: '/clusters/{cluster_id}';
|
|
2378
2685
|
};
|
|
2379
|
-
export type
|
|
2686
|
+
export type DeleteClusterErrors = {
|
|
2380
2687
|
/**
|
|
2381
|
-
*
|
|
2688
|
+
* Cluster not found; it does not exist or has already been deleted.
|
|
2382
2689
|
*/
|
|
2383
|
-
|
|
2690
|
+
404: unknown;
|
|
2691
|
+
/**
|
|
2692
|
+
* 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.
|
|
2693
|
+
*/
|
|
2694
|
+
409: string;
|
|
2695
|
+
/**
|
|
2696
|
+
* Transient failure tearing down the cluster; retry the request.
|
|
2697
|
+
*/
|
|
2698
|
+
503: unknown;
|
|
2384
2699
|
};
|
|
2385
|
-
export type
|
|
2386
|
-
export type
|
|
2700
|
+
export type DeleteClusterError = DeleteClusterErrors[keyof DeleteClusterErrors];
|
|
2701
|
+
export type DeleteClusterResponses = {
|
|
2702
|
+
/**
|
|
2703
|
+
* Successfully deleted. The cluster has been torn down.
|
|
2704
|
+
*/
|
|
2705
|
+
200: string;
|
|
2706
|
+
};
|
|
2707
|
+
export type DeleteClusterResponse = DeleteClusterResponses[keyof DeleteClusterResponses];
|
|
2708
|
+
export type GetClusterData = {
|
|
2387
2709
|
body?: never;
|
|
2388
2710
|
path: {
|
|
2389
|
-
|
|
2711
|
+
/**
|
|
2712
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2713
|
+
*/
|
|
2714
|
+
cluster_id: string;
|
|
2390
2715
|
};
|
|
2391
2716
|
query?: never;
|
|
2392
|
-
url: '/
|
|
2717
|
+
url: '/clusters/{cluster_id}';
|
|
2393
2718
|
};
|
|
2394
|
-
export type
|
|
2719
|
+
export type GetClusterResponses = {
|
|
2395
2720
|
/**
|
|
2396
|
-
*
|
|
2721
|
+
* Returns a single object containing cluster details.
|
|
2397
2722
|
*/
|
|
2398
|
-
200:
|
|
2723
|
+
200: Cluster;
|
|
2399
2724
|
};
|
|
2400
|
-
export type
|
|
2401
|
-
export type
|
|
2402
|
-
body:
|
|
2725
|
+
export type GetClusterResponse = GetClusterResponses[keyof GetClusterResponses];
|
|
2726
|
+
export type UpdateClusterData = {
|
|
2727
|
+
body: ClusterUpdateInput;
|
|
2728
|
+
path: {
|
|
2403
2729
|
/**
|
|
2404
|
-
*
|
|
2730
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2405
2731
|
*/
|
|
2406
|
-
|
|
2407
|
-
attachments?: Array<Blob | File>;
|
|
2408
|
-
};
|
|
2409
|
-
path: {
|
|
2410
|
-
ticket_id: string;
|
|
2732
|
+
cluster_id: string;
|
|
2411
2733
|
};
|
|
2412
2734
|
query?: never;
|
|
2413
|
-
url: '/
|
|
2735
|
+
url: '/clusters/{cluster_id}';
|
|
2414
2736
|
};
|
|
2415
|
-
export type
|
|
2737
|
+
export type UpdateClusterErrors = {
|
|
2416
2738
|
/**
|
|
2417
|
-
*
|
|
2739
|
+
* 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.
|
|
2418
2740
|
*/
|
|
2419
|
-
409:
|
|
2741
|
+
409: string;
|
|
2420
2742
|
};
|
|
2421
|
-
export type
|
|
2743
|
+
export type UpdateClusterError = UpdateClusterErrors[keyof UpdateClusterErrors];
|
|
2744
|
+
export type UpdateClusterResponses = {
|
|
2422
2745
|
/**
|
|
2423
|
-
*
|
|
2746
|
+
* Successfully updated. Returns updated cluster details.
|
|
2424
2747
|
*/
|
|
2425
|
-
200:
|
|
2748
|
+
200: Cluster;
|
|
2426
2749
|
};
|
|
2427
|
-
export type
|
|
2428
|
-
export type
|
|
2750
|
+
export type UpdateClusterResponse = UpdateClusterResponses[keyof UpdateClusterResponses];
|
|
2751
|
+
export type GetJoinInformationData = {
|
|
2429
2752
|
body?: never;
|
|
2430
2753
|
path: {
|
|
2431
|
-
|
|
2432
|
-
|
|
2754
|
+
/**
|
|
2755
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2756
|
+
*/
|
|
2757
|
+
cluster_id: string;
|
|
2433
2758
|
};
|
|
2434
2759
|
query?: never;
|
|
2435
|
-
url: '/
|
|
2436
|
-
};
|
|
2437
|
-
export type GetTicketAttachmentResponses = {
|
|
2438
|
-
/**
|
|
2439
|
-
* Attachment binary stream.
|
|
2440
|
-
*/
|
|
2441
|
-
200: Blob | File;
|
|
2442
|
-
};
|
|
2443
|
-
export type GetTicketAttachmentResponse = GetTicketAttachmentResponses[keyof GetTicketAttachmentResponses];
|
|
2444
|
-
export type ListTokensData = {
|
|
2445
|
-
body?: never;
|
|
2446
|
-
path?: never;
|
|
2447
|
-
query?: never;
|
|
2448
|
-
url: '/tokens';
|
|
2760
|
+
url: '/clusters/{cluster_id}/join_information';
|
|
2449
2761
|
};
|
|
2450
|
-
export type
|
|
2762
|
+
export type GetJoinInformationErrors = {
|
|
2451
2763
|
/**
|
|
2452
2764
|
* Not authenticated
|
|
2453
2765
|
*/
|
|
2454
2766
|
401: unknown;
|
|
2767
|
+
/**
|
|
2768
|
+
* 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.
|
|
2769
|
+
*/
|
|
2770
|
+
409: string;
|
|
2771
|
+
/**
|
|
2772
|
+
* The cluster runs on Cloudfleet data plane v2 and the calling client did not declare the dataplane-v2 capability, so it cannot provision a node for it. Upgrade the Cloudfleet CLI or Terraform provider.
|
|
2773
|
+
*/
|
|
2774
|
+
426: string;
|
|
2455
2775
|
};
|
|
2456
|
-
export type
|
|
2776
|
+
export type GetJoinInformationError = GetJoinInformationErrors[keyof GetJoinInformationErrors];
|
|
2777
|
+
export type GetJoinInformationResponses = {
|
|
2457
2778
|
/**
|
|
2458
|
-
*
|
|
2779
|
+
* An object of cluster join information
|
|
2459
2780
|
*/
|
|
2460
|
-
200:
|
|
2781
|
+
200: ClusterJoinInformation;
|
|
2461
2782
|
};
|
|
2462
|
-
export type
|
|
2463
|
-
export type
|
|
2464
|
-
body
|
|
2783
|
+
export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
|
|
2784
|
+
export type GetUsageData = {
|
|
2785
|
+
body?: never;
|
|
2465
2786
|
path?: never;
|
|
2466
|
-
query?:
|
|
2467
|
-
|
|
2787
|
+
query?: {
|
|
2788
|
+
/**
|
|
2789
|
+
* 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)
|
|
2790
|
+
*/
|
|
2791
|
+
granularity?: 'hourly' | 'daily' | 'monthly';
|
|
2792
|
+
};
|
|
2793
|
+
url: '/billing/usage';
|
|
2468
2794
|
};
|
|
2469
|
-
export type
|
|
2795
|
+
export type GetUsageErrors = {
|
|
2470
2796
|
/**
|
|
2471
2797
|
* Not authenticated
|
|
2472
2798
|
*/
|
|
2473
2799
|
401: unknown;
|
|
2474
2800
|
};
|
|
2475
|
-
export type
|
|
2801
|
+
export type GetUsageResponses = {
|
|
2476
2802
|
/**
|
|
2477
|
-
*
|
|
2803
|
+
* Usage data with facets for filtering
|
|
2478
2804
|
*/
|
|
2479
|
-
200:
|
|
2805
|
+
200: UsageResponse;
|
|
2480
2806
|
};
|
|
2481
|
-
export type
|
|
2482
|
-
export type
|
|
2807
|
+
export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
|
|
2808
|
+
export type GetPaymentMethodSecretData = {
|
|
2483
2809
|
body?: never;
|
|
2484
|
-
path
|
|
2485
|
-
/**
|
|
2486
|
-
* Generated unique identifier of the access token.
|
|
2487
|
-
*/
|
|
2488
|
-
token_id: string;
|
|
2489
|
-
};
|
|
2810
|
+
path?: never;
|
|
2490
2811
|
query?: never;
|
|
2491
|
-
url: '/
|
|
2812
|
+
url: '/billing/payment-method';
|
|
2492
2813
|
};
|
|
2493
|
-
export type
|
|
2814
|
+
export type GetPaymentMethodSecretResponses = {
|
|
2494
2815
|
/**
|
|
2495
|
-
*
|
|
2816
|
+
* 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.
|
|
2817
|
+
*
|
|
2496
2818
|
*/
|
|
2497
|
-
200:
|
|
2498
|
-
};
|
|
2499
|
-
export type GetTokenData = {
|
|
2500
|
-
body?: never;
|
|
2501
|
-
path: {
|
|
2819
|
+
200: {
|
|
2502
2820
|
/**
|
|
2503
|
-
*
|
|
2821
|
+
* The client secret.
|
|
2504
2822
|
*/
|
|
2505
|
-
|
|
2823
|
+
id?: string;
|
|
2506
2824
|
};
|
|
2825
|
+
};
|
|
2826
|
+
export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
|
|
2827
|
+
export type ListPaymentMethodsData = {
|
|
2828
|
+
body?: never;
|
|
2829
|
+
path?: never;
|
|
2507
2830
|
query?: never;
|
|
2508
|
-
url: '/
|
|
2831
|
+
url: '/billing/payment-methods';
|
|
2509
2832
|
};
|
|
2510
|
-
export type
|
|
2833
|
+
export type ListPaymentMethodsErrors = {
|
|
2511
2834
|
/**
|
|
2512
2835
|
* Not authenticated
|
|
2513
2836
|
*/
|
|
2514
2837
|
401: unknown;
|
|
2515
2838
|
};
|
|
2516
|
-
export type
|
|
2839
|
+
export type ListPaymentMethodsResponses = {
|
|
2517
2840
|
/**
|
|
2518
|
-
*
|
|
2841
|
+
* An array of payment methods.
|
|
2519
2842
|
*/
|
|
2520
|
-
200:
|
|
2843
|
+
200: Array<PaymentMethod>;
|
|
2521
2844
|
};
|
|
2522
|
-
export type
|
|
2523
|
-
export type
|
|
2524
|
-
body
|
|
2845
|
+
export type ListPaymentMethodsResponse = ListPaymentMethodsResponses[keyof ListPaymentMethodsResponses];
|
|
2846
|
+
export type SetDefaultPaymentMethodData = {
|
|
2847
|
+
body?: never;
|
|
2525
2848
|
path: {
|
|
2526
2849
|
/**
|
|
2527
|
-
*
|
|
2850
|
+
* Stripe payment method identifier.
|
|
2528
2851
|
*/
|
|
2529
|
-
|
|
2852
|
+
paymentMethodId: string;
|
|
2530
2853
|
};
|
|
2531
2854
|
query?: never;
|
|
2532
|
-
url: '/
|
|
2855
|
+
url: '/billing/payment-methods/{paymentMethodId}/default';
|
|
2533
2856
|
};
|
|
2534
|
-
export type
|
|
2857
|
+
export type SetDefaultPaymentMethodErrors = {
|
|
2858
|
+
/**
|
|
2859
|
+
* The bank transfer payment method cannot be set as the default.
|
|
2860
|
+
*/
|
|
2861
|
+
400: unknown;
|
|
2535
2862
|
/**
|
|
2536
2863
|
* Not authenticated
|
|
2537
2864
|
*/
|
|
2538
2865
|
401: unknown;
|
|
2866
|
+
/**
|
|
2867
|
+
* Payment method not found.
|
|
2868
|
+
*/
|
|
2869
|
+
404: unknown;
|
|
2539
2870
|
};
|
|
2540
|
-
export type
|
|
2871
|
+
export type SetDefaultPaymentMethodResponses = {
|
|
2541
2872
|
/**
|
|
2542
|
-
*
|
|
2873
|
+
* Default payment method updated.
|
|
2543
2874
|
*/
|
|
2544
|
-
|
|
2875
|
+
204: void;
|
|
2545
2876
|
};
|
|
2546
|
-
export type
|
|
2547
|
-
export type
|
|
2877
|
+
export type SetDefaultPaymentMethodResponse = SetDefaultPaymentMethodResponses[keyof SetDefaultPaymentMethodResponses];
|
|
2878
|
+
export type DeletePaymentMethodData = {
|
|
2548
2879
|
body?: never;
|
|
2549
2880
|
path: {
|
|
2550
2881
|
/**
|
|
2551
|
-
*
|
|
2882
|
+
* Stripe payment method identifier.
|
|
2552
2883
|
*/
|
|
2553
|
-
|
|
2884
|
+
paymentMethodId: string;
|
|
2554
2885
|
};
|
|
2555
2886
|
query?: never;
|
|
2556
|
-
url: '/
|
|
2887
|
+
url: '/billing/payment-methods/{paymentMethodId}';
|
|
2557
2888
|
};
|
|
2558
|
-
export type
|
|
2889
|
+
export type DeletePaymentMethodErrors = {
|
|
2890
|
+
/**
|
|
2891
|
+
* The bank transfer payment method cannot be removed.
|
|
2892
|
+
*/
|
|
2893
|
+
400: unknown;
|
|
2559
2894
|
/**
|
|
2560
2895
|
* Not authenticated
|
|
2561
2896
|
*/
|
|
2562
2897
|
401: unknown;
|
|
2898
|
+
/**
|
|
2899
|
+
* Payment method not found.
|
|
2900
|
+
*/
|
|
2901
|
+
404: unknown;
|
|
2902
|
+
/**
|
|
2903
|
+
* Cannot delete the only remaining payment method.
|
|
2904
|
+
*/
|
|
2905
|
+
409: unknown;
|
|
2563
2906
|
};
|
|
2564
|
-
export type
|
|
2907
|
+
export type DeletePaymentMethodResponses = {
|
|
2565
2908
|
/**
|
|
2566
|
-
*
|
|
2909
|
+
* Payment method deleted.
|
|
2567
2910
|
*/
|
|
2568
|
-
|
|
2911
|
+
204: void;
|
|
2569
2912
|
};
|
|
2570
|
-
export type
|
|
2571
|
-
export type
|
|
2913
|
+
export type DeletePaymentMethodResponse = DeletePaymentMethodResponses[keyof DeletePaymentMethodResponses];
|
|
2914
|
+
export type ListInvoicesData = {
|
|
2572
2915
|
body?: never;
|
|
2573
|
-
path
|
|
2574
|
-
/**
|
|
2575
|
-
* User email address.
|
|
2576
|
-
*/
|
|
2577
|
-
email: string;
|
|
2578
|
-
};
|
|
2916
|
+
path?: never;
|
|
2579
2917
|
query?: never;
|
|
2580
|
-
url: '/
|
|
2918
|
+
url: '/billing/invoices';
|
|
2581
2919
|
};
|
|
2582
|
-
export type
|
|
2920
|
+
export type ListInvoicesErrors = {
|
|
2583
2921
|
/**
|
|
2584
|
-
*
|
|
2922
|
+
* Not authenticated
|
|
2585
2923
|
*/
|
|
2586
|
-
|
|
2587
|
-
/**
|
|
2588
|
-
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
2589
|
-
*/
|
|
2590
|
-
realm?: string;
|
|
2591
|
-
/**
|
|
2592
|
-
* Human-readable name of the organization
|
|
2593
|
-
*/
|
|
2594
|
-
displayName?: string;
|
|
2595
|
-
}>;
|
|
2924
|
+
401: unknown;
|
|
2596
2925
|
};
|
|
2597
|
-
export type
|
|
2598
|
-
|
|
2926
|
+
export type ListInvoicesResponses = {
|
|
2927
|
+
/**
|
|
2928
|
+
* An array of usage records.
|
|
2929
|
+
*/
|
|
2930
|
+
200: Array<Invoice>;
|
|
2931
|
+
};
|
|
2932
|
+
export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
|
|
2933
|
+
export type PayOpenInvoicesData = {
|
|
2599
2934
|
body?: never;
|
|
2600
2935
|
path?: never;
|
|
2601
2936
|
query?: never;
|
|
2602
|
-
url: '/
|
|
2937
|
+
url: '/billing/invoices/pay';
|
|
2603
2938
|
};
|
|
2604
|
-
export type
|
|
2939
|
+
export type PayOpenInvoicesErrors = {
|
|
2940
|
+
/**
|
|
2941
|
+
* The organization has no payment method that can be charged.
|
|
2942
|
+
*/
|
|
2943
|
+
400: unknown;
|
|
2605
2944
|
/**
|
|
2606
2945
|
* Not authenticated
|
|
2607
2946
|
*/
|
|
2608
2947
|
401: unknown;
|
|
2948
|
+
/**
|
|
2949
|
+
* Too many payment attempts for this organization.
|
|
2950
|
+
*/
|
|
2951
|
+
429: unknown;
|
|
2609
2952
|
};
|
|
2610
|
-
export type
|
|
2953
|
+
export type PayOpenInvoicesResponses = {
|
|
2611
2954
|
/**
|
|
2612
|
-
*
|
|
2955
|
+
* The outcome of the attempt.
|
|
2613
2956
|
*/
|
|
2614
|
-
200:
|
|
2957
|
+
200: InvoicePaymentResult;
|
|
2615
2958
|
};
|
|
2616
|
-
export type
|
|
2617
|
-
export type
|
|
2618
|
-
body
|
|
2959
|
+
export type PayOpenInvoicesResponse = PayOpenInvoicesResponses[keyof PayOpenInvoicesResponses];
|
|
2960
|
+
export type GetContactData = {
|
|
2961
|
+
body?: never;
|
|
2619
2962
|
path?: never;
|
|
2620
2963
|
query?: never;
|
|
2621
|
-
url: '/
|
|
2964
|
+
url: '/billing/contact';
|
|
2622
2965
|
};
|
|
2623
|
-
export type
|
|
2966
|
+
export type GetContactResponses = {
|
|
2624
2967
|
/**
|
|
2625
|
-
*
|
|
2968
|
+
* Returns a single object containing organization contact and billing address details.
|
|
2626
2969
|
*/
|
|
2627
|
-
200:
|
|
2970
|
+
200: BillingContact;
|
|
2628
2971
|
};
|
|
2629
|
-
export type
|
|
2630
|
-
export type
|
|
2631
|
-
body
|
|
2632
|
-
path
|
|
2633
|
-
/**
|
|
2634
|
-
* Unique user identifier. UUID v4 string in canonical form
|
|
2635
|
-
*/
|
|
2636
|
-
user_id: string;
|
|
2637
|
-
};
|
|
2972
|
+
export type GetContactResponse = GetContactResponses[keyof GetContactResponses];
|
|
2973
|
+
export type UpdateContactData = {
|
|
2974
|
+
body: BillingContact;
|
|
2975
|
+
path?: never;
|
|
2638
2976
|
query?: never;
|
|
2639
|
-
url: '/
|
|
2977
|
+
url: '/billing/contact';
|
|
2640
2978
|
};
|
|
2641
|
-
export type
|
|
2979
|
+
export type UpdateContactResponses = {
|
|
2642
2980
|
/**
|
|
2643
|
-
*
|
|
2981
|
+
* Successfully updated. Returns updated organization details.
|
|
2644
2982
|
*/
|
|
2645
|
-
|
|
2983
|
+
200: BillingContact;
|
|
2984
|
+
};
|
|
2985
|
+
export type UpdateContactResponse = UpdateContactResponses[keyof UpdateContactResponses];
|
|
2986
|
+
export type GetCreditsData = {
|
|
2987
|
+
body?: never;
|
|
2988
|
+
path?: never;
|
|
2989
|
+
query?: never;
|
|
2990
|
+
url: '/billing/credits';
|
|
2991
|
+
};
|
|
2992
|
+
export type GetCreditsErrors = {
|
|
2646
2993
|
/**
|
|
2647
2994
|
* Not authenticated
|
|
2648
2995
|
*/
|
|
2649
2996
|
401: unknown;
|
|
2650
2997
|
};
|
|
2651
|
-
export type
|
|
2998
|
+
export type GetCreditsResponses = {
|
|
2652
2999
|
/**
|
|
2653
|
-
*
|
|
3000
|
+
* An array of the applied promotional credits records.
|
|
2654
3001
|
*/
|
|
2655
|
-
200:
|
|
3002
|
+
200: Array<BillingCredits>;
|
|
2656
3003
|
};
|
|
2657
|
-
export type
|
|
2658
|
-
export type
|
|
2659
|
-
body
|
|
2660
|
-
path: {
|
|
3004
|
+
export type GetCreditsResponse = GetCreditsResponses[keyof GetCreditsResponses];
|
|
3005
|
+
export type RedeemCreditsData = {
|
|
3006
|
+
body: {
|
|
2661
3007
|
/**
|
|
2662
|
-
*
|
|
3008
|
+
* Promotional code to redeem
|
|
2663
3009
|
*/
|
|
2664
|
-
|
|
3010
|
+
code?: string;
|
|
2665
3011
|
};
|
|
3012
|
+
path?: never;
|
|
2666
3013
|
query?: never;
|
|
2667
|
-
url: '/
|
|
3014
|
+
url: '/billing/credits';
|
|
2668
3015
|
};
|
|
2669
|
-
export type
|
|
3016
|
+
export type RedeemCreditsErrors = {
|
|
2670
3017
|
/**
|
|
2671
3018
|
* Not authenticated
|
|
2672
3019
|
*/
|
|
2673
3020
|
401: unknown;
|
|
2674
3021
|
};
|
|
2675
|
-
export type
|
|
2676
|
-
/**
|
|
2677
|
-
* User profile information
|
|
2678
|
-
*/
|
|
2679
|
-
200: User;
|
|
2680
|
-
};
|
|
2681
|
-
export type GetUserResponse = GetUserResponses[keyof GetUserResponses];
|
|
2682
|
-
export type UpdateUserData = {
|
|
2683
|
-
body: UserUpdateInput;
|
|
2684
|
-
path: {
|
|
2685
|
-
/**
|
|
2686
|
-
* Unique user identifier. UUID v4 string in canonical form
|
|
2687
|
-
*/
|
|
2688
|
-
user_id: string;
|
|
2689
|
-
};
|
|
2690
|
-
query?: never;
|
|
2691
|
-
url: '/users/{user_id}';
|
|
2692
|
-
};
|
|
2693
|
-
export type UpdateUserResponses = {
|
|
3022
|
+
export type RedeemCreditsResponses = {
|
|
2694
3023
|
/**
|
|
2695
|
-
* Successfully created
|
|
3024
|
+
* Successfully created a new organization.
|
|
2696
3025
|
*/
|
|
2697
|
-
200:
|
|
3026
|
+
200: unknown;
|
|
2698
3027
|
};
|
|
2699
|
-
export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
|
|
2700
3028
|
//# sourceMappingURL=types.gen.d.ts.map
|