@cloudfleet/sdk 0.0.1-e9ffb68 → 0.0.1-ea442a2
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 +1149 -0
- package/dist/@tanstack/react-query.gen.d.ts.map +1 -0
- package/dist/@tanstack/react-query.gen.js +1165 -0
- package/dist/@tanstack/react-query.gen.js.map +1 -0
- package/dist/client/client.gen.d.ts.map +1 -1
- package/dist/client/client.gen.js +104 -123
- package/dist/client/client.gen.js.map +1 -1
- package/dist/client/types.gen.d.ts +6 -3
- package/dist/client/types.gen.d.ts.map +1 -1
- package/dist/client/utils.gen.d.ts +7 -3
- 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/core/serverSentEvents.gen.d.ts +1 -1
- package/dist/core/serverSentEvents.gen.d.ts.map +1 -1
- package/dist/core/serverSentEvents.gen.js +3 -4
- package/dist/core/serverSentEvents.gen.js.map +1 -1
- package/dist/schemas.gen.d.ts +916 -97
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +1821 -184
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +240 -197
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +348 -274
- package/dist/sdk.gen.js.map +1 -1
- package/dist/services/kubernetes/api.d.ts +8 -8
- package/dist/types.gen.d.ts +1523 -804
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +3257 -1141
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +1179 -285
- package/dist/zod.gen.js.map +1 -1
- package/package.json +27 -11
package/dist/schemas.gen.d.ts
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
export declare const BillingContactSchema: {
|
|
2
2
|
readonly type: "object";
|
|
3
3
|
readonly properties: {
|
|
4
|
+
readonly type: {
|
|
5
|
+
readonly type: "string";
|
|
6
|
+
readonly description: "Type of the organization. `business` for legal entities, `personal` for individuals.";
|
|
7
|
+
readonly example: "business";
|
|
8
|
+
readonly enum: readonly ["business", "personal"];
|
|
9
|
+
};
|
|
4
10
|
readonly company: {
|
|
5
11
|
readonly type: "string";
|
|
6
12
|
readonly maxLength: 120;
|
|
@@ -76,7 +82,7 @@ export declare const BillingContactSchema: {
|
|
|
76
82
|
readonly enum: readonly ["ad_nrt", "ae_trn", "al_tin", "am_tin", "ao_tin", "ar_cuit", "at_vat", "au_abn", "au_arn", "ba_tin", "bb_tin", "be_vat", "bg_uic", "bg_vat", "bh_vat", "bo_tin", "br_cnpj", "br_cpf", "bs_tin", "by_tin", "ca_bn", "ca_gst_hst", "ca_pst_bc", "ca_pst_mb", "ca_pst_sk", "ca_qst", "cd_nif", "ch_uid", "ch_vat", "cl_tin", "cn_tin", "co_nit", "cr_tin", "cy_vat", "cz_vat", "de_stn", "de_vat", "dk_vat", "do_rcn", "ec_ruc", "ee_vat", "eg_tin", "es_cif", "es_vat", "eu_oss_vat", "fi_vat", "fr_vat", "gb_vat", "ge_vat", "gn_nif", "gr_vat", "hk_br", "hr_oib", "hr_vat", "hu_tin", "hu_vat", "id_npwp", "ie_vat", "il_vat", "in_gst", "is_vat", "it_vat", "jp_cn", "jp_rn", "jp_trn", "ke_pin", "kh_tin", "kr_brn", "kz_bin", "li_uid", "li_vat", "lt_vat", "lu_vat", "lv_vat", "ma_vat", "md_vat", "me_pib", "mk_vat", "mr_nif", "mt_vat", "mx_rfc", "my_frp", "my_itn", "my_sst", "ng_tin", "nl_vat", "no_vat", "no_voec", "np_pan", "nz_gst", "om_vat", "pe_ruc", "ph_tin", "pl_vat", "pt_vat", "ro_tin", "ro_vat", "rs_pib", "ru_inn", "ru_kpp", "sa_vat", "se_vat", "sg_gst", "sg_uen", "si_tin", "si_vat", "sk_vat", "sn_ninea", "sr_fin", "sv_nit", "th_vat", "tj_tin", "tr_tin", "tw_vat", "tz_vat", "ua_vat", "ug_tin", "us_ein", "uy_ruc", "uz_tin", "uz_vat", "ve_rif", "vn_tin", "xi_vat", "za_vat", "zm_tin", "zw_tin", ""];
|
|
77
83
|
};
|
|
78
84
|
};
|
|
79
|
-
readonly required: readonly ["email", "individual_name"];
|
|
85
|
+
readonly required: readonly ["type", "email", "individual_name"];
|
|
80
86
|
readonly additionalProperties: false;
|
|
81
87
|
};
|
|
82
88
|
export declare const BillingCreditsSchema: {
|
|
@@ -211,9 +217,8 @@ export declare const ChartSchema: {
|
|
|
211
217
|
};
|
|
212
218
|
readonly status: {
|
|
213
219
|
readonly type: "string";
|
|
214
|
-
readonly description: "Status of the chart deployment.";
|
|
215
|
-
readonly example: "
|
|
216
|
-
readonly enum: readonly ["InstallSucceeded", "InstallFailed", "UpgradeSucceeded", "UpgradeFailed", "TestSucceeded", "TestFailed", "RollbackSucceeded", "RollbackFailed", "UninstallSucceeded", "UninstallFailed", "ArtifactFailed", "DependencyNotReady", "Progressing", "SourceNotReady"];
|
|
220
|
+
readonly description: "Status of the chart deployment (Flux HelmRelease Ready condition reason, e.g. InstallSucceeded, UpgradeFailed, Progressing).";
|
|
221
|
+
readonly example: "InstallSucceeded";
|
|
217
222
|
};
|
|
218
223
|
readonly version_current: {
|
|
219
224
|
readonly type: "string";
|
|
@@ -275,10 +280,8 @@ export declare const ClusterCreateInputSchema: {
|
|
|
275
280
|
};
|
|
276
281
|
readonly region: {
|
|
277
282
|
readonly type: "string";
|
|
278
|
-
readonly description: "Cloudfleet control plane region.
|
|
279
|
-
readonly
|
|
280
|
-
readonly example: "northamerica-central-1a";
|
|
281
|
-
readonly enum: readonly ["staging-1a", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a"];
|
|
283
|
+
readonly description: "Cloudfleet control plane region. This field can not be updated after creation.";
|
|
284
|
+
readonly example: "europe-central-1a";
|
|
282
285
|
};
|
|
283
286
|
readonly version_channel: {
|
|
284
287
|
readonly type: "string";
|
|
@@ -286,10 +289,79 @@ export declare const ClusterCreateInputSchema: {
|
|
|
286
289
|
readonly description: "Version of the kubernetes cluster.";
|
|
287
290
|
readonly default: "1.x.x-cfke.x";
|
|
288
291
|
readonly example: "1.x.x-cfke.x";
|
|
289
|
-
|
|
292
|
+
};
|
|
293
|
+
readonly release_channel: {
|
|
294
|
+
readonly type: "string";
|
|
295
|
+
readonly description: "Release channel for the cluster's control plane.";
|
|
296
|
+
readonly default: "rapid";
|
|
297
|
+
readonly example: "rapid";
|
|
298
|
+
readonly enum: readonly ["rapid", "stable", "extended"];
|
|
299
|
+
};
|
|
300
|
+
readonly features: {
|
|
301
|
+
readonly type: "object";
|
|
302
|
+
readonly properties: {
|
|
303
|
+
readonly gpu_sharing_strategy: {
|
|
304
|
+
readonly type: "string";
|
|
305
|
+
readonly description: "GPU sharing strategy.";
|
|
306
|
+
readonly example: "none";
|
|
307
|
+
readonly enum: readonly ["none", "mps", "time_slicing"];
|
|
308
|
+
};
|
|
309
|
+
readonly gpu_max_shared_clients_per_gpu: {
|
|
310
|
+
readonly type: "integer";
|
|
311
|
+
readonly minimum: 1;
|
|
312
|
+
readonly maximum: 48;
|
|
313
|
+
readonly description: "Maximum number of pods that may share a single GPU.";
|
|
314
|
+
readonly example: 10;
|
|
315
|
+
};
|
|
316
|
+
readonly cilium_socket_lb_host_namespace_only: {
|
|
317
|
+
readonly type: "boolean";
|
|
318
|
+
readonly description: "Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.";
|
|
319
|
+
readonly example: false;
|
|
320
|
+
};
|
|
321
|
+
};
|
|
322
|
+
readonly required: readonly ["gpu_sharing_strategy", "gpu_max_shared_clients_per_gpu"];
|
|
323
|
+
readonly additionalProperties: false;
|
|
324
|
+
readonly description: "Cluster feature toggles.";
|
|
325
|
+
readonly default: {
|
|
326
|
+
readonly gpu_sharing_strategy: "none";
|
|
327
|
+
readonly gpu_max_shared_clients_per_gpu: 10;
|
|
328
|
+
readonly cilium_socket_lb_host_namespace_only: false;
|
|
329
|
+
};
|
|
330
|
+
};
|
|
331
|
+
readonly networking: {
|
|
332
|
+
readonly type: "object";
|
|
333
|
+
readonly properties: {
|
|
334
|
+
readonly pod_cidr: {
|
|
335
|
+
readonly type: "string";
|
|
336
|
+
readonly description: "CIDR block for pod IPs.";
|
|
337
|
+
readonly example: "10.244.0.0/16";
|
|
338
|
+
};
|
|
339
|
+
readonly service_cidr: {
|
|
340
|
+
readonly type: "string";
|
|
341
|
+
readonly description: "CIDR block for service IPs.";
|
|
342
|
+
readonly example: "10.96.0.0/12";
|
|
343
|
+
};
|
|
344
|
+
readonly dual_stack: {
|
|
345
|
+
readonly type: "boolean";
|
|
346
|
+
readonly description: "Enable IPv4+IPv6 dual-stack networking.";
|
|
347
|
+
readonly example: false;
|
|
348
|
+
};
|
|
349
|
+
readonly pod_cidr_v6: {
|
|
350
|
+
readonly type: "string";
|
|
351
|
+
readonly description: "IPv6 pod CIDR. Requires dual_stack.";
|
|
352
|
+
readonly example: "fd00:10:244::/56";
|
|
353
|
+
};
|
|
354
|
+
readonly service_cidr_v6: {
|
|
355
|
+
readonly type: "string";
|
|
356
|
+
readonly description: "IPv6 service CIDR. Requires dual_stack.";
|
|
357
|
+
readonly example: "fd00:10:96::/112";
|
|
358
|
+
};
|
|
359
|
+
};
|
|
360
|
+
readonly additionalProperties: false;
|
|
361
|
+
readonly description: "Cluster networking configuration. Immutable after creation.";
|
|
290
362
|
};
|
|
291
363
|
};
|
|
292
|
-
readonly required: readonly ["name", "tier"];
|
|
364
|
+
readonly required: readonly ["name", "tier", "region"];
|
|
293
365
|
readonly additionalProperties: false;
|
|
294
366
|
};
|
|
295
367
|
export declare const ClusterJoinInformationSchema: {
|
|
@@ -311,6 +383,11 @@ export declare const ClusterJoinInformationSchema: {
|
|
|
311
383
|
readonly description: "Cluster DNS IP address. This is the IP address of the kube-dns service in the cluster.";
|
|
312
384
|
readonly example: "10.96.0.10";
|
|
313
385
|
};
|
|
386
|
+
readonly pod_cidr: {
|
|
387
|
+
readonly type: "string";
|
|
388
|
+
readonly description: "Pod CIDR for the cluster. Used to configure iptables rules on nodes to prevent Tailscale routing loops.";
|
|
389
|
+
readonly example: "10.244.0.0/16";
|
|
390
|
+
};
|
|
314
391
|
readonly auth_key: {
|
|
315
392
|
readonly type: "string";
|
|
316
393
|
readonly description: "Authentication key for the cluster.";
|
|
@@ -373,7 +450,7 @@ export declare const ClusterJoinInformationSchema: {
|
|
|
373
450
|
readonly description: "OIDC Information for hosts to access to third party API's.";
|
|
374
451
|
};
|
|
375
452
|
};
|
|
376
|
-
readonly required: readonly ["certificate_authority", "endpoint", "cluster_dns", "auth_key", "bootstrap_token", "versions", "third_party_api_access_config"];
|
|
453
|
+
readonly required: readonly ["certificate_authority", "endpoint", "cluster_dns", "pod_cidr", "auth_key", "bootstrap_token", "versions", "third_party_api_access_config"];
|
|
377
454
|
readonly additionalProperties: false;
|
|
378
455
|
};
|
|
379
456
|
export declare const ClusterSchema: {
|
|
@@ -395,10 +472,72 @@ export declare const ClusterSchema: {
|
|
|
395
472
|
};
|
|
396
473
|
readonly region: {
|
|
397
474
|
readonly type: "string";
|
|
398
|
-
readonly description: "Cloudfleet control plane region.
|
|
399
|
-
readonly
|
|
400
|
-
|
|
401
|
-
|
|
475
|
+
readonly description: "Cloudfleet control plane region. This field can not be updated after creation.";
|
|
476
|
+
readonly example: "europe-central-1a";
|
|
477
|
+
};
|
|
478
|
+
readonly networking: {
|
|
479
|
+
readonly type: "object";
|
|
480
|
+
readonly properties: {
|
|
481
|
+
readonly pod_cidr: {
|
|
482
|
+
readonly type: "string";
|
|
483
|
+
readonly description: "CIDR block for pod IPs.";
|
|
484
|
+
readonly example: "10.244.0.0/16";
|
|
485
|
+
};
|
|
486
|
+
readonly service_cidr: {
|
|
487
|
+
readonly type: "string";
|
|
488
|
+
readonly description: "CIDR block for service IPs.";
|
|
489
|
+
readonly example: "10.96.0.0/12";
|
|
490
|
+
};
|
|
491
|
+
readonly dual_stack: {
|
|
492
|
+
readonly type: "boolean";
|
|
493
|
+
readonly description: "Enable IPv4+IPv6 dual-stack networking.";
|
|
494
|
+
readonly example: false;
|
|
495
|
+
};
|
|
496
|
+
readonly pod_cidr_v6: {
|
|
497
|
+
readonly type: "string";
|
|
498
|
+
readonly description: "IPv6 pod CIDR. Requires dual_stack.";
|
|
499
|
+
readonly example: "fd00:10:244::/56";
|
|
500
|
+
};
|
|
501
|
+
readonly service_cidr_v6: {
|
|
502
|
+
readonly type: "string";
|
|
503
|
+
readonly description: "IPv6 service CIDR. Requires dual_stack.";
|
|
504
|
+
readonly example: "fd00:10:96::/112";
|
|
505
|
+
};
|
|
506
|
+
};
|
|
507
|
+
readonly additionalProperties: false;
|
|
508
|
+
readonly description: "Cluster networking configuration. Immutable after creation.";
|
|
509
|
+
};
|
|
510
|
+
readonly release_channel: {
|
|
511
|
+
readonly type: "string";
|
|
512
|
+
readonly description: "Release channel for the cluster's control plane.";
|
|
513
|
+
readonly example: "rapid";
|
|
514
|
+
readonly enum: readonly ["rapid", "stable", "extended"];
|
|
515
|
+
};
|
|
516
|
+
readonly features: {
|
|
517
|
+
readonly type: "object";
|
|
518
|
+
readonly properties: {
|
|
519
|
+
readonly gpu_sharing_strategy: {
|
|
520
|
+
readonly type: "string";
|
|
521
|
+
readonly description: "GPU sharing strategy.";
|
|
522
|
+
readonly example: "none";
|
|
523
|
+
readonly enum: readonly ["none", "mps", "time_slicing"];
|
|
524
|
+
};
|
|
525
|
+
readonly gpu_max_shared_clients_per_gpu: {
|
|
526
|
+
readonly type: "integer";
|
|
527
|
+
readonly minimum: 1;
|
|
528
|
+
readonly maximum: 48;
|
|
529
|
+
readonly description: "Maximum number of pods that may share a single GPU.";
|
|
530
|
+
readonly example: 10;
|
|
531
|
+
};
|
|
532
|
+
readonly cilium_socket_lb_host_namespace_only: {
|
|
533
|
+
readonly type: "boolean";
|
|
534
|
+
readonly description: "Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.";
|
|
535
|
+
readonly example: false;
|
|
536
|
+
};
|
|
537
|
+
};
|
|
538
|
+
readonly required: readonly ["gpu_sharing_strategy", "gpu_max_shared_clients_per_gpu"];
|
|
539
|
+
readonly additionalProperties: false;
|
|
540
|
+
readonly description: "Cluster feature toggles.";
|
|
402
541
|
};
|
|
403
542
|
readonly id: {
|
|
404
543
|
readonly type: "string";
|
|
@@ -408,16 +547,27 @@ export declare const ClusterSchema: {
|
|
|
408
547
|
};
|
|
409
548
|
readonly status: {
|
|
410
549
|
readonly type: "string";
|
|
411
|
-
readonly description: "Status of the cluster.
|
|
412
|
-
readonly example: "
|
|
413
|
-
readonly enum: readonly ["
|
|
550
|
+
readonly description: "Status of the cluster.";
|
|
551
|
+
readonly example: "deployed";
|
|
552
|
+
readonly enum: readonly ["creating", "deployed", "updating", "disabled"];
|
|
414
553
|
};
|
|
415
554
|
readonly endpoint: {
|
|
416
555
|
readonly anyOf: readonly [{
|
|
417
556
|
readonly type: "string";
|
|
418
557
|
readonly format: "uri";
|
|
419
|
-
readonly description: "URL of the Kubernetes cluster control plane. This is the endpoint that kubectl uses to connect to the cluster.";
|
|
420
|
-
readonly example: "https://2ae6557c-c61f-49c6-b4c1-a65473470a03.staging.cfke.
|
|
558
|
+
readonly description: "URL signed by a public CA of the Kubernetes cluster control plane. This is the endpoint that kubectl uses to connect to the cluster.";
|
|
559
|
+
readonly example: "https://2ae6557c-c61f-49c6-b4c1-a65473470a03.staging.cfke.io";
|
|
560
|
+
}, {
|
|
561
|
+
readonly type: "string";
|
|
562
|
+
readonly enum: readonly [""];
|
|
563
|
+
}];
|
|
564
|
+
};
|
|
565
|
+
readonly endpoint_public: {
|
|
566
|
+
readonly anyOf: readonly [{
|
|
567
|
+
readonly type: "string";
|
|
568
|
+
readonly format: "uri";
|
|
569
|
+
readonly description: "Deprecated alias of `endpoint`; retained for backward compatibility.";
|
|
570
|
+
readonly example: "https://2ae6557c-c61f-49c6-b4c1-a65473470a03.staging.cfke.io";
|
|
421
571
|
}, {
|
|
422
572
|
readonly type: "string";
|
|
423
573
|
readonly enum: readonly [""];
|
|
@@ -455,7 +605,7 @@ export declare const ClusterSchema: {
|
|
|
455
605
|
readonly example: "1.x.x-cfke.x";
|
|
456
606
|
};
|
|
457
607
|
};
|
|
458
|
-
readonly required: readonly ["name", "tier", "id", "status"];
|
|
608
|
+
readonly required: readonly ["name", "tier", "region", "id", "status"];
|
|
459
609
|
readonly additionalProperties: false;
|
|
460
610
|
};
|
|
461
611
|
export declare const ClusterUpdateInputSchema: {
|
|
@@ -481,6 +631,38 @@ export declare const ClusterUpdateInputSchema: {
|
|
|
481
631
|
readonly description: "Version of the kubernetes cluster.";
|
|
482
632
|
readonly example: "1.x.x-cfke.x";
|
|
483
633
|
};
|
|
634
|
+
readonly release_channel: {
|
|
635
|
+
readonly type: "string";
|
|
636
|
+
readonly description: "Release channel for the cluster's control plane.";
|
|
637
|
+
readonly example: "rapid";
|
|
638
|
+
readonly enum: readonly ["rapid", "stable", "extended"];
|
|
639
|
+
};
|
|
640
|
+
readonly features: {
|
|
641
|
+
readonly type: "object";
|
|
642
|
+
readonly properties: {
|
|
643
|
+
readonly gpu_sharing_strategy: {
|
|
644
|
+
readonly type: "string";
|
|
645
|
+
readonly description: "GPU sharing strategy.";
|
|
646
|
+
readonly example: "none";
|
|
647
|
+
readonly enum: readonly ["none", "mps", "time_slicing"];
|
|
648
|
+
};
|
|
649
|
+
readonly gpu_max_shared_clients_per_gpu: {
|
|
650
|
+
readonly type: "integer";
|
|
651
|
+
readonly minimum: 1;
|
|
652
|
+
readonly maximum: 48;
|
|
653
|
+
readonly description: "Maximum number of pods that may share a single GPU.";
|
|
654
|
+
readonly example: 10;
|
|
655
|
+
};
|
|
656
|
+
readonly cilium_socket_lb_host_namespace_only: {
|
|
657
|
+
readonly type: "boolean";
|
|
658
|
+
readonly description: "Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.";
|
|
659
|
+
readonly example: false;
|
|
660
|
+
};
|
|
661
|
+
};
|
|
662
|
+
readonly required: readonly ["gpu_sharing_strategy", "gpu_max_shared_clients_per_gpu"];
|
|
663
|
+
readonly additionalProperties: false;
|
|
664
|
+
readonly description: "Cluster feature toggles.";
|
|
665
|
+
};
|
|
484
666
|
};
|
|
485
667
|
readonly required: readonly ["tier"];
|
|
486
668
|
readonly additionalProperties: false;
|
|
@@ -492,13 +674,12 @@ export declare const FleetCreateInputSchema: {
|
|
|
492
674
|
readonly type: "object";
|
|
493
675
|
readonly properties: {
|
|
494
676
|
readonly cpu: {
|
|
495
|
-
readonly type: "
|
|
496
|
-
readonly format: "float";
|
|
677
|
+
readonly type: "integer";
|
|
497
678
|
readonly minimum: 0;
|
|
498
|
-
readonly
|
|
679
|
+
readonly maximum: 100000;
|
|
680
|
+
readonly description: "CPU limit in cores. Maximum 100,000.";
|
|
499
681
|
};
|
|
500
682
|
};
|
|
501
|
-
readonly required: readonly ["cpu"];
|
|
502
683
|
readonly additionalProperties: false;
|
|
503
684
|
readonly description: "Limits define a set of bounds for provisioning capacity.";
|
|
504
685
|
};
|
|
@@ -507,14 +688,15 @@ export declare const FleetCreateInputSchema: {
|
|
|
507
688
|
readonly properties: {
|
|
508
689
|
readonly enabled: {
|
|
509
690
|
readonly type: "boolean";
|
|
510
|
-
readonly default: true;
|
|
511
691
|
};
|
|
512
692
|
readonly project: {
|
|
513
693
|
readonly type: "string";
|
|
514
|
-
readonly
|
|
694
|
+
readonly pattern: "^[a-z][a-z0-9-]{4,28}[a-z0-9]$";
|
|
695
|
+
readonly description: "GCP project ID to deploy instances into. 6-30 chars, lowercase letters/digits/hyphens, must start with a letter and not end with a hyphen. Omit when GCP is disabled.";
|
|
696
|
+
readonly example: "my-cloudfleet-project";
|
|
515
697
|
};
|
|
516
698
|
};
|
|
517
|
-
readonly required: readonly ["
|
|
699
|
+
readonly required: readonly ["enabled"];
|
|
518
700
|
readonly additionalProperties: false;
|
|
519
701
|
};
|
|
520
702
|
readonly hetzner: {
|
|
@@ -522,14 +704,16 @@ export declare const FleetCreateInputSchema: {
|
|
|
522
704
|
readonly properties: {
|
|
523
705
|
readonly enabled: {
|
|
524
706
|
readonly type: "boolean";
|
|
525
|
-
readonly default: true;
|
|
526
707
|
};
|
|
527
708
|
readonly apiKey: {
|
|
528
709
|
readonly type: "string";
|
|
529
|
-
readonly
|
|
710
|
+
readonly maxLength: 64;
|
|
711
|
+
readonly minLength: 64;
|
|
712
|
+
readonly pattern: "^[A-Za-z0-9]+$";
|
|
713
|
+
readonly description: "Hetzner Cloud API token with read / write access (64 alphanumeric characters). Omit this field to keep the existing value.";
|
|
530
714
|
};
|
|
531
715
|
};
|
|
532
|
-
readonly required: readonly ["
|
|
716
|
+
readonly required: readonly ["enabled"];
|
|
533
717
|
readonly additionalProperties: false;
|
|
534
718
|
};
|
|
535
719
|
readonly aws: {
|
|
@@ -537,15 +721,66 @@ export declare const FleetCreateInputSchema: {
|
|
|
537
721
|
readonly properties: {
|
|
538
722
|
readonly enabled: {
|
|
539
723
|
readonly type: "boolean";
|
|
540
|
-
readonly default: true;
|
|
541
724
|
};
|
|
542
725
|
readonly controllerRoleArn: {
|
|
543
726
|
readonly type: "string";
|
|
544
|
-
readonly
|
|
727
|
+
readonly pattern: "^arn:aws(-[a-z]+)*:iam::\\d{12}:role\\/[\\w+=,.@/-]+$";
|
|
728
|
+
readonly description: "AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.";
|
|
729
|
+
readonly example: "arn:aws:iam::123456789012:role/Cloudfleet";
|
|
730
|
+
};
|
|
731
|
+
};
|
|
732
|
+
readonly required: readonly ["enabled"];
|
|
733
|
+
readonly additionalProperties: false;
|
|
734
|
+
};
|
|
735
|
+
readonly constraints: {
|
|
736
|
+
readonly type: "object";
|
|
737
|
+
readonly properties: {
|
|
738
|
+
readonly 'karpenter.sh/capacity-type': {
|
|
739
|
+
readonly type: "array";
|
|
740
|
+
readonly items: {
|
|
741
|
+
readonly type: "string";
|
|
742
|
+
readonly enum: readonly ["on-demand", "spot"];
|
|
743
|
+
};
|
|
744
|
+
readonly minItems: 1;
|
|
745
|
+
readonly description: "Allowed values for `karpenter.sh/capacity-type`.";
|
|
746
|
+
readonly default: readonly ["on-demand", "spot"];
|
|
747
|
+
};
|
|
748
|
+
readonly 'kubernetes.io/arch': {
|
|
749
|
+
readonly type: "array";
|
|
750
|
+
readonly items: {
|
|
751
|
+
readonly type: "string";
|
|
752
|
+
readonly enum: readonly ["amd64", "arm64"];
|
|
753
|
+
};
|
|
754
|
+
readonly minItems: 1;
|
|
755
|
+
readonly description: "Allowed values for `kubernetes.io/arch`.";
|
|
756
|
+
readonly default: readonly ["amd64"];
|
|
757
|
+
};
|
|
758
|
+
readonly 'cfke.io/instance-family': {
|
|
759
|
+
readonly type: "array";
|
|
760
|
+
readonly items: {
|
|
761
|
+
readonly type: "string";
|
|
762
|
+
readonly enum: readonly ["a1", "a2", "a3", "a4", "c1", "c2", "c2d", "c3", "c3d", "c4", "c4a", "c4d", "c5", "c5a", "c5ad", "c5d", "c5n", "c6a", "c6g", "c6gd", "c6gn", "c6i", "c6id", "c6in", "c7a", "c7g", "c7gd", "c7gn", "c7i", "c7i-flex", "c8g", "c8gd", "cax", "ccx", "cpx", "cx", "d2", "d3", "d3en", "dl1", "dl2q", "e2", "f1", "f2", "g1", "g2", "g4ad", "g4dn", "g5", "g5g", "g6", "g6e", "gr6", "h1", "h3", "hpc6a", "hpc6id", "hpc7a", "hpc7g", "i2", "i3", "i3en", "i4g", "i4i", "i7i", "i7ie", "i8g", "im4gn", "inf1", "inf2", "is4gen", "m1", "m2", "m3", "m4", "m5", "m5a", "m5ad", "m5d", "m5dn", "m5n", "m5zn", "m6a", "m6g", "m6gd", "m6i", "m6id", "m6idn", "m6in", "m7a", "m7g", "m7gd", "m7i", "m7i-flex", "m8g", "m8gd", "n1", "n2", "n2d", "n4", "p3", "p3dn", "p4d", "p4de", "p5", "p5e", "p5en", "p6-b200", "r3", "r4", "r5", "r5a", "r5ad", "r5b", "r5d", "r5dn", "r5n", "r6a", "r6g", "r6gd", "r6i", "r6id", "r6idn", "r6in", "r7a", "r7g", "r7gd", "r7i", "r7iz", "r8g", "r8gd", "t2", "t2a", "t2d", "t3", "t3a", "t4g", "trn1", "trn1n", "u-3tb1", "u-6tb1", "u7i-12tb", "u7i-6tb", "u7i-8tb", "u7in-16tb", "u7in-24tb", "u7in-32tb", "vt1", "x1", "x1e", "x2gd", "x2idn", "x2iedn", "x2iezn", "x4", "x8g", "z1d", "z3"];
|
|
763
|
+
};
|
|
764
|
+
readonly description: "Allowed values for `cfke.io/instance-family`.";
|
|
765
|
+
};
|
|
766
|
+
readonly 'topology.kubernetes.io/region': {
|
|
767
|
+
readonly type: "array";
|
|
768
|
+
readonly items: {
|
|
769
|
+
readonly type: "string";
|
|
770
|
+
readonly enum: readonly ["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"];
|
|
771
|
+
};
|
|
772
|
+
readonly description: "Allowed values for `topology.kubernetes.io/region`.";
|
|
545
773
|
};
|
|
546
774
|
};
|
|
547
|
-
readonly required: readonly ["controllerRoleArn"];
|
|
548
775
|
readonly additionalProperties: false;
|
|
776
|
+
readonly description: "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. Omit a field to place no restriction on that key.";
|
|
777
|
+
};
|
|
778
|
+
readonly scalingProfile: {
|
|
779
|
+
readonly type: "string";
|
|
780
|
+
readonly description: "Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.";
|
|
781
|
+
readonly default: "conservative";
|
|
782
|
+
readonly example: "conservative";
|
|
783
|
+
readonly enum: readonly ["aggressive", "conservative"];
|
|
549
784
|
};
|
|
550
785
|
readonly id: {
|
|
551
786
|
readonly type: "string";
|
|
@@ -566,13 +801,12 @@ export declare const FleetSchema: {
|
|
|
566
801
|
readonly type: "object";
|
|
567
802
|
readonly properties: {
|
|
568
803
|
readonly cpu: {
|
|
569
|
-
readonly type: "
|
|
570
|
-
readonly format: "float";
|
|
804
|
+
readonly type: "integer";
|
|
571
805
|
readonly minimum: 0;
|
|
572
|
-
readonly
|
|
806
|
+
readonly maximum: 100000;
|
|
807
|
+
readonly description: "CPU limit in cores. Maximum 100,000.";
|
|
573
808
|
};
|
|
574
809
|
};
|
|
575
|
-
readonly required: readonly ["cpu"];
|
|
576
810
|
readonly additionalProperties: false;
|
|
577
811
|
readonly description: "Limits define a set of bounds for provisioning capacity.";
|
|
578
812
|
};
|
|
@@ -581,14 +815,15 @@ export declare const FleetSchema: {
|
|
|
581
815
|
readonly properties: {
|
|
582
816
|
readonly enabled: {
|
|
583
817
|
readonly type: "boolean";
|
|
584
|
-
readonly default: true;
|
|
585
818
|
};
|
|
586
819
|
readonly project: {
|
|
587
820
|
readonly type: "string";
|
|
588
|
-
readonly
|
|
821
|
+
readonly pattern: "^[a-z][a-z0-9-]{4,28}[a-z0-9]$";
|
|
822
|
+
readonly description: "GCP project ID to deploy instances into. 6-30 chars, lowercase letters/digits/hyphens, must start with a letter and not end with a hyphen. Omit when GCP is disabled.";
|
|
823
|
+
readonly example: "my-cloudfleet-project";
|
|
589
824
|
};
|
|
590
825
|
};
|
|
591
|
-
readonly required: readonly ["
|
|
826
|
+
readonly required: readonly ["enabled"];
|
|
592
827
|
readonly additionalProperties: false;
|
|
593
828
|
};
|
|
594
829
|
readonly hetzner: {
|
|
@@ -596,14 +831,14 @@ export declare const FleetSchema: {
|
|
|
596
831
|
readonly properties: {
|
|
597
832
|
readonly enabled: {
|
|
598
833
|
readonly type: "boolean";
|
|
599
|
-
readonly default: true;
|
|
600
834
|
};
|
|
601
835
|
readonly apiKey: {
|
|
602
836
|
readonly type: "string";
|
|
603
|
-
readonly
|
|
837
|
+
readonly pattern: "^\\*{64}$";
|
|
838
|
+
readonly description: "Redacted Hetzner API token. Returned as 64 asterisks when a token is configured; omitted otherwise. The real value is never echoed by the API.";
|
|
604
839
|
};
|
|
605
840
|
};
|
|
606
|
-
readonly required: readonly ["
|
|
841
|
+
readonly required: readonly ["enabled"];
|
|
607
842
|
readonly additionalProperties: false;
|
|
608
843
|
};
|
|
609
844
|
readonly aws: {
|
|
@@ -611,16 +846,67 @@ export declare const FleetSchema: {
|
|
|
611
846
|
readonly properties: {
|
|
612
847
|
readonly enabled: {
|
|
613
848
|
readonly type: "boolean";
|
|
614
|
-
readonly default: true;
|
|
615
849
|
};
|
|
616
850
|
readonly controllerRoleArn: {
|
|
617
851
|
readonly type: "string";
|
|
618
|
-
readonly
|
|
852
|
+
readonly pattern: "^arn:aws(-[a-z]+)*:iam::\\d{12}:role\\/[\\w+=,.@/-]+$";
|
|
853
|
+
readonly description: "AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.";
|
|
854
|
+
readonly example: "arn:aws:iam::123456789012:role/Cloudfleet";
|
|
619
855
|
};
|
|
620
856
|
};
|
|
621
|
-
readonly required: readonly ["
|
|
857
|
+
readonly required: readonly ["enabled"];
|
|
622
858
|
readonly additionalProperties: false;
|
|
623
859
|
};
|
|
860
|
+
readonly constraints: {
|
|
861
|
+
readonly type: "object";
|
|
862
|
+
readonly properties: {
|
|
863
|
+
readonly 'karpenter.sh/capacity-type': {
|
|
864
|
+
readonly type: "array";
|
|
865
|
+
readonly items: {
|
|
866
|
+
readonly type: "string";
|
|
867
|
+
readonly enum: readonly ["on-demand", "spot"];
|
|
868
|
+
};
|
|
869
|
+
readonly minItems: 1;
|
|
870
|
+
readonly description: "Allowed values for `karpenter.sh/capacity-type`.";
|
|
871
|
+
readonly default: readonly ["on-demand", "spot"];
|
|
872
|
+
};
|
|
873
|
+
readonly 'kubernetes.io/arch': {
|
|
874
|
+
readonly type: "array";
|
|
875
|
+
readonly items: {
|
|
876
|
+
readonly type: "string";
|
|
877
|
+
readonly enum: readonly ["amd64", "arm64"];
|
|
878
|
+
};
|
|
879
|
+
readonly minItems: 1;
|
|
880
|
+
readonly description: "Allowed values for `kubernetes.io/arch`.";
|
|
881
|
+
readonly default: readonly ["amd64"];
|
|
882
|
+
};
|
|
883
|
+
readonly 'cfke.io/instance-family': {
|
|
884
|
+
readonly type: "array";
|
|
885
|
+
readonly items: {
|
|
886
|
+
readonly type: "string";
|
|
887
|
+
readonly enum: readonly ["a1", "a2", "a3", "a4", "c1", "c2", "c2d", "c3", "c3d", "c4", "c4a", "c4d", "c5", "c5a", "c5ad", "c5d", "c5n", "c6a", "c6g", "c6gd", "c6gn", "c6i", "c6id", "c6in", "c7a", "c7g", "c7gd", "c7gn", "c7i", "c7i-flex", "c8g", "c8gd", "cax", "ccx", "cpx", "cx", "d2", "d3", "d3en", "dl1", "dl2q", "e2", "f1", "f2", "g1", "g2", "g4ad", "g4dn", "g5", "g5g", "g6", "g6e", "gr6", "h1", "h3", "hpc6a", "hpc6id", "hpc7a", "hpc7g", "i2", "i3", "i3en", "i4g", "i4i", "i7i", "i7ie", "i8g", "im4gn", "inf1", "inf2", "is4gen", "m1", "m2", "m3", "m4", "m5", "m5a", "m5ad", "m5d", "m5dn", "m5n", "m5zn", "m6a", "m6g", "m6gd", "m6i", "m6id", "m6idn", "m6in", "m7a", "m7g", "m7gd", "m7i", "m7i-flex", "m8g", "m8gd", "n1", "n2", "n2d", "n4", "p3", "p3dn", "p4d", "p4de", "p5", "p5e", "p5en", "p6-b200", "r3", "r4", "r5", "r5a", "r5ad", "r5b", "r5d", "r5dn", "r5n", "r6a", "r6g", "r6gd", "r6i", "r6id", "r6idn", "r6in", "r7a", "r7g", "r7gd", "r7i", "r7iz", "r8g", "r8gd", "t2", "t2a", "t2d", "t3", "t3a", "t4g", "trn1", "trn1n", "u-3tb1", "u-6tb1", "u7i-12tb", "u7i-6tb", "u7i-8tb", "u7in-16tb", "u7in-24tb", "u7in-32tb", "vt1", "x1", "x1e", "x2gd", "x2idn", "x2iedn", "x2iezn", "x4", "x8g", "z1d", "z3"];
|
|
888
|
+
};
|
|
889
|
+
readonly description: "Allowed values for `cfke.io/instance-family`.";
|
|
890
|
+
};
|
|
891
|
+
readonly 'topology.kubernetes.io/region': {
|
|
892
|
+
readonly type: "array";
|
|
893
|
+
readonly items: {
|
|
894
|
+
readonly type: "string";
|
|
895
|
+
readonly enum: readonly ["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"];
|
|
896
|
+
};
|
|
897
|
+
readonly description: "Allowed values for `topology.kubernetes.io/region`.";
|
|
898
|
+
};
|
|
899
|
+
};
|
|
900
|
+
readonly additionalProperties: false;
|
|
901
|
+
readonly description: "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. Omit a field to place no restriction on that key.";
|
|
902
|
+
};
|
|
903
|
+
readonly scalingProfile: {
|
|
904
|
+
readonly type: "string";
|
|
905
|
+
readonly description: "Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.";
|
|
906
|
+
readonly default: "conservative";
|
|
907
|
+
readonly example: "conservative";
|
|
908
|
+
readonly enum: readonly ["aggressive", "conservative"];
|
|
909
|
+
};
|
|
624
910
|
readonly id: {
|
|
625
911
|
readonly type: "string";
|
|
626
912
|
readonly maxLength: 63;
|
|
@@ -629,8 +915,28 @@ export declare const FleetSchema: {
|
|
|
629
915
|
readonly description: "Unique identifier of the kubernetes fleet.";
|
|
630
916
|
readonly example: "new-clouds-fleet";
|
|
631
917
|
};
|
|
918
|
+
readonly ready: {
|
|
919
|
+
readonly type: "boolean";
|
|
920
|
+
readonly description: "Indicates whether the fleet configuration is healthy.";
|
|
921
|
+
readonly example: true;
|
|
922
|
+
};
|
|
923
|
+
readonly status_message: {
|
|
924
|
+
readonly type: "string";
|
|
925
|
+
readonly description: "Human-readable reason the fleet is not ready. Present only when `ready` is false.";
|
|
926
|
+
readonly example: "Invalid provider permissions.";
|
|
927
|
+
};
|
|
928
|
+
readonly created_at: {
|
|
929
|
+
readonly type: "string";
|
|
930
|
+
readonly description: "Creation date and time of the fleet.";
|
|
931
|
+
readonly example: "2024-09-12T09:11:27Z";
|
|
932
|
+
};
|
|
933
|
+
readonly updated_at: {
|
|
934
|
+
readonly type: "string";
|
|
935
|
+
readonly description: "Date and time the fleet was last updated.";
|
|
936
|
+
readonly example: "2024-09-12T09:11:27Z";
|
|
937
|
+
};
|
|
632
938
|
};
|
|
633
|
-
readonly required: readonly ["id"];
|
|
939
|
+
readonly required: readonly ["scalingProfile", "id", "ready", "created_at", "updated_at"];
|
|
634
940
|
readonly additionalProperties: false;
|
|
635
941
|
};
|
|
636
942
|
export declare const FleetUpdateInputSchema: {
|
|
@@ -640,13 +946,12 @@ export declare const FleetUpdateInputSchema: {
|
|
|
640
946
|
readonly type: "object";
|
|
641
947
|
readonly properties: {
|
|
642
948
|
readonly cpu: {
|
|
643
|
-
readonly type: "
|
|
644
|
-
readonly format: "float";
|
|
949
|
+
readonly type: "integer";
|
|
645
950
|
readonly minimum: 0;
|
|
646
|
-
readonly
|
|
951
|
+
readonly maximum: 100000;
|
|
952
|
+
readonly description: "CPU limit in cores. Maximum 100,000.";
|
|
647
953
|
};
|
|
648
954
|
};
|
|
649
|
-
readonly required: readonly ["cpu"];
|
|
650
955
|
readonly additionalProperties: false;
|
|
651
956
|
readonly description: "Limits define a set of bounds for provisioning capacity.";
|
|
652
957
|
};
|
|
@@ -655,14 +960,15 @@ export declare const FleetUpdateInputSchema: {
|
|
|
655
960
|
readonly properties: {
|
|
656
961
|
readonly enabled: {
|
|
657
962
|
readonly type: "boolean";
|
|
658
|
-
readonly default: true;
|
|
659
963
|
};
|
|
660
964
|
readonly project: {
|
|
661
965
|
readonly type: "string";
|
|
662
|
-
readonly
|
|
966
|
+
readonly pattern: "^[a-z][a-z0-9-]{4,28}[a-z0-9]$";
|
|
967
|
+
readonly description: "GCP project ID to deploy instances into. 6-30 chars, lowercase letters/digits/hyphens, must start with a letter and not end with a hyphen. Omit when GCP is disabled.";
|
|
968
|
+
readonly example: "my-cloudfleet-project";
|
|
663
969
|
};
|
|
664
970
|
};
|
|
665
|
-
readonly required: readonly ["
|
|
971
|
+
readonly required: readonly ["enabled"];
|
|
666
972
|
readonly additionalProperties: false;
|
|
667
973
|
};
|
|
668
974
|
readonly hetzner: {
|
|
@@ -670,14 +976,16 @@ export declare const FleetUpdateInputSchema: {
|
|
|
670
976
|
readonly properties: {
|
|
671
977
|
readonly enabled: {
|
|
672
978
|
readonly type: "boolean";
|
|
673
|
-
readonly default: true;
|
|
674
979
|
};
|
|
675
980
|
readonly apiKey: {
|
|
676
981
|
readonly type: "string";
|
|
677
|
-
readonly
|
|
982
|
+
readonly maxLength: 64;
|
|
983
|
+
readonly minLength: 64;
|
|
984
|
+
readonly pattern: "^[A-Za-z0-9]+$";
|
|
985
|
+
readonly description: "Hetzner Cloud API token with read / write access (64 alphanumeric characters). Omit this field to keep the existing value.";
|
|
678
986
|
};
|
|
679
987
|
};
|
|
680
|
-
readonly required: readonly ["
|
|
988
|
+
readonly required: readonly ["enabled"];
|
|
681
989
|
readonly additionalProperties: false;
|
|
682
990
|
};
|
|
683
991
|
readonly aws: {
|
|
@@ -685,17 +993,86 @@ export declare const FleetUpdateInputSchema: {
|
|
|
685
993
|
readonly properties: {
|
|
686
994
|
readonly enabled: {
|
|
687
995
|
readonly type: "boolean";
|
|
688
|
-
readonly default: true;
|
|
689
996
|
};
|
|
690
997
|
readonly controllerRoleArn: {
|
|
691
998
|
readonly type: "string";
|
|
692
|
-
readonly
|
|
999
|
+
readonly pattern: "^arn:aws(-[a-z]+)*:iam::\\d{12}:role\\/[\\w+=,.@/-]+$";
|
|
1000
|
+
readonly description: "AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.";
|
|
1001
|
+
readonly example: "arn:aws:iam::123456789012:role/Cloudfleet";
|
|
693
1002
|
};
|
|
694
1003
|
};
|
|
695
|
-
readonly required: readonly ["
|
|
1004
|
+
readonly required: readonly ["enabled"];
|
|
696
1005
|
readonly additionalProperties: false;
|
|
697
1006
|
};
|
|
1007
|
+
readonly constraints: {
|
|
1008
|
+
readonly type: "object";
|
|
1009
|
+
readonly properties: {
|
|
1010
|
+
readonly 'karpenter.sh/capacity-type': {
|
|
1011
|
+
readonly type: "array";
|
|
1012
|
+
readonly items: {
|
|
1013
|
+
readonly type: "string";
|
|
1014
|
+
readonly enum: readonly ["on-demand", "spot"];
|
|
1015
|
+
};
|
|
1016
|
+
readonly minItems: 1;
|
|
1017
|
+
readonly description: "Allowed values for `karpenter.sh/capacity-type`.";
|
|
1018
|
+
};
|
|
1019
|
+
readonly 'kubernetes.io/arch': {
|
|
1020
|
+
readonly type: "array";
|
|
1021
|
+
readonly items: {
|
|
1022
|
+
readonly type: "string";
|
|
1023
|
+
readonly enum: readonly ["amd64", "arm64"];
|
|
1024
|
+
};
|
|
1025
|
+
readonly minItems: 1;
|
|
1026
|
+
readonly description: "Allowed values for `kubernetes.io/arch`.";
|
|
1027
|
+
};
|
|
1028
|
+
readonly 'cfke.io/instance-family': {
|
|
1029
|
+
readonly type: "array";
|
|
1030
|
+
readonly items: {
|
|
1031
|
+
readonly type: "string";
|
|
1032
|
+
readonly enum: readonly ["a1", "a2", "a3", "a4", "c1", "c2", "c2d", "c3", "c3d", "c4", "c4a", "c4d", "c5", "c5a", "c5ad", "c5d", "c5n", "c6a", "c6g", "c6gd", "c6gn", "c6i", "c6id", "c6in", "c7a", "c7g", "c7gd", "c7gn", "c7i", "c7i-flex", "c8g", "c8gd", "cax", "ccx", "cpx", "cx", "d2", "d3", "d3en", "dl1", "dl2q", "e2", "f1", "f2", "g1", "g2", "g4ad", "g4dn", "g5", "g5g", "g6", "g6e", "gr6", "h1", "h3", "hpc6a", "hpc6id", "hpc7a", "hpc7g", "i2", "i3", "i3en", "i4g", "i4i", "i7i", "i7ie", "i8g", "im4gn", "inf1", "inf2", "is4gen", "m1", "m2", "m3", "m4", "m5", "m5a", "m5ad", "m5d", "m5dn", "m5n", "m5zn", "m6a", "m6g", "m6gd", "m6i", "m6id", "m6idn", "m6in", "m7a", "m7g", "m7gd", "m7i", "m7i-flex", "m8g", "m8gd", "n1", "n2", "n2d", "n4", "p3", "p3dn", "p4d", "p4de", "p5", "p5e", "p5en", "p6-b200", "r3", "r4", "r5", "r5a", "r5ad", "r5b", "r5d", "r5dn", "r5n", "r6a", "r6g", "r6gd", "r6i", "r6id", "r6idn", "r6in", "r7a", "r7g", "r7gd", "r7i", "r7iz", "r8g", "r8gd", "t2", "t2a", "t2d", "t3", "t3a", "t4g", "trn1", "trn1n", "u-3tb1", "u-6tb1", "u7i-12tb", "u7i-6tb", "u7i-8tb", "u7in-16tb", "u7in-24tb", "u7in-32tb", "vt1", "x1", "x1e", "x2gd", "x2idn", "x2iedn", "x2iezn", "x4", "x8g", "z1d", "z3"];
|
|
1033
|
+
};
|
|
1034
|
+
readonly description: "Allowed values for `cfke.io/instance-family`.";
|
|
1035
|
+
};
|
|
1036
|
+
readonly 'topology.kubernetes.io/region': {
|
|
1037
|
+
readonly type: "array";
|
|
1038
|
+
readonly items: {
|
|
1039
|
+
readonly type: "string";
|
|
1040
|
+
readonly enum: readonly ["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"];
|
|
1041
|
+
};
|
|
1042
|
+
readonly description: "Allowed values for `topology.kubernetes.io/region`.";
|
|
1043
|
+
};
|
|
1044
|
+
};
|
|
1045
|
+
readonly additionalProperties: false;
|
|
1046
|
+
readonly description: "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. Omit a field to place no restriction on that key.";
|
|
1047
|
+
};
|
|
1048
|
+
readonly scalingProfile: {
|
|
1049
|
+
readonly type: "string";
|
|
1050
|
+
readonly description: "Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.";
|
|
1051
|
+
readonly example: "conservative";
|
|
1052
|
+
readonly enum: readonly ["aggressive", "conservative"];
|
|
1053
|
+
};
|
|
1054
|
+
};
|
|
1055
|
+
readonly required: readonly ["scalingProfile"];
|
|
1056
|
+
readonly additionalProperties: false;
|
|
1057
|
+
};
|
|
1058
|
+
export declare const InviteCreateInputSchema: {
|
|
1059
|
+
readonly type: "object";
|
|
1060
|
+
readonly properties: {
|
|
1061
|
+
readonly email: {
|
|
1062
|
+
readonly type: "string";
|
|
1063
|
+
readonly format: "email";
|
|
1064
|
+
readonly description: "Email address of the user to invite.";
|
|
1065
|
+
readonly example: "email@example.com";
|
|
1066
|
+
};
|
|
1067
|
+
readonly role: {
|
|
1068
|
+
readonly type: "string";
|
|
1069
|
+
readonly description: "Role the invited user will be assigned on redemption. Can be 'Administrator' or 'User'.";
|
|
1070
|
+
readonly default: "User";
|
|
1071
|
+
readonly example: "User";
|
|
1072
|
+
readonly enum: readonly ["Administrator", "User"];
|
|
1073
|
+
};
|
|
698
1074
|
};
|
|
1075
|
+
readonly required: readonly ["email"];
|
|
699
1076
|
readonly additionalProperties: false;
|
|
700
1077
|
};
|
|
701
1078
|
export declare const InviteSchema: {
|
|
@@ -729,6 +1106,13 @@ export declare const InviteSchema: {
|
|
|
729
1106
|
readonly description: "Generated unique invite code.";
|
|
730
1107
|
readonly example: "7kUZnH7nnKUFfvc4NK2KQF";
|
|
731
1108
|
};
|
|
1109
|
+
readonly role: {
|
|
1110
|
+
readonly type: "string";
|
|
1111
|
+
readonly description: "Role the invited user will be assigned on redemption. Can be 'Administrator' or 'User'.";
|
|
1112
|
+
readonly default: "User";
|
|
1113
|
+
readonly example: "User";
|
|
1114
|
+
readonly enum: readonly ["Administrator", "User"];
|
|
1115
|
+
};
|
|
732
1116
|
};
|
|
733
1117
|
readonly required: readonly ["date_created"];
|
|
734
1118
|
readonly additionalProperties: false;
|
|
@@ -926,6 +1310,12 @@ export declare const MarketplaceListingSchema: {
|
|
|
926
1310
|
export declare const OrganizationCreateInputSchema: {
|
|
927
1311
|
readonly type: "object";
|
|
928
1312
|
readonly properties: {
|
|
1313
|
+
readonly type: {
|
|
1314
|
+
readonly type: "string";
|
|
1315
|
+
readonly description: "Type of the organization. `business` for legal entities, `personal` for individuals.";
|
|
1316
|
+
readonly example: "business";
|
|
1317
|
+
readonly enum: readonly ["business", "personal"];
|
|
1318
|
+
};
|
|
929
1319
|
readonly email: {
|
|
930
1320
|
readonly type: "string";
|
|
931
1321
|
readonly format: "email";
|
|
@@ -934,11 +1324,13 @@ export declare const OrganizationCreateInputSchema: {
|
|
|
934
1324
|
};
|
|
935
1325
|
readonly first_name: {
|
|
936
1326
|
readonly type: "string";
|
|
1327
|
+
readonly minLength: 1;
|
|
937
1328
|
readonly description: "First name of the billing contact person.";
|
|
938
1329
|
readonly example: "John";
|
|
939
1330
|
};
|
|
940
1331
|
readonly last_name: {
|
|
941
1332
|
readonly type: "string";
|
|
1333
|
+
readonly minLength: 1;
|
|
942
1334
|
readonly description: "Last name of the billing contact person.";
|
|
943
1335
|
readonly example: "Doe";
|
|
944
1336
|
};
|
|
@@ -956,7 +1348,19 @@ export declare const OrganizationCreateInputSchema: {
|
|
|
956
1348
|
readonly description: "Password for the root account. Must be at least 8 characters long and contain at least one uppercase letter, one lowercase letter, one number and one special character.";
|
|
957
1349
|
};
|
|
958
1350
|
};
|
|
959
|
-
readonly required: readonly ["email", "first_name", "last_name", "company_name", "password"];
|
|
1351
|
+
readonly required: readonly ["type", "email", "first_name", "last_name", "company_name", "password"];
|
|
1352
|
+
readonly additionalProperties: false;
|
|
1353
|
+
};
|
|
1354
|
+
export declare const OrganizationCreateOutputSchema: {
|
|
1355
|
+
readonly type: "object";
|
|
1356
|
+
readonly properties: {
|
|
1357
|
+
readonly id: {
|
|
1358
|
+
readonly type: "string";
|
|
1359
|
+
readonly description: "Unique identifier of the newly created organization. Generated by the API and safe to use for client-side tracking immediately.";
|
|
1360
|
+
readonly example: "organization-id";
|
|
1361
|
+
};
|
|
1362
|
+
};
|
|
1363
|
+
readonly required: readonly ["id"];
|
|
960
1364
|
readonly additionalProperties: false;
|
|
961
1365
|
};
|
|
962
1366
|
export declare const OrganizationSchema: {
|
|
@@ -975,6 +1379,12 @@ export declare const OrganizationSchema: {
|
|
|
975
1379
|
readonly description: "Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.";
|
|
976
1380
|
readonly example: "ACME Corp.";
|
|
977
1381
|
};
|
|
1382
|
+
readonly type: {
|
|
1383
|
+
readonly type: "string";
|
|
1384
|
+
readonly description: "Type of the organization. `business` for legal entities, `personal` for individuals.";
|
|
1385
|
+
readonly example: "business";
|
|
1386
|
+
readonly enum: readonly ["business", "personal"];
|
|
1387
|
+
};
|
|
978
1388
|
readonly date_created: {
|
|
979
1389
|
readonly type: "string";
|
|
980
1390
|
readonly format: "date-time";
|
|
@@ -1025,7 +1435,7 @@ export declare const OrganizationSchema: {
|
|
|
1025
1435
|
readonly type: "array";
|
|
1026
1436
|
readonly items: {
|
|
1027
1437
|
readonly type: "string";
|
|
1028
|
-
readonly example: "northamerica-central-
|
|
1438
|
+
readonly example: "northamerica-central-1a";
|
|
1029
1439
|
};
|
|
1030
1440
|
readonly minItems: 1;
|
|
1031
1441
|
readonly description: "List of Cloudfleet control plane regions available for the organization.";
|
|
@@ -1068,8 +1478,14 @@ export declare const OrganizationSchema: {
|
|
|
1068
1478
|
readonly description: "Status of the organization. Can be `active` or `closed`, or `suspended`.";
|
|
1069
1479
|
readonly enum: readonly ["active", "closed", "suspended"];
|
|
1070
1480
|
};
|
|
1481
|
+
readonly verification: {
|
|
1482
|
+
readonly type: "string";
|
|
1483
|
+
readonly description: "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.";
|
|
1484
|
+
readonly example: "verified";
|
|
1485
|
+
readonly enum: readonly ["none", "submitted", "verified"];
|
|
1486
|
+
};
|
|
1071
1487
|
};
|
|
1072
|
-
readonly required: readonly ["id", "date_created", "quota", "status"];
|
|
1488
|
+
readonly required: readonly ["id", "type", "date_created", "quota", "status", "verification"];
|
|
1073
1489
|
readonly additionalProperties: false;
|
|
1074
1490
|
};
|
|
1075
1491
|
export declare const PaymentMethodSchema: {
|
|
@@ -1077,26 +1493,19 @@ export declare const PaymentMethodSchema: {
|
|
|
1077
1493
|
readonly properties: {
|
|
1078
1494
|
readonly id: {
|
|
1079
1495
|
readonly type: "string";
|
|
1080
|
-
readonly
|
|
1081
|
-
readonly
|
|
1082
|
-
readonly example: "e94d30ec-a2dd-4dcb-832c-ac2be144ba91";
|
|
1083
|
-
};
|
|
1084
|
-
readonly setup: {
|
|
1085
|
-
readonly type: "boolean";
|
|
1086
|
-
readonly description: "Whether organization payment method was set up and ready to use for payments.";
|
|
1087
|
-
readonly example: true;
|
|
1496
|
+
readonly description: "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.";
|
|
1497
|
+
readonly example: "pm_1MtwBwLkdIwHu7ix28a3tqPa";
|
|
1088
1498
|
};
|
|
1089
1499
|
readonly type: {
|
|
1090
1500
|
readonly type: "string";
|
|
1091
|
-
readonly
|
|
1092
|
-
readonly description: "Payment method type type. Only `card` payments supported at the moment.";
|
|
1501
|
+
readonly description: "Payment method type. `card`, `sepa_debit` for SEPA Direct Debit (business accounts only), or `bank_transfer` for paying invoices by bank transfer.";
|
|
1093
1502
|
readonly example: "card";
|
|
1094
|
-
readonly enum: readonly ["card"];
|
|
1503
|
+
readonly enum: readonly ["card", "sepa_debit", "bank_transfer"];
|
|
1095
1504
|
};
|
|
1096
1505
|
readonly last4: {
|
|
1097
1506
|
readonly type: "string";
|
|
1098
1507
|
readonly nullable: true;
|
|
1099
|
-
readonly description: "Last 4 digits of the payment card number.";
|
|
1508
|
+
readonly description: "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.";
|
|
1100
1509
|
readonly example: "4242";
|
|
1101
1510
|
};
|
|
1102
1511
|
readonly exp_month: {
|
|
@@ -1104,25 +1513,46 @@ export declare const PaymentMethodSchema: {
|
|
|
1104
1513
|
readonly minimum: 1;
|
|
1105
1514
|
readonly maximum: 12;
|
|
1106
1515
|
readonly nullable: true;
|
|
1107
|
-
readonly description: "Two-digit number representing the card's expiration month.";
|
|
1108
|
-
readonly example:
|
|
1516
|
+
readonly description: "Two-digit number representing the card's expiration month. Null for SEPA Direct Debit and bank transfer.";
|
|
1517
|
+
readonly example: 12;
|
|
1109
1518
|
};
|
|
1110
1519
|
readonly exp_year: {
|
|
1111
1520
|
readonly type: "integer";
|
|
1112
|
-
readonly minimum: 2024;
|
|
1113
1521
|
readonly nullable: true;
|
|
1114
|
-
readonly description: "Four-digit number representing the card's expiration year.";
|
|
1115
|
-
readonly example:
|
|
1522
|
+
readonly description: "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.";
|
|
1523
|
+
readonly example: 2028;
|
|
1116
1524
|
};
|
|
1117
1525
|
readonly brand: {
|
|
1118
1526
|
readonly type: "string";
|
|
1119
1527
|
readonly nullable: true;
|
|
1120
|
-
readonly description: "Payment card brand
|
|
1528
|
+
readonly description: "Payment card brand as reported by Stripe, e.g. `visa`, `mastercard`, `amex`, `cartes_bancaires`, or `unknown`. Null for SEPA Direct Debit and bank transfer.";
|
|
1121
1529
|
readonly example: "visa";
|
|
1122
|
-
|
|
1530
|
+
};
|
|
1531
|
+
readonly iban: {
|
|
1532
|
+
readonly type: "string";
|
|
1533
|
+
readonly nullable: true;
|
|
1534
|
+
readonly description: "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.";
|
|
1535
|
+
readonly example: "DE11243015658023127510";
|
|
1536
|
+
};
|
|
1537
|
+
readonly bic: {
|
|
1538
|
+
readonly type: "string";
|
|
1539
|
+
readonly nullable: true;
|
|
1540
|
+
readonly description: "BIC/SWIFT of the destination bank for bank transfers. Set only for `bank_transfer`; null otherwise.";
|
|
1541
|
+
readonly example: "SOGEDEFFXXX";
|
|
1542
|
+
};
|
|
1543
|
+
readonly account_holder_name: {
|
|
1544
|
+
readonly type: "string";
|
|
1545
|
+
readonly nullable: true;
|
|
1546
|
+
readonly description: "Account holder name of the destination bank account for bank transfers. Set only for `bank_transfer`; null otherwise.";
|
|
1547
|
+
readonly example: "Cloudfleet GmbH";
|
|
1548
|
+
};
|
|
1549
|
+
readonly is_default: {
|
|
1550
|
+
readonly type: "boolean";
|
|
1551
|
+
readonly description: "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).";
|
|
1552
|
+
readonly example: true;
|
|
1123
1553
|
};
|
|
1124
1554
|
};
|
|
1125
|
-
readonly required: readonly ["id", "
|
|
1555
|
+
readonly required: readonly ["id", "type", "last4", "exp_month", "exp_year", "brand", "iban", "bic", "account_holder_name", "is_default"];
|
|
1126
1556
|
readonly additionalProperties: false;
|
|
1127
1557
|
};
|
|
1128
1558
|
export declare const PlatformQuotaSchema: {
|
|
@@ -1169,7 +1599,7 @@ export declare const PlatformQuotaSchema: {
|
|
|
1169
1599
|
readonly type: "array";
|
|
1170
1600
|
readonly items: {
|
|
1171
1601
|
readonly type: "string";
|
|
1172
|
-
readonly example: "northamerica-central-
|
|
1602
|
+
readonly example: "northamerica-central-1a";
|
|
1173
1603
|
};
|
|
1174
1604
|
readonly minItems: 1;
|
|
1175
1605
|
readonly description: "List of Cloudfleet control plane regions available for the organization.";
|
|
@@ -1437,6 +1867,407 @@ export declare const RegistryTagSchema: {
|
|
|
1437
1867
|
readonly required: readonly ["name", "digest", "size", "region", "repository", "uri"];
|
|
1438
1868
|
readonly additionalProperties: false;
|
|
1439
1869
|
};
|
|
1870
|
+
export declare const TicketAttachmentSchema: {
|
|
1871
|
+
readonly type: "object";
|
|
1872
|
+
readonly properties: {
|
|
1873
|
+
readonly id: {
|
|
1874
|
+
readonly type: "string";
|
|
1875
|
+
readonly description: "Unique identifier of the attachment (Mongo ObjectId).";
|
|
1876
|
+
readonly example: "60c72b2f9f1b2c001f8e4d3c";
|
|
1877
|
+
};
|
|
1878
|
+
readonly filename: {
|
|
1879
|
+
readonly type: "string";
|
|
1880
|
+
readonly description: "Original filename as uploaded.";
|
|
1881
|
+
readonly example: "debug.log";
|
|
1882
|
+
};
|
|
1883
|
+
readonly content_type: {
|
|
1884
|
+
readonly type: "string";
|
|
1885
|
+
readonly description: "MIME content type of the attachment.";
|
|
1886
|
+
readonly example: "text/plain";
|
|
1887
|
+
};
|
|
1888
|
+
readonly size: {
|
|
1889
|
+
readonly type: "integer";
|
|
1890
|
+
readonly description: "Size of the attachment in bytes.";
|
|
1891
|
+
readonly example: 12345;
|
|
1892
|
+
};
|
|
1893
|
+
};
|
|
1894
|
+
readonly required: readonly ["id", "filename", "content_type", "size"];
|
|
1895
|
+
readonly additionalProperties: false;
|
|
1896
|
+
};
|
|
1897
|
+
export declare const TicketCreateInputSchema: {
|
|
1898
|
+
readonly type: "object";
|
|
1899
|
+
readonly properties: {
|
|
1900
|
+
readonly category: {
|
|
1901
|
+
readonly type: "string";
|
|
1902
|
+
readonly description: "Ticket category. Drives auto-assignment and may carry a subcategory in `properties`.";
|
|
1903
|
+
readonly example: "technical";
|
|
1904
|
+
readonly enum: readonly ["billing", "technical", "general"];
|
|
1905
|
+
};
|
|
1906
|
+
readonly body: {
|
|
1907
|
+
readonly type: "string";
|
|
1908
|
+
readonly maxLength: 50000;
|
|
1909
|
+
readonly minLength: 1;
|
|
1910
|
+
readonly pattern: "\\S";
|
|
1911
|
+
readonly description: "Initial message body in markdown. There is no separate subject — the first message body is the description.";
|
|
1912
|
+
readonly example: "My cluster cannot reach the registry. Logs attached.";
|
|
1913
|
+
};
|
|
1914
|
+
readonly properties: {
|
|
1915
|
+
readonly type: "object";
|
|
1916
|
+
readonly additionalProperties: true;
|
|
1917
|
+
readonly description: "Free-form key/value bag set by the UI (e.g. `subcategory`, `cluster_id`, `cluster_name`, `region`).";
|
|
1918
|
+
readonly example: {
|
|
1919
|
+
readonly subcategory: "cluster-question";
|
|
1920
|
+
readonly cluster_id: "60c72b2f9f1b2c001f8e4d3a";
|
|
1921
|
+
};
|
|
1922
|
+
};
|
|
1923
|
+
};
|
|
1924
|
+
readonly required: readonly ["category", "body"];
|
|
1925
|
+
readonly additionalProperties: false;
|
|
1926
|
+
};
|
|
1927
|
+
export declare const TicketListResponseSchema: {
|
|
1928
|
+
readonly type: "object";
|
|
1929
|
+
readonly properties: {
|
|
1930
|
+
readonly items: {
|
|
1931
|
+
readonly type: "array";
|
|
1932
|
+
readonly items: {
|
|
1933
|
+
readonly type: "object";
|
|
1934
|
+
readonly properties: {
|
|
1935
|
+
readonly id: {
|
|
1936
|
+
readonly type: "string";
|
|
1937
|
+
readonly description: "Unique identifier of the ticket (Mongo ObjectId).";
|
|
1938
|
+
readonly example: "60c72b2f9f1b2c001f8e4d3a";
|
|
1939
|
+
};
|
|
1940
|
+
readonly status: {
|
|
1941
|
+
readonly type: "string";
|
|
1942
|
+
readonly description: "Current state of the ticket.";
|
|
1943
|
+
readonly example: "waiting_on_us";
|
|
1944
|
+
readonly enum: readonly ["waiting_on_us", "waiting_on_user", "closed"];
|
|
1945
|
+
};
|
|
1946
|
+
readonly category: {
|
|
1947
|
+
readonly type: "string";
|
|
1948
|
+
readonly description: "Ticket category.";
|
|
1949
|
+
readonly example: "technical";
|
|
1950
|
+
readonly enum: readonly ["billing", "technical", "general"];
|
|
1951
|
+
};
|
|
1952
|
+
readonly summary: {
|
|
1953
|
+
readonly type: "string";
|
|
1954
|
+
readonly description: "First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.";
|
|
1955
|
+
readonly example: "My cluster cannot reach the registry. Logs attached.";
|
|
1956
|
+
};
|
|
1957
|
+
readonly closed_at: {
|
|
1958
|
+
readonly type: "string";
|
|
1959
|
+
readonly format: "date-time";
|
|
1960
|
+
readonly nullable: true;
|
|
1961
|
+
readonly description: "Closure timestamp. Null while the ticket is open.";
|
|
1962
|
+
readonly example: "2026-05-18T16:08:14.338Z";
|
|
1963
|
+
};
|
|
1964
|
+
readonly date_created: {
|
|
1965
|
+
readonly type: "string";
|
|
1966
|
+
readonly format: "date-time";
|
|
1967
|
+
readonly description: "Creation date of the ticket. ISO 8601 UTC.";
|
|
1968
|
+
readonly example: "2026-05-11T16:08:14.338Z";
|
|
1969
|
+
};
|
|
1970
|
+
readonly date_updated: {
|
|
1971
|
+
readonly type: "string";
|
|
1972
|
+
readonly format: "date-time";
|
|
1973
|
+
readonly description: "Last update date of the ticket. ISO 8601 UTC.";
|
|
1974
|
+
readonly example: "2026-05-11T16:08:14.338Z";
|
|
1975
|
+
};
|
|
1976
|
+
readonly messages: {
|
|
1977
|
+
readonly type: "array";
|
|
1978
|
+
readonly items: {
|
|
1979
|
+
readonly type: "object";
|
|
1980
|
+
readonly properties: {
|
|
1981
|
+
readonly id: {
|
|
1982
|
+
readonly type: "string";
|
|
1983
|
+
readonly description: "Unique identifier of the message (Mongo ObjectId).";
|
|
1984
|
+
readonly example: "60c72b2f9f1b2c001f8e4d3b";
|
|
1985
|
+
};
|
|
1986
|
+
readonly type: {
|
|
1987
|
+
readonly type: "string";
|
|
1988
|
+
readonly description: "Message type. Internal notes are filtered out of customer-facing responses.";
|
|
1989
|
+
readonly example: "customer_reply";
|
|
1990
|
+
readonly enum: readonly ["customer_reply", "agent_reply"];
|
|
1991
|
+
};
|
|
1992
|
+
readonly body: {
|
|
1993
|
+
readonly type: "string";
|
|
1994
|
+
readonly description: "Message body in markdown.";
|
|
1995
|
+
readonly example: "Thanks — that resolved it on my side.";
|
|
1996
|
+
};
|
|
1997
|
+
readonly author_first_name: {
|
|
1998
|
+
readonly type: "string";
|
|
1999
|
+
readonly nullable: true;
|
|
2000
|
+
readonly description: "First name of the author. Null when not provided.";
|
|
2001
|
+
readonly example: "Jane";
|
|
2002
|
+
};
|
|
2003
|
+
readonly author_last_name: {
|
|
2004
|
+
readonly type: "string";
|
|
2005
|
+
readonly nullable: true;
|
|
2006
|
+
readonly description: "Last name of the author. Null when not provided.";
|
|
2007
|
+
readonly example: "Doe";
|
|
2008
|
+
};
|
|
2009
|
+
readonly attachments: {
|
|
2010
|
+
readonly type: "array";
|
|
2011
|
+
readonly items: {
|
|
2012
|
+
readonly type: "object";
|
|
2013
|
+
readonly properties: {
|
|
2014
|
+
readonly id: {
|
|
2015
|
+
readonly type: "string";
|
|
2016
|
+
readonly description: "Unique identifier of the attachment (Mongo ObjectId).";
|
|
2017
|
+
readonly example: "60c72b2f9f1b2c001f8e4d3c";
|
|
2018
|
+
};
|
|
2019
|
+
readonly filename: {
|
|
2020
|
+
readonly type: "string";
|
|
2021
|
+
readonly description: "Original filename as uploaded.";
|
|
2022
|
+
readonly example: "debug.log";
|
|
2023
|
+
};
|
|
2024
|
+
readonly content_type: {
|
|
2025
|
+
readonly type: "string";
|
|
2026
|
+
readonly description: "MIME content type of the attachment.";
|
|
2027
|
+
readonly example: "text/plain";
|
|
2028
|
+
};
|
|
2029
|
+
readonly size: {
|
|
2030
|
+
readonly type: "integer";
|
|
2031
|
+
readonly description: "Size of the attachment in bytes.";
|
|
2032
|
+
readonly example: 12345;
|
|
2033
|
+
};
|
|
2034
|
+
};
|
|
2035
|
+
readonly required: readonly ["id", "filename", "content_type", "size"];
|
|
2036
|
+
readonly additionalProperties: false;
|
|
2037
|
+
};
|
|
2038
|
+
readonly description: "Attachments associated with this message.";
|
|
2039
|
+
readonly example: readonly [];
|
|
2040
|
+
};
|
|
2041
|
+
readonly date_created: {
|
|
2042
|
+
readonly type: "string";
|
|
2043
|
+
readonly format: "date-time";
|
|
2044
|
+
readonly description: "Creation date of the message. ISO 8601 UTC.";
|
|
2045
|
+
readonly example: "2026-05-11T16:08:14.338Z";
|
|
2046
|
+
};
|
|
2047
|
+
};
|
|
2048
|
+
readonly required: readonly ["id", "type", "body", "date_created"];
|
|
2049
|
+
readonly additionalProperties: false;
|
|
2050
|
+
};
|
|
2051
|
+
readonly description: "Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.";
|
|
2052
|
+
};
|
|
2053
|
+
};
|
|
2054
|
+
readonly required: readonly ["id", "status", "category", "summary", "date_created", "date_updated"];
|
|
2055
|
+
readonly additionalProperties: false;
|
|
2056
|
+
};
|
|
2057
|
+
readonly description: "Tickets for the organization, ordered newest first. Messages are omitted from list responses.";
|
|
2058
|
+
};
|
|
2059
|
+
};
|
|
2060
|
+
readonly required: readonly ["items"];
|
|
2061
|
+
readonly additionalProperties: false;
|
|
2062
|
+
};
|
|
2063
|
+
export declare const TicketMessageInputSchema: {
|
|
2064
|
+
readonly type: "object";
|
|
2065
|
+
readonly properties: {
|
|
2066
|
+
readonly body: {
|
|
2067
|
+
readonly type: "string";
|
|
2068
|
+
readonly maxLength: 50000;
|
|
2069
|
+
readonly minLength: 1;
|
|
2070
|
+
readonly pattern: "\\S";
|
|
2071
|
+
readonly description: "Reply body in markdown.";
|
|
2072
|
+
readonly example: "Thanks — that resolved it on my side.";
|
|
2073
|
+
};
|
|
2074
|
+
};
|
|
2075
|
+
readonly required: readonly ["body"];
|
|
2076
|
+
readonly additionalProperties: false;
|
|
2077
|
+
};
|
|
2078
|
+
export declare const TicketMessageSchema: {
|
|
2079
|
+
readonly type: "object";
|
|
2080
|
+
readonly properties: {
|
|
2081
|
+
readonly id: {
|
|
2082
|
+
readonly type: "string";
|
|
2083
|
+
readonly description: "Unique identifier of the message (Mongo ObjectId).";
|
|
2084
|
+
readonly example: "60c72b2f9f1b2c001f8e4d3b";
|
|
2085
|
+
};
|
|
2086
|
+
readonly type: {
|
|
2087
|
+
readonly type: "string";
|
|
2088
|
+
readonly description: "Message type. Internal notes are filtered out of customer-facing responses.";
|
|
2089
|
+
readonly example: "customer_reply";
|
|
2090
|
+
readonly enum: readonly ["customer_reply", "agent_reply"];
|
|
2091
|
+
};
|
|
2092
|
+
readonly body: {
|
|
2093
|
+
readonly type: "string";
|
|
2094
|
+
readonly description: "Message body in markdown.";
|
|
2095
|
+
readonly example: "Thanks — that resolved it on my side.";
|
|
2096
|
+
};
|
|
2097
|
+
readonly author_first_name: {
|
|
2098
|
+
readonly type: "string";
|
|
2099
|
+
readonly description: "First name of the author. Null when not provided.";
|
|
2100
|
+
readonly example: "Jane";
|
|
2101
|
+
};
|
|
2102
|
+
readonly author_last_name: {
|
|
2103
|
+
readonly type: "string";
|
|
2104
|
+
readonly description: "Last name of the author. Null when not provided.";
|
|
2105
|
+
readonly example: "Doe";
|
|
2106
|
+
};
|
|
2107
|
+
readonly attachments: {
|
|
2108
|
+
readonly type: "array";
|
|
2109
|
+
readonly items: {
|
|
2110
|
+
readonly type: "object";
|
|
2111
|
+
readonly properties: {
|
|
2112
|
+
readonly id: {
|
|
2113
|
+
readonly type: "string";
|
|
2114
|
+
readonly description: "Unique identifier of the attachment (Mongo ObjectId).";
|
|
2115
|
+
readonly example: "60c72b2f9f1b2c001f8e4d3c";
|
|
2116
|
+
};
|
|
2117
|
+
readonly filename: {
|
|
2118
|
+
readonly type: "string";
|
|
2119
|
+
readonly description: "Original filename as uploaded.";
|
|
2120
|
+
readonly example: "debug.log";
|
|
2121
|
+
};
|
|
2122
|
+
readonly content_type: {
|
|
2123
|
+
readonly type: "string";
|
|
2124
|
+
readonly description: "MIME content type of the attachment.";
|
|
2125
|
+
readonly example: "text/plain";
|
|
2126
|
+
};
|
|
2127
|
+
readonly size: {
|
|
2128
|
+
readonly type: "integer";
|
|
2129
|
+
readonly description: "Size of the attachment in bytes.";
|
|
2130
|
+
readonly example: 12345;
|
|
2131
|
+
};
|
|
2132
|
+
};
|
|
2133
|
+
readonly required: readonly ["id", "filename", "content_type", "size"];
|
|
2134
|
+
readonly additionalProperties: false;
|
|
2135
|
+
};
|
|
2136
|
+
readonly description: "Attachments associated with this message.";
|
|
2137
|
+
readonly example: readonly [];
|
|
2138
|
+
};
|
|
2139
|
+
readonly date_created: {
|
|
2140
|
+
readonly type: "string";
|
|
2141
|
+
readonly format: "date-time";
|
|
2142
|
+
readonly description: "Creation date of the message. ISO 8601 UTC.";
|
|
2143
|
+
readonly example: "2026-05-11T16:08:14.338Z";
|
|
2144
|
+
};
|
|
2145
|
+
};
|
|
2146
|
+
readonly required: readonly ["id", "type", "body", "date_created"];
|
|
2147
|
+
readonly additionalProperties: false;
|
|
2148
|
+
};
|
|
2149
|
+
export declare const TicketSchema: {
|
|
2150
|
+
readonly type: "object";
|
|
2151
|
+
readonly properties: {
|
|
2152
|
+
readonly id: {
|
|
2153
|
+
readonly type: "string";
|
|
2154
|
+
readonly description: "Unique identifier of the ticket (Mongo ObjectId).";
|
|
2155
|
+
readonly example: "60c72b2f9f1b2c001f8e4d3a";
|
|
2156
|
+
};
|
|
2157
|
+
readonly status: {
|
|
2158
|
+
readonly type: "string";
|
|
2159
|
+
readonly description: "Current state of the ticket.";
|
|
2160
|
+
readonly example: "waiting_on_us";
|
|
2161
|
+
readonly enum: readonly ["waiting_on_us", "waiting_on_user", "closed"];
|
|
2162
|
+
};
|
|
2163
|
+
readonly category: {
|
|
2164
|
+
readonly type: "string";
|
|
2165
|
+
readonly description: "Ticket category.";
|
|
2166
|
+
readonly example: "technical";
|
|
2167
|
+
readonly enum: readonly ["billing", "technical", "general"];
|
|
2168
|
+
};
|
|
2169
|
+
readonly summary: {
|
|
2170
|
+
readonly type: "string";
|
|
2171
|
+
readonly description: "First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.";
|
|
2172
|
+
readonly example: "My cluster cannot reach the registry. Logs attached.";
|
|
2173
|
+
};
|
|
2174
|
+
readonly closed_at: {
|
|
2175
|
+
readonly type: "string";
|
|
2176
|
+
readonly format: "date-time";
|
|
2177
|
+
readonly description: "Closure timestamp. Null while the ticket is open.";
|
|
2178
|
+
readonly example: "2026-05-18T16:08:14.338Z";
|
|
2179
|
+
};
|
|
2180
|
+
readonly date_created: {
|
|
2181
|
+
readonly type: "string";
|
|
2182
|
+
readonly format: "date-time";
|
|
2183
|
+
readonly description: "Creation date of the ticket. ISO 8601 UTC.";
|
|
2184
|
+
readonly example: "2026-05-11T16:08:14.338Z";
|
|
2185
|
+
};
|
|
2186
|
+
readonly date_updated: {
|
|
2187
|
+
readonly type: "string";
|
|
2188
|
+
readonly format: "date-time";
|
|
2189
|
+
readonly description: "Last update date of the ticket. ISO 8601 UTC.";
|
|
2190
|
+
readonly example: "2026-05-11T16:08:14.338Z";
|
|
2191
|
+
};
|
|
2192
|
+
readonly messages: {
|
|
2193
|
+
readonly type: "array";
|
|
2194
|
+
readonly items: {
|
|
2195
|
+
readonly type: "object";
|
|
2196
|
+
readonly properties: {
|
|
2197
|
+
readonly id: {
|
|
2198
|
+
readonly type: "string";
|
|
2199
|
+
readonly description: "Unique identifier of the message (Mongo ObjectId).";
|
|
2200
|
+
readonly example: "60c72b2f9f1b2c001f8e4d3b";
|
|
2201
|
+
};
|
|
2202
|
+
readonly type: {
|
|
2203
|
+
readonly type: "string";
|
|
2204
|
+
readonly description: "Message type. Internal notes are filtered out of customer-facing responses.";
|
|
2205
|
+
readonly example: "customer_reply";
|
|
2206
|
+
readonly enum: readonly ["customer_reply", "agent_reply"];
|
|
2207
|
+
};
|
|
2208
|
+
readonly body: {
|
|
2209
|
+
readonly type: "string";
|
|
2210
|
+
readonly description: "Message body in markdown.";
|
|
2211
|
+
readonly example: "Thanks — that resolved it on my side.";
|
|
2212
|
+
};
|
|
2213
|
+
readonly author_first_name: {
|
|
2214
|
+
readonly type: "string";
|
|
2215
|
+
readonly description: "First name of the author. Null when not provided.";
|
|
2216
|
+
readonly example: "Jane";
|
|
2217
|
+
};
|
|
2218
|
+
readonly author_last_name: {
|
|
2219
|
+
readonly type: "string";
|
|
2220
|
+
readonly description: "Last name of the author. Null when not provided.";
|
|
2221
|
+
readonly example: "Doe";
|
|
2222
|
+
};
|
|
2223
|
+
readonly attachments: {
|
|
2224
|
+
readonly type: "array";
|
|
2225
|
+
readonly items: {
|
|
2226
|
+
readonly type: "object";
|
|
2227
|
+
readonly properties: {
|
|
2228
|
+
readonly id: {
|
|
2229
|
+
readonly type: "string";
|
|
2230
|
+
readonly description: "Unique identifier of the attachment (Mongo ObjectId).";
|
|
2231
|
+
readonly example: "60c72b2f9f1b2c001f8e4d3c";
|
|
2232
|
+
};
|
|
2233
|
+
readonly filename: {
|
|
2234
|
+
readonly type: "string";
|
|
2235
|
+
readonly description: "Original filename as uploaded.";
|
|
2236
|
+
readonly example: "debug.log";
|
|
2237
|
+
};
|
|
2238
|
+
readonly content_type: {
|
|
2239
|
+
readonly type: "string";
|
|
2240
|
+
readonly description: "MIME content type of the attachment.";
|
|
2241
|
+
readonly example: "text/plain";
|
|
2242
|
+
};
|
|
2243
|
+
readonly size: {
|
|
2244
|
+
readonly type: "integer";
|
|
2245
|
+
readonly description: "Size of the attachment in bytes.";
|
|
2246
|
+
readonly example: 12345;
|
|
2247
|
+
};
|
|
2248
|
+
};
|
|
2249
|
+
readonly required: readonly ["id", "filename", "content_type", "size"];
|
|
2250
|
+
readonly additionalProperties: false;
|
|
2251
|
+
};
|
|
2252
|
+
readonly description: "Attachments associated with this message.";
|
|
2253
|
+
readonly example: readonly [];
|
|
2254
|
+
};
|
|
2255
|
+
readonly date_created: {
|
|
2256
|
+
readonly type: "string";
|
|
2257
|
+
readonly format: "date-time";
|
|
2258
|
+
readonly description: "Creation date of the message. ISO 8601 UTC.";
|
|
2259
|
+
readonly example: "2026-05-11T16:08:14.338Z";
|
|
2260
|
+
};
|
|
2261
|
+
};
|
|
2262
|
+
readonly required: readonly ["id", "type", "body", "date_created"];
|
|
2263
|
+
readonly additionalProperties: false;
|
|
2264
|
+
};
|
|
2265
|
+
readonly description: "Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.";
|
|
2266
|
+
};
|
|
2267
|
+
};
|
|
2268
|
+
readonly required: readonly ["id", "status", "category", "summary", "date_created", "date_updated"];
|
|
2269
|
+
readonly additionalProperties: false;
|
|
2270
|
+
};
|
|
1440
2271
|
export declare const TokenCreateInputSchema: {
|
|
1441
2272
|
readonly type: "object";
|
|
1442
2273
|
readonly properties: {
|
|
@@ -1683,18 +2514,6 @@ export declare const UserCreateInputSchema: {
|
|
|
1683
2514
|
readonly minLength: 8;
|
|
1684
2515
|
readonly description: "User password. Must be at least 8 characters long.";
|
|
1685
2516
|
};
|
|
1686
|
-
readonly status: {
|
|
1687
|
-
readonly type: "string";
|
|
1688
|
-
readonly description: "Status of the user. Can be `active` or `inactive`. Inactive users cannot log in or manage organization resources.";
|
|
1689
|
-
readonly example: "active";
|
|
1690
|
-
readonly enum: readonly ["active", "inactive"];
|
|
1691
|
-
};
|
|
1692
|
-
readonly role: {
|
|
1693
|
-
readonly type: "string";
|
|
1694
|
-
readonly description: "User role. Can be 'Administrator', 'User'.";
|
|
1695
|
-
readonly example: "User";
|
|
1696
|
-
readonly enum: readonly ["Administrator", "User"];
|
|
1697
|
-
};
|
|
1698
2517
|
};
|
|
1699
2518
|
readonly required: readonly ["email", "first_name", "last_name", "code", "password"];
|
|
1700
2519
|
readonly additionalProperties: false;
|