@cloudfleet/sdk 0.0.1-1d8a8f3 → 0.0.1-1eff398
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 +30 -0
- package/dist/@tanstack/react-query.gen.d.ts +67 -37
- package/dist/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/@tanstack/react-query.gen.js +132 -42
- package/dist/@tanstack/react-query.gen.js.map +1 -1
- package/dist/errors.d.ts +42 -0
- package/dist/errors.d.ts.map +1 -0
- package/dist/errors.js +83 -0
- package/dist/errors.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/schemas.gen.d.ts +339 -40
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +442 -49
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +52 -18
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +86 -28
- package/dist/sdk.gen.js.map +1 -1
- package/dist/services/kubernetes/api.d.ts +18 -55
- package/dist/services/kubernetes/api.d.ts.map +1 -1
- package/dist/services/kubernetes/api.js +36 -75
- package/dist/services/kubernetes/api.js.map +1 -1
- package/dist/services/kubernetes/index.d.ts.map +1 -1
- package/dist/services/kubernetes/index.js +36 -37
- package/dist/services/kubernetes/index.js.map +1 -1
- package/dist/types.gen.d.ts +334 -58
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +330 -48
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +164 -24
- package/dist/zod.gen.js.map +1 -1
- package/package.json +7 -9
package/dist/errors.d.ts
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import type { Client } from "./client";
|
|
2
|
+
interface RequestContext {
|
|
3
|
+
method: string;
|
|
4
|
+
path: string;
|
|
5
|
+
url: string;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Non-2xx response, from the Cloudfleet API (`code`, `message`) or the Kubernetes proxy
|
|
9
|
+
* (`Status` with `code`, `reason`, `message`). `message` can contain personal data, so
|
|
10
|
+
* title telemetry by `method`, `path` and `status`.
|
|
11
|
+
*/
|
|
12
|
+
export declare class CloudfleetApiError extends Error {
|
|
13
|
+
name: string;
|
|
14
|
+
status: number;
|
|
15
|
+
method: string;
|
|
16
|
+
/** Route template without IDs, e.g. `/clusters/{cluster_id}`. */
|
|
17
|
+
path: string;
|
|
18
|
+
url: string;
|
|
19
|
+
requestId?: string;
|
|
20
|
+
code?: unknown;
|
|
21
|
+
/** Kubernetes `Status.reason`, e.g. `NotFound`. */
|
|
22
|
+
reason?: string;
|
|
23
|
+
/** Parsed JSON body, or the response text when it is not JSON. */
|
|
24
|
+
body: unknown;
|
|
25
|
+
constructor(response: Response, body: unknown, context: RequestContext);
|
|
26
|
+
}
|
|
27
|
+
/** No response: DNS, connection, CORS or TLS failure. */
|
|
28
|
+
export declare class CloudfleetNetworkError extends Error {
|
|
29
|
+
name: string;
|
|
30
|
+
method: string;
|
|
31
|
+
path: string;
|
|
32
|
+
url: string;
|
|
33
|
+
constructor(cause: Error, context: RequestContext);
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Makes the client throw {@link CloudfleetApiError} and {@link CloudfleetNetworkError}.
|
|
37
|
+
* Aborts and validation errors pass through unchanged. The default `client` is registered
|
|
38
|
+
* in `index.ts`; call this for clients from `createClient`.
|
|
39
|
+
*/
|
|
40
|
+
export declare const registerCloudfleetErrors: (client: Client) => number;
|
|
41
|
+
export {};
|
|
42
|
+
//# sourceMappingURL=errors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAIvC,UAAU,cAAc;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;CACf;AAED;;;;GAIG;AACH,qBAAa,kBAAmB,SAAQ,KAAK;IAChC,IAAI,SAAwB;IACrC,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,iEAAiE;IACjE,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,mDAAmD;IACnD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,kEAAkE;IAClE,IAAI,EAAE,OAAO,CAAC;gBAEF,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,cAAc;CAazE;AAED,yDAAyD;AACzD,qBAAa,sBAAuB,SAAQ,KAAK;IACpC,IAAI,SAA4B;IACzC,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;gBAEA,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,cAAc;CAMpD;AAED;;;;GAIG;AACH,eAAO,MAAM,wBAAwB,GAAI,QAAQ,MAAM,KAAG,MACP,CAAC"}
|
package/dist/errors.js
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
const REQUEST_ID_HEADERS = ["x-request-id", "x-cf-request-id"];
|
|
2
|
+
/**
|
|
3
|
+
* Non-2xx response, from the Cloudfleet API (`code`, `message`) or the Kubernetes proxy
|
|
4
|
+
* (`Status` with `code`, `reason`, `message`). `message` can contain personal data, so
|
|
5
|
+
* title telemetry by `method`, `path` and `status`.
|
|
6
|
+
*/
|
|
7
|
+
export class CloudfleetApiError extends Error {
|
|
8
|
+
name = "CloudfleetApiError";
|
|
9
|
+
status;
|
|
10
|
+
method;
|
|
11
|
+
/** Route template without IDs, e.g. `/clusters/{cluster_id}`. */
|
|
12
|
+
path;
|
|
13
|
+
url;
|
|
14
|
+
requestId;
|
|
15
|
+
code;
|
|
16
|
+
/** Kubernetes `Status.reason`, e.g. `NotFound`. */
|
|
17
|
+
reason;
|
|
18
|
+
/** Parsed JSON body, or the response text when it is not JSON. */
|
|
19
|
+
body;
|
|
20
|
+
constructor(response, body, context) {
|
|
21
|
+
const fields = isRecord(body) ? body : {};
|
|
22
|
+
super(messageFrom(response, body, fields));
|
|
23
|
+
this.status = response.status;
|
|
24
|
+
this.method = context.method;
|
|
25
|
+
this.path = context.path;
|
|
26
|
+
this.url = context.url;
|
|
27
|
+
this.requestId = requestIdFrom(response.headers);
|
|
28
|
+
this.code = fields.code;
|
|
29
|
+
this.reason =
|
|
30
|
+
typeof fields.reason === "string" ? fields.reason : undefined;
|
|
31
|
+
this.body = body;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
/** No response: DNS, connection, CORS or TLS failure. */
|
|
35
|
+
export class CloudfleetNetworkError extends Error {
|
|
36
|
+
name = "CloudfleetNetworkError";
|
|
37
|
+
method;
|
|
38
|
+
path;
|
|
39
|
+
url;
|
|
40
|
+
constructor(cause, context) {
|
|
41
|
+
super(cause.message, { cause });
|
|
42
|
+
this.method = context.method;
|
|
43
|
+
this.path = context.path;
|
|
44
|
+
this.url = context.url;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Makes the client throw {@link CloudfleetApiError} and {@link CloudfleetNetworkError}.
|
|
49
|
+
* Aborts and validation errors pass through unchanged. The default `client` is registered
|
|
50
|
+
* in `index.ts`; call this for clients from `createClient`.
|
|
51
|
+
*/
|
|
52
|
+
export const registerCloudfleetErrors = (client) => client.interceptors.error.use(errorInterceptor);
|
|
53
|
+
const errorInterceptor = (error, response, request, options) => {
|
|
54
|
+
if (!request)
|
|
55
|
+
return error;
|
|
56
|
+
const context = {
|
|
57
|
+
method: request.method,
|
|
58
|
+
path: options.url,
|
|
59
|
+
url: request.url,
|
|
60
|
+
};
|
|
61
|
+
// For non-2xx responses the generated client throws the body, never an Error.
|
|
62
|
+
if (response && !response.ok && !(error instanceof Error)) {
|
|
63
|
+
return new CloudfleetApiError(response, error, context);
|
|
64
|
+
}
|
|
65
|
+
// fetch reports network failures as TypeError; aborts are DOMExceptions.
|
|
66
|
+
if (!response && error instanceof TypeError) {
|
|
67
|
+
return new CloudfleetNetworkError(error, context);
|
|
68
|
+
}
|
|
69
|
+
return error;
|
|
70
|
+
};
|
|
71
|
+
const messageFrom = (response, body, fields) => {
|
|
72
|
+
if (typeof fields.message === "string" && fields.message) {
|
|
73
|
+
return fields.message;
|
|
74
|
+
}
|
|
75
|
+
if (typeof body === "string" && body.trim()) {
|
|
76
|
+
return body.trim();
|
|
77
|
+
}
|
|
78
|
+
return `${response.status} ${response.statusText}`.trim();
|
|
79
|
+
};
|
|
80
|
+
const requestIdFrom = (headers) => REQUEST_ID_HEADERS.map((name) => headers.get(name)).find(Boolean) ??
|
|
81
|
+
undefined;
|
|
82
|
+
const isRecord = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
|
|
83
|
+
//# sourceMappingURL=errors.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"errors.js","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":"AAEA,MAAM,kBAAkB,GAAG,CAAC,cAAc,EAAE,iBAAiB,CAAC,CAAC;AAQ/D;;;;GAIG;AACH,MAAM,OAAO,kBAAmB,SAAQ,KAAK;IAChC,IAAI,GAAG,oBAAoB,CAAC;IACrC,MAAM,CAAS;IACf,MAAM,CAAS;IACf,iEAAiE;IACjE,IAAI,CAAS;IACb,GAAG,CAAS;IACZ,SAAS,CAAU;IACnB,IAAI,CAAW;IACf,mDAAmD;IACnD,MAAM,CAAU;IAChB,kEAAkE;IAClE,IAAI,CAAU;IAEd,YAAY,QAAkB,EAAE,IAAa,EAAE,OAAuB;QAClE,MAAM,MAAM,GAAG,QAAQ,CAAC,IAAI,CAAC,CAA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CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC;IACjE,SAAS,CAAC;AAEd,MAAM,QAAQ,GAAG,CAAC,KAAc,EAAoC,EAAE,CAClE,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
package/dist/index.d.ts
CHANGED
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAKA,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,uBAAuB,CAAC;AACtC,OAAO,KAAK,eAAe,MAAM,6BAA6B,CAAC;AAC/D,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
|
+
import { client } from "./client.gen";
|
|
2
|
+
import { registerCloudfleetErrors } from "./errors";
|
|
3
|
+
registerCloudfleetErrors(client);
|
|
1
4
|
export * from "./client.gen";
|
|
5
|
+
export * from "./errors";
|
|
2
6
|
export * from "./schemas.gen";
|
|
3
7
|
export * from "./sdk.gen";
|
|
4
8
|
export * from "./services/kubernetes";
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,uBAAuB,CAAC;AACtC,OAAO,KAAK,eAAe,MAAM,6BAA6B,CAAC;AAC/D,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAC;AAEpD,wBAAwB,CAAC,MAAM,CAAC,CAAC;AAEjC,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,uBAAuB,CAAC;AACtC,OAAO,KAAK,eAAe,MAAM,6BAA6B,CAAC;AAC/D,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC"}
|
package/dist/schemas.gen.d.ts
CHANGED
|
@@ -1,40 +1,3 @@
|
|
|
1
|
-
export declare const BasicPriceConsentInputSchema: {
|
|
2
|
-
readonly type: "object";
|
|
3
|
-
readonly properties: {
|
|
4
|
-
readonly decision: {
|
|
5
|
-
readonly type: "string";
|
|
6
|
-
readonly description: "The administrator's decision on the new Basic price. `accepted` continues to paid billing when the signup credit runs out; `rejected` opts out (clusters are suspended, never charged). A `rejected` org can later be flipped back to `accepted`.";
|
|
7
|
-
readonly example: "accepted";
|
|
8
|
-
readonly enum: readonly ["accepted", "rejected"];
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
readonly required: readonly ["decision"];
|
|
12
|
-
readonly additionalProperties: false;
|
|
13
|
-
};
|
|
14
|
-
export declare const BasicPriceConsentSchema: {
|
|
15
|
-
readonly type: "object";
|
|
16
|
-
readonly properties: {
|
|
17
|
-
readonly status: {
|
|
18
|
-
readonly type: "string";
|
|
19
|
-
readonly description: "Consent status for the new Basic price. `not_applicable` when the organization is not in scope for the migration. `pending` when the organization must opt in but no admin has decided yet. `accepted` / `rejected` reflect the recorded decision.";
|
|
20
|
-
readonly example: "pending";
|
|
21
|
-
readonly enum: readonly ["not_applicable", "pending", "accepted", "rejected"];
|
|
22
|
-
};
|
|
23
|
-
readonly decided_at: {
|
|
24
|
-
readonly type: "string";
|
|
25
|
-
readonly format: "date-time";
|
|
26
|
-
readonly description: "When the current decision was recorded. Absent while `not_applicable` or `pending`.";
|
|
27
|
-
readonly example: "2026-09-05T10:12:00.000Z";
|
|
28
|
-
};
|
|
29
|
-
readonly decided_by: {
|
|
30
|
-
readonly type: "string";
|
|
31
|
-
readonly description: "User id of the administrator who recorded the current decision. Absent while `not_applicable` or `pending`.";
|
|
32
|
-
readonly example: "2b7a5c9e-1f4d-4a1b-9c3e-8d2f6a0b1c2d";
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
readonly required: readonly ["status"];
|
|
36
|
-
readonly additionalProperties: false;
|
|
37
|
-
};
|
|
38
1
|
export declare const BillingContactSchema: {
|
|
39
2
|
readonly type: "object";
|
|
40
3
|
readonly properties: {
|
|
@@ -116,7 +79,7 @@ export declare const BillingContactSchema: {
|
|
|
116
79
|
readonly nullable: true;
|
|
117
80
|
readonly description: "Type of the tax ID.";
|
|
118
81
|
readonly example: "de_vat";
|
|
119
|
-
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", ""];
|
|
82
|
+
readonly enum: readonly ["ad_nrt", "ae_trn", "al_tin", "am_tin", "ao_tin", "ar_cuit", "at_vat", "au_abn", "au_arn", "aw_tin", "az_tin", "ba_tin", "bb_tin", "bd_bin", "be_vat", "bf_ifu", "bg_uic", "bg_vat", "bh_vat", "bj_ifu", "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", "cm_niu", "cn_tin", "co_nit", "cr_tin", "cv_nif", "cy_vat", "cz_vat", "de_stn", "de_vat", "dk_vat", "do_rcn", "ec_ruc", "ee_vat", "eg_tin", "es_cif", "es_vat", "et_tin", "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", "kg_tin", "kh_tin", "kr_brn", "kz_bin", "la_tin", "li_uid", "li_vat", "lk_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", ""];
|
|
120
83
|
};
|
|
121
84
|
};
|
|
122
85
|
readonly required: readonly ["type", "email", "individual_name"];
|
|
@@ -746,6 +709,57 @@ export declare const ClusterUpdateInputSchema: {
|
|
|
746
709
|
readonly additionalProperties: false;
|
|
747
710
|
readonly description: "Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.";
|
|
748
711
|
};
|
|
712
|
+
export declare const FeedbackCreateInputSchema: {
|
|
713
|
+
readonly type: "object";
|
|
714
|
+
readonly properties: {
|
|
715
|
+
readonly sentiment: {
|
|
716
|
+
readonly type: "string";
|
|
717
|
+
readonly description: "Overall sentiment: positive, neutral or negative.";
|
|
718
|
+
readonly example: "negative";
|
|
719
|
+
readonly enum: readonly ["positive", "neutral", "negative"];
|
|
720
|
+
};
|
|
721
|
+
readonly message: {
|
|
722
|
+
readonly type: "string";
|
|
723
|
+
readonly maxLength: 2000;
|
|
724
|
+
readonly minLength: 1;
|
|
725
|
+
readonly description: "What was useful, confusing, wrong or missing.";
|
|
726
|
+
readonly example: "The error for a missing kubeconfig does not say which path it looked in.";
|
|
727
|
+
};
|
|
728
|
+
readonly context: {
|
|
729
|
+
readonly type: "string";
|
|
730
|
+
readonly maxLength: 2000;
|
|
731
|
+
readonly description: "What you were trying to do when it happened.";
|
|
732
|
+
readonly example: "Connecting kubectl to a new cluster.";
|
|
733
|
+
};
|
|
734
|
+
readonly source: {
|
|
735
|
+
readonly type: "string";
|
|
736
|
+
readonly description: "Where the feedback was sent from: cli, mcp, plugin, console or api. Defaults to api.";
|
|
737
|
+
readonly default: "api";
|
|
738
|
+
readonly example: "cli";
|
|
739
|
+
readonly enum: readonly ["cli", "mcp", "plugin", "console", "api"];
|
|
740
|
+
};
|
|
741
|
+
readonly client: {
|
|
742
|
+
readonly type: "string";
|
|
743
|
+
readonly maxLength: 100;
|
|
744
|
+
readonly description: "Name and version of the sending client.";
|
|
745
|
+
readonly example: "cloudfleet-plugin-claude/0.5.0";
|
|
746
|
+
};
|
|
747
|
+
};
|
|
748
|
+
readonly required: readonly ["sentiment", "message"];
|
|
749
|
+
readonly additionalProperties: false;
|
|
750
|
+
};
|
|
751
|
+
export declare const FeedbackSchema: {
|
|
752
|
+
readonly type: "object";
|
|
753
|
+
readonly properties: {
|
|
754
|
+
readonly id: {
|
|
755
|
+
readonly type: "string";
|
|
756
|
+
readonly description: "Unique identifier of the feedback entry (Mongo ObjectId).";
|
|
757
|
+
readonly example: "60c72b2f9f1b2c001f8e4d3a";
|
|
758
|
+
};
|
|
759
|
+
};
|
|
760
|
+
readonly required: readonly ["id"];
|
|
761
|
+
readonly additionalProperties: false;
|
|
762
|
+
};
|
|
749
763
|
export declare const FleetCreateInputSchema: {
|
|
750
764
|
readonly type: "object";
|
|
751
765
|
readonly properties: {
|
|
@@ -869,6 +883,37 @@ export declare const FleetCreateInputSchema: {
|
|
|
869
883
|
readonly example: "conservative";
|
|
870
884
|
readonly enum: readonly ["aggressive", "conservative"];
|
|
871
885
|
};
|
|
886
|
+
readonly taints: {
|
|
887
|
+
readonly type: "array";
|
|
888
|
+
readonly items: {
|
|
889
|
+
readonly type: "object";
|
|
890
|
+
readonly properties: {
|
|
891
|
+
readonly key: {
|
|
892
|
+
readonly type: "string";
|
|
893
|
+
readonly description: "Taint key: a Kubernetes qualified name with an optional DNS subdomain prefix. Keys under `node.kubernetes.io`, `node.cloudprovider.kubernetes.io`, `node.cilium.io`, `karpenter.sh` and `cfke.io` (and their subdomains) are reserved.";
|
|
894
|
+
readonly example: "dedicated";
|
|
895
|
+
};
|
|
896
|
+
readonly value: {
|
|
897
|
+
readonly type: "string";
|
|
898
|
+
readonly maxLength: 63;
|
|
899
|
+
readonly pattern: "^([A-Za-z0-9]([-A-Za-z0-9_.]*[A-Za-z0-9])?)?$";
|
|
900
|
+
readonly description: "Taint value. Optional.";
|
|
901
|
+
readonly example: "ci";
|
|
902
|
+
};
|
|
903
|
+
readonly effect: {
|
|
904
|
+
readonly type: "string";
|
|
905
|
+
readonly description: "Taint effect.";
|
|
906
|
+
readonly example: "NoSchedule";
|
|
907
|
+
readonly enum: readonly ["NoSchedule", "PreferNoSchedule", "NoExecute"];
|
|
908
|
+
};
|
|
909
|
+
};
|
|
910
|
+
readonly required: readonly ["key", "effect"];
|
|
911
|
+
readonly additionalProperties: false;
|
|
912
|
+
};
|
|
913
|
+
readonly maxItems: 50;
|
|
914
|
+
readonly description: "Taints applied to every node the fleet provisions, so only pods that tolerate them schedule there. Each key and effect pair may appear once. Full-overwrite: omit to remove all taints.";
|
|
915
|
+
readonly default: readonly [];
|
|
916
|
+
};
|
|
872
917
|
readonly id: {
|
|
873
918
|
readonly type: "string";
|
|
874
919
|
readonly maxLength: 63;
|
|
@@ -1004,6 +1049,37 @@ export declare const FleetSchema: {
|
|
|
1004
1049
|
readonly example: "conservative";
|
|
1005
1050
|
readonly enum: readonly ["aggressive", "conservative"];
|
|
1006
1051
|
};
|
|
1052
|
+
readonly taints: {
|
|
1053
|
+
readonly type: "array";
|
|
1054
|
+
readonly items: {
|
|
1055
|
+
readonly type: "object";
|
|
1056
|
+
readonly properties: {
|
|
1057
|
+
readonly key: {
|
|
1058
|
+
readonly type: "string";
|
|
1059
|
+
readonly description: "Taint key: a Kubernetes qualified name with an optional DNS subdomain prefix. Keys under `node.kubernetes.io`, `node.cloudprovider.kubernetes.io`, `node.cilium.io`, `karpenter.sh` and `cfke.io` (and their subdomains) are reserved.";
|
|
1060
|
+
readonly example: "dedicated";
|
|
1061
|
+
};
|
|
1062
|
+
readonly value: {
|
|
1063
|
+
readonly type: "string";
|
|
1064
|
+
readonly maxLength: 63;
|
|
1065
|
+
readonly pattern: "^([A-Za-z0-9]([-A-Za-z0-9_.]*[A-Za-z0-9])?)?$";
|
|
1066
|
+
readonly description: "Taint value. Optional.";
|
|
1067
|
+
readonly example: "ci";
|
|
1068
|
+
};
|
|
1069
|
+
readonly effect: {
|
|
1070
|
+
readonly type: "string";
|
|
1071
|
+
readonly description: "Taint effect.";
|
|
1072
|
+
readonly example: "NoSchedule";
|
|
1073
|
+
readonly enum: readonly ["NoSchedule", "PreferNoSchedule", "NoExecute"];
|
|
1074
|
+
};
|
|
1075
|
+
};
|
|
1076
|
+
readonly required: readonly ["key", "effect"];
|
|
1077
|
+
readonly additionalProperties: false;
|
|
1078
|
+
};
|
|
1079
|
+
readonly maxItems: 50;
|
|
1080
|
+
readonly description: "Taints applied to every node the fleet provisions, so only pods that tolerate them schedule there. Each key and effect pair may appear once. Full-overwrite: omit to remove all taints.";
|
|
1081
|
+
readonly default: readonly [];
|
|
1082
|
+
};
|
|
1007
1083
|
readonly id: {
|
|
1008
1084
|
readonly type: "string";
|
|
1009
1085
|
readonly maxLength: 63;
|
|
@@ -1033,7 +1109,7 @@ export declare const FleetSchema: {
|
|
|
1033
1109
|
readonly example: "2024-09-12T09:11:27Z";
|
|
1034
1110
|
};
|
|
1035
1111
|
};
|
|
1036
|
-
readonly required: readonly ["constraints", "scalingProfile", "id", "ready", "created_at", "updated_at"];
|
|
1112
|
+
readonly required: readonly ["constraints", "scalingProfile", "taints", "id", "ready", "created_at", "updated_at"];
|
|
1037
1113
|
readonly additionalProperties: false;
|
|
1038
1114
|
readonly description: "Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.";
|
|
1039
1115
|
};
|
|
@@ -1160,6 +1236,37 @@ export declare const FleetUpdateInputSchema: {
|
|
|
1160
1236
|
readonly example: "conservative";
|
|
1161
1237
|
readonly enum: readonly ["aggressive", "conservative"];
|
|
1162
1238
|
};
|
|
1239
|
+
readonly taints: {
|
|
1240
|
+
readonly type: "array";
|
|
1241
|
+
readonly items: {
|
|
1242
|
+
readonly type: "object";
|
|
1243
|
+
readonly properties: {
|
|
1244
|
+
readonly key: {
|
|
1245
|
+
readonly type: "string";
|
|
1246
|
+
readonly description: "Taint key: a Kubernetes qualified name with an optional DNS subdomain prefix. Keys under `node.kubernetes.io`, `node.cloudprovider.kubernetes.io`, `node.cilium.io`, `karpenter.sh` and `cfke.io` (and their subdomains) are reserved.";
|
|
1247
|
+
readonly example: "dedicated";
|
|
1248
|
+
};
|
|
1249
|
+
readonly value: {
|
|
1250
|
+
readonly type: "string";
|
|
1251
|
+
readonly maxLength: 63;
|
|
1252
|
+
readonly pattern: "^([A-Za-z0-9]([-A-Za-z0-9_.]*[A-Za-z0-9])?)?$";
|
|
1253
|
+
readonly description: "Taint value. Optional.";
|
|
1254
|
+
readonly example: "ci";
|
|
1255
|
+
};
|
|
1256
|
+
readonly effect: {
|
|
1257
|
+
readonly type: "string";
|
|
1258
|
+
readonly description: "Taint effect.";
|
|
1259
|
+
readonly example: "NoSchedule";
|
|
1260
|
+
readonly enum: readonly ["NoSchedule", "PreferNoSchedule", "NoExecute"];
|
|
1261
|
+
};
|
|
1262
|
+
};
|
|
1263
|
+
readonly required: readonly ["key", "effect"];
|
|
1264
|
+
readonly additionalProperties: false;
|
|
1265
|
+
};
|
|
1266
|
+
readonly maxItems: 50;
|
|
1267
|
+
readonly description: "Taints applied to every node the fleet provisions, so only pods that tolerate them schedule there. Each key and effect pair may appear once. Full-overwrite: omit to remove all taints.";
|
|
1268
|
+
readonly default: readonly [];
|
|
1269
|
+
};
|
|
1163
1270
|
};
|
|
1164
1271
|
readonly additionalProperties: false;
|
|
1165
1272
|
readonly description: "Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.";
|
|
@@ -1226,6 +1333,130 @@ export declare const InviteSchema: {
|
|
|
1226
1333
|
readonly required: readonly ["date_created"];
|
|
1227
1334
|
readonly additionalProperties: false;
|
|
1228
1335
|
};
|
|
1336
|
+
export declare const InvoicePaymentAttemptSchema: {
|
|
1337
|
+
readonly type: "object";
|
|
1338
|
+
readonly properties: {
|
|
1339
|
+
readonly invoice_id: {
|
|
1340
|
+
readonly type: "string";
|
|
1341
|
+
readonly description: "Identifier of the invoice.";
|
|
1342
|
+
readonly example: "in_1234567890xCrwxghOTj1234";
|
|
1343
|
+
};
|
|
1344
|
+
readonly number: {
|
|
1345
|
+
readonly type: "string";
|
|
1346
|
+
readonly nullable: true;
|
|
1347
|
+
readonly description: "Invoice number. Null if the invoice has no number.";
|
|
1348
|
+
readonly example: "CF-0042";
|
|
1349
|
+
};
|
|
1350
|
+
readonly amount: {
|
|
1351
|
+
readonly type: "number";
|
|
1352
|
+
readonly format: "float";
|
|
1353
|
+
readonly description: "Amount outstanding when the charge was attempted, in the smallest currency unit.";
|
|
1354
|
+
readonly example: 4200;
|
|
1355
|
+
};
|
|
1356
|
+
readonly currency: {
|
|
1357
|
+
readonly type: "string";
|
|
1358
|
+
readonly description: "Currency of the invoice.";
|
|
1359
|
+
readonly example: "eur";
|
|
1360
|
+
};
|
|
1361
|
+
readonly status: {
|
|
1362
|
+
readonly type: "string";
|
|
1363
|
+
readonly description: "Outcome for this invoice: `paid`, `processing` (accepted, not yet settled), `requires_action` (awaiting customer authentication), or `failed` (declined).";
|
|
1364
|
+
readonly example: "paid";
|
|
1365
|
+
readonly enum: readonly ["paid", "processing", "requires_action", "failed"];
|
|
1366
|
+
};
|
|
1367
|
+
readonly client_secret: {
|
|
1368
|
+
readonly type: "string";
|
|
1369
|
+
readonly nullable: true;
|
|
1370
|
+
readonly description: "Client secret used to complete customer authentication. Set only when `status` is `requires_action`.";
|
|
1371
|
+
readonly example: "pi_3MtwBwLkdIwHu7ix28a3tqPa_secret_YrKJUKribcBjcG8HVhfZluoGH";
|
|
1372
|
+
};
|
|
1373
|
+
readonly failure_code: {
|
|
1374
|
+
readonly type: "string";
|
|
1375
|
+
readonly nullable: true;
|
|
1376
|
+
readonly description: "Decline code. Set only when `status` is `failed`.";
|
|
1377
|
+
readonly example: "insufficient_funds";
|
|
1378
|
+
};
|
|
1379
|
+
readonly failure_message: {
|
|
1380
|
+
readonly type: "string";
|
|
1381
|
+
readonly nullable: true;
|
|
1382
|
+
readonly description: "Explanation of the decline, suitable for display. Set only when `status` is `failed`.";
|
|
1383
|
+
readonly example: "Your card has insufficient funds.";
|
|
1384
|
+
};
|
|
1385
|
+
};
|
|
1386
|
+
readonly required: readonly ["invoice_id", "number", "amount", "currency", "status", "client_secret", "failure_code", "failure_message"];
|
|
1387
|
+
readonly additionalProperties: false;
|
|
1388
|
+
};
|
|
1389
|
+
export declare const InvoicePaymentResultSchema: {
|
|
1390
|
+
readonly type: "object";
|
|
1391
|
+
readonly properties: {
|
|
1392
|
+
readonly code: {
|
|
1393
|
+
readonly type: "string";
|
|
1394
|
+
readonly description: "Overall outcome: `paid` (nothing outstanding), `processing` (all accepted, not yet settled), `action_required` (one or more await customer authentication), `partially_paid`, `failed`, `nothing_due`, or `bank_transfer_due` (the organization pays by bank transfer; nothing was charged).";
|
|
1395
|
+
readonly example: "partially_paid";
|
|
1396
|
+
readonly enum: readonly ["paid", "processing", "action_required", "partially_paid", "failed", "nothing_due", "bank_transfer_due"];
|
|
1397
|
+
};
|
|
1398
|
+
readonly message: {
|
|
1399
|
+
readonly type: "string";
|
|
1400
|
+
readonly description: "Summary of the outcome, suitable for display.";
|
|
1401
|
+
readonly example: "1 of 2 open invoices was paid. Invoice CF-0043 was declined: Your card has insufficient funds.";
|
|
1402
|
+
};
|
|
1403
|
+
readonly results: {
|
|
1404
|
+
readonly type: "array";
|
|
1405
|
+
readonly items: {
|
|
1406
|
+
readonly type: "object";
|
|
1407
|
+
readonly properties: {
|
|
1408
|
+
readonly invoice_id: {
|
|
1409
|
+
readonly type: "string";
|
|
1410
|
+
readonly description: "Identifier of the invoice.";
|
|
1411
|
+
readonly example: "in_1234567890xCrwxghOTj1234";
|
|
1412
|
+
};
|
|
1413
|
+
readonly number: {
|
|
1414
|
+
readonly type: "string";
|
|
1415
|
+
readonly description: "Invoice number. Null if the invoice has no number.";
|
|
1416
|
+
readonly example: "CF-0042";
|
|
1417
|
+
};
|
|
1418
|
+
readonly amount: {
|
|
1419
|
+
readonly type: "number";
|
|
1420
|
+
readonly format: "float";
|
|
1421
|
+
readonly description: "Amount outstanding when the charge was attempted, in the smallest currency unit.";
|
|
1422
|
+
readonly example: 4200;
|
|
1423
|
+
};
|
|
1424
|
+
readonly currency: {
|
|
1425
|
+
readonly type: "string";
|
|
1426
|
+
readonly description: "Currency of the invoice.";
|
|
1427
|
+
readonly example: "eur";
|
|
1428
|
+
};
|
|
1429
|
+
readonly status: {
|
|
1430
|
+
readonly type: "string";
|
|
1431
|
+
readonly description: "Outcome for this invoice: `paid`, `processing` (accepted, not yet settled), `requires_action` (awaiting customer authentication), or `failed` (declined).";
|
|
1432
|
+
readonly example: "paid";
|
|
1433
|
+
readonly enum: readonly ["paid", "processing", "requires_action", "failed"];
|
|
1434
|
+
};
|
|
1435
|
+
readonly client_secret: {
|
|
1436
|
+
readonly type: "string";
|
|
1437
|
+
readonly description: "Client secret used to complete customer authentication. Set only when `status` is `requires_action`.";
|
|
1438
|
+
readonly example: "pi_3MtwBwLkdIwHu7ix28a3tqPa_secret_YrKJUKribcBjcG8HVhfZluoGH";
|
|
1439
|
+
};
|
|
1440
|
+
readonly failure_code: {
|
|
1441
|
+
readonly type: "string";
|
|
1442
|
+
readonly description: "Decline code. Set only when `status` is `failed`.";
|
|
1443
|
+
readonly example: "insufficient_funds";
|
|
1444
|
+
};
|
|
1445
|
+
readonly failure_message: {
|
|
1446
|
+
readonly type: "string";
|
|
1447
|
+
readonly description: "Explanation of the decline, suitable for display. Set only when `status` is `failed`.";
|
|
1448
|
+
readonly example: "Your card has insufficient funds.";
|
|
1449
|
+
};
|
|
1450
|
+
};
|
|
1451
|
+
readonly required: readonly ["invoice_id", "number", "amount", "currency", "status", "client_secret", "failure_code", "failure_message"];
|
|
1452
|
+
readonly additionalProperties: false;
|
|
1453
|
+
};
|
|
1454
|
+
readonly description: "One entry per invoice charged, oldest first.";
|
|
1455
|
+
};
|
|
1456
|
+
};
|
|
1457
|
+
readonly required: readonly ["code", "message", "results"];
|
|
1458
|
+
readonly additionalProperties: false;
|
|
1459
|
+
};
|
|
1229
1460
|
export declare const InvoiceSchema: {
|
|
1230
1461
|
readonly type: "object";
|
|
1231
1462
|
readonly properties: {
|
|
@@ -1998,6 +2229,57 @@ export declare const RegistryTagSchema: {
|
|
|
1998
2229
|
readonly required: readonly ["name", "digest", "size", "region", "repository", "uri"];
|
|
1999
2230
|
readonly additionalProperties: false;
|
|
2000
2231
|
};
|
|
2232
|
+
export declare const RoadmapItemCreateInputSchema: {
|
|
2233
|
+
readonly type: "object";
|
|
2234
|
+
readonly properties: {
|
|
2235
|
+
readonly text: {
|
|
2236
|
+
readonly type: "string";
|
|
2237
|
+
readonly maxLength: 500;
|
|
2238
|
+
readonly minLength: 1;
|
|
2239
|
+
readonly description: "Your suggestion in one or two sentences. It is reviewed before it appears on the roadmap.";
|
|
2240
|
+
readonly example: "Support for ARM nodes on Hetzner.";
|
|
2241
|
+
};
|
|
2242
|
+
};
|
|
2243
|
+
readonly required: readonly ["text"];
|
|
2244
|
+
readonly additionalProperties: false;
|
|
2245
|
+
};
|
|
2246
|
+
export declare const RoadmapItemSchema: {
|
|
2247
|
+
readonly type: "object";
|
|
2248
|
+
readonly properties: {
|
|
2249
|
+
readonly id: {
|
|
2250
|
+
readonly type: "string";
|
|
2251
|
+
readonly description: "Unique identifier of the roadmap item (Mongo ObjectId).";
|
|
2252
|
+
readonly example: "60c72b2f9f1b2c001f8e4d3a";
|
|
2253
|
+
};
|
|
2254
|
+
readonly text: {
|
|
2255
|
+
readonly type: "string";
|
|
2256
|
+
readonly description: "Short description of the roadmap item.";
|
|
2257
|
+
readonly example: "Support for ARM nodes on Hetzner.";
|
|
2258
|
+
};
|
|
2259
|
+
readonly vote: {
|
|
2260
|
+
readonly type: "integer";
|
|
2261
|
+
readonly nullable: true;
|
|
2262
|
+
readonly description: "The caller's vote on this item: -1 (down), 1 (up), 2 (double up), or null if the caller has not voted.";
|
|
2263
|
+
readonly example: 1;
|
|
2264
|
+
readonly enum: readonly [-1, 1, 2];
|
|
2265
|
+
};
|
|
2266
|
+
};
|
|
2267
|
+
readonly required: readonly ["id", "text", "vote"];
|
|
2268
|
+
readonly additionalProperties: false;
|
|
2269
|
+
};
|
|
2270
|
+
export declare const RoadmapVoteInputSchema: {
|
|
2271
|
+
readonly type: "object";
|
|
2272
|
+
readonly properties: {
|
|
2273
|
+
readonly value: {
|
|
2274
|
+
readonly type: "integer";
|
|
2275
|
+
readonly description: "Vote value: -1 (down), 1 (up), or 2 (double up).";
|
|
2276
|
+
readonly example: 1;
|
|
2277
|
+
readonly enum: readonly [-1, 1, 2];
|
|
2278
|
+
};
|
|
2279
|
+
};
|
|
2280
|
+
readonly required: readonly ["value"];
|
|
2281
|
+
readonly additionalProperties: false;
|
|
2282
|
+
};
|
|
2001
2283
|
export declare const TicketAttachmentSchema: {
|
|
2002
2284
|
readonly type: "object";
|
|
2003
2285
|
readonly properties: {
|
|
@@ -2051,6 +2333,11 @@ export declare const TicketCreateInputSchema: {
|
|
|
2051
2333
|
readonly cluster_id: "60c72b2f9f1b2c001f8e4d3a";
|
|
2052
2334
|
};
|
|
2053
2335
|
};
|
|
2336
|
+
readonly grant_support_access: {
|
|
2337
|
+
readonly type: "boolean";
|
|
2338
|
+
readonly description: "Grant Cloudfleet support staff access to the organization's resources while the ticket is open. Access cannot be revoked; it ends when the ticket is closed.";
|
|
2339
|
+
readonly example: true;
|
|
2340
|
+
};
|
|
2054
2341
|
};
|
|
2055
2342
|
readonly required: readonly ["category", "body"];
|
|
2056
2343
|
readonly additionalProperties: false;
|
|
@@ -2168,6 +2455,18 @@ export declare const TicketSchema: {
|
|
|
2168
2455
|
readonly description: "First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.";
|
|
2169
2456
|
readonly example: "My cluster cannot reach the registry. Logs attached.";
|
|
2170
2457
|
};
|
|
2458
|
+
readonly support_access_granted: {
|
|
2459
|
+
readonly type: "boolean";
|
|
2460
|
+
readonly description: "Whether Cloudfleet support staff currently have access to the organization's resources. True once access is granted and until the ticket is closed.";
|
|
2461
|
+
readonly example: true;
|
|
2462
|
+
};
|
|
2463
|
+
readonly support_access_granted_at: {
|
|
2464
|
+
readonly type: "string";
|
|
2465
|
+
readonly format: "date-time";
|
|
2466
|
+
readonly nullable: true;
|
|
2467
|
+
readonly description: "When support access was granted. Null if it never was. Kept after the ticket is closed.";
|
|
2468
|
+
readonly example: "2026-05-11T16:08:14.338Z";
|
|
2469
|
+
};
|
|
2171
2470
|
readonly closed_at: {
|
|
2172
2471
|
readonly type: "string";
|
|
2173
2472
|
readonly format: "date-time";
|
|
@@ -2263,7 +2562,7 @@ export declare const TicketSchema: {
|
|
|
2263
2562
|
readonly description: "Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.";
|
|
2264
2563
|
};
|
|
2265
2564
|
};
|
|
2266
|
-
readonly required: readonly ["id", "status", "category", "summary", "date_created", "date_updated"];
|
|
2565
|
+
readonly required: readonly ["id", "status", "category", "summary", "support_access_granted", "support_access_granted_at", "date_created", "date_updated"];
|
|
2267
2566
|
readonly additionalProperties: false;
|
|
2268
2567
|
};
|
|
2269
2568
|
export declare const TokenCreateInputSchema: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.gen.d.ts","sourceRoot":"","sources":["../src/sch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