@cloudfleet/sdk 0.6.9 → 0.6.11

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 (47) 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/sdk.gen.d.ts +48 -48
  42. package/dist/sdk.gen.d.ts.map +1 -1
  43. package/dist/zod.gen.d.ts +1443 -481
  44. package/dist/zod.gen.d.ts.map +1 -1
  45. package/dist/zod.gen.js +312 -156
  46. package/dist/zod.gen.js.map +1 -1
  47. package/package.json +4 -5
package/dist/zod.gen.js CHANGED
@@ -707,7 +707,13 @@ export const zInvoice = z.object({
707
707
  quantity: z.number().optional(),
708
708
  itemDetails: z.string().optional(),
709
709
  catalogEffectiveDate: z.string().optional(),
710
- 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()
711
717
  })).optional(),
712
718
  items: z.array(z.object({
713
719
  id: z.string().uuid().optional(),
@@ -907,7 +913,13 @@ export const zInvoice = z.object({
907
913
  quantity: z.number().optional(),
908
914
  itemDetails: z.string().optional(),
909
915
  catalogEffectiveDate: z.string().optional(),
910
- 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()
911
923
  })).optional()
912
924
  });
913
925
  export const zMarketplaceListing = z.object({
@@ -1087,18 +1099,38 @@ export const zUserUpdateInput = z.object({
1087
1099
  'inactive'
1088
1100
  ]).optional()
1089
1101
  });
1102
+ export const zGetUsageData = z.object({
1103
+ body: z.never().optional(),
1104
+ path: z.never().optional(),
1105
+ query: z.never().optional()
1106
+ });
1090
1107
  /**
1091
1108
  * An array of usage records.
1092
1109
  */
1093
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
+ });
1094
1116
  /**
1095
1117
  * Current balance of the organization in USD as a floating-point number.
1096
1118
  */
1097
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
+ });
1098
1125
  /**
1099
1126
  * Redacted payment card information.
1100
1127
  */
1101
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
+ });
1102
1134
  /**
1103
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.
1104
1136
  *
@@ -1106,280 +1138,387 @@ export const zGetPaymentMethodResponse = zPaymentMethod;
1106
1138
  export const zGetPaymentMethodSecretResponse = z.object({
1107
1139
  id: z.string().optional()
1108
1140
  });
1109
- /**
1110
- * Start date for the usage. Date of oldest data point to retrieve.
1111
- */
1112
- export const zListInvoicesParameterStartDate = z.string();
1113
- /**
1114
- * End date for the usage. Date of newest data point to retrieve.
1115
- */
1116
- 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
+ });
1117
1149
  /**
1118
1150
  * An array of usage records.
1119
1151
  */
1120
1152
  export const zListInvoicesResponse = z.array(zInvoice);
1121
- /**
1122
- * Unique invoice identifier. UUID v4 string in canonical form
1123
- */
1124
- 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
+ });
1125
1160
  /**
1126
1161
  * Returns a single Invoice HTML representation under `html` property.
1127
1162
  */
1128
1163
  export const zGetInvoiceResponse = z.object({
1129
1164
  html: z.string().optional()
1130
1165
  });
1166
+ export const zGetContactData = z.object({
1167
+ body: z.never().optional(),
1168
+ path: z.never().optional(),
1169
+ query: z.never().optional()
1170
+ });
1131
1171
  /**
1132
1172
  * Returns a single object containing organization contact and billing address details.
1133
1173
  */
1134
1174
  export const zGetContactResponse = zBillingContact;
1135
- export const zUpdateContactData = zBillingContact;
1175
+ export const zUpdateContactData = z.object({
1176
+ body: zBillingContact,
1177
+ path: z.never().optional(),
1178
+ query: z.never().optional()
1179
+ });
1136
1180
  /**
1137
1181
  * Successfully updated. Returns updated organization details.
1138
1182
  */
1139
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
+ });
1140
1189
  /**
1141
1190
  * An array of the applied promotional credits records.
1142
1191
  */
