@cloudfleet/sdk 0.0.1-da678d2 → 0.0.1-dc16042
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.
- package/dist/@tanstack/react-query.gen.d.ts +1125 -0
- package/dist/@tanstack/react-query.gen.d.ts.map +1 -0
- package/dist/@tanstack/react-query.gen.js +1129 -0
- package/dist/@tanstack/react-query.gen.js.map +1 -0
- package/dist/client/client.gen.d.ts.map +1 -1
- package/dist/client/client.gen.js +108 -123
- package/dist/client/client.gen.js.map +1 -1
- package/dist/client/types.gen.d.ts +7 -4
- package/dist/client/types.gen.d.ts.map +1 -1
- package/dist/client/utils.gen.d.ts +5 -1
- package/dist/client/utils.gen.d.ts.map +1 -1
- package/dist/client/utils.gen.js +1 -1
- package/dist/client/utils.gen.js.map +1 -1
- package/dist/client.gen.d.ts +1 -1
- package/dist/client.gen.d.ts.map +1 -1
- package/dist/core/bodySerializer.gen.d.ts +4 -4
- package/dist/core/bodySerializer.gen.d.ts.map +1 -1
- package/dist/core/bodySerializer.gen.js.map +1 -1
- package/dist/core/serverSentEvents.gen.d.ts +1 -1
- package/dist/core/serverSentEvents.gen.d.ts.map +1 -1
- package/dist/core/serverSentEvents.gen.js +3 -4
- package/dist/core/serverSentEvents.gen.js.map +1 -1
- package/dist/core/types.gen.d.ts +1 -1
- package/dist/core/utils.gen.js +1 -1
- package/dist/core/utils.gen.js.map +1 -1
- package/dist/schemas.gen.d.ts +415 -27
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +503 -29
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +41 -3
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +67 -0
- package/dist/sdk.gen.js.map +1 -1
- package/dist/services/kubernetes/api.d.ts +8 -8
- package/dist/types.gen.d.ts +358 -16
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +672 -568
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +251 -312
- package/dist/zod.gen.js.map +1 -1
- package/package.json +23 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
|
-
export
|
|
2
|
+
export function createSseClient({ onRequest, onSseError, onSseEvent, responseTransformer, responseValidator, sseDefaultRetryDelay, sseMaxRetryAttempts, sseMaxRetryDelay, sseSleepFn, url, ...options }) {
|
|
3
3
|
let lastEventId;
|
|
4
4
|
const sleep = sseSleepFn ?? ((ms) => new Promise((resolve) => setTimeout(resolve, ms)));
|
|
5
5
|
const createStream = async function* () {
|
|
@@ -53,8 +53,7 @@ export const createSseClient = ({ onRequest, onSseError, onSseEvent, responseTra
|
|
|
53
53
|
if (done)
|
|
54
54
|
break;
|
|
55
55
|
buffer += value;
|
|
56
|
-
|
|
57
|
-
buffer = buffer.replace(/\r\n/g, '\n').replace(/\r/g, '\n');
|
|
56
|
+
buffer = buffer.replace(/\r\n?/g, '\n'); // normalize line endings
|
|
58
57
|
const chunks = buffer.split('\n\n');
|
|
59
58
|
buffer = chunks.pop() ?? '';
|
|
60
59
|
for (const chunk of chunks) {
|
|
@@ -130,5 +129,5 @@ export const createSseClient = ({ onRequest, onSseError, onSseEvent, responseTra
|
|
|
130
129
|
};
|
|
131
130
|
const stream = createStream();
|
|
132
131
|
return { stream };
|
|
133
|
-
}
|
|
132
|
+
}
|
|
134
133
|
//# sourceMappingURL=serverSentEvents.gen.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serverSentEvents.gen.js","sourceRoot":"","sources":["../../src/core/serverSentEvents.gen.ts"],"names":[],"mappings":"AAAA,qDAAqD;AAiFrD,MAAM,
|
|
1
|
+
{"version":3,"file":"serverSentEvents.gen.js","sourceRoot":"","sources":["../../src/core/serverSentEvents.gen.ts"],"names":[],"mappings":"AAAA,qDAAqD;AAiFrD,MAAM,UAAU,eAAe,CAAkB,EAC/C,SAAS,EACT,UAA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CAAC;QACH,CAAC;IACH,CAAC,CAAC;IAEF,MAAM,MAAM,GAAG,YAAY,EAAE,CAAC;IAE9B,OAAO,EAAE,MAAM,EAAE,CAAC;AACpB,CAAC"}
|
package/dist/core/types.gen.d.ts
CHANGED
|
@@ -61,7 +61,7 @@ export interface Config {
|
|
|
61
61
|
requestValidator?: (data: unknown) => Promise<unknown>;
|
|
62
62
|
/**
|
|
63
63
|
* A function transforming response data before it's returned. This is useful
|
|
64
|
-
* for post-processing data, e.g
|
|
64
|
+
* for post-processing data, e.g., converting ISO strings into Date objects.
|
|
65
65
|
*/
|
|
66
66
|
responseTransformer?: (data: unknown) => Promise<unknown>;
|
|
67
67
|
/**
|
package/dist/core/utils.gen.js
CHANGED
|
@@ -75,7 +75,7 @@ export function getValidRequestBody(options) {
|
|
|
75
75
|
const hasSerializedBody = options.serializedBody !== undefined && options.serializedBody !== '';
|
|
76
76
|
return hasSerializedBody ? options.serializedBody : null;
|
|
77
77
|
}
|
|
78
|
-
// not all clients implement a serializedBody property (i.e
|
|
78
|
+
// not all clients implement a serializedBody property (i.e., client-axios)
|
|
79
79
|
return options.body !== '' ? options.body : null;
|
|
80
80
|
}
|
|
81
81
|
// plain/text body
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.gen.js","sourceRoot":"","sources":["../../src/core/utils.gen.ts"],"names":[],"mappings":"AAAA,qDAAqD;AAGrD,OAAO,EAEL,mBAAmB,EACnB,oBAAoB,EACpB,uBAAuB,GACxB,MAAM,sBAAsB,CAAC;AAO9B,MAAM,CAAC,MAAM,aAAa,GAAG,aAAa,CAAC;AAE3C,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,EAAE,IAAI,EAAE,GAAG,EAAE,IAAI,EAAkB,EAAE,EAAE;IAC3E,IAAI,GAAG,GAAG,IAAI,CAAC;IACf,MAAM,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC;IAC1C,IAAI,OAAO,EAAE,CAAC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AE,CAAC;IACtB,CAAC;IACD,OAAO,GAAG,CAAC;AACb,CAAC,CAAC;AAEF,MAAM,UAAU,mBAAmB,CAAC,OAInC;IACC,MAAM,OAAO,GAAG,OAAO,CAAC,IAAI,KAAK,SAAS,CAAC;IAC3C,MAAM,gBAAgB,GAAG,OAAO,IAAI,OAAO,CAAC,cAAc,CAAC;IAE3D,IAAI,gBAAgB,EAAE,CAAC;QACrB,IAAI,gBAAgB,IAAI,OAAO,EAAE,CAAC;YAChC,MAAM,iBAAiB,GACrB,OAAO,CAAC,cAAc,KAAK,SAAS,IAAI,OAAO,CAAC,cAAc,KAAK,EAAE,CAAC;YAExE,OAAO,iBAAiB,CAAC,CAAC,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC,IAAI,CAAC;QAC3D,CAAC;QAED,2EAA2E;QAC3E,OAAO,OAAO,CAAC,IAAI,KAAK,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC;IACnD,CAAC;IAED,kBAAkB;IAClB,IAAI,OAAO,EAAE,CAAC;QACZ,OAAO,OAAO,CAAC,IAAI,CAAC;IACtB,CAAC;IAED,uBAAuB;IACvB,OAAO,SAAS,CAAC;AACnB,CAAC"}
|
package/dist/schemas.gen.d.ts
CHANGED
|
@@ -416,13 +416,24 @@ export declare const ClusterSchema: {
|
|
|
416
416
|
readonly anyOf: readonly [{
|
|
417
417
|
readonly type: "string";
|
|
418
418
|
readonly format: "uri";
|
|
419
|
-
readonly description: "URL of the Kubernetes cluster control plane. This is the endpoint that kubectl uses to connect to the cluster.";
|
|
419
|
+
readonly description: "URL signed by the private CA of the Kubernetes cluster control plane. This is the endpoint that kubectl uses to connect to the cluster. (Deprecated, use endpoint_public instead)";
|
|
420
420
|
readonly example: "https://2ae6557c-c61f-49c6-b4c1-a65473470a03.staging.cfke.cloudfleet.dev:6443";
|
|
421
421
|
}, {
|
|
422
422
|
readonly type: "string";
|
|
423
423
|
readonly enum: readonly [""];
|
|
424
424
|
}];
|
|
425
425
|
};
|
|
426
|
+
readonly endpoint_public: {
|
|
427
|
+
readonly anyOf: readonly [{
|
|
428
|
+
readonly type: "string";
|
|
429
|
+
readonly format: "uri";
|
|
430
|
+
readonly description: "URL signed by a public CA of the Kubernetes cluster control plane. This is the endpoint that kubectl uses to connect to the cluster.";
|
|
431
|
+
readonly example: "https://2ae6557c-c61f-49c6-b4c1-a65473470a03.staging.cfke.io";
|
|
432
|
+
}, {
|
|
433
|
+
readonly type: "string";
|
|
434
|
+
readonly enum: readonly [""];
|
|
435
|
+
}];
|
|
436
|
+
};
|
|
426
437
|
readonly certificate_ca: {
|
|
427
438
|
readonly type: "string";
|
|
428
439
|
readonly description: "Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.";
|
|
@@ -1052,18 +1063,6 @@ export declare const OrganizationSchema: {
|
|
|
1052
1063
|
readonly minItems: 1;
|
|
1053
1064
|
readonly description: "List of CFKE control plane versions available for the organization.";
|
|
1054
1065
|
};
|
|
1055
|
-
readonly copilot_user_hourly_tokens: {
|
|
1056
|
-
readonly type: "integer";
|
|
1057
|
-
readonly minimum: 0;
|
|
1058
|
-
readonly description: "User-level maximum number of tokens Cloudfleet Copilot can process per hour.";
|
|
1059
|
-
readonly example: 42000;
|
|
1060
|
-
};
|
|
1061
|
-
readonly copilot_organization_hourly_tokens: {
|
|
1062
|
-
readonly type: "integer";
|
|
1063
|
-
readonly minimum: 0;
|
|
1064
|
-
readonly description: "Organization-level maximum number of tokens Cloudfleet Copilot can process per hour.";
|
|
1065
|
-
readonly example: 242000;
|
|
1066
|
-
};
|
|
1067
1066
|
readonly cfcr_storage_gb: {
|
|
1068
1067
|
readonly type: "integer";
|
|
1069
1068
|
readonly minimum: -1;
|
|
@@ -1071,7 +1070,7 @@ export declare const OrganizationSchema: {
|
|
|
1071
1070
|
readonly example: 500;
|
|
1072
1071
|
};
|
|
1073
1072
|
};
|
|
1074
|
-
readonly required: readonly ["basic_clusters_max", "basic_clusters_available", "pro_clusters_max", "pro_clusters_available", "fleets_max", "cluster_tiers", "regions", "versions", "
|
|
1073
|
+
readonly required: readonly ["basic_clusters_max", "basic_clusters_available", "pro_clusters_max", "pro_clusters_available", "fleets_max", "cluster_tiers", "regions", "versions", "cfcr_storage_gb"];
|
|
1075
1074
|
readonly additionalProperties: false;
|
|
1076
1075
|
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.";
|
|
1077
1076
|
};
|
|
@@ -1208,18 +1207,6 @@ export declare const PlatformQuotaSchema: {
|
|
|
1208
1207
|
readonly minItems: 1;
|
|
1209
1208
|
readonly description: "List of CFKE control plane versions available for the organization.";
|
|
1210
1209
|
};
|
|
1211
|
-
readonly copilot_user_hourly_tokens: {
|
|
1212
|
-
readonly type: "integer";
|
|
1213
|
-
readonly minimum: 0;
|
|
1214
|
-
readonly description: "User-level maximum number of tokens Cloudfleet Copilot can process per hour.";
|
|
1215
|
-
readonly example: 42000;
|
|
1216
|
-
};
|
|
1217
|
-
readonly copilot_organization_hourly_tokens: {
|
|
1218
|
-
readonly type: "integer";
|
|
1219
|
-
readonly minimum: 0;
|
|
1220
|
-
readonly description: "Organization-level maximum number of tokens Cloudfleet Copilot can process per hour.";
|
|
1221
|
-
readonly example: 242000;
|
|
1222
|
-
};
|
|
1223
1210
|
readonly cfcr_storage_gb: {
|
|
1224
1211
|
readonly type: "integer";
|
|
1225
1212
|
readonly minimum: -1;
|
|
@@ -1227,7 +1214,7 @@ export declare const PlatformQuotaSchema: {
|
|
|
1227
1214
|
readonly example: 500;
|
|
1228
1215
|
};
|
|
1229
1216
|
};
|
|
1230
|
-
readonly required: readonly ["basic_clusters_max", "basic_clusters_available", "pro_clusters_max", "pro_clusters_available", "fleets_max", "cluster_tiers", "regions", "versions", "
|
|
1217
|
+
readonly required: readonly ["basic_clusters_max", "basic_clusters_available", "pro_clusters_max", "pro_clusters_available", "fleets_max", "cluster_tiers", "regions", "versions", "cfcr_storage_gb"];
|
|
1231
1218
|
readonly additionalProperties: false;
|
|
1232
1219
|
};
|
|
1233
1220
|
export declare const RegistryRepositorySchema: {
|
|
@@ -1461,6 +1448,407 @@ export declare const RegistryTagSchema: {
|
|
|
1461
1448
|
readonly required: readonly ["name", "digest", "size", "region", "repository", "uri"];
|
|
1462
1449
|
readonly additionalProperties: false;
|
|
1463
1450
|
};
|
|
1451
|
+
export declare const TicketAttachmentSchema: {
|
|
1452
|
+
readonly type: "object";
|
|
1453
|
+
readonly properties: {
|
|
1454
|
+
readonly id: {
|
|
1455
|
+
readonly type: "string";
|
|
1456
|
+
readonly description: "Unique identifier of the attachment (Mongo ObjectId).";
|
|
1457
|
+
readonly example: "60c72b2f9f1b2c001f8e4d3c";
|
|
1458
|
+
};
|
|
1459
|
+
readonly filename: {
|
|
1460
|
+
readonly type: "string";
|
|
1461
|
+
readonly description: "Original filename as uploaded.";
|
|
1462
|
+
readonly example: "debug.log";
|
|
1463
|
+
};
|
|
1464
|
+
readonly content_type: {
|
|
1465
|
+
readonly type: "string";
|
|
1466
|
+
readonly description: "MIME content type of the attachment.";
|
|
1467
|
+
readonly example: "text/plain";
|
|
1468
|
+
};
|
|
1469
|
+
readonly size: {
|
|
1470
|
+
readonly type: "integer";
|
|
1471
|
+
readonly description: "Size of the attachment in bytes.";
|
|
1472
|
+
readonly example: 12345;
|
|
1473
|
+
};
|
|
1474
|
+
};
|
|
1475
|
+
readonly required: readonly ["id", "filename", "content_type", "size"];
|
|
1476
|
+
readonly additionalProperties: false;
|
|
1477
|
+
};
|
|
1478
|
+
export declare const TicketCreateInputSchema: {
|
|
1479
|
+
readonly type: "object";
|
|
1480
|
+
readonly properties: {
|
|
1481
|
+
readonly category: {
|
|
1482
|
+
readonly type: "string";
|
|
1483
|
+
readonly description: "Ticket category. Drives auto-assignment and may carry a subcategory in `properties`.";
|
|
1484
|
+
readonly example: "technical";
|
|
1485
|
+
readonly enum: readonly ["billing", "technical", "general"];
|
|
1486
|
+
};
|
|
1487
|
+
readonly body: {
|
|
1488
|
+
readonly type: "string";
|
|
1489
|
+
readonly maxLength: 50000;
|
|
1490
|
+
readonly minLength: 1;
|
|
1491
|
+
readonly pattern: "\\S";
|
|
1492
|
+
readonly description: "Initial message body in markdown. There is no separate subject — the first message body is the description.";
|
|
1493
|
+
readonly example: "My cluster cannot reach the registry. Logs attached.";
|
|
1494
|
+
};
|
|
1495
|
+
readonly properties: {
|
|
1496
|
+
readonly type: "object";
|
|
1497
|
+
readonly additionalProperties: true;
|
|
1498
|
+
readonly description: "Free-form key/value bag set by the UI (e.g. `subcategory`, `cluster_id`, `cluster_name`, `region`).";
|
|
1499
|
+
readonly example: {
|
|
1500
|
+
readonly subcategory: "cluster-question";
|
|
1501
|
+
readonly cluster_id: "60c72b2f9f1b2c001f8e4d3a";
|
|
1502
|
+
};
|
|
1503
|
+
};
|
|
1504
|
+
};
|
|
1505
|
+
readonly required: readonly ["category", "body"];
|
|
1506
|
+
readonly additionalProperties: false;
|
|
1507
|
+
};
|
|
1508
|
+
export declare const TicketListResponseSchema: {
|
|
1509
|
+
readonly type: "object";
|
|
1510
|
+
readonly properties: {
|
|
1511
|
+
readonly items: {
|
|
1512
|
+
readonly type: "array";
|
|
1513
|
+
readonly items: {
|
|
1514
|
+
readonly type: "object";
|
|
1515
|
+
readonly properties: {
|
|
1516
|
+
readonly id: {
|
|
1517
|
+
readonly type: "string";
|
|
1518
|
+
readonly description: "Unique identifier of the ticket (Mongo ObjectId).";
|
|
1519
|
+
readonly example: "60c72b2f9f1b2c001f8e4d3a";
|
|
1520
|
+
};
|
|
1521
|
+
readonly status: {
|
|
1522
|
+
readonly type: "string";
|
|
1523
|
+
readonly description: "Current state of the ticket.";
|
|
1524
|
+
readonly example: "waiting_on_us";
|
|
1525
|
+
readonly enum: readonly ["waiting_on_us", "waiting_on_user", "closed"];
|
|
1526
|
+
};
|
|
1527
|
+
readonly category: {
|
|
1528
|
+
readonly type: "string";
|
|
1529
|
+
readonly description: "Ticket category.";
|
|
1530
|
+
readonly example: "technical";
|
|
1531
|
+
readonly enum: readonly ["billing", "technical", "general"];
|
|
1532
|
+
};
|
|
1533
|
+
readonly summary: {
|
|
1534
|
+
readonly type: "string";
|
|
1535
|
+
readonly description: "First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.";
|
|
1536
|
+
readonly example: "My cluster cannot reach the registry. Logs attached.";
|
|
1537
|
+
};
|
|
1538
|
+
readonly closed_at: {
|
|
1539
|
+
readonly type: "string";
|
|
1540
|
+
readonly format: "date-time";
|
|
1541
|
+
readonly nullable: true;
|
|
1542
|
+
readonly description: "Closure timestamp. Null while the ticket is open.";
|
|
1543
|
+
readonly example: "2026-05-18T16:08:14.338Z";
|
|
1544
|
+
};
|
|
1545
|
+
readonly date_created: {
|
|
1546
|
+
readonly type: "string";
|
|
1547
|
+
readonly format: "date-time";
|
|
1548
|
+
readonly description: "Creation date of the ticket. ISO 8601 UTC.";
|
|
1549
|
+
readonly example: "2026-05-11T16:08:14.338Z";
|
|
1550
|
+
};
|
|
1551
|
+
readonly date_updated: {
|
|
1552
|
+
readonly type: "string";
|
|
1553
|
+
readonly format: "date-time";
|
|
1554
|
+
readonly description: "Last update date of the ticket. ISO 8601 UTC.";
|
|
1555
|
+
readonly example: "2026-05-11T16:08:14.338Z";
|
|
1556
|
+
};
|
|
1557
|
+
readonly messages: {
|
|
1558
|
+
readonly type: "array";
|
|
1559
|
+
readonly items: {
|
|
1560
|
+
readonly type: "object";
|
|
1561
|
+
readonly properties: {
|
|
1562
|
+
readonly id: {
|
|
1563
|
+
readonly type: "string";
|
|
1564
|
+
readonly description: "Unique identifier of the message (Mongo ObjectId).";
|
|
1565
|
+
readonly example: "60c72b2f9f1b2c001f8e4d3b";
|
|
1566
|
+
};
|
|
1567
|
+
readonly type: {
|
|
1568
|
+
readonly type: "string";
|
|
1569
|
+
readonly description: "Message type. Internal notes are filtered out of customer-facing responses.";
|
|
1570
|
+
readonly example: "customer_reply";
|
|
1571
|
+
readonly enum: readonly ["customer_reply", "agent_reply"];
|
|
1572
|
+
};
|
|
1573
|
+
readonly body: {
|
|
1574
|
+
readonly type: "string";
|
|
1575
|
+
readonly description: "Message body in markdown.";
|
|
1576
|
+
readonly example: "Thanks — that resolved it on my side.";
|
|
1577
|
+
};
|
|
1578
|
+
readonly author_first_name: {
|
|
1579
|
+
readonly type: "string";
|
|
1580
|
+
readonly nullable: true;
|
|
1581
|
+
readonly description: "First name of the author. Null when not provided.";
|
|
1582
|
+
readonly example: "Jane";
|
|
1583
|
+
};
|
|
1584
|
+
readonly author_last_name: {
|
|
1585
|
+
readonly type: "string";
|
|
1586
|
+
readonly nullable: true;
|
|
1587
|
+
readonly description: "Last name of the author. Null when not provided.";
|
|
1588
|
+
readonly example: "Doe";
|
|
1589
|
+
};
|
|
1590
|
+
readonly attachments: {
|
|
1591
|
+
readonly type: "array";
|
|
1592
|
+
readonly items: {
|
|
1593
|
+
readonly type: "object";
|
|
1594
|
+
readonly properties: {
|
|
1595
|
+
readonly id: {
|
|
1596
|
+
readonly type: "string";
|
|
1597
|
+
readonly description: "Unique identifier of the attachment (Mongo ObjectId).";
|
|
1598
|
+
readonly example: "60c72b2f9f1b2c001f8e4d3c";
|
|
1599
|
+
};
|
|
1600
|
+
readonly filename: {
|
|
1601
|
+
readonly type: "string";
|
|
1602
|
+
readonly description: "Original filename as uploaded.";
|
|
1603
|
+
readonly example: "debug.log";
|
|
1604
|
+
};
|
|
1605
|
+
readonly content_type: {
|
|
1606
|
+
readonly type: "string";
|
|
1607
|
+
readonly description: "MIME content type of the attachment.";
|
|
1608
|
+
readonly example: "text/plain";
|
|
1609
|
+
};
|
|
1610
|
+
readonly size: {
|
|
1611
|
+
readonly type: "integer";
|
|
1612
|
+
readonly description: "Size of the attachment in bytes.";
|
|
1613
|
+
readonly example: 12345;
|
|
1614
|
+
};
|
|
1615
|
+
};
|
|
1616
|
+
readonly required: readonly ["id", "filename", "content_type", "size"];
|
|
1617
|
+
readonly additionalProperties: false;
|
|
1618
|
+
};
|
|
1619
|
+
readonly description: "Attachments associated with this message.";
|
|
1620
|
+
readonly example: readonly [];
|
|
1621
|
+
};
|
|
1622
|
+
readonly date_created: {
|
|
1623
|
+
readonly type: "string";
|
|
1624
|
+
readonly format: "date-time";
|
|
1625
|
+
readonly description: "Creation date of the message. ISO 8601 UTC.";
|
|
1626
|
+
readonly example: "2026-05-11T16:08:14.338Z";
|
|
1627
|
+
};
|
|
1628
|
+
};
|
|
1629
|
+
readonly required: readonly ["id", "type", "body", "date_created"];
|
|
1630
|
+
readonly additionalProperties: false;
|
|
1631
|
+
};
|
|
1632
|
+
readonly description: "Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.";
|
|
1633
|
+
};
|
|
1634
|
+
};
|
|
1635
|
+
readonly required: readonly ["id", "status", "category", "summary", "date_created", "date_updated"];
|
|
1636
|
+
readonly additionalProperties: false;
|
|
1637
|
+
};
|
|
1638
|
+
readonly description: "Tickets for the organization, ordered newest first. Messages are omitted from list responses.";
|
|
1639
|
+
};
|
|
1640
|
+
};
|
|
1641
|
+
readonly required: readonly ["items"];
|
|
1642
|
+
readonly additionalProperties: false;
|
|
1643
|
+
};
|
|
1644
|
+
export declare const TicketMessageInputSchema: {
|
|
1645
|
+
readonly type: "object";
|
|
1646
|
+
readonly properties: {
|
|
1647
|
+
readonly body: {
|
|
1648
|
+
readonly type: "string";
|
|
1649
|
+
readonly maxLength: 50000;
|
|
1650
|
+
readonly minLength: 1;
|
|
1651
|
+
readonly pattern: "\\S";
|
|
1652
|
+
readonly description: "Reply body in markdown.";
|
|
1653
|
+
readonly example: "Thanks — that resolved it on my side.";
|
|
1654
|
+
};
|
|
1655
|
+
};
|
|
1656
|
+
readonly required: readonly ["body"];
|
|
1657
|
+
readonly additionalProperties: false;
|
|
1658
|
+
};
|
|
1659
|
+
export declare const TicketMessageSchema: {
|
|
1660
|
+
readonly type: "object";
|
|
1661
|
+
readonly properties: {
|
|
1662
|
+
readonly id: {
|
|
1663
|
+
readonly type: "string";
|
|
1664
|
+
readonly description: "Unique identifier of the message (Mongo ObjectId).";
|
|
1665
|
+
readonly example: "60c72b2f9f1b2c001f8e4d3b";
|
|
1666
|
+
};
|
|
1667
|
+
readonly type: {
|
|
1668
|
+
readonly type: "string";
|
|
1669
|
+
readonly description: "Message type. Internal notes are filtered out of customer-facing responses.";
|
|
1670
|
+
readonly example: "customer_reply";
|
|
1671
|
+
readonly enum: readonly ["customer_reply", "agent_reply"];
|
|
1672
|
+
};
|
|
1673
|
+
readonly body: {
|
|
1674
|
+
readonly type: "string";
|
|
1675
|
+
readonly description: "Message body in markdown.";
|
|
1676
|
+
readonly example: "Thanks — that resolved it on my side.";
|
|
1677
|
+
};
|
|
1678
|
+
readonly author_first_name: {
|
|
1679
|
+
readonly type: "string";
|
|
1680
|
+
readonly description: "First name of the author. Null when not provided.";
|
|
1681
|
+
readonly example: "Jane";
|
|
1682
|
+
};
|
|
1683
|
+
readonly author_last_name: {
|
|
1684
|
+
readonly type: "string";
|
|
1685
|
+
readonly description: "Last name of the author. Null when not provided.";
|
|
1686
|
+
readonly example: "Doe";
|
|
1687
|
+
};
|
|
1688
|
+
readonly attachments: {
|
|
1689
|
+
readonly type: "array";
|
|
1690
|
+
readonly items: {
|
|
1691
|
+
readonly type: "object";
|
|
1692
|
+
readonly properties: {
|
|
1693
|
+
readonly id: {
|
|
1694
|
+
readonly type: "string";
|
|
1695
|
+
readonly description: "Unique identifier of the attachment (Mongo ObjectId).";
|
|
1696
|
+
readonly example: "60c72b2f9f1b2c001f8e4d3c";
|
|
1697
|
+
};
|
|
1698
|
+
readonly filename: {
|
|
1699
|
+
readonly type: "string";
|
|
1700
|
+
readonly description: "Original filename as uploaded.";
|
|
1701
|
+
readonly example: "debug.log";
|
|
1702
|
+
};
|
|
1703
|
+
readonly content_type: {
|
|
1704
|
+
readonly type: "string";
|
|
1705
|
+
readonly description: "MIME content type of the attachment.";
|
|
1706
|
+
readonly example: "text/plain";
|
|
1707
|
+
};
|
|
1708
|
+
readonly size: {
|
|
1709
|
+
readonly type: "integer";
|
|
1710
|
+
readonly description: "Size of the attachment in bytes.";
|
|
1711
|
+
readonly example: 12345;
|
|
1712
|
+
};
|
|
1713
|
+
};
|
|
1714
|
+
readonly required: readonly ["id", "filename", "content_type", "size"];
|
|
1715
|
+
readonly additionalProperties: false;
|
|
1716
|
+
};
|
|
1717
|
+
readonly description: "Attachments associated with this message.";
|
|
1718
|
+
readonly example: readonly [];
|
|
1719
|
+
};
|
|
1720
|
+
readonly date_created: {
|
|
1721
|
+
readonly type: "string";
|
|
1722
|
+
readonly format: "date-time";
|
|
1723
|
+
readonly description: "Creation date of the message. ISO 8601 UTC.";
|
|
1724
|
+
readonly example: "2026-05-11T16:08:14.338Z";
|
|
1725
|
+
};
|
|
1726
|
+
};
|
|
1727
|
+
readonly required: readonly ["id", "type", "body", "date_created"];
|
|
1728
|
+
readonly additionalProperties: false;
|
|
1729
|
+
};
|
|
1730
|
+
export declare const TicketSchema: {
|
|
1731
|
+
readonly type: "object";
|
|
1732
|
+
readonly properties: {
|
|
1733
|
+
readonly id: {
|
|
1734
|
+
readonly type: "string";
|
|
1735
|
+
readonly description: "Unique identifier of the ticket (Mongo ObjectId).";
|
|
1736
|
+
readonly example: "60c72b2f9f1b2c001f8e4d3a";
|
|
1737
|
+
};
|
|
1738
|
+
readonly status: {
|
|
1739
|
+
readonly type: "string";
|
|
1740
|
+
readonly description: "Current state of the ticket.";
|
|
1741
|
+
readonly example: "waiting_on_us";
|
|
1742
|
+
readonly enum: readonly ["waiting_on_us", "waiting_on_user", "closed"];
|
|
1743
|
+
};
|
|
1744
|
+
readonly category: {
|
|
1745
|
+
readonly type: "string";
|
|
1746
|
+
readonly description: "Ticket category.";
|
|
1747
|
+
readonly example: "technical";
|
|
1748
|
+
readonly enum: readonly ["billing", "technical", "general"];
|
|
1749
|
+
};
|
|
1750
|
+
readonly summary: {
|
|
1751
|
+
readonly type: "string";
|
|
1752
|
+
readonly description: "First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.";
|
|
1753
|
+
readonly example: "My cluster cannot reach the registry. Logs attached.";
|
|
1754
|
+
};
|
|
1755
|
+
readonly closed_at: {
|
|
1756
|
+
readonly type: "string";
|
|
1757
|
+
readonly format: "date-time";
|
|
1758
|
+
readonly description: "Closure timestamp. Null while the ticket is open.";
|
|
1759
|
+
readonly example: "2026-05-18T16:08:14.338Z";
|
|
1760
|
+
};
|
|
1761
|
+
readonly date_created: {
|
|
1762
|
+
readonly type: "string";
|
|
1763
|
+
readonly format: "date-time";
|
|
1764
|
+
readonly description: "Creation date of the ticket. ISO 8601 UTC.";
|
|
1765
|
+
readonly example: "2026-05-11T16:08:14.338Z";
|
|
1766
|
+
};
|
|
1767
|
+
readonly date_updated: {
|
|
1768
|
+
readonly type: "string";
|
|
1769
|
+
readonly format: "date-time";
|
|
1770
|
+
readonly description: "Last update date of the ticket. ISO 8601 UTC.";
|
|
1771
|
+
readonly example: "2026-05-11T16:08:14.338Z";
|
|
1772
|
+
};
|
|
1773
|
+
readonly messages: {
|
|
1774
|
+
readonly type: "array";
|
|
1775
|
+
readonly items: {
|
|
1776
|
+
readonly type: "object";
|
|
1777
|
+
readonly properties: {
|
|
1778
|
+
readonly id: {
|
|
1779
|
+
readonly type: "string";
|
|
1780
|
+
readonly description: "Unique identifier of the message (Mongo ObjectId).";
|
|
1781
|
+
readonly example: "60c72b2f9f1b2c001f8e4d3b";
|
|
1782
|
+
};
|
|
1783
|
+
readonly type: {
|
|
1784
|
+
readonly type: "string";
|
|
1785
|
+
readonly description: "Message type. Internal notes are filtered out of customer-facing responses.";
|
|
1786
|
+
readonly example: "customer_reply";
|
|
1787
|
+
readonly enum: readonly ["customer_reply", "agent_reply"];
|
|
1788
|
+
};
|
|
1789
|
+
readonly body: {
|
|
1790
|
+
readonly type: "string";
|
|
1791
|
+
readonly description: "Message body in markdown.";
|
|
1792
|
+
readonly example: "Thanks — that resolved it on my side.";
|
|
1793
|
+
};
|
|
1794
|
+
readonly author_first_name: {
|
|
1795
|
+
readonly type: "string";
|
|
1796
|
+
readonly description: "First name of the author. Null when not provided.";
|
|
1797
|
+
readonly example: "Jane";
|
|
1798
|
+
};
|
|
1799
|
+
readonly author_last_name: {
|
|
1800
|
+
readonly type: "string";
|
|
1801
|
+
readonly description: "Last name of the author. Null when not provided.";
|
|
1802
|
+
readonly example: "Doe";
|
|
1803
|
+
};
|
|
1804
|
+
readonly attachments: {
|
|
1805
|
+
readonly type: "array";
|
|
1806
|
+
readonly items: {
|
|
1807
|
+
readonly type: "object";
|
|
1808
|
+
readonly properties: {
|
|
1809
|
+
readonly id: {
|
|
1810
|
+
readonly type: "string";
|
|
1811
|
+
readonly description: "Unique identifier of the attachment (Mongo ObjectId).";
|
|
1812
|
+
readonly example: "60c72b2f9f1b2c001f8e4d3c";
|
|
1813
|
+
};
|
|
1814
|
+
readonly filename: {
|
|
1815
|
+
readonly type: "string";
|
|
1816
|
+
readonly description: "Original filename as uploaded.";
|
|
1817
|
+
readonly example: "debug.log";
|
|
1818
|
+
};
|
|
1819
|
+
readonly content_type: {
|
|
1820
|
+
readonly type: "string";
|
|
1821
|
+
readonly description: "MIME content type of the attachment.";
|
|
1822
|
+
readonly example: "text/plain";
|
|
1823
|
+
};
|
|
1824
|
+
readonly size: {
|
|
1825
|
+
readonly type: "integer";
|
|
1826
|
+
readonly description: "Size of the attachment in bytes.";
|
|
1827
|
+
readonly example: 12345;
|
|
1828
|
+
};
|
|
1829
|
+
};
|
|
1830
|
+
readonly required: readonly ["id", "filename", "content_type", "size"];
|
|
1831
|
+
readonly additionalProperties: false;
|
|
1832
|
+
};
|
|
1833
|
+
readonly description: "Attachments associated with this message.";
|
|
1834
|
+
readonly example: readonly [];
|
|
1835
|
+
};
|
|
1836
|
+
readonly date_created: {
|
|
1837
|
+
readonly type: "string";
|
|
1838
|
+
readonly format: "date-time";
|
|
1839
|
+
readonly description: "Creation date of the message. ISO 8601 UTC.";
|
|
1840
|
+
readonly example: "2026-05-11T16:08:14.338Z";
|
|
1841
|
+
};
|
|
1842
|
+
};
|
|
1843
|
+
readonly required: readonly ["id", "type", "body", "date_created"];
|
|
1844
|
+
readonly additionalProperties: false;
|
|
1845
|
+
};
|
|
1846
|
+
readonly description: "Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.";
|
|
1847
|
+
};
|
|
1848
|
+
};
|
|
1849
|
+
readonly required: readonly ["id", "status", "category", "summary", "date_created", "date_updated"];
|
|
1850
|
+
readonly additionalProperties: false;
|
|
1851
|
+
};
|
|
1464
1852
|
export declare const TokenCreateInputSchema: {
|
|
1465
1853
|
readonly type: "object";
|
|
1466
1854
|
readonly properties: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.gen.d.ts","sourceRoot":"","sources":["../src/schemas.gen.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoNvB,CAAC;AAEX,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2DvB,CAAC;AAEX,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8CzB,CAAC;AAEX,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4Fd,CAAC;AAEX,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;CAmBzB,CAAC;AAEX,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmD3B,CAAC;AAEX,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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