@cloudfleet/sdk 0.0.1-16d9790 → 0.0.1-18bf9e1

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.
Files changed (55) hide show
  1. package/dist/client/client.gen.d.ts +3 -0
  2. package/dist/client/client.gen.d.ts.map +1 -0
  3. package/dist/client/client.gen.js +149 -0
  4. package/dist/client/client.gen.js.map +1 -0
  5. package/dist/client/index.d.ts +8 -0
  6. package/dist/client/index.d.ts.map +1 -0
  7. package/dist/client/index.js +6 -0
  8. package/dist/client/index.js.map +1 -0
  9. package/dist/client/types.gen.d.ts +123 -0
  10. package/dist/client/types.gen.d.ts.map +1 -0
  11. package/dist/client/types.gen.js +3 -0
  12. package/dist/client/types.gen.js.map +1 -0
  13. package/dist/client/utils.gen.d.ts +46 -0
  14. package/dist/client/utils.gen.d.ts.map +1 -0
  15. package/dist/client/utils.gen.js +286 -0
  16. package/dist/client/utils.gen.js.map +1 -0
  17. package/dist/client.gen.d.ts +2 -2
  18. package/dist/client.gen.d.ts.map +1 -1
  19. package/dist/client.gen.js +1 -1
  20. package/dist/client.gen.js.map +1 -1
  21. package/dist/core/auth.gen.d.ts +19 -0
  22. package/dist/core/auth.gen.d.ts.map +1 -0
  23. package/dist/core/auth.gen.js +15 -0
  24. package/dist/core/auth.gen.js.map +1 -0
  25. package/dist/core/bodySerializer.gen.d.ts +18 -0
  26. package/dist/core/bodySerializer.gen.d.ts.map +1 -0
  27. package/dist/core/bodySerializer.gen.js +55 -0
  28. package/dist/core/bodySerializer.gen.js.map +1 -0
  29. package/dist/core/params.gen.d.ts +34 -0
  30. package/dist/core/params.gen.d.ts.map +1 -0
  31. package/dist/core/params.gen.js +89 -0
  32. package/dist/core/params.gen.js.map +1 -0
  33. package/dist/core/pathSerializer.gen.d.ts +34 -0
  34. package/dist/core/pathSerializer.gen.d.ts.map +1 -0
  35. package/dist/core/pathSerializer.gen.js +115 -0
  36. package/dist/core/pathSerializer.gen.js.map +1 -0
  37. package/dist/core/types.gen.d.ts +79 -0
  38. package/dist/core/types.gen.d.ts.map +1 -0
  39. package/dist/core/types.gen.js +3 -0
  40. package/dist/core/types.gen.js.map +1 -0
  41. package/dist/schemas.gen.d.ts +63 -103
  42. package/dist/schemas.gen.d.ts.map +1 -1
  43. package/dist/schemas.gen.js +63 -112
  44. package/dist/schemas.gen.js.map +1 -1
  45. package/dist/sdk.gen.d.ts +56 -63
  46. package/dist/sdk.gen.d.ts.map +1 -1
  47. package/dist/sdk.gen.js +21 -21
  48. package/dist/sdk.gen.js.map +1 -1
  49. package/dist/types.gen.d.ts +29 -33
  50. package/dist/types.gen.d.ts.map +1 -1
  51. package/dist/zod.gen.d.ts +2684 -2077
  52. package/dist/zod.gen.d.ts.map +1 -1
  53. package/dist/zod.gen.js +638 -215
  54. package/dist/zod.gen.js.map +1 -1
  55. package/package.json +5 -6
