@cloudfleet/sdk 0.0.1-869c561 → 0.0.1-964486e

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 +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 +21 -14
  42. package/dist/schemas.gen.d.ts.map +1 -1
  43. package/dist/schemas.gen.js +21 -14
  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 +12 -8
  48. package/dist/types.gen.d.ts.map +1 -1
  49. package/dist/zod.gen.d.ts +1463 -495
  50. package/dist/zod.gen.d.ts.map +1 -1
  51. package/dist/zod.gen.js +326 -164
  52. package/dist/zod.gen.js.map +1 -1
  53. package/package.json +4 -5
package/dist/zod.gen.js CHANGED
@@ -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({
@@ -226,14 +227,15 @@ export const zClusterJoinInformation = z.object({
226
227
  });
227
228
  export const zCluster = z.object({
228
229
  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
230
  tier: z.enum([
234
231
  'basic',
235
232
  'pro'
236
233
  ]),
234
+ region: z.enum([
235
+ 'staging',
236
+ 'northamerica-central-1',
237
+ 'europe-central-1a'
238
+ ]).optional(),
237
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'),
238
240
  id: z.string().uuid(),
239
241
  status: z.enum([
@@ -258,6 +260,10 @@ export const zCluster = z.object({
258
260
  });
259
261
  export const zClusterUpdateInput = z.object({
260
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
+ ]),
261
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()
262
268
  });
263
269
  export const zFleetCreateInput = z.object({
@@ -701,7 +707,13 @@ export const zInvoice = z.object({
701
707
  quantity: z.number().optional(),
702
708
  itemDetails: z.string().optional(),
703
709
  catalogEffectiveDate: z.string().optional(),
704
- 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()
705
717
  })).optional(),
706
718
  items: z.array(z.object({
707
719
  id: z.string().uuid().optional(),
@@ -901,7 +913,13 @@ export const zInvoice = z.object({
901
913
  quantity: z.number().optional(),
902
914
  itemDetails: z.string().optional(),
903
915
  catalogEffectiveDate: z.string().optional(),
904
- 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()
905
923
  })).optional()
906
924
  });
907
925
  export const zMarketplaceListing = z.object({
@@ -1081,18 +1099,38 @@ export const zUserUpdateInput = z.object({
1081
1099
  'inactive'
1082
1100
  ]).optional()
1083
1101
  });
1102
+ export const zGetUsageData = z.object({
1103
+ body: z.never().optional(),
1104
+ path: z.never().optional(),
1105
+ query: z.never().optional()
1106
+ });
1084
1107
  /**
1085
1108
  * An array of usage records.
1086
1109
  */
1087
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
+ });
1088
1116
  /**
1089
1117
  * Current balance of the organization in USD as a floating-point number.
1090
1118
  */
1091
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
+ });
1092
1125
  /**
1093
1126
  * Redacted payment card information.
1094
1127
  */
1095
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
+ });
1096
1134
  /**
1097
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.
1098
1136
  *
@@ -1100,280 +1138,387 @@ export const zGetPaymentMethodResponse = zPaymentMethod;
1100
1138
  export const zGetPaymentMethodSecretResponse = z.object({
1101
1139
  id: z.string().optional()
1102
1140
  });
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();
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
+ });
1111
1149
  /**
1112
1150
  * An array of usage records.
1113
1151
  */
1114
1152
  export const zListInvoicesResponse = z.array(zInvoice);
1115
- /**
1116
- * Unique invoice identifier. UUID v4 string in canonical form
1117
- */
1118
- export const zGetInvoiceParameterId = z.string();
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
+ });
1119
1160
  /**
1120
1161
  * Returns a single Invoice HTML representation under `html` property.
1121
1162
  */
1122
1163
  export const zGetInvoiceResponse = z.object({
1123
1164
  html: z.string().optional()
1124
1165
  });
1166
+ export const zGetContactData = z.object({
1167
+ body: z.never().optional(),
1168
+ path: z.never().optional(),
1169
+ query: z.never().optional()
1170
+ });
1125
1171
  /**
1126
1172
  * Returns a single object containing organization contact and billing address details.
1127
1173
  */
1128
1174
  export const zGetContactResponse = zBillingContact;
