@cloudfleet/sdk 0.0.1-d582884 → 0.0.1-d824507

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 (60) hide show
  1. package/dist/@tanstack/react-query.gen.d.ts +1125 -0
  2. package/dist/@tanstack/react-query.gen.d.ts.map +1 -0
  3. package/dist/@tanstack/react-query.gen.js +1129 -0
  4. package/dist/@tanstack/react-query.gen.js.map +1 -0
  5. package/dist/client/client.gen.d.ts.map +1 -1
  6. package/dist/client/client.gen.js +113 -98
  7. package/dist/client/client.gen.js.map +1 -1
  8. package/dist/client/index.d.ts +1 -1
  9. package/dist/client/index.d.ts.map +1 -1
  10. package/dist/client/index.js.map +1 -1
  11. package/dist/client/types.gen.d.ts +9 -13
  12. package/dist/client/types.gen.d.ts.map +1 -1
  13. package/dist/client/utils.gen.d.ts +6 -2
  14. package/dist/client/utils.gen.d.ts.map +1 -1
  15. package/dist/client/utils.gen.js +10 -12
  16. package/dist/client/utils.gen.js.map +1 -1
  17. package/dist/client.gen.d.ts.map +1 -1
  18. package/dist/client.gen.js +1 -3
  19. package/dist/client.gen.js.map +1 -1
  20. package/dist/core/auth.gen.d.ts.map +1 -1
  21. package/dist/core/auth.gen.js.map +1 -1
  22. package/dist/core/bodySerializer.gen.d.ts +16 -8
  23. package/dist/core/bodySerializer.gen.d.ts.map +1 -1
  24. package/dist/core/bodySerializer.gen.js +1 -1
  25. package/dist/core/bodySerializer.gen.js.map +1 -1
  26. package/dist/core/params.gen.d.ts +10 -0
  27. package/dist/core/params.gen.d.ts.map +1 -1
  28. package/dist/core/params.gen.js +18 -6
  29. package/dist/core/params.gen.js.map +1 -1
  30. package/dist/core/pathSerializer.gen.d.ts.map +1 -1
  31. package/dist/core/pathSerializer.gen.js +3 -11
  32. package/dist/core/pathSerializer.gen.js.map +1 -1
  33. package/dist/core/queryKeySerializer.gen.d.ts.map +1 -1
  34. package/dist/core/queryKeySerializer.gen.js +4 -11
  35. package/dist/core/queryKeySerializer.gen.js.map +1 -1
  36. package/dist/core/serverSentEvents.gen.d.ts +1 -1
  37. package/dist/core/serverSentEvents.gen.d.ts.map +1 -1
  38. package/dist/core/serverSentEvents.gen.js +6 -9
  39. package/dist/core/serverSentEvents.gen.js.map +1 -1
  40. package/dist/core/types.gen.d.ts +1 -1
  41. package/dist/core/types.gen.d.ts.map +1 -1
  42. package/dist/core/utils.gen.d.ts.map +1 -1
  43. package/dist/core/utils.gen.js +1 -1
  44. package/dist/core/utils.gen.js.map +1 -1
  45. package/dist/schemas.gen.d.ts +482 -32
  46. package/dist/schemas.gen.d.ts.map +1 -1
  47. package/dist/schemas.gen.js +1108 -125
  48. package/dist/schemas.gen.js.map +1 -1
  49. package/dist/sdk.gen.d.ts +45 -5
  50. package/dist/sdk.gen.d.ts.map +1 -1
  51. package/dist/sdk.gen.js +105 -141
  52. package/dist/sdk.gen.js.map +1 -1
  53. package/dist/services/kubernetes/api.d.ts +8 -8
  54. package/dist/types.gen.d.ts +411 -21
  55. package/dist/types.gen.d.ts.map +1 -1
  56. package/dist/zod.gen.d.ts +692 -575
  57. package/dist/zod.gen.d.ts.map +1 -1
  58. package/dist/zod.gen.js +398 -493
  59. package/dist/zod.gen.js.map +1 -1
  60. package/package.json +28 -5
@@ -275,10 +275,10 @@ export declare const ClusterCreateInputSchema: {
275
275
  };