1143
1192
  export const zGetCreditsResponse = z.array(zBillingCredits);
1144
1193
  export const zRedeemCreditsData = z.object({
1145
- 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()
1146
1206
  });
1147
- /**
1148
- * Unique identifier of the cluster. UUID v4 string in canonical form
1149
- */
1150
- export const zListChartsParameterClusterId = z.string();
1151
1207
  /**
1152
1208
  * An array of charts
1153
1209
  */
1154
1210
  export const zListChartsResponse = z.array(zChart);
1155
- export const zCreateChartData = zChartCreateInput;
1156
- /**
1157
- * Unique identifier of the cluster. UUID v4 string in canonical form
1158
- */
1159
- 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
+ });
1160
1218
  /**
1161
1219
  * Successfully created. Returns created Chart ID.
1162
1220
  */
1163
1221
  export const zCreateChartResponse = z.string();
1164
- /**
1165
- * Unique identifier of the cluster. UUID v4 string in canonical form
1166
- */
1167
- export const zDeleteChartParameterClusterId = z.string();
1168
- /**
1169
- * Chart deployment name as the unique identifier of the chart.
1170
- */
1171
- 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
+ });
1172
1230
  /**
1173
1231
  * Successfully deleted.
1174
1232
  */
1175
1233
  export const zDeleteChartResponse = z.string();
1176
- /**
1177
- * Unique identifier of the cluster. UUID v4 string in canonical form
1178
- */
1179
- export const zGetChartParameterClusterId = z.string();
1180
- /**
1181
- * Chart deployment name as the unique identifier of the chart.
1182
- */
1183
- 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
+ });
1184
1242
  /**
1185
1243
  * Returns a single object containing chart details.
1186
1244
  */
1187
1245
  export const zGetChartResponse = zChart;
1188
- export const zUpdateChartData = zChartUpdateInput;
1189
- /**
1190
- * Unique identifier of the cluster. UUID v4 string in canonical form
1191
- */
1192
- export const zUpdateChartParameterClusterId = z.string();
1193
- /**
1194
- * Chart deployment name as the unique identifier of the chart.
1195
- */
1196
- 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
+ });
1197
1254
  /**
1198
1255
  * Successfully updated.
1199
1256
  */
1200
1257
  export const zUpdateChartResponse = z.string();
1201
- /**
1202
- * Unique identifier of the cluster. UUID v4 string in canonical form
1203
- */
1204
- 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
+ });
1205
1265
  /**
1206
1266
  * An array of fleets
1207
1267
  */
1208
1268
  export const zListFleetsResponse = z.array(zFleet);
1209
- export const zCreateFleetData = zFleetCreateInput;
1210
- /**
1211
- * Unique identifier of the cluster. UUID v4 string in canonical form
1212
- */
1213
- 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
+ });
1214
1276
  /**
1215
1277
  * Successfully created. Returns created Fleet ID.
1216
1278
  */
1217
1279
  export const zCreateFleetResponse = z.string();
1218
- /**
1219
- * Unique identifier of the cluster. UUID v4 string in canonical form
1220
- */
1221
- export const zDeleteFleetParameterClusterId = z.string();
1222
- /**
1223
- * Unique identifier of the fleet. UUID v4 string in canonical form
1224
- */
1225
- 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
+ });
1226
1288
  /**
1227
1289
  * Successfully deleted.
1228
1290
  */
1229
1291
  export const zDeleteFleetResponse = z.string();
1230
- /**
1231
- * Unique identifier of the cluster. UUID v4 string in canonical form
1232
- */
1233
- export const zGetFleetParameterClusterId = z.string();
1234
- /**
1235
- * Unique identifier of the fleet. UUID v4 string in canonical form
1236
- */
1237
- 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
+ });
1238
1300
  /**
1239
1301
  * Returns a single object containing fleet details.
1240
1302
  */