1129
- export const zUpdateContactData = zBillingContact;
1175
+ export const zUpdateContactData = z.object({
1176
+ body: zBillingContact,
1177
+ path: z.never().optional(),
1178
+ query: z.never().optional()
1179
+ });
1130
1180
  /**
1131
1181
  * Successfully updated. Returns updated organization details.
1132
1182
  */
1133
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
+ });
1134
1189
  /**
1135
1190
  * An array of the applied promotional credits records.
1136
1191
  */
1137
1192
  export const zGetCreditsResponse = z.array(zBillingCredits);
1138
1193
  export const zRedeemCreditsData = z.object({
1139
- code: z.string().optional()
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()
1140
1206
  });
1141
- /**
1142
- * Unique identifier of the cluster. UUID v4 string in canonical form
1143
- */
1144
- export const zListChartsParameterClusterId = z.string();
1145
1207
  /**
1146
1208
  * An array of charts
1147
1209
  */
1148
1210
  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();
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
+ });
1154
1218
  /**
1155
1219
  * Successfully created. Returns created Chart ID.
1156
1220
  */
1157
1221
  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();
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
+ });
1166
1230
  /**
1167
1231
  * Successfully deleted.
1168
1232
  */
1169
1233
  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();
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
+ });
1178
1242
  /**
1179
1243
  * Returns a single object containing chart details.
1180
1244
  */
1181
1245
  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();
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
+ });
1191
1254
  /**
1192
1255
  * Successfully updated.
1193
1256
  */
1194
1257
  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();
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
+ });
1199
1265
  /**
1200
1266
  * An array of fleets
1201
1267
  */
1202
1268
  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();
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
+ });
1208
1276
  /**
1209
1277
  * Successfully created. Returns created Fleet ID.
1210
1278
  */
1211
1279
  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();
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
+ });
1220
1288
  /**
1221
1289
  * Successfully deleted.
1222
1290
  */
1223
1291
  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();
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
+ });
1232
1300
  /**
1233
1301
  * Returns a single object containing fleet details.
1234
1302
  */
1235
1303
  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();
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
+ });
1245
1312
  /**
1246
1313
  * Successfully updated.
1247
1314
  */
1248
1315
  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();
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
+ });
1253
1328
  /**
1254
1329
  * An array of clusters
1255
1330
  */
1256
1331
  export const zListClustersResponse = z.array(zCluster);
1257
- export const zCreateClusterData = zClusterCreateInput;
1332
+ export const zCreateClusterData = z.object({
1333
+ body: zClusterCreateInput,
1334
+ path: z.never().optional(),
1335
+ query: z.never().optional()
1336
+ });
1258
1337
  /**
1259
1338
  * Successfully created. Returns created Cluster ID.
1260
1339
  */
1261
1340
  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();
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
+ });
1266
1348
  /**
1267
1349
  * Successfully deleted.
1268
1350
  */
1269
1351
  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();
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
+ });
1274
1359
  /**
1275
1360
  * Returns a single object containing cluster details.
1276
1361
  */
1277
1362
  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();
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
+ });
1283
1370
  /**
1284
1371
  * Successfully updated. Returns updated cluster details.
1285
1372
  */
1286
1373
  export const zUpdateClusterResponse = zCluster;
1287
- /**
1288
- * Unique identifier of the cluster. UUID v4 string in canonical form
1289
- */
1290
- export const zGetJoinInformationParameterClusterId = z.string();
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
+ });
1291
1381
  /**
1292
1382
  * An object of cluster join information
1293
1383
  */
1294
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
+ });
1295
1390
  /**
1296
1391
  * An array of invites
1297
1392
  */
1298
1393
  export const zListInvitesResponse = z.array(zInvite);
1299
1394
  export const zCreateInviteData = z.object({
1300
- email: z.string().optional()
1395
+ body: z.object({
1396
+ email: z.string().optional()
1397
+ }),
1398
+ path: z.never().optional(),
1399
+ query: z.never().optional()
1301
1400
  });
1302
1401
  /**
1303
1402
  * Successfully created. Returns created invite details.
1304
1403
  */
1305
1404
  export const zCreateInviteResponse = zInvite;
1306
- /**
1307
- * Invitation code
1308
- */
1309
- export const zGetInviteParameterCode = z.string();
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
+ });
1310
1412
  /**
1311
1413
  * Returns a single object containing invite details.
1312
1414
  */
