@cloudfleet/sdk 0.0.1-869c561 → 0.0.1-8a43c91

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 (53) 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 +146 -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 +34 -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 +79 -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 +27 -15
  42. package/dist/schemas.gen.d.ts.map +1 -1
  43. package/dist/schemas.gen.js +27 -15
  44. package/dist/schemas.gen.js.map +1 -1
  45. package/dist/sdk.gen.d.ts +48 -48
  46. package/dist/sdk.gen.d.ts.map +1 -1
  47. package/dist/types.gen.d.ts +17 -9
  48. package/dist/types.gen.d.ts.map +1 -1
  49. package/dist/zod.gen.d.ts +1538 -538
  50. package/dist/zod.gen.d.ts.map +1 -1
  51. package/dist/zod.gen.js +330 -167
  52. package/dist/zod.gen.js.map +1 -1
  53. package/package.json +5 -6
package/dist/zod.gen.js CHANGED
@@ -1,5 +1,5 @@
1
1
  // This file is auto-generated by @hey-api/openapi-ts
2
- import { z } from 'zod';
2
+ import { z } from 'zod/v3';
3
3
  export const zBillingContact = z.object({
4
4
  company: z.string().min(2).max(120).regex(/^(?!\s)(?!.*\s$)(?=.*[a-zA-ZÆÐƎƏƐƔIJŊŒẞÞǷȜæðǝəɛɣijŋœĸſßþƿȝĄƁÇĐƊĘĦĮƘŁØƠŞȘŢȚŦŲƯY̨Ƴąɓçđɗęħįƙłøơşșţțŧųưy̨ƴÁÀÂÄǍĂĀÃÅǺĄÆǼǢƁĆĊĈČÇĎḌĐƊÐÉÈĖÊËĚĔĒĘẸƎƏƐĠĜǦĞĢƔáàâäǎăāãåǻąæǽǣɓćċĉčçďḍđɗðéèėêëěĕēęẹǝəɛġĝǧğģɣĤḤĦIÍÌİÎÏǏĬĪĨĮỊIJĴĶƘĹĻŁĽĿʼNŃN̈ŇÑŅŊÓÒÔÖǑŎŌÕŐỌØǾƠŒĥḥħıíìiîïǐĭīĩįịijĵķƙĸĺļłľŀʼnńn̈ňñņŋóòôöǒŏōõőọøǿơœŔŘŖŚŜŠŞȘṢẞŤŢṬŦÞÚÙÛÜǓŬŪŨŰŮŲỤƯẂẀŴẄǷÝỲŶŸȲỸƳŹŻŽẒŕřŗſśŝšşșṣßťţṭŧþúùûüǔŭūũűůųụưẃẁŵẅƿýỳŷÿȳỹƴźżžẓ0-9])[a-zA-ZÆÐƎƏƐƔIJŊŒẞÞǷȜæðǝəɛɣijŋœĸſßþƿȝĄƁÇĐƊĘĦĮƘŁØƠŞȘŢȚŦŲƯY̨Ƴąɓçđɗęħįƙłøơşșţțŧųưy̨ƴÁÀÂÄǍĂĀÃÅǺĄÆǼǢƁĆĊĈČÇĎḌĐƊÐÉÈĖÊËĚĔĒĘẸƎƏƐĠĜǦĞĢƔáàâäǎăāãåǻąæǽǣɓćċĉčçďḍđɗðéèėêëěĕēęẹǝəɛġĝǧğģɣĤḤĦIÍÌİÎÏǏĬĪĨĮỊIJĴĶƘĹĻŁĽĿʼNŃN̈ŇÑŅŊÓÒÔÖǑŎŌÕŐỌØǾƠŒĥḥħıíìiîïǐĭīĩįịijĵķƙĸĺļłľŀʼnńn̈ňñņŋóòôöǒŏōõőọøǿơœŔŘŖŚŜŠŞȘṢẞŤŢṬŦÞÚÙÛÜǓŬŪŨŰŮŲỤƯẂẀŴẄǷÝỲŶŸȲỸƳŹŻŽẒŕřŗſśŝšşșṣßťţṭŧþúùûüǔŭūũűůųụưẃẁŵẅƿýỳŷÿȳỹƴźżžẓ0-9 -.]{2,}$/).optional(),
5
5
  address1: z.string().optional(),
@@ -198,14 +198,15 @@ export const zChartUpdateInput = z.object({
198
198
  });
199
199
  export const zClusterCreateInput = z.object({
200
200
  name: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
201
- region: z.enum([
202
- 'staging',
203
- 'northamerica-central-1'
204
- ]).optional(),
205
201
  tier: z.enum([
206
202
  'basic',
207
203
  'pro'
208
204
  ]),
205
+ region: z.enum([
206
+ 'staging',
207
+ 'northamerica-central-1',
208
+ 'europe-central-1a'
209
+ ]).optional(),
209
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')
210
211
  });
211
212
  export const zClusterJoinInformation = z.object({
@@ -216,7 +217,8 @@ export const zClusterJoinInformation = z.object({
216
217
  versions: z.object({
217
218
  kubernetes: z.string(),
218
219
  tailscale: z.string(),
219
- containerd: z.string()
220
+ containerd: z.string(),
221
+ nvidia_driver: z.string()
220
222
  }),
221
223
  third_party_api_access_config: z.object({
222
224
  metadata_url: z.string(),
@@ -226,14 +228,15 @@ export const zClusterJoinInformation = z.object({
226
228
  });
227
229
  export const zCluster = z.object({
228
230
  name: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
229
- region: z.enum([
230
- 'staging',
231
- 'northamerica-central-1'
232
- ]).optional(),
233
231
  tier: z.enum([
234
232
  'basic',
235
233
  'pro'
236
234
  ]),
235
+ region: z.enum([
236
+ 'staging',
237
+ 'northamerica-central-1',
238
+ 'europe-central-1a'
239
+ ]).optional(),
237
240
  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'),
238
241
  id: z.string().uuid(),
239
242
  status: z.enum([
@@ -258,6 +261,10 @@ export const zCluster = z.object({
258
261
  });
259
262
  export const zClusterUpdateInput = z.object({
260
263
  name: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/).optional(),
264
+ tier: z.enum([
265
+ 'basic',
266
+ 'pro'
267
+ ]),
261
268
  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()
262
269
  });
263
270
  export const zFleetCreateInput = z.object({
@@ -701,7 +708,13 @@ export const zInvoice = z.object({
701
708
  quantity: z.number().optional(),
702
709
  itemDetails: z.string().optional(),
703
710
  catalogEffectiveDate: z.string().optional(),
704
- childItems: z.array(z.unknown()).optional()
711
+ childItems: z.array(z.union([
712
+ z.array(z.unknown()),
713
+ z.boolean(),
714
+ z.number(),
715
+ z.object({}),
716
+ z.string()
717
+ ])).optional()
705
718
  })).optional(),
706
719
  items: z.array(z.object({
707
720
  id: z.string().uuid().optional(),
@@ -901,7 +914,13 @@ export const zInvoice = z.object({
901
914
  quantity: z.number().optional(),
902
915
  itemDetails: z.string().optional(),
903
916
  catalogEffectiveDate: z.string().optional(),
904
- childItems: z.array(z.unknown()).optional()
917
+ childItems: z.array(z.union([
918
+ z.array(z.unknown()),
919
+ z.boolean(),
920
+ z.number(),
921
+ z.object({}),
922
+ z.string()
923
+ ])).optional()
905
924
  })).optional()
906
925
  });
907
926
  export const zMarketplaceListing = z.object({
@@ -1081,18 +1100,38 @@ export const zUserUpdateInput = z.object({
1081
1100
  'inactive'
1082
1101
  ]).optional()
1083
1102
  });
1103
+ export const zGetUsageData = z.object({
1104
+ body: z.never().optional(),
1105
+ path: z.never().optional(),
1106
+ query: z.never().optional()
1107
+ });
1084
1108
  /**
1085
1109
  * An array of usage records.
1086
1110
  */
1087
1111
  export const zGetUsageResponse = z.array(zUsage);
1112
+ export const zGetBalanceData = z.object({
1113
+ body: z.never().optional(),
1114
+ path: z.never().optional(),
1115
+ query: z.never().optional()
1116
+ });
1088
1117
  /**
1089
1118
  * Current balance of the organization in USD as a floating-point number.
1090
1119
  */
1091
1120
  export const zGetBalanceResponse = z.number();
1121
+ export const zGetPaymentMethodData = z.object({
1122
+ body: z.never().optional(),
1123
+ path: z.never().optional(),
1124
+ query: z.never().optional()
1125
+ });
1092
1126
  /**
1093
1127
  * Redacted payment card information.
1094
1128
  */
1095
1129
  export const zGetPaymentMethodResponse = zPaymentMethod;
1130
+ export const zGetPaymentMethodSecretData = z.object({
1131
+ body: z.never().optional(),
1132
+ path: z.never().optional(),
1133
+ query: z.never().optional()
1134
+ });
1096
1135
  /**
1097
1136
  * 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.
1098
1137
  *
@@ -1100,280 +1139,387 @@ export const zGetPaymentMethodResponse = zPaymentMethod;
1100
1139
  export const zGetPaymentMethodSecretResponse = z.object({
1101
1140
  id: z.string().optional()
1102
1141
  });
1103
- /**
1104
- * Start date for the usage. Date of oldest data point to retrieve.
1105
- */
1106
- export const zListInvoicesParameterStartDate = z.string();
1107
- /**
1108
- * End date for the usage. Date of newest data point to retrieve.
1109
- */
1110
- export const zListInvoicesParameterEndDate = z.string();
1142
+ export const zListInvoicesData = z.object({
1143
+ body: z.never().optional(),
1144
+ path: z.never().optional(),
1145
+ query: z.object({
1146
+ start_date: z.string(),
1147
+ end_date: z.string()
1148
+ })
1149
+ });
1111
1150
  /**
1112
1151
  * An array of usage records.
1113
1152
  */
1114
1153
  export const zListInvoicesResponse = z.array(zInvoice);
1115
- /**
1116
- * Unique invoice identifier. UUID v4 string in canonical form
1117
- */
1118
- export const zGetInvoiceParameterId = z.string();
1154
+ export const zGetInvoiceData = z.object({
1155
+ body: z.never().optional(),
1156
+ path: z.object({
1157
+ id: z.string()
1158
+ }),
1159
+ query: z.never().optional()
1160
+ });
1119
1161
  /**
1120
1162
  * Returns a single Invoice HTML representation under `html` property.
1121
1163
  */
1122
1164
  export const zGetInvoiceResponse = z.object({
1123
1165
  html: z.string().optional()
1124
1166
  });
1167
+ export const zGetContactData = z.object({
1168
+ body: z.never().optional(),
1169
+ path: z.never().optional(),
1170
+ query: z.never().optional()
1171
+ });
1125
1172
  /**
1126
1173
  * Returns a single object containing organization contact and billing address details.
1127
1174
  */
1128
1175
  export const zGetContactResponse = zBillingContact;
1129
- export const zUpdateContactData = zBillingContact;
1176
+ export const zUpdateContactData = z.object({
1177
+ body: zBillingContact,
1178
+ path: z.never().optional(),
1179
+ query: z.never().optional()
1180
+ });
1130
1181
  /**
1131
1182
  * Successfully updated. Returns updated organization details.
1132
1183
  */
1133
1184
  export const zUpdateContactResponse = zBillingContact;
1185
+ export const zGetCreditsData = z.object({
1186
+ body: z.never().optional(),
1187
+ path: z.never().optional(),
1188
+ query: z.never().optional()
1189
+ });
1134
1190
  /**
1135
1191
  * An array of the applied promotional credits records.
1136
1192
  */
1137
1193
  export const zGetCreditsResponse = z.array(zBillingCredits);
1138
1194
  export const zRedeemCreditsData = z.object({
1139
- code: z.string().optional()
1195
+ body: z.object({
1196
+ code: z.string().optional()
1197
+ }),
1198
+ path: z.never().optional(),
1199
+ query: z.never().optional()
1200
+ });
1201
+ export const zListChartsData = z.object({
1202
+ body: z.never().optional(),
1203
+ path: z.object({
1204
+ cluster_id: z.string()
1205
+ }),
1206
+ query: z.never().optional()
1140
1207
  });
1141
- /**
1142
- * Unique identifier of the cluster. UUID v4 string in canonical form
1143
- */
1144
- export const zListChartsParameterClusterId = z.string();
1145
1208
  /**
1146
1209
  * An array of charts
1147
1210
  */
1148
1211
  export const zListChartsResponse = z.array(zChart);
1149
- export const zCreateChartData = zChartCreateInput;
1150
- /**
1151
- * Unique identifier of the cluster. UUID v4 string in canonical form
1152
- */
1153
- export const zCreateChartParameterClusterId = z.string();
1212
+ export const zCreateChartData = z.object({
1213
+ body: zChartCreateInput,
1214
+ path: z.object({
1215
+ cluster_id: z.string()
1216
+ }),
1217
+ query: z.never().optional()
1218
+ });
1154
1219
  /**
1155
1220
  * Successfully created. Returns created Chart ID.
1156
1221
  */
1157
1222
  export const zCreateChartResponse = z.string();
1158
- /**
1159
- * Unique identifier of the cluster. UUID v4 string in canonical form
1160
- */
1161
- export const zDeleteChartParameterClusterId = z.string();
1162
- /**
1163
- * Chart deployment name as the unique identifier of the chart.
1164
- */
1165
- export const zDeleteChartParameterChartName = z.string();
1223
+ export const zDeleteChartData = z.object({
1224
+ body: z.never().optional(),
1225
+ path: z.object({
1226
+ cluster_id: z.string(),
1227
+ chart_name: z.string()
1228
+ }),
1229
+ query: z.never().optional()
1230
+ });
1166
1231
  /**
1167
1232
  * Successfully deleted.
1168
1233
  */
1169
1234
  export const zDeleteChartResponse = z.string();
1170
- /**
1171
- * Unique identifier of the cluster. UUID v4 string in canonical form
1172
- */
1173
- export const zGetChartParameterClusterId = z.string();
1174
- /**
1175
- * Chart deployment name as the unique identifier of the chart.
1176
- */
1177
- export const zGetChartParameterChartName = z.string();
1235
+ export const zGetChartData = z.object({
1236
+ body: z.never().optional(),
1237
+ path: z.object({
1238
+ cluster_id: z.string(),
1239
+ chart_name: z.string()
1240
+ }),
1241
+ query: z.never().optional()
1242
+ });
1178
1243
  /**
1179
1244
  * Returns a single object containing chart details.
1180
1245
  */
1181
1246
  export const zGetChartResponse = zChart;
1182
- export const zUpdateChartData = zChartUpdateInput;
1183
- /**
1184
- * Unique identifier of the cluster. UUID v4 string in canonical form
1185
- */
1186
- export const zUpdateChartParameterClusterId = z.string();
1187
- /**
1188
- * Chart deployment name as the unique identifier of the chart.
1189
- */
1190
- export const zUpdateChartParameterChartName = z.string();
1247
+ export const zUpdateChartData = z.object({
1248
+ body: zChartUpdateInput,
1249
+ path: z.object({
1250
+ cluster_id: z.string(),
1251
+ chart_name: z.string()
1252
+ }),
1253
+ query: z.never().optional()
1254
+ });
1191
1255
  /**
1192
1256
  * Successfully updated.
1193
1257
  */
1194
1258
  export const zUpdateChartResponse = z.string();
1195
- /**
1196
- * Unique identifier of the cluster. UUID v4 string in canonical form
1197
- */
1198
- export const zListFleetsParameterClusterId = z.string();
1259
+ export const zListFleetsData = z.object({
1260
+ body: z.never().optional(),
1261
+ path: z.object({
1262
+ cluster_id: z.string()
1263
+ }),
1264
+ query: z.never().optional()
1265
+ });
1199
1266
  /**
1200
1267
  * An array of fleets
1201
1268
  */
1202
1269
  export const zListFleetsResponse = z.array(zFleet);
1203
- export const zCreateFleetData = zFleetCreateInput;
1204
- /**
1205
- * Unique identifier of the cluster. UUID v4 string in canonical form
1206
- */
1207
- export const zCreateFleetParameterClusterId = z.string();
1270
+ export const zCreateFleetData = z.object({
1271
+ body: zFleetCreateInput,
1272
+ path: z.object({
1273
+ cluster_id: z.string()
1274
+ }),
1275
+ query: z.never().optional()
1276
+ });
1208
1277
  /**
1209
1278
  * Successfully created. Returns created Fleet ID.
1210
1279
  */
1211
1280
  export const zCreateFleetResponse = z.string();
1212
- /**
1213
- * Unique identifier of the cluster. UUID v4 string in canonical form
1214
- */
1215
- export const zDeleteFleetParameterClusterId = z.string();
1216
- /**
1217
- * Unique identifier of the fleet. UUID v4 string in canonical form
1218
- */
1219
- export const zDeleteFleetParameterFleetName = z.string();
1281
+ export const zDeleteFleetData = z.object({
1282
+ body: z.never().optional(),
1283
+ path: z.object({
1284
+ cluster_id: z.string(),
1285
+ fleet_name: z.string()
1286
+ }),
1287
+ query: z.never().optional()
1288
+ });
1220
1289
  /**
1221
1290
  * Successfully deleted.
1222
1291
  */
1223
1292
  export const zDeleteFleetResponse = z.string();
1224
- /**
1225
- * Unique identifier of the cluster. UUID v4 string in canonical form
1226
- */
1227
- export const zGetFleetParameterClusterId = z.string();
1228
- /**
1229
- * Unique identifier of the fleet. UUID v4 string in canonical form
1230
- */
1231
- export const zGetFleetParameterFleetName = z.string();
1293
+ export const zGetFleetData = z.object({
1294
+ body: z.never().optional(),
1295
+ path: z.object({
1296
+ cluster_id: z.string(),
1297
+ fleet_name: z.string()
1298
+ }),
1299
+ query: z.never().optional()
1300
+ });
1232
1301
  /**
1233
1302
  * Returns a single object containing fleet details.
1234
1303
  */
1235
1304
  export const zGetFleetResponse = zFleet;
1236
- export const zUpdateFleetData = zFleetUpdateInput;
1237
- /**
1238
- * Unique identifier of the cluster. UUID v4 string in canonical form
1239
- */
1240
- export const zUpdateFleetParameterClusterId = z.string();
1241
- /**
1242
- * Unique identifier of the fleet. UUID v4 string in canonical form
1243
- */
1244
- export const zUpdateFleetParameterFleetName = z.string();
1305
+ export const zUpdateFleetData = z.object({
1306
+ body: zFleetUpdateInput,
1307
+ path: z.object({
1308
+ cluster_id: z.string(),
1309
+ fleet_name: z.string()
1310
+ }),
1311
+ query: z.never().optional()
1312
+ });
1245
1313
  /**
1246
1314
  * Successfully updated.
1247
1315
  */
1248
1316
  export const zUpdateFleetResponse = z.string();
1249
- /**
1250
- * Unique identifier of the cluster. UUID v4 string in canonical form
1251
- */
1252
- export const zQueryClusterParameterClusterId = z.string();
1317
+ export const zQueryClusterData = z.object({
1318
+ body: z.never().optional(),
1319
+ path: z.object({
1320
+ cluster_id: z.string()
1321
+ }),
1322
+ query: z.never().optional()
1323
+ });
1324
+ export const zListClustersData = z.object({
1325
+ body: z.never().optional(),
1326
+ path: z.never().optional(),
1327
+ query: z.never().optional()
1328
+ });
1253
1329
  /**
1254
1330
  * An array of clusters
1255
1331
  */
1256
1332
  export const zListClustersResponse = z.array(zCluster);
1257
- export const zCreateClusterData = zClusterCreateInput;
1333
+ export const zCreateClusterData = z.object({
1334
+ body: zClusterCreateInput,
1335
+ path: z.never().optional(),
1336
+ query: z.never().optional()
1337
+ });
1258
1338
  /**
1259
1339
  * Successfully created. Returns created Cluster ID.
1260
1340
  */
1261
1341
  export const zCreateClusterResponse = z.string();
1262
- /**
1263
- * Unique identifier of the cluster. UUID v4 string in canonical form
1264
- */
1265
- export const zDeleteClusterParameterClusterId = z.string();
1342
+ export const zDeleteClusterData = z.object({
1343
+ body: z.never().optional(),
1344
+ path: z.object({
1345
+ cluster_id: z.string()
1346
+ }),
1347
+ query: z.never().optional()
1348
+ });
1266
1349
  /**
1267
1350
  * Successfully deleted.
1268
1351
  */
1269
1352
  export const zDeleteClusterResponse = z.string();
1270
- /**
1271
- * Unique identifier of the cluster. UUID v4 string in canonical form
1272
- */
1273
- export const zGetClusterParameterClusterId = z.string();
1353
+ export const zGetClusterData = z.object({
1354
+ body: z.never().optional(),
1355
+ path: z.object({
1356
+ cluster_id: z.string()
1357
+ }),
1358
+ query: z.never().optional()
1359
+ });
1274
1360
  /**
1275
1361
  * Returns a single object containing cluster details.
1276
1362
  */
1277
1363
  export const zGetClusterResponse = zCluster;
1278
- export const zUpdateClusterData = zClusterUpdateInput;
1279
- /**
1280
- * Unique identifier of the cluster. UUID v4 string in canonical form
1281
- */
1282
- export const zUpdateClusterParameterClusterId = z.string();
1364
+ export const zUpdateClusterData = z.object({
1365
+ body: zClusterUpdateInput,
1366
+ path: z.object({
1367
+ cluster_id: z.string()
1368
+ }),
1369
+ query: z.never().optional()
1370
+ });
1283
1371
  /**
1284
1372
  * Successfully updated. Returns updated cluster details.
1285
1373
  */
1286
1374
  export const zUpdateClusterResponse = zCluster;
1287
- /**
1288
- * Unique identifier of the cluster. UUID v4 string in canonical form
1289
- */
1290
- export const zGetJoinInformationParameterClusterId = z.string();
1375
+ export const zGetJoinInformationData = z.object({
1376
+ body: z.never().optional(),
1377
+ path: z.object({
1378
+ cluster_id: z.string()
1379
+ }),
1380
+ query: z.never().optional()
1381
+ });
1291
1382
  /**
1292
1383
  * An object of cluster join information
1293
1384
  */
1294
- export const zGetJoinInformationResponse = zCluster;
1385
+ export const zGetJoinInformationResponse = zClusterJoinInformation;
1386
+ export const zListInvitesData = z.object({
1387
+ body: z.never().optional(),
1388
+ path: z.never().optional(),
1389
+ query: z.never().optional()
1390
+ });
1295
1391
  /**
1296
1392
  * An array of invites
1297
1393
  */
1298
1394
  export const zListInvitesResponse = z.array(zInvite);
1299
1395
  export const zCreateInviteData = z.object({
1300
- email: z.string().optional()
1396
+ body: z.object({
1397
+ email: z.string().optional()
1398
+ }),
1399
+ path: z.never().optional(),
1400
+ query: z.never().optional()
1301
1401
  });
1302
1402
  /**
1303
1403
  * Successfully created. Returns created invite details.
1304
1404
  */
1305
1405
  export const zCreateInviteResponse = zInvite;
1306
- /**
1307
- * Invitation code
1308
- */
1309
- export const zGetInviteParameterCode = z.string();
1406
+ export const zGetInviteData = z.object({
1407
+ body: z.never().optional(),
1408
+ path: z.object({
1409
+ code: z.string()
1410
+ }),
1411
+ query: z.never().optional()
1412
+ });
1310
1413
  /**
1311
1414
  * Returns a single object containing invite details.
1312
1415
  */
1313
1416
  export const zGetInviteResponse = zInvite;
1314
- /**
1315
- * User email address
1316
- */
1317
- export const zDeleteInviteParameterEmail = z.string();
1417
+ export const zDeleteInviteData = z.object({
1418
+ body: z.never().optional(),
1419
+ path: z.object({
1420
+ email: z.string()
1421
+ }),
1422
+ query: z.never().optional()
1423
+ });
1424
+ export const zListMarketplaceChartsData = z.object({
1425
+ body: z.never().optional(),
1426
+ path: z.never().optional(),
1427
+ query: z.never().optional()
1428
+ });
1318
1429
  /**
1319
1430
  * An array of chart listings in the marketplace.
1320
1431
  */
1321
1432
  export const zListMarketplaceChartsResponse = z.array(zMarketplaceListing);
1322
- /**
1323
- * Unique identifier of the chart listing in the marketplace.
1324
- */
1325
- export const zGetMarketplaceChartParameterListingId = z.string();
1433
+ export const zGetMarketplaceChartData = z.object({
1434
+ body: z.never().optional(),
1435
+ path: z.object({
1436
+ listing_id: z.string()
1437
+ }),
1438
+ query: z.never().optional()
1439
+ });
1326
1440
  /**
1327
1441
  * Returns an object containing the chart listing details.
1328
1442
  */
1329
1443
  export const zGetMarketplaceChartResponse = zMarketplaceListing;
1444
+ export const zGetOrganizationData = z.object({
1445
+ body: z.never().optional(),
1446
+ path: z.never().optional(),
1447
+ query: z.never().optional()
1448
+ });
1330
1449
  /**
1331
1450
  * Returns a single object containing organization details.
1332
1451
  */
1333
1452
  export const zGetOrganizationResponse = zOrganization;
1334
- export const zCreateOrganizationData = zOrganizationCreateInput;
1453
+ export const zCreateOrganizationData = z.object({
1454
+ body: zOrganizationCreateInput,
1455
+ path: z.never().optional(),
1456
+ query: z.never().optional()
1457
+ });
1458
+ export const zListTokensData = z.object({
1459
+ body: z.never().optional(),
1460
+ path: z.never().optional(),
1461
+ query: z.never().optional()
1462
+ });
1335
1463
  /**
1336
1464
  * Returns a list of access token details with masked secrets.
1337
1465
  */
1338
1466
  export const zListTokensResponse = z.array(zToken);
1339
- export const zCreateTokenData = zTokenCreateInput;
1467
+ export const zCreateTokenData = z.object({
1468
+ body: zTokenCreateInput,
1469
+ path: z.never().optional(),
1470
+ query: z.never().optional()
1471
+ });
1340
1472
  /**
1341
1473
  * Successfully created. Returns created token details with unmasked/raw secret.
1342
1474
  */
1343
1475
  export const zCreateTokenResponse = zToken;
1344
- /**
1345
- * Generated unique identifier of the access token.
1346
- */
1347
- export const zDeleteTokenParameterTokenId = z.string();
1348
- /**
1349
- * Generated unique identifier of the access token.
1350
- */
1351
- export const zGetTokenParameterTokenId = z.string();
1476
+ export const zDeleteTokenData = z.object({
1477
+ body: z.never().optional(),
1478
+ path: z.object({
1479
+ token_id: z.string()
1480
+ }),
1481
+ query: z.never().optional()
1482
+ });
1483
+ export const zGetTokenData = z.object({
1484
+ body: z.never().optional(),
1485
+ path: z.object({
1486
+ token_id: z.string()
1487
+ }),
1488
+ query: z.never().optional()
1489
+ });
1352
1490
  /**
1353
1491
  * Returns access token details with masked secret.
1354
1492
  */
1355
1493
  export const zGetTokenResponse = zToken;
1356
- export const zUpdateTokenData = zTokenUpdateInput;
1357
- /**
1358
- * Generated unique identifier of the access token.
1359
- */
1360
- export const zUpdateTokenParameterTokenId = z.string();
1494
+ export const zUpdateTokenData = z.object({
1495
+ body: zTokenUpdateInput,
1496
+ path: z.object({
1497
+ token_id: z.string()
1498
+ }),
1499
+ query: z.never().optional()
1500
+ });
1361
1501
  /**
1362
1502
  * Successfully updated. Returns updated token details with masked secret.
1363
1503
  */
1364
1504
  export const zUpdateTokenResponse = zToken;
1365
- /**
1366
- * Generated unique identifier of the access token.
1367
- */
1368
- export const zRegenerateTokenParameterTokenId = z.string();
1505
+ export const zRegenerateTokenData = z.object({
1506
+ body: z.never().optional(),
1507
+ path: z.object({
1508
+ token_id: z.string()
1509
+ }),
1510
+ query: z.never().optional()
1511
+ });
1369
1512
  /**
1370
1513
  * Successfully updated. Returns updated token details with unmasked / raw secret.
1371
1514
  */
1372
1515
  export const zRegenerateTokenResponse = zToken;
1373
- /**
1374
- * User email address.
1375
- */
1376
- export const zListUserOrganizationsParameterEmail = z.string();
1516
+ export const zListUserOrganizationsData = z.object({
1517
+ body: z.never().optional(),
1518
+ path: z.object({
1519
+ email: z.string()
1520
+ }),
1521
+ query: z.never().optional()
1522
+ });
1377
1523
  /**
1378
1524
  * An array of organizations the user belongs to.
1379
1525
  */
@@ -1381,36 +1527,53 @@ export const zListUserOrganizationsResponse = z.array(z.object({
1381
1527
  realm: z.string().optional(),
1382
1528
  displayName: z.string().optional()
1383
1529
  }));
1530
+ export const zListUsersData = z.object({
1531
+ body: z.never().optional(),
1532
+ path: z.never().optional(),
1533
+ query: z.never().optional()
1534
+ });
1384
1535
  /**
1385
1536
  * An array of users
1386
1537
  */
1387
1538
  export const zListUsersResponse = z.array(zUser);
1388
- export const zCreateUserData = zUserCreateInput;
1539
+ export const zCreateUserData = z.object({
1540
+ body: zUserCreateInput,
1541
+ path: z.never().optional(),
1542
+ query: z.never().optional()
1543
+ });
1389
1544
  /**
1390
1545
  * Successfully created. Returns created user details.
1391
1546
  */
1392
1547
  export const zCreateUserResponse = zUser;
1393
- /**
1394
- * Unique user identifier. UUID v4 string in canonical form
1395
- */
1396
- export const zDeleteUserParameterUserId = z.string();
1548
+ export const zDeleteUserData = z.object({
1549
+ body: z.never().optional(),
1550
+ path: z.object({
1551
+ user_id: z.string()
1552
+ }),
1553
+ query: z.never().optional()
1554
+ });
1397
1555
  /**
1398
1556
  * User profile information
1399
1557
  */
1400
1558
  export const zDeleteUserResponse = zUser;
1401
- /**
1402
- * Unique user identifier. UUID v4 string in canonical form
1403
- */
1404
- export const zGetUserParameterUserId = z.string();
1559
+ export const zGetUserData = z.object({
1560
+ body: z.never().optional(),
1561
+ path: z.object({
1562
+ user_id: z.string()
1563
+ }),
1564
+ query: z.never().optional()
1565
+ });
1405
1566
  /**
1406
1567
  * User profile information
1407
1568
  */
1408
1569
  export const zGetUserResponse = zUser;
1409
- export const zUpdateUserData = zUserUpdateInput;
1410
- /**
1411
- * Unique user identifier. UUID v4 string in canonical form
1412
- */
1413
- export const zUpdateUserParameterUserId = z.string();
1570
+ export const zUpdateUserData = z.object({
1571
+ body: zUserUpdateInput,
1572
+ path: z.object({
1573
+ user_id: z.string()
1574
+ }),
1575
+ query: z.never().optional()
1576
+ });
1414
1577
  /**
1415
1578
  * Successfully created. Returns created user details.
1416
1579
  */