@cloudfleet/sdk 0.0.1-8e907c6 → 0.0.1-8fe30fc
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 +505 -595
- package/dist/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/@tanstack/react-query.gen.js +470 -403
- 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 +501 -190
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +675 -269
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +250 -219
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +364 -320
- package/dist/sdk.gen.js.map +1 -1
- package/dist/types.gen.d.ts +1118 -800
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +1742 -1507
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +513 -344
- 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,9 @@ 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';
|
|
484
659
|
};
|
|
485
660
|
export type InviteCreateInput = {
|
|
486
661
|
/**
|
|
@@ -518,6 +693,87 @@ export type Invite = {
|
|
|
518
693
|
*/
|
|
519
694
|
role?: 'Administrator' | 'User';
|
|
520
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
|
+
}>;
|
|
776
|
+
};
|
|
521
777
|
export type Invoice = {
|
|
522
778
|
/**
|
|
523
779
|
* Unique identifier of the invoice.
|
|
@@ -705,6 +961,14 @@ export type Organization = {
|
|
|
705
961
|
* Available number of Pro clusters that can be created.
|
|
706
962
|
*/
|
|
707
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;
|
|
708
972
|
/**
|
|
709
973
|
* Maximum number of fleets that can be created per cluster.
|
|
710
974
|
*/
|
|
@@ -803,6 +1067,14 @@ export type PlatformQuota = {
|
|
|
803
1067
|
* Available number of Pro clusters that can be created.
|
|
804
1068
|
*/
|
|
805
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;
|
|
806
1078
|
/**
|
|
807
1079
|
* Maximum number of fleets that can be created per cluster.
|
|
808
1080
|
*/
|
|
@@ -1015,91 +1287,6 @@ export type TicketCreateInput = {
|
|
|
1015
1287
|
[key: string]: unknown;
|
|
1016
1288
|
};
|
|
1017
1289
|
};
|
|
1018
|
-
export type TicketListResponse = {
|
|
1019
|
-
/**
|
|
1020
|
-
* Tickets for the organization, ordered newest first. Messages are omitted from list responses.
|
|
1021
|
-
*/
|
|
1022
|
-
items: Array<{
|
|
1023
|
-
/**
|
|
1024
|
-
* Unique identifier of the ticket (Mongo ObjectId).
|
|
1025
|
-
*/
|
|
1026
|
-
id: string;
|
|
1027
|
-
/**
|
|
1028
|
-
* Current state of the ticket.
|
|
1029
|
-
*/
|
|
1030
|
-
status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
|
|
1031
|
-
/**
|
|
1032
|
-
* Ticket category.
|
|
1033
|
-
*/
|
|
1034
|
-
category: 'billing' | 'technical' | 'general';
|
|
1035
|
-
/**
|
|
1036
|
-
* First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
|
|
1037
|
-
*/
|
|
1038
|
-
summary: string;
|
|
1039
|
-
/**
|
|
1040
|
-
* Closure timestamp. Null while the ticket is open.
|
|
1041
|
-
*/
|
|
1042
|
-
closed_at?: string;
|
|
1043
|
-
/**
|
|
1044
|
-
* Creation date of the ticket. ISO 8601 UTC.
|
|
1045
|
-
*/
|
|
1046
|
-
date_created: string;
|
|
1047
|
-
/**
|
|
1048
|
-
* Last update date of the ticket. ISO 8601 UTC.
|
|
1049
|
-
*/
|
|
1050
|
-
date_updated: string;
|
|
1051
|
-
/**
|
|
1052
|
-
* Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
|
|
1053
|
-
*/
|
|
1054
|
-
messages?: Array<{
|
|
1055
|
-
/**
|
|
1056
|
-
* Unique identifier of the message (Mongo ObjectId).
|
|
1057
|
-
*/
|
|
1058
|
-
id: string;
|
|
1059
|
-
/**
|
|
1060
|
-
* Message type. Internal notes are filtered out of customer-facing responses.
|
|
1061
|
-
*/
|
|
1062
|
-
type: 'customer_reply' | 'agent_reply';
|
|
1063
|
-
/**
|
|
1064
|
-
* Message body in markdown.
|
|
1065
|
-
*/
|
|
1066
|
-
body: string;
|
|
1067
|
-
/**
|
|
1068
|
-
* First name of the author. Null when not provided.
|
|
1069
|
-
*/
|
|
1070
|
-
author_first_name?: string;
|
|
1071
|
-
/**
|
|
1072
|
-
* Last name of the author. Null when not provided.
|
|
1073
|
-
*/
|
|
1074
|
-
author_last_name?: string;
|
|
1075
|
-
/**
|
|
1076
|
-
* Attachments associated with this message.
|
|
1077
|
-
*/
|
|
1078
|
-
attachments?: Array<{
|
|
1079
|
-
/**
|
|
1080
|
-
* Unique identifier of the attachment (Mongo ObjectId).
|
|
1081
|
-
*/
|
|
1082
|
-
id: string;
|
|
1083
|
-
/**
|
|
1084
|
-
* Original filename as uploaded.
|
|
1085
|
-
*/
|
|
1086
|
-
filename: string;
|
|
1087
|
-
/**
|
|
1088
|
-
* MIME content type of the attachment.
|
|
1089
|
-
*/
|
|
1090
|
-
content_type: string;
|
|
1091
|
-
/**
|
|
1092
|
-
* Size of the attachment in bytes.
|
|
1093
|
-
*/
|
|
1094
|
-
size: number;
|
|
1095
|
-
}>;
|
|
1096
|
-
/**
|
|
1097
|
-
* Creation date of the message. ISO 8601 UTC.
|
|
1098
|
-
*/
|
|
1099
|
-
date_created: string;
|
|
1100
|
-
}>;
|
|
1101
|
-
}>;
|
|
1102
|
-
};
|
|
1103
1290
|
export type TicketMessageInput = {
|
|
1104
1291
|
/**
|
|
1105
1292
|
* Reply body in markdown.
|
|
@@ -1283,7 +1470,7 @@ export type UsageFacets = {
|
|
|
1283
1470
|
/**
|
|
1284
1471
|
* List of unique products
|
|
1285
1472
|
*/
|
|
1286
|
-
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'>;
|
|
1287
1474
|
};
|
|
1288
1475
|
export type UsageResponse = {
|
|
1289
1476
|
/**
|
|
@@ -1301,7 +1488,7 @@ export type UsageResponse = {
|
|
|
1301
1488
|
/**
|
|
1302
1489
|
* The product the usage is associated with
|
|
1303
1490
|
*/
|
|
1304
|
-
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';
|
|
1305
1492
|
/**
|
|
1306
1493
|
* Consumption
|
|
1307
1494
|
*/
|
|
@@ -1326,7 +1513,7 @@ export type UsageResponse = {
|
|
|
1326
1513
|
/**
|
|
1327
1514
|
* List of unique products
|
|
1328
1515
|
*/
|
|
1329
|
-
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'>;
|
|
1330
1517
|
};
|
|
1331
1518
|
};
|
|
1332
1519
|
export type Usage = {
|
|
@@ -1341,7 +1528,7 @@ export type Usage = {
|
|
|
1341
1528
|
/**
|
|
1342
1529
|
* The product the usage is associated with
|
|
1343
1530
|
*/
|
|
1344
|
-
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';
|
|
1345
1532
|
/**
|
|
1346
1533
|
* Consumption
|
|
1347
1534
|
*/
|
|
@@ -1429,593 +1616,658 @@ export type UserUpdateInput = {
|
|
|
1429
1616
|
*/
|
|
1430
1617
|
status?: 'active' | 'inactive';
|
|
1431
1618
|
};
|
|
1432
|
-
export type
|
|
1619
|
+
export type ListUserOrganizationsData = {
|
|
1433
1620
|
body?: never;
|
|
1434
|
-
path
|
|
1435
|
-
query?: {
|
|
1621
|
+
path: {
|
|
1436
1622
|
/**
|
|
1437
|
-
*
|
|
1623
|
+
* User email address.
|
|
1438
1624
|
*/
|
|
1439
|
-
|
|
1625
|
+
email: string;
|
|
1440
1626
|
};
|
|
1441
|
-
url: '/billing/usage';
|
|
1442
|
-
};
|
|
1443
|
-
export type GetUsageErrors = {
|
|
1444
|
-
/**
|
|
1445
|
-
* Not authenticated
|
|
1446
|
-
*/
|
|
1447
|
-
401: unknown;
|
|
1448
|
-
};
|
|
1449
|
-
export type GetUsageResponses = {
|
|
1450
|
-
/**
|
|
1451
|
-
* Usage data with facets for filtering
|
|
1452
|
-
*/
|
|
1453
|
-
200: UsageResponse;
|
|
1454
|
-
};
|
|
1455
|
-
export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
|
|
1456
|
-
export type GetPaymentMethodSecretData = {
|
|
1457
|
-
body?: never;
|
|
1458
|
-
path?: never;
|
|
1459
1627
|
query?: never;
|
|
1460
|
-
url: '/
|
|
1628
|
+
url: '/users/organizations/{email}';
|
|
1461
1629
|
};
|
|
1462
|
-
export type
|
|
1630
|
+
export type ListUserOrganizationsResponses = {
|
|
1463
1631
|
/**
|
|
1464
|
-
*
|
|
1465
|
-
*
|
|
1632
|
+
* An array of organizations the user belongs to.
|
|
1466
1633
|
*/
|
|
1467
|
-
200: {
|
|
1634
|
+
200: Array<{
|
|
1468
1635
|
/**
|
|
1469
|
-
*
|
|
1636
|
+
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
1470
1637
|
*/
|
|
1471
|
-
|
|
1472
|
-
|
|
1638
|
+
realm?: string;
|
|
1639
|
+
/**
|
|
1640
|
+
* Human-readable name of the organization
|
|
1641
|
+
*/
|
|
1642
|
+
displayName?: string;
|
|
1643
|
+
}>;
|
|
1473
1644
|
};
|
|
1474
|
-
export type
|
|
1475
|
-
export type
|
|
1645
|
+
export type ListUserOrganizationsResponse = ListUserOrganizationsResponses[keyof ListUserOrganizationsResponses];
|
|
1646
|
+
export type ListUsersData = {
|
|
1476
1647
|
body?: never;
|
|
1477
1648
|
path?: never;
|
|
1478
1649
|
query?: never;
|
|
1479
|
-
url: '/
|
|
1650
|
+
url: '/users';
|
|
1480
1651
|
};
|
|
1481
|
-
export type
|
|
1652
|
+
export type ListUsersErrors = {
|
|
1482
1653
|
/**
|
|
1483
1654
|
* Not authenticated
|
|
1484
1655
|
*/
|
|
1485
1656
|
401: unknown;
|
|
1486
1657
|
};
|
|
1487
|
-
export type
|
|
1658
|
+
export type ListUsersResponses = {
|
|
1488
1659
|
/**
|
|
1489
|
-
* An array of
|
|
1660
|
+
* An array of users
|
|
1490
1661
|
*/
|
|
1491
|
-
200: Array<
|
|
1662
|
+
200: Array<User>;
|
|
1492
1663
|
};
|
|
1493
|
-
export type
|
|
1494
|
-
export type
|
|
1495
|
-
body
|
|
1496
|
-
path
|
|
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 = {
|
|
1672
|
+
/**
|
|
1673
|
+
* Successfully created. Returns created user details.
|
|
1674
|
+
*/
|
|
1675
|
+
200: User;
|
|
1676
|
+
};
|
|
1677
|
+
export type CreateUserResponse = CreateUserResponses[keyof CreateUserResponses];
|
|
1678
|
+
export type DeleteUserData = {
|
|
1679
|
+
body?: never;
|
|
1680
|
+
path: {
|
|
1497
1681
|
/**
|
|
1498
|
-
*
|
|
1682
|
+
* Unique user identifier. UUID v4 string in canonical form
|
|
1499
1683
|
*/
|
|
1500
|
-
|
|
1684
|
+
user_id: string;
|
|
1501
1685
|
};
|
|
1502
1686
|
query?: never;
|
|
1503
|
-
url: '/
|
|
1687
|
+
url: '/users/{user_id}';
|
|
1504
1688
|
};
|
|
1505
|
-
export type
|
|
1689
|
+
export type DeleteUserErrors = {
|
|
1506
1690
|
/**
|
|
1507
|
-
*
|
|
1691
|
+
* Deleting own user is not allowed. Delete your organization instead.
|
|
1508
1692
|
*/
|
|
1509
1693
|
400: unknown;
|
|
1510
1694
|
/**
|
|
1511
1695
|
* Not authenticated
|
|
1512
1696
|
*/
|
|
1513
1697
|
401: unknown;
|
|
1514
|
-
/**
|
|
1515
|
-
* Payment method not found.
|
|
1516
|
-
*/
|
|
1517
|
-
404: unknown;
|
|
1518
1698
|
};
|
|
1519
|
-
export type
|
|
1699
|
+
export type DeleteUserResponses = {
|
|
1520
1700
|
/**
|
|
1521
|
-
*
|
|
1701
|
+
* User profile information
|
|
1522
1702
|
*/
|
|
1523
|
-
|
|
1703
|
+
200: User;
|
|
1524
1704
|
};
|
|
1525
|
-
export type
|
|
1526
|
-
export type
|
|
1705
|
+
export type DeleteUserResponse = DeleteUserResponses[keyof DeleteUserResponses];
|
|
1706
|
+
export type GetUserData = {
|
|
1527
1707
|
body?: never;
|
|
1528
1708
|
path: {
|
|
1529
1709
|
/**
|
|
1530
|
-
*
|
|
1710
|
+
* Unique user identifier. UUID v4 string in canonical form
|
|
1531
1711
|
*/
|
|
1532
|
-
|
|
1712
|
+
user_id: string;
|
|
1533
1713
|
};
|
|
1534
1714
|
query?: never;
|
|
1535
|
-
url: '/
|
|
1715
|
+
url: '/users/{user_id}';
|
|
1536
1716
|
};
|
|
1537
|
-
export type
|
|
1538
|
-
/**
|
|
1539
|
-
* The bank transfer payment method cannot be removed.
|
|
1540
|
-
*/
|
|
1541
|
-
400: unknown;
|
|
1717
|
+
export type GetUserErrors = {
|
|
1542
1718
|
/**
|
|
1543
1719
|
* Not authenticated
|
|
1544
1720
|
*/
|
|
1545
1721
|
401: unknown;
|
|
1722
|
+
};
|
|
1723
|
+
export type GetUserResponses = {
|
|
1546
1724
|
/**
|
|
1547
|
-
*
|
|
1548
|
-
*/
|
|
1549
|
-
404: unknown;
|
|
1550
|
-
/**
|
|
1551
|
-
* Cannot delete the only remaining payment method.
|
|
1725
|
+
* User profile information
|
|
1552
1726
|
*/
|
|
1553
|
-
|
|
1727
|
+
200: User;
|
|
1554
1728
|
};
|
|
1555
|
-
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 = {
|
|
1556
1742
|
/**
|
|
1557
|
-
*
|
|
1743
|
+
* Successfully created. Returns created user details.
|
|
1558
1744
|
*/
|
|
1559
|
-
|
|
1745
|
+
200: User;
|
|
1560
1746
|
};
|
|
1561
|
-
export type
|
|
1562
|
-
export type
|
|
1747
|
+
export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
|
|
1748
|
+
export type ListTokensData = {
|
|
1563
1749
|
body?: never;
|
|
1564
1750
|
path?: never;
|
|
1565
1751
|
query?: never;
|
|
1566
|
-
url: '/
|
|
1752
|
+
url: '/tokens';
|
|
1567
1753
|
};
|
|
1568
|
-
export type
|
|
1754
|
+
export type ListTokensErrors = {
|
|
1569
1755
|
/**
|
|
1570
1756
|
* Not authenticated
|
|
1571
1757
|
*/
|
|
1572
1758
|
401: unknown;
|
|
1573
1759
|
};
|
|
1574
|
-
export type
|
|
1760
|
+
export type ListTokensResponses = {
|
|
1575
1761
|
/**
|
|
1576
|
-
*
|
|
1762
|
+
* Returns a list of access token details with masked secrets.
|
|
1577
1763
|
*/
|
|
1578
|
-
200: Array<
|
|
1764
|
+
200: Array<Token>;
|
|
1579
1765
|
};
|
|
1580
|
-
export type
|
|
1581
|
-
export type
|
|
1582
|
-
body
|
|
1766
|
+
export type ListTokensResponse = ListTokensResponses[keyof ListTokensResponses];
|
|
1767
|
+
export type CreateTokenData = {
|
|
1768
|
+
body: TokenCreateInput;
|
|
1583
1769
|
path?: never;
|
|
1584
1770
|
query?: never;
|
|
1585
|
-
url: '/
|
|
1771
|
+
url: '/tokens';
|
|
1586
1772
|
};
|
|
1587
|
-
export type
|
|
1773
|
+
export type CreateTokenErrors = {
|
|
1588
1774
|
/**
|
|
1589
|
-
*
|
|
1775
|
+
* Not authenticated
|
|
1590
1776
|
*/
|
|
1591
|
-
|
|
1777
|
+
401: unknown;
|
|
1592
1778
|
};
|
|
1593
|
-
export type
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
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
|
+
};
|
|
1597
1794
|
query?: never;
|
|
1598
|
-
url: '/
|
|
1795
|
+
url: '/tokens/{token_id}';
|
|
1599
1796
|
};
|
|
1600
|
-
export type
|
|
1797
|
+
export type DeleteTokenResponses = {
|
|
1601
1798
|
/**
|
|
1602
|
-
* Successfully
|
|
1799
|
+
* Successfully deleted.
|
|
1603
1800
|
*/
|
|
1604
|
-
200:
|
|
1801
|
+
200: unknown;
|
|
1605
1802
|
};
|
|
1606
|
-
export type
|
|
1607
|
-
export type GetCreditsData = {
|
|
1803
|
+
export type GetTokenData = {
|
|
1608
1804
|
body?: never;
|
|
1609
|
-
path
|
|
1805
|
+
path: {
|
|
1806
|
+
/**
|
|
1807
|
+
* Generated unique identifier of the access token.
|
|
1808
|
+
*/
|
|
1809
|
+
token_id: string;
|
|
1810
|
+
};
|
|
1610
1811
|
query?: never;
|
|
1611
|
-
url: '/
|
|
1812
|
+
url: '/tokens/{token_id}';
|
|
1612
1813
|
};
|
|
1613
|
-
export type
|
|
1814
|
+
export type GetTokenErrors = {
|
|
1614
1815
|
/**
|
|
1615
1816
|
* Not authenticated
|
|
1616
1817
|
*/
|
|
1617
1818
|
401: unknown;
|
|
1618
1819
|
};
|
|
1619
|
-
export type
|
|
1820
|
+
export type GetTokenResponses = {
|
|
1620
1821
|
/**
|
|
1621
|
-
*
|
|
1822
|
+
* Returns access token details with masked secret.
|
|
1622
1823
|
*/
|
|
1623
|
-
200:
|
|
1824
|
+
200: Token;
|
|
1624
1825
|
};
|
|
1625
|
-
export type
|
|
1626
|
-
export type
|
|
1627
|
-
body:
|
|
1826
|
+
export type GetTokenResponse = GetTokenResponses[keyof GetTokenResponses];
|
|
1827
|
+
export type UpdateTokenData = {
|
|
1828
|
+
body: TokenUpdateInput;
|
|
1829
|
+
path: {
|
|
1628
1830
|
/**
|
|
1629
|
-
*
|
|
1831
|
+
* Generated unique identifier of the access token.
|
|
1630
1832
|
*/
|
|
1631
|
-
|
|
1833
|
+
token_id: string;
|
|
1632
1834
|
};
|
|
1633
|
-
path?: never;
|
|
1634
1835
|
query?: never;
|
|
1635
|
-
url: '/
|
|
1836
|
+
url: '/tokens/{token_id}';
|
|
1636
1837
|
};
|
|
1637
|
-
export type
|
|
1838
|
+
export type UpdateTokenErrors = {
|
|
1638
1839
|
/**
|
|
1639
1840
|
* Not authenticated
|
|
1640
1841
|
*/
|
|
1641
1842
|
401: unknown;
|
|
1642
1843
|
};
|
|
1643
|
-
export type
|
|
1844
|
+
export type UpdateTokenResponses = {
|
|
1644
1845
|
/**
|
|
1645
|
-
* Successfully
|
|
1846
|
+
* Successfully updated. Returns updated token details with masked secret.
|
|
1646
1847
|
*/
|
|
1647
|
-
200:
|
|
1848
|
+
200: Token;
|
|
1648
1849
|
};
|
|
1649
|
-
export type
|
|
1850
|
+
export type UpdateTokenResponse = UpdateTokenResponses[keyof UpdateTokenResponses];
|
|
1851
|
+
export type RegenerateTokenData = {
|
|
1650
1852
|
body?: never;
|
|
1651
1853
|
path: {
|
|
1652
1854
|
/**
|
|
1653
|
-
*
|
|
1855
|
+
* Generated unique identifier of the access token.
|
|
1654
1856
|
*/
|
|
1655
|
-
|
|
1857
|
+
token_id: string;
|
|
1656
1858
|
};
|
|
1657
1859
|
query?: never;
|
|
1658
|
-
url: '/
|
|
1860
|
+
url: '/tokens/{token_id}/secret';
|
|
1659
1861
|
};
|
|
1660
|
-
export type
|
|
1862
|
+
export type RegenerateTokenErrors = {
|
|
1661
1863
|
/**
|
|
1662
1864
|
* Not authenticated
|
|
1663
1865
|
*/
|
|
1664
1866
|
401: unknown;
|
|
1665
1867
|
};
|
|
1666
|
-
export type
|
|
1868
|
+
export type RegenerateTokenResponses = {
|
|
1667
1869
|
/**
|
|
1668
|
-
*
|
|
1870
|
+
* Successfully updated. Returns updated token details with unmasked / raw secret.
|
|
1669
1871
|
*/
|
|
1670
|
-
200:
|
|
1872
|
+
200: Token;
|
|
1671
1873
|
};
|
|
1672
|
-
export type
|
|
1673
|
-
export type
|
|
1674
|
-
body
|
|
1675
|
-
path
|
|
1676
|
-
/**
|
|
1677
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1678
|
-
*/
|
|
1679
|
-
cluster_id: string;
|
|
1680
|
-
};
|
|
1874
|
+
export type RegenerateTokenResponse = RegenerateTokenResponses[keyof RegenerateTokenResponses];
|
|
1875
|
+
export type ListTicketsData = {
|
|
1876
|
+
body?: never;
|
|
1877
|
+
path?: never;
|
|
1681
1878
|
query?: never;
|
|
1682
|
-
url: '/
|
|
1879
|
+
url: '/tickets';
|
|
1683
1880
|
};
|
|
1684
|
-
export type
|
|
1881
|
+
export type ListTicketsResponses = {
|
|
1685
1882
|
/**
|
|
1686
|
-
*
|
|
1883
|
+
* An array of tickets for the organization, newest first.
|
|
1687
1884
|
*/
|
|
1688
|
-
200:
|
|
1885
|
+
200: Array<Ticket>;
|
|
1689
1886
|
};
|
|
1690
|
-
export type
|
|
1691
|
-
export type
|
|
1692
|
-
body
|
|
1693
|
-
path: {
|
|
1694
|
-
/**
|
|
1695
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1696
|
-
*/
|
|
1697
|
-
cluster_id: string;
|
|
1887
|
+
export type ListTicketsResponse = ListTicketsResponses[keyof ListTicketsResponses];
|
|
1888
|
+
export type CreateTicketData = {
|
|
1889
|
+
body: {
|
|
1698
1890
|
/**
|
|
1699
|
-
*
|
|
1891
|
+
* JSON-encoded TicketCreateInput.
|
|
1700
1892
|
*/
|
|
1701
|
-
|
|
1893
|
+
payload?: string;
|
|
1894
|
+
attachments?: Array<Blob | File>;
|
|
1702
1895
|
};
|
|
1896
|
+
path?: never;
|
|
1703
1897
|
query?: never;
|
|
1704
|
-
url: '/
|
|
1898
|
+
url: '/tickets';
|
|
1705
1899
|
};
|
|
1706
|
-
export type
|
|
1900
|
+
export type CreateTicketResponses = {
|
|
1707
1901
|
/**
|
|
1708
|
-
*
|
|
1902
|
+
* Ticket created.
|
|
1709
1903
|
*/
|
|
1710
|
-
200:
|
|
1904
|
+
200: Ticket;
|
|
1711
1905
|
};
|
|
1712
|
-
export type
|
|
1713
|
-
export type
|
|
1906
|
+
export type CreateTicketResponse = CreateTicketResponses[keyof CreateTicketResponses];
|
|
1907
|
+
export type CloseTicketData = {
|
|
1714
1908
|
body?: never;
|
|
1715
1909
|
path: {
|
|
1716
|
-
|
|
1717
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1718
|
-
*/
|
|
1719
|
-
cluster_id: string;
|
|
1720
|
-
/**
|
|
1721
|
-
* Chart deployment name as the unique identifier of the chart.
|
|
1722
|
-
*/
|
|
1723
|
-
chart_name: string;
|
|
1910
|
+
ticket_id: string;
|
|
1724
1911
|
};
|
|
1725
1912
|
query?: never;
|
|
1726
|
-
url: '/
|
|
1913
|
+
url: '/tickets/{ticket_id}';
|
|
1727
1914
|
};
|
|
1728
|
-
export type
|
|
1915
|
+
export type CloseTicketResponses = {
|
|
1729
1916
|
/**
|
|
1730
|
-
*
|
|
1917
|
+
* Ticket closed.
|
|
1731
1918
|
*/
|
|
1732
|
-
200:
|
|
1919
|
+
200: Ticket;
|
|
1733
1920
|
};
|
|
1734
|
-
export type
|
|
1735
|
-
export type
|
|
1736
|
-
body
|
|
1921
|
+
export type CloseTicketResponse = CloseTicketResponses[keyof CloseTicketResponses];
|
|
1922
|
+
export type GetTicketData = {
|
|
1923
|
+
body?: never;
|
|
1737
1924
|
path: {
|
|
1738
|
-
|
|
1739
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1740
|
-
*/
|
|
1741
|
-
cluster_id: string;
|
|
1742
|
-
/**
|
|
1743
|
-
* Chart deployment name as the unique identifier of the chart.
|
|
1744
|
-
*/
|
|
1745
|
-
chart_name: string;
|
|
1925
|
+
ticket_id: string;
|
|
1746
1926
|
};
|
|
1747
1927
|
query?: never;
|
|
1748
|
-
url: '/
|
|
1928
|
+
url: '/tickets/{ticket_id}';
|
|
1749
1929
|
};
|
|
1750
|
-
export type
|
|
1930
|
+
export type GetTicketResponses = {
|
|
1751
1931
|
/**
|
|
1752
|
-
*
|
|
1932
|
+
* Ticket with messages (internal notes excluded).
|
|
1753
1933
|
*/
|
|
1754
|
-
200:
|
|
1934
|
+
200: Ticket;
|
|
1755
1935
|
};
|
|
1756
|
-
export type
|
|
1757
|
-
export type
|
|
1758
|
-
body
|
|
1759
|
-
path: {
|
|
1936
|
+
export type GetTicketResponse = GetTicketResponses[keyof GetTicketResponses];
|
|
1937
|
+
export type ReplyTicketData = {
|
|
1938
|
+
body: {
|
|
1760
1939
|
/**
|
|
1761
|
-
*
|
|
1940
|
+
* JSON-encoded TicketMessageInput.
|
|
1762
1941
|
*/
|
|
1763
|
-
|
|
1942
|
+
payload?: string;
|
|
1943
|
+
attachments?: Array<Blob | File>;
|
|
1944
|
+
};
|
|
1945
|
+
path: {
|
|
1946
|
+
ticket_id: string;
|
|
1764
1947
|
};
|
|
1765
1948
|
query?: never;
|
|
1766
|
-
url: '/
|
|
1949
|
+
url: '/tickets/{ticket_id}/messages';
|
|
1767
1950
|
};
|
|
1768
|
-
export type
|
|
1951
|
+
export type ReplyTicketErrors = {
|
|
1769
1952
|
/**
|
|
1770
|
-
*
|
|
1953
|
+
* Ticket is closed. Open a new ticket instead.
|
|
1771
1954
|
*/
|
|
1772
|
-
|
|
1955
|
+
409: unknown;
|
|
1773
1956
|
};
|
|
1774
|
-
export type
|
|
1957
|
+
export type ReplyTicketResponses = {
|
|
1775
1958
|
/**
|
|
1776
|
-
*
|
|
1959
|
+
* Reply appended.
|
|
1777
1960
|
*/
|
|
1778
|
-
200:
|
|
1961
|
+
200: TicketMessage;
|
|
1779
1962
|
};
|
|
1780
|
-
export type
|
|
1781
|
-
export type
|
|
1782
|
-
body
|
|
1963
|
+
export type ReplyTicketResponse = ReplyTicketResponses[keyof ReplyTicketResponses];
|
|
1964
|
+
export type GetTicketAttachmentData = {
|
|
1965
|
+
body?: never;
|
|
1783
1966
|
path: {
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
*/
|
|
1787
|
-
cluster_id: string;
|
|
1967
|
+
ticket_id: string;
|
|
1968
|
+
attachment_id: string;
|
|
1788
1969
|
};
|
|
1789
1970
|
query?: never;
|
|
1790
|
-
url: '/
|
|
1791
|
-
};
|
|
1792
|
-
export type CreateFleetErrors = {
|
|
1793
|
-
/**
|
|
1794
|
-
* Cluster quota exceeded. Maximum number of fleets per cluster allowed in this organization is reached.
|
|
1795
|
-
*/
|
|
1796
|
-
402: string;
|
|
1971
|
+
url: '/tickets/{ticket_id}/attachments/{attachment_id}';
|
|
1797
1972
|
};
|
|
1798
|
-
export type
|
|
1799
|
-
export type CreateFleetResponses = {
|
|
1973
|
+
export type GetTicketAttachmentResponses = {
|
|
1800
1974
|
/**
|
|
1801
|
-
*
|
|
1975
|
+
* Attachment binary stream.
|
|
1802
1976
|
*/
|
|
1803
|
-
200:
|
|
1977
|
+
200: Blob | File;
|
|
1804
1978
|
};
|
|
1805
|
-
export type
|
|
1806
|
-
export type
|
|
1979
|
+
export type GetTicketAttachmentResponse = GetTicketAttachmentResponses[keyof GetTicketAttachmentResponses];
|
|
1980
|
+
export type ListRepositoriesData = {
|
|
1807
1981
|
body?: never;
|
|
1808
|
-
path
|
|
1809
|
-
/**
|
|
1810
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1811
|
-
*/
|
|
1812
|
-
cluster_id: string;
|
|
1813
|
-
/**
|
|
1814
|
-
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
1815
|
-
*/
|
|
1816
|
-
fleet_name: string;
|
|
1817
|
-
};
|
|
1982
|
+
path?: never;
|
|
1818
1983
|
query?: never;
|
|
1819
|
-
url: '/
|
|
1984
|
+
url: '/registry';
|
|
1820
1985
|
};
|
|
1821
|
-
export type
|
|
1986
|
+
export type ListRepositoriesErrors = {
|
|
1822
1987
|
/**
|
|
1823
|
-
*
|
|
1988
|
+
* Not authenticated
|
|
1824
1989
|
*/
|
|
1825
|
-
|
|
1990
|
+
401: unknown;
|
|
1991
|
+
/**
|
|
1992
|
+
* Internal server error
|
|
1993
|
+
*/
|
|
1994
|
+
500: unknown;
|
|
1826
1995
|
};
|
|
1827
|
-
export type
|
|
1828
|
-
|
|
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 = {
|
|
1829
2004
|
body?: never;
|
|
1830
2005
|
path: {
|
|
1831
2006
|
/**
|
|
1832
|
-
*
|
|
2007
|
+
* Region where the repository is located
|
|
1833
2008
|
*/
|
|
1834
|
-
|
|
2009
|
+
region: string;
|
|
1835
2010
|
/**
|
|
1836
|
-
*
|
|
2011
|
+
* Name of the repository
|
|
1837
2012
|
*/
|
|
1838
|
-
|
|
2013
|
+
repository: string;
|
|
1839
2014
|
};
|
|
1840
2015
|
query?: never;
|
|
1841
|
-
url: '/
|
|
2016
|
+
url: '/registry/{region}/{repository}';
|
|
1842
2017
|
};
|
|
1843
|
-
export type
|
|
2018
|
+
export type ListTagsErrors = {
|
|
1844
2019
|
/**
|
|
1845
|
-
*
|
|
2020
|
+
* Not authenticated
|
|
1846
2021
|
*/
|
|
1847
|
-
|
|
2022
|
+
401: unknown;
|
|
2023
|
+
/**
|
|
2024
|
+
* Repository not found
|
|
2025
|
+
*/
|
|
2026
|
+
404: unknown;
|
|
2027
|
+
/**
|
|
2028
|
+
* Internal server error
|
|
2029
|
+
*/
|
|
2030
|
+
500: unknown;
|
|
1848
2031
|
};
|
|
1849
|
-
export type
|
|
1850
|
-
|
|
1851
|
-
|
|
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;
|
|
1852
2041
|
path: {
|
|
1853
2042
|
/**
|
|
1854
|
-
*
|
|
2043
|
+
* Region where the repository is located
|
|
1855
2044
|
*/
|
|
1856
|
-
|
|
2045
|
+
region: string;
|
|
1857
2046
|
/**
|
|
1858
|
-
*
|
|
2047
|
+
* Name of the repository
|
|
1859
2048
|
*/
|
|
1860
|
-
|
|
2049
|
+
repository: string;
|
|
2050
|
+
/**
|
|
2051
|
+
* Name of the tag
|
|
2052
|
+
*/
|
|
2053
|
+
tag: string;
|
|
1861
2054
|
};
|
|
1862
2055
|
query?: never;
|
|
1863
|
-
url: '/
|
|
2056
|
+
url: '/registry/{region}/{repository}/{tag}';
|
|
1864
2057
|
};
|
|
1865
|
-
export type
|
|
2058
|
+
export type DeleteTagErrors = {
|
|
1866
2059
|
/**
|
|
1867
|
-
*
|
|
2060
|
+
* Not authenticated
|
|
1868
2061
|
*/
|
|
1869
|
-
|
|
2062
|
+
401: unknown;
|
|
2063
|
+
/**
|
|
2064
|
+
* Tag not found
|
|
2065
|
+
*/
|
|
2066
|
+
404: unknown;
|
|
2067
|
+
/**
|
|
2068
|
+
* Internal server error
|
|
2069
|
+
*/
|
|
2070
|
+
500: unknown;
|
|
1870
2071
|
};
|
|
1871
|
-
export type
|
|
1872
|
-
export type UpdateFleetResponses = {
|
|
2072
|
+
export type DeleteTagResponses = {
|
|
1873
2073
|
/**
|
|
1874
|
-
*
|
|
2074
|
+
* Tag successfully deleted
|
|
1875
2075
|
*/
|
|
1876
|
-
200:
|
|
2076
|
+
200: unknown;
|
|
1877
2077
|
};
|
|
1878
|
-
export type
|
|
1879
|
-
export type QueryClusterData = {
|
|
2078
|
+
export type GetTagData = {
|
|
1880
2079
|
body?: never;
|
|
1881
2080
|
path: {
|
|
1882
2081
|
/**
|
|
1883
|
-
*
|
|
2082
|
+
* Region where the repository is located
|
|
1884
2083
|
*/
|
|
1885
|
-
|
|
2084
|
+
region: string;
|
|
2085
|
+
/**
|
|
2086
|
+
* Name of the repository
|
|
2087
|
+
*/
|
|
2088
|
+
repository: string;
|
|
2089
|
+
/**
|
|
2090
|
+
* Name of the tag
|
|
2091
|
+
*/
|
|
2092
|
+
tag: string;
|
|
1886
2093
|
};
|
|
1887
2094
|
query?: never;
|
|
1888
|
-
url: '/
|
|
2095
|
+
url: '/registry/{region}/{repository}/{tag}';
|
|
1889
2096
|
};
|
|
1890
|
-
export type
|
|
2097
|
+
export type GetTagErrors = {
|
|
1891
2098
|
/**
|
|
1892
2099
|
* Not authenticated
|
|
1893
2100
|
*/
|
|
1894
2101
|
401: unknown;
|
|
2102
|
+
/**
|
|
2103
|
+
* Tag not found
|
|
2104
|
+
*/
|
|
2105
|
+
404: unknown;
|
|
2106
|
+
/**
|
|
2107
|
+
* Internal server error
|
|
2108
|
+
*/
|
|
2109
|
+
500: unknown;
|
|
1895
2110
|
};
|
|
1896
|
-
export type
|
|
2111
|
+
export type GetTagResponses = {
|
|
1897
2112
|
/**
|
|
1898
|
-
*
|
|
2113
|
+
* Tag details
|
|
1899
2114
|
*/
|
|
1900
|
-
200:
|
|
2115
|
+
200: RegistryTag;
|
|
1901
2116
|
};
|
|
1902
|
-
export type
|
|
2117
|
+
export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
|
|
2118
|
+
export type GetOrganizationData = {
|
|
1903
2119
|
body?: never;
|
|
1904
2120
|
path?: never;
|
|
1905
2121
|
query?: never;
|
|
1906
|
-
url: '/
|
|
2122
|
+
url: '/organization';
|
|
1907
2123
|
};
|
|
1908
|
-
export type
|
|
2124
|
+
export type GetOrganizationResponses = {
|
|
1909
2125
|
/**
|
|
1910
|
-
*
|
|
2126
|
+
* Returns a single object containing organization details.
|
|
1911
2127
|
*/
|
|
1912
|
-
|
|
2128
|
+
200: Organization;
|
|
1913
2129
|
};
|
|
1914
|
-
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 = {
|
|
1915
2138
|
/**
|
|
1916
|
-
*
|
|
2139
|
+
* Organization signup accepted. Returns the generated organization id immediately; provisioning (billing, Keycloak realm, user) continues asynchronously in the background.
|
|
2140
|
+
*
|
|
1917
2141
|
*/
|
|
1918
|
-
200:
|
|
2142
|
+
200: OrganizationCreateOutput;
|
|
1919
2143
|
};
|
|
1920
|
-
export type
|
|
1921
|
-
export type
|
|
1922
|
-
body
|
|
2144
|
+
export type CreateOrganizationResponse = CreateOrganizationResponses[keyof CreateOrganizationResponses];
|
|
2145
|
+
export type GetBasicPriceConsentData = {
|
|
2146
|
+
body?: never;
|
|
1923
2147
|
path?: never;
|
|
1924
2148
|
query?: never;
|
|
1925
|
-
url: '/
|
|
2149
|
+
url: '/organization/basic-price-consent';
|
|
1926
2150
|
};
|
|
1927
|
-
export type
|
|
2151
|
+
export type GetBasicPriceConsentResponses = {
|
|
1928
2152
|
/**
|
|
1929
|
-
*
|
|
2153
|
+
* Returns the current consent status.
|
|
1930
2154
|
*/
|
|
1931
|
-
|
|
2155
|
+
200: BasicPriceConsent;
|
|
1932
2156
|
};
|
|
1933
|
-
export type
|
|
1934
|
-
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 = {
|
|
1935
2165
|
/**
|
|
1936
|
-
*
|
|
2166
|
+
* The authenticated principal has no email address (e.g. a service account) and cannot record this decision.
|
|
2167
|
+
*
|
|
1937
2168
|
*/
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
path: {
|
|
1944
|
-
/**
|
|
1945
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1946
|
-
*/
|
|
1947
|
-
cluster_id: string;
|
|
1948
|
-
};
|
|
1949
|
-
query?: never;
|
|
1950
|
-
url: '/clusters/{cluster_id}';
|
|
2169
|
+
401: unknown;
|
|
2170
|
+
/**
|
|
2171
|
+
* The consent flow does not apply to this organization.
|
|
2172
|
+
*/
|
|
2173
|
+
409: unknown;
|
|
1951
2174
|
};
|
|
1952
|
-
export type
|
|
2175
|
+
export type SetBasicPriceConsentResponses = {
|
|
1953
2176
|
/**
|
|
1954
|
-
*
|
|
2177
|
+
* Decision recorded. Returns the updated consent status.
|
|
1955
2178
|
*/
|
|
1956
|
-
200:
|
|
2179
|
+
200: BasicPriceConsent;
|
|
1957
2180
|
};
|
|
1958
|
-
export type
|
|
1959
|
-
export type
|
|
1960
|
-
|
|
1961
|
-
|
|
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;
|
|
1962
2190
|
/**
|
|
1963
|
-
*
|
|
2191
|
+
* Method-specific parameters
|
|
1964
2192
|
*/
|
|
1965
|
-
|
|
2193
|
+
params?: {
|
|
2194
|
+
[key: string]: unknown;
|
|
2195
|
+
};
|
|
1966
2196
|
};
|
|
2197
|
+
path?: never;
|
|
1967
2198
|
query?: never;
|
|
1968
|
-
url: '/
|
|
2199
|
+
url: '/mcp';
|
|
1969
2200
|
};
|
|
1970
|
-
export type
|
|
2201
|
+
export type PostMcpErrors = {
|
|
1971
2202
|
/**
|
|
1972
|
-
*
|
|
2203
|
+
* Not authenticated
|
|
1973
2204
|
*/
|
|
1974
|
-
|
|
2205
|
+
401: unknown;
|
|
1975
2206
|
};
|
|
1976
|
-
export type
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
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
|
+
};
|
|
1984
2221
|
};
|
|
2222
|
+
};
|
|
2223
|
+
export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
|
|
2224
|
+
export type ListMarketplaceChartsData = {
|
|
2225
|
+
body?: never;
|
|
2226
|
+
path?: never;
|
|
1985
2227
|
query?: never;
|
|
1986
|
-
url: '/
|
|
2228
|
+
url: '/marketplace';
|
|
1987
2229
|
};
|
|
1988
|
-
export type
|
|
2230
|
+
export type ListMarketplaceChartsErrors = {
|
|
1989
2231
|
/**
|
|
1990
|
-
*
|
|
2232
|
+
* Not authenticated
|
|
1991
2233
|
*/
|
|
1992
|
-
|
|
2234
|
+
401: unknown;
|
|
1993
2235
|
};
|
|
1994
|
-
export type
|
|
1995
|
-
|
|
2236
|
+
export type ListMarketplaceChartsResponses = {
|
|
2237
|
+
/**
|
|
2238
|
+
* An array of chart listings in the marketplace.
|
|
2239
|
+
*/
|
|
2240
|
+
200: Array<MarketplaceListing>;
|
|
2241
|
+
};
|
|
2242
|
+
export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
|
|
2243
|
+
export type GetMarketplaceChartFilesData = {
|
|
1996
2244
|
body?: never;
|
|
1997
2245
|
path: {
|
|
1998
2246
|
/**
|
|
1999
|
-
*
|
|
2247
|
+
* Name of the chart in the marketplace.
|
|
2000
2248
|
*/
|
|
2001
|
-
|
|
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;
|
|
2002
2254
|
};
|
|
2003
2255
|
query?: never;
|
|
2004
|
-
url: '/
|
|
2256
|
+
url: '/marketplace/{chart_name}/files/{version_channel}';
|
|
2005
2257
|
};
|
|
2006
|
-
export type
|
|
2258
|
+
export type GetMarketplaceChartFilesErrors = {
|
|
2007
2259
|
/**
|
|
2008
|
-
*
|
|
2260
|
+
* Chart not found or no version matches the channel
|
|
2009
2261
|
*/
|
|
2010
|
-
|
|
2262
|
+
404: unknown;
|
|
2011
2263
|
};
|
|
2012
|
-
export type
|
|
2264
|
+
export type GetMarketplaceChartFilesResponses = {
|
|
2013
2265
|
/**
|
|
2014
|
-
*
|
|
2266
|
+
* Returns an object containing the chart files for the latest matching version.
|
|
2015
2267
|
*/
|
|
2016
|
-
200:
|
|
2268
|
+
200: MarketplaceListingFiles;
|
|
2017
2269
|
};
|
|
2018
|
-
export type
|
|
2270
|
+
export type GetMarketplaceChartFilesResponse = GetMarketplaceChartFilesResponses[keyof GetMarketplaceChartFilesResponses];
|
|
2019
2271
|
export type ListInvitesData = {
|
|
2020
2272
|
body?: never;
|
|
2021
2273
|
path?: never;
|
|
@@ -2092,619 +2344,685 @@ export type DeleteInviteResponses = {
|
|
|
2092
2344
|
*/
|
|
2093
2345
|
200: unknown;
|
|
2094
2346
|
};
|
|
2095
|
-
export type
|
|
2347
|
+
export type QueryClusterData = {
|
|
2096
2348
|
body?: never;
|
|
2097
|
-
path
|
|
2349
|
+
path: {
|
|
2350
|
+
/**
|
|
2351
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2352
|
+
*/
|
|
2353
|
+
cluster_id: string;
|
|
2354
|
+
};
|
|
2098
2355
|
query?: never;
|
|
2099
|
-
url: '/
|
|
2356
|
+
url: '/clusters/{cluster_id}/query';
|
|
2100
2357
|
};
|
|
2101
|
-
export type
|
|
2358
|
+
export type QueryClusterErrors = {
|
|
2102
2359
|
/**
|
|
2103
2360
|
* Not authenticated
|
|
2104
2361
|
*/
|
|
2105
2362
|
401: unknown;
|
|
2106
2363
|
};
|
|
2107
|
-
export type
|
|
2364
|
+
export type QueryClusterResponses = {
|
|
2108
2365
|
/**
|
|
2109
|
-
*
|
|
2366
|
+
* Kubernetes API response
|
|
2110
2367
|
*/
|
|
2111
|
-
200:
|
|
2368
|
+
200: unknown;
|
|
2112
2369
|
};
|
|
2113
|
-
export type
|
|
2114
|
-
export type GetMarketplaceChartFilesData = {
|
|
2370
|
+
export type ListFleetsData = {
|
|
2115
2371
|
body?: never;
|
|
2116
2372
|
path: {
|
|
2117
2373
|
/**
|
|
2118
|
-
*
|
|
2374
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2119
2375
|
*/
|
|
2120
|
-
|
|
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: {
|
|
2121
2397
|
/**
|
|
2122
|
-
*
|
|
2398
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2123
2399
|
*/
|
|
2124
|
-
|
|
2400
|
+
cluster_id: string;
|
|
2125
2401
|
};
|
|
2126
2402
|
query?: never;
|
|
2127
|
-
url: '/
|
|
2403
|
+
url: '/clusters/{cluster_id}/fleets';
|
|
2128
2404
|
};
|
|
2129
|
-
export type
|
|
2405
|
+
export type CreateFleetErrors = {
|
|
2130
2406
|
/**
|
|
2131
|
-
*
|
|
2407
|
+
* Cluster quota exceeded. Maximum number of fleets per cluster allowed in this organization is reached.
|
|
2132
2408
|
*/
|
|
2133
|
-
|
|
2134
|
-
};
|
|
2135
|
-
export type GetMarketplaceChartFilesResponses = {
|
|
2409
|
+
402: string;
|
|
2136
2410
|
/**
|
|
2137
|
-
*
|
|
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.
|
|
2138
2412
|
*/
|
|
2139
|
-
|
|
2413
|
+
409: string;
|
|
2140
2414
|
};
|
|
2141
|
-
export type
|
|
2142
|
-
export type
|
|
2415
|
+
export type CreateFleetError = CreateFleetErrors[keyof CreateFleetErrors];
|
|
2416
|
+
export type CreateFleetResponses = {
|
|
2143
2417
|
/**
|
|
2144
|
-
*
|
|
2418
|
+
* Successfully created. Returns created Fleet ID.
|
|
2145
2419
|
*/
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2420
|
+
200: string;
|
|
2421
|
+
};
|
|
2422
|
+
export type CreateFleetResponse = CreateFleetResponses[keyof CreateFleetResponses];
|
|
2423
|
+
export type DeleteFleetData = {
|
|
2424
|
+
body?: never;
|
|
2425
|
+
path: {
|
|
2150
2426
|
/**
|
|
2151
|
-
*
|
|
2427
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2152
2428
|
*/
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2429
|
+
cluster_id: string;
|
|
2430
|
+
/**
|
|
2431
|
+
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
2432
|
+
*/
|
|
2433
|
+
fleet_name: string;
|
|
2156
2434
|
};
|
|
2157
|
-
path?: never;
|
|
2158
2435
|
query?: never;
|
|
2159
|
-
url: '/
|
|
2436
|
+
url: '/clusters/{cluster_id}/fleets/{fleet_name}';
|
|
2160
2437
|
};
|
|
2161
|
-
export type
|
|
2438
|
+
export type DeleteFleetErrors = {
|
|
2162
2439
|
/**
|
|
2163
|
-
*
|
|
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.
|
|
2164
2441
|
*/
|
|
2165
|
-
|
|
2442
|
+
409: string;
|
|
2166
2443
|
};
|
|
2167
|
-
export type
|
|
2444
|
+
export type DeleteFleetError = DeleteFleetErrors[keyof DeleteFleetErrors];
|
|
2445
|
+
export type DeleteFleetResponses = {
|
|
2168
2446
|
/**
|
|
2169
|
-
*
|
|
2447
|
+
* Successfully deleted.
|
|
2170
2448
|
*/
|
|
2171
|
-
200:
|
|
2172
|
-
jsonrpc?: string;
|
|
2173
|
-
id?: string | number;
|
|
2174
|
-
result?: {
|
|
2175
|
-
[key: string]: unknown;
|
|
2176
|
-
};
|
|
2177
|
-
error?: {
|
|
2178
|
-
code?: number;
|
|
2179
|
-
message?: string;
|
|
2180
|
-
};
|
|
2181
|
-
};
|
|
2449
|
+
200: string;
|
|
2182
2450
|
};
|
|
2183
|
-
export type
|
|
2184
|
-
export type
|
|
2451
|
+
export type DeleteFleetResponse = DeleteFleetResponses[keyof DeleteFleetResponses];
|
|
2452
|
+
export type GetFleetData = {
|
|
2185
2453
|
body?: never;
|
|
2186
|
-
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
|
+
};
|
|
2187
2464
|
query?: never;
|
|
2188
|
-
url: '/
|
|
2465
|
+
url: '/clusters/{cluster_id}/fleets/{fleet_name}';
|
|
2189
2466
|
};
|
|
2190
|
-
export type
|
|
2467
|
+
export type GetFleetResponses = {
|
|
2191
2468
|
/**
|
|
2192
|
-
* Returns a single object containing
|
|
2469
|
+
* Returns a single object containing fleet details.
|
|
2193
2470
|
*/
|
|
2194
|
-
200:
|
|
2471
|
+
200: Fleet;
|
|
2195
2472
|
};
|
|
2196
|
-
export type
|
|
2197
|
-
export type
|
|
2198
|
-
body:
|
|
2199
|
-
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
|
+
};
|
|
2200
2486
|
query?: never;
|
|
2201
|
-
url: '/
|
|
2487
|
+
url: '/clusters/{cluster_id}/fleets/{fleet_name}';
|
|
2202
2488
|
};
|
|
2203
|
-
export type
|
|
2489
|
+
export type UpdateFleetErrors = {
|
|
2204
2490
|
/**
|
|
2205
|
-
* Organization
|
|
2206
|
-
*
|
|
2491
|
+
* Organization must have a valid payment method configured to access this endpoint.
|
|
2207
2492
|
*/
|
|
2208
|
-
|
|
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;
|
|
2209
2498
|
};
|
|
2210
|
-
export type
|
|
2211
|
-
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 = {
|
|
2212
2508
|
body?: never;
|
|
2213
|
-
path
|
|
2509
|
+
path: {
|
|
2510
|
+
/**
|
|
2511
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2512
|
+
*/
|
|
2513
|
+
cluster_id: string;
|
|
2514
|
+
};
|
|
2214
2515
|
query?: never;
|
|
2215
|
-
url: '/
|
|
2516
|
+
url: '/clusters/{cluster_id}/charts';
|
|
2216
2517
|
};
|
|
2217
|
-
export type
|
|
2518
|
+
export type ListChartsErrors = {
|
|
2218
2519
|
/**
|
|
2219
2520
|
* Not authenticated
|
|
2220
2521
|
*/
|
|
2221
2522
|
401: unknown;
|
|
2523
|
+
};
|
|
2524
|
+
export type ListChartsResponses = {
|
|
2222
2525
|
/**
|
|
2223
|
-
*
|
|
2526
|
+
* An array of charts
|
|
2224
2527
|
*/
|
|
2225
|
-
|
|
2528
|
+
200: Array<Chart>;
|
|
2226
2529
|
};
|
|
2227
|
-
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 = {
|
|
2228
2543
|
/**
|
|
2229
|
-
*
|
|
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.
|
|
2230
2545
|
*/
|
|
2231
|
-
|
|
2546
|
+
409: string;
|
|
2232
2547
|
};
|
|
2233
|
-
export type
|
|
2234
|
-
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 = {
|
|
2235
2557
|
body?: never;
|
|
2236
2558
|
path: {
|
|
2237
2559
|
/**
|
|
2238
|
-
*
|
|
2560
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2239
2561
|
*/
|
|
2240
|
-
|
|
2562
|
+
cluster_id: string;
|
|
2241
2563
|
/**
|
|
2242
|
-
*
|
|
2564
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
2243
2565
|
*/
|
|
2244
|
-
|
|
2566
|
+
chart_name: string;
|
|
2245
2567
|
};
|
|
2246
2568
|
query?: never;
|
|
2247
|
-
url: '/
|
|
2569
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
2248
2570
|
};
|
|
2249
|
-
export type
|
|
2250
|
-
/**
|
|
2251
|
-
* Not authenticated
|
|
2252
|
-
*/
|
|
2253
|
-
401: unknown;
|
|
2254
|
-
/**
|
|
2255
|
-
* Repository not found
|
|
2256
|
-
*/
|
|
2257
|
-
404: unknown;
|
|
2571
|
+
export type DeleteChartErrors = {
|
|
2258
2572
|
/**
|
|
2259
|
-
*
|
|
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.
|
|
2260
2574
|
*/
|
|
2261
|
-
|
|
2575
|
+
409: string;
|
|
2262
2576
|
};
|
|
2263
|
-
export type
|
|
2577
|
+
export type DeleteChartError = DeleteChartErrors[keyof DeleteChartErrors];
|
|
2578
|
+
export type DeleteChartResponses = {
|
|
2264
2579
|
/**
|
|
2265
|
-
*
|
|
2580
|
+
* Successfully deleted.
|
|
2266
2581
|
*/
|
|
2267
|
-
200:
|
|
2582
|
+
200: string;
|
|
2268
2583
|
};
|
|
2269
|
-
export type
|
|
2270
|
-
export type
|
|
2584
|
+
export type DeleteChartResponse = DeleteChartResponses[keyof DeleteChartResponses];
|
|
2585
|
+
export type GetChartData = {
|
|
2271
2586
|
body?: never;
|
|
2272
2587
|
path: {
|
|
2273
2588
|
/**
|
|
2274
|
-
*
|
|
2275
|
-
*/
|
|
2276
|
-
region: string;
|
|
2277
|
-
/**
|
|
2278
|
-
* Name of the repository
|
|
2589
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2279
2590
|
*/
|
|
2280
|
-
|
|
2591
|
+
cluster_id: string;
|
|
2281
2592
|
/**
|
|
2282
|
-
*
|
|
2593
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
2283
2594
|
*/
|
|
2284
|
-
|
|
2595
|
+
chart_name: string;
|
|
2285
2596
|
};
|
|
2286
2597
|
query?: never;
|
|
2287
|
-
url: '/
|
|
2288
|
-
};
|
|
2289
|
-
export type DeleteTagErrors = {
|
|
2290
|
-
/**
|
|
2291
|
-
* Not authenticated
|
|
2292
|
-
*/
|
|
2293
|
-
401: unknown;
|
|
2294
|
-
/**
|
|
2295
|
-
* Tag not found
|
|
2296
|
-
*/
|
|
2297
|
-
404: unknown;
|
|
2298
|
-
/**
|
|
2299
|
-
* Internal server error
|
|
2300
|
-
*/
|
|
2301
|
-
500: unknown;
|
|
2598
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
2302
2599
|
};
|
|
2303
|
-
export type
|
|
2600
|
+
export type GetChartResponses = {
|
|
2304
2601
|
/**
|
|
2305
|
-
*
|
|
2602
|
+
* Returns a single object containing chart details.
|
|
2306
2603
|
*/
|
|
2307
|
-
200:
|
|
2604
|
+
200: Chart;
|
|
2308
2605
|
};
|
|
2309
|
-
export type
|
|
2310
|
-
|
|
2606
|
+
export type GetChartResponse = GetChartResponses[keyof GetChartResponses];
|
|
2607
|
+
export type UpdateChartData = {
|
|
2608
|
+
body: ChartUpdateInput;
|
|
2311
2609
|
path: {
|
|
2312
2610
|
/**
|
|
2313
|
-
*
|
|
2314
|
-
*/
|
|
2315
|
-
region: string;
|
|
2316
|
-
/**
|
|
2317
|
-
* Name of the repository
|
|
2611
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2318
2612
|
*/
|
|
2319
|
-
|
|
2613
|
+
cluster_id: string;
|
|
2320
2614
|
/**
|
|
2321
|
-
*
|
|
2615
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
2322
2616
|
*/
|
|
2323
|
-
|
|
2617
|
+
chart_name: string;
|
|
2324
2618
|
};
|
|
2325
2619
|
query?: never;
|
|
2326
|
-
url: '/
|
|
2620
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
2327
2621
|
};
|
|
2328
|
-
export type
|
|
2329
|
-
/**
|
|
2330
|
-
* Not authenticated
|
|
2331
|
-
*/
|
|
2332
|
-
401: unknown;
|
|
2333
|
-
/**
|
|
2334
|
-
* Tag not found
|
|
2335
|
-
*/
|
|
2336
|
-
404: unknown;
|
|
2622
|
+
export type UpdateChartErrors = {
|
|
2337
2623
|
/**
|
|
2338
|
-
*
|
|
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.
|
|
2339
2625
|
*/
|
|
2340
|
-
|
|
2626
|
+
409: string;
|
|
2341
2627
|
};
|
|
2342
|
-
export type
|
|
2628
|
+
export type UpdateChartError = UpdateChartErrors[keyof UpdateChartErrors];
|
|
2629
|
+
export type UpdateChartResponses = {
|
|
2343
2630
|
/**
|
|
2344
|
-
*
|
|
2631
|
+
* Successfully updated.
|
|
2345
2632
|
*/
|
|
2346
|
-
200:
|
|
2633
|
+
200: string;
|
|
2347
2634
|
};
|
|
2348
|
-
export type
|
|
2349
|
-
export type
|
|
2635
|
+
export type UpdateChartResponse = UpdateChartResponses[keyof UpdateChartResponses];
|
|
2636
|
+
export type ListClustersData = {
|
|
2350
2637
|
body?: never;
|
|
2351
2638
|
path?: never;
|
|
2352
2639
|
query?: never;
|
|
2353
|
-
url: '/
|
|
2640
|
+
url: '/clusters';
|
|
2354
2641
|
};
|
|
2355
|
-
export type
|
|
2642
|
+
export type ListClustersErrors = {
|
|
2356
2643
|
/**
|
|
2357
|
-
*
|
|
2644
|
+
* Not authenticated
|
|
2358
2645
|
*/
|
|
2359
|
-
|
|
2646
|
+
401: unknown;
|
|
2360
2647
|
};
|
|
2361
|
-
export type
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
|
|
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;
|
|
2370
2657
|
path?: never;
|
|
2371
2658
|
query?: never;
|
|
2372
|
-
url: '/
|
|
2659
|
+
url: '/clusters';
|
|
2373
2660
|
};
|
|
2374
|
-
export type
|
|
2661
|
+
export type CreateClusterErrors = {
|
|
2375
2662
|
/**
|
|
2376
|
-
*
|
|
2663
|
+
* Cluster quota exceeded. Maximum number of clusters allowed in this organization is reached.
|
|
2377
2664
|
*/
|
|
2378
|
-
|
|
2665
|
+
402: string;
|
|
2379
2666
|
};
|
|
2380
|
-
export type
|
|
2381
|
-
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 = {
|
|
2382
2676
|
body?: never;
|
|
2383
2677
|
path: {
|
|
2384
|
-
|
|
2678
|
+
/**
|
|
2679
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2680
|
+
*/
|
|
2681
|
+
cluster_id: string;
|
|
2385
2682
|
};
|
|
2386
2683
|
query?: never;
|
|
2387
|
-
url: '/
|
|
2684
|
+
url: '/clusters/{cluster_id}';
|
|
2388
2685
|
};
|
|
2389
|
-
export type
|
|
2686
|
+
export type DeleteClusterErrors = {
|
|
2390
2687
|
/**
|
|
2391
|
-
*
|
|
2688
|
+
* Cluster not found; it does not exist or has already been deleted.
|
|
2392
2689
|
*/
|
|
2393
|
-
|
|
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;
|
|
2394
2699
|
};
|
|
2395
|
-
export type
|
|
2396
|
-
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 = {
|
|
2397
2709
|
body?: never;
|
|
2398
2710
|
path: {
|
|
2399
|
-
|
|
2711
|
+
/**
|
|
2712
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2713
|
+
*/
|
|
2714
|
+
cluster_id: string;
|
|
2400
2715
|
};
|
|
2401
2716
|
query?: never;
|
|
2402
|
-
url: '/
|
|
2717
|
+
url: '/clusters/{cluster_id}';
|
|
2403
2718
|
};
|
|
2404
|
-
export type
|
|
2719
|
+
export type GetClusterResponses = {
|
|
2405
2720
|
/**
|
|
2406
|
-
*
|
|
2721
|
+
* Returns a single object containing cluster details.
|
|
2407
2722
|
*/
|
|
2408
|
-
200:
|
|
2723
|
+
200: Cluster;
|
|
2409
2724
|
};
|
|
2410
|
-
export type
|
|
2411
|
-
export type
|
|
2412
|
-
body:
|
|
2725
|
+
export type GetClusterResponse = GetClusterResponses[keyof GetClusterResponses];
|
|
2726
|
+
export type UpdateClusterData = {
|
|
2727
|
+
body: ClusterUpdateInput;
|
|
2728
|
+
path: {
|
|
2413
2729
|
/**
|
|
2414
|
-
*
|
|
2730
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2415
2731
|
*/
|
|
2416
|
-
|
|
2417
|
-
attachments?: Array<Blob | File>;
|
|
2418
|
-
};
|
|
2419
|
-
path: {
|
|
2420
|
-
ticket_id: string;
|
|
2732
|
+
cluster_id: string;
|
|
2421
2733
|
};
|
|
2422
2734
|
query?: never;
|
|
2423
|
-
url: '/
|
|
2735
|
+
url: '/clusters/{cluster_id}';
|
|
2424
2736
|
};
|
|
2425
|
-
export type
|
|
2737
|
+
export type UpdateClusterErrors = {
|
|
2426
2738
|
/**
|
|
2427
|
-
*
|
|
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.
|
|
2428
2740
|
*/
|
|
2429
|
-
409:
|
|
2741
|
+
409: string;
|
|
2430
2742
|
};
|
|
2431
|
-
export type
|
|
2743
|
+
export type UpdateClusterError = UpdateClusterErrors[keyof UpdateClusterErrors];
|
|
2744
|
+
export type UpdateClusterResponses = {
|
|
2432
2745
|
/**
|
|
2433
|
-
*
|
|
2746
|
+
* Successfully updated. Returns updated cluster details.
|
|
2434
2747
|
*/
|
|
2435
|
-
200:
|
|
2748
|
+
200: Cluster;
|
|
2436
2749
|
};
|
|
2437
|
-
export type
|
|
2438
|
-
export type
|
|
2750
|
+
export type UpdateClusterResponse = UpdateClusterResponses[keyof UpdateClusterResponses];
|
|
2751
|
+
export type GetJoinInformationData = {
|
|
2439
2752
|
body?: never;
|
|
2440
2753
|
path: {
|
|
2441
|
-
|
|
2442
|
-
|
|
2754
|
+
/**
|
|
2755
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2756
|
+
*/
|
|
2757
|
+
cluster_id: string;
|
|
2443
2758
|
};
|
|
2444
2759
|
query?: never;
|
|
2445
|
-
url: '/
|
|
2446
|
-
};
|
|
2447
|
-
export type GetTicketAttachmentResponses = {
|
|
2448
|
-
/**
|
|
2449
|
-
* Attachment binary stream.
|
|
2450
|
-
*/
|
|
2451
|
-
200: Blob | File;
|
|
2452
|
-
};
|
|
2453
|
-
export type GetTicketAttachmentResponse = GetTicketAttachmentResponses[keyof GetTicketAttachmentResponses];
|
|
2454
|
-
export type ListTokensData = {
|
|
2455
|
-
body?: never;
|
|
2456
|
-
path?: never;
|
|
2457
|
-
query?: never;
|
|
2458
|
-
url: '/tokens';
|
|
2760
|
+
url: '/clusters/{cluster_id}/join_information';
|
|
2459
2761
|
};
|
|
2460
|
-
export type
|
|
2762
|
+
export type GetJoinInformationErrors = {
|
|
2461
2763
|
/**
|
|
2462
2764
|
* Not authenticated
|
|
2463
2765
|
*/
|
|
2464
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;
|
|
2465
2775
|
};
|
|
2466
|
-
export type
|
|
2776
|
+
export type GetJoinInformationError = GetJoinInformationErrors[keyof GetJoinInformationErrors];
|
|
2777
|
+
export type GetJoinInformationResponses = {
|
|
2467
2778
|
/**
|
|
2468
|
-
*
|
|
2779
|
+
* An object of cluster join information
|
|
2469
2780
|
*/
|
|
2470
|
-
200:
|
|
2781
|
+
200: ClusterJoinInformation;
|
|
2471
2782
|
};
|
|
2472
|
-
export type
|
|
2473
|
-
export type
|
|
2474
|
-
body
|
|
2783
|
+
export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
|
|
2784
|
+
export type GetUsageData = {
|
|
2785
|
+
body?: never;
|
|
2475
2786
|
path?: never;
|
|
2476
|
-
query?:
|
|
2477
|
-
|
|
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';
|
|
2478
2794
|
};
|
|
2479
|
-
export type
|
|
2795
|
+
export type GetUsageErrors = {
|
|
2480
2796
|
/**
|
|
2481
2797
|
* Not authenticated
|
|
2482
2798
|
*/
|
|
2483
2799
|
401: unknown;
|
|
2484
2800
|
};
|
|
2485
|
-
export type
|
|
2801
|
+
export type GetUsageResponses = {
|
|
2486
2802
|
/**
|
|
2487
|
-
*
|
|
2803
|
+
* Usage data with facets for filtering
|
|
2488
2804
|
*/
|
|
2489
|
-
200:
|
|
2805
|
+
200: UsageResponse;
|
|
2490
2806
|
};
|
|
2491
|
-
export type
|
|
2492
|
-
export type
|
|
2807
|
+
export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
|
|
2808
|
+
export type GetPaymentMethodSecretData = {
|
|
2493
2809
|
body?: never;
|
|
2494
|
-
path
|
|
2495
|
-
/**
|
|
2496
|
-
* Generated unique identifier of the access token.
|
|
2497
|
-
*/
|
|
2498
|
-
token_id: string;
|
|
2499
|
-
};
|
|
2810
|
+
path?: never;
|
|
2500
2811
|
query?: never;
|
|
2501
|
-
url: '/
|
|
2812
|
+
url: '/billing/payment-method';
|
|
2502
2813
|
};
|
|
2503
|
-
export type
|
|
2814
|
+
export type GetPaymentMethodSecretResponses = {
|
|
2504
2815
|
/**
|
|
2505
|
-
*
|
|
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
|
+
*
|
|
2506
2818
|
*/
|
|
2507
|
-
200:
|
|
2508
|
-
};
|
|
2509
|
-
export type GetTokenData = {
|
|
2510
|
-
body?: never;
|
|
2511
|
-
path: {
|
|
2819
|
+
200: {
|
|
2512
2820
|
/**
|
|
2513
|
-
*
|
|
2821
|
+
* The client secret.
|
|
2514
2822
|
*/
|
|
2515
|
-
|
|
2823
|
+
id?: string;
|
|
2516
2824
|
};
|
|
2825
|
+
};
|
|
2826
|
+
export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
|
|
2827
|
+
export type ListPaymentMethodsData = {
|
|
2828
|
+
body?: never;
|
|
2829
|
+
path?: never;
|
|
2517
2830
|
query?: never;
|
|
2518
|
-
url: '/
|
|
2831
|
+
url: '/billing/payment-methods';
|
|
2519
2832
|
};
|
|
2520
|
-
export type
|
|
2833
|
+
export type ListPaymentMethodsErrors = {
|
|
2521
2834
|
/**
|
|
2522
2835
|
* Not authenticated
|
|
2523
2836
|
*/
|
|
2524
2837
|
401: unknown;
|
|
2525
2838
|
};
|
|
2526
|
-
export type
|
|
2839
|
+
export type ListPaymentMethodsResponses = {
|
|
2527
2840
|
/**
|
|
2528
|
-
*
|
|
2841
|
+
* An array of payment methods.
|
|
2529
2842
|
*/
|
|
2530
|
-
200:
|
|
2843
|
+
200: Array<PaymentMethod>;
|
|
2531
2844
|
};
|
|
2532
|
-
export type
|
|
2533
|
-
export type
|
|
2534
|
-
body
|
|
2845
|
+
export type ListPaymentMethodsResponse = ListPaymentMethodsResponses[keyof ListPaymentMethodsResponses];
|
|
2846
|
+
export type SetDefaultPaymentMethodData = {
|
|
2847
|
+
body?: never;
|
|
2535
2848
|
path: {
|
|
2536
2849
|
/**
|
|
2537
|
-
*
|
|
2850
|
+
* Stripe payment method identifier.
|
|
2538
2851
|
*/
|
|
2539
|
-
|
|
2852
|
+
paymentMethodId: string;
|
|
2540
2853
|
};
|
|
2541
2854
|
query?: never;
|
|
2542
|
-
url: '/
|
|
2855
|
+
url: '/billing/payment-methods/{paymentMethodId}/default';
|
|
2543
2856
|
};
|
|
2544
|
-
export type
|
|
2857
|
+
export type SetDefaultPaymentMethodErrors = {
|
|
2858
|
+
/**
|
|
2859
|
+
* The bank transfer payment method cannot be set as the default.
|
|
2860
|
+
*/
|
|
2861
|
+
400: unknown;
|
|
2545
2862
|
/**
|
|
2546
2863
|
* Not authenticated
|
|
2547
2864
|
*/
|
|
2548
2865
|
401: unknown;
|
|
2866
|
+
/**
|
|
2867
|
+
* Payment method not found.
|
|
2868
|
+
*/
|
|
2869
|
+
404: unknown;
|
|
2549
2870
|
};
|
|
2550
|
-
export type
|
|
2871
|
+
export type SetDefaultPaymentMethodResponses = {
|
|
2551
2872
|
/**
|
|
2552
|
-
*
|
|
2873
|
+
* Default payment method updated.
|
|
2553
2874
|
*/
|
|
2554
|
-
|
|
2875
|
+
204: void;
|
|
2555
2876
|
};
|
|
2556
|
-
export type
|
|
2557
|
-
export type
|
|
2877
|
+
export type SetDefaultPaymentMethodResponse = SetDefaultPaymentMethodResponses[keyof SetDefaultPaymentMethodResponses];
|
|
2878
|
+
export type DeletePaymentMethodData = {
|
|
2558
2879
|
body?: never;
|
|
2559
2880
|
path: {
|
|
2560
2881
|
/**
|
|
2561
|
-
*
|
|
2882
|
+
* Stripe payment method identifier.
|
|
2562
2883
|
*/
|
|
2563
|
-
|
|
2884
|
+
paymentMethodId: string;
|
|
2564
2885
|
};
|
|
2565
2886
|
query?: never;
|
|
2566
|
-
url: '/
|
|
2887
|
+
url: '/billing/payment-methods/{paymentMethodId}';
|
|
2567
2888
|
};
|
|
2568
|
-
export type
|
|
2889
|
+
export type DeletePaymentMethodErrors = {
|
|
2890
|
+
/**
|
|
2891
|
+
* The bank transfer payment method cannot be removed.
|
|
2892
|
+
*/
|
|
2893
|
+
400: unknown;
|
|
2569
2894
|
/**
|
|
2570
2895
|
* Not authenticated
|
|
2571
2896
|
*/
|
|
2572
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;
|
|
2573
2906
|
};
|
|
2574
|
-
export type
|
|
2907
|
+
export type DeletePaymentMethodResponses = {
|
|
2575
2908
|
/**
|
|
2576
|
-
*
|
|
2909
|
+
* Payment method deleted.
|
|
2577
2910
|
*/
|
|
2578
|
-
|
|
2911
|
+
204: void;
|
|
2579
2912
|
};
|
|
2580
|
-
export type
|
|
2581
|
-
export type
|
|
2913
|
+
export type DeletePaymentMethodResponse = DeletePaymentMethodResponses[keyof DeletePaymentMethodResponses];
|
|
2914
|
+
export type ListInvoicesData = {
|
|
2582
2915
|
body?: never;
|
|
2583
|
-
path
|
|
2584
|
-
/**
|
|
2585
|
-
* User email address.
|
|
2586
|
-
*/
|
|
2587
|
-
email: string;
|
|
2588
|
-
};
|
|
2916
|
+
path?: never;
|
|
2589
2917
|
query?: never;
|
|
2590
|
-
url: '/
|
|
2918
|
+
url: '/billing/invoices';
|
|
2591
2919
|
};
|
|
2592
|
-
export type
|
|
2920
|
+
export type ListInvoicesErrors = {
|
|
2593
2921
|
/**
|
|
2594
|
-
*
|
|
2922
|
+
* Not authenticated
|
|
2595
2923
|
*/
|
|
2596
|
-
|
|
2597
|
-
/**
|
|
2598
|
-
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
2599
|
-
*/
|
|
2600
|
-
realm?: string;
|
|
2601
|
-
/**
|
|
2602
|
-
* Human-readable name of the organization
|
|
2603
|
-
*/
|
|
2604
|
-
displayName?: string;
|
|
2605
|
-
}>;
|
|
2924
|
+
401: unknown;
|
|
2606
2925
|
};
|
|
2607
|
-
export type
|
|
2608
|
-
|
|
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 = {
|
|
2609
2934
|
body?: never;
|
|
2610
2935
|
path?: never;
|
|
2611
2936
|
query?: never;
|
|
2612
|
-
url: '/
|
|
2937
|
+
url: '/billing/invoices/pay';
|
|
2613
2938
|
};
|
|
2614
|
-
export type
|
|
2939
|
+
export type PayOpenInvoicesErrors = {
|
|
2940
|
+
/**
|
|
2941
|
+
* The organization has no payment method that can be charged.
|
|
2942
|
+
*/
|
|
2943
|
+
400: unknown;
|
|
2615
2944
|
/**
|
|
2616
2945
|
* Not authenticated
|
|
2617
2946
|
*/
|
|
2618
2947
|
401: unknown;
|
|
2948
|
+
/**
|
|
2949
|
+
* Too many payment attempts for this organization.
|
|
2950
|
+
*/
|
|
2951
|
+
429: unknown;
|
|
2619
2952
|
};
|
|
2620
|
-
export type
|
|
2953
|
+
export type PayOpenInvoicesResponses = {
|
|
2621
2954
|
/**
|
|
2622
|
-
*
|
|
2955
|
+
* The outcome of the attempt.
|
|
2623
2956
|
*/
|
|
2624
|
-
200:
|
|
2957
|
+
200: InvoicePaymentResult;
|
|
2625
2958
|
};
|
|
2626
|
-
export type
|
|
2627
|
-
export type
|
|
2628
|
-
body
|
|
2959
|
+
export type PayOpenInvoicesResponse = PayOpenInvoicesResponses[keyof PayOpenInvoicesResponses];
|
|
2960
|
+
export type GetContactData = {
|
|
2961
|
+
body?: never;
|
|
2629
2962
|
path?: never;
|
|
2630
2963
|
query?: never;
|
|
2631
|
-
url: '/
|
|
2964
|
+
url: '/billing/contact';
|
|
2632
2965
|
};
|
|
2633
|
-
export type
|
|
2966
|
+
export type GetContactResponses = {
|
|
2634
2967
|
/**
|
|
2635
|
-
*
|
|
2968
|
+
* Returns a single object containing organization contact and billing address details.
|
|
2636
2969
|
*/
|
|
2637
|
-
200:
|
|
2970
|
+
200: BillingContact;
|
|
2638
2971
|
};
|
|
2639
|
-
export type
|
|
2640
|
-
export type
|
|
2641
|
-
body
|
|
2642
|
-
path
|
|
2643
|
-
/**
|
|
2644
|
-
* Unique user identifier. UUID v4 string in canonical form
|
|
2645
|
-
*/
|
|
2646
|
-
user_id: string;
|
|
2647
|
-
};
|
|
2972
|
+
export type GetContactResponse = GetContactResponses[keyof GetContactResponses];
|
|
2973
|
+
export type UpdateContactData = {
|
|
2974
|
+
body: BillingContact;
|
|
2975
|
+
path?: never;
|
|
2648
2976
|
query?: never;
|
|
2649
|
-
url: '/
|
|
2977
|
+
url: '/billing/contact';
|
|
2650
2978
|
};
|
|
2651
|
-
export type
|
|
2979
|
+
export type UpdateContactResponses = {
|
|
2652
2980
|
/**
|
|
2653
|
-
*
|
|
2981
|
+
* Successfully updated. Returns updated organization details.
|
|
2654
2982
|
*/
|
|
2655
|
-
|
|
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 = {
|
|
2656
2993
|
/**
|
|
2657
2994
|
* Not authenticated
|
|
2658
2995
|
*/
|
|
2659
2996
|
401: unknown;
|
|
2660
2997
|
};
|
|
2661
|
-
export type
|
|
2998
|
+
export type GetCreditsResponses = {
|
|
2662
2999
|
/**
|
|
2663
|
-
*
|
|
3000
|
+
* An array of the applied promotional credits records.
|
|
2664
3001
|
*/
|
|
2665
|
-
200:
|
|
3002
|
+
200: Array<BillingCredits>;
|
|
2666
3003
|
};
|
|
2667
|
-
export type
|
|
2668
|
-
export type
|
|
2669
|
-
body
|
|
2670
|
-
path: {
|
|
3004
|
+
export type GetCreditsResponse = GetCreditsResponses[keyof GetCreditsResponses];
|
|
3005
|
+
export type RedeemCreditsData = {
|
|
3006
|
+
body: {
|
|
2671
3007
|
/**
|
|
2672
|
-
*
|
|
3008
|
+
* Promotional code to redeem
|
|
2673
3009
|
*/
|
|
2674
|
-
|
|
3010
|
+
code?: string;
|
|
2675
3011
|
};
|
|
3012
|
+
path?: never;
|
|
2676
3013
|
query?: never;
|
|
2677
|
-
url: '/
|
|
3014
|
+
url: '/billing/credits';
|
|
2678
3015
|
};
|
|
2679
|
-
export type
|
|
3016
|
+
export type RedeemCreditsErrors = {
|
|
2680
3017
|
/**
|
|
2681
3018
|
* Not authenticated
|
|
2682
3019
|
*/
|
|
2683
3020
|
401: unknown;
|
|
2684
3021
|
};
|
|
2685
|
-
export type
|
|
2686
|
-
/**
|
|
2687
|
-
* User profile information
|
|
2688
|
-
*/
|
|
2689
|
-
200: User;
|
|
2690
|
-
};
|
|
2691
|
-
export type GetUserResponse = GetUserResponses[keyof GetUserResponses];
|
|
2692
|
-
export type UpdateUserData = {
|
|
2693
|
-
body: UserUpdateInput;
|
|
2694
|
-
path: {
|
|
2695
|
-
/**
|
|
2696
|
-
* Unique user identifier. UUID v4 string in canonical form
|
|
2697
|
-
*/
|
|
2698
|
-
user_id: string;
|
|
2699
|
-
};
|
|
2700
|
-
query?: never;
|
|
2701
|
-
url: '/users/{user_id}';
|
|
2702
|
-
};
|
|
2703
|
-
export type UpdateUserResponses = {
|
|
3022
|
+
export type RedeemCreditsResponses = {
|
|
2704
3023
|
/**
|
|
2705
|
-
* Successfully created
|
|
3024
|
+
* Successfully created a new organization.
|
|
2706
3025
|
*/
|
|
2707
|
-
200:
|
|
3026
|
+
200: unknown;
|
|
2708
3027
|
};
|
|
2709
|
-
export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
|
|
2710
3028
|
//# sourceMappingURL=types.gen.d.ts.map
|