1313
1415
  export const zGetInviteResponse = zInvite;
1314
- /**
1315
- * User email address
1316
- */
1317
- export const zDeleteInviteParameterEmail = z.string();
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
+ });
1318
1428
  /**
1319
1429
  * An array of chart listings in the marketplace.
1320
1430
  */
1321
1431
  export const zListMarketplaceChartsResponse = z.array(zMarketplaceListing);
1322
- /**
1323
- * Unique identifier of the chart listing in the marketplace.
1324
- */
1325
- export const zGetMarketplaceChartParameterListingId = z.string();
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
+ });
1326
1439
  /**
1327
1440
  * Returns an object containing the chart listing details.
1328
1441
  */
1329
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
+ });
1330
1448
  /**
1331
1449
  * Returns a single object containing organization details.
1332
1450
  */
1333
1451
  export const zGetOrganizationResponse = zOrganization;
1334
- export const zCreateOrganizationData = zOrganizationCreateInput;
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
+ });
1335
1462
  /**
1336
1463
  * Returns a list of access token details with masked secrets.
1337
1464
  */
1338
1465
  export const zListTokensResponse = z.array(zToken);
1339
- export const zCreateTokenData = zTokenCreateInput;
1466
+ export const zCreateTokenData = z.object({
1467
+ body: zTokenCreateInput,
1468
+ path: z.never().optional(),
1469
+ query: z.never().optional()
1470
+ });
1340
1471
  /**
1341
1472
  * Successfully created. Returns created token details with unmasked/raw secret.
1342
1473
  */
1343
1474
  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();
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
+ });
1352
1489
  /**
1353
1490
  * Returns access token details with masked secret.
1354
1491
  */
1355
1492
  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();
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
+ });
1361
1500
  /**
1362
1501
  * Successfully updated. Returns updated token details with masked secret.
1363
1502
  */
1364
1503
  export const zUpdateTokenResponse = zToken;
1365
- /**
1366
- * Generated unique identifier of the access token.
1367
- */
1368
- export const zRegenerateTokenParameterTokenId = z.string();
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
+ });
1369
1511
  /**
1370
1512
  * Successfully updated. Returns updated token details with unmasked / raw secret.
1371
1513
  */
1372
1514
  export const zRegenerateTokenResponse = zToken;
1373
- /**
1374
- * User email address.
1375
- */
1376
- export const zListUserOrganizationsParameterEmail = z.string();
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
+ });
1377
1522
  /**
1378
1523
  * An array of organizations the user belongs to.
1379
1524
  */
@@ -1381,36 +1526,53 @@ export const zListUserOrganizationsResponse = z.array(z.object({
1381
1526
  realm: z.string().optional(),
1382
1527
  displayName: z.string().optional()
1383
1528
  }));
1529
+ export const zListUsersData = z.object({
1530
+ body: z.never().optional(),
1531
+ path: z.never().optional(),
1532
+ query: z.never().optional()
1533
+ });
1384
1534
  /**
1385
1535
  * An array of users
1386
1536
  */
1387
1537
  export const zListUsersResponse = z.array(zUser);
1388
- export const zCreateUserData = zUserCreateInput;
1538
+ export const zCreateUserData = z.object({
1539
+ body: zUserCreateInput,
1540
+ path: z.never().optional(),
1541
+ query: z.never().optional()
1542
+ });
1389
1543
  /**
1390
1544
  * Successfully created. Returns created user details.
1391
1545
  */
1392
1546
  export const zCreateUserResponse = zUser;
1393
- /**
1394
- * Unique user identifier. UUID v4 string in canonical form
1395
- */
1396
- export const zDeleteUserParameterUserId = z.string();
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
+ });
1397
1554
  /**
1398
1555
  * User profile information
1399
1556
  */
1400
1557
  export const zDeleteUserResponse = zUser;
1401
- /**
1402
- * Unique user identifier. UUID v4 string in canonical form
1403
- */
1404
- export const zGetUserParameterUserId = z.string();
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
+ });
1405
1565
  /**
1406
1566
  * User profile information
1407
1567
  */
1408
1568
  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();
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
+ });
1414
1576
  /**
1415
1577
  * Successfully created. Returns created user details.
1416
1578
  */