1241
1303
  export const zGetFleetResponse = zFleet;
1242
- export const zUpdateFleetData = zFleetUpdateInput;
1243
- /**
1244
- * Unique identifier of the cluster. UUID v4 string in canonical form
1245
- */
1246
- export const zUpdateFleetParameterClusterId = z.string();
1247
- /**
1248
- * Unique identifier of the fleet. UUID v4 string in canonical form
1249
- */
1250
- 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
+ });
1251
1312
  /**
1252
1313
  * Successfully updated.
1253
1314
  */
1254
1315
  export const zUpdateFleetResponse = z.string();
1255
- /**
1256
- * Unique identifier of the cluster. UUID v4 string in canonical form
1257
- */
1258
- 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
+ });
1259
1328
  /**
1260
1329
  * An array of clusters
1261
1330
  */
1262
1331
  export const zListClustersResponse = z.array(zCluster);
1263
- export const zCreateClusterData = zClusterCreateInput;
1332
+ export const zCreateClusterData = z.object({
1333
+ body: zClusterCreateInput,
1334
+ path: z.never().optional(),
1335
+ query: z.never().optional()
1336
+ });
1264
1337
  /**
1265
1338
  * Successfully created. Returns created Cluster ID.
1266
1339
  */
1267
1340
  export const zCreateClusterResponse = z.string();
1268
- /**
1269
- * Unique identifier of the cluster. UUID v4 string in canonical form
1270
- */
1271
- 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
+ });
1272
1348
  /**
1273
1349
  * Successfully deleted.
1274
1350
  */
1275
1351
  export const zDeleteClusterResponse = z.string();
1276
- /**
1277
- * Unique identifier of the cluster. UUID v4 string in canonical form
1278
- */
1279
- 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
+ });
1280
1359
  /**
1281
1360
  * Returns a single object containing cluster details.
1282
1361
  */
1283
1362
  export const zGetClusterResponse = zCluster;
1284
- export const zUpdateClusterData = zClusterUpdateInput;
1285
- /**
1286
- * Unique identifier of the cluster. UUID v4 string in canonical form
1287
- */
1288
- 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
+ });
1289
1370
  /**
1290
1371
  * Successfully updated. Returns updated cluster details.
1291
1372
  */
1292
1373
  export const zUpdateClusterResponse = zCluster;
1293
- /**
1294
- * Unique identifier of the cluster. UUID v4 string in canonical form
1295
- */
1296
- 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
+ });
1297
1381
  /**
1298
1382
  * An object of cluster join information
1299
1383
  */
1300
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
+ });
1301
1390
  /**
1302
1391
  * An array of invites
1303
1392
  */
1304
1393
  export const zListInvitesResponse = z.array(zInvite);
1305
1394
  export const zCreateInviteData = z.object({
1306
- email: z.string().optional()
1395
+ body: z.object({
1396
+ email: z.string().optional()
1397
+ }),
1398
+ path: z.never().optional(),
1399
+ query: z.never().optional()
1307
1400
  });
1308
1401
  /**
1309
1402
  * Successfully created. Returns created invite details.
1310
1403
  */
1311
1404
  export const zCreateInviteResponse = zInvite;
1312
- /**
1313
- * Invitation code
1314
- */
1315
- 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
+ });
1316
1412
  /**
1317
1413
  * Returns a single object containing invite details.
1318
1414
  */
1319
1415
  export const zGetInviteResponse = zInvite;
1320
- /**
1321
- * User email address
1322
- */
1323
- 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
+ });
1324
1428
  /**
1325
1429
  * An array of chart listings in the marketplace.
1326
1430
  */
1327
1431
  export const zListMarketplaceChartsResponse = z.array(zMarketplaceListing);
1328
- /**
1329
- * Unique identifier of the chart listing in the marketplace.
1330
- */
1331
- 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
+ });
1332
1439
  /**
1333
1440
  * Returns an object containing the chart listing details.
1334
1441
  */
