@cloudfleet/sdk 0.0.1-2bdeb58 → 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.
Files changed (55) hide show
  1. package/dist/client/client.d.ts +3 -0
  2. package/dist/client/client.d.ts.map +1 -0
  3. package/dist/client/client.js +144 -0
  4. package/dist/client/client.js.map +1 -0
  5. package/dist/client/index.d.ts +8 -0
  6. package/dist/client/index.d.ts.map +1 -0
  7. package/dist/client/index.js +5 -0
  8. package/dist/client/index.js.map +1 -0
  9. package/dist/client/types.d.ts +120 -0
  10. package/dist/client/types.d.ts.map +1 -0
  11. package/dist/client/types.js +2 -0
  12. package/dist/client/types.js.map +1 -0
  13. package/dist/client/utils.d.ts +46 -0
  14. package/dist/client/utils.d.ts.map +1 -0
  15. package/dist/client/utils.js +285 -0
  16. package/dist/client/utils.js.map +1 -0
  17. package/dist/client.gen.d.ts +2 -2
  18. package/dist/client.gen.d.ts.map +1 -1
  19. package/dist/client.gen.js +1 -1
  20. package/dist/client.gen.js.map +1 -1
  21. package/dist/core/auth.d.ts +19 -0
  22. package/dist/core/auth.d.ts.map +1 -0
  23. package/dist/core/auth.js +14 -0
  24. package/dist/core/auth.js.map +1 -0
  25. package/dist/core/bodySerializer.d.ts +18 -0
  26. package/dist/core/bodySerializer.d.ts.map +1 -0
  27. package/dist/core/bodySerializer.js +54 -0
  28. package/dist/core/bodySerializer.js.map +1 -0
  29. package/dist/core/params.d.ts +24 -0
  30. package/dist/core/params.d.ts.map +1 -0
  31. package/dist/core/params.js +88 -0
  32. package/dist/core/params.js.map +1 -0
  33. package/dist/core/pathSerializer.d.ts +34 -0
  34. package/dist/core/pathSerializer.d.ts.map +1 -0
  35. package/dist/core/pathSerializer.js +114 -0
  36. package/dist/core/pathSerializer.js.map +1 -0
  37. package/dist/core/types.d.ts +74 -0
  38. package/dist/core/types.d.ts.map +1 -0
  39. package/dist/core/types.js +2 -0
  40. package/dist/core/types.js.map +1 -0
  41. package/dist/schemas.gen.d.ts +70 -114
  42. package/dist/schemas.gen.d.ts.map +1 -1
  43. package/dist/schemas.gen.js +70 -123
  44. package/dist/schemas.gen.js.map +1 -1
  45. package/dist/sdk.gen.d.ts +56 -63
  46. package/dist/sdk.gen.d.ts.map +1 -1
  47. package/dist/sdk.gen.js +21 -21
  48. package/dist/sdk.gen.js.map +1 -1
  49. package/dist/types.gen.d.ts +34 -42
  50. package/dist/types.gen.d.ts.map +1 -1
  51. package/dist/zod.gen.d.ts +1678 -200
  52. package/dist/zod.gen.d.ts.map +1 -1
  53. package/dist/zod.gen.js +512 -57
  54. package/dist/zod.gen.js.map +1 -1
  55. package/package.json +5 -6