276
276
  readonly region: {
277
277
  readonly type: "string";
278
- readonly description: "Cloudfleet control plane region. One of \"staging\", \"northamerica-central-1\", \"europe-central-1a\", \"northamerica-central-1a\". This field can not be updated after creation.";
279
- readonly default: "staging";
278
+ readonly description: "Cloudfleet control plane region. One of \"staging-1a\", \"northamerica-central-1\", \"europe-central-1a\", \"northamerica-central-1a\". This field can not be updated after creation.";
279
+ readonly default: "staging-1a";
280
280
  readonly example: "northamerica-central-1a";
281
- readonly enum: readonly ["staging", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a"];
281
+ readonly enum: readonly ["staging-1a", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a"];
282
282
  };
283
283
  readonly version_channel: {
284
284
  readonly type: "string";
@@ -306,6 +306,11 @@ export declare const ClusterJoinInformationSchema: {
306
306
  readonly description: "Internal URL of the Kubernetes cluster control plane. This is the endpoint that kubelet uses to connect to the cluster.";
307
307
  readonly example: "https://10.31.64.7:6443";
308
308
  };
309
+ readonly cluster_dns: {
310
+ readonly type: "string";
311
+ readonly description: "Cluster DNS IP address. This is the IP address of the kube-dns service in the cluster.";
312
+ readonly example: "10.96.0.10";
313
+ };
309
314
  readonly auth_key: {
310
315
  readonly type: "string";
311
316
  readonly description: "Authentication key for the cluster.";
@@ -368,7 +373,7 @@ export declare const ClusterJoinInformationSchema: {
368
373
  readonly description: "OIDC Information for hosts to access to third party API's.";
369
374
  };
370
375
  };
371
- readonly required: readonly ["certificate_authority", "endpoint", "auth_key", "bootstrap_token", "versions", "third_party_api_access_config"];
376
+ readonly required: readonly ["certificate_authority", "endpoint", "cluster_dns", "auth_key", "bootstrap_token", "versions", "third_party_api_access_config"];
372
377
  readonly additionalProperties: false;
373
378
  };
374
379
  export declare const ClusterSchema: {
@@ -390,10 +395,10 @@ export declare const ClusterSchema: {
390
395
  };
391
396
  readonly region: {
392
397
  readonly type: "string";
393
- readonly description: "Cloudfleet control plane region. One of \"staging\", \"northamerica-central-1\", \"europe-central-1a\", \"northamerica-central-1a\". This field can not be updated after creation.";
394
- readonly default: "staging";
398
+ readonly description: "Cloudfleet control plane region. One of \"staging-1a\", \"northamerica-central-1\", \"europe-central-1a\", \"northamerica-central-1a\". This field can not be updated after creation.";
399
+ readonly default: "staging-1a";
395
400
  readonly example: "northamerica-central-1a";
396
- readonly enum: readonly ["staging", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a"];
401
+ readonly enum: readonly ["staging-1a", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a"];
397
402
  };
398
403
  readonly id: {
399
404
  readonly type: "string";
@@ -875,6 +880,11 @@ export declare const MarketplaceListingSchema: {
875
880
  readonly description: "Chart home URL";
876
881
  readonly example: "https://kubernetes.github.io/ingress-nginx/";
877
882
  };
883
+ readonly icon: {
884
+ readonly type: "string";
885
+ readonly description: "A URL to an SVG or PNG image to be used as an icon";
886
+ readonly example: "https://cloudfleet.ai/images/marketplace/icons/ingress-nginx.png";
887
+ };
878
888
  readonly sources: {
879
889
  readonly type: "array";
880
890
  readonly items: {
@@ -1042,20 +1052,14 @@ export declare const OrganizationSchema: {
1042
1052
  readonly minItems: 1;
1043
1053
  readonly description: "List of CFKE control plane versions available for the organization.";
1044
1054
  };
1045
- readonly copilot_user_hourly_tokens: {
1046
- readonly type: "integer";
1047
- readonly minimum: 0;
1048
- readonly description: "User-level maximum number of tokens Cloudfleet Copilot can process per hour.";
1049
- readonly example: 42000;
1050
- };
1051
- readonly copilot_organization_hourly_tokens: {
1055
+ readonly cfcr_storage_gb: {
1052
1056
  readonly type: "integer";
1053
- readonly minimum: 0;
1054
- readonly description: "Organization-level maximum number of tokens Cloudfleet Copilot can process per hour.";
1055
- readonly example: 242000;
1057
+ readonly minimum: -1;
1058
+ readonly description: "Organization-level maximum CFCR storage volume in GB. -1 means no limit.";
1059
+ readonly example: 500;
1056
1060
  };
1057
1061
  };
1058
- readonly required: readonly ["basic_clusters_max", "basic_clusters_available", "pro_clusters_max", "pro_clusters_available", "fleets_max", "cluster_tiers", "regions", "versions", "copilot_user_hourly_tokens", "copilot_organization_hourly_tokens"];
1062
+ readonly required: readonly ["basic_clusters_max", "basic_clusters_available", "pro_clusters_max", "pro_clusters_available", "fleets_max", "cluster_tiers", "regions", "versions", "cfcr_storage_gb"];
1059
1063
  readonly additionalProperties: false;
1060
1064
  readonly description: "For security reasons, platform quota is controlled by Cloudfleet and can be updated only by Cloudfleet administrators. Please open a support ticket if you need to change the platform quota.";
1061
1065
  };
@@ -1192,20 +1196,14 @@ export declare const PlatformQuotaSchema: {
1192
1196
  readonly minItems: 1;
1193
1197
  readonly description: "List of CFKE control plane versions available for the organization.";
1194
1198
  };
1195
- readonly copilot_user_hourly_tokens: {
1196
- readonly type: "integer";
1197
- readonly minimum: 0;
1198
- readonly description: "User-level maximum number of tokens Cloudfleet Copilot can process per hour.";
1199
- readonly example: 42000;
1200
- };
1201
- readonly copilot_organization_hourly_tokens: {
1199
+ readonly cfcr_storage_gb: {
1202
1200
  readonly type: "integer";
1203
- readonly minimum: 0;
1204
- readonly description: "Organization-level maximum number of tokens Cloudfleet Copilot can process per hour.";
1205
- readonly example: 242000;
1201
+ readonly minimum: -1;
1202
+ readonly description: "Organization-level maximum CFCR storage volume in GB. -1 means no limit.";
1203
+ readonly example: 500;
1206
1204
  };
1207
1205
  };
1208
- readonly required: readonly ["basic_clusters_max", "basic_clusters_available", "pro_clusters_max", "pro_clusters_available", "fleets_max", "cluster_tiers", "regions", "versions", "copilot_user_hourly_tokens", "copilot_organization_hourly_tokens"];
1206
+ readonly required: readonly ["basic_clusters_max", "basic_clusters_available", "pro_clusters_max", "pro_clusters_available", "fleets_max", "cluster_tiers", "regions", "versions", "cfcr_storage_gb"];
1209
1207
  readonly additionalProperties: false;
1210
1208
  };
1211
1209
  export declare const RegistryRepositorySchema: {
@@ -1224,7 +1222,7 @@ export declare const RegistryRepositorySchema: {
1224
1222
  readonly uri: {
1225
1223
  readonly type: "string";
1226
1224
  readonly description: "Full URI of the repository.";
1227
- readonly example: "ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/v2/my-app";
1225
+ readonly example: "ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/my-app";
1228
1226
  };
1229
1227
  };
1230
1228
  readonly required: readonly ["name", "region", "uri"];
@@ -1246,7 +1244,7 @@ export declare const RegistryRepositoryWithTagsSchema: {
1246
1244
  readonly uri: {
1247
1245
  readonly type: "string";
1248
1246
  readonly description: "Full URI of the repository.";
1249
- readonly example: "ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/v2/my-app";
1247
+ readonly example: "ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/my-app";
1250
1248
  };
1251
1249
  readonly tags: {
1252
1250
  readonly type: "array";
@@ -1269,6 +1267,14 @@ export declare const RegistryRepositoryWithTagsSchema: {
1269
1267
  readonly description: "Media type of the manifest.";
1270
1268
  readonly example: "application/vnd.docker.distribution.manifest.v2+json";
1271
1269
  };
1270
+ readonly platforms: {
1271
+ readonly type: "array";
1272
+ readonly items: {
1273
+ readonly type: "string";
1274
+ };
1275
+ readonly description: "Array of platform strings for multi-arch images (e.g., linux/amd64, linux/arm64).";
1276
+ readonly example: readonly ["linux/amd64", "linux/arm64"];
1277
+ };
1272
1278
  };
1273
1279
  readonly required: readonly ["name", "size"];
1274
1280
  readonly additionalProperties: false;
@@ -1293,6 +1299,11 @@ export declare const RegistryTagSchema: {
1293
1299
  readonly description: "Tag name.";
1294
1300
  readonly example: "latest";
1295
1301
  };
1302
+ readonly digest: {
1303
+ readonly type: "string";
1304
+ readonly description: "Manifest digest for pulling by digest.";
1305
+ readonly example: "sha256:abcd1234ef567890abcd1234ef567890abcd1234ef567890abcd1234ef567890";
1306
+ };
1296
1307
  readonly mediaType: {
1297
1308
  readonly type: "string";
1298
1309
  readonly description: "Media type of the manifest.";
@@ -1317,6 +1328,11 @@ export declare const RegistryTagSchema: {
1317
1328
  readonly items: {
1318
1329
  readonly type: "object";
1319
1330
  readonly properties: {
1331
+ readonly digest: {
1332
+ readonly type: "string";
1333
+ readonly description: "Digest of the layer.";
1334
+ readonly example: "sha256:abcd1234ef567890abcd1234ef567890abcd1234ef567890abcd1234ef567890";
1335
+ };
1320
1336
  readonly size: {
1321
1337
  readonly type: "number";
1322
1338
  readonly format: "float";
@@ -1352,11 +1368,44 @@ export declare const RegistryTagSchema: {
1352
1368
  readonly description: "Operating system of the platform.";
1353
1369
  readonly example: "linux";
1354
1370
  };
1371
+ readonly variant: {
1372
+ readonly type: "string";
1373
+ readonly description: "Variant of the platform (e.g., v7, v8 for ARM).";
1374
+ readonly example: "v8";
1375
+ };
1355
1376
  };
1356
1377
  readonly required: readonly ["architecture", "os"];
1357
1378
  readonly additionalProperties: false;
1358
1379
  readonly description: "Platform information for the manifest.";
1359
1380
  };
1381
+ readonly layers: {
1382
+ readonly type: "array";
1383
+ readonly items: {
1384
+ readonly type: "object";
1385
+ readonly properties: {
1386
+ readonly digest: {
1387
+ readonly type: "string";
1388
+ readonly description: "Digest of the layer.";
1389
+ readonly example: "sha256:abcd1234ef567890abcd1234ef567890abcd1234ef567890abcd1234ef567890";
1390
+ };
1391
+ readonly size: {
1392
+ readonly type: "number";
1393
+ readonly format: "float";
1394
+ readonly description: "Size of the layer in bytes.";
1395
+ readonly example: 5678;
1396
+ };
1397
+ };
1398
+ readonly required: readonly ["size"];
1399
+ readonly additionalProperties: false;
1400
+ };
1401
+ readonly description: "Layers for this platform.";
1402
+ };
1403
+ readonly size: {
1404
+ readonly type: "number";
1405
+ readonly format: "float";
1406
+ readonly description: "Total size of this platform manifest in bytes.";
1407
+ readonly example: 12345678;
1408
+ };
1360
1409
  };
1361
1410
  readonly required: readonly ["digest"];
1362
1411
  readonly additionalProperties: false;
@@ -1385,7 +1434,408 @@ export declare const RegistryTagSchema: {
1385
1434
  readonly example: "ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/my-app:latest";
1386
1435
  };
1387
1436
  };
1388
- readonly required: readonly ["name", "size", "region", "repository", "uri"];
1437
+ readonly required: readonly ["name", "digest", "size", "region", "repository", "uri"];
1438
+ readonly additionalProperties: false;
1439
+ };
1440
+ export declare const TicketAttachmentSchema: {
1441
+ readonly type: "object";
1442
+ readonly properties: {
1443
+ readonly id: {
1444
+ readonly type: "string";
1445
+ readonly description: "Unique identifier of the attachment (Mongo ObjectId).";
1446
+ readonly example: "60c72b2f9f1b2c001f8e4d3c";
1447
+ };
1448
+ readonly filename: {
1449
+ readonly type: "string";
1450
+ readonly description: "Original filename as uploaded.";
1451
+ readonly example: "debug.log";
1452
+ };
1453
+ readonly content_type: {
1454
+ readonly type: "string";
1455
+ readonly description: "MIME content type of the attachment.";
1456
+ readonly example: "text/plain";
1457
+ };
1458
+ readonly size: {
1459
+ readonly type: "integer";
1460
+ readonly description: "Size of the attachment in bytes.";
1461
+ readonly example: 12345;
1462
+ };
1463
+ };
1464
+ readonly required: readonly ["id", "filename", "content_type", "size"];
1465
+ readonly additionalProperties: false;
1466
+ };
1467
+ export declare const TicketCreateInputSchema: {
1468
+ readonly type: "object";
1469
+ readonly properties: {
1470
+ readonly category: {
1471
+ readonly type: "string";
1472
+ readonly description: "Ticket category. Drives auto-assignment and may carry a subcategory in `properties`.";
1473
+ readonly example: "technical";
1474
+ readonly enum: readonly ["billing", "technical", "general"];
1475
+ };
1476
+ readonly body: {
1477
+ readonly type: "string";
1478
+ readonly maxLength: 50000;
1479
+ readonly minLength: 1;
1480
+ readonly pattern: "\\S";
1481
+ readonly description: "Initial message body in markdown. There is no separate subject — the first message body is the description.";
1482
+ readonly example: "My cluster cannot reach the registry. Logs attached.";
1483
+ };
1484
+ readonly properties: {
1485
+ readonly type: "object";
1486
+ readonly additionalProperties: true;
1487
+ readonly description: "Free-form key/value bag set by the UI (e.g. `subcategory`, `cluster_id`, `cluster_name`, `region`).";
1488
+ readonly example: {
1489
+ readonly subcategory: "cluster-question";
1490
+ readonly cluster_id: "60c72b2f9f1b2c001f8e4d3a";
1491
+ };
1492
+ };
1493
+ };
1494
+ readonly required: readonly ["category", "body"];
1495
+ readonly additionalProperties: false;
1496
+ };
1497
+ export declare const TicketListResponseSchema: {
1498
+ readonly type: "object";
1499
+ readonly properties: {
1500
+ readonly items: {
1501
+ readonly type: "array";
1502
+ readonly items: {
1503
+ readonly type: "object";
1504
+ readonly properties: {
1505
+ readonly id: {
1506
+ readonly type: "string";
1507
+ readonly description: "Unique identifier of the ticket (Mongo ObjectId).";
1508
+ readonly example: "60c72b2f9f1b2c001f8e4d3a";
1509
+ };
1510
+ readonly status: {
1511
+ readonly type: "string";
1512
+ readonly description: "Current state of the ticket.";
1513
+ readonly example: "waiting_on_us";
1514
+ readonly enum: readonly ["waiting_on_us", "waiting_on_user", "closed"];
1515
+ };
1516
+ readonly category: {
1517
+ readonly type: "string";
1518
+ readonly description: "Ticket category.";
1519
+ readonly example: "technical";
1520
+ readonly enum: readonly ["billing", "technical", "general"];
1521
+ };
1522
+ readonly summary: {
1523
+ readonly type: "string";
1524
+ readonly description: "First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.";
1525
+ readonly example: "My cluster cannot reach the registry. Logs attached.";
1526
+ };
1527
+ readonly closed_at: {
1528
+ readonly type: "string";
1529
+ readonly format: "date-time";
1530
+ readonly nullable: true;
1531
+ readonly description: "Closure timestamp. Null while the ticket is open.";
1532
+ readonly example: "2026-05-18T16:08:14.338Z";
1533
+ };
1534
+ readonly date_created: {
1535
+ readonly type: "string";
1536
+ readonly format: "date-time";
1537
+ readonly description: "Creation date of the ticket. ISO 8601 UTC.";
1538
+ readonly example: "2026-05-11T16:08:14.338Z";
1539
+ };
1540
+ readonly date_updated: {
1541
+ readonly type: "string";
1542
+ readonly format: "date-time";
1543
+ readonly description: "Last update date of the ticket. ISO 8601 UTC.";
1544
+ readonly example: "2026-05-11T16:08:14.338Z";
1545
+ };
1546
+ readonly messages: {
1547
+ readonly type: "array";
1548
+ readonly items: {
1549
+ readonly type: "object";
1550
+ readonly properties: {
1551
+ readonly id: {
1552
+ readonly type: "string";
1553
+ readonly description: "Unique identifier of the message (Mongo ObjectId).";
1554
+ readonly example: "60c72b2f9f1b2c001f8e4d3b";
1555
+ };
1556
+ readonly type: {
1557
+ readonly type: "string";
1558
+ readonly description: "Message type. Internal notes are filtered out of customer-facing responses.";
1559
+ readonly example: "customer_reply";
1560
+ readonly enum: readonly ["customer_reply", "agent_reply"];
1561
+ };
1562
+ readonly body: {
1563
+ readonly type: "string";
1564
+ readonly description: "Message body in markdown.";
1565
+ readonly example: "Thanks — that resolved it on my side.";
1566
+ };
1567
+ readonly author_first_name: {
1568
+ readonly type: "string";
1569
+ readonly nullable: true;
1570
+ readonly description: "First name of the author. Null when not provided.";
1571
+ readonly example: "Jane";
1572
+ };
1573
+ readonly author_last_name: {
1574
+ readonly type: "string";
1575
+ readonly nullable: true;
1576
+ readonly description: "Last name of the author. Null when not provided.";
1577
+ readonly example: "Doe";
1578
+ };
1579
+ readonly attachments: {
1580
+ readonly type: "array";
1581
+ readonly items: {
1582
+ readonly type: "object";
1583
+ readonly properties: {
1584
+ readonly id: {
1585
+ readonly type: "string";
1586
+ readonly description: "Unique identifier of the attachment (Mongo ObjectId).";
1587
+ readonly example: "60c72b2f9f1b2c001f8e4d3c";
1588
+ };
1589
+ readonly filename: {
1590
+ readonly type: "string";
1591
+ readonly description: "Original filename as uploaded.";
1592
+ readonly example: "debug.log";
1593
+ };
1594
+ readonly content_type: {
1595
+ readonly type: "string";
1596
+ readonly description: "MIME content type of the attachment.";
1597
+ readonly example: "text/plain";
1598
+ };
1599
+ readonly size: {
1600
+ readonly type: "integer";
1601
+ readonly description: "Size of the attachment in bytes.";
1602
+ readonly example: 12345;
1603
+ };
1604
+ };
1605
+ readonly required: readonly ["id", "filename", "content_type", "size"];
1606
+ readonly additionalProperties: false;
1607
+ };
1608
+ readonly description: "Attachments associated with this message.";
1609
+ readonly example: readonly [];
1610
+ };
1611
+ readonly date_created: {
1612
+ readonly type: "string";
1613
+ readonly format: "date-time";
1614
+ readonly description: "Creation date of the message. ISO 8601 UTC.";
1615
+ readonly example: "2026-05-11T16:08:14.338Z";
1616
+ };
1617
+ };
1618
+ readonly required: readonly ["id", "type", "body", "date_created"];
1619
+ readonly additionalProperties: false;
1620
+ };
1621
+ readonly description: "Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.";
1622
+ };
1623
+ };
1624
+ readonly required: readonly ["id", "status", "category", "summary", "date_created", "date_updated"];
1625
+ readonly additionalProperties: false;
1626
+ };
1627
+ readonly description: "Tickets for the organization, ordered newest first. Messages are omitted from list responses.";
1628
+ };
1629
+ };
1630
+ readonly required: readonly ["items"];
1631
+ readonly additionalProperties: false;
1632
+ };
1633
+ export declare const TicketMessageInputSchema: {
1634
+ readonly type: "object";
1635
+ readonly properties: {
1636
+ readonly body: {
1637
+ readonly type: "string";
1638
+ readonly maxLength: 50000;
1639
+ readonly minLength: 1;
1640
+ readonly pattern: "\\S";
1641
+ readonly description: "Reply body in markdown.";
1642
+ readonly example: "Thanks — that resolved it on my side.";
1643
+ };
1644
+ };
1645
+ readonly required: readonly ["body"];
1646
+ readonly additionalProperties: false;
1647
+ };
1648
+ export declare const TicketMessageSchema: {
1649
+ readonly type: "object";
1650
+ readonly properties: {
1651
+ readonly id: {
1652
+ readonly type: "string";
1653
+ readonly description: "Unique identifier of the message (Mongo ObjectId).";
1654
+ readonly example: "60c72b2f9f1b2c001f8e4d3b";
1655
+ };
1656
+ readonly type: {
1657
+ readonly type: "string";
1658
+ readonly description: "Message type. Internal notes are filtered out of customer-facing responses.";
1659
+ readonly example: "customer_reply";
1660
+ readonly enum: readonly ["customer_reply", "agent_reply"];
1661
+ };
1662
+ readonly body: {
1663
+ readonly type: "string";
1664
+ readonly description: "Message body in markdown.";
1665
+ readonly example: "Thanks — that resolved it on my side.";
1666
+ };
1667
+ readonly author_first_name: {
1668
+ readonly type: "string";
1669
+ readonly description: "First name of the author. Null when not provided.";
1670
+ readonly example: "Jane";
1671
+ };
1672
+ readonly author_last_name: {
1673
+ readonly type: "string";
1674
+ readonly description: "Last name of the author. Null when not provided.";
1675
+ readonly example: "Doe";
1676
+ };
1677
+ readonly attachments: {
1678
+ readonly type: "array";
1679
+ readonly items: {
1680
+ readonly type: "object";
1681
+ readonly properties: {
1682
+ readonly id: {
1683
+ readonly type: "string";
1684
+ readonly description: "Unique identifier of the attachment (Mongo ObjectId).";
1685
+ readonly example: "60c72b2f9f1b2c001f8e4d3c";
1686
+ };
1687
+ readonly filename: {
1688
+ readonly type: "string";
1689
+ readonly description: "Original filename as uploaded.";
1690
+ readonly example: "debug.log";
1691
+ };
1692
+ readonly content_type: {
1693
+ readonly type: "string";
1694
+ readonly description: "MIME content type of the attachment.";
1695
+ readonly example: "text/plain";
1696
+ };
1697
+ readonly size: {
1698
+ readonly type: "integer";
1699
+ readonly description: "Size of the attachment in bytes.";
1700
+ readonly example: 12345;
1701
+ };
1702
+ };
1703
+ readonly required: readonly ["id", "filename", "content_type", "size"];
1704
+ readonly additionalProperties: false;
1705
+ };
1706
+ readonly description: "Attachments associated with this message.";
1707
+ readonly example: readonly [];
1708
+ };
1709
+ readonly date_created: {
1710
+ readonly type: "string";
1711
+ readonly format: "date-time";
1712
+ readonly description: "Creation date of the message. ISO 8601 UTC.";
1713
+ readonly example: "2026-05-11T16:08:14.338Z";
1714
+ };
1715
+ };
1716
+ readonly required: readonly ["id", "type", "body", "date_created"];
1717
+ readonly additionalProperties: false;
1718
+ };
1719
+ export declare const TicketSchema: {
1720
+ readonly type: "object";
1721
+ readonly properties: {
1722
+ readonly id: {
1723
+ readonly type: "string";
1724
+ readonly description: "Unique identifier of the ticket (Mongo ObjectId).";
1725
+ readonly example: "60c72b2f9f1b2c001f8e4d3a";
1726
+ };
1727
+ readonly status: {
1728
+ readonly type: "string";
1729
+ readonly description: "Current state of the ticket.";
1730
+ readonly example: "waiting_on_us";
1731
+ readonly enum: readonly ["waiting_on_us", "waiting_on_user", "closed"];
1732
+ };
1733
+ readonly category: {
1734
+ readonly type: "string";
1735
+ readonly description: "Ticket category.";
1736
+ readonly example: "technical";
1737
+ readonly enum: readonly ["billing", "technical", "general"];
1738
+ };
1739
+ readonly summary: {
1740
+ readonly type: "string";
1741
+ readonly description: "First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.";
1742
+ readonly example: "My cluster cannot reach the registry. Logs attached.";
1743
+ };
1744
+ readonly closed_at: {
1745
+ readonly type: "string";
1746
+ readonly format: "date-time";
1747
+ readonly description: "Closure timestamp. Null while the ticket is open.";
1748
+ readonly example: "2026-05-18T16:08:14.338Z";
1749
+ };
1750
+ readonly date_created: {
1751
+ readonly type: "string";
1752
+ readonly format: "date-time";
1753
+ readonly description: "Creation date of the ticket. ISO 8601 UTC.";
1754
+ readonly example: "2026-05-11T16:08:14.338Z";
1755
+ };
1756
+ readonly date_updated: {
1757
+ readonly type: "string";
1758
+ readonly format: "date-time";
1759
+ readonly description: "Last update date of the ticket. ISO 8601 UTC.";
1760
+ readonly example: "2026-05-11T16:08:14.338Z";
1761
+ };
1762
+ readonly messages: {
1763
+ readonly type: "array";
1764
+ readonly items: {
1765
+ readonly type: "object";
1766
+ readonly properties: {
1767
+ readonly id: {
1768
+ readonly type: "string";
1769
+ readonly description: "Unique identifier of the message (Mongo ObjectId).";
1770
+ readonly example: "60c72b2f9f1b2c001f8e4d3b";
1771
+ };
1772
+ readonly type: {
1773
+ readonly type: "string";
1774
+ readonly description: "Message type. Internal notes are filtered out of customer-facing responses.";
1775
+ readonly example: "customer_reply";
1776
+ readonly enum: readonly ["customer_reply", "agent_reply"];
1777
+ };
1778
+ readonly body: {
1779
+ readonly type: "string";
1780
+ readonly description: "Message body in markdown.";
1781
+ readonly example: "Thanks — that resolved it on my side.";
1782
+ };
1783
+ readonly author_first_name: {
1784
+ readonly type: "string";
1785
+ readonly description: "First name of the author. Null when not provided.";
1786
+ readonly example: "Jane";
1787
+ };
1788
+ readonly author_last_name: {
1789
+ readonly type: "string";
1790
+ readonly description: "Last name of the author. Null when not provided.";
1791
+ readonly example: "Doe";
1792
+ };
1793
+ readonly attachments: {
1794
+ readonly type: "array";
1795
+ readonly items: {
1796
+ readonly type: "object";
1797
+ readonly properties: {
1798
+ readonly id: {
1799
+ readonly type: "string";
1800
+ readonly description: "Unique identifier of the attachment (Mongo ObjectId).";
1801
+ readonly example: "60c72b2f9f1b2c001f8e4d3c";
1802
+ };
1803
+ readonly filename: {
1804
+ readonly type: "string";
1805
+ readonly description: "Original filename as uploaded.";
1806
+ readonly example: "debug.log";
1807
+ };
1808
+ readonly content_type: {
1809
+ readonly type: "string";
1810
+ readonly description: "MIME content type of the attachment.";
1811
+ readonly example: "text/plain";
1812
+ };
1813
+ readonly size: {
1814
+ readonly type: "integer";
1815
+ readonly description: "Size of the attachment in bytes.";
1816
+ readonly example: 12345;
1817
+ };
1818
+ };
1819
+ readonly required: readonly ["id", "filename", "content_type", "size"];
1820
+ readonly additionalProperties: false;
1821
+ };
1822
+ readonly description: "Attachments associated with this message.";
1823
+ readonly example: readonly [];
1824
+ };
1825
+ readonly date_created: {
1826
+ readonly type: "string";
1827
+ readonly format: "date-time";
1828
+ readonly description: "Creation date of the message. ISO 8601 UTC.";
1829
+ readonly example: "2026-05-11T16:08:14.338Z";
1830
+ };
1831
+ };
1832
+ readonly required: readonly ["id", "type", "body", "date_created"];
1833
+ readonly additionalProperties: false;
1834
+ };
1835
+ readonly description: "Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.";
1836
+ };
1837
+ };
1838
+ readonly required: readonly ["id", "status", "category", "summary", "date_created", "date_updated"];
1389
1839
  readonly additionalProperties: false;
1390
1840
  };
1391
1841
  export declare const TokenCreateInputSchema: {
@@ -1 +1 @@
1
- {"version":3,"file":"schemas.gen.d.ts","sourceRoot":"","sources":["../src/schemas.gen.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgFvB,CAAC;AAEX,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmDvB,CAAC;AAEX,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwCzB,CAAC;AAEX,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkEd,CAAC;AAEX,eAAO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