@cloudfleet/sdk 0.0.1-cfddf24 → 0.0.1-d32b155
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 +446 -372
- package/dist/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/@tanstack/react-query.gen.js +478 -392
- 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 +474 -225
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +636 -317
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +249 -211
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +357 -304
- package/dist/sdk.gen.js.map +1 -1
- package/dist/types.gen.d.ts +1103 -787
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +1695 -1474
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +502 -349
- package/dist/zod.gen.js.map +1 -1
- package/package.json +8 -11
package/dist/types.gen.d.ts
CHANGED
|
@@ -1,7 +1,31 @@
|
|
|
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 = {
|
|
25
|
+
/**
|
|
26
|
+
* Type of the organization. `business` for legal entities, `personal` for individuals.
|
|
27
|
+
*/
|
|
28
|
+
type: 'business' | 'personal';
|
|
5
29
|
/**
|
|
6
30
|
* Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
|
|
7
31
|
*/
|
|
@@ -129,9 +153,9 @@ export type Chart = {
|
|
|
129
153
|
*/
|
|
130
154
|
chart: string;
|
|
131
155
|
/**
|
|
132
|
-
* Status of the chart deployment.
|
|
156
|
+
* Status of the chart deployment (Flux HelmRelease Ready condition reason, e.g. InstallSucceeded, UpgradeFailed, Progressing).
|
|
133
157
|
*/
|
|
134
|
-
status:
|
|
158
|
+
status: string;
|
|
135
159
|
/**
|
|
136
160
|
* Current version of the chart deployment.
|
|
137
161
|
*/
|
|
@@ -159,6 +183,9 @@ export type ChartUpdateInput = {
|
|
|
159
183
|
*/
|
|
160
184
|
version_channel: string;
|
|
161
185
|
};
|
|
186
|
+
/**
|
|
187
|
+
* Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
188
|
+
*/
|
|
162
189
|
export type ClusterCreateInput = {
|
|
163
190
|
/**
|
|
164
191
|
* Name of the cluster.
|
|
@@ -167,15 +194,61 @@ export type ClusterCreateInput = {
|
|
|
167
194
|
/**
|
|
168
195
|
* Tier of the cluster.
|
|
169
196
|
*/
|
|
170
|
-
tier
|
|
197
|
+
tier?: 'basic' | 'pro' | 'enterprise';
|
|
171
198
|
/**
|
|
172
|
-
*
|
|
199
|
+
* Version of the kubernetes cluster.
|
|
173
200
|
*/
|
|
174
|
-
|
|
201
|
+
version_channel?: string;
|
|
175
202
|
/**
|
|
176
|
-
*
|
|
203
|
+
* Release channel for the cluster's control plane.
|
|
204
|
+
*/
|
|
205
|
+
release_channel?: 'rapid' | 'stable' | 'extended';
|
|
206
|
+
/**
|
|
207
|
+
* Cluster feature toggles.
|
|
208
|
+
*/
|
|
209
|
+
features?: {
|
|
210
|
+
/**
|
|
211
|
+
* GPU sharing strategy.
|
|
212
|
+
*/
|
|
213
|
+
gpu_sharing_strategy?: 'none' | 'mps' | 'time_slicing';
|
|
214
|
+
/**
|
|
215
|
+
* Maximum number of pods that may share a single GPU.
|
|
216
|
+
*/
|
|
217
|
+
gpu_max_shared_clients_per_gpu?: number;
|
|
218
|
+
/**
|
|
219
|
+
* Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.
|
|
220
|
+
*/
|
|
221
|
+
cilium_socket_lb_host_namespace_only?: boolean;
|
|
222
|
+
};
|
|
223
|
+
/**
|
|
224
|
+
* Cloudfleet control plane region. This field can not be updated after creation.
|
|
225
|
+
*/
|
|
226
|
+
region: string;
|
|
227
|
+
/**
|
|
228
|
+
* Cluster networking configuration. Immutable after creation.
|
|
177
229
|
*/
|
|
178
|
-
|
|
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
|
+
};
|
|
179
252
|
};
|
|
180
253
|
export type ClusterJoinInformation = {
|
|
181
254
|
/**
|
|
@@ -190,6 +263,10 @@ export type ClusterJoinInformation = {
|
|
|
190
263
|
* Cluster DNS IP address. This is the IP address of the kube-dns service in the cluster.
|
|
191
264
|
*/
|
|
192
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;
|
|
193
270
|
/**
|
|
194
271
|
* Authentication key for the cluster.
|
|
195
272
|
*/
|
|
@@ -237,6 +314,9 @@ export type ClusterJoinInformation = {
|
|
|
237
314
|
gcp_workload_identity_provider: string;
|
|
238
315
|
};
|
|
239
316
|
};
|
|
317
|
+
/**
|
|
318
|
+
* Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
319
|
+
*/
|
|
240
320
|
export type Cluster = {
|
|
241
321
|
/**
|
|
242
322
|
* Name of the cluster.
|
|
@@ -245,19 +325,69 @@ export type Cluster = {
|
|
|
245
325
|
/**
|
|
246
326
|
* Tier of the cluster.
|
|
247
327
|
*/
|
|
248
|
-
tier: 'basic' | 'pro';
|
|
328
|
+
tier: 'basic' | 'pro' | 'enterprise';
|
|
329
|
+
/**
|
|
330
|
+
* Version of the kubernetes cluster.
|
|
331
|
+
*/
|
|
332
|
+
version_channel: string;
|
|
333
|
+
/**
|
|
334
|
+
* Release channel for the cluster's control plane.
|
|
335
|
+
*/
|
|
336
|
+
release_channel: 'rapid' | 'stable' | 'extended';
|
|
249
337
|
/**
|
|
250
|
-
*
|
|
338
|
+
* Cluster feature toggles.
|
|
251
339
|
*/
|
|
252
|
-
|
|
340
|
+
features: {
|
|
341
|
+
/**
|
|
342
|
+
* GPU sharing strategy.
|
|
343
|
+
*/
|
|
344
|
+
gpu_sharing_strategy: 'none' | 'mps' | 'time_slicing';
|
|
345
|
+
/**
|
|
346
|
+
* Maximum number of pods that may share a single GPU.
|
|
347
|
+
*/
|
|
348
|
+
gpu_max_shared_clients_per_gpu: number;
|
|
349
|
+
/**
|
|
350
|
+
* Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.
|
|
351
|
+
*/
|
|
352
|
+
cilium_socket_lb_host_namespace_only: boolean;
|
|
353
|
+
};
|
|
354
|
+
/**
|
|
355
|
+
* Cloudfleet control plane region. This field can not be updated after creation.
|
|
356
|
+
*/
|
|
357
|
+
region: string;
|
|
358
|
+
/**
|
|
359
|
+
* Cluster networking configuration. Immutable after creation.
|
|
360
|
+
*/
|
|
361
|
+
networking: {
|
|
362
|
+
/**
|
|
363
|
+
* CIDR block for pod IPs.
|
|
364
|
+
*/
|
|
365
|
+
pod_cidr: string;
|
|
366
|
+
/**
|
|
367
|
+
* CIDR block for service IPs.
|
|
368
|
+
*/
|
|
369
|
+
service_cidr: string;
|
|
370
|
+
/**
|
|
371
|
+
* Enable IPv4+IPv6 dual-stack networking.
|
|
372
|
+
*/
|
|
373
|
+
dual_stack: boolean;
|
|
374
|
+
/**
|
|
375
|
+
* IPv6 pod CIDR. Requires dual_stack.
|
|
376
|
+
*/
|
|
377
|
+
pod_cidr_v6: string;
|
|
378
|
+
/**
|
|
379
|
+
* IPv6 service CIDR. Requires dual_stack.
|
|
380
|
+
*/
|
|
381
|
+
service_cidr_v6: string;
|
|
382
|
+
};
|
|
253
383
|
/**
|
|
254
384
|
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
255
385
|
*/
|
|
256
386
|
id: string;
|
|
257
387
|
/**
|
|
258
|
-
* Status of the cluster.
|
|
388
|
+
* Status of the cluster.
|
|
259
389
|
*/
|
|
260
|
-
status: '
|
|
390
|
+
status: 'creating' | 'deployed' | 'updating' | 'disabled';
|
|
261
391
|
endpoint?: string | '';
|
|
262
392
|
endpoint_public?: string | '';
|
|
263
393
|
/**
|
|
@@ -279,26 +409,49 @@ export type Cluster = {
|
|
|
279
409
|
/**
|
|
280
410
|
* Indicates if the cluster is ready to be used.
|
|
281
411
|
*/
|
|
282
|
-
ready
|
|
283
|
-
/**
|
|
284
|
-
* Version of the kubernetes cluster.
|
|
285
|
-
*/
|
|
286
|
-
version_channel?: string;
|
|
412
|
+
ready: boolean;
|
|
287
413
|
};
|
|
414
|
+
/**
|
|
415
|
+
* Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
416
|
+
*/
|
|
288
417
|
export type ClusterUpdateInput = {
|
|
289
418
|
/**
|
|
290
419
|
* Name of the cluster.
|
|
291
420
|
*/
|
|
292
|
-
name
|
|
421
|
+
name: string;
|
|
293
422
|
/**
|
|
294
423
|
* Tier of the cluster.
|
|
295
424
|
*/
|
|
296
|
-
tier
|
|
425
|
+
tier?: 'basic' | 'pro' | 'enterprise';
|
|
297
426
|
/**
|
|
298
427
|
* Version of the kubernetes cluster.
|
|
299
428
|
*/
|
|
300
429
|
version_channel?: string;
|
|
430
|
+
/**
|
|
431
|
+
* Release channel for the cluster's control plane.
|
|
432
|
+
*/
|
|
433
|
+
release_channel?: 'rapid' | 'stable' | 'extended';
|
|
434
|
+
/**
|
|
435
|
+
* Cluster feature toggles.
|
|
436
|
+
*/
|
|
437
|
+
features?: {
|
|
438
|
+
/**
|
|
439
|
+
* GPU sharing strategy.
|
|
440
|
+
*/
|
|
441
|
+
gpu_sharing_strategy?: 'none' | 'mps' | 'time_slicing';
|
|
442
|
+
/**
|
|
443
|
+
* Maximum number of pods that may share a single GPU.
|
|
444
|
+
*/
|
|
445
|
+
gpu_max_shared_clients_per_gpu?: number;
|
|
446
|
+
/**
|
|
447
|
+
* Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.
|
|
448
|
+
*/
|
|
449
|
+
cilium_socket_lb_host_namespace_only?: boolean;
|
|
450
|
+
};
|
|
301
451
|
};
|
|
452
|
+
/**
|
|
453
|
+
* Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
454
|
+
*/
|
|
302
455
|
export type FleetCreateInput = {
|
|
303
456
|
/**
|
|
304
457
|
* Limits define a set of bounds for provisioning capacity.
|
|
@@ -319,7 +472,7 @@ export type FleetCreateInput = {
|
|
|
319
472
|
hetzner?: {
|
|
320
473
|
enabled: boolean;
|
|
321
474
|
/**
|
|
322
|
-
* Hetzner Cloud API token with read
|
|
475
|
+
* Hetzner Cloud API token with read/write access (64 alphanumeric characters). Write-only: reads return a redacted placeholder, never the token. Omit the field, or send the placeholder back unchanged, to keep the existing key. Send a new value to rotate it.
|
|
323
476
|
*/
|
|
324
477
|
apiKey?: string;
|
|
325
478
|
};
|
|
@@ -331,7 +484,7 @@ export type FleetCreateInput = {
|
|
|
331
484
|
controllerRoleArn?: string;
|
|
332
485
|
};
|
|
333
486
|
/**
|
|
334
|
-
* 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.
|
|
487
|
+
* Constraints define scheduling and provisioning requirements for the fleet. Each field restricts the values allowed for a given Kubernetes label key. Multiple constraints are ANDed together.
|
|
335
488
|
*/
|
|
336
489
|
constraints?: {
|
|
337
490
|
/**
|
|
@@ -352,7 +505,7 @@ export type FleetCreateInput = {
|
|
|
352
505
|
'topology.kubernetes.io/region'?: Array<'africa-south1' | 'ap-northeast-1' | 'ap-northeast-2' | 'ap-northeast-3' | 'ap-south-1' | 'ap-southeast-1' | 'ap-southeast-2' | 'ash' | 'asia-east1' | 'asia-east2' | 'asia-northeast1' | 'asia-northeast2' | 'asia-northeast3' | 'asia-south1' | 'asia-south2' | 'asia-southeast1' | 'asia-southeast2' | 'australia-southeast1' | 'australia-southeast2' | 'ca-central-1' | 'eu-central-1' | 'eu-central-2' | 'eu-north-1' | 'eu-west-1' | 'eu-west-2' | 'eu-west-3' | 'europe-central2' | 'europe-north1' | 'europe-southwest1' | 'europe-west1' | 'europe-west10' | 'europe-west12' | 'europe-west2' | 'europe-west3' | 'europe-west4' | 'europe-west6' | 'europe-west8' | 'europe-west9' | 'fsn1' | 'hel1' | 'hil' | 'me-central1' | 'me-central2' | 'me-west1' | 'nbg1' | 'northamerica-northeast1' | 'northamerica-northeast2' | 'sa-east-1' | 'sin' | 'southamerica-east1' | 'southamerica-west1' | 'us-central1' | 'us-east-1' | 'us-east-2' | 'us-east1' | 'us-east4' | 'us-east5' | 'us-south1' | 'us-west-1' | 'us-west-2' | 'us-west1' | 'us-west2' | 'us-west3' | 'us-west4'>;
|
|
353
506
|
};
|
|
354
507
|
/**
|
|
355
|
-
* Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
|
|
508
|
+
* Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet. Full-overwrite: omit to reset to the default (`conservative`).
|
|
356
509
|
*/
|
|
357
510
|
scalingProfile?: 'aggressive' | 'conservative';
|
|
358
511
|
/**
|
|
@@ -360,6 +513,9 @@ export type FleetCreateInput = {
|
|
|
360
513
|
*/
|
|
361
514
|
id: string;
|
|
362
515
|
};
|
|
516
|
+
/**
|
|
517
|
+
* Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
518
|
+
*/
|
|
363
519
|
export type Fleet = {
|
|
364
520
|
/**
|
|
365
521
|
* Limits define a set of bounds for provisioning capacity.
|
|
@@ -392,17 +548,17 @@ export type Fleet = {
|
|
|
392
548
|
controllerRoleArn?: string;
|
|
393
549
|
};
|
|
394
550
|
/**
|
|
395
|
-
* 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.
|
|
551
|
+
* Constraints define scheduling and provisioning requirements for the fleet. Each field restricts the values allowed for a given Kubernetes label key. Multiple constraints are ANDed together.
|
|
396
552
|
*/
|
|
397
|
-
constraints
|
|
553
|
+
constraints: {
|
|
398
554
|
/**
|
|
399
555
|
* Allowed values for `karpenter.sh/capacity-type`.
|
|
400
556
|
*/
|
|
401
|
-
'karpenter.sh/capacity-type'
|
|
557
|
+
'karpenter.sh/capacity-type': Array<'on-demand' | 'spot'>;
|
|
402
558
|
/**
|
|
403
559
|
* Allowed values for `kubernetes.io/arch`.
|
|
404
560
|
*/
|
|
405
|
-
'kubernetes.io/arch'
|
|
561
|
+
'kubernetes.io/arch': Array<'amd64' | 'arm64'>;
|
|
406
562
|
/**
|
|
407
563
|
* Allowed values for `cfke.io/instance-family`.
|
|
408
564
|
*/
|
|
@@ -413,14 +569,33 @@ export type Fleet = {
|
|
|
413
569
|
'topology.kubernetes.io/region'?: Array<'africa-south1' | 'ap-northeast-1' | 'ap-northeast-2' | 'ap-northeast-3' | 'ap-south-1' | 'ap-southeast-1' | 'ap-southeast-2' | 'ash' | 'asia-east1' | 'asia-east2' | 'asia-northeast1' | 'asia-northeast2' | 'asia-northeast3' | 'asia-south1' | 'asia-south2' | 'asia-southeast1' | 'asia-southeast2' | 'australia-southeast1' | 'australia-southeast2' | 'ca-central-1' | 'eu-central-1' | 'eu-central-2' | 'eu-north-1' | 'eu-west-1' | 'eu-west-2' | 'eu-west-3' | 'europe-central2' | 'europe-north1' | 'europe-southwest1' | 'europe-west1' | 'europe-west10' | 'europe-west12' | 'europe-west2' | 'europe-west3' | 'europe-west4' | 'europe-west6' | 'europe-west8' | 'europe-west9' | 'fsn1' | 'hel1' | 'hil' | 'me-central1' | 'me-central2' | 'me-west1' | 'nbg1' | 'northamerica-northeast1' | 'northamerica-northeast2' | 'sa-east-1' | 'sin' | 'southamerica-east1' | 'southamerica-west1' | 'us-central1' | 'us-east-1' | 'us-east-2' | 'us-east1' | 'us-east4' | 'us-east5' | 'us-south1' | 'us-west-1' | 'us-west-2' | 'us-west1' | 'us-west2' | 'us-west3' | 'us-west4'>;
|
|
414
570
|
};
|
|
415
571
|
/**
|
|
416
|
-
* Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
|
|
572
|
+
* Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet. Full-overwrite: omit to reset to the default (`conservative`).
|
|
417
573
|
*/
|
|
418
574
|
scalingProfile: 'aggressive' | 'conservative';
|
|
419
575
|
/**
|
|
420
576
|
* Unique identifier of the kubernetes fleet.
|
|
421
577
|
*/
|
|
422
578
|
id: string;
|
|
579
|
+
/**
|
|
580
|
+
* Indicates whether the fleet configuration is healthy.
|
|
581
|
+
*/
|
|
582
|
+
ready: boolean;
|
|
583
|
+
/**
|
|
584
|
+
* Human-readable reason the fleet is not ready. Present only when `ready` is false.
|
|
585
|
+
*/
|
|
586
|
+
status_message?: string;
|
|
587
|
+
/**
|
|
588
|
+
* Creation date and time of the fleet.
|
|
589
|
+
*/
|
|
590
|
+
created_at: string;
|
|
591
|
+
/**
|
|
592
|
+
* Date and time the fleet was last updated.
|
|
593
|
+
*/
|
|
594
|
+
updated_at: string;
|
|
423
595
|
};
|
|
596
|
+
/**
|
|
597
|
+
* Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
598
|
+
*/
|
|
424
599
|
export type FleetUpdateInput = {
|
|
425
600
|
/**
|
|
426
601
|
* Limits define a set of bounds for provisioning capacity.
|
|
@@ -441,7 +616,7 @@ export type FleetUpdateInput = {
|
|
|
441
616
|
hetzner?: {
|
|
442
617
|
enabled: boolean;
|
|
443
618
|
/**
|
|
444
|
-
* Hetzner Cloud API token with read
|
|
619
|
+
* Hetzner Cloud API token with read/write access (64 alphanumeric characters). Write-only: reads return a redacted placeholder, never the token. Omit the field, or send the placeholder back unchanged, to keep the existing key. Send a new value to rotate it.
|
|
445
620
|
*/
|
|
446
621
|
apiKey?: string;
|
|
447
622
|
};
|
|
@@ -453,7 +628,7 @@ export type FleetUpdateInput = {
|
|
|
453
628
|
controllerRoleArn?: string;
|
|
454
629
|
};
|
|
455
630
|
/**
|
|
456
|
-
* 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.
|
|
631
|
+
* Constraints define scheduling and provisioning requirements for the fleet. Each field restricts the values allowed for a given Kubernetes label key. Multiple constraints are ANDed together.
|
|
457
632
|
*/
|
|
458
633
|
constraints?: {
|
|
459
634
|
/**
|
|
@@ -474,9 +649,19 @@ export type FleetUpdateInput = {
|
|
|
474
649
|
'topology.kubernetes.io/region'?: Array<'africa-south1' | 'ap-northeast-1' | 'ap-northeast-2' | 'ap-northeast-3' | 'ap-south-1' | 'ap-southeast-1' | 'ap-southeast-2' | 'ash' | 'asia-east1' | 'asia-east2' | 'asia-northeast1' | 'asia-northeast2' | 'asia-northeast3' | 'asia-south1' | 'asia-south2' | 'asia-southeast1' | 'asia-southeast2' | 'australia-southeast1' | 'australia-southeast2' | 'ca-central-1' | 'eu-central-1' | 'eu-central-2' | 'eu-north-1' | 'eu-west-1' | 'eu-west-2' | 'eu-west-3' | 'europe-central2' | 'europe-north1' | 'europe-southwest1' | 'europe-west1' | 'europe-west10' | 'europe-west12' | 'europe-west2' | 'europe-west3' | 'europe-west4' | 'europe-west6' | 'europe-west8' | 'europe-west9' | 'fsn1' | 'hel1' | 'hil' | 'me-central1' | 'me-central2' | 'me-west1' | 'nbg1' | 'northamerica-northeast1' | 'northamerica-northeast2' | 'sa-east-1' | 'sin' | 'southamerica-east1' | 'southamerica-west1' | 'us-central1' | 'us-east-1' | 'us-east-2' | 'us-east1' | 'us-east4' | 'us-east5' | 'us-south1' | 'us-west-1' | 'us-west-2' | 'us-west1' | 'us-west2' | 'us-west3' | 'us-west4'>;
|
|
475
650
|
};
|
|
476
651
|
/**
|
|
477
|
-
* Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
|
|
652
|
+
* Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet. Full-overwrite: omit to reset to the default (`conservative`).
|
|
478
653
|
*/
|
|
479
|
-
scalingProfile
|
|
654
|
+
scalingProfile?: 'aggressive' | 'conservative';
|
|
655
|
+
};
|
|
656
|
+
export type InviteCreateInput = {
|
|
657
|
+
/**
|
|
658
|
+
* Email address of the user to invite.
|
|
659
|
+
*/
|
|
660
|
+
email: string;
|
|
661
|
+
/**
|
|
662
|
+
* Role the invited user will be assigned on redemption. Can be 'Administrator' or 'User'.
|
|
663
|
+
*/
|
|
664
|
+
role?: 'Administrator' | 'User';
|
|
480
665
|
};
|
|
481
666
|
export type Invite = {
|
|
482
667
|
/**
|
|
@@ -499,6 +684,10 @@ export type Invite = {
|
|
|
499
684
|
* Generated unique invite code.
|
|
500
685
|
*/
|
|
501
686
|
code?: string;
|
|
687
|
+
/**
|
|
688
|
+
* Role the invited user will be assigned on redemption. Can be 'Administrator' or 'User'.
|
|
689
|
+
*/
|
|
690
|
+
role?: 'Administrator' | 'User';
|
|
502
691
|
};
|
|
503
692
|
export type Invoice = {
|
|
504
693
|
/**
|
|
@@ -619,6 +808,10 @@ export type MarketplaceListing = {
|
|
|
619
808
|
};
|
|
620
809
|
};
|
|
621
810
|
export type OrganizationCreateInput = {
|
|
811
|
+
/**
|
|
812
|
+
* Type of the organization. `business` for legal entities, `personal` for individuals.
|
|
813
|
+
*/
|
|
814
|
+
type: 'business' | 'personal';
|
|
622
815
|
/**
|
|
623
816
|
* Email address used for billing as a string.
|
|
624
817
|
*/
|
|
@@ -640,6 +833,12 @@ export type OrganizationCreateInput = {
|
|
|
640
833
|
*/
|
|
641
834
|
password: string;
|
|
642
835
|
};
|
|
836
|
+
export type OrganizationCreateOutput = {
|
|
837
|
+
/**
|
|
838
|
+
* Unique identifier of the newly created organization. Generated by the API and safe to use for client-side tracking immediately.
|
|
839
|
+
*/
|
|
840
|
+
id: string;
|
|
841
|
+
};
|
|
643
842
|
export type Organization = {
|
|
644
843
|
/**
|
|
645
844
|
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
@@ -649,6 +848,10 @@ export type Organization = {
|
|
|
649
848
|
* Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
|
|
650
849
|
*/
|
|
651
850
|
name?: string;
|
|
851
|
+
/**
|
|
852
|
+
* Type of the organization. `business` for legal entities, `personal` for individuals.
|
|
853
|
+
*/
|
|
854
|
+
type: 'business' | 'personal';
|
|
652
855
|
/**
|
|
653
856
|
* Creation date of the organization. ISO 8601 date string in UTC timezone
|
|
654
857
|
*/
|
|
@@ -673,6 +876,14 @@ export type Organization = {
|
|
|
673
876
|
* Available number of Pro clusters that can be created.
|
|
674
877
|
*/
|
|
675
878
|
pro_clusters_available: number;
|
|
879
|
+
/**
|
|
880
|
+
* Maximum number of Enterprise clusters that can be created.
|
|
881
|
+
*/
|
|
882
|
+
enterprise_clusters_max: number;
|
|
883
|
+
/**
|
|
884
|
+
* Available number of Enterprise clusters that can be created.
|
|
885
|
+
*/
|
|
886
|
+
enterprise_clusters_available: number;
|
|
676
887
|
/**
|
|
677
888
|
* Maximum number of fleets that can be created per cluster.
|
|
678
889
|
*/
|
|
@@ -707,36 +918,52 @@ export type Organization = {
|
|
|
707
918
|
* Status of the organization. Can be `active` or `closed`, or `suspended`.
|
|
708
919
|
*/
|
|
709
920
|
status: 'active' | 'closed' | 'suspended';
|
|
921
|
+
/**
|
|
922
|
+
* Verification status of the organization, which determines the assigned quota. `none` when billing information is incomplete, `submitted` when billing information is complete but the organization is not yet verified, `verified` when the organization is verified.
|
|
923
|
+
*/
|
|
924
|
+
verification: 'none' | 'submitted' | 'verified';
|
|
710
925
|
};
|
|
711
926
|
export type PaymentMethod = {
|
|
712
927
|
/**
|
|
713
|
-
*
|
|
928
|
+
* Payment method identifier. Stripe payment method id for cards/SEPA; the constant `bank_transfer` for the invoice/bank-transfer method. Used to set as default or delete the payment method.
|
|
714
929
|
*/
|
|
715
930
|
id: string;
|
|
716
931
|
/**
|
|
717
|
-
*
|
|
718
|
-
*/
|
|
719
|
-
setup: boolean;
|
|
720
|
-
/**
|
|
721
|
-
* Payment method type type. Only `card` payments supported at the moment.
|
|
932
|
+
* Payment method type. `card`, `sepa_debit` for SEPA Direct Debit (business accounts only), or `bank_transfer` for paying invoices by bank transfer.
|
|
722
933
|
*/
|
|
723
|
-
type: 'card';
|
|
934
|
+
type: 'card' | 'sepa_debit' | 'bank_transfer';
|
|
724
935
|
/**
|
|
725
|
-
* Last 4 digits of the payment card number.
|
|
936
|
+
* Last 4 digits of the payment card number, of the bank account (IBAN) for SEPA Direct Debit, or of the destination IBAN for bank transfer.
|
|
726
937
|
*/
|
|
727
938
|
last4: string;
|
|
728
939
|
/**
|
|
729
|
-
* Two-digit number representing the card's expiration month.
|
|
940
|
+
* Two-digit number representing the card's expiration month. Null for SEPA Direct Debit and bank transfer.
|
|
730
941
|
*/
|
|
731
942
|
exp_month: number;
|
|
732
943
|
/**
|
|
733
|
-
* Four-digit number representing the card's expiration year.
|
|
944
|
+
* Four-digit number representing the card's expiration year. May be in the past for an expired card still on file. Null for SEPA Direct Debit and bank transfer.
|
|
734
945
|
*/
|
|
735
946
|
exp_year: number;
|
|
736
947
|
/**
|
|
737
|
-
* Payment card brand
|
|
948
|
+
* Payment card brand as reported by Stripe, e.g. `visa`, `mastercard`, `amex`, `cartes_bancaires`, or `unknown`. Null for SEPA Direct Debit and bank transfer.
|
|
949
|
+
*/
|
|
950
|
+
brand: string;
|
|
951
|
+
/**
|
|
952
|
+
* Full destination IBAN to send bank transfers to. Set only for `bank_transfer`; null otherwise. This is Cloudfleet's virtual receiving account, shown in full so the customer can pay into it.
|
|
953
|
+
*/
|
|
954
|
+
iban: string;
|
|
955
|
+
/**
|
|
956
|
+
* BIC/SWIFT of the destination bank for bank transfers. Set only for `bank_transfer`; null otherwise.
|
|
957
|
+
*/
|
|
958
|
+
bic: string;
|
|
959
|
+
/**
|
|
960
|
+
* Account holder name of the destination bank account for bank transfers. Set only for `bank_transfer`; null otherwise.
|
|
961
|
+
*/
|
|
962
|
+
account_holder_name: string;
|
|
963
|
+
/**
|
|
964
|
+
* Whether this payment method is the default used for invoices and active subscriptions. Always false for `bank_transfer` (it cannot be a Stripe default payment method).
|
|
738
965
|
*/
|
|
739
|
-
|
|
966
|
+
is_default: boolean;
|
|
740
967
|
};
|
|
741
968
|
export type PlatformQuota = {
|
|
742
969
|
/**
|
|
@@ -755,6 +982,14 @@ export type PlatformQuota = {
|
|
|
755
982
|
* Available number of Pro clusters that can be created.
|
|
756
983
|
*/
|
|
757
984
|
pro_clusters_available: number;
|
|
985
|
+
/**
|
|
986
|
+
* Maximum number of Enterprise clusters that can be created.
|
|
987
|
+
*/
|
|
988
|
+
enterprise_clusters_max: number;
|
|
989
|
+
/**
|
|
990
|
+
* Available number of Enterprise clusters that can be created.
|
|
991
|
+
*/
|
|
992
|
+
enterprise_clusters_available: number;
|
|
758
993
|
/**
|
|
759
994
|
* Maximum number of fleets that can be created per cluster.
|
|
760
995
|
*/
|
|
@@ -967,91 +1202,6 @@ export type TicketCreateInput = {
|
|
|
967
1202
|
[key: string]: unknown;
|
|
968
1203
|
};
|
|
969
1204
|
};
|
|
970
|
-
export type TicketListResponse = {
|
|
971
|
-
/**
|
|
972
|
-
* Tickets for the organization, ordered newest first. Messages are omitted from list responses.
|
|
973
|
-
*/
|
|
974
|
-
items: Array<{
|
|
975
|
-
/**
|
|
976
|
-
* Unique identifier of the ticket (Mongo ObjectId).
|
|
977
|
-
*/
|
|
978
|
-
id: string;
|
|
979
|
-
/**
|
|
980
|
-
* Current state of the ticket.
|
|
981
|
-
*/
|
|
982
|
-
status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
|
|
983
|
-
/**
|
|
984
|
-
* Ticket category.
|
|
985
|
-
*/
|
|
986
|
-
category: 'billing' | 'technical' | 'general';
|
|
987
|
-
/**
|
|
988
|
-
* First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
|
|
989
|
-
*/
|
|
990
|
-
summary: string;
|
|
991
|
-
/**
|
|
992
|
-
* Closure timestamp. Null while the ticket is open.
|
|
993
|
-
*/
|
|
994
|
-
closed_at?: string;
|
|
995
|
-
/**
|
|
996
|
-
* Creation date of the ticket. ISO 8601 UTC.
|
|
997
|
-
*/
|
|
998
|
-
date_created: string;
|
|
999
|
-
/**
|
|
1000
|
-
* Last update date of the ticket. ISO 8601 UTC.
|
|
1001
|
-
*/
|
|
1002
|
-
date_updated: string;
|
|
1003
|
-
/**
|
|
1004
|
-
* Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
|
|
1005
|
-
*/
|
|
1006
|
-
messages?: Array<{
|
|
1007
|
-
/**
|
|
1008
|
-
* Unique identifier of the message (Mongo ObjectId).
|
|
1009
|
-
*/
|
|
1010
|
-
id: string;
|
|
1011
|
-
/**
|
|
1012
|
-
* Message type. Internal notes are filtered out of customer-facing responses.
|
|
1013
|
-
*/
|
|
1014
|
-
type: 'customer_reply' | 'agent_reply';
|
|
1015
|
-
/**
|
|
1016
|
-
* Message body in markdown.
|
|
1017
|
-
*/
|
|
1018
|
-
body: string;
|
|
1019
|
-
/**
|
|
1020
|
-
* First name of the author. Null when not provided.
|
|
1021
|
-
*/
|
|
1022
|
-
author_first_name?: string;
|
|
1023
|
-
/**
|
|
1024
|
-
* Last name of the author. Null when not provided.
|
|
1025
|
-
*/
|
|
1026
|
-
author_last_name?: string;
|
|
1027
|
-
/**
|
|
1028
|
-
* Attachments associated with this message.
|
|
1029
|
-
*/
|
|
1030
|
-
attachments?: Array<{
|
|
1031
|
-
/**
|
|
1032
|
-
* Unique identifier of the attachment (Mongo ObjectId).
|
|
1033
|
-
*/
|
|
1034
|
-
id: string;
|
|
1035
|
-
/**
|
|
1036
|
-
* Original filename as uploaded.
|
|
1037
|
-
*/
|
|
1038
|
-
filename: string;
|
|
1039
|
-
/**
|
|
1040
|
-
* MIME content type of the attachment.
|
|
1041
|
-
*/
|
|
1042
|
-
content_type: string;
|
|
1043
|
-
/**
|
|
1044
|
-
* Size of the attachment in bytes.
|
|
1045
|
-
*/
|
|
1046
|
-
size: number;
|
|
1047
|
-
}>;
|
|
1048
|
-
/**
|
|
1049
|
-
* Creation date of the message. ISO 8601 UTC.
|
|
1050
|
-
*/
|
|
1051
|
-
date_created: string;
|
|
1052
|
-
}>;
|
|
1053
|
-
}>;
|
|
1054
|
-
};
|
|
1055
1205
|
export type TicketMessageInput = {
|
|
1056
1206
|
/**
|
|
1057
1207
|
* Reply body in markdown.
|
|
@@ -1235,7 +1385,7 @@ export type UsageFacets = {
|
|
|
1235
1385
|
/**
|
|
1236
1386
|
* List of unique products
|
|
1237
1387
|
*/
|
|
1238
|
-
product?: Array<
|
|
1388
|
+
product?: Array<'cfke_controlplane_basic' | 'cfke_controlplane_pro' | 'cfke_controlplane_enterprise' | 'cfke_connected_nodes_basic' | 'cfke_connected_nodes_pro' | 'cfke_connected_nodes_enterprise' | 'cfcr_storage'>;
|
|
1239
1389
|
};
|
|
1240
1390
|
export type UsageResponse = {
|
|
1241
1391
|
/**
|
|
@@ -1253,7 +1403,7 @@ export type UsageResponse = {
|
|
|
1253
1403
|
/**
|
|
1254
1404
|
* The product the usage is associated with
|
|
1255
1405
|
*/
|
|
1256
|
-
product:
|
|
1406
|
+
product: 'cfke_controlplane_basic' | 'cfke_controlplane_pro' | 'cfke_controlplane_enterprise' | 'cfke_connected_nodes_basic' | 'cfke_connected_nodes_pro' | 'cfke_connected_nodes_enterprise' | 'cfcr_storage';
|
|
1257
1407
|
/**
|
|
1258
1408
|
* Consumption
|
|
1259
1409
|
*/
|
|
@@ -1278,7 +1428,7 @@ export type UsageResponse = {
|
|
|
1278
1428
|
/**
|
|
1279
1429
|
* List of unique products
|
|
1280
1430
|
*/
|
|
1281
|
-
product?: Array<
|
|
1431
|
+
product?: Array<'cfke_controlplane_basic' | 'cfke_controlplane_pro' | 'cfke_controlplane_enterprise' | 'cfke_connected_nodes_basic' | 'cfke_connected_nodes_pro' | 'cfke_connected_nodes_enterprise' | 'cfcr_storage'>;
|
|
1282
1432
|
};
|
|
1283
1433
|
};
|
|
1284
1434
|
export type Usage = {
|
|
@@ -1293,7 +1443,7 @@ export type Usage = {
|
|
|
1293
1443
|
/**
|
|
1294
1444
|
* The product the usage is associated with
|
|
1295
1445
|
*/
|
|
1296
|
-
product:
|
|
1446
|
+
product: 'cfke_controlplane_basic' | 'cfke_controlplane_pro' | 'cfke_controlplane_enterprise' | 'cfke_connected_nodes_basic' | 'cfke_connected_nodes_pro' | 'cfke_connected_nodes_enterprise' | 'cfcr_storage';
|
|
1297
1447
|
/**
|
|
1298
1448
|
* Consumption
|
|
1299
1449
|
*/
|
|
@@ -1328,14 +1478,6 @@ export type UserCreateInput = {
|
|
|
1328
1478
|
* User password. Must be at least 8 characters long.
|
|
1329
1479
|
*/
|
|
1330
1480
|
password: string;
|
|
1331
|
-
/**
|
|
1332
|
-
* Status of the user. Can be `active` or `inactive`. Inactive users cannot log in or manage organization resources.
|
|
1333
|
-
*/
|
|
1334
|
-
status?: 'active' | 'inactive';
|
|
1335
|
-
/**
|
|
1336
|
-
* User role. Can be 'Administrator', 'User'.
|
|
1337
|
-
*/
|
|
1338
|
-
role?: 'Administrator' | 'User';
|
|
1339
1481
|
};
|
|
1340
1482
|
export type User = {
|
|
1341
1483
|
/**
|
|
@@ -1389,525 +1531,658 @@ export type UserUpdateInput = {
|
|
|
1389
1531
|
*/
|
|
1390
1532
|
status?: 'active' | 'inactive';
|
|
1391
1533
|
};
|
|
1392
|
-
export type
|
|
1534
|
+
export type ListUserOrganizationsData = {
|
|
1393
1535
|
body?: never;
|
|
1394
|
-
path
|
|
1395
|
-
query?: {
|
|
1536
|
+
path: {
|
|
1396
1537
|
/**
|
|
1397
|
-
*
|
|
1538
|
+
* User email address.
|
|
1398
1539
|
*/
|
|
1399
|
-
|
|
1540
|
+
email: string;
|
|
1400
1541
|
};
|
|
1401
|
-
|
|
1402
|
-
};
|
|
1403
|
-
export type GetUsageErrors = {
|
|
1404
|
-
/**
|
|
1405
|
-
* Not authenticated
|
|
1406
|
-
*/
|
|
1407
|
-
401: unknown;
|
|
1542
|
+
query?: never;
|
|
1543
|
+
url: '/users/organizations/{email}';
|
|
1408
1544
|
};
|
|
1409
|
-
export type
|
|
1545
|
+
export type ListUserOrganizationsResponses = {
|
|
1410
1546
|
/**
|
|
1411
|
-
*
|
|
1547
|
+
* An array of organizations the user belongs to.
|
|
1412
1548
|
*/
|
|
1413
|
-
200:
|
|
1549
|
+
200: Array<{
|
|
1550
|
+
/**
|
|
1551
|
+
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
1552
|
+
*/
|
|
1553
|
+
realm?: string;
|
|
1554
|
+
/**
|
|
1555
|
+
* Human-readable name of the organization
|
|
1556
|
+
*/
|
|
1557
|
+
displayName?: string;
|
|
1558
|
+
}>;
|
|
1414
1559
|
};
|
|
1415
|
-
export type
|
|
1416
|
-
export type
|
|
1560
|
+
export type ListUserOrganizationsResponse = ListUserOrganizationsResponses[keyof ListUserOrganizationsResponses];
|
|
1561
|
+
export type ListUsersData = {
|
|
1417
1562
|
body?: never;
|
|
1418
1563
|
path?: never;
|
|
1419
1564
|
query?: never;
|
|
1420
|
-
url: '/
|
|
1565
|
+
url: '/users';
|
|
1421
1566
|
};
|
|
1422
|
-
export type
|
|
1567
|
+
export type ListUsersErrors = {
|
|
1423
1568
|
/**
|
|
1424
|
-
*
|
|
1569
|
+
* Not authenticated
|
|
1425
1570
|
*/
|
|
1426
|
-
|
|
1571
|
+
401: unknown;
|
|
1427
1572
|
};
|
|
1428
|
-
export type
|
|
1573
|
+
export type ListUsersResponses = {
|
|
1429
1574
|
/**
|
|
1430
|
-
*
|
|
1575
|
+
* An array of users
|
|
1431
1576
|
*/
|
|
1432
|
-
200:
|
|
1577
|
+
200: Array<User>;
|
|
1433
1578
|
};
|
|
1434
|
-
export type
|
|
1435
|
-
export type
|
|
1436
|
-
body
|
|
1579
|
+
export type ListUsersResponse = ListUsersResponses[keyof ListUsersResponses];
|
|
1580
|
+
export type CreateUserData = {
|
|
1581
|
+
body: UserCreateInput;
|
|
1437
1582
|
path?: never;
|
|
1438
1583
|
query?: never;
|
|
1439
|
-
url: '/
|
|
1584
|
+
url: '/users';
|
|
1440
1585
|
};
|
|
1441
|
-
export type
|
|
1586
|
+
export type CreateUserResponses = {
|
|
1442
1587
|
/**
|
|
1443
|
-
*
|
|
1444
|
-
*
|
|
1588
|
+
* Successfully created. Returns created user details.
|
|
1445
1589
|
*/
|
|
1446
|
-
200:
|
|
1590
|
+
200: User;
|
|
1591
|
+
};
|
|
1592
|
+
export type CreateUserResponse = CreateUserResponses[keyof CreateUserResponses];
|
|
1593
|
+
export type DeleteUserData = {
|
|
1594
|
+
body?: never;
|
|
1595
|
+
path: {
|
|
1447
1596
|
/**
|
|
1448
|
-
*
|
|
1597
|
+
* Unique user identifier. UUID v4 string in canonical form
|
|
1449
1598
|
*/
|
|
1450
|
-
|
|
1599
|
+
user_id: string;
|
|
1451
1600
|
};
|
|
1452
|
-
};
|
|
1453
|
-
export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
|
|
1454
|
-
export type ListInvoicesData = {
|
|
1455
|
-
body?: never;
|
|
1456
|
-
path?: never;
|
|
1457
1601
|
query?: never;
|
|
1458
|
-
url: '/
|
|
1602
|
+
url: '/users/{user_id}';
|
|
1459
1603
|
};
|
|
1460
|
-
export type
|
|
1604
|
+
export type DeleteUserErrors = {
|
|
1605
|
+
/**
|
|
1606
|
+
* Deleting own user is not allowed. Delete your organization instead.
|
|
1607
|
+
*/
|
|
1608
|
+
400: unknown;
|
|
1461
1609
|
/**
|
|
1462
1610
|
* Not authenticated
|
|
1463
1611
|
*/
|
|
1464
1612
|
401: unknown;
|
|
1465
1613
|
};
|
|
1466
|
-
export type
|
|
1614
|
+
export type DeleteUserResponses = {
|
|
1467
1615
|
/**
|
|
1468
|
-
*
|
|
1616
|
+
* User profile information
|
|
1469
1617
|
*/
|
|
1470
|
-
200:
|
|
1618
|
+
200: User;
|
|
1471
1619
|
};
|
|
1472
|
-
export type
|
|
1473
|
-
export type
|
|
1620
|
+
export type DeleteUserResponse = DeleteUserResponses[keyof DeleteUserResponses];
|
|
1621
|
+
export type GetUserData = {
|
|
1474
1622
|
body?: never;
|
|
1475
|
-
path
|
|
1623
|
+
path: {
|
|
1624
|
+
/**
|
|
1625
|
+
* Unique user identifier. UUID v4 string in canonical form
|
|
1626
|
+
*/
|
|
1627
|
+
user_id: string;
|
|
1628
|
+
};
|
|
1476
1629
|
query?: never;
|
|
1477
|
-
url: '/
|
|
1630
|
+
url: '/users/{user_id}';
|
|
1478
1631
|
};
|
|
1479
|
-
export type
|
|
1632
|
+
export type GetUserErrors = {
|
|
1480
1633
|
/**
|
|
1481
|
-
*
|
|
1634
|
+
* Not authenticated
|
|
1482
1635
|
*/
|
|
1483
|
-
|
|
1636
|
+
401: unknown;
|
|
1484
1637
|
};
|
|
1485
|
-
export type
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1638
|
+
export type GetUserResponses = {
|
|
1639
|
+
/**
|
|
1640
|
+
* User profile information
|
|
1641
|
+
*/
|
|
1642
|
+
200: User;
|
|
1643
|
+
};
|
|
1644
|
+
export type GetUserResponse = GetUserResponses[keyof GetUserResponses];
|
|
1645
|
+
export type UpdateUserData = {
|
|
1646
|
+
body: UserUpdateInput;
|
|
1647
|
+
path: {
|
|
1648
|
+
/**
|
|
1649
|
+
* Unique user identifier. UUID v4 string in canonical form
|
|
1650
|
+
*/
|
|
1651
|
+
user_id: string;
|
|
1652
|
+
};
|
|
1489
1653
|
query?: never;
|
|
1490
|
-
url: '/
|
|
1654
|
+
url: '/users/{user_id}';
|
|
1491
1655
|
};
|
|
1492
|
-
export type
|
|
1656
|
+
export type UpdateUserResponses = {
|
|
1493
1657
|
/**
|
|
1494
|
-
* Successfully
|
|
1658
|
+
* Successfully created. Returns created user details.
|
|
1495
1659
|
*/
|
|
1496
|
-
200:
|
|
1660
|
+
200: User;
|
|
1497
1661
|
};
|
|
1498
|
-
export type
|
|
1499
|
-
export type
|
|
1662
|
+
export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
|
|
1663
|
+
export type ListTokensData = {
|
|
1500
1664
|
body?: never;
|
|
1501
1665
|
path?: never;
|
|
1502
1666
|
query?: never;
|
|
1503
|
-
url: '/
|
|
1667
|
+
url: '/tokens';
|
|
1504
1668
|
};
|
|
1505
|
-
export type
|
|
1669
|
+
export type ListTokensErrors = {
|
|
1506
1670
|
/**
|
|
1507
1671
|
* Not authenticated
|
|
1508
1672
|
*/
|
|
1509
1673
|
401: unknown;
|
|
1510
1674
|
};
|
|
1511
|
-
export type
|
|
1675
|
+
export type ListTokensResponses = {
|
|
1512
1676
|
/**
|
|
1513
|
-
*
|
|
1677
|
+
* Returns a list of access token details with masked secrets.
|
|
1514
1678
|
*/
|
|
1515
|
-
200: Array<
|
|
1679
|
+
200: Array<Token>;
|
|
1516
1680
|
};
|
|
1517
|
-
export type
|
|
1518
|
-
export type
|
|
1519
|
-
body:
|
|
1520
|
-
/**
|
|
1521
|
-
* Promotional code to redeem
|
|
1522
|
-
*/
|
|
1523
|
-
code?: string;
|
|
1524
|
-
};
|
|
1681
|
+
export type ListTokensResponse = ListTokensResponses[keyof ListTokensResponses];
|
|
1682
|
+
export type CreateTokenData = {
|
|
1683
|
+
body: TokenCreateInput;
|
|
1525
1684
|
path?: never;
|
|
1526
1685
|
query?: never;
|
|
1527
|
-
url: '/
|
|
1686
|
+
url: '/tokens';
|
|
1528
1687
|
};
|
|
1529
|
-
export type
|
|
1688
|
+
export type CreateTokenErrors = {
|
|
1530
1689
|
/**
|
|
1531
1690
|
* Not authenticated
|
|
1532
1691
|
*/
|
|
1533
1692
|
401: unknown;
|
|
1534
1693
|
};
|
|
1535
|
-
export type
|
|
1694
|
+
export type CreateTokenResponses = {
|
|
1536
1695
|
/**
|
|
1537
|
-
* Successfully created
|
|
1696
|
+
* Successfully created. Returns created token details with unmasked/raw secret.
|
|
1697
|
+
*/
|
|
1698
|
+
200: Token;
|
|
1699
|
+
};
|
|
1700
|
+
export type CreateTokenResponse = CreateTokenResponses[keyof CreateTokenResponses];
|
|
1701
|
+
export type DeleteTokenData = {
|
|
1702
|
+
body?: never;
|
|
1703
|
+
path: {
|
|
1704
|
+
/**
|
|
1705
|
+
* Generated unique identifier of the access token.
|
|
1706
|
+
*/
|
|
1707
|
+
token_id: string;
|
|
1708
|
+
};
|
|
1709
|
+
query?: never;
|
|
1710
|
+
url: '/tokens/{token_id}';
|
|
1711
|
+
};
|
|
1712
|
+
export type DeleteTokenResponses = {
|
|
1713
|
+
/**
|
|
1714
|
+
* Successfully deleted.
|
|
1538
1715
|
*/
|
|
1539
1716
|
200: unknown;
|
|
1540
1717
|
};
|
|
1541
|
-
export type
|
|
1718
|
+
export type GetTokenData = {
|
|
1542
1719
|
body?: never;
|
|
1543
1720
|
path: {
|
|
1544
1721
|
/**
|
|
1545
|
-
*
|
|
1722
|
+
* Generated unique identifier of the access token.
|
|
1546
1723
|
*/
|
|
1547
|
-
|
|
1724
|
+
token_id: string;
|
|
1548
1725
|
};
|
|
1549
1726
|
query?: never;
|
|
1550
|
-
url: '/
|
|
1727
|
+
url: '/tokens/{token_id}';
|
|
1551
1728
|
};
|
|
1552
|
-
export type
|
|
1729
|
+
export type GetTokenErrors = {
|
|
1553
1730
|
/**
|
|
1554
1731
|
* Not authenticated
|
|
1555
1732
|
*/
|
|
1556
1733
|
401: unknown;
|
|
1557
1734
|
};
|
|
1558
|
-
export type
|
|
1735
|
+
export type GetTokenResponses = {
|
|
1559
1736
|
/**
|
|
1560
|
-
*
|
|
1737
|
+
* Returns access token details with masked secret.
|
|
1561
1738
|
*/
|
|
1562
|
-
200:
|
|
1739
|
+
200: Token;
|
|
1563
1740
|
};
|
|
1564
|
-
export type
|
|
1565
|
-
export type
|
|
1566
|
-
body:
|
|
1741
|
+
export type GetTokenResponse = GetTokenResponses[keyof GetTokenResponses];
|
|
1742
|
+
export type UpdateTokenData = {
|
|
1743
|
+
body: TokenUpdateInput;
|
|
1567
1744
|
path: {
|
|
1568
1745
|
/**
|
|
1569
|
-
*
|
|
1746
|
+
* Generated unique identifier of the access token.
|
|
1570
1747
|
*/
|
|
1571
|
-
|
|
1748
|
+
token_id: string;
|
|
1572
1749
|
};
|
|
1573
1750
|
query?: never;
|
|
1574
|
-
url: '/
|
|
1751
|
+
url: '/tokens/{token_id}';
|
|
1575
1752
|
};
|
|
1576
|
-
export type
|
|
1753
|
+
export type UpdateTokenErrors = {
|
|
1577
1754
|
/**
|
|
1578
|
-
*
|
|
1755
|
+
* Not authenticated
|
|
1579
1756
|
*/
|
|
1580
|
-
|
|
1757
|
+
401: unknown;
|
|
1581
1758
|
};
|
|
1582
|
-
export type
|
|
1583
|
-
|
|
1759
|
+
export type UpdateTokenResponses = {
|
|
1760
|
+
/**
|
|
1761
|
+
* Successfully updated. Returns updated token details with masked secret.
|
|
1762
|
+
*/
|
|
1763
|
+
200: Token;
|
|
1764
|
+
};
|
|
1765
|
+
export type UpdateTokenResponse = UpdateTokenResponses[keyof UpdateTokenResponses];
|
|
1766
|
+
export type RegenerateTokenData = {
|
|
1584
1767
|
body?: never;
|
|
1585
1768
|
path: {
|
|
1586
1769
|
/**
|
|
1587
|
-
*
|
|
1588
|
-
*/
|
|
1589
|
-
cluster_id: string;
|
|
1590
|
-
/**
|
|
1591
|
-
* Chart deployment name as the unique identifier of the chart.
|
|
1770
|
+
* Generated unique identifier of the access token.
|
|
1592
1771
|
*/
|
|
1593
|
-
|
|
1772
|
+
token_id: string;
|
|
1594
1773
|
};
|
|
1595
1774
|
query?: never;
|
|
1596
|
-
url: '/
|
|
1775
|
+
url: '/tokens/{token_id}/secret';
|
|
1597
1776
|
};
|
|
1598
|
-
export type
|
|
1777
|
+
export type RegenerateTokenErrors = {
|
|
1599
1778
|
/**
|
|
1600
|
-
*
|
|
1779
|
+
* Not authenticated
|
|
1601
1780
|
*/
|
|
1602
|
-
|
|
1781
|
+
401: unknown;
|
|
1603
1782
|
};
|
|
1604
|
-
export type
|
|
1605
|
-
|
|
1783
|
+
export type RegenerateTokenResponses = {
|
|
1784
|
+
/**
|
|
1785
|
+
* Successfully updated. Returns updated token details with unmasked / raw secret.
|
|
1786
|
+
*/
|
|
1787
|
+
200: Token;
|
|
1788
|
+
};
|
|
1789
|
+
export type RegenerateTokenResponse = RegenerateTokenResponses[keyof RegenerateTokenResponses];
|
|
1790
|
+
export type ListTicketsData = {
|
|
1606
1791
|
body?: never;
|
|
1607
|
-
path
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1792
|
+
path?: never;
|
|
1793
|
+
query?: never;
|
|
1794
|
+
url: '/tickets';
|
|
1795
|
+
};
|
|
1796
|
+
export type ListTicketsResponses = {
|
|
1797
|
+
/**
|
|
1798
|
+
* An array of tickets for the organization, newest first.
|
|
1799
|
+
*/
|
|
1800
|
+
200: Array<Ticket>;
|
|
1801
|
+
};
|
|
1802
|
+
export type ListTicketsResponse = ListTicketsResponses[keyof ListTicketsResponses];
|
|
1803
|
+
export type CreateTicketData = {
|
|
1804
|
+
body: {
|
|
1612
1805
|
/**
|
|
1613
|
-
*
|
|
1806
|
+
* JSON-encoded TicketCreateInput.
|
|
1614
1807
|
*/
|
|
1615
|
-
|
|
1808
|
+
payload?: string;
|
|
1809
|
+
attachments?: Array<Blob | File>;
|
|
1616
1810
|
};
|
|
1811
|
+
path?: never;
|
|
1617
1812
|
query?: never;
|
|
1618
|
-
url: '/
|
|
1813
|
+
url: '/tickets';
|
|
1619
1814
|
};
|
|
1620
|
-
export type
|
|
1815
|
+
export type CreateTicketResponses = {
|
|
1621
1816
|
/**
|
|
1622
|
-
*
|
|
1817
|
+
* Ticket created.
|
|
1623
1818
|
*/
|
|
1624
|
-
200:
|
|
1819
|
+
200: Ticket;
|
|
1625
1820
|
};
|
|
1626
|
-
export type
|
|
1627
|
-
export type
|
|
1628
|
-
body
|
|
1821
|
+
export type CreateTicketResponse = CreateTicketResponses[keyof CreateTicketResponses];
|
|
1822
|
+
export type CloseTicketData = {
|
|
1823
|
+
body?: never;
|
|
1629
1824
|
path: {
|
|
1630
|
-
|
|
1631
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1632
|
-
*/
|
|
1633
|
-
cluster_id: string;
|
|
1634
|
-
/**
|
|
1635
|
-
* Chart deployment name as the unique identifier of the chart.
|
|
1636
|
-
*/
|
|
1637
|
-
chart_name: string;
|
|
1825
|
+
ticket_id: string;
|
|
1638
1826
|
};
|
|
1639
1827
|
query?: never;
|
|
1640
|
-
url: '/
|
|
1828
|
+
url: '/tickets/{ticket_id}';
|
|
1641
1829
|
};
|
|
1642
|
-
export type
|
|
1830
|
+
export type CloseTicketResponses = {
|
|
1643
1831
|
/**
|
|
1644
|
-
*
|
|
1832
|
+
* Ticket closed.
|
|
1645
1833
|
*/
|
|
1646
|
-
200:
|
|
1834
|
+
200: Ticket;
|
|
1647
1835
|
};
|
|
1648
|
-
export type
|
|
1649
|
-
export type
|
|
1836
|
+
export type CloseTicketResponse = CloseTicketResponses[keyof CloseTicketResponses];
|
|
1837
|
+
export type GetTicketData = {
|
|
1650
1838
|
body?: never;
|
|
1651
1839
|
path: {
|
|
1652
|
-
|
|
1653
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1654
|
-
*/
|
|
1655
|
-
cluster_id: string;
|
|
1840
|
+
ticket_id: string;
|
|
1656
1841
|
};
|
|
1657
1842
|
query?: never;
|
|
1658
|
-
url: '/
|
|
1843
|
+
url: '/tickets/{ticket_id}';
|
|
1659
1844
|
};
|
|
1660
|
-
export type
|
|
1845
|
+
export type GetTicketResponses = {
|
|
1661
1846
|
/**
|
|
1662
|
-
*
|
|
1847
|
+
* Ticket with messages (internal notes excluded).
|
|
1663
1848
|
*/
|
|
1664
|
-
|
|
1665
|
-
};
|
|
1666
|
-
export type ListFleetsResponses = {
|
|
1667
|
-
/**
|
|
1668
|
-
* An array of fleets
|
|
1669
|
-
*/
|
|
1670
|
-
200: Array<Fleet>;
|
|
1849
|
+
200: Ticket;
|
|
1671
1850
|
};
|
|
1672
|
-
export type
|
|
1673
|
-
export type
|
|
1674
|
-
body:
|
|
1675
|
-
path: {
|
|
1851
|
+
export type GetTicketResponse = GetTicketResponses[keyof GetTicketResponses];
|
|
1852
|
+
export type ReplyTicketData = {
|
|
1853
|
+
body: {
|
|
1676
1854
|
/**
|
|
1677
|
-
*
|
|
1855
|
+
* JSON-encoded TicketMessageInput.
|
|
1678
1856
|
*/
|
|
1679
|
-
|
|
1857
|
+
payload?: string;
|
|
1858
|
+
attachments?: Array<Blob | File>;
|
|
1859
|
+
};
|
|
1860
|
+
path: {
|
|
1861
|
+
ticket_id: string;
|
|
1680
1862
|
};
|
|
1681
1863
|
query?: never;
|
|
1682
|
-
url: '/
|
|
1864
|
+
url: '/tickets/{ticket_id}/messages';
|
|
1683
1865
|
};
|
|
1684
|
-
export type
|
|
1866
|
+
export type ReplyTicketErrors = {
|
|
1685
1867
|
/**
|
|
1686
|
-
*
|
|
1868
|
+
* Ticket is closed. Open a new ticket instead.
|
|
1687
1869
|
*/
|
|
1688
|
-
|
|
1870
|
+
409: unknown;
|
|
1689
1871
|
};
|
|
1690
|
-
export type
|
|
1691
|
-
export type CreateFleetResponses = {
|
|
1872
|
+
export type ReplyTicketResponses = {
|
|
1692
1873
|
/**
|
|
1693
|
-
*
|
|
1874
|
+
* Reply appended.
|
|
1694
1875
|
*/
|
|
1695
|
-
200:
|
|
1876
|
+
200: TicketMessage;
|
|
1696
1877
|
};
|
|
1697
|
-
export type
|
|
1698
|
-
export type
|
|
1878
|
+
export type ReplyTicketResponse = ReplyTicketResponses[keyof ReplyTicketResponses];
|
|
1879
|
+
export type GetTicketAttachmentData = {
|
|
1699
1880
|
body?: never;
|
|
1700
1881
|
path: {
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
*/
|
|
1704
|
-
cluster_id: string;
|
|
1705
|
-
/**
|
|
1706
|
-
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
1707
|
-
*/
|
|
1708
|
-
fleet_name: string;
|
|
1882
|
+
ticket_id: string;
|
|
1883
|
+
attachment_id: string;
|
|
1709
1884
|
};
|
|
1710
1885
|
query?: never;
|
|
1711
|
-
url: '/
|
|
1886
|
+
url: '/tickets/{ticket_id}/attachments/{attachment_id}';
|
|
1712
1887
|
};
|
|
1713
|
-
export type
|
|
1888
|
+
export type GetTicketAttachmentResponses = {
|
|
1714
1889
|
/**
|
|
1715
|
-
*
|
|
1890
|
+
* Attachment binary stream.
|
|
1716
1891
|
*/
|
|
1717
|
-
200:
|
|
1892
|
+
200: Blob | File;
|
|
1718
1893
|
};
|
|
1719
|
-
export type
|
|
1720
|
-
export type
|
|
1894
|
+
export type GetTicketAttachmentResponse = GetTicketAttachmentResponses[keyof GetTicketAttachmentResponses];
|
|
1895
|
+
export type ListRepositoriesData = {
|
|
1896
|
+
body?: never;
|
|
1897
|
+
path?: never;
|
|
1898
|
+
query?: never;
|
|
1899
|
+
url: '/registry';
|
|
1900
|
+
};
|
|
1901
|
+
export type ListRepositoriesErrors = {
|
|
1902
|
+
/**
|
|
1903
|
+
* Not authenticated
|
|
1904
|
+
*/
|
|
1905
|
+
401: unknown;
|
|
1906
|
+
/**
|
|
1907
|
+
* Internal server error
|
|
1908
|
+
*/
|
|
1909
|
+
500: unknown;
|
|
1910
|
+
};
|
|
1911
|
+
export type ListRepositoriesResponses = {
|
|
1912
|
+
/**
|
|
1913
|
+
* List of repositories
|
|
1914
|
+
*/
|
|
1915
|
+
200: Array<RegistryRepository>;
|
|
1916
|
+
};
|
|
1917
|
+
export type ListRepositoriesResponse = ListRepositoriesResponses[keyof ListRepositoriesResponses];
|
|
1918
|
+
export type ListTagsData = {
|
|
1721
1919
|
body?: never;
|
|
1722
1920
|
path: {
|
|
1723
1921
|
/**
|
|
1724
|
-
*
|
|
1922
|
+
* Region where the repository is located
|
|
1725
1923
|
*/
|
|
1726
|
-
|
|
1924
|
+
region: string;
|
|
1727
1925
|
/**
|
|
1728
|
-
*
|
|
1926
|
+
* Name of the repository
|
|
1729
1927
|
*/
|
|
1730
|
-
|
|
1928
|
+
repository: string;
|
|
1731
1929
|
};
|
|
1732
1930
|
query?: never;
|
|
1733
|
-
url: '/
|
|
1931
|
+
url: '/registry/{region}/{repository}';
|
|
1734
1932
|
};
|
|
1735
|
-
export type
|
|
1933
|
+
export type ListTagsErrors = {
|
|
1736
1934
|
/**
|
|
1737
|
-
*
|
|
1935
|
+
* Not authenticated
|
|
1738
1936
|
*/
|
|
1739
|
-
|
|
1937
|
+
401: unknown;
|
|
1938
|
+
/**
|
|
1939
|
+
* Repository not found
|
|
1940
|
+
*/
|
|
1941
|
+
404: unknown;
|
|
1942
|
+
/**
|
|
1943
|
+
* Internal server error
|
|
1944
|
+
*/
|
|
1945
|
+
500: unknown;
|
|
1740
1946
|
};
|
|
1741
|
-
export type
|
|
1742
|
-
|
|
1743
|
-
|
|
1947
|
+
export type ListTagsResponses = {
|
|
1948
|
+
/**
|
|
1949
|
+
* Repository with tags
|
|
1950
|
+
*/
|
|
1951
|
+
200: RegistryRepositoryWithTags;
|
|
1952
|
+
};
|
|
1953
|
+
export type ListTagsResponse = ListTagsResponses[keyof ListTagsResponses];
|
|
1954
|
+
export type DeleteTagData = {
|
|
1955
|
+
body?: never;
|
|
1744
1956
|
path: {
|
|
1745
1957
|
/**
|
|
1746
|
-
*
|
|
1958
|
+
* Region where the repository is located
|
|
1747
1959
|
*/
|
|
1748
|
-
|
|
1960
|
+
region: string;
|
|
1749
1961
|
/**
|
|
1750
|
-
*
|
|
1962
|
+
* Name of the repository
|
|
1751
1963
|
*/
|
|
1752
|
-
|
|
1964
|
+
repository: string;
|
|
1965
|
+
/**
|
|
1966
|
+
* Name of the tag
|
|
1967
|
+
*/
|
|
1968
|
+
tag: string;
|
|
1753
1969
|
};
|
|
1754
1970
|
query?: never;
|
|
1755
|
-
url: '/
|
|
1971
|
+
url: '/registry/{region}/{repository}/{tag}';
|
|
1756
1972
|
};
|
|
1757
|
-
export type
|
|
1973
|
+
export type DeleteTagErrors = {
|
|
1758
1974
|
/**
|
|
1759
|
-
*
|
|
1975
|
+
* Not authenticated
|
|
1760
1976
|
*/
|
|
1761
|
-
|
|
1977
|
+
401: unknown;
|
|
1978
|
+
/**
|
|
1979
|
+
* Tag not found
|
|
1980
|
+
*/
|
|
1981
|
+
404: unknown;
|
|
1982
|
+
/**
|
|
1983
|
+
* Internal server error
|
|
1984
|
+
*/
|
|
1985
|
+
500: unknown;
|
|
1762
1986
|
};
|
|
1763
|
-
export type
|
|
1764
|
-
export type UpdateFleetResponses = {
|
|
1987
|
+
export type DeleteTagResponses = {
|
|
1765
1988
|
/**
|
|
1766
|
-
*
|
|
1989
|
+
* Tag successfully deleted
|
|
1767
1990
|
*/
|
|
1768
|
-
200:
|
|
1991
|
+
200: unknown;
|
|
1769
1992
|
};
|
|
1770
|
-
export type
|
|
1771
|
-
export type QueryClusterData = {
|
|
1993
|
+
export type GetTagData = {
|
|
1772
1994
|
body?: never;
|
|
1773
1995
|
path: {
|
|
1774
1996
|
/**
|
|
1775
|
-
*
|
|
1997
|
+
* Region where the repository is located
|
|
1776
1998
|
*/
|
|
1777
|
-
|
|
1999
|
+
region: string;
|
|
2000
|
+
/**
|
|
2001
|
+
* Name of the repository
|
|
2002
|
+
*/
|
|
2003
|
+
repository: string;
|
|
2004
|
+
/**
|
|
2005
|
+
* Name of the tag
|
|
2006
|
+
*/
|
|
2007
|
+
tag: string;
|
|
1778
2008
|
};
|
|
1779
2009
|
query?: never;
|
|
1780
|
-
url: '/
|
|
2010
|
+
url: '/registry/{region}/{repository}/{tag}';
|
|
1781
2011
|
};
|
|
1782
|
-
export type
|
|
2012
|
+
export type GetTagErrors = {
|
|
1783
2013
|
/**
|
|
1784
2014
|
* Not authenticated
|
|
1785
2015
|
*/
|
|
1786
2016
|
401: unknown;
|
|
2017
|
+
/**
|
|
2018
|
+
* Tag not found
|
|
2019
|
+
*/
|
|
2020
|
+
404: unknown;
|
|
2021
|
+
/**
|
|
2022
|
+
* Internal server error
|
|
2023
|
+
*/
|
|
2024
|
+
500: unknown;
|
|
1787
2025
|
};
|
|
1788
|
-
export type
|
|
2026
|
+
export type GetTagResponses = {
|
|
1789
2027
|
/**
|
|
1790
|
-
*
|
|
2028
|
+
* Tag details
|
|
1791
2029
|
*/
|
|
1792
|
-
200:
|
|
2030
|
+
200: RegistryTag;
|
|
1793
2031
|
};
|
|
1794
|
-
export type
|
|
2032
|
+
export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
|
|
2033
|
+
export type GetOrganizationData = {
|
|
1795
2034
|
body?: never;
|
|
1796
2035
|
path?: never;
|
|
1797
2036
|
query?: never;
|
|
1798
|
-
url: '/
|
|
2037
|
+
url: '/organization';
|
|
1799
2038
|
};
|
|
1800
|
-
export type
|
|
2039
|
+
export type GetOrganizationResponses = {
|
|
1801
2040
|
/**
|
|
1802
|
-
*
|
|
2041
|
+
* Returns a single object containing organization details.
|
|
1803
2042
|
*/
|
|
1804
|
-
|
|
2043
|
+
200: Organization;
|
|
1805
2044
|
};
|
|
1806
|
-
export type
|
|
2045
|
+
export type GetOrganizationResponse = GetOrganizationResponses[keyof GetOrganizationResponses];
|
|
2046
|
+
export type CreateOrganizationData = {
|
|
2047
|
+
body: OrganizationCreateInput;
|
|
2048
|
+
path?: never;
|
|
2049
|
+
query?: never;
|
|
2050
|
+
url: '/organization';
|
|
2051
|
+
};
|
|
2052
|
+
export type CreateOrganizationResponses = {
|
|
1807
2053
|
/**
|
|
1808
|
-
*
|
|
2054
|
+
* Organization signup accepted. Returns the generated organization id immediately; provisioning (billing, Keycloak realm, user) continues asynchronously in the background.
|
|
2055
|
+
*
|
|
1809
2056
|
*/
|
|
1810
|
-
200:
|
|
2057
|
+
200: OrganizationCreateOutput;
|
|
1811
2058
|
};
|
|
1812
|
-
export type
|
|
1813
|
-
export type
|
|
1814
|
-
body
|
|
2059
|
+
export type CreateOrganizationResponse = CreateOrganizationResponses[keyof CreateOrganizationResponses];
|
|
2060
|
+
export type GetBasicPriceConsentData = {
|
|
2061
|
+
body?: never;
|
|
1815
2062
|
path?: never;
|
|
1816
2063
|
query?: never;
|
|
1817
|
-
url: '/
|
|
2064
|
+
url: '/organization/basic-price-consent';
|
|
1818
2065
|
};
|
|
1819
|
-
export type
|
|
2066
|
+
export type GetBasicPriceConsentResponses = {
|
|
1820
2067
|
/**
|
|
1821
|
-
*
|
|
2068
|
+
* Returns the current consent status.
|
|
1822
2069
|
*/
|
|
1823
|
-
|
|
2070
|
+
200: BasicPriceConsent;
|
|
1824
2071
|
};
|
|
1825
|
-
export type
|
|
1826
|
-
export type
|
|
2072
|
+
export type GetBasicPriceConsentResponse = GetBasicPriceConsentResponses[keyof GetBasicPriceConsentResponses];
|
|
2073
|
+
export type SetBasicPriceConsentData = {
|
|
2074
|
+
body: BasicPriceConsentInput;
|
|
2075
|
+
path?: never;
|
|
2076
|
+
query?: never;
|
|
2077
|
+
url: '/organization/basic-price-consent';
|
|
2078
|
+
};
|
|
2079
|
+
export type SetBasicPriceConsentErrors = {
|
|
1827
2080
|
/**
|
|
1828
|
-
*
|
|
2081
|
+
* The authenticated principal has no email address (e.g. a service account) and cannot record this decision.
|
|
2082
|
+
*
|
|
1829
2083
|
*/
|
|
1830
|
-
|
|
2084
|
+
401: unknown;
|
|
2085
|
+
/**
|
|
2086
|
+
* The consent flow does not apply to this organization.
|
|
2087
|
+
*/
|
|
2088
|
+
409: unknown;
|
|
1831
2089
|
};
|
|
1832
|
-
export type
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
2090
|
+
export type SetBasicPriceConsentResponses = {
|
|
2091
|
+
/**
|
|
2092
|
+
* Decision recorded. Returns the updated consent status.
|
|
2093
|
+
*/
|
|
2094
|
+
200: BasicPriceConsent;
|
|
2095
|
+
};
|
|
2096
|
+
export type SetBasicPriceConsentResponse = SetBasicPriceConsentResponses[keyof SetBasicPriceConsentResponses];
|
|
2097
|
+
export type PostMcpData = {
|
|
2098
|
+
/**
|
|
2099
|
+
* JSON-RPC 2.0 request payload
|
|
2100
|
+
*/
|
|
2101
|
+
body: {
|
|
2102
|
+
jsonrpc?: string;
|
|
2103
|
+
method?: string;
|
|
2104
|
+
id?: string | number;
|
|
1836
2105
|
/**
|
|
1837
|
-
*
|
|
2106
|
+
* Method-specific parameters
|
|
1838
2107
|
*/
|
|
1839
|
-
|
|
2108
|
+
params?: {
|
|
2109
|
+
[key: string]: unknown;
|
|
2110
|
+
};
|
|
2111
|
+
};
|
|
2112
|
+
path?: never;
|
|
2113
|
+
query?: never;
|
|
2114
|
+
url: '/mcp';
|
|
2115
|
+
};
|
|
2116
|
+
export type PostMcpErrors = {
|
|
2117
|
+
/**
|
|
2118
|
+
* Not authenticated
|
|
2119
|
+
*/
|
|
2120
|
+
401: unknown;
|
|
2121
|
+
};
|
|
2122
|
+
export type PostMcpResponses = {
|
|
2123
|
+
/**
|
|
2124
|
+
* JSON-RPC 2.0 success or error response
|
|
2125
|
+
*/
|
|
2126
|
+
200: {
|
|
2127
|
+
jsonrpc?: string;
|
|
2128
|
+
id?: string | number;
|
|
2129
|
+
result?: {
|
|
2130
|
+
[key: string]: unknown;
|
|
2131
|
+
};
|
|
2132
|
+
error?: {
|
|
2133
|
+
code?: number;
|
|
2134
|
+
message?: string;
|
|
2135
|
+
};
|
|
1840
2136
|
};
|
|
1841
|
-
query?: never;
|
|
1842
|
-
url: '/clusters/{cluster_id}';
|
|
1843
|
-
};
|
|
1844
|
-
export type DeleteClusterResponses = {
|
|
1845
|
-
/**
|
|
1846
|
-
* Successfully deleted.
|
|
1847
|
-
*/
|
|
1848
|
-
200: string;
|
|
1849
2137
|
};
|
|
1850
|
-
export type
|
|
1851
|
-
export type
|
|
2138
|
+
export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
|
|
2139
|
+
export type ListMarketplaceChartsData = {
|
|
1852
2140
|
body?: never;
|
|
1853
|
-
path
|
|
1854
|
-
/**
|
|
1855
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1856
|
-
*/
|
|
1857
|
-
cluster_id: string;
|
|
1858
|
-
};
|
|
2141
|
+
path?: never;
|
|
1859
2142
|
query?: never;
|
|
1860
|
-
url: '/
|
|
2143
|
+
url: '/marketplace';
|
|
1861
2144
|
};
|
|
1862
|
-
export type
|
|
2145
|
+
export type ListMarketplaceChartsErrors = {
|
|
1863
2146
|
/**
|
|
1864
|
-
*
|
|
2147
|
+
* Not authenticated
|
|
1865
2148
|
*/
|
|
1866
|
-
|
|
1867
|
-
};
|
|
1868
|
-
export type GetClusterResponse = GetClusterResponses[keyof GetClusterResponses];
|
|
1869
|
-
export type UpdateClusterData = {
|
|
1870
|
-
body: ClusterUpdateInput;
|
|
1871
|
-
path: {
|
|
1872
|
-
/**
|
|
1873
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1874
|
-
*/
|
|
1875
|
-
cluster_id: string;
|
|
1876
|
-
};
|
|
1877
|
-
query?: never;
|
|
1878
|
-
url: '/clusters/{cluster_id}';
|
|
2149
|
+
401: unknown;
|
|
1879
2150
|
};
|
|
1880
|
-
export type
|
|
2151
|
+
export type ListMarketplaceChartsResponses = {
|
|
1881
2152
|
/**
|
|
1882
|
-
*
|
|
2153
|
+
* An array of chart listings in the marketplace.
|
|
1883
2154
|
*/
|
|
1884
|
-
200:
|
|
2155
|
+
200: Array<MarketplaceListing>;
|
|
1885
2156
|
};
|
|
1886
|
-
export type
|
|
1887
|
-
export type
|
|
2157
|
+
export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
|
|
2158
|
+
export type GetMarketplaceChartFilesData = {
|
|
1888
2159
|
body?: never;
|
|
1889
2160
|
path: {
|
|
1890
2161
|
/**
|
|
1891
|
-
*
|
|
2162
|
+
* Name of the chart in the marketplace.
|
|
1892
2163
|
*/
|
|
1893
|
-
|
|
2164
|
+
chart_name: string;
|
|
2165
|
+
/**
|
|
2166
|
+
* Version channel pattern to match (e.g., "1.31.x-cfke.x" for latest 1.31 patch, "1.x.x-cfke.x" for latest 1.x minor).
|
|
2167
|
+
*/
|
|
2168
|
+
version_channel: string;
|
|
1894
2169
|
};
|
|
1895
2170
|
query?: never;
|
|
1896
|
-
url: '/
|
|
2171
|
+
url: '/marketplace/{chart_name}/files/{version_channel}';
|
|
1897
2172
|
};
|
|
1898
|
-
export type
|
|
2173
|
+
export type GetMarketplaceChartFilesErrors = {
|
|
1899
2174
|
/**
|
|
1900
|
-
*
|
|
2175
|
+
* Chart not found or no version matches the channel
|
|
1901
2176
|
*/
|
|
1902
|
-
|
|
2177
|
+
404: unknown;
|
|
1903
2178
|
};
|
|
1904
|
-
export type
|
|
2179
|
+
export type GetMarketplaceChartFilesResponses = {
|
|
1905
2180
|
/**
|
|
1906
|
-
*
|
|
2181
|
+
* Returns an object containing the chart files for the latest matching version.
|
|
1907
2182
|
*/
|
|
1908
|
-
200:
|
|
2183
|
+
200: MarketplaceListingFiles;
|
|
1909
2184
|
};
|
|
1910
|
-
export type
|
|
2185
|
+
export type GetMarketplaceChartFilesResponse = GetMarketplaceChartFilesResponses[keyof GetMarketplaceChartFilesResponses];
|
|
1911
2186
|
export type ListInvitesData = {
|
|
1912
2187
|
body?: never;
|
|
1913
2188
|
path?: never;
|
|
@@ -1928,12 +2203,7 @@ export type ListInvitesResponses = {
|
|
|
1928
2203
|
};
|
|
1929
2204
|
export type ListInvitesResponse = ListInvitesResponses[keyof ListInvitesResponses];
|
|
1930
2205
|
export type CreateInviteData = {
|
|
1931
|
-
body:
|
|
1932
|
-
/**
|
|
1933
|
-
* User email address
|
|
1934
|
-
*/
|
|
1935
|
-
email?: string;
|
|
1936
|
-
};
|
|
2206
|
+
body: InviteCreateInput;
|
|
1937
2207
|
path?: never;
|
|
1938
2208
|
query?: never;
|
|
1939
2209
|
url: '/invites';
|
|
@@ -1958,9 +2228,18 @@ export type GetInviteData = {
|
|
|
1958
2228
|
};
|
|
1959
2229
|
export type GetInviteResponses = {
|
|
1960
2230
|
/**
|
|
1961
|
-
* Returns
|
|
2231
|
+
* The invitation code is valid. Returns the invited email and organization.
|
|
1962
2232
|
*/
|
|
1963
|
-
200:
|
|
2233
|
+
200: {
|
|
2234
|
+
/**
|
|
2235
|
+
* Email address the invite was issued to.
|
|
2236
|
+
*/
|
|
2237
|
+
email?: string;
|
|
2238
|
+
/**
|
|
2239
|
+
* Identifier of the organization the invite grants access to.
|
|
2240
|
+
*/
|
|
2241
|
+
organization_id?: string;
|
|
2242
|
+
};
|
|
1964
2243
|
};
|
|
1965
2244
|
export type GetInviteResponse = GetInviteResponses[keyof GetInviteResponses];
|
|
1966
2245
|
export type DeleteInviteData = {
|
|
@@ -1980,617 +2259,654 @@ export type DeleteInviteResponses = {
|
|
|
1980
2259
|
*/
|
|
1981
2260
|
200: unknown;
|
|
1982
2261
|
};
|
|
1983
|
-
export type
|
|
2262
|
+
export type QueryClusterData = {
|
|
1984
2263
|
body?: never;
|
|
1985
|
-
path
|
|
2264
|
+
path: {
|
|
2265
|
+
/**
|
|
2266
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2267
|
+
*/
|
|
2268
|
+
cluster_id: string;
|
|
2269
|
+
};
|
|
1986
2270
|
query?: never;
|
|
1987
|
-
url: '/
|
|
2271
|
+
url: '/clusters/{cluster_id}/query';
|
|
1988
2272
|
};
|
|
1989
|
-
export type
|
|
2273
|
+
export type QueryClusterErrors = {
|
|
1990
2274
|
/**
|
|
1991
2275
|
* Not authenticated
|
|
1992
2276
|
*/
|
|
1993
2277
|
401: unknown;
|
|
1994
2278
|
};
|
|
1995
|
-
export type
|
|
2279
|
+
export type QueryClusterResponses = {
|
|
1996
2280
|
/**
|
|
1997
|
-
*
|
|
2281
|
+
* Kubernetes API response
|
|
1998
2282
|
*/
|
|
1999
|
-
200:
|
|
2283
|
+
200: unknown;
|
|
2000
2284
|
};
|
|
2001
|
-
export type
|
|
2002
|
-
export type GetMarketplaceChartFilesData = {
|
|
2285
|
+
export type ListFleetsData = {
|
|
2003
2286
|
body?: never;
|
|
2004
2287
|
path: {
|
|
2005
2288
|
/**
|
|
2006
|
-
*
|
|
2007
|
-
*/
|
|
2008
|
-
chart_name: string;
|
|
2009
|
-
/**
|
|
2010
|
-
* 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).
|
|
2289
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2011
2290
|
*/
|
|
2012
|
-
|
|
2291
|
+
cluster_id: string;
|
|
2013
2292
|
};
|
|
2014
2293
|
query?: never;
|
|
2015
|
-
url: '/
|
|
2294
|
+
url: '/clusters/{cluster_id}/fleets';
|
|
2016
2295
|
};
|
|
2017
|
-
export type
|
|
2296
|
+
export type ListFleetsErrors = {
|
|
2018
2297
|
/**
|
|
2019
|
-
*
|
|
2298
|
+
* Not authenticated
|
|
2020
2299
|
*/
|
|
2021
|
-
|
|
2300
|
+
401: unknown;
|
|
2022
2301
|
};
|
|
2023
|
-
export type
|
|
2302
|
+
export type ListFleetsResponses = {
|
|
2024
2303
|
/**
|
|
2025
|
-
*
|
|
2304
|
+
* An array of fleets
|
|
2026
2305
|
*/
|
|
2027
|
-
200:
|
|
2306
|
+
200: Array<Fleet>;
|
|
2028
2307
|
};
|
|
2029
|
-
export type
|
|
2030
|
-
export type
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
*/
|
|
2034
|
-
body: {
|
|
2035
|
-
jsonrpc?: string;
|
|
2036
|
-
method?: string;
|
|
2037
|
-
id?: string | number;
|
|
2308
|
+
export type ListFleetsResponse = ListFleetsResponses[keyof ListFleetsResponses];
|
|
2309
|
+
export type CreateFleetData = {
|
|
2310
|
+
body: FleetCreateInput;
|
|
2311
|
+
path: {
|
|
2038
2312
|
/**
|
|
2039
|
-
*
|
|
2313
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2040
2314
|
*/
|
|
2041
|
-
|
|
2042
|
-
[key: string]: unknown;
|
|
2043
|
-
};
|
|
2315
|
+
cluster_id: string;
|
|
2044
2316
|
};
|
|
2045
|
-
path?: never;
|
|
2046
2317
|
query?: never;
|
|
2047
|
-
url: '/
|
|
2318
|
+
url: '/clusters/{cluster_id}/fleets';
|
|
2048
2319
|
};
|
|
2049
|
-
export type
|
|
2320
|
+
export type CreateFleetErrors = {
|
|
2050
2321
|
/**
|
|
2051
|
-
*
|
|
2322
|
+
* Cluster quota exceeded. Maximum number of fleets per cluster allowed in this organization is reached.
|
|
2052
2323
|
*/
|
|
2053
|
-
|
|
2324
|
+
402: string;
|
|
2325
|
+
/**
|
|
2326
|
+
* The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
|
|
2327
|
+
*/
|
|
2328
|
+
409: string;
|
|
2054
2329
|
};
|
|
2055
|
-
export type
|
|
2330
|
+
export type CreateFleetError = CreateFleetErrors[keyof CreateFleetErrors];
|
|
2331
|
+
export type CreateFleetResponses = {
|
|
2056
2332
|
/**
|
|
2057
|
-
*
|
|
2333
|
+
* Successfully created. Returns created Fleet ID.
|
|
2058
2334
|
*/
|
|
2059
|
-
200:
|
|
2060
|
-
jsonrpc?: string;
|
|
2061
|
-
id?: string | number;
|
|
2062
|
-
result?: {
|
|
2063
|
-
[key: string]: unknown;
|
|
2064
|
-
};
|
|
2065
|
-
error?: {
|
|
2066
|
-
code?: number;
|
|
2067
|
-
message?: string;
|
|
2068
|
-
};
|
|
2069
|
-
};
|
|
2335
|
+
200: string;
|
|
2070
2336
|
};
|
|
2071
|
-
export type
|
|
2072
|
-
export type
|
|
2337
|
+
export type CreateFleetResponse = CreateFleetResponses[keyof CreateFleetResponses];
|
|
2338
|
+
export type DeleteFleetData = {
|
|
2073
2339
|
body?: never;
|
|
2074
|
-
path
|
|
2340
|
+
path: {
|
|
2341
|
+
/**
|
|
2342
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2343
|
+
*/
|
|
2344
|
+
cluster_id: string;
|
|
2345
|
+
/**
|
|
2346
|
+
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
2347
|
+
*/
|
|
2348
|
+
fleet_name: string;
|
|
2349
|
+
};
|
|
2075
2350
|
query?: never;
|
|
2076
|
-
url: '/
|
|
2351
|
+
url: '/clusters/{cluster_id}/fleets/{fleet_name}';
|
|
2077
2352
|
};
|
|
2078
|
-
export type
|
|
2353
|
+
export type DeleteFleetErrors = {
|
|
2079
2354
|
/**
|
|
2080
|
-
*
|
|
2355
|
+
* The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
|
|
2081
2356
|
*/
|
|
2082
|
-
|
|
2357
|
+
409: string;
|
|
2083
2358
|
};
|
|
2084
|
-
export type
|
|
2085
|
-
export type
|
|
2086
|
-
|
|
2087
|
-
|
|
2359
|
+
export type DeleteFleetError = DeleteFleetErrors[keyof DeleteFleetErrors];
|
|
2360
|
+
export type DeleteFleetResponses = {
|
|
2361
|
+
/**
|
|
2362
|
+
* Successfully deleted.
|
|
2363
|
+
*/
|
|
2364
|
+
200: string;
|
|
2365
|
+
};
|
|
2366
|
+
export type DeleteFleetResponse = DeleteFleetResponses[keyof DeleteFleetResponses];
|
|
2367
|
+
export type GetFleetData = {
|
|
2368
|
+
body?: never;
|
|
2369
|
+
path: {
|
|
2370
|
+
/**
|
|
2371
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2372
|
+
*/
|
|
2373
|
+
cluster_id: string;
|
|
2374
|
+
/**
|
|
2375
|
+
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
2376
|
+
*/
|
|
2377
|
+
fleet_name: string;
|
|
2378
|
+
};
|
|
2088
2379
|
query?: never;
|
|
2089
|
-
url: '/
|
|
2380
|
+
url: '/clusters/{cluster_id}/fleets/{fleet_name}';
|
|
2090
2381
|
};
|
|
2091
|
-
export type
|
|
2382
|
+
export type GetFleetResponses = {
|
|
2092
2383
|
/**
|
|
2093
|
-
*
|
|
2384
|
+
* Returns a single object containing fleet details.
|
|
2094
2385
|
*/
|
|
2095
|
-
200:
|
|
2386
|
+
200: Fleet;
|
|
2096
2387
|
};
|
|
2097
|
-
export type
|
|
2098
|
-
|
|
2099
|
-
|
|
2388
|
+
export type GetFleetResponse = GetFleetResponses[keyof GetFleetResponses];
|
|
2389
|
+
export type UpdateFleetData = {
|
|
2390
|
+
body: FleetUpdateInput;
|
|
2391
|
+
path: {
|
|
2392
|
+
/**
|
|
2393
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2394
|
+
*/
|
|
2395
|
+
cluster_id: string;
|
|
2396
|
+
/**
|
|
2397
|
+
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
2398
|
+
*/
|
|
2399
|
+
fleet_name: string;
|
|
2400
|
+
};
|
|
2100
2401
|
query?: never;
|
|
2101
|
-
url: '/
|
|
2402
|
+
url: '/clusters/{cluster_id}/fleets/{fleet_name}';
|
|
2102
2403
|
};
|
|
2103
|
-
export type
|
|
2404
|
+
export type UpdateFleetErrors = {
|
|
2104
2405
|
/**
|
|
2105
|
-
*
|
|
2406
|
+
* Organization must have a valid payment method configured to access this endpoint.
|
|
2106
2407
|
*/
|
|
2107
|
-
|
|
2408
|
+
402: string;
|
|
2108
2409
|
/**
|
|
2109
|
-
*
|
|
2410
|
+
* The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
|
|
2110
2411
|
*/
|
|
2111
|
-
|
|
2412
|
+
409: string;
|
|
2112
2413
|
};
|
|
2113
|
-
export type
|
|
2414
|
+
export type UpdateFleetError = UpdateFleetErrors[keyof UpdateFleetErrors];
|
|
2415
|
+
export type UpdateFleetResponses = {
|
|
2114
2416
|
/**
|
|
2115
|
-
*
|
|
2417
|
+
* Successfully updated.
|
|
2116
2418
|
*/
|
|
2117
|
-
200:
|
|
2419
|
+
200: string;
|
|
2118
2420
|
};
|
|
2119
|
-
export type
|
|
2120
|
-
export type
|
|
2421
|
+
export type UpdateFleetResponse = UpdateFleetResponses[keyof UpdateFleetResponses];
|
|
2422
|
+
export type ListChartsData = {
|
|
2121
2423
|
body?: never;
|
|
2122
2424
|
path: {
|
|
2123
2425
|
/**
|
|
2124
|
-
*
|
|
2125
|
-
*/
|
|
2126
|
-
region: string;
|
|
2127
|
-
/**
|
|
2128
|
-
* Name of the repository
|
|
2426
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2129
2427
|
*/
|
|
2130
|
-
|
|
2428
|
+
cluster_id: string;
|
|
2131
2429
|
};
|
|
2132
2430
|
query?: never;
|
|
2133
|
-
url: '/
|
|
2431
|
+
url: '/clusters/{cluster_id}/charts';
|
|
2134
2432
|
};
|
|
2135
|
-
export type
|
|
2433
|
+
export type ListChartsErrors = {
|
|
2136
2434
|
/**
|
|
2137
2435
|
* Not authenticated
|
|
2138
2436
|
*/
|
|
2139
2437
|
401: unknown;
|
|
2438
|
+
};
|
|
2439
|
+
export type ListChartsResponses = {
|
|
2140
2440
|
/**
|
|
2141
|
-
*
|
|
2441
|
+
* An array of charts
|
|
2142
2442
|
*/
|
|
2143
|
-
|
|
2443
|
+
200: Array<Chart>;
|
|
2444
|
+
};
|
|
2445
|
+
export type ListChartsResponse = ListChartsResponses[keyof ListChartsResponses];
|
|
2446
|
+
export type CreateChartData = {
|
|
2447
|
+
body: ChartCreateInput;
|
|
2448
|
+
path: {
|
|
2449
|
+
/**
|
|
2450
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2451
|
+
*/
|
|
2452
|
+
cluster_id: string;
|
|
2453
|
+
};
|
|
2454
|
+
query?: never;
|
|
2455
|
+
url: '/clusters/{cluster_id}/charts';
|
|
2456
|
+
};
|
|
2457
|
+
export type CreateChartErrors = {
|
|
2144
2458
|
/**
|
|
2145
|
-
*
|
|
2459
|
+
* The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
|
|
2146
2460
|
*/
|
|
2147
|
-
|
|
2461
|
+
409: string;
|
|
2148
2462
|
};
|
|
2149
|
-
export type
|
|
2463
|
+
export type CreateChartError = CreateChartErrors[keyof CreateChartErrors];
|
|
2464
|
+
export type CreateChartResponses = {
|
|
2150
2465
|
/**
|
|
2151
|
-
*
|
|
2466
|
+
* Successfully created. Returns created Chart ID.
|
|
2152
2467
|
*/
|
|
2153
|
-
200:
|
|
2468
|
+
200: string;
|
|
2154
2469
|
};
|
|
2155
|
-
export type
|
|
2156
|
-
export type
|
|
2470
|
+
export type CreateChartResponse = CreateChartResponses[keyof CreateChartResponses];
|
|
2471
|
+
export type DeleteChartData = {
|
|
2157
2472
|
body?: never;
|
|
2158
2473
|
path: {
|
|
2159
2474
|
/**
|
|
2160
|
-
*
|
|
2161
|
-
*/
|
|
2162
|
-
region: string;
|
|
2163
|
-
/**
|
|
2164
|
-
* Name of the repository
|
|
2475
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2165
2476
|
*/
|
|
2166
|
-
|
|
2477
|
+
cluster_id: string;
|
|
2167
2478
|
/**
|
|
2168
|
-
*
|
|
2479
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
2169
2480
|
*/
|
|
2170
|
-
|
|
2481
|
+
chart_name: string;
|
|
2171
2482
|
};
|
|
2172
2483
|
query?: never;
|
|
2173
|
-
url: '/
|
|
2484
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
2174
2485
|
};
|
|
2175
|
-
export type
|
|
2176
|
-
/**
|
|
2177
|
-
* Not authenticated
|
|
2178
|
-
*/
|
|
2179
|
-
401: unknown;
|
|
2180
|
-
/**
|
|
2181
|
-
* Tag not found
|
|
2182
|
-
*/
|
|
2183
|
-
404: unknown;
|
|
2486
|
+
export type DeleteChartErrors = {
|
|
2184
2487
|
/**
|
|
2185
|
-
*
|
|
2488
|
+
* The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
|
|
2186
2489
|
*/
|
|
2187
|
-
|
|
2490
|
+
409: string;
|
|
2188
2491
|
};
|
|
2189
|
-
export type
|
|
2492
|
+
export type DeleteChartError = DeleteChartErrors[keyof DeleteChartErrors];
|
|
2493
|
+
export type DeleteChartResponses = {
|
|
2190
2494
|
/**
|
|
2191
|
-
*
|
|
2495
|
+
* Successfully deleted.
|
|
2192
2496
|
*/
|
|
2193
|
-
200:
|
|
2497
|
+
200: string;
|
|
2194
2498
|
};
|
|
2195
|
-
export type
|
|
2499
|
+
export type DeleteChartResponse = DeleteChartResponses[keyof DeleteChartResponses];
|
|
2500
|
+
export type GetChartData = {
|
|
2196
2501
|
body?: never;
|
|
2197
2502
|
path: {
|
|
2198
2503
|
/**
|
|
2199
|
-
*
|
|
2200
|
-
*/
|
|
2201
|
-
region: string;
|
|
2202
|
-
/**
|
|
2203
|
-
* Name of the repository
|
|
2504
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2204
2505
|
*/
|
|
2205
|
-
|
|
2506
|
+
cluster_id: string;
|
|
2206
2507
|
/**
|
|
2207
|
-
*
|
|
2508
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
2208
2509
|
*/
|
|
2209
|
-
|
|
2510
|
+
chart_name: string;
|
|
2210
2511
|
};
|
|
2211
2512
|
query?: never;
|
|
2212
|
-
url: '/
|
|
2513
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
2213
2514
|
};
|
|
2214
|
-
export type
|
|
2215
|
-
/**
|
|
2216
|
-
* Not authenticated
|
|
2217
|
-
*/
|
|
2218
|
-
401: unknown;
|
|
2515
|
+
export type GetChartResponses = {
|
|
2219
2516
|
/**
|
|
2220
|
-
*
|
|
2517
|
+
* Returns a single object containing chart details.
|
|
2221
2518
|
*/
|
|
2222
|
-
|
|
2519
|
+
200: Chart;
|
|
2520
|
+
};
|
|
2521
|
+
export type GetChartResponse = GetChartResponses[keyof GetChartResponses];
|
|
2522
|
+
export type UpdateChartData = {
|
|
2523
|
+
body: ChartUpdateInput;
|
|
2524
|
+
path: {
|
|
2525
|
+
/**
|
|
2526
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2527
|
+
*/
|
|
2528
|
+
cluster_id: string;
|
|
2529
|
+
/**
|
|
2530
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
2531
|
+
*/
|
|
2532
|
+
chart_name: string;
|
|
2533
|
+
};
|
|
2534
|
+
query?: never;
|
|
2535
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
2536
|
+
};
|
|
2537
|
+
export type UpdateChartErrors = {
|
|
2223
2538
|
/**
|
|
2224
|
-
*
|
|
2539
|
+
* The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
|
|
2225
2540
|
*/
|
|
2226
|
-
|
|
2541
|
+
409: string;
|
|
2227
2542
|
};
|
|
2228
|
-
export type
|
|
2543
|
+
export type UpdateChartError = UpdateChartErrors[keyof UpdateChartErrors];
|
|
2544
|
+
export type UpdateChartResponses = {
|
|
2229
2545
|
/**
|
|
2230
|
-
*
|
|
2546
|
+
* Successfully updated.
|
|
2231
2547
|
*/
|
|
2232
|
-
200:
|
|
2548
|
+
200: string;
|
|
2233
2549
|
};
|
|
2234
|
-
export type
|
|
2235
|
-
export type
|
|
2550
|
+
export type UpdateChartResponse = UpdateChartResponses[keyof UpdateChartResponses];
|
|
2551
|
+
export type ListClustersData = {
|
|
2236
2552
|
body?: never;
|
|
2237
2553
|
path?: never;
|
|
2238
2554
|
query?: never;
|
|
2239
|
-
url: '/
|
|
2555
|
+
url: '/clusters';
|
|
2240
2556
|
};
|
|
2241
|
-
export type
|
|
2557
|
+
export type ListClustersErrors = {
|
|
2242
2558
|
/**
|
|
2243
|
-
*
|
|
2559
|
+
* Not authenticated
|
|
2244
2560
|
*/
|
|
2245
|
-
|
|
2561
|
+
401: unknown;
|
|
2246
2562
|
};
|
|
2247
|
-
export type
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2563
|
+
export type ListClustersResponses = {
|
|
2564
|
+
/**
|
|
2565
|
+
* An array of clusters
|
|
2566
|
+
*/
|
|
2567
|
+
200: Array<Cluster>;
|
|
2568
|
+
};
|
|
2569
|
+
export type ListClustersResponse = ListClustersResponses[keyof ListClustersResponses];
|
|
2570
|
+
export type CreateClusterData = {
|
|
2571
|
+
body: ClusterCreateInput;
|
|
2256
2572
|
path?: never;
|
|
2257
2573
|
query?: never;
|
|
2258
|
-
url: '/
|
|
2574
|
+
url: '/clusters';
|
|
2259
2575
|
};
|
|
2260
|
-
export type
|
|
2576
|
+
export type CreateClusterErrors = {
|
|
2261
2577
|
/**
|
|
2262
|
-
*
|
|
2578
|
+
* Cluster quota exceeded. Maximum number of clusters allowed in this organization is reached.
|
|
2263
2579
|
*/
|
|
2264
|
-
|
|
2265
|
-
};
|
|
2266
|
-
export type CreateTicketResponse = CreateTicketResponses[keyof CreateTicketResponses];
|
|
2267
|
-
export type CloseTicketData = {
|
|
2268
|
-
body?: never;
|
|
2269
|
-
path: {
|
|
2270
|
-
ticket_id: string;
|
|
2271
|
-
};
|
|
2272
|
-
query?: never;
|
|
2273
|
-
url: '/tickets/{ticket_id}';
|
|
2580
|
+
402: string;
|
|
2274
2581
|
};
|
|
2275
|
-
export type
|
|
2582
|
+
export type CreateClusterError = CreateClusterErrors[keyof CreateClusterErrors];
|
|
2583
|
+
export type CreateClusterResponses = {
|
|
2276
2584
|
/**
|
|
2277
|
-
*
|
|
2585
|
+
* Successfully created. Returns created Cluster ID.
|
|
2278
2586
|
*/
|
|
2279
|
-
200:
|
|
2587
|
+
200: string;
|
|
2280
2588
|
};
|
|
2281
|
-
export type
|
|
2282
|
-
export type
|
|
2589
|
+
export type CreateClusterResponse = CreateClusterResponses[keyof CreateClusterResponses];
|
|
2590
|
+
export type DeleteClusterData = {
|
|
2283
2591
|
body?: never;
|
|
2284
2592
|
path: {
|
|
2285
|
-
|
|
2593
|
+
/**
|
|
2594
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2595
|
+
*/
|
|
2596
|
+
cluster_id: string;
|
|
2286
2597
|
};
|
|
2287
2598
|
query?: never;
|
|
2288
|
-
url: '/
|
|
2599
|
+
url: '/clusters/{cluster_id}';
|
|
2289
2600
|
};
|
|
2290
|
-
export type
|
|
2601
|
+
export type DeleteClusterErrors = {
|
|
2291
2602
|
/**
|
|
2292
|
-
*
|
|
2603
|
+
* Cluster not found; it does not exist or has already been deleted.
|
|
2293
2604
|
*/
|
|
2294
|
-
|
|
2605
|
+
404: unknown;
|
|
2606
|
+
/**
|
|
2607
|
+
* The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
|
|
2608
|
+
*/
|
|
2609
|
+
409: string;
|
|
2610
|
+
/**
|
|
2611
|
+
* Transient failure tearing down the cluster; retry the request.
|
|
2612
|
+
*/
|
|
2613
|
+
503: unknown;
|
|
2295
2614
|
};
|
|
2296
|
-
export type
|
|
2297
|
-
export type
|
|
2298
|
-
|
|
2615
|
+
export type DeleteClusterError = DeleteClusterErrors[keyof DeleteClusterErrors];
|
|
2616
|
+
export type DeleteClusterResponses = {
|
|
2617
|
+
/**
|
|
2618
|
+
* Successfully deleted. The cluster has been torn down.
|
|
2619
|
+
*/
|
|
2620
|
+
200: string;
|
|
2621
|
+
};
|
|
2622
|
+
export type DeleteClusterResponse = DeleteClusterResponses[keyof DeleteClusterResponses];
|
|
2623
|
+
export type GetClusterData = {
|
|
2624
|
+
body?: never;
|
|
2625
|
+
path: {
|
|
2299
2626
|
/**
|
|
2300
|
-
*
|
|
2627
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2301
2628
|
*/
|
|
2302
|
-
|
|
2303
|
-
attachments?: Array<Blob | File>;
|
|
2304
|
-
};
|
|
2305
|
-
path: {
|
|
2306
|
-
ticket_id: string;
|
|
2629
|
+
cluster_id: string;
|
|
2307
2630
|
};
|
|
2308
2631
|
query?: never;
|
|
2309
|
-
url: '/
|
|
2310
|
-
};
|
|
2311
|
-
export type ReplyTicketErrors = {
|
|
2312
|
-
/**
|
|
2313
|
-
* Ticket is closed. Open a new ticket instead.
|
|
2314
|
-
*/
|
|
2315
|
-
409: unknown;
|
|
2632
|
+
url: '/clusters/{cluster_id}';
|
|
2316
2633
|
};
|
|
2317
|
-
export type
|
|
2634
|
+
export type GetClusterResponses = {
|
|
2318
2635
|
/**
|
|
2319
|
-
*
|
|
2636
|
+
* Returns a single object containing cluster details.
|
|
2320
2637
|
*/
|
|
2321
|
-
200:
|
|
2638
|
+
200: Cluster;
|
|
2322
2639
|
};
|
|
2323
|
-
export type
|
|
2324
|
-
export type
|
|
2325
|
-
body
|
|
2640
|
+
export type GetClusterResponse = GetClusterResponses[keyof GetClusterResponses];
|
|
2641
|
+
export type UpdateClusterData = {
|
|
2642
|
+
body: ClusterUpdateInput;
|
|
2326
2643
|
path: {
|
|
2327
|
-
|
|
2328
|
-
|
|
2644
|
+
/**
|
|
2645
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2646
|
+
*/
|
|
2647
|
+
cluster_id: string;
|
|
2329
2648
|
};
|
|
2330
2649
|
query?: never;
|
|
2331
|
-
url: '/
|
|
2650
|
+
url: '/clusters/{cluster_id}';
|
|
2332
2651
|
};
|
|
2333
|
-
export type
|
|
2652
|
+
export type UpdateClusterErrors = {
|
|
2334
2653
|
/**
|
|
2335
|
-
*
|
|
2654
|
+
* The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
|
|
2336
2655
|
*/
|
|
2337
|
-
|
|
2656
|
+
409: string;
|
|
2338
2657
|
};
|
|
2339
|
-
export type
|
|
2340
|
-
export type
|
|
2658
|
+
export type UpdateClusterError = UpdateClusterErrors[keyof UpdateClusterErrors];
|
|
2659
|
+
export type UpdateClusterResponses = {
|
|
2660
|
+
/**
|
|
2661
|
+
* Successfully updated. Returns updated cluster details.
|
|
2662
|
+
*/
|
|
2663
|
+
200: Cluster;
|
|
2664
|
+
};
|
|
2665
|
+
export type UpdateClusterResponse = UpdateClusterResponses[keyof UpdateClusterResponses];
|
|
2666
|
+
export type GetJoinInformationData = {
|
|
2341
2667
|
body?: never;
|
|
2342
|
-
path
|
|
2668
|
+
path: {
|
|
2669
|
+
/**
|
|
2670
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2671
|
+
*/
|
|
2672
|
+
cluster_id: string;
|
|
2673
|
+
};
|
|
2343
2674
|
query?: never;
|
|
2344
|
-
url: '/
|
|
2675
|
+
url: '/clusters/{cluster_id}/join_information';
|
|
2345
2676
|
};
|
|
2346
|
-
export type
|
|
2677
|
+
export type GetJoinInformationErrors = {
|
|
2347
2678
|
/**
|
|
2348
2679
|
* Not authenticated
|
|
2349
2680
|
*/
|
|
2350
2681
|
401: unknown;
|
|
2682
|
+
/**
|
|
2683
|
+
* The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
|
|
2684
|
+
*/
|
|
2685
|
+
409: string;
|
|
2351
2686
|
};
|
|
2352
|
-
export type
|
|
2687
|
+
export type GetJoinInformationError = GetJoinInformationErrors[keyof GetJoinInformationErrors];
|
|
2688
|
+
export type GetJoinInformationResponses = {
|
|
2353
2689
|
/**
|
|
2354
|
-
*
|
|
2690
|
+
* An object of cluster join information
|
|
2355
2691
|
*/
|
|
2356
|
-
200:
|
|
2692
|
+
200: ClusterJoinInformation;
|
|
2357
2693
|
};
|
|
2358
|
-
export type
|
|
2359
|
-
export type
|
|
2360
|
-
body
|
|
2694
|
+
export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
|
|
2695
|
+
export type GetUsageData = {
|
|
2696
|
+
body?: never;
|
|
2361
2697
|
path?: never;
|
|
2362
|
-
query?:
|
|
2363
|
-
|
|
2698
|
+
query?: {
|
|
2699
|
+
/**
|
|
2700
|
+
* Time granularity for usage aggregation - hourly (Past 48 hours aggregated by hour), daily (Past 30 days aggregated by day), monthly (Past 12 months aggregated by month)
|
|
2701
|
+
*/
|
|
2702
|
+
granularity?: 'hourly' | 'daily' | 'monthly';
|
|
2703
|
+
};
|
|
2704
|
+
url: '/billing/usage';
|
|
2364
2705
|
};
|
|
2365
|
-
export type
|
|
2706
|
+
export type GetUsageErrors = {
|
|
2366
2707
|
/**
|
|
2367
2708
|
* Not authenticated
|
|
2368
2709
|
*/
|
|
2369
2710
|
401: unknown;
|
|
2370
2711
|
};
|
|
2371
|
-
export type
|
|
2712
|
+
export type GetUsageResponses = {
|
|
2372
2713
|
/**
|
|
2373
|
-
*
|
|
2714
|
+
* Usage data with facets for filtering
|
|
2374
2715
|
*/
|
|
2375
|
-
200:
|
|
2716
|
+
200: UsageResponse;
|
|
2376
2717
|
};
|
|
2377
|
-
export type
|
|
2378
|
-
export type
|
|
2718
|
+
export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
|
|
2719
|
+
export type GetPaymentMethodSecretData = {
|
|
2379
2720
|
body?: never;
|
|
2380
|
-
path
|
|
2381
|
-
/**
|
|
2382
|
-
* Generated unique identifier of the access token.
|
|
2383
|
-
*/
|
|
2384
|
-
token_id: string;
|
|
2385
|
-
};
|
|
2721
|
+
path?: never;
|
|
2386
2722
|
query?: never;
|
|
2387
|
-
url: '/
|
|
2723
|
+
url: '/billing/payment-method';
|
|
2388
2724
|
};
|
|
2389
|
-
export type
|
|
2725
|
+
export type GetPaymentMethodSecretResponses = {
|
|
2390
2726
|
/**
|
|
2391
|
-
*
|
|
2727
|
+
* The client secret. Used for client-side retrieval using a publishable key. The client secret can be used to complete a payment from your frontend. It should not be stored, logged, or exposed to anyone other than the customer. Make sure that you have TLS enabled on any page that includes the client secret.
|
|
2728
|
+
*
|
|
2392
2729
|
*/
|
|
2393
|
-
200:
|
|
2394
|
-
};
|
|
2395
|
-
export type GetTokenData = {
|
|
2396
|
-
body?: never;
|
|
2397
|
-
path: {
|
|
2730
|
+
200: {
|
|
2398
2731
|
/**
|
|
2399
|
-
*
|
|
2732
|
+
* The client secret.
|
|
2400
2733
|
*/
|
|
2401
|
-
|
|
2734
|
+
id?: string;
|
|
2402
2735
|
};
|
|
2736
|
+
};
|
|
2737
|
+
export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
|
|
2738
|
+
export type ListPaymentMethodsData = {
|
|
2739
|
+
body?: never;
|
|
2740
|
+
path?: never;
|
|
2403
2741
|
query?: never;
|
|
2404
|
-
url: '/
|
|
2742
|
+
url: '/billing/payment-methods';
|
|
2405
2743
|
};
|
|
2406
|
-
export type
|
|
2744
|
+
export type ListPaymentMethodsErrors = {
|
|
2407
2745
|
/**
|
|
2408
2746
|
* Not authenticated
|
|
2409
2747
|
*/
|
|
2410
2748
|
401: unknown;
|
|
2411
2749
|
};
|
|
2412
|
-
export type
|
|
2750
|
+
export type ListPaymentMethodsResponses = {
|
|
2413
2751
|
/**
|
|
2414
|
-
*
|
|
2752
|
+
* An array of payment methods.
|
|
2415
2753
|
*/
|
|
2416
|
-
200:
|
|
2754
|
+
200: Array<PaymentMethod>;
|
|
2417
2755
|
};
|
|
2418
|
-
export type
|
|
2419
|
-
export type
|
|
2420
|
-
body
|
|
2756
|
+
export type ListPaymentMethodsResponse = ListPaymentMethodsResponses[keyof ListPaymentMethodsResponses];
|
|
2757
|
+
export type SetDefaultPaymentMethodData = {
|
|
2758
|
+
body?: never;
|
|
2421
2759
|
path: {
|
|
2422
2760
|
/**
|
|
2423
|
-
*
|
|
2761
|
+
* Stripe payment method identifier.
|
|
2424
2762
|
*/
|
|
2425
|
-
|
|
2763
|
+
paymentMethodId: string;
|
|
2426
2764
|
};
|
|
2427
2765
|
query?: never;
|
|
2428
|
-
url: '/
|
|
2766
|
+
url: '/billing/payment-methods/{paymentMethodId}/default';
|
|
2429
2767
|
};
|
|
2430
|
-
export type
|
|
2768
|
+
export type SetDefaultPaymentMethodErrors = {
|
|
2769
|
+
/**
|
|
2770
|
+
* The bank transfer payment method cannot be set as the default.
|
|
2771
|
+
*/
|
|
2772
|
+
400: unknown;
|
|
2431
2773
|
/**
|
|
2432
2774
|
* Not authenticated
|
|
2433
2775
|
*/
|
|
2434
2776
|
401: unknown;
|
|
2777
|
+
/**
|
|
2778
|
+
* Payment method not found.
|
|
2779
|
+
*/
|
|
2780
|
+
404: unknown;
|
|
2435
2781
|
};
|
|
2436
|
-
export type
|
|
2782
|
+
export type SetDefaultPaymentMethodResponses = {
|
|
2437
2783
|
/**
|
|
2438
|
-
*
|
|
2784
|
+
* Default payment method updated.
|
|
2439
2785
|
*/
|
|
2440
|
-
|
|
2786
|
+
204: void;
|
|
2441
2787
|
};
|
|
2442
|
-
export type
|
|
2443
|
-
export type
|
|
2788
|
+
export type SetDefaultPaymentMethodResponse = SetDefaultPaymentMethodResponses[keyof SetDefaultPaymentMethodResponses];
|
|
2789
|
+
export type DeletePaymentMethodData = {
|
|
2444
2790
|
body?: never;
|
|
2445
2791
|
path: {
|
|
2446
2792
|
/**
|
|
2447
|
-
*
|
|
2793
|
+
* Stripe payment method identifier.
|
|
2448
2794
|
*/
|
|
2449
|
-
|
|
2795
|
+
paymentMethodId: string;
|
|
2450
2796
|
};
|
|
2451
2797
|
query?: never;
|
|
2452
|
-
url: '/
|
|
2798
|
+
url: '/billing/payment-methods/{paymentMethodId}';
|
|
2453
2799
|
};
|
|
2454
|
-
export type
|
|
2800
|
+
export type DeletePaymentMethodErrors = {
|
|
2801
|
+
/**
|
|
2802
|
+
* The bank transfer payment method cannot be removed.
|
|
2803
|
+
*/
|
|
2804
|
+
400: unknown;
|
|
2455
2805
|
/**
|
|
2456
2806
|
* Not authenticated
|
|
2457
2807
|
*/
|
|
2458
2808
|
401: unknown;
|
|
2459
|
-
};
|
|
2460
|
-
export type RegenerateTokenResponses = {
|
|
2461
2809
|
/**
|
|
2462
|
-
*
|
|
2810
|
+
* Payment method not found.
|
|
2463
2811
|
*/
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
path: {
|
|
2470
|
-
/**
|
|
2471
|
-
* User email address.
|
|
2472
|
-
*/
|
|
2473
|
-
email: string;
|
|
2474
|
-
};
|
|
2475
|
-
query?: never;
|
|
2476
|
-
url: '/users/organizations/{email}';
|
|
2812
|
+
404: unknown;
|
|
2813
|
+
/**
|
|
2814
|
+
* Cannot delete the only remaining payment method.
|
|
2815
|
+
*/
|
|
2816
|
+
409: unknown;
|
|
2477
2817
|
};
|
|
2478
|
-
export type
|
|
2818
|
+
export type DeletePaymentMethodResponses = {
|
|
2479
2819
|
/**
|
|
2480
|
-
*
|
|
2820
|
+
* Payment method deleted.
|
|
2481
2821
|
*/
|
|
2482
|
-
|
|
2483
|
-
/**
|
|
2484
|
-
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
2485
|
-
*/
|
|
2486
|
-
realm?: string;
|
|
2487
|
-
/**
|
|
2488
|
-
* Human-readable name of the organization
|
|
2489
|
-
*/
|
|
2490
|
-
displayName?: string;
|
|
2491
|
-
}>;
|
|
2822
|
+
204: void;
|
|
2492
2823
|
};
|
|
2493
|
-
export type
|
|
2494
|
-
export type
|
|
2824
|
+
export type DeletePaymentMethodResponse = DeletePaymentMethodResponses[keyof DeletePaymentMethodResponses];
|
|
2825
|
+
export type ListInvoicesData = {
|
|
2495
2826
|
body?: never;
|
|
2496
2827
|
path?: never;
|
|
2497
2828
|
query?: never;
|
|
2498
|
-
url: '/
|
|
2829
|
+
url: '/billing/invoices';
|
|
2499
2830
|
};
|
|
2500
|
-
export type
|
|
2831
|
+
export type ListInvoicesErrors = {
|
|
2501
2832
|
/**
|
|
2502
2833
|
* Not authenticated
|
|
2503
2834
|
*/
|
|
2504
2835
|
401: unknown;
|
|
2505
2836
|
};
|
|
2506
|
-
export type
|
|
2837
|
+
export type ListInvoicesResponses = {
|
|
2507
2838
|
/**
|
|
2508
|
-
* An array of
|
|
2839
|
+
* An array of usage records.
|
|
2509
2840
|
*/
|
|
2510
|
-
200: Array<
|
|
2841
|
+
200: Array<Invoice>;
|
|
2511
2842
|
};
|
|
2512
|
-
export type
|
|
2513
|
-
export type
|
|
2514
|
-
body
|
|
2843
|
+
export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
|
|
2844
|
+
export type GetContactData = {
|
|
2845
|
+
body?: never;
|
|
2515
2846
|
path?: never;
|
|
2516
2847
|
query?: never;
|
|
2517
|
-
url: '/
|
|
2848
|
+
url: '/billing/contact';
|
|
2518
2849
|
};
|
|
2519
|
-
export type
|
|
2850
|
+
export type GetContactResponses = {
|
|
2520
2851
|
/**
|
|
2521
|
-
*
|
|
2852
|
+
* Returns a single object containing organization contact and billing address details.
|
|
2522
2853
|
*/
|
|
2523
|
-
200:
|
|
2854
|
+
200: BillingContact;
|
|
2524
2855
|
};
|
|
2525
|
-
export type
|
|
2526
|
-
export type
|
|
2527
|
-
body
|
|
2528
|
-
path
|
|
2529
|
-
/**
|
|
2530
|
-
* Unique user identifier. UUID v4 string in canonical form
|
|
2531
|
-
*/
|
|
2532
|
-
user_id: string;
|
|
2533
|
-
};
|
|
2856
|
+
export type GetContactResponse = GetContactResponses[keyof GetContactResponses];
|
|
2857
|
+
export type UpdateContactData = {
|
|
2858
|
+
body: BillingContact;
|
|
2859
|
+
path?: never;
|
|
2534
2860
|
query?: never;
|
|
2535
|
-
url: '/
|
|
2861
|
+
url: '/billing/contact';
|
|
2536
2862
|
};
|
|
2537
|
-
export type
|
|
2863
|
+
export type UpdateContactResponses = {
|
|
2538
2864
|
/**
|
|
2539
|
-
*
|
|
2865
|
+
* Successfully updated. Returns updated organization details.
|
|
2540
2866
|
*/
|
|
2541
|
-
|
|
2867
|
+
200: BillingContact;
|
|
2868
|
+
};
|
|
2869
|
+
export type UpdateContactResponse = UpdateContactResponses[keyof UpdateContactResponses];
|
|
2870
|
+
export type GetCreditsData = {
|
|
2871
|
+
body?: never;
|
|
2872
|
+
path?: never;
|
|
2873
|
+
query?: never;
|
|
2874
|
+
url: '/billing/credits';
|
|
2875
|
+
};
|
|
2876
|
+
export type GetCreditsErrors = {
|
|
2542
2877
|
/**
|
|
2543
2878
|
* Not authenticated
|
|
2544
2879
|
*/
|
|
2545
2880
|
401: unknown;
|
|
2546
2881
|
};
|
|
2547
|
-
export type
|
|
2882
|
+
export type GetCreditsResponses = {
|
|
2548
2883
|
/**
|
|
2549
|
-
*
|
|
2884
|
+
* An array of the applied promotional credits records.
|
|
2550
2885
|
*/
|
|
2551
|
-
200:
|
|
2886
|
+
200: Array<BillingCredits>;
|
|
2552
2887
|
};
|
|
2553
|
-
export type
|
|
2554
|
-
export type
|
|
2555
|
-
body
|
|
2556
|
-
path: {
|
|
2888
|
+
export type GetCreditsResponse = GetCreditsResponses[keyof GetCreditsResponses];
|
|
2889
|
+
export type RedeemCreditsData = {
|
|
2890
|
+
body: {
|
|
2557
2891
|
/**
|
|
2558
|
-
*
|
|
2892
|
+
* Promotional code to redeem
|
|
2559
2893
|
*/
|
|
2560
|
-
|
|
2894
|
+
code?: string;
|
|
2561
2895
|
};
|
|
2896
|
+
path?: never;
|
|
2562
2897
|
query?: never;
|
|
2563
|
-
url: '/
|
|
2898
|
+
url: '/billing/credits';
|
|
2564
2899
|
};
|
|
2565
|
-
export type
|
|
2900
|
+
export type RedeemCreditsErrors = {
|
|
2566
2901
|
/**
|
|
2567
2902
|
* Not authenticated
|
|
2568
2903
|
*/
|
|
2569
2904
|
401: unknown;
|
|
2570
2905
|
};
|
|
2571
|
-
export type
|
|
2572
|
-
/**
|
|
2573
|
-
* User profile information
|
|
2574
|
-
*/
|
|
2575
|
-
200: User;
|
|
2576
|
-
};
|
|
2577
|
-
export type GetUserResponse = GetUserResponses[keyof GetUserResponses];
|
|
2578
|
-
export type UpdateUserData = {
|
|
2579
|
-
body: UserUpdateInput;
|
|
2580
|
-
path: {
|
|
2581
|
-
/**
|
|
2582
|
-
* Unique user identifier. UUID v4 string in canonical form
|
|
2583
|
-
*/
|
|
2584
|
-
user_id: string;
|
|
2585
|
-
};
|
|
2586
|
-
query?: never;
|
|
2587
|
-
url: '/users/{user_id}';
|
|
2588
|
-
};
|
|
2589
|
-
export type UpdateUserResponses = {
|
|
2906
|
+
export type RedeemCreditsResponses = {
|
|
2590
2907
|
/**
|
|
2591
|
-
* Successfully created
|
|
2908
|
+
* Successfully created a new organization.
|
|
2592
2909
|
*/
|
|
2593
|
-
200:
|
|
2910
|
+
200: unknown;
|
|
2594
2911
|
};
|
|
2595
|
-
export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
|
|
2596
2912
|
//# sourceMappingURL=types.gen.d.ts.map
|