package/dist/zod.gen.js CHANGED
@@ -20,11 +20,14 @@ export const zBillingContact = z.object({
20
20
  'am_tin',
21
21
  'ao_tin',
22
22
  'ar_cuit',
23
+ 'at_vat',
23
24
  'au_abn',
24
25
  'au_arn',
25
26
  'ba_tin',
26
27
  'bb_tin',
28
+ 'be_vat',
27
29
  'bg_uic',
30
+ 'bg_vat',
28
31
  'bh_vat',
29
32
  'bo_tin',
30
33
  'br_cnpj',
@@ -44,23 +47,35 @@ export const zBillingContact = z.object({
44
47
  'cn_tin',
45
48
  'co_nit',
46
49
  'cr_tin',
50
+ 'cy_vat',
51
+ 'cz_vat',
47
52
  'de_stn',
53
+ 'de_vat',
54
+ 'dk_vat',
48
55
  'do_rcn',
49
56
  'ec_ruc',
57
+ 'ee_vat',
50
58
  'eg_tin',
51
59
  'es_cif',
60
+ 'es_vat',
52
61
  'eu_oss_vat',
53
- 'eu_vat',
62
+ 'fi_vat',
63
+ 'fr_vat',
54
64
  'gb_vat',
55
65
  'ge_vat',
56
66
  'gn_nif',
67
+ 'gr_vat',
57
68
  'hk_br',
58
69
  'hr_oib',
70
+ 'hr_vat',
59
71
  'hu_tin',
72
+ 'hu_vat',
60
73
  'id_npwp',
74
+ 'ie_vat',
61
75
  'il_vat',
62
76
  'in_gst',
63
77
  'is_vat',
78
+ 'it_vat',
64
79
  'jp_cn',
65
80
  'jp_rn',
66
81
  'jp_trn',
@@ -70,16 +85,21 @@ export const zBillingContact = z.object({
70
85
  'kz_bin',
71
86
  'li_uid',
72
87
  'li_vat',
88
+ 'lt_vat',
89
+ 'lu_vat',
90
+ 'lv_vat',
73
91
  'ma_vat',
74
92
  'md_vat',
75
93
  'me_pib',
76
94
  'mk_vat',
77
95
  'mr_nif',
96
+ 'mt_vat',
78
97
  'mx_rfc',
79
98
  'my_frp',
80
99
  'my_itn',
81
100
  'my_sst',
82
101
  'ng_tin',
102
+ 'nl_vat',
83
103
  'no_vat',
84
104
  'no_voec',
85
105
  'np_pan',
@@ -87,14 +107,20 @@ export const zBillingContact = z.object({
87
107
  'om_vat',
88
108
  'pe_ruc',
89
109
  'ph_tin',
110
+ 'pl_vat',
111
+ 'pt_vat',
90
112
  'ro_tin',
113
+ 'ro_vat',
91
114
  'rs_pib',
92
115
  'ru_inn',
93
116
  'ru_kpp',
94
117
  'sa_vat',
118
+ 'se_vat',
95
119
  'sg_gst',
96
120
  'sg_uen',
97
121
  'si_tin',
122
+ 'si_vat',
123
+ 'sk_vat',
98
124
  'sn_ninea',
99
125
  'sr_fin',
100
126
  'sv_nit',
@@ -111,9 +137,11 @@ export const zBillingContact = z.object({
111
137
  'uz_vat',
112
138
  've_rif',
113
139
  'vn_tin',
140
+ 'xi_vat',
114
141
  'za_vat',
115
142
  'zm_tin',
116
- 'zw_tin'
143
+ 'zw_tin',
144
+ ''
117
145
  ]).optional()
118
146
  });
119
147
  export const zBillingCredits = z.object({
@@ -156,7 +184,8 @@ export const zChart = z.object({
156
184
  'UninstallFailed',
157
185
  'ArtifactFailed',
158
186
  'DependencyNotReady',
159
- 'Progressing'
187
+ 'Progressing',
188
+ 'SourceNotReady'
160
189
  ]),
161
190
  version_current: z.string(),
162
191
  created_at: z.string(),
@@ -169,14 +198,15 @@ export const zChartUpdateInput = z.object({
169
198
  });
170
199
  export const zClusterCreateInput = z.object({
171
200
  name: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
172
- region: z.enum([
173
- 'staging',
174
- 'northamerica-central-1'
175
- ]).optional(),
176
201
  tier: z.enum([
177
202
  'basic',
178
203
  'pro'
179
204
  ]),
205
+ region: z.enum([
206
+ 'staging',
207
+ 'northamerica-central-1',
208
+ 'europe-central-1a'
209
+ ]).optional(),
180
210
  version_channel: z.string().regex(/^(x|X|0|[1-9]\d*)\.(x|X|0|[1-9]\d*)\.(x|X|0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/).optional().default('1.x.x-cfke.x')
181
211
  });
182
212
  export const zClusterJoinInformation = z.object({
@@ -197,14 +227,15 @@ export const zClusterJoinInformation = z.object({
197
227
  });
198
228
  export const zCluster = z.object({
199
229
  name: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
200
- region: z.enum([
201
- 'staging',
202
- 'northamerica-central-1'
203
- ]).optional(),
204
230
  tier: z.enum([
205
231
  'basic',
206
232
  'pro'
207
233
  ]),
234
+ region: z.enum([
235
+ 'staging',
236
+ 'northamerica-central-1',
237
+ 'europe-central-1a'
238
+ ]).optional(),
208
239
  version_channel: z.string().regex(/^(x|X|0|[1-9]\d*)\.(x|X|0|[1-9]\d*)\.(x|X|0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/).optional().default('1.x.x-cfke.x'),
209
240
  id: z.string().uuid(),
210
241
  status: z.enum([
@@ -229,6 +260,10 @@ export const zCluster = z.object({
229
260
  });
230
261
  export const zClusterUpdateInput = z.object({
231
262
  name: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/).optional(),
263
+ tier: z.enum([
264
+ 'basic',
265
+ 'pro'
266
+ ]),
232
267
  version_channel: z.string().regex(/^(x|X|0|[1-9]\d*)\.(x|X|0|[1-9]\d*)\.(x|X|0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/).optional()
233
268
  });
234
269
  export const zFleetCreateInput = z.object({
@@ -239,25 +274,15 @@ export const zFleetCreateInput = z.object({
239
274
  enabled: z.boolean().optional().default(true),
240
275
  project: z.string()
241
276
  }).optional(),
242
- hetzner: z.union([
243
- z.object({
244
- enabled: z.boolean().optional().default(true),
245
- apiKey: z.string().optional()
246
- }),
247
- z.object({
248
- apiKey: z.string().optional(),
249
- enabled: z.boolean().optional().default(true)
250
- })
251
- ]).optional(),
277
+ hetzner: z.object({
278
+ enabled: z.boolean().optional().default(true),
279
+ apiKey: z.string()
280
+ }).optional(),
252
281
  aws: z.object({
253
282
  enabled: z.boolean().optional().default(true),
254
283
  controllerRoleArn: z.string()
255
284
  }).optional(),
256
- id: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
257
- type: z.enum([
258
- 'managed',
259
- 'connected'
260
- ])
285
+ id: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/)
261
286
  });
262
287
  export const zFleet = z.object({
263
288
  limits: z.object({
@@ -267,25 +292,15 @@ export const zFleet = z.object({
267
292
  enabled: z.boolean().optional().default(true),
268
293
  project: z.string()
269
294
  }).optional(),
270
- hetzner: z.union([
271
- z.object({
272
- enabled: z.boolean().optional().default(true),
273
- apiKey: z.string().optional()
274
- }),
275
- z.object({
276
- apiKey: z.string().optional(),
277
- enabled: z.boolean().optional().default(true)
278
- })
279
- ]).optional(),
295
+ hetzner: z.object({
296
+ enabled: z.boolean().optional().default(true),
297
+ apiKey: z.string()
298
+ }).optional(),
280
299
  aws: z.object({
281
300
  enabled: z.boolean().optional().default(true),
282
301
  controllerRoleArn: z.string()
283
302
  }).optional(),
284
- id: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
285
- type: z.enum([
286
- 'managed',
287
- 'connected'
288
- ])
303
+ id: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/)
289
304
  });
290
305
  export const zFleetUpdateInput = z.object({
291
306
  limits: z.object({
@@ -295,16 +310,10 @@ export const zFleetUpdateInput = z.object({
295
310
  enabled: z.boolean().optional().default(true),
296
311
  project: z.string()
297
312
  }).optional(),
298
- hetzner: z.union([
299
- z.object({
300
- enabled: z.boolean().optional().default(true),
301
- apiKey: z.string().optional()
302
- }),
303
- z.object({
304
- apiKey: z.string().optional(),
305
- enabled: z.boolean().optional().default(true)
306
- })
307
- ]).optional(),
313
+ hetzner: z.object({
314
+ enabled: z.boolean().optional().default(true),
315
+ apiKey: z.string()
316
+ }).optional(),
308
317
  aws: z.object({
309
318
  enabled: z.boolean().optional().default(true),
310
319
  controllerRoleArn: z.string()
@@ -698,7 +707,13 @@ export const zInvoice = z.object({
698
707
  quantity: z.number().optional(),
699
708
  itemDetails: z.string().optional(),
700
709
  catalogEffectiveDate: z.string().optional(),
701
- childItems: z.array(z.unknown()).optional()
710
+ childItems: z.array(z.union([
711
+ z.array(z.unknown()),
712
+ z.boolean(),
713
+ z.number(),
714
+ z.object({}),
715
+ z.string()
716
+ ])).optional()
702
717
  })).optional(),
703
718
  items: z.array(z.object({
704
719
  id: z.string().uuid().optional(),
@@ -898,7 +913,13 @@ export const zInvoice = z.object({
898
913
  quantity: z.number().optional(),
899
914
  itemDetails: z.string().optional(),
900
915
  catalogEffectiveDate: z.string().optional(),
901
- childItems: z.array(z.unknown()).optional()
916
+ childItems: z.array(z.union([
917
+ z.array(z.unknown()),
918
+ z.boolean(),
919
+ z.number(),
920
+ z.object({}),
921
+ z.string()
922
+ ])).optional()
902
923
  })).optional()
903
924
  });
904
925
  export const zMarketplaceListing = z.object({
@@ -933,7 +954,6 @@ export const zOrganization = z.object({
933
954
  pro_clusters_max: z.number().int().gte(0),
934
955
  pro_clusters_available: z.number().int(),
935
956
  fleets_max: z.number().int().gte(0),
936
- managed_fleets_cpu_max: z.number().int().gte(0),
937
957
  cluster_tiers: z.array(z.string()).min(0),
938
958
  regions: z.array(z.string()).min(1),
939
959
  versions: z.array(z.object({
@@ -996,12 +1016,18 @@ export const zUsage = z.object({
996
1016
  hour: z.string().optional(),
997
1017
  cluster_id: z.string().uuid(),
998
1018
  cluster_tier: z.enum([
1019
+ 'basic',
1020
+ 'pro',
999
1021
  ''
1000
1022
  ]),
1001
1023
  product: z.enum([
1002
- 'cfke_infra_compute',
1003
- 'cfke_nodes',
1004
- 'cfke_controlplane'
1024
+ 'cfke_controlplane',
1025
+ 'cfke_connected_nodes',
1026
+ 'infra_compute',
1027
+ 'infra_storage',
1028
+ 'infra_loadbalancing',
1029
+ 'infra_traffic',
1030
+ 'cfcr_storage'
1005
1031
  ]),
1006
1032
  node_name: z.string(),
1007
1033
  sku: z.string(),
@@ -1073,53 +1099,482 @@ export const zUserUpdateInput = z.object({
1073
1099
  'inactive'
1074
1100
  ]).optional()
1075
1101
  });
1102
+ export const zGetUsageData = z.object({
1103
+ body: z.never().optional(),
1104
+ path: z.never().optional(),
1105
+ query: z.never().optional()
1106
+ });
1107
+ /**
1108
+ * An array of usage records.
1109
+ */
1076
1110
  export const zGetUsageResponse = z.array(zUsage);
1111
+ export const zGetBalanceData = z.object({
1112
+ body: z.never().optional(),
1113
+ path: z.never().optional(),
1114
+ query: z.never().optional()
1115
+ });
1116
+ /**
1117
+ * Current balance of the organization in USD as a floating-point number.
1118
+ */
1077
1119
  export const zGetBalanceResponse = z.number();
1120
+ export const zGetPaymentMethodData = z.object({
1121
+ body: z.never().optional(),
1122
+ path: z.never().optional(),
1123
+ query: z.never().optional()
1124
+ });
1125
+ /**
1126
+ * Redacted payment card information.
1127
+ */
1078
1128
  export const zGetPaymentMethodResponse = zPaymentMethod;
1129
+ export const zGetPaymentMethodSecretData = z.object({
1130
+ body: z.never().optional(),
1131
+ path: z.never().optional(),
1132
+ query: z.never().optional()
1133
+ });
1134
+ /**
1135
+ * 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.
1136
+ *
1137
+ */
1079
1138
  export const zGetPaymentMethodSecretResponse = z.object({
1080
1139
  id: z.string().optional()
1081
1140
  });
1141
+ export const zListInvoicesData = z.object({
1142
+ body: z.never().optional(),
1143
+ path: z.never().optional(),
1144
+ query: z.object({
1145
+ start_date: z.string(),
1146
+ end_date: z.string()
1147
+ })
1148
+ });
1149
+ /**
1150
+ * An array of usage records.
1151
+ */
1082
1152
  export const zListInvoicesResponse = z.array(zInvoice);
1153
+ export const zGetInvoiceData = z.object({
1154
+ body: z.never().optional(),
1155
+ path: z.object({
1156
+ id: z.string()
1157
+ }),
1158
+ query: z.never().optional()
1159
+ });
1160
+ /**
1161
+ * Returns a single Invoice HTML representation under `html` property.
1162
+ */
1083
1163
  export const zGetInvoiceResponse = z.object({
1084
1164
  html: z.string().optional()
1085
1165
  });
1166
+ export const zGetContactData = z.object({
1167
+ body: z.never().optional(),
1168
+ path: z.never().optional(),
1169
+ query: z.never().optional()
1170
+ });
1171
+ /**
1172
+ * Returns a single object containing organization contact and billing address details.
1173
+ */
1086
1174
  export const zGetContactResponse = zBillingContact;
1175
+ export const zUpdateContactData = z.object({
1176
+ body: zBillingContact,
1177
+ path: z.never().optional(),
1178
+ query: z.never().optional()
1179
+ });
1180
+ /**
1181
+ * Successfully updated. Returns updated organization details.
1182
+ */
1087
1183
  export const zUpdateContactResponse = zBillingContact;
1184
+ export const zGetCreditsData = z.object({
1185
+ body: z.never().optional(),
1186
+ path: z.never().optional(),
1187
+ query: z.never().optional()
1188
+ });
1189
+ /**
1190
+ * An array of the applied promotional credits records.
1191
+ */
1088
1192
  export const zGetCreditsResponse = z.array(zBillingCredits);
1193
+ export const zRedeemCreditsData = z.object({
1194
+ body: z.object({
1195
+ code: z.string().optional()
1196
+ }),
1197
+ path: z.never().optional(),
1198
+ query: z.never().optional()
1199
+ });
1200
+ export const zListChartsData = z.object({
1201
+ body: z.never().optional(),
1202
+ path: z.object({
1203
+ cluster_id: z.string()
1204
+ }),
1205
+ query: z.never().optional()
1206
+ });
1207
+ /**
1208
+ * An array of charts
1209
+ */
1089
1210
  export const zListChartsResponse = z.array(zChart);
1211
+ export const zCreateChartData = z.object({
1212
+ body: zChartCreateInput,
1213
+ path: z.object({
1214
+ cluster_id: z.string()
1215
+ }),
1216
+ query: z.never().optional()
1217
+ });
1218
+ /**
1219
+ * Successfully created. Returns created Chart ID.
1220
+ */
1090
1221
  export const zCreateChartResponse = z.string();
1222
+ export const zDeleteChartData = z.object({
1223
+ body: z.never().optional(),
1224
+ path: z.object({
1225
+ cluster_id: z.string(),
1226
+ chart_name: z.string()
1227
+ }),
1228
+ query: z.never().optional()
1229
+ });
1230
+ /**
1231
+ * Successfully deleted.
1232
+ */
1091
1233
  export const zDeleteChartResponse = z.string();
1234
+ export const zGetChartData = z.object({
1235
+ body: z.never().optional(),
1236
+ path: z.object({
1237
+ cluster_id: z.string(),
1238
+ chart_name: z.string()
1239
+ }),
1240
+ query: z.never().optional()
1241
+ });
1242
+ /**
1243
+ * Returns a single object containing chart details.
1244
+ */
1092
1245
  export const zGetChartResponse = zChart;
1246
+ export const zUpdateChartData = z.object({
1247
+ body: zChartUpdateInput,
1248
+ path: z.object({
1249
+ cluster_id: z.string(),
1250
+ chart_name: z.string()
1251
+ }),
1252
+ query: z.never().optional()
1253
+ });
1254
+ /**
1255
+ * Successfully updated.
1256
+ */
1093
1257
  export const zUpdateChartResponse = z.string();
1258
+ export const zListFleetsData = z.object({
1259
+ body: z.never().optional(),
1260
+ path: z.object({
1261
+ cluster_id: z.string()
1262
+ }),
1263
+ query: z.never().optional()
1264
+ });
1265
+ /**
1266
+ * An array of fleets
1267
+ */
1094
1268
  export const zListFleetsResponse = z.array(zFleet);
1269
+ export const zCreateFleetData = z.object({
1270
+ body: zFleetCreateInput,
1271
+ path: z.object({
1272
+ cluster_id: z.string()
1273
+ }),
1274
+ query: z.never().optional()
1275
+ });
1276
+ /**
1277
+ * Successfully created. Returns created Fleet ID.
1278
+ */
1095
1279
  export const zCreateFleetResponse = z.string();
1280
+ export const zDeleteFleetData = z.object({
1281
+ body: z.never().optional(),
1282
+ path: z.object({
1283
+ cluster_id: z.string(),
1284
+ fleet_name: z.string()
1285
+ }),
1286
+ query: z.never().optional()
1287
+ });
1288
+ /**
1289
+ * Successfully deleted.
1290
+ */
1096
1291
  export const zDeleteFleetResponse = z.string();
1292
+ export const zGetFleetData = z.object({
1293
+ body: z.never().optional(),
1294
+ path: z.object({
1295
+ cluster_id: z.string(),
1296
+ fleet_name: z.string()
1297
+ }),
1298
+ query: z.never().optional()
1299
+ });
1300
+ /**
1301
+ * Returns a single object containing fleet details.
1302
+ */
1097
1303
  export const zGetFleetResponse = zFleet;
1304
+ export const zUpdateFleetData = z.object({
1305
+ body: zFleetUpdateInput,
1306
+ path: z.object({
1307
+ cluster_id: z.string(),
1308
+ fleet_name: z.string()
1309
+ }),
1310
+ query: z.never().optional()
1311
+ });
1312
+ /**
1313
+ * Successfully updated.
1314
+ */
1098
1315
  export const zUpdateFleetResponse = z.string();
1316
+ export const zQueryClusterData = z.object({
1317
+ body: z.never().optional(),
1318
+ path: z.object({
1319
+ cluster_id: z.string()
1320
+ }),
1321
+ query: z.never().optional()
1322
+ });
1323
+ export const zListClustersData = z.object({
1324
+ body: z.never().optional(),
1325
+ path: z.never().optional(),
1326
+ query: z.never().optional()
1327
+ });
1328
+ /**
1329
+ * An array of clusters
1330
+ */
1099
1331
  export const zListClustersResponse = z.array(zCluster);
1332
+ export const zCreateClusterData = z.object({
1333
+ body: zClusterCreateInput,
1334
+ path: z.never().optional(),
1335
+ query: z.never().optional()
1336
+ });
1337
+ /**
1338
+ * Successfully created. Returns created Cluster ID.
1339
+ */
1100
1340
  export const zCreateClusterResponse = z.string();
1341
+ export const zDeleteClusterData = z.object({
1342
+ body: z.never().optional(),
1343
+ path: z.object({
1344
+ cluster_id: z.string()
1345
+ }),
1346
+ query: z.never().optional()
1347
+ });
1348
+ /**
1349
+ * Successfully deleted.
1350
+ */
1101
1351
  export const zDeleteClusterResponse = z.string();
1352
+ export const zGetClusterData = z.object({
1353
+ body: z.never().optional(),
1354
+ path: z.object({
1355
+ cluster_id: z.string()
1356
+ }),
1357
+ query: z.never().optional()
1358
+ });
1359
+ /**
1360
+ * Returns a single object containing cluster details.
1361
+ */
1102
1362
  export const zGetClusterResponse = zCluster;
1363
+ export const zUpdateClusterData = z.object({
1364
+ body: zClusterUpdateInput,
1365
+ path: z.object({
1366
+ cluster_id: z.string()
1367
+ }),
1368
+ query: z.never().optional()
1369
+ });
1370
+ /**
1371
+ * Successfully updated. Returns updated cluster details.
1372
+ */
1103
1373
  export const zUpdateClusterResponse = zCluster;
1374
+ export const zGetJoinInformationData = z.object({
1375
+ body: z.never().optional(),
1376
+ path: z.object({
1377
+ cluster_id: z.string()
1378
+ }),
1379
+ query: z.never().optional()
1380
+ });
1381
+ /**
1382
+ * An object of cluster join information
1383
+ */
1104
1384
  export const zGetJoinInformationResponse = zCluster;
1385
+ export const zListInvitesData = z.object({
1386
+ body: z.never().optional(),
1387
+ path: z.never().optional(),
1388
+ query: z.never().optional()
1389
+ });
1390
+ /**
1391
+ * An array of invites
1392
+ */
1105
1393
  export const zListInvitesResponse = z.array(zInvite);
1394
+ export const zCreateInviteData = z.object({
1395
+ body: z.object({
1396
+ email: z.string().optional()
1397
+ }),
1398
+ path: z.never().optional(),
1399
+ query: z.never().optional()
1400
+ });
1401
+ /**
1402
+ * Successfully created. Returns created invite details.
1403
+ */
1106
1404
  export const zCreateInviteResponse = zInvite;
1405
+ export const zGetInviteData = z.object({
1406
+ body: z.never().optional(),
1407
+ path: z.object({
1408
+ code: z.string()
1409
+ }),
1410
+ query: z.never().optional()
1411
+ });
1412
+ /**
1413
+ * Returns a single object containing invite details.
1414
+ */
1107
1415
  export const zGetInviteResponse = zInvite;
1416
+ export const zDeleteInviteData = z.object({
1417
+ body: z.never().optional(),
1418
+ path: z.object({
1419
+ email: z.string()
1420
+ }),
1421
+ query: z.never().optional()
1422
+ });
1423
+ export const zListMarketplaceChartsData = z.object({
1424
+ body: z.never().optional(),
1425
+ path: z.never().optional(),
1426
+ query: z.never().optional()
1427
+ });
1428
+ /**
1429
+ * An array of chart listings in the marketplace.
1430
+ */
1108
1431
  export const zListMarketplaceChartsResponse = z.array(zMarketplaceListing);
1432
+ export const zGetMarketplaceChartData = z.object({
1433
+ body: z.never().optional(),
1434
+ path: z.object({
1435
+ listing_id: z.string()
1436
+ }),
1437
+ query: z.never().optional()
1438
+ });
1439
+ /**
1440
+ * Returns an object containing the chart listing details.
1441
+ */
1109
1442
  export const zGetMarketplaceChartResponse = zMarketplaceListing;
1443
+ export const zGetOrganizationData = z.object({
1444
+ body: z.never().optional(),
1445
+ path: z.never().optional(),
1446
+ query: z.never().optional()
1447
+ });
1448
+ /**
1449
+ * Returns a single object containing organization details.
1450
+ */
1110
1451
  export const zGetOrganizationResponse = zOrganization;
1452
+ export const zCreateOrganizationData = z.object({
1453
+ body: zOrganizationCreateInput,
1454
+ path: z.never().optional(),
1455
+ query: z.never().optional()
1456
+ });
1457
+ export const zListTokensData = z.object({
1458
+ body: z.never().optional(),
1459
+ path: z.never().optional(),
1460
+ query: z.never().optional()
1461
+ });
1462
+ /**
1463
+ * Returns a list of access token details with masked secrets.
1464
+ */
1111
1465
  export const zListTokensResponse = z.array(zToken);
1466
+ export const zCreateTokenData = z.object({
1467
+ body: zTokenCreateInput,
1468
+ path: z.never().optional(),
1469
+ query: z.never().optional()
1470
+ });
1471
+ /**
1472
+ * Successfully created. Returns created token details with unmasked/raw secret.
1473
+ */
1112
1474
  export const zCreateTokenResponse = zToken;
1475
+ export const zDeleteTokenData = z.object({
1476
+ body: z.never().optional(),
1477
+ path: z.object({
1478
+ token_id: z.string()
1479
+ }),
1480
+ query: z.never().optional()
1481
+ });
1482
+ export const zGetTokenData = z.object({
1483
+ body: z.never().optional(),
1484
+ path: z.object({
1485
+ token_id: z.string()
1486
+ }),
1487
+ query: z.never().optional()
1488
+ });
1489
+ /**
1490
+ * Returns access token details with masked secret.
1491
+ */
1113
1492
  export const zGetTokenResponse = zToken;
1493
+ export const zUpdateTokenData = z.object({
1494
+ body: zTokenUpdateInput,
1495
+ path: z.object({
1496
+ token_id: z.string()
1497
+ }),
1498
+ query: z.never().optional()
1499
+ });
1500
+ /**
1501
+ * Successfully updated. Returns updated token details with masked secret.
1502
+ */
1114
1503
  export const zUpdateTokenResponse = zToken;
1504
+ export const zRegenerateTokenData = z.object({
1505
+ body: z.never().optional(),
1506
+ path: z.object({
1507
+ token_id: z.string()
1508
+ }),
1509
+ query: z.never().optional()
1510
+ });
1511
+ /**
1512
+ * Successfully updated. Returns updated token details with unmasked / raw secret.
1513
+ */
1115
1514
  export const zRegenerateTokenResponse = zToken;
1515
+ export const zListUserOrganizationsData = z.object({
1516
+ body: z.never().optional(),
1517
+ path: z.object({
1518
+ email: z.string()
1519
+ }),
1520
+ query: z.never().optional()
1521
+ });
1522
+ /**
1523
+ * An array of organizations the user belongs to.
1524
+ */
1116
1525
  export const zListUserOrganizationsResponse = z.array(z.object({
1117
1526
  realm: z.string().optional(),
1118
1527
  displayName: z.string().optional()
1119
1528
  }));
1529
+ export const zListUsersData = z.object({
1530
+ body: z.never().optional(),
1531
+ path: z.never().optional(),
1532
+ query: z.never().optional()
1533
+ });
1534
+ /**
1535
+ * An array of users
1536
+ */
1120
1537
  export const zListUsersResponse = z.array(zUser);
1538
+ export const zCreateUserData = z.object({
1539
+ body: zUserCreateInput,
1540
+ path: z.never().optional(),
1541
+ query: z.never().optional()
1542
+ });
1543
+ /**
1544
+ * Successfully created. Returns created user details.
1545
+ */
1121
1546
  export const zCreateUserResponse = zUser;
1547
+ export const zDeleteUserData = z.object({
1548
+ body: z.never().optional(),
1549
+ path: z.object({
1550
+ user_id: z.string()
1551
+ }),
1552
+ query: z.never().optional()
1553
+ });
1554
+ /**
1555
+ * User profile information
1556
+ */
1122
1557
  export const zDeleteUserResponse = zUser;
1558
+ export const zGetUserData = z.object({
1559
+ body: z.never().optional(),
1560
+ path: z.object({
1561
+ user_id: z.string()
1562
+ }),
1563
+ query: z.never().optional()
1564
+ });
1565
+ /**
1566
+ * User profile information
1567
+ */
1123
1568
  export const zGetUserResponse = zUser;
1569
+ export const zUpdateUserData = z.object({
1570
+ body: zUserUpdateInput,
1571
+ path: z.object({
1572
+ user_id: z.string()
1573
+ }),
1574
+ query: z.never().optional()
1575
+ });
1576
+ /**
1577
+ * Successfully created. Returns created user details.
1578
+ */
1124
1579
  export const zUpdateUserResponse = zUser;
1125
1580
  //# sourceMappingURL=zod.gen.js.map