@cloudfleet/sdk 1.0.0 → 1.0.1
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 +44 -4
- package/dist/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/@tanstack/react-query.gen.js +40 -0
- package/dist/@tanstack/react-query.gen.js.map +1 -1
- package/dist/schemas.gen.d.ts +48 -140
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +96 -174
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +17 -1
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +27 -0
- package/dist/sdk.gen.js.map +1 -1
- package/dist/types.gen.d.ts +63 -91
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +133 -75
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +60 -39
- package/dist/zod.gen.js.map +1 -1
- package/package.json +1 -1
package/dist/zod.gen.d.ts
CHANGED
|
@@ -1,4 +1,20 @@
|
|
|
1
1
|
import * as z from 'zod';
|
|
2
|
+
export declare const zBasicPriceConsentInput: z.ZodObject<{
|
|
3
|
+
decision: z.ZodEnum<{
|
|
4
|
+
rejected: "rejected";
|
|
5
|
+
accepted: "accepted";
|
|
6
|
+
}>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
export declare const zBasicPriceConsent: z.ZodObject<{
|
|
9
|
+
status: z.ZodEnum<{
|
|
10
|
+
pending: "pending";
|
|
11
|
+
rejected: "rejected";
|
|
12
|
+
accepted: "accepted";
|
|
13
|
+
not_applicable: "not_applicable";
|
|
14
|
+
}>;
|
|
15
|
+
decided_at: z.ZodOptional<z.ZodISODateTime>;
|
|
16
|
+
decided_by: z.ZodOptional<z.ZodString>;
|
|
17
|
+
}, z.core.$strip>;
|
|
2
18
|
export declare const zBillingContact: z.ZodObject<{
|
|
3
19
|
type: z.ZodEnum<{
|
|
4
20
|
business: "business";
|
|
@@ -1296,42 +1312,6 @@ export declare const zTicketCreateInput: z.ZodObject<{
|
|
|
1296
1312
|
body: z.ZodString;
|
|
1297
1313
|
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1298
1314
|
}, z.core.$strip>;
|
|
1299
|
-
export declare const zTicketListResponse: z.ZodObject<{
|
|
1300
|
-
items: z.ZodArray<z.ZodObject<{
|
|
1301
|
-
id: z.ZodString;
|
|
1302
|
-
status: z.ZodEnum<{
|
|
1303
|
-
closed: "closed";
|
|
1304
|
-
waiting_on_us: "waiting_on_us";
|
|
1305
|
-
waiting_on_user: "waiting_on_user";
|
|
1306
|
-
}>;
|
|
1307
|
-
category: z.ZodEnum<{
|
|
1308
|
-
billing: "billing";
|
|
1309
|
-
technical: "technical";
|
|
1310
|
-
general: "general";
|
|
1311
|
-
}>;
|
|
1312
|
-
summary: z.ZodString;
|
|
1313
|
-
closed_at: z.ZodOptional<z.ZodISODateTime>;
|
|
1314
|
-
date_created: z.ZodISODateTime;
|
|
1315
|
-
date_updated: z.ZodISODateTime;
|
|
1316
|
-
messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1317
|
-
id: z.ZodString;
|
|
1318
|
-
type: z.ZodEnum<{
|
|
1319
|
-
customer_reply: "customer_reply";
|
|
1320
|
-
agent_reply: "agent_reply";
|
|
1321
|
-
}>;
|
|
1322
|
-
body: z.ZodString;
|
|
1323
|
-
author_first_name: z.ZodOptional<z.ZodString>;
|
|
1324
|
-
author_last_name: z.ZodOptional<z.ZodString>;
|
|
1325
|
-
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1326
|
-
id: z.ZodString;
|
|
1327
|
-
filename: z.ZodString;
|
|
1328
|
-
content_type: z.ZodString;
|
|
1329
|
-
size: z.ZodInt;
|
|
1330
|
-
}, z.core.$strip>>>;
|
|
1331
|
-
date_created: z.ZodISODateTime;
|
|
1332
|
-
}, z.core.$strip>>>;
|
|
1333
|
-
}, z.core.$strip>>;
|
|
1334
|
-
}, z.core.$strip>;
|
|
1335
1315
|
export declare const zTicketMessageInput: z.ZodObject<{
|
|
1336
1316
|
body: z.ZodString;
|
|
1337
1317
|
}, z.core.$strip>;
|
|
@@ -1412,26 +1392,58 @@ export declare const zTokenUpdateInput: z.ZodObject<{
|
|
|
1412
1392
|
}, z.core.$strip>;
|
|
1413
1393
|
export declare const zUsageFacets: z.ZodObject<{
|
|
1414
1394
|
cluster_id: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1415
|
-
product: z.ZodOptional<z.ZodArray<z.
|
|
1395
|
+
product: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1396
|
+
cfke_controlplane_basic: "cfke_controlplane_basic";
|
|
1397
|
+
cfke_controlplane_pro: "cfke_controlplane_pro";
|
|
1398
|
+
cfke_controlplane_enterprise: "cfke_controlplane_enterprise";
|
|
1399
|
+
cfke_connected_nodes_basic: "cfke_connected_nodes_basic";
|
|
1400
|
+
cfke_connected_nodes_pro: "cfke_connected_nodes_pro";
|
|
1401
|
+
cfke_connected_nodes_enterprise: "cfke_connected_nodes_enterprise";
|
|
1402
|
+
cfcr_storage: "cfcr_storage";
|
|
1403
|
+
}>>>;
|
|
1416
1404
|
}, z.core.$strip>;
|
|
1417
1405
|
export declare const zUsageResponse: z.ZodObject<{
|
|
1418
1406
|
data: z.ZodArray<z.ZodObject<{
|
|
1419
1407
|
hour: z.ZodString;
|
|
1420
1408
|
cluster_id: z.ZodString;
|
|
1421
|
-
product: z.
|
|
1409
|
+
product: z.ZodEnum<{
|
|
1410
|
+
cfke_controlplane_basic: "cfke_controlplane_basic";
|
|
1411
|
+
cfke_controlplane_pro: "cfke_controlplane_pro";
|
|
1412
|
+
cfke_controlplane_enterprise: "cfke_controlplane_enterprise";
|
|
1413
|
+
cfke_connected_nodes_basic: "cfke_connected_nodes_basic";
|
|
1414
|
+
cfke_connected_nodes_pro: "cfke_connected_nodes_pro";
|
|
1415
|
+
cfke_connected_nodes_enterprise: "cfke_connected_nodes_enterprise";
|
|
1416
|
+
cfcr_storage: "cfcr_storage";
|
|
1417
|
+
}>;
|
|
1422
1418
|
value: z.ZodNumber;
|
|
1423
1419
|
price: z.ZodNumber;
|
|
1424
1420
|
total: z.ZodNumber;
|
|
1425
1421
|
}, z.core.$strip>>;
|
|
1426
1422
|
facets: z.ZodObject<{
|
|
1427
1423
|
cluster_id: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1428
|
-
product: z.ZodOptional<z.ZodArray<z.
|
|
1424
|
+
product: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1425
|
+
cfke_controlplane_basic: "cfke_controlplane_basic";
|
|
1426
|
+
cfke_controlplane_pro: "cfke_controlplane_pro";
|
|
1427
|
+
cfke_controlplane_enterprise: "cfke_controlplane_enterprise";
|
|
1428
|
+
cfke_connected_nodes_basic: "cfke_connected_nodes_basic";
|
|
1429
|
+
cfke_connected_nodes_pro: "cfke_connected_nodes_pro";
|
|
1430
|
+
cfke_connected_nodes_enterprise: "cfke_connected_nodes_enterprise";
|
|
1431
|
+
cfcr_storage: "cfcr_storage";
|
|
1432
|
+
}>>>;
|
|
1429
1433
|
}, z.core.$strip>;
|
|
1430
1434
|
}, z.core.$strip>;
|
|
1431
1435
|
export declare const zUsage: z.ZodObject<{
|
|
1432
1436
|
hour: z.ZodString;
|
|
1433
1437
|
cluster_id: z.ZodString;
|
|
1434
|
-
product: z.
|
|
1438
|
+
product: z.ZodEnum<{
|
|
1439
|
+
cfke_controlplane_basic: "cfke_controlplane_basic";
|
|
1440
|
+
cfke_controlplane_pro: "cfke_controlplane_pro";
|
|
1441
|
+
cfke_controlplane_enterprise: "cfke_controlplane_enterprise";
|
|
1442
|
+
cfke_connected_nodes_basic: "cfke_connected_nodes_basic";
|
|
1443
|
+
cfke_connected_nodes_pro: "cfke_connected_nodes_pro";
|
|
1444
|
+
cfke_connected_nodes_enterprise: "cfke_connected_nodes_enterprise";
|
|
1445
|
+
cfcr_storage: "cfcr_storage";
|
|
1446
|
+
}>;
|
|
1435
1447
|
value: z.ZodNumber;
|
|
1436
1448
|
price: z.ZodNumber;
|
|
1437
1449
|
total: z.ZodNumber;
|
|
@@ -1692,44 +1704,42 @@ export declare const zRegenerateTokenResponse: z.ZodObject<{
|
|
|
1692
1704
|
date_created: z.ZodISODateTime;
|
|
1693
1705
|
}, z.core.$strip>;
|
|
1694
1706
|
/**
|
|
1695
|
-
*
|
|
1707
|
+
* An array of tickets for the organization, newest first.
|
|
1696
1708
|
*/
|
|
1697
|
-
export declare const zListTicketsResponse: z.ZodObject<{
|
|
1698
|
-
|
|
1709
|
+
export declare const zListTicketsResponse: z.ZodArray<z.ZodObject<{
|
|
1710
|
+
id: z.ZodString;
|
|
1711
|
+
status: z.ZodEnum<{
|
|
1712
|
+
closed: "closed";
|
|
1713
|
+
waiting_on_us: "waiting_on_us";
|
|
1714
|
+
waiting_on_user: "waiting_on_user";
|
|
1715
|
+
}>;
|
|
1716
|
+
category: z.ZodEnum<{
|
|
1717
|
+
billing: "billing";
|
|
1718
|
+
technical: "technical";
|
|
1719
|
+
general: "general";
|
|
1720
|
+
}>;
|
|
1721
|
+
summary: z.ZodString;
|
|
1722
|
+
closed_at: z.ZodOptional<z.ZodISODateTime>;
|
|
1723
|
+
date_created: z.ZodISODateTime;
|
|
1724
|
+
date_updated: z.ZodISODateTime;
|
|
1725
|
+
messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1699
1726
|
id: z.ZodString;
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
waiting_on_user: "waiting_on_user";
|
|
1704
|
-
}>;
|
|
1705
|
-
category: z.ZodEnum<{
|
|
1706
|
-
billing: "billing";
|
|
1707
|
-
technical: "technical";
|
|
1708
|
-
general: "general";
|
|
1727
|
+
type: z.ZodEnum<{
|
|
1728
|
+
customer_reply: "customer_reply";
|
|
1729
|
+
agent_reply: "agent_reply";
|
|
1709
1730
|
}>;
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1731
|
+
body: z.ZodString;
|
|
1732
|
+
author_first_name: z.ZodOptional<z.ZodString>;
|
|
1733
|
+
author_last_name: z.ZodOptional<z.ZodString>;
|
|
1734
|
+
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1715
1735
|
id: z.ZodString;
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
}>;
|
|
1720
|
-
body: z.ZodString;
|
|
1721
|
-
author_first_name: z.ZodOptional<z.ZodString>;
|
|
1722
|
-
author_last_name: z.ZodOptional<z.ZodString>;
|
|
1723
|
-
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1724
|
-
id: z.ZodString;
|
|
1725
|
-
filename: z.ZodString;
|
|
1726
|
-
content_type: z.ZodString;
|
|
1727
|
-
size: z.ZodInt;
|
|
1728
|
-
}, z.core.$strip>>>;
|
|
1729
|
-
date_created: z.ZodISODateTime;
|
|
1736
|
+
filename: z.ZodString;
|
|
1737
|
+
content_type: z.ZodString;
|
|
1738
|
+
size: z.ZodInt;
|
|
1730
1739
|
}, z.core.$strip>>>;
|
|
1731
|
-
|
|
1732
|
-
}, z.core.$strip
|
|
1740
|
+
date_created: z.ZodISODateTime;
|
|
1741
|
+
}, z.core.$strip>>>;
|
|
1742
|
+
}, z.core.$strip>>;
|
|
1733
1743
|
export declare const zCreateTicketBody: z.ZodObject<{
|
|
1734
1744
|
payload: z.ZodOptional<z.ZodString>;
|
|
1735
1745
|
attachments: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -2011,6 +2021,38 @@ export declare const zCreateOrganizationBody: z.ZodObject<{
|
|
|
2011
2021
|
export declare const zCreateOrganizationResponse: z.ZodObject<{
|
|
2012
2022
|
id: z.ZodString;
|
|
2013
2023
|
}, z.core.$strip>;
|
|
2024
|
+
/**
|
|
2025
|
+
* Returns the current consent status.
|
|
2026
|
+
*/
|
|
2027
|
+
export declare const zGetBasicPriceConsentResponse: z.ZodObject<{
|
|
2028
|
+
status: z.ZodEnum<{
|
|
2029
|
+
pending: "pending";
|
|
2030
|
+
rejected: "rejected";
|
|
2031
|
+
accepted: "accepted";
|
|
2032
|
+
not_applicable: "not_applicable";
|
|
2033
|
+
}>;
|
|
2034
|
+
decided_at: z.ZodOptional<z.ZodISODateTime>;
|
|
2035
|
+
decided_by: z.ZodOptional<z.ZodString>;
|
|
2036
|
+
}, z.core.$strip>;
|
|
2037
|
+
export declare const zSetBasicPriceConsentBody: z.ZodObject<{
|
|
2038
|
+
decision: z.ZodEnum<{
|
|
2039
|
+
rejected: "rejected";
|
|
2040
|
+
accepted: "accepted";
|
|
2041
|
+
}>;
|
|
2042
|
+
}, z.core.$strip>;
|
|
2043
|
+
/**
|
|
2044
|
+
* Decision recorded. Returns the updated consent status.
|
|
2045
|
+
*/
|
|
2046
|
+
export declare const zSetBasicPriceConsentResponse: z.ZodObject<{
|
|
2047
|
+
status: z.ZodEnum<{
|
|
2048
|
+
pending: "pending";
|
|
2049
|
+
rejected: "rejected";
|
|
2050
|
+
accepted: "accepted";
|
|
2051
|
+
not_applicable: "not_applicable";
|
|
2052
|
+
}>;
|
|
2053
|
+
decided_at: z.ZodOptional<z.ZodISODateTime>;
|
|
2054
|
+
decided_by: z.ZodOptional<z.ZodString>;
|
|
2055
|
+
}, z.core.$strip>;
|
|
2014
2056
|
/**
|
|
2015
2057
|
* JSON-RPC 2.0 request payload
|
|
2016
2058
|
*/
|
|
@@ -3531,14 +3573,30 @@ export declare const zGetUsageResponse: z.ZodObject<{
|
|
|
3531
3573
|
data: z.ZodArray<z.ZodObject<{
|
|
3532
3574
|
hour: z.ZodString;
|
|
3533
3575
|
cluster_id: z.ZodString;
|
|
3534
|
-
product: z.
|
|
3576
|
+
product: z.ZodEnum<{
|
|
3577
|
+
cfke_controlplane_basic: "cfke_controlplane_basic";
|
|
3578
|
+
cfke_controlplane_pro: "cfke_controlplane_pro";
|
|
3579
|
+
cfke_controlplane_enterprise: "cfke_controlplane_enterprise";
|
|
3580
|
+
cfke_connected_nodes_basic: "cfke_connected_nodes_basic";
|
|
3581
|
+
cfke_connected_nodes_pro: "cfke_connected_nodes_pro";
|
|
3582
|
+
cfke_connected_nodes_enterprise: "cfke_connected_nodes_enterprise";
|
|
3583
|
+
cfcr_storage: "cfcr_storage";
|
|
3584
|
+
}>;
|
|
3535
3585
|
value: z.ZodNumber;
|
|
3536
3586
|
price: z.ZodNumber;
|
|
3537
3587
|
total: z.ZodNumber;
|
|
3538
3588
|
}, z.core.$strip>>;
|
|
3539
3589
|
facets: z.ZodObject<{
|
|
3540
3590
|
cluster_id: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3541
|
-
product: z.ZodOptional<z.ZodArray<z.
|
|
3591
|
+
product: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3592
|
+
cfke_controlplane_basic: "cfke_controlplane_basic";
|
|
3593
|
+
cfke_controlplane_pro: "cfke_controlplane_pro";
|
|
3594
|
+
cfke_controlplane_enterprise: "cfke_controlplane_enterprise";
|
|
3595
|
+
cfke_connected_nodes_basic: "cfke_connected_nodes_basic";
|
|
3596
|
+
cfke_connected_nodes_pro: "cfke_connected_nodes_pro";
|
|
3597
|
+
cfke_connected_nodes_enterprise: "cfke_connected_nodes_enterprise";
|
|
3598
|
+
cfcr_storage: "cfcr_storage";
|
|
3599
|
+
}>>>;
|
|
3542
3600
|
}, z.core.$strip>;
|
|
3543
3601
|
}, z.core.$strip>;
|
|
3544
3602
|
/**
|
package/dist/zod.gen.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zod.gen.d.ts","sourceRoot":"","sources":["../src/zod.gen.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,eAAO,MAAM,eAAe;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAkB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAkB,CAAC;AAEtD;;GAEG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;kBAA2B,CAAC;AAE5D,eAAO,MAAM,kBAAkB;;iBAE7B,CAAC"}
|
package/dist/zod.gen.js
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
2
|
import * as z from 'zod';
|
|
3
|
+
export const zBasicPriceConsentInput = z.object({
|
|
4
|
+
decision: z.enum(['accepted', 'rejected'])
|
|
5
|
+
});
|
|
6
|
+
export const zBasicPriceConsent = z.object({
|
|
7
|
+
status: z.enum([
|
|
8
|
+
'not_applicable',
|
|
9
|
+
'pending',
|
|
10
|
+
'accepted',
|
|
11
|
+
'rejected'
|
|
12
|
+
]),
|
|
13
|
+
decided_at: z.iso.datetime().optional(),
|
|
14
|
+
decided_by: z.string().optional()
|
|
15
|
+
});
|
|
3
16
|
export const zBillingContact = z.object({
|
|
4
17
|
type: z.enum(['business', 'personal']),
|
|
5
18
|
company: z.string().min(2).max(120).regex(/^(?!\s)(?!.*\s$)(?=.*[a-zA-ZÆÐƎƏƐƔIJŊŒẞÞǷȜæðǝəɛɣijŋœĸſßþƿȝĄƁÇĐƊĘĦĮƘŁØƠŞȘŢȚŦŲƯY̨Ƴąɓçđɗęħįƙłøơşșţțŧųưy̨ƴÁÀÂÄǍĂĀÃÅǺĄÆǼǢƁĆĊĈČÇĎḌĐƊÐÉÈĖÊËĚĔĒĘẸƎƏƐĠĜǦĞĢƔáàâäǎăāãåǻąæǽǣɓćċĉčçďḍđɗðéèėêëěĕēęẹǝəɛġĝǧğģɣĤḤĦIÍÌİÎÏǏĬĪĨĮỊIJĴĶƘĹĻŁĽĿʼNŃN̈ŇÑŅŊÓÒÔÖǑŎŌÕŐỌØǾƠŒĥḥħıíìiîïǐĭīĩįịijĵķƙĸĺļłľŀʼnńn̈ňñņŋóòôöǒŏōõőọøǿơœŔŘŖŚŜŠŞȘṢẞŤŢṬŦÞÚÙÛÜǓŬŪŨŰŮŲỤƯẂẀŴẄǷÝỲŶŸȲỸƳŹŻŽẒŕřŗſśŝšşșṣßťţṭŧþúùûüǔŭūũűůųụưẃẁŵẅƿýỳŷÿȳỹƴźżžẓ0-9])[a-zA-ZÆÐƎƏƐƔIJŊŒẞÞǷȜæðǝəɛɣijŋœĸſßþƿȝĄƁÇĐƊĘĦĮƘŁØƠŞȘŢȚŦŲƯY̨Ƴąɓçđɗęħįƙłøơşșţțŧųưy̨ƴÁÀÂÄǍĂĀÃÅǺĄÆǼǢƁĆĊĈČÇĎḌĐƊÐÉÈĖÊËĚĔĒĘẸƎƏƐĠĜǦĞĢƔáàâäǎăāãåǻąæǽǣɓćċĉčçďḍđɗðéèėêëěĕēęẹǝəɛġĝǧğģɣĤḤĦIÍÌİÎÏǏĬĪĨĮỊIJĴĶƘĹĻŁĽĿʼNŃN̈ŇÑŅŊÓÒÔÖǑŎŌÕŐỌØǾƠŒĥḥħıíìiîïǐĭīĩįịijĵķƙĸĺļłľŀʼnńn̈ňñņŋóòôöǒŏōõőọøǿơœŔŘŖŚŜŠŞȘṢẞŤŢṬŦÞÚÙÛÜǓŬŪŨŰŮŲỤƯẂẀŴẄǷÝỲŶŸȲỸƳŹŻŽẒŕřŗſśŝšşșṣßťţṭŧþúùûüǔŭūũűůųụưẃẁŵẅƿýỳŷÿȳỹƴźżžẓ0-9 -.]{2,}$/).optional(),
|
|
@@ -1293,39 +1306,6 @@ export const zTicketCreateInput = z.object({
|
|
|
1293
1306
|
body: z.string().min(1).max(50000).regex(/\S/),
|
|
1294
1307
|
properties: z.record(z.string(), z.unknown()).optional()
|
|
1295
1308
|
});
|
|
1296
|
-
export const zTicketListResponse = z.object({
|
|
1297
|
-
items: z.array(z.object({
|
|
1298
|
-
id: z.string(),
|
|
1299
|
-
status: z.enum([
|
|
1300
|
-
'waiting_on_us',
|
|
1301
|
-
'waiting_on_user',
|
|
1302
|
-
'closed'
|
|
1303
|
-
]),
|
|
1304
|
-
category: z.enum([
|
|
1305
|
-
'billing',
|
|
1306
|
-
'technical',
|
|
1307
|
-
'general'
|
|
1308
|
-
]),
|
|
1309
|
-
summary: z.string(),
|
|
1310
|
-
closed_at: z.iso.datetime().optional(),
|
|
1311
|
-
date_created: z.iso.datetime(),
|
|
1312
|
-
date_updated: z.iso.datetime(),
|
|
1313
|
-
messages: z.array(z.object({
|
|
1314
|
-
id: z.string(),
|
|
1315
|
-
type: z.enum(['customer_reply', 'agent_reply']),
|
|
1316
|
-
body: z.string(),
|
|
1317
|
-
author_first_name: z.string().optional(),
|
|
1318
|
-
author_last_name: z.string().optional(),
|
|
1319
|
-
attachments: z.array(z.object({
|
|
1320
|
-
id: z.string(),
|
|
1321
|
-
filename: z.string(),
|
|
1322
|
-
content_type: z.string(),
|
|
1323
|
-
size: z.int()
|
|
1324
|
-
})).optional(),
|
|
1325
|
-
date_created: z.iso.datetime()
|
|
1326
|
-
})).optional()
|
|
1327
|
-
}))
|
|
1328
|
-
});
|
|
1329
1309
|
export const zTicketMessageInput = z.object({
|
|
1330
1310
|
body: z.string().min(1).max(50000).regex(/\S/)
|
|
1331
1311
|
});
|
|
@@ -1391,26 +1371,58 @@ export const zTokenUpdateInput = z.object({
|
|
|
1391
1371
|
});
|
|
1392
1372
|
export const zUsageFacets = z.object({
|
|
1393
1373
|
cluster_id: z.array(z.string()).optional(),
|
|
1394
|
-
product: z.array(z.
|
|
1374
|
+
product: z.array(z.enum([
|
|
1375
|
+
'cfke_controlplane_basic',
|
|
1376
|
+
'cfke_controlplane_pro',
|
|
1377
|
+
'cfke_controlplane_enterprise',
|
|
1378
|
+
'cfke_connected_nodes_basic',
|
|
1379
|
+
'cfke_connected_nodes_pro',
|
|
1380
|
+
'cfke_connected_nodes_enterprise',
|
|
1381
|
+
'cfcr_storage'
|
|
1382
|
+
])).optional()
|
|
1395
1383
|
});
|
|
1396
1384
|
export const zUsageResponse = z.object({
|
|
1397
1385
|
data: z.array(z.object({
|
|
1398
1386
|
hour: z.string(),
|
|
1399
1387
|
cluster_id: z.string(),
|
|
1400
|
-
product: z.
|
|
1388
|
+
product: z.enum([
|
|
1389
|
+
'cfke_controlplane_basic',
|
|
1390
|
+
'cfke_controlplane_pro',
|
|
1391
|
+
'cfke_controlplane_enterprise',
|
|
1392
|
+
'cfke_connected_nodes_basic',
|
|
1393
|
+
'cfke_connected_nodes_pro',
|
|
1394
|
+
'cfke_connected_nodes_enterprise',
|
|
1395
|
+
'cfcr_storage'
|
|
1396
|
+
]),
|
|
1401
1397
|
value: z.number(),
|
|
1402
1398
|
price: z.number(),
|
|
1403
1399
|
total: z.number()
|
|
1404
1400
|
})),
|
|
1405
1401
|
facets: z.object({
|
|
1406
1402
|
cluster_id: z.array(z.string()).optional(),
|
|
1407
|
-
product: z.array(z.
|
|
1403
|
+
product: z.array(z.enum([
|
|
1404
|
+
'cfke_controlplane_basic',
|
|
1405
|
+
'cfke_controlplane_pro',
|
|
1406
|
+
'cfke_controlplane_enterprise',
|
|
1407
|
+
'cfke_connected_nodes_basic',
|
|
1408
|
+
'cfke_connected_nodes_pro',
|
|
1409
|
+
'cfke_connected_nodes_enterprise',
|
|
1410
|
+
'cfcr_storage'
|
|
1411
|
+
])).optional()
|
|
1408
1412
|
})
|
|
1409
1413
|
});
|
|
1410
1414
|
export const zUsage = z.object({
|
|
1411
1415
|
hour: z.string(),
|
|
1412
1416
|
cluster_id: z.string(),
|
|
1413
|
-
product: z.
|
|
1417
|
+
product: z.enum([
|
|
1418
|
+
'cfke_controlplane_basic',
|
|
1419
|
+
'cfke_controlplane_pro',
|
|
1420
|
+
'cfke_controlplane_enterprise',
|
|
1421
|
+
'cfke_connected_nodes_basic',
|
|
1422
|
+
'cfke_connected_nodes_pro',
|
|
1423
|
+
'cfke_connected_nodes_enterprise',
|
|
1424
|
+
'cfcr_storage'
|
|
1425
|
+
]),
|
|
1414
1426
|
value: z.number(),
|
|
1415
1427
|
price: z.number(),
|
|
1416
1428
|
total: z.number()
|
|
@@ -1514,9 +1526,9 @@ export const zRegenerateTokenPath = z.object({
|
|
|
1514
1526
|
*/
|
|
1515
1527
|
export const zRegenerateTokenResponse = zToken;
|
|
1516
1528
|
/**
|
|
1517
|
-
*
|
|
1529
|
+
* An array of tickets for the organization, newest first.
|
|
1518
1530
|
*/
|
|
1519
|
-
export const zListTicketsResponse =
|
|
1531
|
+
export const zListTicketsResponse = z.array(zTicket);
|
|
1520
1532
|
export const zCreateTicketBody = z.object({
|
|
1521
1533
|
payload: z.string().optional(),
|
|
1522
1534
|
attachments: z.array(z.string()).optional()
|
|
@@ -1594,6 +1606,15 @@ export const zCreateOrganizationBody = zOrganizationCreateInput;
|
|
|
1594
1606
|
*
|
|
1595
1607
|
*/
|
|
1596
1608
|
export const zCreateOrganizationResponse = zOrganizationCreateOutput;
|
|
1609
|
+
/**
|
|
1610
|
+
* Returns the current consent status.
|
|
1611
|
+
*/
|
|
1612
|
+
export const zGetBasicPriceConsentResponse = zBasicPriceConsent;
|
|
1613
|
+
export const zSetBasicPriceConsentBody = zBasicPriceConsentInput;
|
|
1614
|
+
/**
|
|
1615
|
+
* Decision recorded. Returns the updated consent status.
|
|
1616
|
+
*/
|
|
1617
|
+
export const zSetBasicPriceConsentResponse = zBasicPriceConsent;
|
|
1597
1618
|
/**
|
|
1598
1619
|
* JSON-RPC 2.0 request payload
|
|
1599
1620
|
*/
|