@@ -0,0 +1,115 @@
1
+ // This file is auto-generated by @hey-api/openapi-ts
2
+ export const separatorArrayExplode = (style) => {
3
+ switch (style) {
4
+ case 'label':
5
+ return '.';
6
+ case 'matrix':
7
+ return ';';
8
+ case 'simple':
9
+ return ',';
10
+ default:
11
+ return '&';
12
+ }
13
+ };
14
+ export const separatorArrayNoExplode = (style) => {
15
+ switch (style) {
16
+ case 'form':
17
+ return ',';
18
+ case 'pipeDelimited':
19
+ return '|';
20
+ case 'spaceDelimited':
21
+ return '%20';
22
+ default:
23
+ return ',';
24
+ }
25
+ };
26
+ export const separatorObjectExplode = (style) => {
27
+ switch (style) {
28
+ case 'label':
29
+ return '.';
30
+ case 'matrix':
31
+ return ';';
32
+ case 'simple':
33
+ return ',';
34
+ default:
35
+ return '&';
36
+ }
37
+ };
38
+ export const serializeArrayParam = ({ allowReserved, explode, name, style, value, }) => {
39
+ if (!explode) {
40
+ const joinedValues = (allowReserved ? value : value.map((v) => encodeURIComponent(v))).join(separatorArrayNoExplode(style));
41
+ switch (style) {
42
+ case 'label':
43
+ return `.${joinedValues}`;
44
+ case 'matrix':
45
+ return `;${name}=${joinedValues}`;
46
+ case 'simple':
47
+ return joinedValues;
48
+ default:
49
+ return `${name}=${joinedValues}`;
50
+ }
51
+ }
52
+ const separator = separatorArrayExplode(style);
53
+ const joinedValues = value
54
+ .map((v) => {
55
+ if (style === 'label' || style === 'simple') {
56
+ return allowReserved ? v : encodeURIComponent(v);
57
+ }
58
+ return serializePrimitiveParam({
59
+ allowReserved,
60
+ name,
61
+ value: v,
62
+ });
63
+ })
64
+ .join(separator);
65
+ return style === 'label' || style === 'matrix'
66
+ ? separator + joinedValues
67
+ : joinedValues;
68
+ };
69
+ export const serializePrimitiveParam = ({ allowReserved, name, value, }) => {
70
+ if (value === undefined || value === null) {
71
+ return '';
72
+ }
73
+ if (typeof value === 'object') {
74
+ throw new Error('Deeply-nested arrays/objects aren’t supported. Provide your own `querySerializer()` to handle these.');
75
+ }
76
+ return `${name}=${allowReserved ? value : encodeURIComponent(value)}`;
77
+ };
78
+ export const serializeObjectParam = ({ allowReserved, explode, name, style, value, valueOnly, }) => {
79
+ if (value instanceof Date) {
80
+ return valueOnly ? value.toISOString() : `${name}=${value.toISOString()}`;
81
+ }
82
+ if (style !== 'deepObject' && !explode) {
83
+ let values = [];
84
+ Object.entries(value).forEach(([key, v]) => {
85
+ values = [
86
+ ...values,
87
+ key,
88
+ allowReserved ? v : encodeURIComponent(v),
89
+ ];
90
+ });
91
+ const joinedValues = values.join(',');
92
+ switch (style) {
93
+ case 'form':
94
+ return `${name}=${joinedValues}`;
95
+ case 'label':
96
+ return `.${joinedValues}`;
97
+ case 'matrix':
98
+ return `;${name}=${joinedValues}`;
99
+ default:
100
+ return joinedValues;
101
+ }
102
+ }
103
+ const separator = separatorObjectExplode(style);
104
+ const joinedValues = Object.entries(value)
105
+ .map(([key, v]) => serializePrimitiveParam({
106
+ allowReserved,
107
+ name: style === 'deepObject' ? `${name}[${key}]` : key,
108
+ value: v,
109
+ }))
110
+ .join(separator);
111
+ return style === 'label' || style === 'matrix'
112
+ ? separator + joinedValues
113
+ : joinedValues;
114
+ };
115
+ //# sourceMappingURL=pathSerializer.gen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pathSerializer.gen.js","sourceRoot":"","sources":["../../src/core/pathSerializer.gen.ts"],"names":[],"mappings":"AAAA,qDAAqD;AA6BrD,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,KAA0B,EAAE,EAAE;IAClE,QAAQ,KAAK,EAAE,CAAC;QACd,KAAK,OAAO;YACV,OAAO,GAAG,CAAC;QACb,KAAK,QAAQ;YACX,OAAO,GAAG,CAAC;QACb,KAAK,QAAQ;YACX,OAAO,GAAG,CAAC;QACb;YACE,OAAO,GAAG,CAAC;IACf,CAAC;AACH,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,KAA0B,EAAE,EAAE;IACpE,QAAQ,KAAK,EAAE,CAAC;QACd,KAAK,MAAM;YACT,OAAO,GAAG,CAAC;QACb,KAAK,eAAe;YAClB,OAAO,GAAG,CAAC;QACb,KAAK,gBAAgB;YACnB,OAAO,KAAK,CAAC;QACf;YACE,OAAO,GAAG,CAAC;IACf,CAAC;AACH,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,KAA2B,EAAE,EAAE;IACpE,QAAQ,KAAK,EAAE,CAAC;QACd,KAAK,OAAO;YACV,OAAO,GAAG,CAAC;QACb,KAAK,QAAQ;YACX,OAAO,GAAG,CAAC;QACb,KAAK,QAAQ;YACX,OAAO,GAAG,CAAC;QACb;YACE,OAAO,GAAG,CAAC;IACf,CAAC;AACH,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,EAClC,aAAa,EACb,OAAO,EACP,IAAI,EACJ,KAAK,EACL,KAAK,GAGN,EAAE,EAAE;IACH,IAAI,CAAC,OAAO,EAAE,CAAC;QACb,MAAM,YAAY,GAAG,CACnB,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC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;QACxB,CAAC;IACH,CAAC;IAED,MAAM,SAAS,GAAG,sBAAsB,CAAC,KAAK,CAAC,CAAC;IAChD,MAAM,YAAY,GAAG,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC;SACvC,GAAG,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,EAAE,EAAE,CAChB,uBAAuB,CAAC;QACtB,aAAa;QACb,IAAI,EAAE,KAAK,KAAK,YAAY,CAAC,CAAC,CAAC,GAAG,IAAI,IAAI,GAAG,GAAG,CAAC,CAAC,CAAC,GAAG;QACtD,KAAK,EAAE,CAAW;KACnB,CAAC,CACH;SACA,IAAI,CAAC,SAAS,CAAC,CAAC;IACnB,OAAO,KAAK,KAAK,OAAO,IAAI,KAAK,KAAK,QAAQ;QAC5C,CAAC,CAAC,SAAS,GAAG,YAAY;QAC1B,CAAC,CAAC,YAAY,CAAC;AACnB,CAAC,CAAC"}
@@ -0,0 +1,79 @@
1
+ import type { Auth, AuthToken } from './auth.gen';
2
+ import type { BodySerializer, QuerySerializer, QuerySerializerOptions } from './bodySerializer.gen';
3
+ export interface Client<RequestFn = never, Config = unknown, MethodFn = never, BuildUrlFn = never> {
4
+ /**
5
+ * Returns the final request URL.
6
+ */
7
+ buildUrl: BuildUrlFn;
8
+ connect: MethodFn;
9
+ delete: MethodFn;
10
+ get: MethodFn;
11
+ getConfig: () => Config;
12
+ head: MethodFn;
13
+ options: MethodFn;
14
+ patch: MethodFn;
15
+ post: MethodFn;
16
+ put: MethodFn;
17
+ request: RequestFn;
18
+ setConfig: (config: Config) => Config;
19
+ trace: MethodFn;
20
+ }
21
+ export interface Config {
22
+ /**
23
+ * Auth token or a function returning auth token. The resolved value will be
24
+ * added to the request payload as defined by its `security` array.
25
+ */
26
+ auth?: ((auth: Auth) => Promise<AuthToken> | AuthToken) | AuthToken;
27
+ /**
28
+ * A function for serializing request body parameter. By default,
29
+ * {@link JSON.stringify()} will be used.
30
+ */
31
+ bodySerializer?: BodySerializer | null;
32
+ /**
33
+ * An object containing any HTTP headers that you want to pre-populate your
34
+ * `Headers` object with.
35
+ *
36
+ * {@link https://developer.mozilla.org/docs/Web/API/Headers/Headers#init See more}
37
+ */
38
+ headers?: RequestInit['headers'] | Record<string, string | number | boolean | (string | number | boolean)[] | null | undefined | unknown>;
39
+ /**
40
+ * The request method.
41
+ *
42
+ * {@link https://developer.mozilla.org/docs/Web/API/fetch#method See more}
43
+ */
44
+ method?: 'CONNECT' | 'DELETE' | 'GET' | 'HEAD' | 'OPTIONS' | 'PATCH' | 'POST' | 'PUT' | 'TRACE';
45
+ /**
46
+ * A function for serializing request query parameters. By default, arrays
47
+ * will be exploded in form style, objects will be exploded in deepObject
48
+ * style, and reserved characters are percent-encoded.
49
+ *
50
+ * This method will have no effect if the native `paramsSerializer()` Axios
51
+ * API function is used.
52
+ *
53
+ * {@link https://swagger.io/docs/specification/serialization/#query View examples}
54
+ */
55
+ querySerializer?: QuerySerializer | QuerySerializerOptions;
56
+ /**
57
+ * A function validating request data. This is useful if you want to ensure
58
+ * the request conforms to the desired shape, so it can be safely sent to
59
+ * the server.
60
+ */
61
+ requestValidator?: (data: unknown) => Promise<unknown>;
62
+ /**
63
+ * A function transforming response data before it's returned. This is useful
64
+ * for post-processing data, e.g. converting ISO strings into Date objects.
65
+ */
66
+ responseTransformer?: (data: unknown) => Promise<unknown>;
67
+ /**
68
+ * A function validating response data. This is useful if you want to ensure
69
+ * the response conforms to the desired shape, so it can be safely passed to
70
+ * the transformers and returned to the user.
71
+ */
72
+ responseValidator?: (data: unknown) => Promise<unknown>;
73
+ }
74
+ type IsExactlyNeverOrNeverUndefined<T> = [T] extends [never] ? true : [T] extends [never | undefined] ? [undefined] extends [T] ? false : true : false;
75
+ export type OmitNever<T extends Record<string, unknown>> = {
76
+ [K in keyof T as IsExactlyNeverOrNeverUndefined<T[K]> extends true ? never : K]: T[K];
77
+ };
78
+ export {};
79
+ //# sourceMappingURL=types.gen.d.ts.map
@@ -0,0 +1 @@
1
+ {"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;;;;OAIG;IACH,MAAM,CAAC,EACH,SAAS,GACT,QAAQ,GACR,KAAK,GACL,MAAM,GACN,SAAS,GACT,OAAO,GACP,MAAM,GACN,KAAK,GACL,OAAO,CAAC;IACZ;;;;;;;;;OASG;IACH,eAAe,CAAC,EAAE,eAAe,GAAG,sBAAsB,CAAC;IAC3D;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;IACvD;;;OAGG;IACH,mBAAmB,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;IAC1D;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;CACzD;AAED,KAAK,8BAA8B,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,KAAK,CAAC,GACxD,IAAI,GACJ,CAAC,CAAC,CAAC,SAAS,CAAC,KAAK,GAAG,SAAS,CAAC,GAC7B,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC,CAAC,GACrB,KAAK,GACL,IAAI,GACN,KAAK,CAAC;AAEZ,MAAM,MAAM,SAAS,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI;KACxD,CAAC,IAAI,MAAM,CAAC,IAAI,8BAA8B,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,IAAI,GAC9D,KAAK,GACL,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACb,CAAC"}
@@ -0,0 +1,3 @@
1
+ // This file is auto-generated by @hey-api/openapi-ts
2
+ export {};
3
+ //# sourceMappingURL=types.gen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.gen.js","sourceRoot":"","sources":["../../src/core/types.gen.ts"],"names":[],"mappings":"AAAA,qDAAqD"}
@@ -280,19 +280,19 @@ export declare const ClusterCreateInputSchema: {
280
280
  readonly description: "Name of the cluster.";
281
281
  readonly example: "production-cluster";
282
282
  };
