@cloudfleet/sdk 0.0.1-3818918 → 0.0.1-3c0b38c
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/dist/client/client.d.ts +3 -0
- package/dist/client/client.d.ts.map +1 -0
- package/dist/client/client.js +144 -0
- package/dist/client/client.js.map +1 -0
- package/dist/client/index.d.ts +8 -0
- package/dist/client/index.d.ts.map +1 -0
- package/dist/client/index.js +5 -0
- package/dist/client/index.js.map +1 -0
- package/dist/client/types.d.ts +120 -0
- package/dist/client/types.d.ts.map +1 -0
- package/dist/client/types.js +2 -0
- package/dist/client/types.js.map +1 -0
- package/dist/client/utils.d.ts +46 -0
- package/dist/client/utils.d.ts.map +1 -0
- package/dist/client/utils.js +285 -0
- package/dist/client/utils.js.map +1 -0
- package/dist/client.gen.d.ts +2 -2
- package/dist/client.gen.d.ts.map +1 -1
- package/dist/client.gen.js +1 -1
- package/dist/client.gen.js.map +1 -1
- package/dist/core/auth.d.ts +19 -0
- package/dist/core/auth.d.ts.map +1 -0
- package/dist/core/auth.js +14 -0
- package/dist/core/auth.js.map +1 -0
- package/dist/core/bodySerializer.d.ts +18 -0
- package/dist/core/bodySerializer.d.ts.map +1 -0
- package/dist/core/bodySerializer.js +54 -0
- package/dist/core/bodySerializer.js.map +1 -0
- package/dist/core/params.d.ts +24 -0
- package/dist/core/params.d.ts.map +1 -0
- package/dist/core/params.js +88 -0
- package/dist/core/params.js.map +1 -0
- package/dist/core/pathSerializer.d.ts +34 -0
- package/dist/core/pathSerializer.d.ts.map +1 -0
- package/dist/core/pathSerializer.js +114 -0
- package/dist/core/pathSerializer.js.map +1 -0
- package/dist/core/types.d.ts +74 -0
- package/dist/core/types.d.ts.map +1 -0
- package/dist/core/types.js +2 -0
- package/dist/core/types.js.map +1 -0
- package/dist/schemas.gen.d.ts +81 -113
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +81 -122
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +56 -63
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +21 -21
- package/dist/sdk.gen.js.map +1 -1
- package/dist/types.gen.d.ts +41 -41
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +1687 -191
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +614 -56
- package/dist/zod.gen.js.map +1 -1
- package/package.json +5 -6
package/dist/zod.gen.d.ts
CHANGED
|
@@ -11,6 +11,8 @@ export declare const zBillingContact: z.ZodObject<{
|
|
|
11
11
|
email: z.ZodString;
|
|
12
12
|
first_name: z.ZodString;
|
|
13
13
|
last_name: z.ZodString;
|
|
14
|
+
tax_id: z.ZodOptional<z.ZodString>;
|
|
15
|
+
tax_id_type: z.ZodOptional<z.ZodEnum<["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", ""]>>;
|
|
14
16
|
}, "strip", z.ZodTypeAny, {
|
|
15
17
|
email: string;
|
|
16
18
|
first_name: string;
|
|
@@ -23,6 +25,8 @@ export declare const zBillingContact: z.ZodObject<{
|
|
|
23
25
|
postalCode?: string | undefined;
|
|
24
26
|
city?: string | undefined;
|
|
25
27
|
phone?: string | undefined;
|
|
28
|
+
tax_id?: string | undefined;
|
|
29
|
+
tax_id_type?: "" | "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" | undefined;
|
|
26
30
|
}, {
|
|
27
31
|
email: string;
|
|
28
32
|
first_name: string;
|
|
@@ -35,6 +39,8 @@ export declare const zBillingContact: z.ZodObject<{
|
|
|
35
39
|
postalCode?: string | undefined;
|
|
36
40
|
city?: string | undefined;
|
|
37
41
|
phone?: string | undefined;
|
|
42
|
+
tax_id?: string | undefined;
|
|
43
|
+
tax_id_type?: "" | "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" | undefined;
|
|
38
44
|
}>;
|
|
39
45
|
export declare const zBillingCredits: z.ZodObject<{
|
|
40
46
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -92,7 +98,7 @@ export declare const zChart: z.ZodObject<{
|
|
|
92
98
|
name: z.ZodString;
|
|
93
99
|
namespace: z.ZodString;
|
|
94
100
|
chart: z.ZodString;
|
|
95
|
-
status: z.ZodEnum<["InstallSucceeded", "InstallFailed", "UpgradeSucceeded", "UpgradeFailed", "TestSucceeded", "TestFailed", "RollbackSucceeded", "RollbackFailed", "UninstallSucceeded", "UninstallFailed", "ArtifactFailed", "DependencyNotReady", "Progressing"]>;
|
|
101
|
+
status: z.ZodEnum<["InstallSucceeded", "InstallFailed", "UpgradeSucceeded", "UpgradeFailed", "TestSucceeded", "TestFailed", "RollbackSucceeded", "RollbackFailed", "UninstallSucceeded", "UninstallFailed", "ArtifactFailed", "DependencyNotReady", "Progressing", "SourceNotReady"]>;
|
|
96
102
|
version_current: z.ZodString;
|
|
97
103
|
created_at: z.ZodString;
|
|
98
104
|
updated_at: z.ZodString;
|
|
@@ -101,7 +107,7 @@ export declare const zChart: z.ZodObject<{
|
|
|
101
107
|
values: string;
|
|
102
108
|
name: string;
|
|
103
109
|
ready: boolean;
|
|
104
|
-
status: "InstallSucceeded" | "InstallFailed" | "UpgradeSucceeded" | "UpgradeFailed" | "TestSucceeded" | "TestFailed" | "RollbackSucceeded" | "RollbackFailed" | "UninstallSucceeded" | "UninstallFailed" | "ArtifactFailed" | "DependencyNotReady" | "Progressing";
|
|
110
|
+
status: "InstallSucceeded" | "InstallFailed" | "UpgradeSucceeded" | "UpgradeFailed" | "TestSucceeded" | "TestFailed" | "RollbackSucceeded" | "RollbackFailed" | "UninstallSucceeded" | "UninstallFailed" | "ArtifactFailed" | "DependencyNotReady" | "Progressing" | "SourceNotReady";
|
|
105
111
|
version_channel: string;
|
|
106
112
|
namespace: string;
|
|
107
113
|
chart: string;
|
|
@@ -112,7 +118,7 @@ export declare const zChart: z.ZodObject<{
|
|
|
112
118
|
values: string;
|
|
113
119
|
name: string;
|
|
114
120
|
ready: boolean;
|
|
115
|
-
status: "InstallSucceeded" | "InstallFailed" | "UpgradeSucceeded" | "UpgradeFailed" | "TestSucceeded" | "TestFailed" | "RollbackSucceeded" | "RollbackFailed" | "UninstallSucceeded" | "UninstallFailed" | "ArtifactFailed" | "DependencyNotReady" | "Progressing";
|
|
121
|
+
status: "InstallSucceeded" | "InstallFailed" | "UpgradeSucceeded" | "UpgradeFailed" | "TestSucceeded" | "TestFailed" | "RollbackSucceeded" | "RollbackFailed" | "UninstallSucceeded" | "UninstallFailed" | "ArtifactFailed" | "DependencyNotReady" | "Progressing" | "SourceNotReady";
|
|
116
122
|
version_channel: string;
|
|
117
123
|
namespace: string;
|
|
118
124
|
chart: string;
|
|
@@ -132,18 +138,18 @@ export declare const zChartUpdateInput: z.ZodObject<{
|
|
|
132
138
|
}>;
|
|
133
139
|
export declare const zClusterCreateInput: z.ZodObject<{
|
|
134
140
|
name: z.ZodString;
|
|
135
|
-
region: z.ZodOptional<z.ZodEnum<["staging", "northamerica-central-1"]>>;
|
|
136
141
|
tier: z.ZodEnum<["basic", "pro"]>;
|
|
142
|
+
region: z.ZodOptional<z.ZodEnum<["staging", "northamerica-central-1", "europe-central-1a"]>>;
|
|
137
143
|
version_channel: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
138
144
|
}, "strip", z.ZodTypeAny, {
|
|
139
145
|
name: string;
|
|
140
146
|
version_channel: string;
|
|
141
147
|
tier: "basic" | "pro";
|
|
142
|
-
region?: "staging" | "northamerica-central-1" | undefined;
|
|
148
|
+
region?: "staging" | "northamerica-central-1" | "europe-central-1a" | undefined;
|
|
143
149
|
}, {
|
|
144
150
|
name: string;
|
|
145
151
|
tier: "basic" | "pro";
|
|
146
|
-
region?: "staging" | "northamerica-central-1" | undefined;
|
|
152
|
+
region?: "staging" | "northamerica-central-1" | "europe-central-1a" | undefined;
|
|
147
153
|
version_channel?: string | undefined;
|
|
148
154
|
}>;
|
|
149
155
|
export declare const zClusterJoinInformation: z.ZodObject<{
|
|
@@ -210,8 +216,8 @@ export declare const zClusterJoinInformation: z.ZodObject<{
|
|
|
210
216
|
}>;
|
|
211
217
|
export declare const zCluster: z.ZodObject<{
|
|
212
218
|
name: z.ZodString;
|
|
213
|
-
region: z.ZodOptional<z.ZodEnum<["staging", "northamerica-central-1"]>>;
|
|
214
219
|
tier: z.ZodEnum<["basic", "pro"]>;
|
|
220
|
+
region: z.ZodOptional<z.ZodEnum<["staging", "northamerica-central-1", "europe-central-1a"]>>;
|
|
215
221
|
version_channel: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
216
222
|
id: z.ZodString;
|
|
217
223
|
status: z.ZodEnum<["active", "deleted", "creating", "deployed", "failed", "updating"]>;
|
|
@@ -228,7 +234,7 @@ export declare const zCluster: z.ZodObject<{
|
|
|
228
234
|
version_channel: string;
|
|
229
235
|
tier: "basic" | "pro";
|
|
230
236
|
ready?: boolean | undefined;
|
|
231
|
-
region?: "staging" | "northamerica-central-1" | undefined;
|
|
237
|
+
region?: "staging" | "northamerica-central-1" | "europe-central-1a" | undefined;
|
|
232
238
|
version_current?: string | undefined;
|
|
233
239
|
created_at?: string | undefined;
|
|
234
240
|
updated_at?: string | undefined;
|
|
@@ -240,7 +246,7 @@ export declare const zCluster: z.ZodObject<{
|
|
|
240
246
|
status: "failed" | "active" | "deleted" | "creating" | "deployed" | "updating";
|
|
241
247
|
tier: "basic" | "pro";
|
|
242
248
|
ready?: boolean | undefined;
|
|
243
|
-
region?: "staging" | "northamerica-central-1" | undefined;
|
|
249
|
+
region?: "staging" | "northamerica-central-1" | "europe-central-1a" | undefined;
|
|
244
250
|
version_channel?: string | undefined;
|
|
245
251
|
version_current?: string | undefined;
|
|
246
252
|
created_at?: string | undefined;
|
|
@@ -250,11 +256,14 @@ export declare const zCluster: z.ZodObject<{
|
|
|
250
256
|
}>;
|
|
251
257
|
export declare const zClusterUpdateInput: z.ZodObject<{
|
|
252
258
|
name: z.ZodOptional<z.ZodString>;
|
|
259
|
+
tier: z.ZodEnum<["basic", "pro"]>;
|
|
253
260
|
version_channel: z.ZodOptional<z.ZodString>;
|
|
254
261
|
}, "strip", z.ZodTypeAny, {
|
|
262
|
+
tier: "basic" | "pro";
|
|
255
263
|
name?: string | undefined;
|
|
256
264
|
version_channel?: string | undefined;
|
|
257
265
|
}, {
|
|
266
|
+
tier: "basic" | "pro";
|
|
258
267
|
name?: string | undefined;
|
|
259
268
|
version_channel?: string | undefined;
|
|
260
269
|
}>;
|
|
@@ -276,25 +285,16 @@ export declare const zFleetCreateInput: z.ZodObject<{
|
|
|
276
285
|
project: string;
|
|
277
286
|
enabled?: boolean | undefined;
|
|
278
287
|
}>>;
|
|
279
|
-
hetzner: z.ZodOptional<z.
|
|
288
|
+
hetzner: z.ZodOptional<z.ZodObject<{
|
|
280
289
|
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
281
|
-
apiKey: z.
|
|
290
|
+
apiKey: z.ZodString;
|
|
282
291
|
}, "strip", z.ZodTypeAny, {
|
|
292
|
+
apiKey: string;
|
|
283
293
|
enabled: boolean;
|
|
284
|
-
apiKey?: string | undefined;
|
|
285
294
|
}, {
|
|
286
|
-
apiKey
|
|
295
|
+
apiKey: string;
|
|
287
296
|
enabled?: boolean | undefined;
|
|
288
|
-
}
|
|
289
|
-
apiKey: z.ZodOptional<z.ZodString>;
|
|
290
|
-
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
291
|
-
}, "strip", z.ZodTypeAny, {
|
|
292
|
-
enabled: boolean;
|
|
293
|
-
apiKey?: string | undefined;
|
|
294
|
-
}, {
|
|
295
|
-
apiKey?: string | undefined;
|
|
296
|
-
enabled?: boolean | undefined;
|
|
297
|
-
}>]>>;
|
|
297
|
+
}>>;
|
|
298
298
|
aws: z.ZodOptional<z.ZodObject<{
|
|
299
299
|
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
300
300
|
controllerRoleArn: z.ZodString;
|
|
@@ -306,9 +306,7 @@ export declare const zFleetCreateInput: z.ZodObject<{
|
|
|
306
306
|
enabled?: boolean | undefined;
|
|
307
307
|
}>>;
|
|
308
308
|
id: z.ZodString;
|
|
309
|
-
type: z.ZodEnum<["managed", "connected"]>;
|
|
310
309
|
}, "strip", z.ZodTypeAny, {
|
|
311
|
-
type: "connected" | "managed";
|
|
312
310
|
id: string;
|
|
313
311
|
limits?: {
|
|
314
312
|
cpu: number;
|
|
@@ -318,18 +316,14 @@ export declare const zFleetCreateInput: z.ZodObject<{
|
|
|
318
316
|
enabled: boolean;
|
|
319
317
|
} | undefined;
|
|
320
318
|
hetzner?: {
|
|
319
|
+
apiKey: string;
|
|
321
320
|
enabled: boolean;
|
|
322
|
-
apiKey?: string | undefined;
|
|
323
|
-
} | {
|
|
324
|
-
enabled: boolean;
|
|
325
|
-
apiKey?: string | undefined;
|
|
326
321
|
} | undefined;
|
|
327
322
|
aws?: {
|
|
328
323
|
controllerRoleArn: string;
|
|
329
324
|
enabled: boolean;
|
|
330
325
|
} | undefined;
|
|
331
326
|
}, {
|
|
332
|
-
type: "connected" | "managed";
|
|
333
327
|
id: string;
|
|
334
328
|
limits?: {
|
|
335
329
|
cpu: number;
|
|
@@ -339,10 +333,7 @@ export declare const zFleetCreateInput: z.ZodObject<{
|
|
|
339
333
|
enabled?: boolean | undefined;
|
|
340
334
|
} | undefined;
|
|
341
335
|
hetzner?: {
|
|
342
|
-
apiKey
|
|
343
|
-
enabled?: boolean | undefined;
|
|
344
|
-
} | {
|
|
345
|
-
apiKey?: string | undefined;
|
|
336
|
+
apiKey: string;
|
|
346
337
|
enabled?: boolean | undefined;
|
|
347
338
|
} | undefined;
|
|
348
339
|
aws?: {
|
|
@@ -368,25 +359,16 @@ export declare const zFleet: z.ZodObject<{
|
|
|
368
359
|
project: string;
|
|
369
360
|
enabled?: boolean | undefined;
|
|
370
361
|
}>>;
|
|
371
|
-
hetzner: z.ZodOptional<z.
|
|
372
|
-
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
373
|
-
apiKey: z.ZodOptional<z.ZodString>;
|
|
374
|
-
}, "strip", z.ZodTypeAny, {
|
|
375
|
-
enabled: boolean;
|
|
376
|
-
apiKey?: string | undefined;
|
|
377
|
-
}, {
|
|
378
|
-
apiKey?: string | undefined;
|
|
379
|
-
enabled?: boolean | undefined;
|
|
380
|
-
}>, z.ZodObject<{
|
|
381
|
-
apiKey: z.ZodOptional<z.ZodString>;
|
|
362
|
+
hetzner: z.ZodOptional<z.ZodObject<{
|
|
382
363
|
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
364
|
+
apiKey: z.ZodString;
|
|
383
365
|
}, "strip", z.ZodTypeAny, {
|
|
366
|
+
apiKey: string;
|
|
384
367
|
enabled: boolean;
|
|
385
|
-
apiKey?: string | undefined;
|
|
386
368
|
}, {
|
|
387
|
-
apiKey
|
|
369
|
+
apiKey: string;
|
|
388
370
|
enabled?: boolean | undefined;
|
|
389
|
-
}
|
|
371
|
+
}>>;
|
|
390
372
|
aws: z.ZodOptional<z.ZodObject<{
|
|
391
373
|
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
392
374
|
controllerRoleArn: z.ZodString;
|
|
@@ -398,9 +380,7 @@ export declare const zFleet: z.ZodObject<{
|
|
|
398
380
|
enabled?: boolean | undefined;
|
|
399
381
|
}>>;
|
|
400
382
|
id: z.ZodString;
|
|
401
|
-
type: z.ZodEnum<["managed", "connected"]>;
|
|
402
383
|
}, "strip", z.ZodTypeAny, {
|
|
403
|
-
type: "connected" | "managed";
|
|
404
384
|
id: string;
|
|
405
385
|
limits?: {
|
|
406
386
|
cpu: number;
|
|
@@ -410,18 +390,14 @@ export declare const zFleet: z.ZodObject<{
|
|
|
410
390
|
enabled: boolean;
|
|
411
391
|
} | undefined;
|
|
412
392
|
hetzner?: {
|
|
393
|
+
apiKey: string;
|
|
413
394
|
enabled: boolean;
|
|
414
|
-
apiKey?: string | undefined;
|
|
415
|
-
} | {
|
|
416
|
-
enabled: boolean;
|
|
417
|
-
apiKey?: string | undefined;
|
|
418
395
|
} | undefined;
|
|
419
396
|
aws?: {
|
|
420
397
|
controllerRoleArn: string;
|
|
421
398
|
enabled: boolean;
|
|
422
399
|
} | undefined;
|
|
423
400
|
}, {
|
|
424
|
-
type: "connected" | "managed";
|
|
425
401
|
id: string;
|
|
426
402
|
limits?: {
|
|
427
403
|
cpu: number;
|
|
@@ -431,10 +407,7 @@ export declare const zFleet: z.ZodObject<{
|
|
|
431
407
|
enabled?: boolean | undefined;
|
|
432
408
|
} | undefined;
|
|
433
409
|
hetzner?: {
|
|
434
|
-
apiKey
|
|
435
|
-
enabled?: boolean | undefined;
|
|
436
|
-
} | {
|
|
437
|
-
apiKey?: string | undefined;
|
|
410
|
+
apiKey: string;
|
|
438
411
|
enabled?: boolean | undefined;
|
|
439
412
|
} | undefined;
|
|
440
413
|
aws?: {
|
|
@@ -460,25 +433,16 @@ export declare const zFleetUpdateInput: z.ZodObject<{
|
|
|
460
433
|
project: string;
|
|
461
434
|
enabled?: boolean | undefined;
|
|
462
435
|
}>>;
|
|
463
|
-
hetzner: z.ZodOptional<z.
|
|
436
|
+
hetzner: z.ZodOptional<z.ZodObject<{
|
|
464
437
|
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
465
|
-
apiKey: z.
|
|
438
|
+
apiKey: z.ZodString;
|
|
466
439
|
}, "strip", z.ZodTypeAny, {
|
|
440
|
+
apiKey: string;
|
|
467
441
|
enabled: boolean;
|
|
468
|
-
apiKey?: string | undefined;
|
|
469
442
|
}, {
|
|
470
|
-
apiKey
|
|
443
|
+
apiKey: string;
|
|
471
444
|
enabled?: boolean | undefined;
|
|
472
|
-
}
|
|
473
|
-
apiKey: z.ZodOptional<z.ZodString>;
|
|
474
|
-
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
475
|
-
}, "strip", z.ZodTypeAny, {
|
|
476
|
-
enabled: boolean;
|
|
477
|
-
apiKey?: string | undefined;
|
|
478
|
-
}, {
|
|
479
|
-
apiKey?: string | undefined;
|
|
480
|
-
enabled?: boolean | undefined;
|
|
481
|
-
}>]>>;
|
|
445
|
+
}>>;
|
|
482
446
|
aws: z.ZodOptional<z.ZodObject<{
|
|
483
447
|
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
484
448
|
controllerRoleArn: z.ZodString;
|
|
@@ -498,11 +462,8 @@ export declare const zFleetUpdateInput: z.ZodObject<{
|
|
|
498
462
|
enabled: boolean;
|
|
499
463
|
} | undefined;
|
|
500
464
|
hetzner?: {
|
|
465
|
+
apiKey: string;
|
|
501
466
|
enabled: boolean;
|
|
502
|
-
apiKey?: string | undefined;
|
|
503
|
-
} | {
|
|
504
|
-
enabled: boolean;
|
|
505
|
-
apiKey?: string | undefined;
|
|
506
467
|
} | undefined;
|
|
507
468
|
aws?: {
|
|
508
469
|
controllerRoleArn: string;
|
|
@@ -517,10 +478,7 @@ export declare const zFleetUpdateInput: z.ZodObject<{
|
|
|
517
478
|
enabled?: boolean | undefined;
|
|
518
479
|
} | undefined;
|
|
519
480
|
hetzner?: {
|
|
520
|
-
apiKey
|
|
521
|
-
enabled?: boolean | undefined;
|
|
522
|
-
} | {
|
|
523
|
-
apiKey?: string | undefined;
|
|
481
|
+
apiKey: string;
|
|
524
482
|
enabled?: boolean | undefined;
|
|
525
483
|
} | undefined;
|
|
526
484
|
aws?: {
|
|
@@ -581,7 +539,7 @@ export declare const zInvoice: z.ZodObject<{
|
|
|
581
539
|
quantity: z.ZodOptional<z.ZodNumber>;
|
|
582
540
|
itemDetails: z.ZodOptional<z.ZodString>;
|
|
583
541
|
catalogEffectiveDate: z.ZodOptional<z.ZodString>;
|
|
584
|
-
childItems: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
|
|
542
|
+
childItems: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodArray<z.ZodUnknown, "many">, z.ZodBoolean, z.ZodNumber, z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, z.ZodString]>, "many">>;
|
|
585
543
|
}, "strip", z.ZodTypeAny, {
|
|
586
544
|
currency?: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BYR" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GGP" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "IMP" | "INR" | "IQD" | "IRR" | "ISK" | "JEP" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LTL" | "LVL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRO" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SPL" | "SRD" | "STD" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TVD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VEF" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XDR" | "XOF" | "XPF" | "YER" | "ZAR" | "ZMW" | "ZWD" | "BTC" | undefined;
|
|
587
545
|
id?: string | undefined;
|
|
@@ -603,7 +561,7 @@ export declare const zInvoice: z.ZodObject<{
|
|
|
603
561
|
quantity?: number | undefined;
|
|
604
562
|
itemDetails?: string | undefined;
|
|
605
563
|
catalogEffectiveDate?: string | undefined;
|
|
606
|
-
childItems?: unknown[] | undefined;
|
|
564
|
+
childItems?: (string | number | boolean | unknown[] | {})[] | undefined;
|
|
607
565
|
}, {
|
|
608
566
|
currency?: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BYR" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GGP" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "IMP" | "INR" | "IQD" | "IRR" | "ISK" | "JEP" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LTL" | "LVL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRO" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SPL" | "SRD" | "STD" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TVD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VEF" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XDR" | "XOF" | "XPF" | "YER" | "ZAR" | "ZMW" | "ZWD" | "BTC" | undefined;
|
|
609
567
|
id?: string | undefined;
|
|
@@ -625,7 +583,7 @@ export declare const zInvoice: z.ZodObject<{
|
|
|
625
583
|
quantity?: number | undefined;
|
|
626
584
|
itemDetails?: string | undefined;
|
|
627
585
|
catalogEffectiveDate?: string | undefined;
|
|
628
|
-
childItems?: unknown[] | undefined;
|
|
586
|
+
childItems?: (string | number | boolean | unknown[] | {})[] | undefined;
|
|
629
587
|
}>, "many">>;
|
|
630
588
|
items: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
631
589
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -648,7 +606,7 @@ export declare const zInvoice: z.ZodObject<{
|
|
|
648
606
|
quantity: z.ZodOptional<z.ZodNumber>;
|
|
649
607
|
itemDetails: z.ZodOptional<z.ZodString>;
|
|
650
608
|
catalogEffectiveDate: z.ZodOptional<z.ZodString>;
|
|
651
|
-
childItems: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
|
|
609
|
+
childItems: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodArray<z.ZodUnknown, "many">, z.ZodBoolean, z.ZodNumber, z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, z.ZodString]>, "many">>;
|
|
652
610
|
}, "strip", z.ZodTypeAny, {
|
|
653
611
|
currency?: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BYR" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GGP" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "IMP" | "INR" | "IQD" | "IRR" | "ISK" | "JEP" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LTL" | "LVL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRO" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SPL" | "SRD" | "STD" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TVD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VEF" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XDR" | "XOF" | "XPF" | "YER" | "ZAR" | "ZMW" | "ZWD" | "BTC" | undefined;
|
|
654
612
|
id?: string | undefined;
|
|
@@ -670,7 +628,7 @@ export declare const zInvoice: z.ZodObject<{
|
|
|
670
628
|
quantity?: number | undefined;
|
|
671
629
|
itemDetails?: string | undefined;
|
|
672
630
|
catalogEffectiveDate?: string | undefined;
|
|
673
|
-
childItems?: unknown[] | undefined;
|
|
631
|
+
childItems?: (string | number | boolean | unknown[] | {})[] | undefined;
|
|
674
632
|
}, {
|
|
675
633
|
currency?: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BYR" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GGP" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "IMP" | "INR" | "IQD" | "IRR" | "ISK" | "JEP" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LTL" | "LVL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRO" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SPL" | "SRD" | "STD" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TVD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VEF" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XDR" | "XOF" | "XPF" | "YER" | "ZAR" | "ZMW" | "ZWD" | "BTC" | undefined;
|
|
676
634
|
id?: string | undefined;
|
|
@@ -692,7 +650,7 @@ export declare const zInvoice: z.ZodObject<{
|
|
|
692
650
|
quantity?: number | undefined;
|
|
693
651
|
itemDetails?: string | undefined;
|
|
694
652
|
catalogEffectiveDate?: string | undefined;
|
|
695
|
-
childItems?: unknown[] | undefined;
|
|
653
|
+
childItems?: (string | number | boolean | unknown[] | {})[] | undefined;
|
|
696
654
|
}>, "many">>;
|
|
697
655
|
}, "strip", z.ZodTypeAny, {
|
|
698
656
|
currency?: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BYR" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GGP" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "IMP" | "INR" | "IQD" | "IRR" | "ISK" | "JEP" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LTL" | "LVL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRO" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SPL" | "SRD" | "STD" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TVD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VEF" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XDR" | "XOF" | "XPF" | "YER" | "ZAR" | "ZMW" | "ZWD" | "BTC" | undefined;
|
|
@@ -719,7 +677,7 @@ export declare const zInvoice: z.ZodObject<{
|
|
|
719
677
|
quantity?: number | undefined;
|
|
720
678
|
itemDetails?: string | undefined;
|
|
721
679
|
catalogEffectiveDate?: string | undefined;
|
|
722
|
-
childItems?: unknown[] | undefined;
|
|
680
|
+
childItems?: (string | number | boolean | unknown[] | {})[] | undefined;
|
|
723
681
|
}[] | undefined;
|
|
724
682
|
organizationId?: string | undefined;
|
|
725
683
|
amount?: number | undefined;
|
|
@@ -751,7 +709,7 @@ export declare const zInvoice: z.ZodObject<{
|
|
|
751
709
|
quantity?: number | undefined;
|
|
752
710
|
itemDetails?: string | undefined;
|
|
753
711
|
catalogEffectiveDate?: string | undefined;
|
|
754
|
-
childItems?: unknown[] | undefined;
|
|
712
|
+
childItems?: (string | number | boolean | unknown[] | {})[] | undefined;
|
|
755
713
|
}[] | undefined;
|
|
756
714
|
}, {
|
|
757
715
|
currency?: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BYR" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GGP" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "IMP" | "INR" | "IQD" | "IRR" | "ISK" | "JEP" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LTL" | "LVL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRO" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SPL" | "SRD" | "STD" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TVD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VEF" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XDR" | "XOF" | "XPF" | "YER" | "ZAR" | "ZMW" | "ZWD" | "BTC" | undefined;
|
|
@@ -778,7 +736,7 @@ export declare const zInvoice: z.ZodObject<{
|
|
|
778
736
|
quantity?: number | undefined;
|
|
779
737
|
itemDetails?: string | undefined;
|
|
780
738
|
catalogEffectiveDate?: string | undefined;
|
|
781
|
-
childItems?: unknown[] | undefined;
|
|
739
|
+
childItems?: (string | number | boolean | unknown[] | {})[] | undefined;
|
|
782
740
|
}[] | undefined;
|
|
783
741
|
organizationId?: string | undefined;
|
|
784
742
|
amount?: number | undefined;
|
|
@@ -810,7 +768,7 @@ export declare const zInvoice: z.ZodObject<{
|
|
|
810
768
|
quantity?: number | undefined;
|
|
811
769
|
itemDetails?: string | undefined;
|
|
812
770
|
catalogEffectiveDate?: string | undefined;
|
|
813
|
-
childItems?: unknown[] | undefined;
|
|
771
|
+
childItems?: (string | number | boolean | unknown[] | {})[] | undefined;
|
|
814
772
|
}[] | undefined;
|
|
815
773
|
}>;
|
|
816
774
|
export declare const zMarketplaceListing: z.ZodObject<{
|
|
@@ -893,7 +851,6 @@ export declare const zOrganization: z.ZodObject<{
|
|
|
893
851
|
pro_clusters_max: z.ZodNumber;
|
|
894
852
|
pro_clusters_available: z.ZodNumber;
|
|
895
853
|
fleets_max: z.ZodNumber;
|
|
896
|
-
managed_fleets_cpu_max: z.ZodNumber;
|
|
897
854
|
cluster_tiers: z.ZodArray<z.ZodString, "many">;
|
|
898
855
|
regions: z.ZodArray<z.ZodString, "many">;
|
|
899
856
|
versions: z.ZodArray<z.ZodObject<{
|
|
@@ -916,7 +873,6 @@ export declare const zOrganization: z.ZodObject<{
|
|
|
916
873
|
pro_clusters_max: number;
|
|
917
874
|
pro_clusters_available: number;
|
|
918
875
|
fleets_max: number;
|
|
919
|
-
managed_fleets_cpu_max: number;
|
|
920
876
|
cluster_tiers: string[];
|
|
921
877
|
regions: string[];
|
|
922
878
|
}, {
|
|
@@ -929,7 +885,6 @@ export declare const zOrganization: z.ZodObject<{
|
|
|
929
885
|
pro_clusters_max: number;
|
|
930
886
|
pro_clusters_available: number;
|
|
931
887
|
fleets_max: number;
|
|
932
|
-
managed_fleets_cpu_max: number;
|
|
933
888
|
cluster_tiers: string[];
|
|
934
889
|
regions: string[];
|
|
935
890
|
}>;
|
|
@@ -948,7 +903,6 @@ export declare const zOrganization: z.ZodObject<{
|
|
|
948
903
|
pro_clusters_max: number;
|
|
949
904
|
pro_clusters_available: number;
|
|
950
905
|
fleets_max: number;
|
|
951
|
-
managed_fleets_cpu_max: number;
|
|
952
906
|
cluster_tiers: string[];
|
|
953
907
|
regions: string[];
|
|
954
908
|
};
|
|
@@ -967,7 +921,6 @@ export declare const zOrganization: z.ZodObject<{
|
|
|
967
921
|
pro_clusters_max: number;
|
|
968
922
|
pro_clusters_available: number;
|
|
969
923
|
fleets_max: number;
|
|
970
|
-
managed_fleets_cpu_max: number;
|
|
971
924
|
cluster_tiers: string[];
|
|
972
925
|
regions: string[];
|
|
973
926
|
};
|
|
@@ -1040,8 +993,8 @@ export declare const zTokenUpdateInput: z.ZodObject<{
|
|
|
1040
993
|
export declare const zUsage: z.ZodObject<{
|
|
1041
994
|
hour: z.ZodOptional<z.ZodString>;
|
|
1042
995
|
cluster_id: z.ZodString;
|
|
1043
|
-
cluster_tier: z.ZodEnum<[""]>;
|
|
1044
|
-
product: z.ZodEnum<["
|
|
996
|
+
cluster_tier: z.ZodEnum<["basic", "pro", ""]>;
|
|
997
|
+
product: z.ZodEnum<["cfke_controlplane", "cfke_connected_nodes", "infra_compute", "infra_storage", "infra_loadbalancing", "infra_traffic", "cfcr_storage"]>;
|
|
1045
998
|
node_name: z.ZodString;
|
|
1046
999
|
sku: z.ZodString;
|
|
1047
1000
|
cpu: z.ZodUnion<[z.ZodNumber, z.ZodEnum<[""]>]>;
|
|
@@ -1051,10 +1004,10 @@ export declare const zUsage: z.ZodObject<{
|
|
|
1051
1004
|
}, "strip", z.ZodTypeAny, {
|
|
1052
1005
|
total: number | "";
|
|
1053
1006
|
cpu: number | "";
|
|
1054
|
-
product: "
|
|
1007
|
+
product: "cfke_controlplane" | "cfke_connected_nodes" | "infra_compute" | "infra_storage" | "infra_loadbalancing" | "infra_traffic" | "cfcr_storage";
|
|
1055
1008
|
value: number | "";
|
|
1056
1009
|
cluster_id: string;
|
|
1057
|
-
cluster_tier: "";
|
|
1010
|
+
cluster_tier: "" | "basic" | "pro";
|
|
1058
1011
|
node_name: string;
|
|
1059
1012
|
sku: string;
|
|
1060
1013
|
price: number | "";
|
|
@@ -1062,10 +1015,10 @@ export declare const zUsage: z.ZodObject<{
|
|
|
1062
1015
|
}, {
|
|
1063
1016
|
total: number | "";
|
|
1064
1017
|
cpu: number | "";
|
|
1065
|
-
product: "
|
|
1018
|
+
product: "cfke_controlplane" | "cfke_connected_nodes" | "infra_compute" | "infra_storage" | "infra_loadbalancing" | "infra_traffic" | "cfcr_storage";
|
|
1066
1019
|
value: number | "";
|
|
1067
1020
|
cluster_id: string;
|
|
1068
|
-
cluster_tier: "";
|
|
1021
|
+
cluster_tier: "" | "basic" | "pro";
|
|
1069
1022
|
node_name: string;
|
|
1070
1023
|
sku: string;
|
|
1071
1024
|
price: number | "";
|
|
@@ -1140,11 +1093,27 @@ export declare const zUserUpdateInput: z.ZodObject<{
|
|
|
1140
1093
|
first_name?: string | undefined;
|
|
1141
1094
|
last_name?: string | undefined;
|
|
1142
1095
|
}>;
|
|
1096
|
+
export declare const zGetUsageData: z.ZodObject<{
|
|
1097
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
1098
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
1099
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
1100
|
+
}, "strip", z.ZodTypeAny, {
|
|
1101
|
+
body?: undefined;
|
|
1102
|
+
path?: undefined;
|
|
1103
|
+
query?: undefined;
|
|
1104
|
+
}, {
|
|
1105
|
+
body?: undefined;
|
|
1106
|
+
path?: undefined;
|
|
1107
|
+
query?: undefined;
|
|
1108
|
+
}>;
|
|
1109
|
+
/**
|
|
1110
|
+
* An array of usage records.
|
|
1111
|
+
*/
|
|
1143
1112
|
export declare const zGetUsageResponse: z.ZodArray<z.ZodObject<{
|
|
1144
1113
|
hour: z.ZodOptional<z.ZodString>;
|
|
1145
1114
|
cluster_id: z.ZodString;
|
|
1146
|
-
cluster_tier: z.ZodEnum<[""]>;
|
|
1147
|
-
product: z.ZodEnum<["
|
|
1115
|
+
cluster_tier: z.ZodEnum<["basic", "pro", ""]>;
|
|
1116
|
+
product: z.ZodEnum<["cfke_controlplane", "cfke_connected_nodes", "infra_compute", "infra_storage", "infra_loadbalancing", "infra_traffic", "cfcr_storage"]>;
|
|
1148
1117
|
node_name: z.ZodString;
|
|
1149
1118
|
sku: z.ZodString;
|
|
1150
1119
|
cpu: z.ZodUnion<[z.ZodNumber, z.ZodEnum<[""]>]>;
|
|
@@ -1154,10 +1123,10 @@ export declare const zGetUsageResponse: z.ZodArray<z.ZodObject<{
|
|
|
1154
1123
|
}, "strip", z.ZodTypeAny, {
|
|
1155
1124
|
total: number | "";
|
|
1156
1125
|
cpu: number | "";
|
|
1157
|
-
product: "
|
|
1126
|
+
product: "cfke_controlplane" | "cfke_connected_nodes" | "infra_compute" | "infra_storage" | "infra_loadbalancing" | "infra_traffic" | "cfcr_storage";
|
|
1158
1127
|
value: number | "";
|
|
1159
1128
|
cluster_id: string;
|
|
1160
|
-
cluster_tier: "";
|
|
1129
|
+
cluster_tier: "" | "basic" | "pro";
|
|
1161
1130
|
node_name: string;
|
|
1162
1131
|
sku: string;
|
|
1163
1132
|
price: number | "";
|
|
@@ -1165,16 +1134,48 @@ export declare const zGetUsageResponse: z.ZodArray<z.ZodObject<{
|
|
|
1165
1134
|
}, {
|
|
1166
1135
|
total: number | "";
|
|
1167
1136
|
cpu: number | "";
|
|
1168
|
-
product: "
|
|
1137
|
+
product: "cfke_controlplane" | "cfke_connected_nodes" | "infra_compute" | "infra_storage" | "infra_loadbalancing" | "infra_traffic" | "cfcr_storage";
|
|
1169
1138
|
value: number | "";
|
|
1170
1139
|
cluster_id: string;
|
|
1171
|
-
cluster_tier: "";
|
|
1140
|
+
cluster_tier: "" | "basic" | "pro";
|
|
1172
1141
|
node_name: string;
|
|
1173
1142
|
sku: string;
|
|
1174
1143
|
price: number | "";
|
|
1175
1144
|
hour?: string | undefined;
|
|
1176
1145
|
}>, "many">;
|
|
1146
|
+
export declare const zGetBalanceData: z.ZodObject<{
|
|
1147
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
1148
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
1149
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
1150
|
+
}, "strip", z.ZodTypeAny, {
|
|
1151
|
+
body?: undefined;
|
|
1152
|
+
path?: undefined;
|
|
1153
|
+
query?: undefined;
|
|
1154
|
+
}, {
|
|
1155
|
+
body?: undefined;
|
|
1156
|
+
path?: undefined;
|
|
1157
|
+
query?: undefined;
|
|
1158
|
+
}>;
|
|
1159
|
+
/**
|
|
1160
|
+
* Current balance of the organization in USD as a floating-point number.
|
|
1161
|
+
*/
|
|
1177
1162
|
export declare const zGetBalanceResponse: z.ZodNumber;
|
|
1163
|
+
export declare const zGetPaymentMethodData: z.ZodObject<{
|
|
1164
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
1165
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
1166
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
1167
|
+
}, "strip", z.ZodTypeAny, {
|
|
1168
|
+
body?: undefined;
|
|
1169
|
+
path?: undefined;
|
|
1170
|
+
query?: undefined;
|
|
1171
|
+
}, {
|
|
1172
|
+
body?: undefined;
|
|
1173
|
+
path?: undefined;
|
|
1174
|
+
query?: undefined;
|
|
1175
|
+
}>;
|
|
1176
|
+
/**
|
|
1177
|
+
* Redacted payment card information.
|
|
1178
|
+
*/
|
|
1178
1179
|
export declare const zGetPaymentMethodResponse: z.ZodObject<{
|
|
1179
1180
|
id: z.ZodString;
|
|
1180
1181
|
setup: z.ZodBoolean;
|
|
@@ -1200,6 +1201,23 @@ export declare const zGetPaymentMethodResponse: z.ZodObject<{
|
|
|
1200
1201
|
exp_year: number;
|
|
1201
1202
|
brand: "unknown" | "amex" | "diners" | "discover" | "eftpos_au" | "jcb" | "mastercard" | "unionpay" | "visa";
|
|
1202
1203
|
}>;
|
|
1204
|
+
export declare const zGetPaymentMethodSecretData: z.ZodObject<{
|
|
1205
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
1206
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
1207
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
1208
|
+
}, "strip", z.ZodTypeAny, {
|
|
1209
|
+
body?: undefined;
|
|
1210
|
+
path?: undefined;
|
|
1211
|
+
query?: undefined;
|
|
1212
|
+
}, {
|
|
1213
|
+
body?: undefined;
|
|
1214
|
+
path?: undefined;
|
|
1215
|
+
query?: undefined;
|
|
1216
|
+
}>;
|
|
1217
|
+
/**
|
|
1218
|
+
* The client secret. Used for client-side retrieval using a publishable key. The client secret can be used to complete a payment from your frontend. It should not be stored, logged, or exposed to anyone other than the customer. Make sure that you have TLS enabled on any page that includes the client secret.
|
|
1219
|
+
*
|
|
1220
|
+
*/
|
|
1203
1221
|
export declare const zGetPaymentMethodSecretResponse: z.ZodObject<{
|
|
1204
1222
|
id: z.ZodOptional<z.ZodString>;
|
|
1205
1223
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1207,6 +1225,37 @@ export declare const zGetPaymentMethodSecretResponse: z.ZodObject<{
|
|
|
1207
1225
|
}, {
|
|
1208
1226
|
id?: string | undefined;
|
|
1209
1227
|
}>;
|
|
1228
|
+
export declare const zListInvoicesData: z.ZodObject<{
|
|
1229
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
1230
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
1231
|
+
query: z.ZodObject<{
|
|
1232
|
+
start_date: z.ZodString;
|
|
1233
|
+
end_date: z.ZodString;
|
|
1234
|
+
}, "strip", z.ZodTypeAny, {
|
|
1235
|
+
start_date: string;
|
|
1236
|
+
end_date: string;
|
|
1237
|
+
}, {
|
|
1238
|
+
start_date: string;
|
|
1239
|
+
end_date: string;
|
|
1240
|
+
}>;
|
|
1241
|
+
}, "strip", z.ZodTypeAny, {
|
|
1242
|
+
query: {
|
|
1243
|
+
start_date: string;
|
|
1244
|
+
end_date: string;
|
|
1245
|
+
};
|
|
1246
|
+
body?: undefined;
|
|
1247
|
+
path?: undefined;
|
|
1248
|
+
}, {
|
|
1249
|
+
query: {
|
|
1250
|
+
start_date: string;
|
|
1251
|
+
end_date: string;
|
|
1252
|
+
};
|
|
1253
|
+
body?: undefined;
|
|
1254
|
+
path?: undefined;
|
|
1255
|
+
}>;
|
|
1256
|
+
/**
|
|
1257
|
+
* An array of usage records.
|
|
1258
|
+
*/
|
|
1210
1259
|
export declare const zListInvoicesResponse: z.ZodArray<z.ZodObject<{
|
|
1211
1260
|
id: z.ZodOptional<z.ZodString>;
|
|
1212
1261
|
organizationId: z.ZodOptional<z.ZodString>;
|
|
@@ -1241,7 +1290,7 @@ export declare const zListInvoicesResponse: z.ZodArray<z.ZodObject<{
|
|
|
1241
1290
|
quantity: z.ZodOptional<z.ZodNumber>;
|
|
1242
1291
|
itemDetails: z.ZodOptional<z.ZodString>;
|
|
1243
1292
|
catalogEffectiveDate: z.ZodOptional<z.ZodString>;
|
|
1244
|
-
childItems: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
|
|
1293
|
+
childItems: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodArray<z.ZodUnknown, "many">, z.ZodBoolean, z.ZodNumber, z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, z.ZodString]>, "many">>;
|
|
1245
1294
|
}, "strip", z.ZodTypeAny, {
|
|
1246
1295
|
currency?: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BYR" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GGP" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "IMP" | "INR" | "IQD" | "IRR" | "ISK" | "JEP" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LTL" | "LVL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRO" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SPL" | "SRD" | "STD" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TVD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VEF" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XDR" | "XOF" | "XPF" | "YER" | "ZAR" | "ZMW" | "ZWD" | "BTC" | undefined;
|
|
1247
1296
|
id?: string | undefined;
|
|
@@ -1263,7 +1312,7 @@ export declare const zListInvoicesResponse: z.ZodArray<z.ZodObject<{
|
|
|
1263
1312
|
quantity?: number | undefined;
|
|
1264
1313
|
itemDetails?: string | undefined;
|
|
1265
1314
|
catalogEffectiveDate?: string | undefined;
|
|
1266
|
-
childItems?: unknown[] | undefined;
|
|
1315
|
+
childItems?: (string | number | boolean | unknown[] | {})[] | undefined;
|
|
1267
1316
|
}, {
|
|
1268
1317
|
currency?: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BYR" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GGP" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "IMP" | "INR" | "IQD" | "IRR" | "ISK" | "JEP" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LTL" | "LVL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRO" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SPL" | "SRD" | "STD" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TVD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VEF" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XDR" | "XOF" | "XPF" | "YER" | "ZAR" | "ZMW" | "ZWD" | "BTC" | undefined;
|
|
1269
1318
|
id?: string | undefined;
|
|
@@ -1285,7 +1334,7 @@ export declare const zListInvoicesResponse: z.ZodArray<z.ZodObject<{
|
|
|
1285
1334
|
quantity?: number | undefined;
|
|
1286
1335
|
itemDetails?: string | undefined;
|
|
1287
1336
|
catalogEffectiveDate?: string | undefined;
|
|
1288
|
-
childItems?: unknown[] | undefined;
|
|
1337
|
+
childItems?: (string | number | boolean | unknown[] | {})[] | undefined;
|
|
1289
1338
|
}>, "many">>;
|
|
1290
1339
|
items: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1291
1340
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -1308,7 +1357,7 @@ export declare const zListInvoicesResponse: z.ZodArray<z.ZodObject<{
|
|
|
1308
1357
|
quantity: z.ZodOptional<z.ZodNumber>;
|
|
1309
1358
|
itemDetails: z.ZodOptional<z.ZodString>;
|
|
1310
1359
|
catalogEffectiveDate: z.ZodOptional<z.ZodString>;
|
|
1311
|
-
childItems: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
|
|
1360
|
+
childItems: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodArray<z.ZodUnknown, "many">, z.ZodBoolean, z.ZodNumber, z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, z.ZodString]>, "many">>;
|
|
1312
1361
|
}, "strip", z.ZodTypeAny, {
|
|
1313
1362
|
currency?: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BYR" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GGP" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "IMP" | "INR" | "IQD" | "IRR" | "ISK" | "JEP" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LTL" | "LVL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRO" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SPL" | "SRD" | "STD" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TVD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VEF" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XDR" | "XOF" | "XPF" | "YER" | "ZAR" | "ZMW" | "ZWD" | "BTC" | undefined;
|
|
1314
1363
|
id?: string | undefined;
|
|
@@ -1330,7 +1379,7 @@ export declare const zListInvoicesResponse: z.ZodArray<z.ZodObject<{
|
|
|
1330
1379
|
quantity?: number | undefined;
|
|
1331
1380
|
itemDetails?: string | undefined;
|
|
1332
1381
|
catalogEffectiveDate?: string | undefined;
|
|
1333
|
-
childItems?: unknown[] | undefined;
|
|
1382
|
+
childItems?: (string | number | boolean | unknown[] | {})[] | undefined;
|
|
1334
1383
|
}, {
|
|
1335
1384
|
currency?: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BYR" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GGP" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "IMP" | "INR" | "IQD" | "IRR" | "ISK" | "JEP" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LTL" | "LVL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRO" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SPL" | "SRD" | "STD" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TVD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VEF" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XDR" | "XOF" | "XPF" | "YER" | "ZAR" | "ZMW" | "ZWD" | "BTC" | undefined;
|
|
1336
1385
|
id?: string | undefined;
|
|
@@ -1352,7 +1401,7 @@ export declare const zListInvoicesResponse: z.ZodArray<z.ZodObject<{
|
|
|
1352
1401
|
quantity?: number | undefined;
|
|
1353
1402
|
itemDetails?: string | undefined;
|
|
1354
1403
|
catalogEffectiveDate?: string | undefined;
|
|
1355
|
-
childItems?: unknown[] | undefined;
|
|
1404
|
+
childItems?: (string | number | boolean | unknown[] | {})[] | undefined;
|
|
1356
1405
|
}>, "many">>;
|
|
1357
1406
|
}, "strip", z.ZodTypeAny, {
|
|
1358
1407
|
currency?: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BYR" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GGP" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "IMP" | "INR" | "IQD" | "IRR" | "ISK" | "JEP" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LTL" | "LVL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRO" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SPL" | "SRD" | "STD" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TVD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VEF" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XDR" | "XOF" | "XPF" | "YER" | "ZAR" | "ZMW" | "ZWD" | "BTC" | undefined;
|
|
@@ -1379,7 +1428,7 @@ export declare const zListInvoicesResponse: z.ZodArray<z.ZodObject<{
|
|
|
1379
1428
|
quantity?: number | undefined;
|
|
1380
1429
|
itemDetails?: string | undefined;
|
|
1381
1430
|
catalogEffectiveDate?: string | undefined;
|
|
1382
|
-
childItems?: unknown[] | undefined;
|
|
1431
|
+
childItems?: (string | number | boolean | unknown[] | {})[] | undefined;
|
|
1383
1432
|
}[] | undefined;
|
|
1384
1433
|
organizationId?: string | undefined;
|
|
1385
1434
|
amount?: number | undefined;
|
|
@@ -1411,7 +1460,7 @@ export declare const zListInvoicesResponse: z.ZodArray<z.ZodObject<{
|
|
|
1411
1460
|
quantity?: number | undefined;
|
|
1412
1461
|
itemDetails?: string | undefined;
|
|
1413
1462
|
catalogEffectiveDate?: string | undefined;
|
|
1414
|
-
childItems?: unknown[] | undefined;
|
|
1463
|
+
childItems?: (string | number | boolean | unknown[] | {})[] | undefined;
|
|
1415
1464
|
}[] | undefined;
|
|
1416
1465
|
}, {
|
|
1417
1466
|
currency?: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BYR" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GGP" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "IMP" | "INR" | "IQD" | "IRR" | "ISK" | "JEP" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LTL" | "LVL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRO" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SPL" | "SRD" | "STD" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TVD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VEF" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XDR" | "XOF" | "XPF" | "YER" | "ZAR" | "ZMW" | "ZWD" | "BTC" | undefined;
|
|
@@ -1438,7 +1487,7 @@ export declare const zListInvoicesResponse: z.ZodArray<z.ZodObject<{
|
|
|
1438
1487
|
quantity?: number | undefined;
|
|
1439
1488
|
itemDetails?: string | undefined;
|
|
1440
1489
|
catalogEffectiveDate?: string | undefined;
|
|
1441
|
-
childItems?: unknown[] | undefined;
|
|
1490
|
+
childItems?: (string | number | boolean | unknown[] | {})[] | undefined;
|
|
1442
1491
|
}[] | undefined;
|
|
1443
1492
|
organizationId?: string | undefined;
|
|
1444
1493
|
amount?: number | undefined;
|
|
@@ -1470,9 +1519,35 @@ export declare const zListInvoicesResponse: z.ZodArray<z.ZodObject<{
|
|
|
1470
1519
|
quantity?: number | undefined;
|
|
1471
1520
|
itemDetails?: string | undefined;
|
|
1472
1521
|
catalogEffectiveDate?: string | undefined;
|
|
1473
|
-
childItems?: unknown[] | undefined;
|
|
1522
|
+
childItems?: (string | number | boolean | unknown[] | {})[] | undefined;
|
|
1474
1523
|
}[] | undefined;
|
|
1475
1524
|
}>, "many">;
|
|
1525
|
+
export declare const zGetInvoiceData: z.ZodObject<{
|
|
1526
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
1527
|
+
path: z.ZodObject<{
|
|
1528
|
+
id: z.ZodString;
|
|
1529
|
+
}, "strip", z.ZodTypeAny, {
|
|
1530
|
+
id: string;
|
|
1531
|
+
}, {
|
|
1532
|
+
id: string;
|
|
1533
|
+
}>;
|
|
1534
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
1535
|
+
}, "strip", z.ZodTypeAny, {
|
|
1536
|
+
path: {
|
|
1537
|
+
id: string;
|
|
1538
|
+
};
|
|
1539
|
+
body?: undefined;
|
|
1540
|
+
query?: undefined;
|
|
1541
|
+
}, {
|
|
1542
|
+
path: {
|
|
1543
|
+
id: string;
|
|
1544
|
+
};
|
|
1545
|
+
body?: undefined;
|
|
1546
|
+
query?: undefined;
|
|
1547
|
+
}>;
|
|
1548
|
+
/**
|
|
1549
|
+
* Returns a single Invoice HTML representation under `html` property.
|
|
1550
|
+
*/
|
|
1476
1551
|
export declare const zGetInvoiceResponse: z.ZodObject<{
|
|
1477
1552
|
html: z.ZodOptional<z.ZodString>;
|
|
1478
1553
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1480,6 +1555,22 @@ export declare const zGetInvoiceResponse: z.ZodObject<{
|
|
|
1480
1555
|
}, {
|
|
1481
1556
|
html?: string | undefined;
|
|
1482
1557
|
}>;
|
|
1558
|
+
export declare const zGetContactData: z.ZodObject<{
|
|
1559
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
1560
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
1561
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
1562
|
+
}, "strip", z.ZodTypeAny, {
|
|
1563
|
+
body?: undefined;
|
|
1564
|
+
path?: undefined;
|
|
1565
|
+
query?: undefined;
|
|
1566
|
+
}, {
|
|
1567
|
+
body?: undefined;
|
|
1568
|
+
path?: undefined;
|
|
1569
|
+
query?: undefined;
|
|
1570
|
+
}>;
|
|
1571
|
+
/**
|
|
1572
|
+
* Returns a single object containing organization contact and billing address details.
|
|
1573
|
+
*/
|
|
1483
1574
|
export declare const zGetContactResponse: z.ZodObject<{
|
|
1484
1575
|
company: z.ZodOptional<z.ZodString>;
|
|
1485
1576
|
address1: z.ZodOptional<z.ZodString>;
|
|
@@ -1492,6 +1583,8 @@ export declare const zGetContactResponse: z.ZodObject<{
|
|
|
1492
1583
|
email: z.ZodString;
|
|
1493
1584
|
first_name: z.ZodString;
|
|
1494
1585
|
last_name: z.ZodString;
|
|
1586
|
+
tax_id: z.ZodOptional<z.ZodString>;
|
|
1587
|
+
tax_id_type: z.ZodOptional<z.ZodEnum<["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", ""]>>;
|
|
1495
1588
|
}, "strip", z.ZodTypeAny, {
|
|
1496
1589
|
email: string;
|
|
1497
1590
|
first_name: string;
|
|
@@ -1504,6 +1597,8 @@ export declare const zGetContactResponse: z.ZodObject<{
|
|
|
1504
1597
|
postalCode?: string | undefined;
|
|
1505
1598
|
city?: string | undefined;
|
|
1506
1599
|
phone?: string | undefined;
|
|
1600
|
+
tax_id?: string | undefined;
|
|
1601
|
+
tax_id_type?: "" | "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" | undefined;
|
|
1507
1602
|
}, {
|
|
1508
1603
|
email: string;
|
|
1509
1604
|
first_name: string;
|
|
@@ -1516,7 +1611,95 @@ export declare const zGetContactResponse: z.ZodObject<{
|
|
|
1516
1611
|
postalCode?: string | undefined;
|
|
1517
1612
|
city?: string | undefined;
|
|
1518
1613
|
phone?: string | undefined;
|
|
1614
|
+
tax_id?: string | undefined;
|
|
1615
|
+
tax_id_type?: "" | "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" | undefined;
|
|
1616
|
+
}>;
|
|
1617
|
+
export declare const zUpdateContactData: z.ZodObject<{
|
|
1618
|
+
body: z.ZodObject<{
|
|
1619
|
+
company: z.ZodOptional<z.ZodString>;
|
|
1620
|
+
address1: z.ZodOptional<z.ZodString>;
|
|
1621
|
+
address2: z.ZodOptional<z.ZodString>;
|
|
1622
|
+
postalCode: z.ZodOptional<z.ZodString>;
|
|
1623
|
+
city: z.ZodOptional<z.ZodString>;
|
|
1624
|
+
state: z.ZodOptional<z.ZodString>;
|
|
1625
|
+
country: z.ZodOptional<z.ZodString>;
|
|
1626
|
+
phone: z.ZodOptional<z.ZodString>;
|
|
1627
|
+
email: z.ZodString;
|
|
1628
|
+
first_name: z.ZodString;
|
|
1629
|
+
last_name: z.ZodString;
|
|
1630
|
+
tax_id: z.ZodOptional<z.ZodString>;
|
|
1631
|
+
tax_id_type: z.ZodOptional<z.ZodEnum<["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", ""]>>;
|
|
1632
|
+
}, "strip", z.ZodTypeAny, {
|
|
1633
|
+
email: string;
|
|
1634
|
+
first_name: string;
|
|
1635
|
+
last_name: string;
|
|
1636
|
+
state?: string | undefined;
|
|
1637
|
+
country?: string | undefined;
|
|
1638
|
+
company?: string | undefined;
|
|
1639
|
+
address1?: string | undefined;
|
|
1640
|
+
address2?: string | undefined;
|
|
1641
|
+
postalCode?: string | undefined;
|
|
1642
|
+
city?: string | undefined;
|
|
1643
|
+
phone?: string | undefined;
|
|
1644
|
+
tax_id?: string | undefined;
|
|
1645
|
+
tax_id_type?: "" | "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" | undefined;
|
|
1646
|
+
}, {
|
|
1647
|
+
email: string;
|
|
1648
|
+
first_name: string;
|
|
1649
|
+
last_name: string;
|
|
1650
|
+
state?: string | undefined;
|
|
1651
|
+
country?: string | undefined;
|
|
1652
|
+
company?: string | undefined;
|
|
1653
|
+
address1?: string | undefined;
|
|
1654
|
+
address2?: string | undefined;
|
|
1655
|
+
postalCode?: string | undefined;
|
|
1656
|
+
city?: string | undefined;
|
|
1657
|
+
phone?: string | undefined;
|
|
1658
|
+
tax_id?: string | undefined;
|
|
1659
|
+
tax_id_type?: "" | "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" | undefined;
|
|
1660
|
+
}>;
|
|
1661
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
1662
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
1663
|
+
}, "strip", z.ZodTypeAny, {
|
|
1664
|
+
body: {
|
|
1665
|
+
email: string;
|
|
1666
|
+
first_name: string;
|
|
1667
|
+
last_name: string;
|
|
1668
|
+
state?: string | undefined;
|
|
1669
|
+
country?: string | undefined;
|
|
1670
|
+
company?: string | undefined;
|
|
1671
|
+
address1?: string | undefined;
|
|
1672
|
+
address2?: string | undefined;
|
|
1673
|
+
postalCode?: string | undefined;
|
|
1674
|
+
city?: string | undefined;
|
|
1675
|
+
phone?: string | undefined;
|
|
1676
|
+
tax_id?: string | undefined;
|
|
1677
|
+
tax_id_type?: "" | "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" | undefined;
|
|
1678
|
+
};
|
|
1679
|
+
path?: undefined;
|
|
1680
|
+
query?: undefined;
|
|
1681
|
+
}, {
|
|
1682
|
+
body: {
|
|
1683
|
+
email: string;
|
|
1684
|
+
first_name: string;
|
|
1685
|
+
last_name: string;
|
|
1686
|
+
state?: string | undefined;
|
|
1687
|
+
country?: string | undefined;
|
|
1688
|
+
company?: string | undefined;
|
|
1689
|
+
address1?: string | undefined;
|
|
1690
|
+
address2?: string | undefined;
|
|
1691
|
+
postalCode?: string | undefined;
|
|
1692
|
+
city?: string | undefined;
|
|
1693
|
+
phone?: string | undefined;
|
|
1694
|
+
tax_id?: string | undefined;
|
|
1695
|
+
tax_id_type?: "" | "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" | undefined;
|
|
1696
|
+
};
|
|
1697
|
+
path?: undefined;
|
|
1698
|
+
query?: undefined;
|
|
1519
1699
|
}>;
|
|
1700
|
+
/**
|
|
1701
|
+
* Successfully updated. Returns updated organization details.
|
|
1702
|
+
*/
|
|
1520
1703
|
export declare const zUpdateContactResponse: z.ZodObject<{
|
|
1521
1704
|
company: z.ZodOptional<z.ZodString>;
|
|
1522
1705
|
address1: z.ZodOptional<z.ZodString>;
|
|
@@ -1529,6 +1712,8 @@ export declare const zUpdateContactResponse: z.ZodObject<{
|
|
|
1529
1712
|
email: z.ZodString;
|
|
1530
1713
|
first_name: z.ZodString;
|
|
1531
1714
|
last_name: z.ZodString;
|
|
1715
|
+
tax_id: z.ZodOptional<z.ZodString>;
|
|
1716
|
+
tax_id_type: z.ZodOptional<z.ZodEnum<["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", ""]>>;
|
|
1532
1717
|
}, "strip", z.ZodTypeAny, {
|
|
1533
1718
|
email: string;
|
|
1534
1719
|
first_name: string;
|
|
@@ -1541,6 +1726,8 @@ export declare const zUpdateContactResponse: z.ZodObject<{
|
|
|
1541
1726
|
postalCode?: string | undefined;
|
|
1542
1727
|
city?: string | undefined;
|
|
1543
1728
|
phone?: string | undefined;
|
|
1729
|
+
tax_id?: string | undefined;
|
|
1730
|
+
tax_id_type?: "" | "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" | undefined;
|
|
1544
1731
|
}, {
|
|
1545
1732
|
email: string;
|
|
1546
1733
|
first_name: string;
|
|
@@ -1553,7 +1740,25 @@ export declare const zUpdateContactResponse: z.ZodObject<{
|
|
|
1553
1740
|
postalCode?: string | undefined;
|
|
1554
1741
|
city?: string | undefined;
|
|
1555
1742
|
phone?: string | undefined;
|
|
1743
|
+
tax_id?: string | undefined;
|
|
1744
|
+
tax_id_type?: "" | "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" | undefined;
|
|
1745
|
+
}>;
|
|
1746
|
+
export declare const zGetCreditsData: z.ZodObject<{
|
|
1747
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
1748
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
1749
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
1750
|
+
}, "strip", z.ZodTypeAny, {
|
|
1751
|
+
body?: undefined;
|
|
1752
|
+
path?: undefined;
|
|
1753
|
+
query?: undefined;
|
|
1754
|
+
}, {
|
|
1755
|
+
body?: undefined;
|
|
1756
|
+
path?: undefined;
|
|
1757
|
+
query?: undefined;
|
|
1556
1758
|
}>;
|
|
1759
|
+
/**
|
|
1760
|
+
* An array of the applied promotional credits records.
|
|
1761
|
+
*/
|
|
1557
1762
|
export declare const zGetCreditsResponse: z.ZodArray<z.ZodObject<{
|
|
1558
1763
|
id: z.ZodOptional<z.ZodString>;
|
|
1559
1764
|
date_created: z.ZodString;
|
|
@@ -1585,13 +1790,62 @@ export declare const zGetCreditsResponse: z.ZodArray<z.ZodObject<{
|
|
|
1585
1790
|
products?: string[] | undefined;
|
|
1586
1791
|
value_remaining?: number | undefined;
|
|
1587
1792
|
}>, "many">;
|
|
1793
|
+
export declare const zRedeemCreditsData: z.ZodObject<{
|
|
1794
|
+
body: z.ZodObject<{
|
|
1795
|
+
code: z.ZodOptional<z.ZodString>;
|
|
1796
|
+
}, "strip", z.ZodTypeAny, {
|
|
1797
|
+
code?: string | undefined;
|
|
1798
|
+
}, {
|
|
1799
|
+
code?: string | undefined;
|
|
1800
|
+
}>;
|
|
1801
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
1802
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
1803
|
+
}, "strip", z.ZodTypeAny, {
|
|
1804
|
+
body: {
|
|
1805
|
+
code?: string | undefined;
|
|
1806
|
+
};
|
|
1807
|
+
path?: undefined;
|
|
1808
|
+
query?: undefined;
|
|
1809
|
+
}, {
|
|
1810
|
+
body: {
|
|
1811
|
+
code?: string | undefined;
|
|
1812
|
+
};
|
|
1813
|
+
path?: undefined;
|
|
1814
|
+
query?: undefined;
|
|
1815
|
+
}>;
|
|
1816
|
+
export declare const zListChartsData: z.ZodObject<{
|
|
1817
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
1818
|
+
path: z.ZodObject<{
|
|
1819
|
+
cluster_id: z.ZodString;
|
|
1820
|
+
}, "strip", z.ZodTypeAny, {
|
|
1821
|
+
cluster_id: string;
|
|
1822
|
+
}, {
|
|
1823
|
+
cluster_id: string;
|
|
1824
|
+
}>;
|
|
1825
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
1826
|
+
}, "strip", z.ZodTypeAny, {
|
|
1827
|
+
path: {
|
|
1828
|
+
cluster_id: string;
|
|
1829
|
+
};
|
|
1830
|
+
body?: undefined;
|
|
1831
|
+
query?: undefined;
|
|
1832
|
+
}, {
|
|
1833
|
+
path: {
|
|
1834
|
+
cluster_id: string;
|
|
1835
|
+
};
|
|
1836
|
+
body?: undefined;
|
|
1837
|
+
query?: undefined;
|
|
1838
|
+
}>;
|
|
1839
|
+
/**
|
|
1840
|
+
* An array of charts
|
|
1841
|
+
*/
|
|
1588
1842
|
export declare const zListChartsResponse: z.ZodArray<z.ZodObject<{
|
|
1589
1843
|
values: z.ZodString;
|
|
1590
1844
|
version_channel: z.ZodString;
|
|
1591
1845
|
name: z.ZodString;
|
|
1592
1846
|
namespace: z.ZodString;
|
|
1593
1847
|
chart: z.ZodString;
|
|
1594
|
-
status: z.ZodEnum<["InstallSucceeded", "InstallFailed", "UpgradeSucceeded", "UpgradeFailed", "TestSucceeded", "TestFailed", "RollbackSucceeded", "RollbackFailed", "UninstallSucceeded", "UninstallFailed", "ArtifactFailed", "DependencyNotReady", "Progressing"]>;
|
|
1848
|
+
status: z.ZodEnum<["InstallSucceeded", "InstallFailed", "UpgradeSucceeded", "UpgradeFailed", "TestSucceeded", "TestFailed", "RollbackSucceeded", "RollbackFailed", "UninstallSucceeded", "UninstallFailed", "ArtifactFailed", "DependencyNotReady", "Progressing", "SourceNotReady"]>;
|
|
1595
1849
|
version_current: z.ZodString;
|
|
1596
1850
|
created_at: z.ZodString;
|
|
1597
1851
|
updated_at: z.ZodString;
|
|
@@ -1600,7 +1854,7 @@ export declare const zListChartsResponse: z.ZodArray<z.ZodObject<{
|
|
|
1600
1854
|
values: string;
|
|
1601
1855
|
name: string;
|
|
1602
1856
|
ready: boolean;
|
|
1603
|
-
status: "InstallSucceeded" | "InstallFailed" | "UpgradeSucceeded" | "UpgradeFailed" | "TestSucceeded" | "TestFailed" | "RollbackSucceeded" | "RollbackFailed" | "UninstallSucceeded" | "UninstallFailed" | "ArtifactFailed" | "DependencyNotReady" | "Progressing";
|
|
1857
|
+
status: "InstallSucceeded" | "InstallFailed" | "UpgradeSucceeded" | "UpgradeFailed" | "TestSucceeded" | "TestFailed" | "RollbackSucceeded" | "RollbackFailed" | "UninstallSucceeded" | "UninstallFailed" | "ArtifactFailed" | "DependencyNotReady" | "Progressing" | "SourceNotReady";
|
|
1604
1858
|
version_channel: string;
|
|
1605
1859
|
namespace: string;
|
|
1606
1860
|
chart: string;
|
|
@@ -1611,7 +1865,7 @@ export declare const zListChartsResponse: z.ZodArray<z.ZodObject<{
|
|
|
1611
1865
|
values: string;
|
|
1612
1866
|
name: string;
|
|
1613
1867
|
ready: boolean;
|
|
1614
|
-
status: "InstallSucceeded" | "InstallFailed" | "UpgradeSucceeded" | "UpgradeFailed" | "TestSucceeded" | "TestFailed" | "RollbackSucceeded" | "RollbackFailed" | "UninstallSucceeded" | "UninstallFailed" | "ArtifactFailed" | "DependencyNotReady" | "Progressing";
|
|
1868
|
+
status: "InstallSucceeded" | "InstallFailed" | "UpgradeSucceeded" | "UpgradeFailed" | "TestSucceeded" | "TestFailed" | "RollbackSucceeded" | "RollbackFailed" | "UninstallSucceeded" | "UninstallFailed" | "ArtifactFailed" | "DependencyNotReady" | "Progressing" | "SourceNotReady";
|
|
1615
1869
|
version_channel: string;
|
|
1616
1870
|
namespace: string;
|
|
1617
1871
|
chart: string;
|
|
@@ -1619,15 +1873,133 @@ export declare const zListChartsResponse: z.ZodArray<z.ZodObject<{
|
|
|
1619
1873
|
created_at: string;
|
|
1620
1874
|
updated_at: string;
|
|
1621
1875
|
}>, "many">;
|
|
1876
|
+
export declare const zCreateChartData: z.ZodObject<{
|
|
1877
|
+
body: z.ZodObject<{
|
|
1878
|
+
values: z.ZodString;
|
|
1879
|
+
version_channel: z.ZodString;
|
|
1880
|
+
name: z.ZodString;
|
|
1881
|
+
namespace: z.ZodString;
|
|
1882
|
+
chart: z.ZodString;
|
|
1883
|
+
}, "strip", z.ZodTypeAny, {
|
|
1884
|
+
values: string;
|
|
1885
|
+
name: string;
|
|
1886
|
+
version_channel: string;
|
|
1887
|
+
namespace: string;
|
|
1888
|
+
chart: string;
|
|
1889
|
+
}, {
|
|
1890
|
+
values: string;
|
|
1891
|
+
name: string;
|
|
1892
|
+
version_channel: string;
|
|
1893
|
+
namespace: string;
|
|
1894
|
+
chart: string;
|
|
1895
|
+
}>;
|
|
1896
|
+
path: z.ZodObject<{
|
|
1897
|
+
cluster_id: z.ZodString;
|
|
1898
|
+
}, "strip", z.ZodTypeAny, {
|
|
1899
|
+
cluster_id: string;
|
|
1900
|
+
}, {
|
|
1901
|
+
cluster_id: string;
|
|
1902
|
+
}>;
|
|
1903
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
1904
|
+
}, "strip", z.ZodTypeAny, {
|
|
1905
|
+
body: {
|
|
1906
|
+
values: string;
|
|
1907
|
+
name: string;
|
|
1908
|
+
version_channel: string;
|
|
1909
|
+
namespace: string;
|
|
1910
|
+
chart: string;
|
|
1911
|
+
};
|
|
1912
|
+
path: {
|
|
1913
|
+
cluster_id: string;
|
|
1914
|
+
};
|
|
1915
|
+
query?: undefined;
|
|
1916
|
+
}, {
|
|
1917
|
+
body: {
|
|
1918
|
+
values: string;
|
|
1919
|
+
name: string;
|
|
1920
|
+
version_channel: string;
|
|
1921
|
+
namespace: string;
|
|
1922
|
+
chart: string;
|
|
1923
|
+
};
|
|
1924
|
+
path: {
|
|
1925
|
+
cluster_id: string;
|
|
1926
|
+
};
|
|
1927
|
+
query?: undefined;
|
|
1928
|
+
}>;
|
|
1929
|
+
/**
|
|
1930
|
+
* Successfully created. Returns created Chart ID.
|
|
1931
|
+
*/
|
|
1622
1932
|
export declare const zCreateChartResponse: z.ZodString;
|
|
1933
|
+
export declare const zDeleteChartData: z.ZodObject<{
|
|
1934
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
1935
|
+
path: z.ZodObject<{
|
|
1936
|
+
cluster_id: z.ZodString;
|
|
1937
|
+
chart_name: z.ZodString;
|
|
1938
|
+
}, "strip", z.ZodTypeAny, {
|
|
1939
|
+
cluster_id: string;
|
|
1940
|
+
chart_name: string;
|
|
1941
|
+
}, {
|
|
1942
|
+
cluster_id: string;
|
|
1943
|
+
chart_name: string;
|
|
1944
|
+
}>;
|
|
1945
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
1946
|
+
}, "strip", z.ZodTypeAny, {
|
|
1947
|
+
path: {
|
|
1948
|
+
cluster_id: string;
|
|
1949
|
+
chart_name: string;
|
|
1950
|
+
};
|
|
1951
|
+
body?: undefined;
|
|
1952
|
+
query?: undefined;
|
|
1953
|
+
}, {
|
|
1954
|
+
path: {
|
|
1955
|
+
cluster_id: string;
|
|
1956
|
+
chart_name: string;
|
|
1957
|
+
};
|
|
1958
|
+
body?: undefined;
|
|
1959
|
+
query?: undefined;
|
|
1960
|
+
}>;
|
|
1961
|
+
/**
|
|
1962
|
+
* Successfully deleted.
|
|
1963
|
+
*/
|
|
1623
1964
|
export declare const zDeleteChartResponse: z.ZodString;
|
|
1965
|
+
export declare const zGetChartData: z.ZodObject<{
|
|
1966
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
1967
|
+
path: z.ZodObject<{
|
|
1968
|
+
cluster_id: z.ZodString;
|
|
1969
|
+
chart_name: z.ZodString;
|
|
1970
|
+
}, "strip", z.ZodTypeAny, {
|
|
1971
|
+
cluster_id: string;
|
|
1972
|
+
chart_name: string;
|
|
1973
|
+
}, {
|
|
1974
|
+
cluster_id: string;
|
|
1975
|
+
chart_name: string;
|
|
1976
|
+
}>;
|
|
1977
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
1978
|
+
}, "strip", z.ZodTypeAny, {
|
|
1979
|
+
path: {
|
|
1980
|
+
cluster_id: string;
|
|
1981
|
+
chart_name: string;
|
|
1982
|
+
};
|
|
1983
|
+
body?: undefined;
|
|
1984
|
+
query?: undefined;
|
|
1985
|
+
}, {
|
|
1986
|
+
path: {
|
|
1987
|
+
cluster_id: string;
|
|
1988
|
+
chart_name: string;
|
|
1989
|
+
};
|
|
1990
|
+
body?: undefined;
|
|
1991
|
+
query?: undefined;
|
|
1992
|
+
}>;
|
|
1993
|
+
/**
|
|
1994
|
+
* Returns a single object containing chart details.
|
|
1995
|
+
*/
|
|
1624
1996
|
export declare const zGetChartResponse: z.ZodObject<{
|
|
1625
1997
|
values: z.ZodString;
|
|
1626
1998
|
version_channel: z.ZodString;
|
|
1627
1999
|
name: z.ZodString;
|
|
1628
2000
|
namespace: z.ZodString;
|
|
1629
2001
|
chart: z.ZodString;
|
|
1630
|
-
status: z.ZodEnum<["InstallSucceeded", "InstallFailed", "UpgradeSucceeded", "UpgradeFailed", "TestSucceeded", "TestFailed", "RollbackSucceeded", "RollbackFailed", "UninstallSucceeded", "UninstallFailed", "ArtifactFailed", "DependencyNotReady", "Progressing"]>;
|
|
2002
|
+
status: z.ZodEnum<["InstallSucceeded", "InstallFailed", "UpgradeSucceeded", "UpgradeFailed", "TestSucceeded", "TestFailed", "RollbackSucceeded", "RollbackFailed", "UninstallSucceeded", "UninstallFailed", "ArtifactFailed", "DependencyNotReady", "Progressing", "SourceNotReady"]>;
|
|
1631
2003
|
version_current: z.ZodString;
|
|
1632
2004
|
created_at: z.ZodString;
|
|
1633
2005
|
updated_at: z.ZodString;
|
|
@@ -1636,7 +2008,7 @@ export declare const zGetChartResponse: z.ZodObject<{
|
|
|
1636
2008
|
values: string;
|
|
1637
2009
|
name: string;
|
|
1638
2010
|
ready: boolean;
|
|
1639
|
-
status: "InstallSucceeded" | "InstallFailed" | "UpgradeSucceeded" | "UpgradeFailed" | "TestSucceeded" | "TestFailed" | "RollbackSucceeded" | "RollbackFailed" | "UninstallSucceeded" | "UninstallFailed" | "ArtifactFailed" | "DependencyNotReady" | "Progressing";
|
|
2011
|
+
status: "InstallSucceeded" | "InstallFailed" | "UpgradeSucceeded" | "UpgradeFailed" | "TestSucceeded" | "TestFailed" | "RollbackSucceeded" | "RollbackFailed" | "UninstallSucceeded" | "UninstallFailed" | "ArtifactFailed" | "DependencyNotReady" | "Progressing" | "SourceNotReady";
|
|
1640
2012
|
version_channel: string;
|
|
1641
2013
|
namespace: string;
|
|
1642
2014
|
chart: string;
|
|
@@ -1647,7 +2019,7 @@ export declare const zGetChartResponse: z.ZodObject<{
|
|
|
1647
2019
|
values: string;
|
|
1648
2020
|
name: string;
|
|
1649
2021
|
ready: boolean;
|
|
1650
|
-
status: "InstallSucceeded" | "InstallFailed" | "UpgradeSucceeded" | "UpgradeFailed" | "TestSucceeded" | "TestFailed" | "RollbackSucceeded" | "RollbackFailed" | "UninstallSucceeded" | "UninstallFailed" | "ArtifactFailed" | "DependencyNotReady" | "Progressing";
|
|
2022
|
+
status: "InstallSucceeded" | "InstallFailed" | "UpgradeSucceeded" | "UpgradeFailed" | "TestSucceeded" | "TestFailed" | "RollbackSucceeded" | "RollbackFailed" | "UninstallSucceeded" | "UninstallFailed" | "ArtifactFailed" | "DependencyNotReady" | "Progressing" | "SourceNotReady";
|
|
1651
2023
|
version_channel: string;
|
|
1652
2024
|
namespace: string;
|
|
1653
2025
|
chart: string;
|
|
@@ -1655,7 +2027,79 @@ export declare const zGetChartResponse: z.ZodObject<{
|
|
|
1655
2027
|
created_at: string;
|
|
1656
2028
|
updated_at: string;
|
|
1657
2029
|
}>;
|
|
2030
|
+
export declare const zUpdateChartData: z.ZodObject<{
|
|
2031
|
+
body: z.ZodObject<{
|
|
2032
|
+
values: z.ZodString;
|
|
2033
|
+
version_channel: z.ZodString;
|
|
2034
|
+
}, "strip", z.ZodTypeAny, {
|
|
2035
|
+
values: string;
|
|
2036
|
+
version_channel: string;
|
|
2037
|
+
}, {
|
|
2038
|
+
values: string;
|
|
2039
|
+
version_channel: string;
|
|
2040
|
+
}>;
|
|
2041
|
+
path: z.ZodObject<{
|
|
2042
|
+
cluster_id: z.ZodString;
|
|
2043
|
+
chart_name: z.ZodString;
|
|
2044
|
+
}, "strip", z.ZodTypeAny, {
|
|
2045
|
+
cluster_id: string;
|
|
2046
|
+
chart_name: string;
|
|
2047
|
+
}, {
|
|
2048
|
+
cluster_id: string;
|
|
2049
|
+
chart_name: string;
|
|
2050
|
+
}>;
|
|
2051
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
2052
|
+
}, "strip", z.ZodTypeAny, {
|
|
2053
|
+
body: {
|
|
2054
|
+
values: string;
|
|
2055
|
+
version_channel: string;
|
|
2056
|
+
};
|
|
2057
|
+
path: {
|
|
2058
|
+
cluster_id: string;
|
|
2059
|
+
chart_name: string;
|
|
2060
|
+
};
|
|
2061
|
+
query?: undefined;
|
|
2062
|
+
}, {
|
|
2063
|
+
body: {
|
|
2064
|
+
values: string;
|
|
2065
|
+
version_channel: string;
|
|
2066
|
+
};
|
|
2067
|
+
path: {
|
|
2068
|
+
cluster_id: string;
|
|
2069
|
+
chart_name: string;
|
|
2070
|
+
};
|
|
2071
|
+
query?: undefined;
|
|
2072
|
+
}>;
|
|
2073
|
+
/**
|
|
2074
|
+
* Successfully updated.
|
|
2075
|
+
*/
|
|
1658
2076
|
export declare const zUpdateChartResponse: z.ZodString;
|
|
2077
|
+
export declare const zListFleetsData: z.ZodObject<{
|
|
2078
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
2079
|
+
path: z.ZodObject<{
|
|
2080
|
+
cluster_id: z.ZodString;
|
|
2081
|
+
}, "strip", z.ZodTypeAny, {
|
|
2082
|
+
cluster_id: string;
|
|
2083
|
+
}, {
|
|
2084
|
+
cluster_id: string;
|
|
2085
|
+
}>;
|
|
2086
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
2087
|
+
}, "strip", z.ZodTypeAny, {
|
|
2088
|
+
path: {
|
|
2089
|
+
cluster_id: string;
|
|
2090
|
+
};
|
|
2091
|
+
body?: undefined;
|
|
2092
|
+
query?: undefined;
|
|
2093
|
+
}, {
|
|
2094
|
+
path: {
|
|
2095
|
+
cluster_id: string;
|
|
2096
|
+
};
|
|
2097
|
+
body?: undefined;
|
|
2098
|
+
query?: undefined;
|
|
2099
|
+
}>;
|
|
2100
|
+
/**
|
|
2101
|
+
* An array of fleets
|
|
2102
|
+
*/
|
|
1659
2103
|
export declare const zListFleetsResponse: z.ZodArray<z.ZodObject<{
|
|
1660
2104
|
limits: z.ZodOptional<z.ZodObject<{
|
|
1661
2105
|
cpu: z.ZodNumber;
|
|
@@ -1674,25 +2118,16 @@ export declare const zListFleetsResponse: z.ZodArray<z.ZodObject<{
|
|
|
1674
2118
|
project: string;
|
|
1675
2119
|
enabled?: boolean | undefined;
|
|
1676
2120
|
}>>;
|
|
1677
|
-
hetzner: z.ZodOptional<z.
|
|
2121
|
+
hetzner: z.ZodOptional<z.ZodObject<{
|
|
1678
2122
|
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1679
|
-
apiKey: z.
|
|
2123
|
+
apiKey: z.ZodString;
|
|
1680
2124
|
}, "strip", z.ZodTypeAny, {
|
|
2125
|
+
apiKey: string;
|
|
1681
2126
|
enabled: boolean;
|
|
1682
|
-
apiKey?: string | undefined;
|
|
1683
2127
|
}, {
|
|
1684
|
-
apiKey
|
|
2128
|
+
apiKey: string;
|
|
1685
2129
|
enabled?: boolean | undefined;
|
|
1686
|
-
}
|
|
1687
|
-
apiKey: z.ZodOptional<z.ZodString>;
|
|
1688
|
-
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1689
|
-
}, "strip", z.ZodTypeAny, {
|
|
1690
|
-
enabled: boolean;
|
|
1691
|
-
apiKey?: string | undefined;
|
|
1692
|
-
}, {
|
|
1693
|
-
apiKey?: string | undefined;
|
|
1694
|
-
enabled?: boolean | undefined;
|
|
1695
|
-
}>]>>;
|
|
2130
|
+
}>>;
|
|
1696
2131
|
aws: z.ZodOptional<z.ZodObject<{
|
|
1697
2132
|
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1698
2133
|
controllerRoleArn: z.ZodString;
|
|
@@ -1704,9 +2139,7 @@ export declare const zListFleetsResponse: z.ZodArray<z.ZodObject<{
|
|
|
1704
2139
|
enabled?: boolean | undefined;
|
|
1705
2140
|
}>>;
|
|
1706
2141
|
id: z.ZodString;
|
|
1707
|
-
type: z.ZodEnum<["managed", "connected"]>;
|
|
1708
2142
|
}, "strip", z.ZodTypeAny, {
|
|
1709
|
-
type: "connected" | "managed";
|
|
1710
2143
|
id: string;
|
|
1711
2144
|
limits?: {
|
|
1712
2145
|
cpu: number;
|
|
@@ -1716,18 +2149,14 @@ export declare const zListFleetsResponse: z.ZodArray<z.ZodObject<{
|
|
|
1716
2149
|
enabled: boolean;
|
|
1717
2150
|
} | undefined;
|
|
1718
2151
|
hetzner?: {
|
|
2152
|
+
apiKey: string;
|
|
1719
2153
|
enabled: boolean;
|
|
1720
|
-
apiKey?: string | undefined;
|
|
1721
|
-
} | {
|
|
1722
|
-
enabled: boolean;
|
|
1723
|
-
apiKey?: string | undefined;
|
|
1724
2154
|
} | undefined;
|
|
1725
2155
|
aws?: {
|
|
1726
2156
|
controllerRoleArn: string;
|
|
1727
2157
|
enabled: boolean;
|
|
1728
2158
|
} | undefined;
|
|
1729
2159
|
}, {
|
|
1730
|
-
type: "connected" | "managed";
|
|
1731
2160
|
id: string;
|
|
1732
2161
|
limits?: {
|
|
1733
2162
|
cpu: number;
|
|
@@ -1737,10 +2166,7 @@ export declare const zListFleetsResponse: z.ZodArray<z.ZodObject<{
|
|
|
1737
2166
|
enabled?: boolean | undefined;
|
|
1738
2167
|
} | undefined;
|
|
1739
2168
|
hetzner?: {
|
|
1740
|
-
apiKey
|
|
1741
|
-
enabled?: boolean | undefined;
|
|
1742
|
-
} | {
|
|
1743
|
-
apiKey?: string | undefined;
|
|
2169
|
+
apiKey: string;
|
|
1744
2170
|
enabled?: boolean | undefined;
|
|
1745
2171
|
} | undefined;
|
|
1746
2172
|
aws?: {
|
|
@@ -1748,8 +2174,203 @@ export declare const zListFleetsResponse: z.ZodArray<z.ZodObject<{
|
|
|
1748
2174
|
enabled?: boolean | undefined;
|
|
1749
2175
|
} | undefined;
|
|
1750
2176
|
}>, "many">;
|
|
2177
|
+
export declare const zCreateFleetData: z.ZodObject<{
|
|
2178
|
+
body: z.ZodObject<{
|
|
2179
|
+
limits: z.ZodOptional<z.ZodObject<{
|
|
2180
|
+
cpu: z.ZodNumber;
|
|
2181
|
+
}, "strip", z.ZodTypeAny, {
|
|
2182
|
+
cpu: number;
|
|
2183
|
+
}, {
|
|
2184
|
+
cpu: number;
|
|
2185
|
+
}>>;
|
|
2186
|
+
gcp: z.ZodOptional<z.ZodObject<{
|
|
2187
|
+
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2188
|
+
project: z.ZodString;
|
|
2189
|
+
}, "strip", z.ZodTypeAny, {
|
|
2190
|
+
project: string;
|
|
2191
|
+
enabled: boolean;
|
|
2192
|
+
}, {
|
|
2193
|
+
project: string;
|
|
2194
|
+
enabled?: boolean | undefined;
|
|
2195
|
+
}>>;
|
|
2196
|
+
hetzner: z.ZodOptional<z.ZodObject<{
|
|
2197
|
+
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2198
|
+
apiKey: z.ZodString;
|
|
2199
|
+
}, "strip", z.ZodTypeAny, {
|
|
2200
|
+
apiKey: string;
|
|
2201
|
+
enabled: boolean;
|
|
2202
|
+
}, {
|
|
2203
|
+
apiKey: string;
|
|
2204
|
+
enabled?: boolean | undefined;
|
|
2205
|
+
}>>;
|
|
2206
|
+
aws: z.ZodOptional<z.ZodObject<{
|
|
2207
|
+
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2208
|
+
controllerRoleArn: z.ZodString;
|
|
2209
|
+
}, "strip", z.ZodTypeAny, {
|
|
2210
|
+
controllerRoleArn: string;
|
|
2211
|
+
enabled: boolean;
|
|
2212
|
+
}, {
|
|
2213
|
+
controllerRoleArn: string;
|
|
2214
|
+
enabled?: boolean | undefined;
|
|
2215
|
+
}>>;
|
|
2216
|
+
id: z.ZodString;
|
|
2217
|
+
}, "strip", z.ZodTypeAny, {
|
|
2218
|
+
id: string;
|
|
2219
|
+
limits?: {
|
|
2220
|
+
cpu: number;
|
|
2221
|
+
} | undefined;
|
|
2222
|
+
gcp?: {
|
|
2223
|
+
project: string;
|
|
2224
|
+
enabled: boolean;
|
|
2225
|
+
} | undefined;
|
|
2226
|
+
hetzner?: {
|
|
2227
|
+
apiKey: string;
|
|
2228
|
+
enabled: boolean;
|
|
2229
|
+
} | undefined;
|
|
2230
|
+
aws?: {
|
|
2231
|
+
controllerRoleArn: string;
|
|
2232
|
+
enabled: boolean;
|
|
2233
|
+
} | undefined;
|
|
2234
|
+
}, {
|
|
2235
|
+
id: string;
|
|
2236
|
+
limits?: {
|
|
2237
|
+
cpu: number;
|
|
2238
|
+
} | undefined;
|
|
2239
|
+
gcp?: {
|
|
2240
|
+
project: string;
|
|
2241
|
+
enabled?: boolean | undefined;
|
|
2242
|
+
} | undefined;
|
|
2243
|
+
hetzner?: {
|
|
2244
|
+
apiKey: string;
|
|
2245
|
+
enabled?: boolean | undefined;
|
|
2246
|
+
} | undefined;
|
|
2247
|
+
aws?: {
|
|
2248
|
+
controllerRoleArn: string;
|
|
2249
|
+
enabled?: boolean | undefined;
|
|
2250
|
+
} | undefined;
|
|
2251
|
+
}>;
|
|
2252
|
+
path: z.ZodObject<{
|
|
2253
|
+
cluster_id: z.ZodString;
|
|
2254
|
+
}, "strip", z.ZodTypeAny, {
|
|
2255
|
+
cluster_id: string;
|
|
2256
|
+
}, {
|
|
2257
|
+
cluster_id: string;
|
|
2258
|
+
}>;
|
|
2259
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
2260
|
+
}, "strip", z.ZodTypeAny, {
|
|
2261
|
+
body: {
|
|
2262
|
+
id: string;
|
|
2263
|
+
limits?: {
|
|
2264
|
+
cpu: number;
|
|
2265
|
+
} | undefined;
|
|
2266
|
+
gcp?: {
|
|
2267
|
+
project: string;
|
|
2268
|
+
enabled: boolean;
|
|
2269
|
+
} | undefined;
|
|
2270
|
+
hetzner?: {
|
|
2271
|
+
apiKey: string;
|
|
2272
|
+
enabled: boolean;
|
|
2273
|
+
} | undefined;
|
|
2274
|
+
aws?: {
|
|
2275
|
+
controllerRoleArn: string;
|
|
2276
|
+
enabled: boolean;
|
|
2277
|
+
} | undefined;
|
|
2278
|
+
};
|
|
2279
|
+
path: {
|
|
2280
|
+
cluster_id: string;
|
|
2281
|
+
};
|
|
2282
|
+
query?: undefined;
|
|
2283
|
+
}, {
|
|
2284
|
+
body: {
|
|
2285
|
+
id: string;
|
|
2286
|
+
limits?: {
|
|
2287
|
+
cpu: number;
|
|
2288
|
+
} | undefined;
|
|
2289
|
+
gcp?: {
|
|
2290
|
+
project: string;
|
|
2291
|
+
enabled?: boolean | undefined;
|
|
2292
|
+
} | undefined;
|
|
2293
|
+
hetzner?: {
|
|
2294
|
+
apiKey: string;
|
|
2295
|
+
enabled?: boolean | undefined;
|
|
2296
|
+
} | undefined;
|
|
2297
|
+
aws?: {
|
|
2298
|
+
controllerRoleArn: string;
|
|
2299
|
+
enabled?: boolean | undefined;
|
|
2300
|
+
} | undefined;
|
|
2301
|
+
};
|
|
2302
|
+
path: {
|
|
2303
|
+
cluster_id: string;
|
|
2304
|
+
};
|
|
2305
|
+
query?: undefined;
|
|
2306
|
+
}>;
|
|
2307
|
+
/**
|
|
2308
|
+
* Successfully created. Returns created Fleet ID.
|
|
2309
|
+
*/
|
|
1751
2310
|
export declare const zCreateFleetResponse: z.ZodString;
|
|
2311
|
+
export declare const zDeleteFleetData: z.ZodObject<{
|
|
2312
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
2313
|
+
path: z.ZodObject<{
|
|
2314
|
+
cluster_id: z.ZodString;
|
|
2315
|
+
fleet_name: z.ZodString;
|
|
2316
|
+
}, "strip", z.ZodTypeAny, {
|
|
2317
|
+
cluster_id: string;
|
|
2318
|
+
fleet_name: string;
|
|
2319
|
+
}, {
|
|
2320
|
+
cluster_id: string;
|
|
2321
|
+
fleet_name: string;
|
|
2322
|
+
}>;
|
|
2323
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
2324
|
+
}, "strip", z.ZodTypeAny, {
|
|
2325
|
+
path: {
|
|
2326
|
+
cluster_id: string;
|
|
2327
|
+
fleet_name: string;
|
|
2328
|
+
};
|
|
2329
|
+
body?: undefined;
|
|
2330
|
+
query?: undefined;
|
|
2331
|
+
}, {
|
|
2332
|
+
path: {
|
|
2333
|
+
cluster_id: string;
|
|
2334
|
+
fleet_name: string;
|
|
2335
|
+
};
|
|
2336
|
+
body?: undefined;
|
|
2337
|
+
query?: undefined;
|
|
2338
|
+
}>;
|
|
2339
|
+
/**
|
|
2340
|
+
* Successfully deleted.
|
|
2341
|
+
*/
|
|
1752
2342
|
export declare const zDeleteFleetResponse: z.ZodString;
|
|
2343
|
+
export declare const zGetFleetData: z.ZodObject<{
|
|
2344
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
2345
|
+
path: z.ZodObject<{
|
|
2346
|
+
cluster_id: z.ZodString;
|
|
2347
|
+
fleet_name: z.ZodString;
|
|
2348
|
+
}, "strip", z.ZodTypeAny, {
|
|
2349
|
+
cluster_id: string;
|
|
2350
|
+
fleet_name: string;
|
|
2351
|
+
}, {
|
|
2352
|
+
cluster_id: string;
|
|
2353
|
+
fleet_name: string;
|
|
2354
|
+
}>;
|
|
2355
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
2356
|
+
}, "strip", z.ZodTypeAny, {
|
|
2357
|
+
path: {
|
|
2358
|
+
cluster_id: string;
|
|
2359
|
+
fleet_name: string;
|
|
2360
|
+
};
|
|
2361
|
+
body?: undefined;
|
|
2362
|
+
query?: undefined;
|
|
2363
|
+
}, {
|
|
2364
|
+
path: {
|
|
2365
|
+
cluster_id: string;
|
|
2366
|
+
fleet_name: string;
|
|
2367
|
+
};
|
|
2368
|
+
body?: undefined;
|
|
2369
|
+
query?: undefined;
|
|
2370
|
+
}>;
|
|
2371
|
+
/**
|
|
2372
|
+
* Returns a single object containing fleet details.
|
|
2373
|
+
*/
|
|
1753
2374
|
export declare const zGetFleetResponse: z.ZodObject<{
|
|
1754
2375
|
limits: z.ZodOptional<z.ZodObject<{
|
|
1755
2376
|
cpu: z.ZodNumber;
|
|
@@ -1768,25 +2389,16 @@ export declare const zGetFleetResponse: z.ZodObject<{
|
|
|
1768
2389
|
project: string;
|
|
1769
2390
|
enabled?: boolean | undefined;
|
|
1770
2391
|
}>>;
|
|
1771
|
-
hetzner: z.ZodOptional<z.
|
|
2392
|
+
hetzner: z.ZodOptional<z.ZodObject<{
|
|
1772
2393
|
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1773
|
-
apiKey: z.
|
|
2394
|
+
apiKey: z.ZodString;
|
|
1774
2395
|
}, "strip", z.ZodTypeAny, {
|
|
2396
|
+
apiKey: string;
|
|
1775
2397
|
enabled: boolean;
|
|
1776
|
-
apiKey?: string | undefined;
|
|
1777
2398
|
}, {
|
|
1778
|
-
apiKey
|
|
2399
|
+
apiKey: string;
|
|
1779
2400
|
enabled?: boolean | undefined;
|
|
1780
|
-
}
|
|
1781
|
-
apiKey: z.ZodOptional<z.ZodString>;
|
|
1782
|
-
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1783
|
-
}, "strip", z.ZodTypeAny, {
|
|
1784
|
-
enabled: boolean;
|
|
1785
|
-
apiKey?: string | undefined;
|
|
1786
|
-
}, {
|
|
1787
|
-
apiKey?: string | undefined;
|
|
1788
|
-
enabled?: boolean | undefined;
|
|
1789
|
-
}>]>>;
|
|
2401
|
+
}>>;
|
|
1790
2402
|
aws: z.ZodOptional<z.ZodObject<{
|
|
1791
2403
|
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1792
2404
|
controllerRoleArn: z.ZodString;
|
|
@@ -1798,9 +2410,7 @@ export declare const zGetFleetResponse: z.ZodObject<{
|
|
|
1798
2410
|
enabled?: boolean | undefined;
|
|
1799
2411
|
}>>;
|
|
1800
2412
|
id: z.ZodString;
|
|
1801
|
-
type: z.ZodEnum<["managed", "connected"]>;
|
|
1802
2413
|
}, "strip", z.ZodTypeAny, {
|
|
1803
|
-
type: "connected" | "managed";
|
|
1804
2414
|
id: string;
|
|
1805
2415
|
limits?: {
|
|
1806
2416
|
cpu: number;
|
|
@@ -1810,18 +2420,14 @@ export declare const zGetFleetResponse: z.ZodObject<{
|
|
|
1810
2420
|
enabled: boolean;
|
|
1811
2421
|
} | undefined;
|
|
1812
2422
|
hetzner?: {
|
|
2423
|
+
apiKey: string;
|
|
1813
2424
|
enabled: boolean;
|
|
1814
|
-
apiKey?: string | undefined;
|
|
1815
|
-
} | {
|
|
1816
|
-
enabled: boolean;
|
|
1817
|
-
apiKey?: string | undefined;
|
|
1818
2425
|
} | undefined;
|
|
1819
2426
|
aws?: {
|
|
1820
2427
|
controllerRoleArn: string;
|
|
1821
2428
|
enabled: boolean;
|
|
1822
2429
|
} | undefined;
|
|
1823
2430
|
}, {
|
|
1824
|
-
type: "connected" | "managed";
|
|
1825
2431
|
id: string;
|
|
1826
2432
|
limits?: {
|
|
1827
2433
|
cpu: number;
|
|
@@ -1831,10 +2437,7 @@ export declare const zGetFleetResponse: z.ZodObject<{
|
|
|
1831
2437
|
enabled?: boolean | undefined;
|
|
1832
2438
|
} | undefined;
|
|
1833
2439
|
hetzner?: {
|
|
1834
|
-
apiKey
|
|
1835
|
-
enabled?: boolean | undefined;
|
|
1836
|
-
} | {
|
|
1837
|
-
apiKey?: string | undefined;
|
|
2440
|
+
apiKey: string;
|
|
1838
2441
|
enabled?: boolean | undefined;
|
|
1839
2442
|
} | undefined;
|
|
1840
2443
|
aws?: {
|
|
@@ -1842,11 +2445,183 @@ export declare const zGetFleetResponse: z.ZodObject<{
|
|
|
1842
2445
|
enabled?: boolean | undefined;
|
|
1843
2446
|
} | undefined;
|
|
1844
2447
|
}>;
|
|
2448
|
+
export declare const zUpdateFleetData: z.ZodObject<{
|
|
2449
|
+
body: z.ZodObject<{
|
|
2450
|
+
limits: z.ZodOptional<z.ZodObject<{
|
|
2451
|
+
cpu: z.ZodNumber;
|
|
2452
|
+
}, "strip", z.ZodTypeAny, {
|
|
2453
|
+
cpu: number;
|
|
2454
|
+
}, {
|
|
2455
|
+
cpu: number;
|
|
2456
|
+
}>>;
|
|
2457
|
+
gcp: z.ZodOptional<z.ZodObject<{
|
|
2458
|
+
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2459
|
+
project: z.ZodString;
|
|
2460
|
+
}, "strip", z.ZodTypeAny, {
|
|
2461
|
+
project: string;
|
|
2462
|
+
enabled: boolean;
|
|
2463
|
+
}, {
|
|
2464
|
+
project: string;
|
|
2465
|
+
enabled?: boolean | undefined;
|
|
2466
|
+
}>>;
|
|
2467
|
+
hetzner: z.ZodOptional<z.ZodObject<{
|
|
2468
|
+
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2469
|
+
apiKey: z.ZodString;
|
|
2470
|
+
}, "strip", z.ZodTypeAny, {
|
|
2471
|
+
apiKey: string;
|
|
2472
|
+
enabled: boolean;
|
|
2473
|
+
}, {
|
|
2474
|
+
apiKey: string;
|
|
2475
|
+
enabled?: boolean | undefined;
|
|
2476
|
+
}>>;
|
|
2477
|
+
aws: z.ZodOptional<z.ZodObject<{
|
|
2478
|
+
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2479
|
+
controllerRoleArn: z.ZodString;
|
|
2480
|
+
}, "strip", z.ZodTypeAny, {
|
|
2481
|
+
controllerRoleArn: string;
|
|
2482
|
+
enabled: boolean;
|
|
2483
|
+
}, {
|
|
2484
|
+
controllerRoleArn: string;
|
|
2485
|
+
enabled?: boolean | undefined;
|
|
2486
|
+
}>>;
|
|
2487
|
+
}, "strip", z.ZodTypeAny, {
|
|
2488
|
+
limits?: {
|
|
2489
|
+
cpu: number;
|
|
2490
|
+
} | undefined;
|
|
2491
|
+
gcp?: {
|
|
2492
|
+
project: string;
|
|
2493
|
+
enabled: boolean;
|
|
2494
|
+
} | undefined;
|
|
2495
|
+
hetzner?: {
|
|
2496
|
+
apiKey: string;
|
|
2497
|
+
enabled: boolean;
|
|
2498
|
+
} | undefined;
|
|
2499
|
+
aws?: {
|
|
2500
|
+
controllerRoleArn: string;
|
|
2501
|
+
enabled: boolean;
|
|
2502
|
+
} | undefined;
|
|
2503
|
+
}, {
|
|
2504
|
+
limits?: {
|
|
2505
|
+
cpu: number;
|
|
2506
|
+
} | undefined;
|
|
2507
|
+
gcp?: {
|
|
2508
|
+
project: string;
|
|
2509
|
+
enabled?: boolean | undefined;
|
|
2510
|
+
} | undefined;
|
|
2511
|
+
hetzner?: {
|
|
2512
|
+
apiKey: string;
|
|
2513
|
+
enabled?: boolean | undefined;
|
|
2514
|
+
} | undefined;
|
|
2515
|
+
aws?: {
|
|
2516
|
+
controllerRoleArn: string;
|
|
2517
|
+
enabled?: boolean | undefined;
|
|
2518
|
+
} | undefined;
|
|
2519
|
+
}>;
|
|
2520
|
+
path: z.ZodObject<{
|
|
2521
|
+
cluster_id: z.ZodString;
|
|
2522
|
+
fleet_name: z.ZodString;
|
|
2523
|
+
}, "strip", z.ZodTypeAny, {
|
|
2524
|
+
cluster_id: string;
|
|
2525
|
+
fleet_name: string;
|
|
2526
|
+
}, {
|
|
2527
|
+
cluster_id: string;
|
|
2528
|
+
fleet_name: string;
|
|
2529
|
+
}>;
|
|
2530
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
2531
|
+
}, "strip", z.ZodTypeAny, {
|
|
2532
|
+
body: {
|
|
2533
|
+
limits?: {
|
|
2534
|
+
cpu: number;
|
|
2535
|
+
} | undefined;
|
|
2536
|
+
gcp?: {
|
|
2537
|
+
project: string;
|
|
2538
|
+
enabled: boolean;
|
|
2539
|
+
} | undefined;
|
|
2540
|
+
hetzner?: {
|
|
2541
|
+
apiKey: string;
|
|
2542
|
+
enabled: boolean;
|
|
2543
|
+
} | undefined;
|
|
2544
|
+
aws?: {
|
|
2545
|
+
controllerRoleArn: string;
|
|
2546
|
+
enabled: boolean;
|
|
2547
|
+
} | undefined;
|
|
2548
|
+
};
|
|
2549
|
+
path: {
|
|
2550
|
+
cluster_id: string;
|
|
2551
|
+
fleet_name: string;
|
|
2552
|
+
};
|
|
2553
|
+
query?: undefined;
|
|
2554
|
+
}, {
|
|
2555
|
+
body: {
|
|
2556
|
+
limits?: {
|
|
2557
|
+
cpu: number;
|
|
2558
|
+
} | undefined;
|
|
2559
|
+
gcp?: {
|
|
2560
|
+
project: string;
|
|
2561
|
+
enabled?: boolean | undefined;
|
|
2562
|
+
} | undefined;
|
|
2563
|
+
hetzner?: {
|
|
2564
|
+
apiKey: string;
|
|
2565
|
+
enabled?: boolean | undefined;
|
|
2566
|
+
} | undefined;
|
|
2567
|
+
aws?: {
|
|
2568
|
+
controllerRoleArn: string;
|
|
2569
|
+
enabled?: boolean | undefined;
|
|
2570
|
+
} | undefined;
|
|
2571
|
+
};
|
|
2572
|
+
path: {
|
|
2573
|
+
cluster_id: string;
|
|
2574
|
+
fleet_name: string;
|
|
2575
|
+
};
|
|
2576
|
+
query?: undefined;
|
|
2577
|
+
}>;
|
|
2578
|
+
/**
|
|
2579
|
+
* Successfully updated.
|
|
2580
|
+
*/
|
|
1845
2581
|
export declare const zUpdateFleetResponse: z.ZodString;
|
|
2582
|
+
export declare const zQueryClusterData: z.ZodObject<{
|
|
2583
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
2584
|
+
path: z.ZodObject<{
|
|
2585
|
+
cluster_id: z.ZodString;
|
|
2586
|
+
}, "strip", z.ZodTypeAny, {
|
|
2587
|
+
cluster_id: string;
|
|
2588
|
+
}, {
|
|
2589
|
+
cluster_id: string;
|
|
2590
|
+
}>;
|
|
2591
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
2592
|
+
}, "strip", z.ZodTypeAny, {
|
|
2593
|
+
path: {
|
|
2594
|
+
cluster_id: string;
|
|
2595
|
+
};
|
|
2596
|
+
body?: undefined;
|
|
2597
|
+
query?: undefined;
|
|
2598
|
+
}, {
|
|
2599
|
+
path: {
|
|
2600
|
+
cluster_id: string;
|
|
2601
|
+
};
|
|
2602
|
+
body?: undefined;
|
|
2603
|
+
query?: undefined;
|
|
2604
|
+
}>;
|
|
2605
|
+
export declare const zListClustersData: z.ZodObject<{
|
|
2606
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
2607
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
2608
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
2609
|
+
}, "strip", z.ZodTypeAny, {
|
|
2610
|
+
body?: undefined;
|
|
2611
|
+
path?: undefined;
|
|
2612
|
+
query?: undefined;
|
|
2613
|
+
}, {
|
|
2614
|
+
body?: undefined;
|
|
2615
|
+
path?: undefined;
|
|
2616
|
+
query?: undefined;
|
|
2617
|
+
}>;
|
|
2618
|
+
/**
|
|
2619
|
+
* An array of clusters
|
|
2620
|
+
*/
|
|
1846
2621
|
export declare const zListClustersResponse: z.ZodArray<z.ZodObject<{
|
|
1847
2622
|
name: z.ZodString;
|
|
1848
|
-
region: z.ZodOptional<z.ZodEnum<["staging", "northamerica-central-1"]>>;
|
|
1849
2623
|
tier: z.ZodEnum<["basic", "pro"]>;
|
|
2624
|
+
region: z.ZodOptional<z.ZodEnum<["staging", "northamerica-central-1", "europe-central-1a"]>>;
|
|
1850
2625
|
version_channel: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
1851
2626
|
id: z.ZodString;
|
|
1852
2627
|
status: z.ZodEnum<["active", "deleted", "creating", "deployed", "failed", "updating"]>;
|
|
@@ -1863,7 +2638,7 @@ export declare const zListClustersResponse: z.ZodArray<z.ZodObject<{
|
|
|
1863
2638
|
version_channel: string;
|
|
1864
2639
|
tier: "basic" | "pro";
|
|
1865
2640
|
ready?: boolean | undefined;
|
|
1866
|
-
region?: "staging" | "northamerica-central-1" | undefined;
|
|
2641
|
+
region?: "staging" | "northamerica-central-1" | "europe-central-1a" | undefined;
|
|
1867
2642
|
version_current?: string | undefined;
|
|
1868
2643
|
created_at?: string | undefined;
|
|
1869
2644
|
updated_at?: string | undefined;
|
|
@@ -1875,7 +2650,7 @@ export declare const zListClustersResponse: z.ZodArray<z.ZodObject<{
|
|
|
1875
2650
|
status: "failed" | "active" | "deleted" | "creating" | "deployed" | "updating";
|
|
1876
2651
|
tier: "basic" | "pro";
|
|
1877
2652
|
ready?: boolean | undefined;
|
|
1878
|
-
region?: "staging" | "northamerica-central-1" | undefined;
|
|
2653
|
+
region?: "staging" | "northamerica-central-1" | "europe-central-1a" | undefined;
|
|
1879
2654
|
version_channel?: string | undefined;
|
|
1880
2655
|
version_current?: string | undefined;
|
|
1881
2656
|
created_at?: string | undefined;
|
|
@@ -1883,12 +2658,105 @@ export declare const zListClustersResponse: z.ZodArray<z.ZodObject<{
|
|
|
1883
2658
|
endpoint?: string | undefined;
|
|
1884
2659
|
certificate_ca?: string | undefined;
|
|
1885
2660
|
}>, "many">;
|
|
2661
|
+
export declare const zCreateClusterData: z.ZodObject<{
|
|
2662
|
+
body: z.ZodObject<{
|
|
2663
|
+
name: z.ZodString;
|
|
2664
|
+
tier: z.ZodEnum<["basic", "pro"]>;
|
|
2665
|
+
region: z.ZodOptional<z.ZodEnum<["staging", "northamerica-central-1", "europe-central-1a"]>>;
|
|
2666
|
+
version_channel: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
2667
|
+
}, "strip", z.ZodTypeAny, {
|
|
2668
|
+
name: string;
|
|
2669
|
+
version_channel: string;
|
|
2670
|
+
tier: "basic" | "pro";
|
|
2671
|
+
region?: "staging" | "northamerica-central-1" | "europe-central-1a" | undefined;
|
|
2672
|
+
}, {
|
|
2673
|
+
name: string;
|
|
2674
|
+
tier: "basic" | "pro";
|
|
2675
|
+
region?: "staging" | "northamerica-central-1" | "europe-central-1a" | undefined;
|
|
2676
|
+
version_channel?: string | undefined;
|
|
2677
|
+
}>;
|
|
2678
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
2679
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
2680
|
+
}, "strip", z.ZodTypeAny, {
|
|
2681
|
+
body: {
|
|
2682
|
+
name: string;
|
|
2683
|
+
version_channel: string;
|
|
2684
|
+
tier: "basic" | "pro";
|
|
2685
|
+
region?: "staging" | "northamerica-central-1" | "europe-central-1a" | undefined;
|
|
2686
|
+
};
|
|
2687
|
+
path?: undefined;
|
|
2688
|
+
query?: undefined;
|
|
2689
|
+
}, {
|
|
2690
|
+
body: {
|
|
2691
|
+
name: string;
|
|
2692
|
+
tier: "basic" | "pro";
|
|
2693
|
+
region?: "staging" | "northamerica-central-1" | "europe-central-1a" | undefined;
|
|
2694
|
+
version_channel?: string | undefined;
|
|
2695
|
+
};
|
|
2696
|
+
path?: undefined;
|
|
2697
|
+
query?: undefined;
|
|
2698
|
+
}>;
|
|
2699
|
+
/**
|
|
2700
|
+
* Successfully created. Returns created Cluster ID.
|
|
2701
|
+
*/
|
|
1886
2702
|
export declare const zCreateClusterResponse: z.ZodString;
|
|
2703
|
+
export declare const zDeleteClusterData: z.ZodObject<{
|
|
2704
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
2705
|
+
path: z.ZodObject<{
|
|
2706
|
+
cluster_id: z.ZodString;
|
|
2707
|
+
}, "strip", z.ZodTypeAny, {
|
|
2708
|
+
cluster_id: string;
|
|
2709
|
+
}, {
|
|
2710
|
+
cluster_id: string;
|
|
2711
|
+
}>;
|
|
2712
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
2713
|
+
}, "strip", z.ZodTypeAny, {
|
|
2714
|
+
path: {
|
|
2715
|
+
cluster_id: string;
|
|
2716
|
+
};
|
|
2717
|
+
body?: undefined;
|
|
2718
|
+
query?: undefined;
|
|
2719
|
+
}, {
|
|
2720
|
+
path: {
|
|
2721
|
+
cluster_id: string;
|
|
2722
|
+
};
|
|
2723
|
+
body?: undefined;
|
|
2724
|
+
query?: undefined;
|
|
2725
|
+
}>;
|
|
2726
|
+
/**
|
|
2727
|
+
* Successfully deleted.
|
|
2728
|
+
*/
|
|
1887
2729
|
export declare const zDeleteClusterResponse: z.ZodString;
|
|
2730
|
+
export declare const zGetClusterData: z.ZodObject<{
|
|
2731
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
2732
|
+
path: z.ZodObject<{
|
|
2733
|
+
cluster_id: z.ZodString;
|
|
2734
|
+
}, "strip", z.ZodTypeAny, {
|
|
2735
|
+
cluster_id: string;
|
|
2736
|
+
}, {
|
|
2737
|
+
cluster_id: string;
|
|
2738
|
+
}>;
|
|
2739
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
2740
|
+
}, "strip", z.ZodTypeAny, {
|
|
2741
|
+
path: {
|
|
2742
|
+
cluster_id: string;
|
|
2743
|
+
};
|
|
2744
|
+
body?: undefined;
|
|
2745
|
+
query?: undefined;
|
|
2746
|
+
}, {
|
|
2747
|
+
path: {
|
|
2748
|
+
cluster_id: string;
|
|
2749
|
+
};
|
|
2750
|
+
body?: undefined;
|
|
2751
|
+
query?: undefined;
|
|
2752
|
+
}>;
|
|
2753
|
+
/**
|
|
2754
|
+
* Returns a single object containing cluster details.
|
|
2755
|
+
*/
|
|
1888
2756
|
export declare const zGetClusterResponse: z.ZodObject<{
|
|
1889
2757
|
name: z.ZodString;
|
|
1890
|
-
region: z.ZodOptional<z.ZodEnum<["staging", "northamerica-central-1"]>>;
|
|
1891
2758
|
tier: z.ZodEnum<["basic", "pro"]>;
|
|
2759
|
+
region: z.ZodOptional<z.ZodEnum<["staging", "northamerica-central-1", "europe-central-1a"]>>;
|
|
1892
2760
|
version_channel: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
1893
2761
|
id: z.ZodString;
|
|
1894
2762
|
status: z.ZodEnum<["active", "deleted", "creating", "deployed", "failed", "updating"]>;
|
|
@@ -1905,7 +2773,7 @@ export declare const zGetClusterResponse: z.ZodObject<{
|
|
|
1905
2773
|
version_channel: string;
|
|
1906
2774
|
tier: "basic" | "pro";
|
|
1907
2775
|
ready?: boolean | undefined;
|
|
1908
|
-
region?: "staging" | "northamerica-central-1" | undefined;
|
|
2776
|
+
region?: "staging" | "northamerica-central-1" | "europe-central-1a" | undefined;
|
|
1909
2777
|
version_current?: string | undefined;
|
|
1910
2778
|
created_at?: string | undefined;
|
|
1911
2779
|
updated_at?: string | undefined;
|
|
@@ -1917,7 +2785,7 @@ export declare const zGetClusterResponse: z.ZodObject<{
|
|
|
1917
2785
|
status: "failed" | "active" | "deleted" | "creating" | "deployed" | "updating";
|
|
1918
2786
|
tier: "basic" | "pro";
|
|
1919
2787
|
ready?: boolean | undefined;
|
|
1920
|
-
region?: "staging" | "northamerica-central-1" | undefined;
|
|
2788
|
+
region?: "staging" | "northamerica-central-1" | "europe-central-1a" | undefined;
|
|
1921
2789
|
version_channel?: string | undefined;
|
|
1922
2790
|
version_current?: string | undefined;
|
|
1923
2791
|
created_at?: string | undefined;
|
|
@@ -1925,10 +2793,56 @@ export declare const zGetClusterResponse: z.ZodObject<{
|
|
|
1925
2793
|
endpoint?: string | undefined;
|
|
1926
2794
|
certificate_ca?: string | undefined;
|
|
1927
2795
|
}>;
|
|
2796
|
+
export declare const zUpdateClusterData: z.ZodObject<{
|
|
2797
|
+
body: z.ZodObject<{
|
|
2798
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2799
|
+
tier: z.ZodEnum<["basic", "pro"]>;
|
|
2800
|
+
version_channel: z.ZodOptional<z.ZodString>;
|
|
2801
|
+
}, "strip", z.ZodTypeAny, {
|
|
2802
|
+
tier: "basic" | "pro";
|
|
2803
|
+
name?: string | undefined;
|
|
2804
|
+
version_channel?: string | undefined;
|
|
2805
|
+
}, {
|
|
2806
|
+
tier: "basic" | "pro";
|
|
2807
|
+
name?: string | undefined;
|
|
2808
|
+
version_channel?: string | undefined;
|
|
2809
|
+
}>;
|
|
2810
|
+
path: z.ZodObject<{
|
|
2811
|
+
cluster_id: z.ZodString;
|
|
2812
|
+
}, "strip", z.ZodTypeAny, {
|
|
2813
|
+
cluster_id: string;
|
|
2814
|
+
}, {
|
|
2815
|
+
cluster_id: string;
|
|
2816
|
+
}>;
|
|
2817
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
2818
|
+
}, "strip", z.ZodTypeAny, {
|
|
2819
|
+
body: {
|
|
2820
|
+
tier: "basic" | "pro";
|
|
2821
|
+
name?: string | undefined;
|
|
2822
|
+
version_channel?: string | undefined;
|
|
2823
|
+
};
|
|
2824
|
+
path: {
|
|
2825
|
+
cluster_id: string;
|
|
2826
|
+
};
|
|
2827
|
+
query?: undefined;
|
|
2828
|
+
}, {
|
|
2829
|
+
body: {
|
|
2830
|
+
tier: "basic" | "pro";
|
|
2831
|
+
name?: string | undefined;
|
|
2832
|
+
version_channel?: string | undefined;
|
|
2833
|
+
};
|
|
2834
|
+
path: {
|
|
2835
|
+
cluster_id: string;
|
|
2836
|
+
};
|
|
2837
|
+
query?: undefined;
|
|
2838
|
+
}>;
|
|
2839
|
+
/**
|
|
2840
|
+
* Successfully updated. Returns updated cluster details.
|
|
2841
|
+
*/
|
|
1928
2842
|
export declare const zUpdateClusterResponse: z.ZodObject<{
|
|
1929
2843
|
name: z.ZodString;
|
|
1930
|
-
region: z.ZodOptional<z.ZodEnum<["staging", "northamerica-central-1"]>>;
|
|
1931
2844
|
tier: z.ZodEnum<["basic", "pro"]>;
|
|
2845
|
+
region: z.ZodOptional<z.ZodEnum<["staging", "northamerica-central-1", "europe-central-1a"]>>;
|
|
1932
2846
|
version_channel: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
1933
2847
|
id: z.ZodString;
|
|
1934
2848
|
status: z.ZodEnum<["active", "deleted", "creating", "deployed", "failed", "updating"]>;
|
|
@@ -1945,7 +2859,7 @@ export declare const zUpdateClusterResponse: z.ZodObject<{
|
|
|
1945
2859
|
version_channel: string;
|
|
1946
2860
|
tier: "basic" | "pro";
|
|
1947
2861
|
ready?: boolean | undefined;
|
|
1948
|
-
region?: "staging" | "northamerica-central-1" | undefined;
|
|
2862
|
+
region?: "staging" | "northamerica-central-1" | "europe-central-1a" | undefined;
|
|
1949
2863
|
version_current?: string | undefined;
|
|
1950
2864
|
created_at?: string | undefined;
|
|
1951
2865
|
updated_at?: string | undefined;
|
|
@@ -1957,7 +2871,7 @@ export declare const zUpdateClusterResponse: z.ZodObject<{
|
|
|
1957
2871
|
status: "failed" | "active" | "deleted" | "creating" | "deployed" | "updating";
|
|
1958
2872
|
tier: "basic" | "pro";
|
|
1959
2873
|
ready?: boolean | undefined;
|
|
1960
|
-
region?: "staging" | "northamerica-central-1" | undefined;
|
|
2874
|
+
region?: "staging" | "northamerica-central-1" | "europe-central-1a" | undefined;
|
|
1961
2875
|
version_channel?: string | undefined;
|
|
1962
2876
|
version_current?: string | undefined;
|
|
1963
2877
|
created_at?: string | undefined;
|
|
@@ -1965,10 +2879,36 @@ export declare const zUpdateClusterResponse: z.ZodObject<{
|
|
|
1965
2879
|
endpoint?: string | undefined;
|
|
1966
2880
|
certificate_ca?: string | undefined;
|
|
1967
2881
|
}>;
|
|
2882
|
+
export declare const zGetJoinInformationData: z.ZodObject<{
|
|
2883
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
2884
|
+
path: z.ZodObject<{
|
|
2885
|
+
cluster_id: z.ZodString;
|
|
2886
|
+
}, "strip", z.ZodTypeAny, {
|
|
2887
|
+
cluster_id: string;
|
|
2888
|
+
}, {
|
|
2889
|
+
cluster_id: string;
|
|
2890
|
+
}>;
|
|
2891
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
2892
|
+
}, "strip", z.ZodTypeAny, {
|
|
2893
|
+
path: {
|
|
2894
|
+
cluster_id: string;
|
|
2895
|
+
};
|
|
2896
|
+
body?: undefined;
|
|
2897
|
+
query?: undefined;
|
|
2898
|
+
}, {
|
|
2899
|
+
path: {
|
|
2900
|
+
cluster_id: string;
|
|
2901
|
+
};
|
|
2902
|
+
body?: undefined;
|
|
2903
|
+
query?: undefined;
|
|
2904
|
+
}>;
|
|
2905
|
+
/**
|
|
2906
|
+
* An object of cluster join information
|
|
2907
|
+
*/
|
|
1968
2908
|
export declare const zGetJoinInformationResponse: z.ZodObject<{
|
|
1969
2909
|
name: z.ZodString;
|
|
1970
|
-
region: z.ZodOptional<z.ZodEnum<["staging", "northamerica-central-1"]>>;
|
|
1971
2910
|
tier: z.ZodEnum<["basic", "pro"]>;
|
|
2911
|
+
region: z.ZodOptional<z.ZodEnum<["staging", "northamerica-central-1", "europe-central-1a"]>>;
|
|
1972
2912
|
version_channel: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
1973
2913
|
id: z.ZodString;
|
|
1974
2914
|
status: z.ZodEnum<["active", "deleted", "creating", "deployed", "failed", "updating"]>;
|
|
@@ -1985,7 +2925,7 @@ export declare const zGetJoinInformationResponse: z.ZodObject<{
|
|
|
1985
2925
|
version_channel: string;
|
|
1986
2926
|
tier: "basic" | "pro";
|
|
1987
2927
|
ready?: boolean | undefined;
|
|
1988
|
-
region?: "staging" | "northamerica-central-1" | undefined;
|
|
2928
|
+
region?: "staging" | "northamerica-central-1" | "europe-central-1a" | undefined;
|
|
1989
2929
|
version_current?: string | undefined;
|
|
1990
2930
|
created_at?: string | undefined;
|
|
1991
2931
|
updated_at?: string | undefined;
|
|
@@ -1997,7 +2937,7 @@ export declare const zGetJoinInformationResponse: z.ZodObject<{
|
|
|
1997
2937
|
status: "failed" | "active" | "deleted" | "creating" | "deployed" | "updating";
|
|
1998
2938
|
tier: "basic" | "pro";
|
|
1999
2939
|
ready?: boolean | undefined;
|
|
2000
|
-
region?: "staging" | "northamerica-central-1" | undefined;
|
|
2940
|
+
region?: "staging" | "northamerica-central-1" | "europe-central-1a" | undefined;
|
|
2001
2941
|
version_channel?: string | undefined;
|
|
2002
2942
|
version_current?: string | undefined;
|
|
2003
2943
|
created_at?: string | undefined;
|
|
@@ -2005,6 +2945,22 @@ export declare const zGetJoinInformationResponse: z.ZodObject<{
|
|
|
2005
2945
|
endpoint?: string | undefined;
|
|
2006
2946
|
certificate_ca?: string | undefined;
|
|
2007
2947
|
}>;
|
|
2948
|
+
export declare const zListInvitesData: z.ZodObject<{
|
|
2949
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
2950
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
2951
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
2952
|
+
}, "strip", z.ZodTypeAny, {
|
|
2953
|
+
body?: undefined;
|
|
2954
|
+
path?: undefined;
|
|
2955
|
+
query?: undefined;
|
|
2956
|
+
}, {
|
|
2957
|
+
body?: undefined;
|
|
2958
|
+
path?: undefined;
|
|
2959
|
+
query?: undefined;
|
|
2960
|
+
}>;
|
|
2961
|
+
/**
|
|
2962
|
+
* An array of invites
|
|
2963
|
+
*/
|
|
2008
2964
|
export declare const zListInvitesResponse: z.ZodArray<z.ZodObject<{
|
|
2009
2965
|
id: z.ZodOptional<z.ZodString>;
|
|
2010
2966
|
organization_id: z.ZodOptional<z.ZodString>;
|
|
@@ -2024,6 +2980,32 @@ export declare const zListInvitesResponse: z.ZodArray<z.ZodObject<{
|
|
|
2024
2980
|
email?: string | undefined;
|
|
2025
2981
|
organization_id?: string | undefined;
|
|
2026
2982
|
}>, "many">;
|
|
2983
|
+
export declare const zCreateInviteData: z.ZodObject<{
|
|
2984
|
+
body: z.ZodObject<{
|
|
2985
|
+
email: z.ZodOptional<z.ZodString>;
|
|
2986
|
+
}, "strip", z.ZodTypeAny, {
|
|
2987
|
+
email?: string | undefined;
|
|
2988
|
+
}, {
|
|
2989
|
+
email?: string | undefined;
|
|
2990
|
+
}>;
|
|
2991
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
2992
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
2993
|
+
}, "strip", z.ZodTypeAny, {
|
|
2994
|
+
body: {
|
|
2995
|
+
email?: string | undefined;
|
|
2996
|
+
};
|
|
2997
|
+
path?: undefined;
|
|
2998
|
+
query?: undefined;
|
|
2999
|
+
}, {
|
|
3000
|
+
body: {
|
|
3001
|
+
email?: string | undefined;
|
|
3002
|
+
};
|
|
3003
|
+
path?: undefined;
|
|
3004
|
+
query?: undefined;
|
|
3005
|
+
}>;
|
|
3006
|
+
/**
|
|
3007
|
+
* Successfully created. Returns created invite details.
|
|
3008
|
+
*/
|
|
2027
3009
|
export declare const zCreateInviteResponse: z.ZodObject<{
|
|
2028
3010
|
id: z.ZodOptional<z.ZodString>;
|
|
2029
3011
|
organization_id: z.ZodOptional<z.ZodString>;
|
|
@@ -2043,6 +3025,32 @@ export declare const zCreateInviteResponse: z.ZodObject<{
|
|
|
2043
3025
|
email?: string | undefined;
|
|
2044
3026
|
organization_id?: string | undefined;
|
|
2045
3027
|
}>;
|
|
3028
|
+
export declare const zGetInviteData: z.ZodObject<{
|
|
3029
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
3030
|
+
path: z.ZodObject<{
|
|
3031
|
+
code: z.ZodString;
|
|
3032
|
+
}, "strip", z.ZodTypeAny, {
|
|
3033
|
+
code: string;
|
|
3034
|
+
}, {
|
|
3035
|
+
code: string;
|
|
3036
|
+
}>;
|
|
3037
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
3038
|
+
}, "strip", z.ZodTypeAny, {
|
|
3039
|
+
path: {
|
|
3040
|
+
code: string;
|
|
3041
|
+
};
|
|
3042
|
+
body?: undefined;
|
|
3043
|
+
query?: undefined;
|
|
3044
|
+
}, {
|
|
3045
|
+
path: {
|
|
3046
|
+
code: string;
|
|
3047
|
+
};
|
|
3048
|
+
body?: undefined;
|
|
3049
|
+
query?: undefined;
|
|
3050
|
+
}>;
|
|
3051
|
+
/**
|
|
3052
|
+
* Returns a single object containing invite details.
|
|
3053
|
+
*/
|
|
2046
3054
|
export declare const zGetInviteResponse: z.ZodObject<{
|
|
2047
3055
|
id: z.ZodOptional<z.ZodString>;
|
|
2048
3056
|
organization_id: z.ZodOptional<z.ZodString>;
|
|
@@ -2062,6 +3070,45 @@ export declare const zGetInviteResponse: z.ZodObject<{
|
|
|
2062
3070
|
email?: string | undefined;
|
|
2063
3071
|
organization_id?: string | undefined;
|
|
2064
3072
|
}>;
|
|
3073
|
+
export declare const zDeleteInviteData: z.ZodObject<{
|
|
3074
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
3075
|
+
path: z.ZodObject<{
|
|
3076
|
+
email: z.ZodString;
|
|
3077
|
+
}, "strip", z.ZodTypeAny, {
|
|
3078
|
+
email: string;
|
|
3079
|
+
}, {
|
|
3080
|
+
email: string;
|
|
3081
|
+
}>;
|
|
3082
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
3083
|
+
}, "strip", z.ZodTypeAny, {
|
|
3084
|
+
path: {
|
|
3085
|
+
email: string;
|
|
3086
|
+
};
|
|
3087
|
+
body?: undefined;
|
|
3088
|
+
query?: undefined;
|
|
3089
|
+
}, {
|
|
3090
|
+
path: {
|
|
3091
|
+
email: string;
|
|
3092
|
+
};
|
|
3093
|
+
body?: undefined;
|
|
3094
|
+
query?: undefined;
|
|
3095
|
+
}>;
|
|
3096
|
+
export declare const zListMarketplaceChartsData: z.ZodObject<{
|
|
3097
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
3098
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
3099
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
3100
|
+
}, "strip", z.ZodTypeAny, {
|
|
3101
|
+
body?: undefined;
|
|
3102
|
+
path?: undefined;
|
|
3103
|
+
query?: undefined;
|
|
3104
|
+
}, {
|
|
3105
|
+
body?: undefined;
|
|
3106
|
+
path?: undefined;
|
|
3107
|
+
query?: undefined;
|
|
3108
|
+
}>;
|
|
3109
|
+
/**
|
|
3110
|
+
* An array of chart listings in the marketplace.
|
|
3111
|
+
*/
|
|
2065
3112
|
export declare const zListMarketplaceChartsResponse: z.ZodArray<z.ZodObject<{
|
|
2066
3113
|
id: z.ZodString;
|
|
2067
3114
|
name: z.ZodString;
|
|
@@ -2113,6 +3160,32 @@ export declare const zListMarketplaceChartsResponse: z.ZodArray<z.ZodObject<{
|
|
|
2113
3160
|
placeholder: string;
|
|
2114
3161
|
}[];
|
|
2115
3162
|
}>, "many">;
|
|
3163
|
+
export declare const zGetMarketplaceChartData: z.ZodObject<{
|
|
3164
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
3165
|
+
path: z.ZodObject<{
|
|
3166
|
+
listing_id: z.ZodString;
|
|
3167
|
+
}, "strip", z.ZodTypeAny, {
|
|
3168
|
+
listing_id: string;
|
|
3169
|
+
}, {
|
|
3170
|
+
listing_id: string;
|
|
3171
|
+
}>;
|
|
3172
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
3173
|
+
}, "strip", z.ZodTypeAny, {
|
|
3174
|
+
path: {
|
|
3175
|
+
listing_id: string;
|
|
3176
|
+
};
|
|
3177
|
+
body?: undefined;
|
|
3178
|
+
query?: undefined;
|
|
3179
|
+
}, {
|
|
3180
|
+
path: {
|
|
3181
|
+
listing_id: string;
|
|
3182
|
+
};
|
|
3183
|
+
body?: undefined;
|
|
3184
|
+
query?: undefined;
|
|
3185
|
+
}>;
|
|
3186
|
+
/**
|
|
3187
|
+
* Returns an object containing the chart listing details.
|
|
3188
|
+
*/
|
|
2116
3189
|
export declare const zGetMarketplaceChartResponse: z.ZodObject<{
|
|
2117
3190
|
id: z.ZodString;
|
|
2118
3191
|
name: z.ZodString;
|
|
@@ -2164,6 +3237,22 @@ export declare const zGetMarketplaceChartResponse: z.ZodObject<{
|
|
|
2164
3237
|
placeholder: string;
|
|
2165
3238
|
}[];
|
|
2166
3239
|
}>;
|
|
3240
|
+
export declare const zGetOrganizationData: z.ZodObject<{
|
|
3241
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
3242
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
3243
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
3244
|
+
}, "strip", z.ZodTypeAny, {
|
|
3245
|
+
body?: undefined;
|
|
3246
|
+
path?: undefined;
|
|
3247
|
+
query?: undefined;
|
|
3248
|
+
}, {
|
|
3249
|
+
body?: undefined;
|
|
3250
|
+
path?: undefined;
|
|
3251
|
+
query?: undefined;
|
|
3252
|
+
}>;
|
|
3253
|
+
/**
|
|
3254
|
+
* Returns a single object containing organization details.
|
|
3255
|
+
*/
|
|
2167
3256
|
export declare const zGetOrganizationResponse: z.ZodObject<{
|
|
2168
3257
|
id: z.ZodString;
|
|
2169
3258
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -2174,7 +3263,6 @@ export declare const zGetOrganizationResponse: z.ZodObject<{
|
|
|
2174
3263
|
pro_clusters_max: z.ZodNumber;
|
|
2175
3264
|
pro_clusters_available: z.ZodNumber;
|
|
2176
3265
|
fleets_max: z.ZodNumber;
|
|
2177
|
-
managed_fleets_cpu_max: z.ZodNumber;
|
|
2178
3266
|
cluster_tiers: z.ZodArray<z.ZodString, "many">;
|
|
2179
3267
|
regions: z.ZodArray<z.ZodString, "many">;
|
|
2180
3268
|
versions: z.ZodArray<z.ZodObject<{
|
|
@@ -2197,7 +3285,6 @@ export declare const zGetOrganizationResponse: z.ZodObject<{
|
|
|
2197
3285
|
pro_clusters_max: number;
|
|
2198
3286
|
pro_clusters_available: number;
|
|
2199
3287
|
fleets_max: number;
|
|
2200
|
-
managed_fleets_cpu_max: number;
|
|
2201
3288
|
cluster_tiers: string[];
|
|
2202
3289
|
regions: string[];
|
|
2203
3290
|
}, {
|
|
@@ -2210,7 +3297,6 @@ export declare const zGetOrganizationResponse: z.ZodObject<{
|
|
|
2210
3297
|
pro_clusters_max: number;
|
|
2211
3298
|
pro_clusters_available: number;
|
|
2212
3299
|
fleets_max: number;
|
|
2213
|
-
managed_fleets_cpu_max: number;
|
|
2214
3300
|
cluster_tiers: string[];
|
|
2215
3301
|
regions: string[];
|
|
2216
3302
|
}>;
|
|
@@ -2229,7 +3315,6 @@ export declare const zGetOrganizationResponse: z.ZodObject<{
|
|
|
2229
3315
|
pro_clusters_max: number;
|
|
2230
3316
|
pro_clusters_available: number;
|
|
2231
3317
|
fleets_max: number;
|
|
2232
|
-
managed_fleets_cpu_max: number;
|
|
2233
3318
|
cluster_tiers: string[];
|
|
2234
3319
|
regions: string[];
|
|
2235
3320
|
};
|
|
@@ -2248,12 +3333,70 @@ export declare const zGetOrganizationResponse: z.ZodObject<{
|
|
|
2248
3333
|
pro_clusters_max: number;
|
|
2249
3334
|
pro_clusters_available: number;
|
|
2250
3335
|
fleets_max: number;
|
|
2251
|
-
managed_fleets_cpu_max: number;
|
|
2252
3336
|
cluster_tiers: string[];
|
|
2253
3337
|
regions: string[];
|
|
2254
3338
|
};
|
|
2255
3339
|
name?: string | undefined;
|
|
2256
3340
|
}>;
|
|
3341
|
+
export declare const zCreateOrganizationData: z.ZodObject<{
|
|
3342
|
+
body: z.ZodObject<{
|
|
3343
|
+
email: z.ZodString;
|
|
3344
|
+
first_name: z.ZodString;
|
|
3345
|
+
last_name: z.ZodString;
|
|
3346
|
+
company_name: z.ZodString;
|
|
3347
|
+
password: z.ZodString;
|
|
3348
|
+
}, "strip", z.ZodTypeAny, {
|
|
3349
|
+
email: string;
|
|
3350
|
+
first_name: string;
|
|
3351
|
+
last_name: string;
|
|
3352
|
+
company_name: string;
|
|
3353
|
+
password: string;
|
|
3354
|
+
}, {
|
|
3355
|
+
email: string;
|
|
3356
|
+
first_name: string;
|
|
3357
|
+
last_name: string;
|
|
3358
|
+
company_name: string;
|
|
3359
|
+
password: string;
|
|
3360
|
+
}>;
|
|
3361
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
3362
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
3363
|
+
}, "strip", z.ZodTypeAny, {
|
|
3364
|
+
body: {
|
|
3365
|
+
email: string;
|
|
3366
|
+
first_name: string;
|
|
3367
|
+
last_name: string;
|
|
3368
|
+
company_name: string;
|
|
3369
|
+
password: string;
|
|
3370
|
+
};
|
|
3371
|
+
path?: undefined;
|
|
3372
|
+
query?: undefined;
|
|
3373
|
+
}, {
|
|
3374
|
+
body: {
|
|
3375
|
+
email: string;
|
|
3376
|
+
first_name: string;
|
|
3377
|
+
last_name: string;
|
|
3378
|
+
company_name: string;
|
|
3379
|
+
password: string;
|
|
3380
|
+
};
|
|
3381
|
+
path?: undefined;
|
|
3382
|
+
query?: undefined;
|
|
3383
|
+
}>;
|
|
3384
|
+
export declare const zListTokensData: z.ZodObject<{
|
|
3385
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
3386
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
3387
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
3388
|
+
}, "strip", z.ZodTypeAny, {
|
|
3389
|
+
body?: undefined;
|
|
3390
|
+
path?: undefined;
|
|
3391
|
+
query?: undefined;
|
|
3392
|
+
}, {
|
|
3393
|
+
body?: undefined;
|
|
3394
|
+
path?: undefined;
|
|
3395
|
+
query?: undefined;
|
|
3396
|
+
}>;
|
|
3397
|
+
/**
|
|
3398
|
+
* Returns a list of access token details with masked secrets.
|
|
3399
|
+
*/
|
|
2257
3400
|
export declare const zListTokensResponse: z.ZodArray<z.ZodObject<{
|
|
2258
3401
|
name: z.ZodString;
|
|
2259
3402
|
role: z.ZodEnum<["Administrator", "User"]>;
|
|
@@ -2273,6 +3416,37 @@ export declare const zListTokensResponse: z.ZodArray<z.ZodObject<{
|
|
|
2273
3416
|
id?: string | undefined;
|
|
2274
3417
|
secret?: string | undefined;
|
|
2275
3418
|
}>, "many">;
|
|
3419
|
+
export declare const zCreateTokenData: z.ZodObject<{
|
|
3420
|
+
body: z.ZodObject<{
|
|
3421
|
+
name: z.ZodString;
|
|
3422
|
+
role: z.ZodEnum<["Administrator", "User"]>;
|
|
3423
|
+
}, "strip", z.ZodTypeAny, {
|
|
3424
|
+
name: string;
|
|
3425
|
+
role: "Administrator" | "User";
|
|
3426
|
+
}, {
|
|
3427
|
+
name: string;
|
|
3428
|
+
role: "Administrator" | "User";
|
|
3429
|
+
}>;
|
|
3430
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
3431
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
3432
|
+
}, "strip", z.ZodTypeAny, {
|
|
3433
|
+
body: {
|
|
3434
|
+
name: string;
|
|
3435
|
+
role: "Administrator" | "User";
|
|
3436
|
+
};
|
|
3437
|
+
path?: undefined;
|
|
3438
|
+
query?: undefined;
|
|
3439
|
+
}, {
|
|
3440
|
+
body: {
|
|
3441
|
+
name: string;
|
|
3442
|
+
role: "Administrator" | "User";
|
|
3443
|
+
};
|
|
3444
|
+
path?: undefined;
|
|
3445
|
+
query?: undefined;
|
|
3446
|
+
}>;
|
|
3447
|
+
/**
|
|
3448
|
+
* Successfully created. Returns created token details with unmasked/raw secret.
|
|
3449
|
+
*/
|
|
2276
3450
|
export declare const zCreateTokenResponse: z.ZodObject<{
|
|
2277
3451
|
name: z.ZodString;
|
|
2278
3452
|
role: z.ZodEnum<["Administrator", "User"]>;
|
|
@@ -2292,6 +3466,55 @@ export declare const zCreateTokenResponse: z.ZodObject<{
|
|
|
2292
3466
|
id?: string | undefined;
|
|
2293
3467
|
secret?: string | undefined;
|
|
2294
3468
|
}>;
|
|
3469
|
+
export declare const zDeleteTokenData: z.ZodObject<{
|
|
3470
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
3471
|
+
path: z.ZodObject<{
|
|
3472
|
+
token_id: z.ZodString;
|
|
3473
|
+
}, "strip", z.ZodTypeAny, {
|
|
3474
|
+
token_id: string;
|
|
3475
|
+
}, {
|
|
3476
|
+
token_id: string;
|
|
3477
|
+
}>;
|
|
3478
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
3479
|
+
}, "strip", z.ZodTypeAny, {
|
|
3480
|
+
path: {
|
|
3481
|
+
token_id: string;
|
|
3482
|
+
};
|
|
3483
|
+
body?: undefined;
|
|
3484
|
+
query?: undefined;
|
|
3485
|
+
}, {
|
|
3486
|
+
path: {
|
|
3487
|
+
token_id: string;
|
|
3488
|
+
};
|
|
3489
|
+
body?: undefined;
|
|
3490
|
+
query?: undefined;
|
|
3491
|
+
}>;
|
|
3492
|
+
export declare const zGetTokenData: z.ZodObject<{
|
|
3493
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
3494
|
+
path: z.ZodObject<{
|
|
3495
|
+
token_id: z.ZodString;
|
|
3496
|
+
}, "strip", z.ZodTypeAny, {
|
|
3497
|
+
token_id: string;
|
|
3498
|
+
}, {
|
|
3499
|
+
token_id: string;
|
|
3500
|
+
}>;
|
|
3501
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
3502
|
+
}, "strip", z.ZodTypeAny, {
|
|
3503
|
+
path: {
|
|
3504
|
+
token_id: string;
|
|
3505
|
+
};
|
|
3506
|
+
body?: undefined;
|
|
3507
|
+
query?: undefined;
|
|
3508
|
+
}, {
|
|
3509
|
+
path: {
|
|
3510
|
+
token_id: string;
|
|
3511
|
+
};
|
|
3512
|
+
body?: undefined;
|
|
3513
|
+
query?: undefined;
|
|
3514
|
+
}>;
|
|
3515
|
+
/**
|
|
3516
|
+
* Returns access token details with masked secret.
|
|
3517
|
+
*/
|
|
2295
3518
|
export declare const zGetTokenResponse: z.ZodObject<{
|
|
2296
3519
|
name: z.ZodString;
|
|
2297
3520
|
role: z.ZodEnum<["Administrator", "User"]>;
|
|
@@ -2311,6 +3534,47 @@ export declare const zGetTokenResponse: z.ZodObject<{
|
|
|
2311
3534
|
id?: string | undefined;
|
|
2312
3535
|
secret?: string | undefined;
|
|
2313
3536
|
}>;
|
|
3537
|
+
export declare const zUpdateTokenData: z.ZodObject<{
|
|
3538
|
+
body: z.ZodObject<{
|
|
3539
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3540
|
+
role: z.ZodOptional<z.ZodEnum<["Administrator", "User"]>>;
|
|
3541
|
+
}, "strip", z.ZodTypeAny, {
|
|
3542
|
+
name?: string | undefined;
|
|
3543
|
+
role?: "Administrator" | "User" | undefined;
|
|
3544
|
+
}, {
|
|
3545
|
+
name?: string | undefined;
|
|
3546
|
+
role?: "Administrator" | "User" | undefined;
|
|
3547
|
+
}>;
|
|
3548
|
+
path: z.ZodObject<{
|
|
3549
|
+
token_id: z.ZodString;
|
|
3550
|
+
}, "strip", z.ZodTypeAny, {
|
|
3551
|
+
token_id: string;
|
|
3552
|
+
}, {
|
|
3553
|
+
token_id: string;
|
|
3554
|
+
}>;
|
|
3555
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
3556
|
+
}, "strip", z.ZodTypeAny, {
|
|
3557
|
+
body: {
|
|
3558
|
+
name?: string | undefined;
|
|
3559
|
+
role?: "Administrator" | "User" | undefined;
|
|
3560
|
+
};
|
|
3561
|
+
path: {
|
|
3562
|
+
token_id: string;
|
|
3563
|
+
};
|
|
3564
|
+
query?: undefined;
|
|
3565
|
+
}, {
|
|
3566
|
+
body: {
|
|
3567
|
+
name?: string | undefined;
|
|
3568
|
+
role?: "Administrator" | "User" | undefined;
|
|
3569
|
+
};
|
|
3570
|
+
path: {
|
|
3571
|
+
token_id: string;
|
|
3572
|
+
};
|
|
3573
|
+
query?: undefined;
|
|
3574
|
+
}>;
|
|
3575
|
+
/**
|
|
3576
|
+
* Successfully updated. Returns updated token details with masked secret.
|
|
3577
|
+
*/
|
|
2314
3578
|
export declare const zUpdateTokenResponse: z.ZodObject<{
|
|
2315
3579
|
name: z.ZodString;
|
|
2316
3580
|
role: z.ZodEnum<["Administrator", "User"]>;
|
|
@@ -2330,6 +3594,32 @@ export declare const zUpdateTokenResponse: z.ZodObject<{
|
|
|
2330
3594
|
id?: string | undefined;
|
|
2331
3595
|
secret?: string | undefined;
|
|
2332
3596
|
}>;
|
|
3597
|
+
export declare const zRegenerateTokenData: z.ZodObject<{
|
|
3598
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
3599
|
+
path: z.ZodObject<{
|
|
3600
|
+
token_id: z.ZodString;
|
|
3601
|
+
}, "strip", z.ZodTypeAny, {
|
|
3602
|
+
token_id: string;
|
|
3603
|
+
}, {
|
|
3604
|
+
token_id: string;
|
|
3605
|
+
}>;
|
|
3606
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
3607
|
+
}, "strip", z.ZodTypeAny, {
|
|
3608
|
+
path: {
|
|
3609
|
+
token_id: string;
|
|
3610
|
+
};
|
|
3611
|
+
body?: undefined;
|
|
3612
|
+
query?: undefined;
|
|
3613
|
+
}, {
|
|
3614
|
+
path: {
|
|
3615
|
+
token_id: string;
|
|
3616
|
+
};
|
|
3617
|
+
body?: undefined;
|
|
3618
|
+
query?: undefined;
|
|
3619
|
+
}>;
|
|
3620
|
+
/**
|
|
3621
|
+
* Successfully updated. Returns updated token details with unmasked / raw secret.
|
|
3622
|
+
*/
|
|
2333
3623
|
export declare const zRegenerateTokenResponse: z.ZodObject<{
|
|
2334
3624
|
name: z.ZodString;
|
|
2335
3625
|
role: z.ZodEnum<["Administrator", "User"]>;
|
|
@@ -2349,6 +3639,32 @@ export declare const zRegenerateTokenResponse: z.ZodObject<{
|
|
|
2349
3639
|
id?: string | undefined;
|
|
2350
3640
|
secret?: string | undefined;
|
|
2351
3641
|
}>;
|
|
3642
|
+
export declare const zListUserOrganizationsData: z.ZodObject<{
|
|
3643
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
3644
|
+
path: z.ZodObject<{
|
|
3645
|
+
email: z.ZodString;
|
|
3646
|
+
}, "strip", z.ZodTypeAny, {
|
|
3647
|
+
email: string;
|
|
3648
|
+
}, {
|
|
3649
|
+
email: string;
|
|
3650
|
+
}>;
|
|
3651
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
3652
|
+
}, "strip", z.ZodTypeAny, {
|
|
3653
|
+
path: {
|
|
3654
|
+
email: string;
|
|
3655
|
+
};
|
|
3656
|
+
body?: undefined;
|
|
3657
|
+
query?: undefined;
|
|
3658
|
+
}, {
|
|
3659
|
+
path: {
|
|
3660
|
+
email: string;
|
|
3661
|
+
};
|
|
3662
|
+
body?: undefined;
|
|
3663
|
+
query?: undefined;
|
|
3664
|
+
}>;
|
|
3665
|
+
/**
|
|
3666
|
+
* An array of organizations the user belongs to.
|
|
3667
|
+
*/
|
|
2352
3668
|
export declare const zListUserOrganizationsResponse: z.ZodArray<z.ZodObject<{
|
|
2353
3669
|
realm: z.ZodOptional<z.ZodString>;
|
|
2354
3670
|
displayName: z.ZodOptional<z.ZodString>;
|
|
@@ -2359,6 +3675,22 @@ export declare const zListUserOrganizationsResponse: z.ZodArray<z.ZodObject<{
|
|
|
2359
3675
|
realm?: string | undefined;
|
|
2360
3676
|
displayName?: string | undefined;
|
|
2361
3677
|
}>, "many">;
|
|
3678
|
+
export declare const zListUsersData: z.ZodObject<{
|
|
3679
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
3680
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
3681
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
3682
|
+
}, "strip", z.ZodTypeAny, {
|
|
3683
|
+
body?: undefined;
|
|
3684
|
+
path?: undefined;
|
|
3685
|
+
query?: undefined;
|
|
3686
|
+
}, {
|
|
3687
|
+
body?: undefined;
|
|
3688
|
+
path?: undefined;
|
|
3689
|
+
query?: undefined;
|
|
3690
|
+
}>;
|
|
3691
|
+
/**
|
|
3692
|
+
* An array of users
|
|
3693
|
+
*/
|
|
2362
3694
|
export declare const zListUsersResponse: z.ZodArray<z.ZodObject<{
|
|
2363
3695
|
email: z.ZodString;
|
|
2364
3696
|
first_name: z.ZodString;
|
|
@@ -2384,6 +3716,62 @@ export declare const zListUsersResponse: z.ZodArray<z.ZodObject<{
|
|
|
2384
3716
|
last_name: string;
|
|
2385
3717
|
date_created: string;
|
|
2386
3718
|
}>, "many">;
|
|
3719
|
+
export declare const zCreateUserData: z.ZodObject<{
|
|
3720
|
+
body: z.ZodObject<{
|
|
3721
|
+
email: z.ZodString;
|
|
3722
|
+
first_name: z.ZodString;
|
|
3723
|
+
last_name: z.ZodString;
|
|
3724
|
+
code: z.ZodString;
|
|
3725
|
+
password: z.ZodString;
|
|
3726
|
+
status: z.ZodOptional<z.ZodEnum<["active", "inactive"]>>;
|
|
3727
|
+
role: z.ZodOptional<z.ZodEnum<["Administrator", "User"]>>;
|
|
3728
|
+
}, "strip", z.ZodTypeAny, {
|
|
3729
|
+
code: string;
|
|
3730
|
+
email: string;
|
|
3731
|
+
first_name: string;
|
|
3732
|
+
last_name: string;
|
|
3733
|
+
password: string;
|
|
3734
|
+
role?: "Administrator" | "User" | undefined;
|
|
3735
|
+
status?: "active" | "inactive" | undefined;
|
|
3736
|
+
}, {
|
|
3737
|
+
code: string;
|
|
3738
|
+
email: string;
|
|
3739
|
+
first_name: string;
|
|
3740
|
+
last_name: string;
|
|
3741
|
+
password: string;
|
|
3742
|
+
role?: "Administrator" | "User" | undefined;
|
|
3743
|
+
status?: "active" | "inactive" | undefined;
|
|
3744
|
+
}>;
|
|
3745
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
3746
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
3747
|
+
}, "strip", z.ZodTypeAny, {
|
|
3748
|
+
body: {
|
|
3749
|
+
code: string;
|
|
3750
|
+
email: string;
|
|
3751
|
+
first_name: string;
|
|
3752
|
+
last_name: string;
|
|
3753
|
+
password: string;
|
|
3754
|
+
role?: "Administrator" | "User" | undefined;
|
|
3755
|
+
status?: "active" | "inactive" | undefined;
|
|
3756
|
+
};
|
|
3757
|
+
path?: undefined;
|
|
3758
|
+
query?: undefined;
|
|
3759
|
+
}, {
|
|
3760
|
+
body: {
|
|
3761
|
+
code: string;
|
|
3762
|
+
email: string;
|
|
3763
|
+
first_name: string;
|
|
3764
|
+
last_name: string;
|
|
3765
|
+
password: string;
|
|
3766
|
+
role?: "Administrator" | "User" | undefined;
|
|
3767
|
+
status?: "active" | "inactive" | undefined;
|
|
3768
|
+
};
|
|
3769
|
+
path?: undefined;
|
|
3770
|
+
query?: undefined;
|
|
3771
|
+
}>;
|
|
3772
|
+
/**
|
|
3773
|
+
* Successfully created. Returns created user details.
|
|
3774
|
+
*/
|
|
2387
3775
|
export declare const zCreateUserResponse: z.ZodObject<{
|
|
2388
3776
|
email: z.ZodString;
|
|
2389
3777
|
first_name: z.ZodString;
|
|
@@ -2409,6 +3797,32 @@ export declare const zCreateUserResponse: z.ZodObject<{
|
|
|
2409
3797
|
last_name: string;
|
|
2410
3798
|
date_created: string;
|
|
2411
3799
|
}>;
|
|
3800
|
+
export declare const zDeleteUserData: z.ZodObject<{
|
|
3801
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
3802
|
+
path: z.ZodObject<{
|
|
3803
|
+
user_id: z.ZodString;
|
|
3804
|
+
}, "strip", z.ZodTypeAny, {
|
|
3805
|
+
user_id: string;
|
|
3806
|
+
}, {
|
|
3807
|
+
user_id: string;
|
|
3808
|
+
}>;
|
|
3809
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
3810
|
+
}, "strip", z.ZodTypeAny, {
|
|
3811
|
+
path: {
|
|
3812
|
+
user_id: string;
|
|
3813
|
+
};
|
|
3814
|
+
body?: undefined;
|
|
3815
|
+
query?: undefined;
|
|
3816
|
+
}, {
|
|
3817
|
+
path: {
|
|
3818
|
+
user_id: string;
|
|
3819
|
+
};
|
|
3820
|
+
body?: undefined;
|
|
3821
|
+
query?: undefined;
|
|
3822
|
+
}>;
|
|
3823
|
+
/**
|
|
3824
|
+
* User profile information
|
|
3825
|
+
*/
|
|
2412
3826
|
export declare const zDeleteUserResponse: z.ZodObject<{
|
|
2413
3827
|
email: z.ZodString;
|
|
2414
3828
|
first_name: z.ZodString;
|
|
@@ -2434,6 +3848,32 @@ export declare const zDeleteUserResponse: z.ZodObject<{
|
|
|
2434
3848
|
last_name: string;
|
|
2435
3849
|
date_created: string;
|
|
2436
3850
|
}>;
|
|
3851
|
+
export declare const zGetUserData: z.ZodObject<{
|
|
3852
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
3853
|
+
path: z.ZodObject<{
|
|
3854
|
+
user_id: z.ZodString;
|
|
3855
|
+
}, "strip", z.ZodTypeAny, {
|
|
3856
|
+
user_id: string;
|
|
3857
|
+
}, {
|
|
3858
|
+
user_id: string;
|
|
3859
|
+
}>;
|
|
3860
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
3861
|
+
}, "strip", z.ZodTypeAny, {
|
|
3862
|
+
path: {
|
|
3863
|
+
user_id: string;
|
|
3864
|
+
};
|
|
3865
|
+
body?: undefined;
|
|
3866
|
+
query?: undefined;
|
|
3867
|
+
}, {
|
|
3868
|
+
path: {
|
|
3869
|
+
user_id: string;
|
|
3870
|
+
};
|
|
3871
|
+
body?: undefined;
|
|
3872
|
+
query?: undefined;
|
|
3873
|
+
}>;
|
|
3874
|
+
/**
|
|
3875
|
+
* User profile information
|
|
3876
|
+
*/
|
|
2437
3877
|
export declare const zGetUserResponse: z.ZodObject<{
|
|
2438
3878
|
email: z.ZodString;
|
|
2439
3879
|
first_name: z.ZodString;
|
|
@@ -2459,6 +3899,62 @@ export declare const zGetUserResponse: z.ZodObject<{
|
|
|
2459
3899
|
last_name: string;
|
|
2460
3900
|
date_created: string;
|
|
2461
3901
|
}>;
|
|
3902
|
+
export declare const zUpdateUserData: z.ZodObject<{
|
|
3903
|
+
body: z.ZodObject<{
|
|
3904
|
+
email: z.ZodOptional<z.ZodString>;
|
|
3905
|
+
first_name: z.ZodOptional<z.ZodString>;
|
|
3906
|
+
last_name: z.ZodOptional<z.ZodString>;
|
|
3907
|
+
role: z.ZodOptional<z.ZodEnum<["Administrator", "User"]>>;
|
|
3908
|
+
status: z.ZodOptional<z.ZodEnum<["active", "inactive"]>>;
|
|
3909
|
+
}, "strip", z.ZodTypeAny, {
|
|
3910
|
+
role?: "Administrator" | "User" | undefined;
|
|
3911
|
+
email?: string | undefined;
|
|
3912
|
+
status?: "active" | "inactive" | undefined;
|
|
3913
|
+
first_name?: string | undefined;
|
|
3914
|
+
last_name?: string | undefined;
|
|
3915
|
+
}, {
|
|
3916
|
+
role?: "Administrator" | "User" | undefined;
|
|
3917
|
+
email?: string | undefined;
|
|
3918
|
+
status?: "active" | "inactive" | undefined;
|
|
3919
|
+
first_name?: string | undefined;
|
|
3920
|
+
last_name?: string | undefined;
|
|
3921
|
+
}>;
|
|
3922
|
+
path: z.ZodObject<{
|
|
3923
|
+
user_id: z.ZodString;
|
|
3924
|
+
}, "strip", z.ZodTypeAny, {
|
|
3925
|
+
user_id: string;
|
|
3926
|
+
}, {
|
|
3927
|
+
user_id: string;
|
|
3928
|
+
}>;
|
|
3929
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
3930
|
+
}, "strip", z.ZodTypeAny, {
|
|
3931
|
+
body: {
|
|
3932
|
+
role?: "Administrator" | "User" | undefined;
|
|
3933
|
+
email?: string | undefined;
|
|
3934
|
+
status?: "active" | "inactive" | undefined;
|
|
3935
|
+
first_name?: string | undefined;
|
|
3936
|
+
last_name?: string | undefined;
|
|
3937
|
+
};
|
|
3938
|
+
path: {
|
|
3939
|
+
user_id: string;
|
|
3940
|
+
};
|
|
3941
|
+
query?: undefined;
|
|
3942
|
+
}, {
|
|
3943
|
+
body: {
|
|
3944
|
+
role?: "Administrator" | "User" | undefined;
|
|
3945
|
+
email?: string | undefined;
|
|
3946
|
+
status?: "active" | "inactive" | undefined;
|
|
3947
|
+
first_name?: string | undefined;
|
|
3948
|
+
last_name?: string | undefined;
|
|
3949
|
+
};
|
|
3950
|
+
path: {
|
|
3951
|
+
user_id: string;
|
|
3952
|
+
};
|
|
3953
|
+
query?: undefined;
|
|
3954
|
+
}>;
|
|
3955
|
+
/**
|
|
3956
|
+
* Successfully created. Returns created user details.
|
|
3957
|
+
*/
|
|
2462
3958
|
export declare const zUpdateUserResponse: z.ZodObject<{
|
|
2463
3959
|
email: z.ZodString;
|
|
2464
3960
|
first_name: z.ZodString;
|