1335
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
+ });
1336
1448
  /**
1337
1449
  * Returns a single object containing organization details.
1338
1450
  */
1339
1451
  export const zGetOrganizationResponse = zOrganization;
1340
- 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
+ });
1341
1462
  /**
1342
1463
  * Returns a list of access token details with masked secrets.
1343
1464
  */
1344
1465
  export const zListTokensResponse = z.array(zToken);
1345
- export const zCreateTokenData = zTokenCreateInput;
1466
+ export const zCreateTokenData = z.object({
1467
+ body: zTokenCreateInput,
1468
+ path: z.never().optional(),
1469
+ query: z.never().optional()
1470
+ });
1346
1471
  /**
1347
1472
  * Successfully created. Returns created token details with unmasked/raw secret.
1348
1473
  */
1349
1474
  export const zCreateTokenResponse = zToken;
1350
- /**
1351
- * Generated unique identifier of the access token.
1352
- */
1353
- export const zDeleteTokenParameterTokenId = z.string();
1354
- /**
1355
- * Generated unique identifier of the access token.
1356
- */
1357
- 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
+ });
1358
1489
  /**
1359
1490
  * Returns access token details with masked secret.
1360
1491
  */
1361
1492
  export const zGetTokenResponse = zToken;
1362
- export const zUpdateTokenData = zTokenUpdateInput;
1363
- /**
1364
- * Generated unique identifier of the access token.
1365
- */
1366
- 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
+ });
1367
1500
  /**
1368
1501
  * Successfully updated. Returns updated token details with masked secret.
1369
1502
  */
1370
1503
  export const zUpdateTokenResponse = zToken;
1371
- /**
1372
- * Generated unique identifier of the access token.
1373
- */
1374
- 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
+ });
1375
1511
  /**
1376
1512
  * Successfully updated. Returns updated token details with unmasked / raw secret.
1377
1513
  */
1378
1514
  export const zRegenerateTokenResponse = zToken;
1379
- /**
1380
- * User email address.
1381
- */
1382
- 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
+ });
1383
1522
  /**
1384
1523
  * An array of organizations the user belongs to.
1385
1524
  */
@@ -1387,36 +1526,53 @@ export const zListUserOrganizationsResponse = z.array(z.object({
1387
1526
  realm: z.string().optional(),
1388
1527
  displayName: z.string().optional()
1389
1528
  }));
1529
+ export const zListUsersData = z.object({
1530
+ body: z.never().optional(),
1531
+ path: z.never().optional(),
1532
+ query: z.never().optional()
1533
+ });
1390
1534
  /**
1391
1535
  * An array of users
1392
1536
  */
1393
1537
  export const zListUsersResponse = z.array(zUser);
1394
- export const zCreateUserData = zUserCreateInput;
1538
+ export const zCreateUserData = z.object({
1539
+ body: zUserCreateInput,
1540
+ path: z.never().optional(),
1541
+ query: z.never().optional()
1542
+ });
1395
1543
  /**
1396
1544
  * Successfully created. Returns created user details.
1397
1545
  */
1398
1546
  export const zCreateUserResponse = zUser;
1399
- /**
1400
- * Unique user identifier. UUID v4 string in canonical form
1401
- */
1402
- 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
+ });
1403
1554
  /**
1404
1555
  * User profile information
1405
1556
  */
1406
1557
  export const zDeleteUserResponse = zUser;
1407
- /**
1408
- * Unique user identifier. UUID v4 string in canonical form
1409
- */
1410
- 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
+ });
1411
1565
  /**
1412
1566
  * User profile information
1413
1567
  */
1414
1568
  export const zGetUserResponse = zUser;
1415
- export const zUpdateUserData = zUserUpdateInput;
1416
- /**
1417
- * Unique user identifier. UUID v4 string in canonical form
1418
- */
1419
- 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
+ });
1420
1576
  /**
1421
1577
  * Successfully created. Returns created user details.
1422
1578
  */