283
- readonly region: {
284
- readonly type: "string";
285
- readonly description: "Cloudfleet control plane region. One of \"staging\", \"northamerica-central-1\". This field can not be updated after creation.";
286
- readonly default: "staging";
287
- readonly example: "northamerica-central-1";
288
- readonly enum: readonly ["staging", "northamerica-central-1"];
289
- };
290
283
  readonly tier: {
291
284
  readonly type: "string";
292
285
  readonly description: "Tier of the cluster.";
293
286
  readonly example: "pro";
294
287
  readonly enum: readonly ["basic", "pro"];
295
288
  };
289
+ readonly region: {
290
+ readonly type: "string";
291
+ readonly description: "Cloudfleet control plane region. One of \"staging\", \"northamerica-central-1\", \"europe-central-1a\", \"northamerica-central-1a\". This field can not be updated after creation.";
292
+ readonly default: "staging";
293
+ readonly example: "northamerica-central-1a";
294
+ readonly enum: readonly ["staging", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a"];
295
+ };
296
296
  readonly version_channel: {
297
297
  readonly type: "string";
298
298
  readonly pattern: "^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$";
@@ -346,8 +346,13 @@ export declare const ClusterJoinInformationSchema: {
346
346
  readonly description: "Containerd version of the cluster.";
347
347
  readonly example: "1.7.19";
348
348
  };
349
+ readonly nvidia_driver: {
350
+ readonly type: "string";
351
+ readonly description: "NVIDIA driver version of the cluster.";
352
+ readonly example: "565.0.0";
353
+ };
349
354
  };
350
- readonly required: readonly ["kubernetes", "tailscale", "containerd"];
355
+ readonly required: readonly ["kubernetes", "tailscale", "containerd", "nvidia_driver"];
351
356
  readonly additionalProperties: false;
352
357
  readonly description: "Versions of the different components of the cluster.";
353
358
  };
