@cloudfleet/sdk 0.0.1-8e907c6 → 0.0.1-9095a30
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 +498 -595
- package/dist/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/@tanstack/react-query.gen.js +451 -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 +377 -190
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +511 -269
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +244 -220
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +355 -320
- package/dist/sdk.gen.js.map +1 -1
- package/dist/types.gen.d.ts +1012 -802
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +1698 -1535
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +469 -346
- 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
|
/**
|
|
@@ -705,6 +880,14 @@ export type Organization = {
|
|
|
705
880
|
* Available number of Pro clusters that can be created.
|
|
706
881
|
*/
|
|
707
882
|
pro_clusters_available: number;
|
|
883
|
+
/**
|
|
884
|
+
* Maximum number of Enterprise clusters that can be created.
|
|
885
|
+
*/
|
|
886
|
+
enterprise_clusters_max: number;
|
|
887
|
+
/**
|
|
888
|
+
* Available number of Enterprise clusters that can be created.
|
|
889
|
+
*/
|
|
890
|
+
enterprise_clusters_available: number;
|
|
708
891
|
/**
|
|
709
892
|
* Maximum number of fleets that can be created per cluster.
|
|
710
893
|
*/
|
|
@@ -803,6 +986,14 @@ export type PlatformQuota = {
|
|
|
803
986
|
* Available number of Pro clusters that can be created.
|
|
804
987
|
*/
|
|
805
988
|
pro_clusters_available: number;
|
|
989
|
+
/**
|
|
990
|
+
* Maximum number of Enterprise clusters that can be created.
|
|
991
|
+
*/
|
|
992
|
+
enterprise_clusters_max: number;
|
|
993
|
+
/**
|
|
994
|
+
* Available number of Enterprise clusters that can be created.
|
|
995
|
+
*/
|
|
996
|
+
enterprise_clusters_available: number;
|
|
806
997
|
/**
|
|
807
998
|
* Maximum number of fleets that can be created per cluster.
|
|
808
999
|
*/
|
|
@@ -1015,91 +1206,6 @@ export type TicketCreateInput = {
|
|
|
1015
1206
|
[key: string]: unknown;
|
|
1016
1207
|
};
|
|
1017
1208
|
};
|
|
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
1209
|
export type TicketMessageInput = {
|
|
1104
1210
|
/**
|
|
1105
1211
|
* Reply body in markdown.
|
|
@@ -1283,7 +1389,7 @@ export type UsageFacets = {
|
|
|
1283
1389
|
/**
|
|
1284
1390
|
* List of unique products
|
|
1285
1391
|
*/
|
|
1286
|
-
product?: Array<
|
|
1392
|
+
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
1393
|
};
|
|
1288
1394
|
export type UsageResponse = {
|
|
1289
1395
|
/**
|
|
@@ -1301,7 +1407,7 @@ export type UsageResponse = {
|
|
|
1301
1407
|
/**
|
|
1302
1408
|
* The product the usage is associated with
|
|
1303
1409
|
*/
|
|
1304
|
-
product:
|
|
1410
|
+
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
1411
|
/**
|
|
1306
1412
|
* Consumption
|
|
1307
1413
|
*/
|
|
@@ -1326,7 +1432,7 @@ export type UsageResponse = {
|
|
|
1326
1432
|
/**
|
|
1327
1433
|
* List of unique products
|
|
1328
1434
|
*/
|
|
1329
|
-
product?: Array<
|
|
1435
|
+
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
1436
|
};
|
|
1331
1437
|
};
|
|
1332
1438
|
export type Usage = {
|
|
@@ -1341,7 +1447,7 @@ export type Usage = {
|
|
|
1341
1447
|
/**
|
|
1342
1448
|
* The product the usage is associated with
|
|
1343
1449
|
*/
|
|
1344
|
-
product:
|
|
1450
|
+
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
1451
|
/**
|
|
1346
1452
|
* Consumption
|
|
1347
1453
|
*/
|
|
@@ -1429,593 +1535,658 @@ export type UserUpdateInput = {
|
|
|
1429
1535
|
*/
|
|
1430
1536
|
status?: 'active' | 'inactive';
|
|
1431
1537
|
};
|
|
1432
|
-
export type
|
|
1538
|
+
export type ListUserOrganizationsData = {
|
|
1433
1539
|
body?: never;
|
|
1434
|
-
path
|
|
1435
|
-
query?: {
|
|
1540
|
+
path: {
|
|
1436
1541
|
/**
|
|
1437
|
-
*
|
|
1542
|
+
* User email address.
|
|
1438
1543
|
*/
|
|
1439
|
-
|
|
1544
|
+
email: string;
|
|
1440
1545
|
};
|
|
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
1546
|
query?: never;
|
|
1460
|
-
url: '/
|
|
1547
|
+
url: '/users/organizations/{email}';
|
|
1461
1548
|
};
|
|
1462
|
-
export type
|
|
1549
|
+
export type ListUserOrganizationsResponses = {
|
|
1463
1550
|
/**
|
|
1464
|
-
*
|
|
1465
|
-
*
|
|
1551
|
+
* An array of organizations the user belongs to.
|
|
1466
1552
|
*/
|
|
1467
|
-
200: {
|
|
1553
|
+
200: Array<{
|
|
1468
1554
|
/**
|
|
1469
|
-
*
|
|
1555
|
+
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
1470
1556
|
*/
|
|
1471
|
-
|
|
1472
|
-
|
|
1557
|
+
realm?: string;
|
|
1558
|
+
/**
|
|
1559
|
+
* Human-readable name of the organization
|
|
1560
|
+
*/
|
|
1561
|
+
displayName?: string;
|
|
1562
|
+
}>;
|
|
1473
1563
|
};
|
|
1474
|
-
export type
|
|
1475
|
-
export type
|
|
1564
|
+
export type ListUserOrganizationsResponse = ListUserOrganizationsResponses[keyof ListUserOrganizationsResponses];
|
|
1565
|
+
export type ListUsersData = {
|
|
1476
1566
|
body?: never;
|
|
1477
1567
|
path?: never;
|
|
1478
1568
|
query?: never;
|
|
1479
|
-
url: '/
|
|
1569
|
+
url: '/users';
|
|
1480
1570
|
};
|
|
1481
|
-
export type
|
|
1571
|
+
export type ListUsersErrors = {
|
|
1482
1572
|
/**
|
|
1483
1573
|
* Not authenticated
|
|
1484
1574
|
*/
|
|
1485
1575
|
401: unknown;
|
|
1486
1576
|
};
|
|
1487
|
-
export type
|
|
1577
|
+
export type ListUsersResponses = {
|
|
1488
1578
|
/**
|
|
1489
|
-
* An array of
|
|
1579
|
+
* An array of users
|
|
1490
1580
|
*/
|
|
1491
|
-
200: Array<
|
|
1581
|
+
200: Array<User>;
|
|
1492
1582
|
};
|
|
1493
|
-
export type
|
|
1494
|
-
export type
|
|
1583
|
+
export type ListUsersResponse = ListUsersResponses[keyof ListUsersResponses];
|
|
1584
|
+
export type CreateUserData = {
|
|
1585
|
+
body: UserCreateInput;
|
|
1586
|
+
path?: never;
|
|
1587
|
+
query?: never;
|
|
1588
|
+
url: '/users';
|
|
1589
|
+
};
|
|
1590
|
+
export type CreateUserResponses = {
|
|
1591
|
+
/**
|
|
1592
|
+
* Successfully created. Returns created user details.
|
|
1593
|
+
*/
|
|
1594
|
+
200: User;
|
|
1595
|
+
};
|
|
1596
|
+
export type CreateUserResponse = CreateUserResponses[keyof CreateUserResponses];
|
|
1597
|
+
export type DeleteUserData = {
|
|
1495
1598
|
body?: never;
|
|
1496
1599
|
path: {
|
|
1497
1600
|
/**
|
|
1498
|
-
*
|
|
1601
|
+
* Unique user identifier. UUID v4 string in canonical form
|
|
1499
1602
|
*/
|
|
1500
|
-
|
|
1603
|
+
user_id: string;
|
|
1501
1604
|
};
|
|
1502
1605
|
query?: never;
|
|
1503
|
-
url: '/
|
|
1606
|
+
url: '/users/{user_id}';
|
|
1504
1607
|
};
|
|
1505
|
-
export type
|
|
1608
|
+
export type DeleteUserErrors = {
|
|
1506
1609
|
/**
|
|
1507
|
-
*
|
|
1610
|
+
* Deleting own user is not allowed. Delete your organization instead.
|
|
1508
1611
|
*/
|
|
1509
1612
|
400: unknown;
|
|
1510
1613
|
/**
|
|
1511
1614
|
* Not authenticated
|
|
1512
1615
|
*/
|
|
1513
1616
|
401: unknown;
|
|
1514
|
-
/**
|
|
1515
|
-
* Payment method not found.
|
|
1516
|
-
*/
|
|
1517
|
-
404: unknown;
|
|
1518
1617
|
};
|
|
1519
|
-
export type
|
|
1618
|
+
export type DeleteUserResponses = {
|
|
1520
1619
|
/**
|
|
1521
|
-
*
|
|
1620
|
+
* User profile information
|
|
1522
1621
|
*/
|
|
1523
|
-
|
|
1622
|
+
200: User;
|
|
1524
1623
|
};
|
|
1525
|
-
export type
|
|
1526
|
-
export type
|
|
1624
|
+
export type DeleteUserResponse = DeleteUserResponses[keyof DeleteUserResponses];
|
|
1625
|
+
export type GetUserData = {
|
|
1527
1626
|
body?: never;
|
|
1528
1627
|
path: {
|
|
1529
1628
|
/**
|
|
1530
|
-
*
|
|
1629
|
+
* Unique user identifier. UUID v4 string in canonical form
|
|
1531
1630
|
*/
|
|
1532
|
-
|
|
1631
|
+
user_id: string;
|
|
1533
1632
|
};
|
|
1534
1633
|
query?: never;
|
|
1535
|
-
url: '/
|
|
1634
|
+
url: '/users/{user_id}';
|
|
1536
1635
|
};
|
|
1537
|
-
export type
|
|
1538
|
-
/**
|
|
1539
|
-
* The bank transfer payment method cannot be removed.
|
|
1540
|
-
*/
|
|
1541
|
-
400: unknown;
|
|
1636
|
+
export type GetUserErrors = {
|
|
1542
1637
|
/**
|
|
1543
1638
|
* Not authenticated
|
|
1544
1639
|
*/
|
|
1545
1640
|
401: unknown;
|
|
1641
|
+
};
|
|
1642
|
+
export type GetUserResponses = {
|
|
1546
1643
|
/**
|
|
1547
|
-
*
|
|
1548
|
-
*/
|
|
1549
|
-
404: unknown;
|
|
1550
|
-
/**
|
|
1551
|
-
* Cannot delete the only remaining payment method.
|
|
1644
|
+
* User profile information
|
|
1552
1645
|
*/
|
|
1553
|
-
|
|
1646
|
+
200: User;
|
|
1554
1647
|
};
|
|
1555
|
-
export type
|
|
1648
|
+
export type GetUserResponse = GetUserResponses[keyof GetUserResponses];
|
|
1649
|
+
export type UpdateUserData = {
|
|
1650
|
+
body: UserUpdateInput;
|
|
1651
|
+
path: {
|
|
1652
|
+
/**
|
|
1653
|
+
* Unique user identifier. UUID v4 string in canonical form
|
|
1654
|
+
*/
|
|
1655
|
+
user_id: string;
|
|
1656
|
+
};
|
|
1657
|
+
query?: never;
|
|
1658
|
+
url: '/users/{user_id}';
|
|
1659
|
+
};
|
|
1660
|
+
export type UpdateUserResponses = {
|
|
1556
1661
|
/**
|
|
1557
|
-
*
|
|
1662
|
+
* Successfully created. Returns created user details.
|
|
1558
1663
|
*/
|
|
1559
|
-
|
|
1664
|
+
200: User;
|
|
1560
1665
|
};
|
|
1561
|
-
export type
|
|
1562
|
-
export type
|
|
1666
|
+
export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
|
|
1667
|
+
export type ListTokensData = {
|
|
1563
1668
|
body?: never;
|
|
1564
1669
|
path?: never;
|
|
1565
1670
|
query?: never;
|
|
1566
|
-
url: '/
|
|
1671
|
+
url: '/tokens';
|
|
1567
1672
|
};
|
|
1568
|
-
export type
|
|
1673
|
+
export type ListTokensErrors = {
|
|
1569
1674
|
/**
|
|
1570
1675
|
* Not authenticated
|
|
1571
1676
|
*/
|
|
1572
1677
|
401: unknown;
|
|
1573
1678
|
};
|
|
1574
|
-
export type
|
|
1679
|
+
export type ListTokensResponses = {
|
|
1575
1680
|
/**
|
|
1576
|
-
*
|
|
1681
|
+
* Returns a list of access token details with masked secrets.
|
|
1577
1682
|
*/
|
|
1578
|
-
200: Array<
|
|
1683
|
+
200: Array<Token>;
|
|
1579
1684
|
};
|
|
1580
|
-
export type
|
|
1581
|
-
export type
|
|
1582
|
-
body
|
|
1685
|
+
export type ListTokensResponse = ListTokensResponses[keyof ListTokensResponses];
|
|
1686
|
+
export type CreateTokenData = {
|
|
1687
|
+
body: TokenCreateInput;
|
|
1583
1688
|
path?: never;
|
|
1584
1689
|
query?: never;
|
|
1585
|
-
url: '/
|
|
1690
|
+
url: '/tokens';
|
|
1586
1691
|
};
|
|
1587
|
-
export type
|
|
1692
|
+
export type CreateTokenErrors = {
|
|
1588
1693
|
/**
|
|
1589
|
-
*
|
|
1694
|
+
* Not authenticated
|
|
1590
1695
|
*/
|
|
1591
|
-
|
|
1696
|
+
401: unknown;
|
|
1592
1697
|
};
|
|
1593
|
-
export type
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1698
|
+
export type CreateTokenResponses = {
|
|
1699
|
+
/**
|
|
1700
|
+
* Successfully created. Returns created token details with unmasked/raw secret.
|
|
1701
|
+
*/
|
|
1702
|
+
200: Token;
|
|
1703
|
+
};
|
|
1704
|
+
export type CreateTokenResponse = CreateTokenResponses[keyof CreateTokenResponses];
|
|
1705
|
+
export type DeleteTokenData = {
|
|
1706
|
+
body?: never;
|
|
1707
|
+
path: {
|
|
1708
|
+
/**
|
|
1709
|
+
* Generated unique identifier of the access token.
|
|
1710
|
+
*/
|
|
1711
|
+
token_id: string;
|
|
1712
|
+
};
|
|
1597
1713
|
query?: never;
|
|
1598
|
-
url: '/
|
|
1714
|
+
url: '/tokens/{token_id}';
|
|
1599
1715
|
};
|
|
1600
|
-
export type
|
|
1716
|
+
export type DeleteTokenResponses = {
|
|
1601
1717
|
/**
|
|
1602
|
-
* Successfully
|
|
1718
|
+
* Successfully deleted.
|
|
1603
1719
|
*/
|
|
1604
|
-
200:
|
|
1720
|
+
200: unknown;
|
|
1605
1721
|
};
|
|
1606
|
-
export type
|
|
1607
|
-
export type GetCreditsData = {
|
|
1722
|
+
export type GetTokenData = {
|
|
1608
1723
|
body?: never;
|
|
1609
|
-
path
|
|
1724
|
+
path: {
|
|
1725
|
+
/**
|
|
1726
|
+
* Generated unique identifier of the access token.
|
|
1727
|
+
*/
|
|
1728
|
+
token_id: string;
|
|
1729
|
+
};
|
|
1610
1730
|
query?: never;
|
|
1611
|
-
url: '/
|
|
1731
|
+
url: '/tokens/{token_id}';
|
|
1612
1732
|
};
|
|
1613
|
-
export type
|
|
1733
|
+
export type GetTokenErrors = {
|
|
1614
1734
|
/**
|
|
1615
1735
|
* Not authenticated
|
|
1616
1736
|
*/
|
|
1617
1737
|
401: unknown;
|
|
1618
1738
|
};
|
|
1619
|
-
export type
|
|
1739
|
+
export type GetTokenResponses = {
|
|
1620
1740
|
/**
|
|
1621
|
-
*
|
|
1741
|
+
* Returns access token details with masked secret.
|
|
1622
1742
|
*/
|
|
1623
|
-
200:
|
|
1743
|
+
200: Token;
|
|
1624
1744
|
};
|
|
1625
|
-
export type
|
|
1626
|
-
export type
|
|
1627
|
-
body:
|
|
1745
|
+
export type GetTokenResponse = GetTokenResponses[keyof GetTokenResponses];
|
|
1746
|
+
export type UpdateTokenData = {
|
|
1747
|
+
body: TokenUpdateInput;
|
|
1748
|
+
path: {
|
|
1628
1749
|
/**
|
|
1629
|
-
*
|
|
1750
|
+
* Generated unique identifier of the access token.
|
|
1630
1751
|
*/
|
|
1631
|
-
|
|
1752
|
+
token_id: string;
|
|
1632
1753
|
};
|
|
1633
|
-
path?: never;
|
|
1634
1754
|
query?: never;
|
|
1635
|
-
url: '/
|
|
1755
|
+
url: '/tokens/{token_id}';
|
|
1636
1756
|
};
|
|
1637
|
-
export type
|
|
1757
|
+
export type UpdateTokenErrors = {
|
|
1638
1758
|
/**
|
|
1639
1759
|
* Not authenticated
|
|
1640
1760
|
*/
|
|
1641
1761
|
401: unknown;
|
|
1642
1762
|
};
|
|
1643
|
-
export type
|
|
1763
|
+
export type UpdateTokenResponses = {
|
|
1644
1764
|
/**
|
|
1645
|
-
* Successfully
|
|
1765
|
+
* Successfully updated. Returns updated token details with masked secret.
|
|
1646
1766
|
*/
|
|
1647
|
-
200:
|
|
1767
|
+
200: Token;
|
|
1648
1768
|
};
|
|
1649
|
-
export type
|
|
1769
|
+
export type UpdateTokenResponse = UpdateTokenResponses[keyof UpdateTokenResponses];
|
|
1770
|
+
export type RegenerateTokenData = {
|
|
1650
1771
|
body?: never;
|
|
1651
1772
|
path: {
|
|
1652
1773
|
/**
|
|
1653
|
-
*
|
|
1774
|
+
* Generated unique identifier of the access token.
|
|
1654
1775
|
*/
|
|
1655
|
-
|
|
1776
|
+
token_id: string;
|
|
1656
1777
|
};
|
|
1657
1778
|
query?: never;
|
|
1658
|
-
url: '/
|
|
1779
|
+
url: '/tokens/{token_id}/secret';
|
|
1659
1780
|
};
|
|
1660
|
-
export type
|
|
1781
|
+
export type RegenerateTokenErrors = {
|
|
1661
1782
|
/**
|
|
1662
1783
|
* Not authenticated
|
|
1663
1784
|
*/
|
|
1664
1785
|
401: unknown;
|
|
1665
1786
|
};
|
|
1666
|
-
export type
|
|
1787
|
+
export type RegenerateTokenResponses = {
|
|
1667
1788
|
/**
|
|
1668
|
-
*
|
|
1789
|
+
* Successfully updated. Returns updated token details with unmasked / raw secret.
|
|
1669
1790
|
*/
|
|
1670
|
-
200:
|
|
1791
|
+
200: Token;
|
|
1671
1792
|
};
|
|
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
|
-
};
|
|
1793
|
+
export type RegenerateTokenResponse = RegenerateTokenResponses[keyof RegenerateTokenResponses];
|
|
1794
|
+
export type ListTicketsData = {
|
|
1795
|
+
body?: never;
|
|
1796
|
+
path?: never;
|
|
1681
1797
|
query?: never;
|
|
1682
|
-
url: '/
|
|
1798
|
+
url: '/tickets';
|
|
1683
1799
|
};
|
|
1684
|
-
export type
|
|
1800
|
+
export type ListTicketsResponses = {
|
|
1685
1801
|
/**
|
|
1686
|
-
*
|
|
1802
|
+
* An array of tickets for the organization, newest first.
|
|
1687
1803
|
*/
|
|
1688
|
-
200:
|
|
1804
|
+
200: Array<Ticket>;
|
|
1689
1805
|
};
|
|
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;
|
|
1806
|
+
export type ListTicketsResponse = ListTicketsResponses[keyof ListTicketsResponses];
|
|
1807
|
+
export type CreateTicketData = {
|
|
1808
|
+
body: {
|
|
1698
1809
|
/**
|
|
1699
|
-
*
|
|
1810
|
+
* JSON-encoded TicketCreateInput.
|
|
1700
1811
|
*/
|
|
1701
|
-
|
|
1812
|
+
payload?: string;
|
|
1813
|
+
attachments?: Array<Blob | File>;
|
|
1702
1814
|
};
|
|
1815
|
+
path?: never;
|
|
1703
1816
|
query?: never;
|
|
1704
|
-
url: '/
|
|
1817
|
+
url: '/tickets';
|
|
1705
1818
|
};
|
|
1706
|
-
export type
|
|
1819
|
+
export type CreateTicketResponses = {
|
|
1707
1820
|
/**
|
|
1708
|
-
*
|
|
1821
|
+
* Ticket created.
|
|
1709
1822
|
*/
|
|
1710
|
-
200:
|
|
1823
|
+
200: Ticket;
|
|
1711
1824
|
};
|
|
1712
|
-
export type
|
|
1713
|
-
export type
|
|
1825
|
+
export type CreateTicketResponse = CreateTicketResponses[keyof CreateTicketResponses];
|
|
1826
|
+
export type CloseTicketData = {
|
|
1714
1827
|
body?: never;
|
|
1715
1828
|
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;
|
|
1829
|
+
ticket_id: string;
|
|
1724
1830
|
};
|
|
1725
1831
|
query?: never;
|
|
1726
|
-
url: '/
|
|
1832
|
+
url: '/tickets/{ticket_id}';
|
|
1727
1833
|
};
|
|
1728
|
-
export type
|
|
1834
|
+
export type CloseTicketResponses = {
|
|
1729
1835
|
/**
|
|
1730
|
-
*
|
|
1836
|
+
* Ticket closed.
|
|
1731
1837
|
*/
|
|
1732
|
-
200:
|
|
1838
|
+
200: Ticket;
|
|
1733
1839
|
};
|
|
1734
|
-
export type
|
|
1735
|
-
export type
|
|
1736
|
-
body
|
|
1840
|
+
export type CloseTicketResponse = CloseTicketResponses[keyof CloseTicketResponses];
|
|
1841
|
+
export type GetTicketData = {
|
|
1842
|
+
body?: never;
|
|
1737
1843
|
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;
|
|
1844
|
+
ticket_id: string;
|
|
1746
1845
|
};
|
|
1747
1846
|
query?: never;
|
|
1748
|
-
url: '/
|
|
1847
|
+
url: '/tickets/{ticket_id}';
|
|
1749
1848
|
};
|
|
1750
|
-
export type
|
|
1849
|
+
export type GetTicketResponses = {
|
|
1751
1850
|
/**
|
|
1752
|
-
*
|
|
1851
|
+
* Ticket with messages (internal notes excluded).
|
|
1753
1852
|
*/
|
|
1754
|
-
200:
|
|
1853
|
+
200: Ticket;
|
|
1755
1854
|
};
|
|
1756
|
-
export type
|
|
1757
|
-
export type
|
|
1758
|
-
body
|
|
1759
|
-
path: {
|
|
1855
|
+
export type GetTicketResponse = GetTicketResponses[keyof GetTicketResponses];
|
|
1856
|
+
export type ReplyTicketData = {
|
|
1857
|
+
body: {
|
|
1760
1858
|
/**
|
|
1761
|
-
*
|
|
1859
|
+
* JSON-encoded TicketMessageInput.
|
|
1762
1860
|
*/
|
|
1763
|
-
|
|
1861
|
+
payload?: string;
|
|
1862
|
+
attachments?: Array<Blob | File>;
|
|
1863
|
+
};
|
|
1864
|
+
path: {
|
|
1865
|
+
ticket_id: string;
|
|
1764
1866
|
};
|
|
1765
1867
|
query?: never;
|
|
1766
|
-
url: '/
|
|
1868
|
+
url: '/tickets/{ticket_id}/messages';
|
|
1767
1869
|
};
|
|
1768
|
-
export type
|
|
1870
|
+
export type ReplyTicketErrors = {
|
|
1769
1871
|
/**
|
|
1770
|
-
*
|
|
1872
|
+
* Ticket is closed. Open a new ticket instead.
|
|
1771
1873
|
*/
|
|
1772
|
-
|
|
1874
|
+
409: unknown;
|
|
1773
1875
|
};
|
|
1774
|
-
export type
|
|
1876
|
+
export type ReplyTicketResponses = {
|
|
1775
1877
|
/**
|
|
1776
|
-
*
|
|
1878
|
+
* Reply appended.
|
|
1777
1879
|
*/
|
|
1778
|
-
200:
|
|
1880
|
+
200: TicketMessage;
|
|
1779
1881
|
};
|
|
1780
|
-
export type
|
|
1781
|
-
export type
|
|
1782
|
-
body
|
|
1882
|
+
export type ReplyTicketResponse = ReplyTicketResponses[keyof ReplyTicketResponses];
|
|
1883
|
+
export type GetTicketAttachmentData = {
|
|
1884
|
+
body?: never;
|
|
1783
1885
|
path: {
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
*/
|
|
1787
|
-
cluster_id: string;
|
|
1886
|
+
ticket_id: string;
|
|
1887
|
+
attachment_id: string;
|
|
1788
1888
|
};
|
|
1789
1889
|
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;
|
|
1890
|
+
url: '/tickets/{ticket_id}/attachments/{attachment_id}';
|
|
1797
1891
|
};
|
|
1798
|
-
export type
|
|
1799
|
-
export type CreateFleetResponses = {
|
|
1892
|
+
export type GetTicketAttachmentResponses = {
|
|
1800
1893
|
/**
|
|
1801
|
-
*
|
|
1894
|
+
* Attachment binary stream.
|
|
1802
1895
|
*/
|
|
1803
|
-
200:
|
|
1896
|
+
200: Blob | File;
|
|
1804
1897
|
};
|
|
1805
|
-
export type
|
|
1806
|
-
export type
|
|
1898
|
+
export type GetTicketAttachmentResponse = GetTicketAttachmentResponses[keyof GetTicketAttachmentResponses];
|
|
1899
|
+
export type ListRepositoriesData = {
|
|
1807
1900
|
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
|
-
};
|
|
1901
|
+
path?: never;
|
|
1818
1902
|
query?: never;
|
|
1819
|
-
url: '/
|
|
1903
|
+
url: '/registry';
|
|
1820
1904
|
};
|
|
1821
|
-
export type
|
|
1905
|
+
export type ListRepositoriesErrors = {
|
|
1822
1906
|
/**
|
|
1823
|
-
*
|
|
1907
|
+
* Not authenticated
|
|
1824
1908
|
*/
|
|
1825
|
-
|
|
1909
|
+
401: unknown;
|
|
1910
|
+
/**
|
|
1911
|
+
* Internal server error
|
|
1912
|
+
*/
|
|
1913
|
+
500: unknown;
|
|
1826
1914
|
};
|
|
1827
|
-
export type
|
|
1828
|
-
|
|
1915
|
+
export type ListRepositoriesResponses = {
|
|
1916
|
+
/**
|
|
1917
|
+
* List of repositories
|
|
1918
|
+
*/
|
|
1919
|
+
200: Array<RegistryRepository>;
|
|
1920
|
+
};
|
|
1921
|
+
export type ListRepositoriesResponse = ListRepositoriesResponses[keyof ListRepositoriesResponses];
|
|
1922
|
+
export type ListTagsData = {
|
|
1829
1923
|
body?: never;
|
|
1830
1924
|
path: {
|
|
1831
1925
|
/**
|
|
1832
|
-
*
|
|
1926
|
+
* Region where the repository is located
|
|
1833
1927
|
*/
|
|
1834
|
-
|
|
1928
|
+
region: string;
|
|
1835
1929
|
/**
|
|
1836
|
-
*
|
|
1930
|
+
* Name of the repository
|
|
1837
1931
|
*/
|
|
1838
|
-
|
|
1932
|
+
repository: string;
|
|
1839
1933
|
};
|
|
1840
1934
|
query?: never;
|
|
1841
|
-
url: '/
|
|
1935
|
+
url: '/registry/{region}/{repository}';
|
|
1842
1936
|
};
|
|
1843
|
-
export type
|
|
1937
|
+
export type ListTagsErrors = {
|
|
1844
1938
|
/**
|
|
1845
|
-
*
|
|
1939
|
+
* Not authenticated
|
|
1846
1940
|
*/
|
|
1847
|
-
|
|
1941
|
+
401: unknown;
|
|
1942
|
+
/**
|
|
1943
|
+
* Repository not found
|
|
1944
|
+
*/
|
|
1945
|
+
404: unknown;
|
|
1946
|
+
/**
|
|
1947
|
+
* Internal server error
|
|
1948
|
+
*/
|
|
1949
|
+
500: unknown;
|
|
1848
1950
|
};
|
|
1849
|
-
export type
|
|
1850
|
-
|
|
1851
|
-
|
|
1951
|
+
export type ListTagsResponses = {
|
|
1952
|
+
/**
|
|
1953
|
+
* Repository with tags
|
|
1954
|
+
*/
|
|
1955
|
+
200: RegistryRepositoryWithTags;
|
|
1956
|
+
};
|
|
1957
|
+
export type ListTagsResponse = ListTagsResponses[keyof ListTagsResponses];
|
|
1958
|
+
export type DeleteTagData = {
|
|
1959
|
+
body?: never;
|
|
1852
1960
|
path: {
|
|
1853
1961
|
/**
|
|
1854
|
-
*
|
|
1962
|
+
* Region where the repository is located
|
|
1855
1963
|
*/
|
|
1856
|
-
|
|
1964
|
+
region: string;
|
|
1857
1965
|
/**
|
|
1858
|
-
*
|
|
1966
|
+
* Name of the repository
|
|
1859
1967
|
*/
|
|
1860
|
-
|
|
1968
|
+
repository: string;
|
|
1969
|
+
/**
|
|
1970
|
+
* Name of the tag
|
|
1971
|
+
*/
|
|
1972
|
+
tag: string;
|
|
1861
1973
|
};
|
|
1862
1974
|
query?: never;
|
|
1863
|
-
url: '/
|
|
1975
|
+
url: '/registry/{region}/{repository}/{tag}';
|
|
1864
1976
|
};
|
|
1865
|
-
export type
|
|
1977
|
+
export type DeleteTagErrors = {
|
|
1866
1978
|
/**
|
|
1867
|
-
*
|
|
1979
|
+
* Not authenticated
|
|
1868
1980
|
*/
|
|
1869
|
-
|
|
1981
|
+
401: unknown;
|
|
1982
|
+
/**
|
|
1983
|
+
* Tag not found
|
|
1984
|
+
*/
|
|
1985
|
+
404: unknown;
|
|
1986
|
+
/**
|
|
1987
|
+
* Internal server error
|
|
1988
|
+
*/
|
|
1989
|
+
500: unknown;
|
|
1870
1990
|
};
|
|
1871
|
-
export type
|
|
1872
|
-
export type UpdateFleetResponses = {
|
|
1991
|
+
export type DeleteTagResponses = {
|
|
1873
1992
|
/**
|
|
1874
|
-
*
|
|
1993
|
+
* Tag successfully deleted
|
|
1875
1994
|
*/
|
|
1876
|
-
200:
|
|
1995
|
+
200: unknown;
|
|
1877
1996
|
};
|
|
1878
|
-
export type
|
|
1879
|
-
export type QueryClusterData = {
|
|
1997
|
+
export type GetTagData = {
|
|
1880
1998
|
body?: never;
|
|
1881
1999
|
path: {
|
|
1882
2000
|
/**
|
|
1883
|
-
*
|
|
2001
|
+
* Region where the repository is located
|
|
1884
2002
|
*/
|
|
1885
|
-
|
|
2003
|
+
region: string;
|
|
2004
|
+
/**
|
|
2005
|
+
* Name of the repository
|
|
2006
|
+
*/
|
|
2007
|
+
repository: string;
|
|
2008
|
+
/**
|
|
2009
|
+
* Name of the tag
|
|
2010
|
+
*/
|
|
2011
|
+
tag: string;
|
|
1886
2012
|
};
|
|
1887
2013
|
query?: never;
|
|
1888
|
-
url: '/
|
|
2014
|
+
url: '/registry/{region}/{repository}/{tag}';
|
|
1889
2015
|
};
|
|
1890
|
-
export type
|
|
2016
|
+
export type GetTagErrors = {
|
|
1891
2017
|
/**
|
|
1892
2018
|
* Not authenticated
|
|
1893
2019
|
*/
|
|
1894
2020
|
401: unknown;
|
|
2021
|
+
/**
|
|
2022
|
+
* Tag not found
|
|
2023
|
+
*/
|
|
2024
|
+
404: unknown;
|
|
2025
|
+
/**
|
|
2026
|
+
* Internal server error
|
|
2027
|
+
*/
|
|
2028
|
+
500: unknown;
|
|
1895
2029
|
};
|
|
1896
|
-
export type
|
|
2030
|
+
export type GetTagResponses = {
|
|
1897
2031
|
/**
|
|
1898
|
-
*
|
|
2032
|
+
* Tag details
|
|
1899
2033
|
*/
|
|
1900
|
-
200:
|
|
2034
|
+
200: RegistryTag;
|
|
1901
2035
|
};
|
|
1902
|
-
export type
|
|
2036
|
+
export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
|
|
2037
|
+
export type GetOrganizationData = {
|
|
1903
2038
|
body?: never;
|
|
1904
2039
|
path?: never;
|
|
1905
2040
|
query?: never;
|
|
1906
|
-
url: '/
|
|
2041
|
+
url: '/organization';
|
|
1907
2042
|
};
|
|
1908
|
-
export type
|
|
2043
|
+
export type GetOrganizationResponses = {
|
|
1909
2044
|
/**
|
|
1910
|
-
*
|
|
2045
|
+
* Returns a single object containing organization details.
|
|
1911
2046
|
*/
|
|
1912
|
-
|
|
2047
|
+
200: Organization;
|
|
1913
2048
|
};
|
|
1914
|
-
export type
|
|
2049
|
+
export type GetOrganizationResponse = GetOrganizationResponses[keyof GetOrganizationResponses];
|
|
2050
|
+
export type CreateOrganizationData = {
|
|
2051
|
+
body: OrganizationCreateInput;
|
|
2052
|
+
path?: never;
|
|
2053
|
+
query?: never;
|
|
2054
|
+
url: '/organization';
|
|
2055
|
+
};
|
|
2056
|
+
export type CreateOrganizationResponses = {
|
|
1915
2057
|
/**
|
|
1916
|
-
*
|
|
2058
|
+
* Organization signup accepted. Returns the generated organization id immediately; provisioning (billing, Keycloak realm, user) continues asynchronously in the background.
|
|
2059
|
+
*
|
|
1917
2060
|
*/
|
|
1918
|
-
200:
|
|
2061
|
+
200: OrganizationCreateOutput;
|
|
1919
2062
|
};
|
|
1920
|
-
export type
|
|
1921
|
-
export type
|
|
1922
|
-
body
|
|
2063
|
+
export type CreateOrganizationResponse = CreateOrganizationResponses[keyof CreateOrganizationResponses];
|
|
2064
|
+
export type GetBasicPriceConsentData = {
|
|
2065
|
+
body?: never;
|
|
1923
2066
|
path?: never;
|
|
1924
2067
|
query?: never;
|
|
1925
|
-
url: '/
|
|
2068
|
+
url: '/organization/basic-price-consent';
|
|
1926
2069
|
};
|
|
1927
|
-
export type
|
|
2070
|
+
export type GetBasicPriceConsentResponses = {
|
|
1928
2071
|
/**
|
|
1929
|
-
*
|
|
2072
|
+
* Returns the current consent status.
|
|
1930
2073
|
*/
|
|
1931
|
-
|
|
2074
|
+
200: BasicPriceConsent;
|
|
1932
2075
|
};
|
|
1933
|
-
export type
|
|
1934
|
-
export type
|
|
2076
|
+
export type GetBasicPriceConsentResponse = GetBasicPriceConsentResponses[keyof GetBasicPriceConsentResponses];
|
|
2077
|
+
export type SetBasicPriceConsentData = {
|
|
2078
|
+
body: BasicPriceConsentInput;
|
|
2079
|
+
path?: never;
|
|
2080
|
+
query?: never;
|
|
2081
|
+
url: '/organization/basic-price-consent';
|
|
2082
|
+
};
|
|
2083
|
+
export type SetBasicPriceConsentErrors = {
|
|
1935
2084
|
/**
|
|
1936
|
-
*
|
|
2085
|
+
* The authenticated principal has no email address (e.g. a service account) and cannot record this decision.
|
|
2086
|
+
*
|
|
1937
2087
|
*/
|
|
1938
|
-
|
|
2088
|
+
401: unknown;
|
|
2089
|
+
/**
|
|
2090
|
+
* The consent flow does not apply to this organization.
|
|
2091
|
+
*/
|
|
2092
|
+
409: unknown;
|
|
1939
2093
|
};
|
|
1940
|
-
export type
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
2094
|
+
export type SetBasicPriceConsentResponses = {
|
|
2095
|
+
/**
|
|
2096
|
+
* Decision recorded. Returns the updated consent status.
|
|
2097
|
+
*/
|
|
2098
|
+
200: BasicPriceConsent;
|
|
2099
|
+
};
|
|
2100
|
+
export type SetBasicPriceConsentResponse = SetBasicPriceConsentResponses[keyof SetBasicPriceConsentResponses];
|
|
2101
|
+
export type PostMcpData = {
|
|
2102
|
+
/**
|
|
2103
|
+
* JSON-RPC 2.0 request payload
|
|
2104
|
+
*/
|
|
2105
|
+
body: {
|
|
2106
|
+
jsonrpc?: string;
|
|
2107
|
+
method?: string;
|
|
2108
|
+
id?: string | number;
|
|
1944
2109
|
/**
|
|
1945
|
-
*
|
|
2110
|
+
* Method-specific parameters
|
|
1946
2111
|
*/
|
|
1947
|
-
|
|
2112
|
+
params?: {
|
|
2113
|
+
[key: string]: unknown;
|
|
2114
|
+
};
|
|
1948
2115
|
};
|
|
2116
|
+
path?: never;
|
|
1949
2117
|
query?: never;
|
|
1950
|
-
url: '/
|
|
2118
|
+
url: '/mcp';
|
|
1951
2119
|
};
|
|
1952
|
-
export type
|
|
2120
|
+
export type PostMcpErrors = {
|
|
1953
2121
|
/**
|
|
1954
|
-
*
|
|
2122
|
+
* Not authenticated
|
|
1955
2123
|
*/
|
|
1956
|
-
|
|
2124
|
+
401: unknown;
|
|
1957
2125
|
};
|
|
1958
|
-
export type
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
2126
|
+
export type PostMcpResponses = {
|
|
2127
|
+
/**
|
|
2128
|
+
* JSON-RPC 2.0 success or error response
|
|
2129
|
+
*/
|
|
2130
|
+
200: {
|
|
2131
|
+
jsonrpc?: string;
|
|
2132
|
+
id?: string | number;
|
|
2133
|
+
result?: {
|
|
2134
|
+
[key: string]: unknown;
|
|
2135
|
+
};
|
|
2136
|
+
error?: {
|
|
2137
|
+
code?: number;
|
|
2138
|
+
message?: string;
|
|
2139
|
+
};
|
|
1966
2140
|
};
|
|
2141
|
+
};
|
|
2142
|
+
export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
|
|
2143
|
+
export type ListMarketplaceChartsData = {
|
|
2144
|
+
body?: never;
|
|
2145
|
+
path?: never;
|
|
1967
2146
|
query?: never;
|
|
1968
|
-
url: '/
|
|
2147
|
+
url: '/marketplace';
|
|
1969
2148
|
};
|
|
1970
|
-
export type
|
|
2149
|
+
export type ListMarketplaceChartsErrors = {
|
|
1971
2150
|
/**
|
|
1972
|
-
*
|
|
2151
|
+
* Not authenticated
|
|
1973
2152
|
*/
|
|
1974
|
-
|
|
1975
|
-
};
|
|
1976
|
-
export type GetClusterResponse = GetClusterResponses[keyof GetClusterResponses];
|
|
1977
|
-
export type UpdateClusterData = {
|
|
1978
|
-
body: ClusterUpdateInput;
|
|
1979
|
-
path: {
|
|
1980
|
-
/**
|
|
1981
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1982
|
-
*/
|
|
1983
|
-
cluster_id: string;
|
|
1984
|
-
};
|
|
1985
|
-
query?: never;
|
|
1986
|
-
url: '/clusters/{cluster_id}';
|
|
2153
|
+
401: unknown;
|
|
1987
2154
|
};
|
|
1988
|
-
export type
|
|
2155
|
+
export type ListMarketplaceChartsResponses = {
|
|
1989
2156
|
/**
|
|
1990
|
-
*
|
|
2157
|
+
* An array of chart listings in the marketplace.
|
|
1991
2158
|
*/
|
|
1992
|
-
200:
|
|
2159
|
+
200: Array<MarketplaceListing>;
|
|
1993
2160
|
};
|
|
1994
|
-
export type
|
|
1995
|
-
export type
|
|
2161
|
+
export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
|
|
2162
|
+
export type GetMarketplaceChartFilesData = {
|
|
1996
2163
|
body?: never;
|
|
1997
2164
|
path: {
|
|
1998
2165
|
/**
|
|
1999
|
-
*
|
|
2166
|
+
* Name of the chart in the marketplace.
|
|
2000
2167
|
*/
|
|
2001
|
-
|
|
2168
|
+
chart_name: string;
|
|
2169
|
+
/**
|
|
2170
|
+
* 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).
|
|
2171
|
+
*/
|
|
2172
|
+
version_channel: string;
|
|
2002
2173
|
};
|
|
2003
2174
|
query?: never;
|
|
2004
|
-
url: '/
|
|
2175
|
+
url: '/marketplace/{chart_name}/files/{version_channel}';
|
|
2005
2176
|
};
|
|
2006
|
-
export type
|
|
2177
|
+
export type GetMarketplaceChartFilesErrors = {
|
|
2007
2178
|
/**
|
|
2008
|
-
*
|
|
2179
|
+
* Chart not found or no version matches the channel
|
|
2009
2180
|
*/
|
|
2010
|
-
|
|
2181
|
+
404: unknown;
|
|
2011
2182
|
};
|
|
2012
|
-
export type
|
|
2183
|
+
export type GetMarketplaceChartFilesResponses = {
|
|
2013
2184
|
/**
|
|
2014
|
-
*
|
|
2185
|
+
* Returns an object containing the chart files for the latest matching version.
|
|
2015
2186
|
*/
|
|
2016
|
-
200:
|
|
2187
|
+
200: MarketplaceListingFiles;
|
|
2017
2188
|
};
|
|
2018
|
-
export type
|
|
2189
|
+
export type GetMarketplaceChartFilesResponse = GetMarketplaceChartFilesResponses[keyof GetMarketplaceChartFilesResponses];
|
|
2019
2190
|
export type ListInvitesData = {
|
|
2020
2191
|
body?: never;
|
|
2021
2192
|
path?: never;
|
|
@@ -2092,619 +2263,658 @@ export type DeleteInviteResponses = {
|
|
|
2092
2263
|
*/
|
|
2093
2264
|
200: unknown;
|
|
2094
2265
|
};
|
|
2095
|
-
export type
|
|
2266
|
+
export type QueryClusterData = {
|
|
2096
2267
|
body?: never;
|
|
2097
|
-
path
|
|
2268
|
+
path: {
|
|
2269
|
+
/**
|
|
2270
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2271
|
+
*/
|
|
2272
|
+
cluster_id: string;
|
|
2273
|
+
};
|
|
2098
2274
|
query?: never;
|
|
2099
|
-
url: '/
|
|
2275
|
+
url: '/clusters/{cluster_id}/query';
|
|
2100
2276
|
};
|
|
2101
|
-
export type
|
|
2277
|
+
export type QueryClusterErrors = {
|
|
2102
2278
|
/**
|
|
2103
2279
|
* Not authenticated
|
|
2104
2280
|
*/
|
|
2105
2281
|
401: unknown;
|
|
2106
2282
|
};
|
|
2107
|
-
export type
|
|
2283
|
+
export type QueryClusterResponses = {
|
|
2108
2284
|
/**
|
|
2109
|
-
*
|
|
2285
|
+
* Kubernetes API response
|
|
2110
2286
|
*/
|
|
2111
|
-
200:
|
|
2287
|
+
200: unknown;
|
|
2112
2288
|
};
|
|
2113
|
-
export type
|
|
2114
|
-
export type GetMarketplaceChartFilesData = {
|
|
2289
|
+
export type ListFleetsData = {
|
|
2115
2290
|
body?: never;
|
|
2116
2291
|
path: {
|
|
2117
2292
|
/**
|
|
2118
|
-
*
|
|
2293
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2119
2294
|
*/
|
|
2120
|
-
|
|
2295
|
+
cluster_id: string;
|
|
2296
|
+
};
|
|
2297
|
+
query?: never;
|
|
2298
|
+
url: '/clusters/{cluster_id}/fleets';
|
|
2299
|
+
};
|
|
2300
|
+
export type ListFleetsErrors = {
|
|
2301
|
+
/**
|
|
2302
|
+
* Not authenticated
|
|
2303
|
+
*/
|
|
2304
|
+
401: unknown;
|
|
2305
|
+
};
|
|
2306
|
+
export type ListFleetsResponses = {
|
|
2307
|
+
/**
|
|
2308
|
+
* An array of fleets
|
|
2309
|
+
*/
|
|
2310
|
+
200: Array<Fleet>;
|
|
2311
|
+
};
|
|
2312
|
+
export type ListFleetsResponse = ListFleetsResponses[keyof ListFleetsResponses];
|
|
2313
|
+
export type CreateFleetData = {
|
|
2314
|
+
body: FleetCreateInput;
|
|
2315
|
+
path: {
|
|
2121
2316
|
/**
|
|
2122
|
-
*
|
|
2317
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2123
2318
|
*/
|
|
2124
|
-
|
|
2319
|
+
cluster_id: string;
|
|
2125
2320
|
};
|
|
2126
2321
|
query?: never;
|
|
2127
|
-
url: '/
|
|
2322
|
+
url: '/clusters/{cluster_id}/fleets';
|
|
2128
2323
|
};
|
|
2129
|
-
export type
|
|
2324
|
+
export type CreateFleetErrors = {
|
|
2130
2325
|
/**
|
|
2131
|
-
*
|
|
2326
|
+
* Cluster quota exceeded. Maximum number of fleets per cluster allowed in this organization is reached.
|
|
2132
2327
|
*/
|
|
2133
|
-
|
|
2134
|
-
};
|
|
2135
|
-
export type GetMarketplaceChartFilesResponses = {
|
|
2328
|
+
402: string;
|
|
2136
2329
|
/**
|
|
2137
|
-
*
|
|
2330
|
+
* 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
2331
|
*/
|
|
2139
|
-
|
|
2332
|
+
409: string;
|
|
2140
2333
|
};
|
|
2141
|
-
export type
|
|
2142
|
-
export type
|
|
2334
|
+
export type CreateFleetError = CreateFleetErrors[keyof CreateFleetErrors];
|
|
2335
|
+
export type CreateFleetResponses = {
|
|
2143
2336
|
/**
|
|
2144
|
-
*
|
|
2337
|
+
* Successfully created. Returns created Fleet ID.
|
|
2145
2338
|
*/
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2339
|
+
200: string;
|
|
2340
|
+
};
|
|
2341
|
+
export type CreateFleetResponse = CreateFleetResponses[keyof CreateFleetResponses];
|
|
2342
|
+
export type DeleteFleetData = {
|
|
2343
|
+
body?: never;
|
|
2344
|
+
path: {
|
|
2150
2345
|
/**
|
|
2151
|
-
*
|
|
2346
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2152
2347
|
*/
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2348
|
+
cluster_id: string;
|
|
2349
|
+
/**
|
|
2350
|
+
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
2351
|
+
*/
|
|
2352
|
+
fleet_name: string;
|
|
2156
2353
|
};
|
|
2157
|
-
path?: never;
|
|
2158
2354
|
query?: never;
|
|
2159
|
-
url: '/
|
|
2355
|
+
url: '/clusters/{cluster_id}/fleets/{fleet_name}';
|
|
2160
2356
|
};
|
|
2161
|
-
export type
|
|
2357
|
+
export type DeleteFleetErrors = {
|
|
2162
2358
|
/**
|
|
2163
|
-
*
|
|
2359
|
+
* 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
2360
|
*/
|
|
2165
|
-
|
|
2361
|
+
409: string;
|
|
2166
2362
|
};
|
|
2167
|
-
export type
|
|
2363
|
+
export type DeleteFleetError = DeleteFleetErrors[keyof DeleteFleetErrors];
|
|
2364
|
+
export type DeleteFleetResponses = {
|
|
2168
2365
|
/**
|
|
2169
|
-
*
|
|
2366
|
+
* Successfully deleted.
|
|
2170
2367
|
*/
|
|
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
|
-
};
|
|
2368
|
+
200: string;
|
|
2182
2369
|
};
|
|
2183
|
-
export type
|
|
2184
|
-
export type
|
|
2370
|
+
export type DeleteFleetResponse = DeleteFleetResponses[keyof DeleteFleetResponses];
|
|
2371
|
+
export type GetFleetData = {
|
|
2185
2372
|
body?: never;
|
|
2186
|
-
path
|
|
2373
|
+
path: {
|
|
2374
|
+
/**
|
|
2375
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2376
|
+
*/
|
|
2377
|
+
cluster_id: string;
|
|
2378
|
+
/**
|
|
2379
|
+
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
2380
|
+
*/
|
|
2381
|
+
fleet_name: string;
|
|
2382
|
+
};
|
|
2187
2383
|
query?: never;
|
|
2188
|
-
url: '/
|
|
2384
|
+
url: '/clusters/{cluster_id}/fleets/{fleet_name}';
|
|
2189
2385
|
};
|
|
2190
|
-
export type
|
|
2386
|
+
export type GetFleetResponses = {
|
|
2191
2387
|
/**
|
|
2192
|
-
* Returns a single object containing
|
|
2388
|
+
* Returns a single object containing fleet details.
|
|
2193
2389
|
*/
|
|
2194
|
-
200:
|
|
2390
|
+
200: Fleet;
|
|
2195
2391
|
};
|
|
2196
|
-
export type
|
|
2197
|
-
export type
|
|
2198
|
-
body:
|
|
2199
|
-
path
|
|
2392
|
+
export type GetFleetResponse = GetFleetResponses[keyof GetFleetResponses];
|
|
2393
|
+
export type UpdateFleetData = {
|
|
2394
|
+
body: FleetUpdateInput;
|
|
2395
|
+
path: {
|
|
2396
|
+
/**
|
|
2397
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2398
|
+
*/
|
|
2399
|
+
cluster_id: string;
|
|
2400
|
+
/**
|
|
2401
|
+
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
2402
|
+
*/
|
|
2403
|
+
fleet_name: string;
|
|
2404
|
+
};
|
|
2200
2405
|
query?: never;
|
|
2201
|
-
url: '/
|
|
2406
|
+
url: '/clusters/{cluster_id}/fleets/{fleet_name}';
|
|
2202
2407
|
};
|
|
2203
|
-
export type
|
|
2408
|
+
export type UpdateFleetErrors = {
|
|
2204
2409
|
/**
|
|
2205
|
-
* Organization
|
|
2206
|
-
*
|
|
2410
|
+
* Organization must have a valid payment method configured to access this endpoint.
|
|
2207
2411
|
*/
|
|
2208
|
-
|
|
2412
|
+
402: string;
|
|
2413
|
+
/**
|
|
2414
|
+
* 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.
|
|
2415
|
+
*/
|
|
2416
|
+
409: string;
|
|
2209
2417
|
};
|
|
2210
|
-
export type
|
|
2211
|
-
export type
|
|
2418
|
+
export type UpdateFleetError = UpdateFleetErrors[keyof UpdateFleetErrors];
|
|
2419
|
+
export type UpdateFleetResponses = {
|
|
2420
|
+
/**
|
|
2421
|
+
* Successfully updated.
|
|
2422
|
+
*/
|
|
2423
|
+
200: string;
|
|
2424
|
+
};
|
|
2425
|
+
export type UpdateFleetResponse = UpdateFleetResponses[keyof UpdateFleetResponses];
|
|
2426
|
+
export type ListChartsData = {
|
|
2212
2427
|
body?: never;
|
|
2213
|
-
path
|
|
2428
|
+
path: {
|
|
2429
|
+
/**
|
|
2430
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2431
|
+
*/
|
|
2432
|
+
cluster_id: string;
|
|
2433
|
+
};
|
|
2214
2434
|
query?: never;
|
|
2215
|
-
url: '/
|
|
2435
|
+
url: '/clusters/{cluster_id}/charts';
|
|
2216
2436
|
};
|
|
2217
|
-
export type
|
|
2437
|
+
export type ListChartsErrors = {
|
|
2218
2438
|
/**
|
|
2219
2439
|
* Not authenticated
|
|
2220
2440
|
*/
|
|
2221
2441
|
401: unknown;
|
|
2442
|
+
};
|
|
2443
|
+
export type ListChartsResponses = {
|
|
2444
|
+
/**
|
|
2445
|
+
* An array of charts
|
|
2446
|
+
*/
|
|
2447
|
+
200: Array<Chart>;
|
|
2448
|
+
};
|
|
2449
|
+
export type ListChartsResponse = ListChartsResponses[keyof ListChartsResponses];
|
|
2450
|
+
export type CreateChartData = {
|
|
2451
|
+
body: ChartCreateInput;
|
|
2452
|
+
path: {
|
|
2453
|
+
/**
|
|
2454
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2455
|
+
*/
|
|
2456
|
+
cluster_id: string;
|
|
2457
|
+
};
|
|
2458
|
+
query?: never;
|
|
2459
|
+
url: '/clusters/{cluster_id}/charts';
|
|
2460
|
+
};
|
|
2461
|
+
export type CreateChartErrors = {
|
|
2222
2462
|
/**
|
|
2223
|
-
*
|
|
2463
|
+
* 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.
|
|
2224
2464
|
*/
|
|
2225
|
-
|
|
2465
|
+
409: string;
|
|
2226
2466
|
};
|
|
2227
|
-
export type
|
|
2467
|
+
export type CreateChartError = CreateChartErrors[keyof CreateChartErrors];
|
|
2468
|
+
export type CreateChartResponses = {
|
|
2228
2469
|
/**
|
|
2229
|
-
*
|
|
2470
|
+
* Successfully created. Returns created Chart ID.
|
|
2230
2471
|
*/
|
|
2231
|
-
200:
|
|
2472
|
+
200: string;
|
|
2232
2473
|
};
|
|
2233
|
-
export type
|
|
2234
|
-
export type
|
|
2474
|
+
export type CreateChartResponse = CreateChartResponses[keyof CreateChartResponses];
|
|
2475
|
+
export type DeleteChartData = {
|
|
2235
2476
|
body?: never;
|
|
2236
2477
|
path: {
|
|
2237
2478
|
/**
|
|
2238
|
-
*
|
|
2479
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2239
2480
|
*/
|
|
2240
|
-
|
|
2481
|
+
cluster_id: string;
|
|
2241
2482
|
/**
|
|
2242
|
-
*
|
|
2483
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
2243
2484
|
*/
|
|
2244
|
-
|
|
2485
|
+
chart_name: string;
|
|
2245
2486
|
};
|
|
2246
2487
|
query?: never;
|
|
2247
|
-
url: '/
|
|
2488
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
2248
2489
|
};
|
|
2249
|
-
export type
|
|
2250
|
-
/**
|
|
2251
|
-
* Not authenticated
|
|
2252
|
-
*/
|
|
2253
|
-
401: unknown;
|
|
2254
|
-
/**
|
|
2255
|
-
* Repository not found
|
|
2256
|
-
*/
|
|
2257
|
-
404: unknown;
|
|
2490
|
+
export type DeleteChartErrors = {
|
|
2258
2491
|
/**
|
|
2259
|
-
*
|
|
2492
|
+
* 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
2493
|
*/
|
|
2261
|
-
|
|
2494
|
+
409: string;
|
|
2262
2495
|
};
|
|
2263
|
-
export type
|
|
2496
|
+
export type DeleteChartError = DeleteChartErrors[keyof DeleteChartErrors];
|
|
2497
|
+
export type DeleteChartResponses = {
|
|
2264
2498
|
/**
|
|
2265
|
-
*
|
|
2499
|
+
* Successfully deleted.
|
|
2266
2500
|
*/
|
|
2267
|
-
200:
|
|
2501
|
+
200: string;
|
|
2268
2502
|
};
|
|
2269
|
-
export type
|
|
2270
|
-
export type
|
|
2503
|
+
export type DeleteChartResponse = DeleteChartResponses[keyof DeleteChartResponses];
|
|
2504
|
+
export type GetChartData = {
|
|
2271
2505
|
body?: never;
|
|
2272
2506
|
path: {
|
|
2273
2507
|
/**
|
|
2274
|
-
*
|
|
2275
|
-
*/
|
|
2276
|
-
region: string;
|
|
2277
|
-
/**
|
|
2278
|
-
* Name of the repository
|
|
2508
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2279
2509
|
*/
|
|
2280
|
-
|
|
2510
|
+
cluster_id: string;
|
|
2281
2511
|
/**
|
|
2282
|
-
*
|
|
2512
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
2283
2513
|
*/
|
|
2284
|
-
|
|
2514
|
+
chart_name: string;
|
|
2285
2515
|
};
|
|
2286
2516
|
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;
|
|
2517
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
2302
2518
|
};
|
|
2303
|
-
export type
|
|
2519
|
+
export type GetChartResponses = {
|
|
2304
2520
|
/**
|
|
2305
|
-
*
|
|
2521
|
+
* Returns a single object containing chart details.
|
|
2306
2522
|
*/
|
|
2307
|
-
200:
|
|
2523
|
+
200: Chart;
|
|
2308
2524
|
};
|
|
2309
|
-
export type
|
|
2310
|
-
|
|
2525
|
+
export type GetChartResponse = GetChartResponses[keyof GetChartResponses];
|
|
2526
|
+
export type UpdateChartData = {
|
|
2527
|
+
body: ChartUpdateInput;
|
|
2311
2528
|
path: {
|
|
2312
2529
|
/**
|
|
2313
|
-
*
|
|
2314
|
-
*/
|
|
2315
|
-
region: string;
|
|
2316
|
-
/**
|
|
2317
|
-
* Name of the repository
|
|
2530
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2318
2531
|
*/
|
|
2319
|
-
|
|
2532
|
+
cluster_id: string;
|
|
2320
2533
|
/**
|
|
2321
|
-
*
|
|
2534
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
2322
2535
|
*/
|
|
2323
|
-
|
|
2536
|
+
chart_name: string;
|
|
2324
2537
|
};
|
|
2325
2538
|
query?: never;
|
|
2326
|
-
url: '/
|
|
2539
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
2327
2540
|
};
|
|
2328
|
-
export type
|
|
2329
|
-
/**
|
|
2330
|
-
* Not authenticated
|
|
2331
|
-
*/
|
|
2332
|
-
401: unknown;
|
|
2333
|
-
/**
|
|
2334
|
-
* Tag not found
|
|
2335
|
-
*/
|
|
2336
|
-
404: unknown;
|
|
2541
|
+
export type UpdateChartErrors = {
|
|
2337
2542
|
/**
|
|
2338
|
-
*
|
|
2543
|
+
* 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
2544
|
*/
|
|
2340
|
-
|
|
2545
|
+
409: string;
|
|
2341
2546
|
};
|
|
2342
|
-
export type
|
|
2547
|
+
export type UpdateChartError = UpdateChartErrors[keyof UpdateChartErrors];
|
|
2548
|
+
export type UpdateChartResponses = {
|
|
2343
2549
|
/**
|
|
2344
|
-
*
|
|
2550
|
+
* Successfully updated.
|
|
2345
2551
|
*/
|
|
2346
|
-
200:
|
|
2552
|
+
200: string;
|
|
2347
2553
|
};
|
|
2348
|
-
export type
|
|
2349
|
-
export type
|
|
2554
|
+
export type UpdateChartResponse = UpdateChartResponses[keyof UpdateChartResponses];
|
|
2555
|
+
export type ListClustersData = {
|
|
2350
2556
|
body?: never;
|
|
2351
2557
|
path?: never;
|
|
2352
2558
|
query?: never;
|
|
2353
|
-
url: '/
|
|
2559
|
+
url: '/clusters';
|
|
2354
2560
|
};
|
|
2355
|
-
export type
|
|
2561
|
+
export type ListClustersErrors = {
|
|
2356
2562
|
/**
|
|
2357
|
-
*
|
|
2563
|
+
* Not authenticated
|
|
2358
2564
|
*/
|
|
2359
|
-
|
|
2565
|
+
401: unknown;
|
|
2360
2566
|
};
|
|
2361
|
-
export type
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
|
|
2567
|
+
export type ListClustersResponses = {
|
|
2568
|
+
/**
|
|
2569
|
+
* An array of clusters
|
|
2570
|
+
*/
|
|
2571
|
+
200: Array<Cluster>;
|
|
2572
|
+
};
|
|
2573
|
+
export type ListClustersResponse = ListClustersResponses[keyof ListClustersResponses];
|
|
2574
|
+
export type CreateClusterData = {
|
|
2575
|
+
body: ClusterCreateInput;
|
|
2370
2576
|
path?: never;
|
|
2371
2577
|
query?: never;
|
|
2372
|
-
url: '/
|
|
2578
|
+
url: '/clusters';
|
|
2373
2579
|
};
|
|
2374
|
-
export type
|
|
2580
|
+
export type CreateClusterErrors = {
|
|
2375
2581
|
/**
|
|
2376
|
-
*
|
|
2582
|
+
* Cluster quota exceeded. Maximum number of clusters allowed in this organization is reached.
|
|
2377
2583
|
*/
|
|
2378
|
-
|
|
2584
|
+
402: string;
|
|
2379
2585
|
};
|
|
2380
|
-
export type
|
|
2381
|
-
export type
|
|
2586
|
+
export type CreateClusterError = CreateClusterErrors[keyof CreateClusterErrors];
|
|
2587
|
+
export type CreateClusterResponses = {
|
|
2588
|
+
/**
|
|
2589
|
+
* Successfully created. Returns created Cluster ID.
|
|
2590
|
+
*/
|
|
2591
|
+
200: string;
|
|
2592
|
+
};
|
|
2593
|
+
export type CreateClusterResponse = CreateClusterResponses[keyof CreateClusterResponses];
|
|
2594
|
+
export type DeleteClusterData = {
|
|
2382
2595
|
body?: never;
|
|
2383
2596
|
path: {
|
|
2384
|
-
|
|
2597
|
+
/**
|
|
2598
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2599
|
+
*/
|
|
2600
|
+
cluster_id: string;
|
|
2385
2601
|
};
|
|
2386
2602
|
query?: never;
|
|
2387
|
-
url: '/
|
|
2603
|
+
url: '/clusters/{cluster_id}';
|
|
2388
2604
|
};
|
|
2389
|
-
export type
|
|
2605
|
+
export type DeleteClusterErrors = {
|
|
2390
2606
|
/**
|
|
2391
|
-
*
|
|
2607
|
+
* Cluster not found; it does not exist or has already been deleted.
|
|
2392
2608
|
*/
|
|
2393
|
-
|
|
2609
|
+
404: unknown;
|
|
2610
|
+
/**
|
|
2611
|
+
* 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.
|
|
2612
|
+
*/
|
|
2613
|
+
409: string;
|
|
2614
|
+
/**
|
|
2615
|
+
* Transient failure tearing down the cluster; retry the request.
|
|
2616
|
+
*/
|
|
2617
|
+
503: unknown;
|
|
2394
2618
|
};
|
|
2395
|
-
export type
|
|
2396
|
-
export type
|
|
2619
|
+
export type DeleteClusterError = DeleteClusterErrors[keyof DeleteClusterErrors];
|
|
2620
|
+
export type DeleteClusterResponses = {
|
|
2621
|
+
/**
|
|
2622
|
+
* Successfully deleted. The cluster has been torn down.
|
|
2623
|
+
*/
|
|
2624
|
+
200: string;
|
|
2625
|
+
};
|
|
2626
|
+
export type DeleteClusterResponse = DeleteClusterResponses[keyof DeleteClusterResponses];
|
|
2627
|
+
export type GetClusterData = {
|
|
2397
2628
|
body?: never;
|
|
2398
2629
|
path: {
|
|
2399
|
-
|
|
2630
|
+
/**
|
|
2631
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2632
|
+
*/
|
|
2633
|
+
cluster_id: string;
|
|
2400
2634
|
};
|
|
2401
2635
|
query?: never;
|
|
2402
|
-
url: '/
|
|
2636
|
+
url: '/clusters/{cluster_id}';
|
|
2403
2637
|
};
|
|
2404
|
-
export type
|
|
2638
|
+
export type GetClusterResponses = {
|
|
2405
2639
|
/**
|
|
2406
|
-
*
|
|
2640
|
+
* Returns a single object containing cluster details.
|
|
2407
2641
|
*/
|
|
2408
|
-
200:
|
|
2642
|
+
200: Cluster;
|
|
2409
2643
|
};
|
|
2410
|
-
export type
|
|
2411
|
-
export type
|
|
2412
|
-
body:
|
|
2644
|
+
export type GetClusterResponse = GetClusterResponses[keyof GetClusterResponses];
|
|
2645
|
+
export type UpdateClusterData = {
|
|
2646
|
+
body: ClusterUpdateInput;
|
|
2647
|
+
path: {
|
|
2413
2648
|
/**
|
|
2414
|
-
*
|
|
2649
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2415
2650
|
*/
|
|
2416
|
-
|
|
2417
|
-
attachments?: Array<Blob | File>;
|
|
2418
|
-
};
|
|
2419
|
-
path: {
|
|
2420
|
-
ticket_id: string;
|
|
2651
|
+
cluster_id: string;
|
|
2421
2652
|
};
|
|
2422
2653
|
query?: never;
|
|
2423
|
-
url: '/
|
|
2654
|
+
url: '/clusters/{cluster_id}';
|
|
2424
2655
|
};
|
|
2425
|
-
export type
|
|
2656
|
+
export type UpdateClusterErrors = {
|
|
2426
2657
|
/**
|
|
2427
|
-
*
|
|
2658
|
+
* 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
2659
|
*/
|
|
2429
|
-
409:
|
|
2660
|
+
409: string;
|
|
2430
2661
|
};
|
|
2431
|
-
export type
|
|
2662
|
+
export type UpdateClusterError = UpdateClusterErrors[keyof UpdateClusterErrors];
|
|
2663
|
+
export type UpdateClusterResponses = {
|
|
2432
2664
|
/**
|
|
2433
|
-
*
|
|
2665
|
+
* Successfully updated. Returns updated cluster details.
|
|
2434
2666
|
*/
|
|
2435
|
-
200:
|
|
2667
|
+
200: Cluster;
|
|
2436
2668
|
};
|
|
2437
|
-
export type
|
|
2438
|
-
export type
|
|
2669
|
+
export type UpdateClusterResponse = UpdateClusterResponses[keyof UpdateClusterResponses];
|
|
2670
|
+
export type GetJoinInformationData = {
|
|
2439
2671
|
body?: never;
|
|
2440
2672
|
path: {
|
|
2441
|
-
|
|
2442
|
-
|
|
2673
|
+
/**
|
|
2674
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2675
|
+
*/
|
|
2676
|
+
cluster_id: string;
|
|
2443
2677
|
};
|
|
2444
2678
|
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';
|
|
2679
|
+
url: '/clusters/{cluster_id}/join_information';
|
|
2459
2680
|
};
|
|
2460
|
-
export type
|
|
2681
|
+
export type GetJoinInformationErrors = {
|
|
2461
2682
|
/**
|
|
2462
2683
|
* Not authenticated
|
|
2463
2684
|
*/
|
|
2464
2685
|
401: unknown;
|
|
2686
|
+
/**
|
|
2687
|
+
* 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.
|
|
2688
|
+
*/
|
|
2689
|
+
409: string;
|
|
2690
|
+
/**
|
|
2691
|
+
* 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.
|
|
2692
|
+
*/
|
|
2693
|
+
426: string;
|
|
2465
2694
|
};
|
|
2466
|
-
export type
|
|
2695
|
+
export type GetJoinInformationError = GetJoinInformationErrors[keyof GetJoinInformationErrors];
|
|
2696
|
+
export type GetJoinInformationResponses = {
|
|
2467
2697
|
/**
|
|
2468
|
-
*
|
|
2698
|
+
* An object of cluster join information
|
|
2469
2699
|
*/
|
|
2470
|
-
200:
|
|
2700
|
+
200: ClusterJoinInformation;
|
|
2471
2701
|
};
|
|
2472
|
-
export type
|
|
2473
|
-
export type
|
|
2474
|
-
body
|
|
2702
|
+
export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
|
|
2703
|
+
export type GetUsageData = {
|
|
2704
|
+
body?: never;
|
|
2475
2705
|
path?: never;
|
|
2476
|
-
query?:
|
|
2477
|
-
|
|
2706
|
+
query?: {
|
|
2707
|
+
/**
|
|
2708
|
+
* 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)
|
|
2709
|
+
*/
|
|
2710
|
+
granularity?: 'hourly' | 'daily' | 'monthly';
|
|
2711
|
+
};
|
|
2712
|
+
url: '/billing/usage';
|
|
2478
2713
|
};
|
|
2479
|
-
export type
|
|
2714
|
+
export type GetUsageErrors = {
|
|
2480
2715
|
/**
|
|
2481
2716
|
* Not authenticated
|
|
2482
2717
|
*/
|
|
2483
2718
|
401: unknown;
|
|
2484
2719
|
};
|
|
2485
|
-
export type
|
|
2720
|
+
export type GetUsageResponses = {
|
|
2486
2721
|
/**
|
|
2487
|
-
*
|
|
2722
|
+
* Usage data with facets for filtering
|
|
2488
2723
|
*/
|
|
2489
|
-
200:
|
|
2724
|
+
200: UsageResponse;
|
|
2490
2725
|
};
|
|
2491
|
-
export type
|
|
2492
|
-
export type
|
|
2726
|
+
export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
|
|
2727
|
+
export type GetPaymentMethodSecretData = {
|
|
2493
2728
|
body?: never;
|
|
2494
|
-
path
|
|
2495
|
-
/**
|
|
2496
|
-
* Generated unique identifier of the access token.
|
|
2497
|
-
*/
|
|
2498
|
-
token_id: string;
|
|
2499
|
-
};
|
|
2729
|
+
path?: never;
|
|
2500
2730
|
query?: never;
|
|
2501
|
-
url: '/
|
|
2731
|
+
url: '/billing/payment-method';
|
|
2502
2732
|
};
|
|
2503
|
-
export type
|
|
2733
|
+
export type GetPaymentMethodSecretResponses = {
|
|
2504
2734
|
/**
|
|
2505
|
-
*
|
|
2735
|
+
* 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.
|
|
2736
|
+
*
|
|
2506
2737
|
*/
|
|
2507
|
-
200:
|
|
2508
|
-
};
|
|
2509
|
-
export type GetTokenData = {
|
|
2510
|
-
body?: never;
|
|
2511
|
-
path: {
|
|
2738
|
+
200: {
|
|
2512
2739
|
/**
|
|
2513
|
-
*
|
|
2740
|
+
* The client secret.
|
|
2514
2741
|
*/
|
|
2515
|
-
|
|
2742
|
+
id?: string;
|
|
2516
2743
|
};
|
|
2744
|
+
};
|
|
2745
|
+
export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
|
|
2746
|
+
export type ListPaymentMethodsData = {
|
|
2747
|
+
body?: never;
|
|
2748
|
+
path?: never;
|
|
2517
2749
|
query?: never;
|
|
2518
|
-
url: '/
|
|
2750
|
+
url: '/billing/payment-methods';
|
|
2519
2751
|
};
|
|
2520
|
-
export type
|
|
2752
|
+
export type ListPaymentMethodsErrors = {
|
|
2521
2753
|
/**
|
|
2522
2754
|
* Not authenticated
|
|
2523
2755
|
*/
|
|
2524
2756
|
401: unknown;
|
|
2525
2757
|
};
|
|
2526
|
-
export type
|
|
2758
|
+
export type ListPaymentMethodsResponses = {
|
|
2527
2759
|
/**
|
|
2528
|
-
*
|
|
2760
|
+
* An array of payment methods.
|
|
2529
2761
|
*/
|
|
2530
|
-
200:
|
|
2762
|
+
200: Array<PaymentMethod>;
|
|
2531
2763
|
};
|
|
2532
|
-
export type
|
|
2533
|
-
export type
|
|
2534
|
-
body
|
|
2764
|
+
export type ListPaymentMethodsResponse = ListPaymentMethodsResponses[keyof ListPaymentMethodsResponses];
|
|
2765
|
+
export type SetDefaultPaymentMethodData = {
|
|
2766
|
+
body?: never;
|
|
2535
2767
|
path: {
|
|
2536
2768
|
/**
|
|
2537
|
-
*
|
|
2769
|
+
* Stripe payment method identifier.
|
|
2538
2770
|
*/
|
|
2539
|
-
|
|
2771
|
+
paymentMethodId: string;
|
|
2540
2772
|
};
|
|
2541
2773
|
query?: never;
|
|
2542
|
-
url: '/
|
|
2774
|
+
url: '/billing/payment-methods/{paymentMethodId}/default';
|
|
2543
2775
|
};
|
|
2544
|
-
export type
|
|
2776
|
+
export type SetDefaultPaymentMethodErrors = {
|
|
2777
|
+
/**
|
|
2778
|
+
* The bank transfer payment method cannot be set as the default.
|
|
2779
|
+
*/
|
|
2780
|
+
400: unknown;
|
|
2545
2781
|
/**
|
|
2546
2782
|
* Not authenticated
|
|
2547
2783
|
*/
|
|
2548
2784
|
401: unknown;
|
|
2785
|
+
/**
|
|
2786
|
+
* Payment method not found.
|
|
2787
|
+
*/
|
|
2788
|
+
404: unknown;
|
|
2549
2789
|
};
|
|
2550
|
-
export type
|
|
2790
|
+
export type SetDefaultPaymentMethodResponses = {
|
|
2551
2791
|
/**
|
|
2552
|
-
*
|
|
2792
|
+
* Default payment method updated.
|
|
2553
2793
|
*/
|
|
2554
|
-
|
|
2794
|
+
204: void;
|
|
2555
2795
|
};
|
|
2556
|
-
export type
|
|
2557
|
-
export type
|
|
2796
|
+
export type SetDefaultPaymentMethodResponse = SetDefaultPaymentMethodResponses[keyof SetDefaultPaymentMethodResponses];
|
|
2797
|
+
export type DeletePaymentMethodData = {
|
|
2558
2798
|
body?: never;
|
|
2559
2799
|
path: {
|
|
2560
2800
|
/**
|
|
2561
|
-
*
|
|
2801
|
+
* Stripe payment method identifier.
|
|
2562
2802
|
*/
|
|
2563
|
-
|
|
2803
|
+
paymentMethodId: string;
|
|
2564
2804
|
};
|
|
2565
2805
|
query?: never;
|
|
2566
|
-
url: '/
|
|
2806
|
+
url: '/billing/payment-methods/{paymentMethodId}';
|
|
2567
2807
|
};
|
|
2568
|
-
export type
|
|
2808
|
+
export type DeletePaymentMethodErrors = {
|
|
2809
|
+
/**
|
|
2810
|
+
* The bank transfer payment method cannot be removed.
|
|
2811
|
+
*/
|
|
2812
|
+
400: unknown;
|
|
2569
2813
|
/**
|
|
2570
2814
|
* Not authenticated
|
|
2571
2815
|
*/
|
|
2572
2816
|
401: unknown;
|
|
2573
|
-
};
|
|
2574
|
-
export type RegenerateTokenResponses = {
|
|
2575
2817
|
/**
|
|
2576
|
-
*
|
|
2818
|
+
* Payment method not found.
|
|
2577
2819
|
*/
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
path: {
|
|
2584
|
-
/**
|
|
2585
|
-
* User email address.
|
|
2586
|
-
*/
|
|
2587
|
-
email: string;
|
|
2588
|
-
};
|
|
2589
|
-
query?: never;
|
|
2590
|
-
url: '/users/organizations/{email}';
|
|
2820
|
+
404: unknown;
|
|
2821
|
+
/**
|
|
2822
|
+
* Cannot delete the only remaining payment method.
|
|
2823
|
+
*/
|
|
2824
|
+
409: unknown;
|
|
2591
2825
|
};
|
|
2592
|
-
export type
|
|
2826
|
+
export type DeletePaymentMethodResponses = {
|
|
2593
2827
|
/**
|
|
2594
|
-
*
|
|
2828
|
+
* Payment method deleted.
|
|
2595
2829
|
*/
|
|
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
|
-
}>;
|
|
2830
|
+
204: void;
|
|
2606
2831
|
};
|
|
2607
|
-
export type
|
|
2608
|
-
export type
|
|
2832
|
+
export type DeletePaymentMethodResponse = DeletePaymentMethodResponses[keyof DeletePaymentMethodResponses];
|
|
2833
|
+
export type ListInvoicesData = {
|
|
2609
2834
|
body?: never;
|
|
2610
2835
|
path?: never;
|
|
2611
2836
|
query?: never;
|
|
2612
|
-
url: '/
|
|
2837
|
+
url: '/billing/invoices';
|
|
2613
2838
|
};
|
|
2614
|
-
export type
|
|
2839
|
+
export type ListInvoicesErrors = {
|
|
2615
2840
|
/**
|
|
2616
2841
|
* Not authenticated
|
|
2617
2842
|
*/
|
|
2618
2843
|
401: unknown;
|
|
2619
2844
|
};
|
|
2620
|
-
export type
|
|
2845
|
+
export type ListInvoicesResponses = {
|
|
2621
2846
|
/**
|
|
2622
|
-
* An array of
|
|
2847
|
+
* An array of usage records.
|
|
2623
2848
|
*/
|
|
2624
|
-
200: Array<
|
|
2849
|
+
200: Array<Invoice>;
|
|
2625
2850
|
};
|
|
2626
|
-
export type
|
|
2627
|
-
export type
|
|
2628
|
-
body
|
|
2851
|
+
export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
|
|
2852
|
+
export type GetContactData = {
|
|
2853
|
+
body?: never;
|
|
2629
2854
|
path?: never;
|
|
2630
2855
|
query?: never;
|
|
2631
|
-
url: '/
|
|
2856
|
+
url: '/billing/contact';
|
|
2632
2857
|
};
|
|
2633
|
-
export type
|
|
2858
|
+
export type GetContactResponses = {
|
|
2634
2859
|
/**
|
|
2635
|
-
*
|
|
2860
|
+
* Returns a single object containing organization contact and billing address details.
|
|
2636
2861
|
*/
|
|
2637
|
-
200:
|
|
2862
|
+
200: BillingContact;
|
|
2638
2863
|
};
|
|
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
|
-
};
|
|
2864
|
+
export type GetContactResponse = GetContactResponses[keyof GetContactResponses];
|
|
2865
|
+
export type UpdateContactData = {
|
|
2866
|
+
body: BillingContact;
|
|
2867
|
+
path?: never;
|
|
2648
2868
|
query?: never;
|
|
2649
|
-
url: '/
|
|
2869
|
+
url: '/billing/contact';
|
|
2650
2870
|
};
|
|
2651
|
-
export type
|
|
2871
|
+
export type UpdateContactResponses = {
|
|
2652
2872
|
/**
|
|
2653
|
-
*
|
|
2873
|
+
* Successfully updated. Returns updated organization details.
|
|
2654
2874
|
*/
|
|
2655
|
-
|
|
2875
|
+
200: BillingContact;
|
|
2876
|
+
};
|
|
2877
|
+
export type UpdateContactResponse = UpdateContactResponses[keyof UpdateContactResponses];
|
|
2878
|
+
export type GetCreditsData = {
|
|
2879
|
+
body?: never;
|
|
2880
|
+
path?: never;
|
|
2881
|
+
query?: never;
|
|
2882
|
+
url: '/billing/credits';
|
|
2883
|
+
};
|
|
2884
|
+
export type GetCreditsErrors = {
|
|
2656
2885
|
/**
|
|
2657
2886
|
* Not authenticated
|
|
2658
2887
|
*/
|
|
2659
2888
|
401: unknown;
|
|
2660
2889
|
};
|
|
2661
|
-
export type
|
|
2890
|
+
export type GetCreditsResponses = {
|
|
2662
2891
|
/**
|
|
2663
|
-
*
|
|
2892
|
+
* An array of the applied promotional credits records.
|
|
2664
2893
|
*/
|
|
2665
|
-
200:
|
|
2894
|
+
200: Array<BillingCredits>;
|
|
2666
2895
|
};
|
|
2667
|
-
export type
|
|
2668
|
-
export type
|
|
2669
|
-
body
|
|
2670
|
-
path: {
|
|
2896
|
+
export type GetCreditsResponse = GetCreditsResponses[keyof GetCreditsResponses];
|
|
2897
|
+
export type RedeemCreditsData = {
|
|
2898
|
+
body: {
|
|
2671
2899
|
/**
|
|
2672
|
-
*
|
|
2900
|
+
* Promotional code to redeem
|
|
2673
2901
|
*/
|
|
2674
|
-
|
|
2902
|
+
code?: string;
|
|
2675
2903
|
};
|
|
2904
|
+
path?: never;
|
|
2676
2905
|
query?: never;
|
|
2677
|
-
url: '/
|
|
2906
|
+
url: '/billing/credits';
|
|
2678
2907
|
};
|
|
2679
|
-
export type
|
|
2908
|
+
export type RedeemCreditsErrors = {
|
|
2680
2909
|
/**
|
|
2681
2910
|
* Not authenticated
|
|
2682
2911
|
*/
|
|
2683
2912
|
401: unknown;
|
|
2684
2913
|
};
|
|
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 = {
|
|
2914
|
+
export type RedeemCreditsResponses = {
|
|
2704
2915
|
/**
|
|
2705
|
-
* Successfully created
|
|
2916
|
+
* Successfully created a new organization.
|
|
2706
2917
|
*/
|
|
2707
|
-
200:
|
|
2918
|
+
200: unknown;
|
|
2708
2919
|
};
|
|
2709
|
-
export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
|
|
2710
2920
|
//# sourceMappingURL=types.gen.d.ts.map
|