@@ -389,19 +394,19 @@ export declare const ClusterSchema: {
389
394
  readonly description: "Name of the cluster.";
390
395
  readonly example: "production-cluster";
391
396
  };
392
- readonly region: {
393
- readonly type: "string";
394
- readonly description: "Cloudfleet control plane region. One of \"staging\", \"northamerica-central-1\". This field can not be updated after creation.";
395
- readonly default: "staging";
396
- readonly example: "northamerica-central-1";
397
- readonly enum: readonly ["staging", "northamerica-central-1"];
398
- };
399
397
  readonly tier: {
400
398
  readonly type: "string";
401
399
  readonly description: "Tier of the cluster.";
402
400
  readonly example: "pro";
403
401
  readonly enum: readonly ["basic", "pro"];
404
402
  };
403
+ readonly region: {
404
+ readonly type: "string";
405
+ readonly description: "Cloudfleet control plane region. One of \"staging\", \"northamerica-central-1\", \"europe-central-1a\", \"northamerica-central-1a\". This field can not be updated after creation.";
406
+ readonly default: "staging";
407
+ readonly example: "northamerica-central-1a";
408
+ readonly enum: readonly ["staging", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a"];
409
+ };
405
410
  readonly version_channel: {
406
411
  readonly type: "string";
407
412
  readonly pattern: "^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$";
@@ -472,6 +477,12 @@ export declare const ClusterUpdateInputSchema: {
472
477
  readonly description: "Name of the cluster.";
473
478
  readonly example: "production-cluster";
474
479
  };
480
+ readonly tier: {
481
+ readonly type: "string";
482
+ readonly description: "Tier of the cluster.";
483
+ readonly example: "pro";
484
+ readonly enum: readonly ["basic", "pro"];
485
+ };
475
486
  readonly version_channel: {
476
487
  readonly type: "string";
477
488
  readonly pattern: "^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$";
@@ -479,6 +490,7 @@ export declare const ClusterUpdateInputSchema: {
479
490
  readonly example: "1.29.x-cfke.x";
480
491
  };
481
492
  };
493
+ readonly required: readonly ["tier"];
482
494
  readonly additionalProperties: false;
483
495
  };
484
496
  export declare const FleetCreateInputSchema: {
@@ -514,31 +526,19 @@ export declare const FleetCreateInputSchema: {
514
526
  readonly additionalProperties: false;
515
527
  };
516
528
  readonly hetzner: {
517
- readonly oneOf: readonly [{
518
- readonly type: "object";
519
- readonly properties: {
520
- readonly enabled: {
521
- readonly type: "boolean";
522
- readonly default: true;
523
- };
524
- readonly apiKey: {
525
- readonly type: "string";
526
- };
529
+ readonly type: "object";
530
+ readonly properties: {
531
+ readonly enabled: {
532
+ readonly type: "boolean";
533
+ readonly default: true;
527
534
  };
528
- readonly additionalProperties: false;
529
- }, {
530
- readonly type: "object";
531
- readonly properties: {
532
- readonly apiKey: {
533
- readonly type: "string";
534
- };
535
- readonly enabled: {
536
- readonly type: "boolean";
537
- readonly default: true;
538
- };
535
+ readonly apiKey: {
536
+ readonly type: "string";
537
+ readonly description: "Hetzner Cloud API key with read / write access";
539
538
  };
540
- readonly additionalProperties: false;
541
- }];
539
+ };
540
+ readonly required: readonly ["apiKey"];
541
+ readonly additionalProperties: false;
542
542
  };
543
543
  readonly aws: {
544
544
  readonly type: "object";
@@ -563,13 +563,8 @@ export declare const FleetCreateInputSchema: {
563
563
  readonly description: "Unique identifier of the kubernetes fleet.";
564
564
  readonly example: "new-clouds-fleet";
565
565
  };
566
- readonly type: {
567
- readonly type: "string";
568
- readonly description: "Specifies the fleet type: infrastructure managed by Cloudfleet or Connected Fleets.";
569
- readonly enum: readonly ["managed", "connected"];
570
- };
571
566
  };
572
- readonly required: readonly ["id", "type"];
567
+ readonly required: readonly ["id"];
573
568
  readonly additionalProperties: false;
574
569
  };
575
570
  export declare const FleetSchema: {
@@ -605,31 +600,19 @@ export declare const FleetSchema: {
605
600
  readonly additionalProperties: false;
606
601
  };
607
602
  readonly hetzner: {
608
- readonly oneOf: readonly [{
609
- readonly type: "object";
610
- readonly properties: {
611
- readonly enabled: {
612
- readonly type: "boolean";
613
- readonly default: true;
614
- };
615
- readonly apiKey: {
616
- readonly type: "string";
617
- };
603
+ readonly type: "object";
604
+ readonly properties: {
605
+ readonly enabled: {
606
+ readonly type: "boolean";
607
+ readonly default: true;
618
608
  };
619
- readonly additionalProperties: false;
620
- }, {
621
- readonly type: "object";
622
- readonly properties: {
623
- readonly apiKey: {
624
- readonly type: "string";
625
- };
626
- readonly enabled: {
627
- readonly type: "boolean";
628
- readonly default: true;
629
- };
609
+ readonly apiKey: {
610
+ readonly type: "string";
611
+ readonly description: "Hetzner Cloud API key with read / write access";
630
612
  };
631
- readonly additionalProperties: false;
632
- }];
613
+ };
614
+ readonly required: readonly ["apiKey"];
615
+ readonly additionalProperties: false;
633
616
  };
634
617
  readonly aws: {
635
618
  readonly type: "object";
@@ -654,13 +637,8 @@ export declare const FleetSchema: {
654
637
  readonly description: "Unique identifier of the kubernetes fleet.";
655
638
  readonly example: "new-clouds-fleet";
656
639
  };
657
- readonly type: {
658
- readonly type: "string";
659
- readonly description: "Specifies the fleet type: infrastructure managed by Cloudfleet or Connected Fleets.";
660
- readonly enum: readonly ["managed", "connected"];
661
- };
662
640
  };
663
- readonly required: readonly ["id", "type"];
641
+ readonly required: readonly ["id"];
664
642
  readonly additionalProperties: false;
665
643
  };
666
644
  export declare const FleetUpdateInputSchema: {
@@ -696,31 +674,19 @@ export declare const FleetUpdateInputSchema: {
696
674
  readonly additionalProperties: false;
697
675
  };
698
676
  readonly hetzner: {
699
- readonly oneOf: readonly [{
700
- readonly type: "object";
701
- readonly properties: {
702
- readonly enabled: {
703
- readonly type: "boolean";
704
- readonly default: true;
705
- };
706
- readonly apiKey: {
707
- readonly type: "string";
708
- };
677
+ readonly type: "object";
678
+ readonly properties: {
679
+ readonly enabled: {
680
+ readonly type: "boolean";
681
+ readonly default: true;
709
682
  };
710
- readonly additionalProperties: false;
711
- }, {
712
- readonly type: "object";
713
- readonly properties: {
714
- readonly apiKey: {
715
- readonly type: "string";
716
- };
717
- readonly enabled: {
718
- readonly type: "boolean";
719
- readonly default: true;
720
- };
683
+ readonly apiKey: {
684
+ readonly type: "string";
685
+ readonly description: "Hetzner Cloud API key with read / write access";
721
686
  };
722
- readonly additionalProperties: false;
723
- }];
687
+ };
688
+ readonly required: readonly ["apiKey"];
689
+ readonly additionalProperties: false;
724
690
  };
725
691
  readonly aws: {
726
692
  readonly type: "object";
@@ -1290,12 +1256,6 @@ export declare const OrganizationSchema: {
1290
1256
  readonly description: "Maximum number of fleets that can be created per cluster.";
1291
1257
  readonly example: 999;
1292
1258
  };
1293
- readonly managed_fleets_cpu_max: {
1294
- readonly type: "integer";
1295
- readonly minimum: 0;
1296
- readonly description: "Maximum number of CPU cores per managed fleet.";
1297
- readonly example: 999;
1298
- };
1299
1259
  readonly cluster_tiers: {
1300
1260
  readonly type: "array";
1301
1261
  readonly items: {
@@ -1337,7 +1297,7 @@ export declare const OrganizationSchema: {
1337
1297
  readonly description: "List of CFKE control plane versions available for the organization.";
1338
1298
  };
1339
1299
  };
1340
- readonly required: readonly ["basic_clusters_max", "basic_clusters_available", "pro_clusters_max", "pro_clusters_available", "fleets_max", "managed_fleets_cpu_max", "cluster_tiers", "regions", "versions"];
1300
+ readonly required: readonly ["basic_clusters_max", "basic_clusters_available", "pro_clusters_max", "pro_clusters_available", "fleets_max", "cluster_tiers", "regions", "versions"];
1341
1301
  readonly additionalProperties: false;
1342
1302
  readonly description: "For security reasons, platform quota is controlled by Cloudfleet and can be updated only by Cloudfleet administrators. Please open a support ticket if you need to change the platform quota.";
1343
1303
  };
@@ -1 +1 @@
1
- {"version":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