@cloudfleet/sdk 0.0.1-b0946c6 → 0.0.1-b3d7b23
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 +103 -119
- package/dist/client/client.gen.js.map +1 -1
- package/dist/client/types.gen.d.ts +5 -2
- 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.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/schemas.gen.d.ts +403 -26
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +486 -28
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +40 -2
- 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 +357 -16
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +318 -24
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +145 -8
- package/dist/zod.gen.js.map +1 -1
- package/package.json +23 -4
package/dist/zod.gen.d.ts
CHANGED
|
@@ -199,18 +199,18 @@ export declare const zClusterCreateInput: z.ZodObject<{
|
|
|
199
199
|
basic: "basic";
|
|
200
200
|
pro: "pro";
|
|
201
201
|
}>;
|
|
202
|
-
region: z.ZodOptional<z.ZodEnum<{
|
|
202
|
+
region: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
203
203
|
"staging-1a": "staging-1a";
|
|
204
204
|
"northamerica-central-1": "northamerica-central-1";
|
|
205
205
|
"europe-central-1a": "europe-central-1a";
|
|
206
206
|
"northamerica-central-1a": "northamerica-central-1a";
|
|
207
|
-
}
|
|
208
|
-
version_channel: z.ZodOptional<z.ZodEnum<{
|
|
207
|
+
}>>>;
|
|
208
|
+
version_channel: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
209
209
|
"1.x.x-cfke.x": "1.x.x-cfke.x";
|
|
210
210
|
"1.31.x-cfke.x": "1.31.x-cfke.x";
|
|
211
211
|
"1.32.x-cfke.x": "1.32.x-cfke.x";
|
|
212
212
|
"1.33.x-cfke.x": "1.33.x-cfke.x";
|
|
213
|
-
}
|
|
213
|
+
}>>>;
|
|
214
214
|
}, z.core.$strip>;
|
|
215
215
|
export declare const zClusterJoinInformation: z.ZodObject<{
|
|
216
216
|
certificate_authority: z.ZodString;
|
|
@@ -236,12 +236,12 @@ export declare const zCluster: z.ZodObject<{
|
|
|
236
236
|
basic: "basic";
|
|
237
237
|
pro: "pro";
|
|
238
238
|
}>;
|
|
239
|
-
region: z.ZodOptional<z.ZodEnum<{
|
|
239
|
+
region: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
240
240
|
"staging-1a": "staging-1a";
|
|
241
241
|
"northamerica-central-1": "northamerica-central-1";
|
|
242
242
|
"europe-central-1a": "europe-central-1a";
|
|
243
243
|
"northamerica-central-1a": "northamerica-central-1a";
|
|
244
|
-
}
|
|
244
|
+
}>>>;
|
|
245
245
|
id: z.ZodUUID;
|
|
246
246
|
status: z.ZodEnum<{
|
|
247
247
|
deleted: "deleted";
|
|
@@ -390,8 +390,6 @@ export declare const zOrganization: z.ZodObject<{
|
|
|
390
390
|
id: z.ZodString;
|
|
391
391
|
label: z.ZodString;
|
|
392
392
|
}, z.core.$strip>>;
|
|
393
|
-
copilot_user_hourly_tokens: z.ZodInt;
|
|
394
|
-
copilot_organization_hourly_tokens: z.ZodInt;
|
|
395
393
|
cfcr_storage_gb: z.ZodInt;
|
|
396
394
|
}, z.core.$strip>;
|
|
397
395
|
status: z.ZodEnum<{
|
|
@@ -433,8 +431,6 @@ export declare const zPlatformQuota: z.ZodObject<{
|
|
|
433
431
|
id: z.ZodString;
|
|
434
432
|
label: z.ZodString;
|
|
435
433
|
}, z.core.$strip>>;
|
|
436
|
-
copilot_user_hourly_tokens: z.ZodInt;
|
|
437
|
-
copilot_organization_hourly_tokens: z.ZodInt;
|
|
438
434
|
cfcr_storage_gb: z.ZodInt;
|
|
439
435
|
}, z.core.$strip>;
|
|
440
436
|
export declare const zRegistryRepository: z.ZodObject<{
|
|
@@ -483,6 +479,111 @@ export declare const zRegistryTag: z.ZodObject<{
|
|
|
483
479
|
repository: z.ZodString;
|
|
484
480
|
uri: z.ZodString;
|
|
485
481
|
}, z.core.$strip>;
|
|
482
|
+
export declare const zTicketAttachment: z.ZodObject<{
|
|
483
|
+
id: z.ZodString;
|
|
484
|
+
filename: z.ZodString;
|
|
485
|
+
content_type: z.ZodString;
|
|
486
|
+
size: z.ZodInt;
|
|
487
|
+
}, z.core.$strip>;
|
|
488
|
+
export declare const zTicketCreateInput: z.ZodObject<{
|
|
489
|
+
category: z.ZodEnum<{
|
|
490
|
+
billing: "billing";
|
|
491
|
+
technical: "technical";
|
|
492
|
+
general: "general";
|
|
493
|
+
}>;
|
|
494
|
+
body: z.ZodString;
|
|
495
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
496
|
+
}, z.core.$strip>;
|
|
497
|
+
export declare const zTicketListResponse: z.ZodObject<{
|
|
498
|
+
items: z.ZodArray<z.ZodObject<{
|
|
499
|
+
id: z.ZodString;
|
|
500
|
+
status: z.ZodEnum<{
|
|
501
|
+
closed: "closed";
|
|
502
|
+
waiting_on_us: "waiting_on_us";
|
|
503
|
+
waiting_on_user: "waiting_on_user";
|
|
504
|
+
}>;
|
|
505
|
+
category: z.ZodEnum<{
|
|
506
|
+
billing: "billing";
|
|
507
|
+
technical: "technical";
|
|
508
|
+
general: "general";
|
|
509
|
+
}>;
|
|
510
|
+
summary: z.ZodString;
|
|
511
|
+
closed_at: z.ZodOptional<z.ZodISODateTime>;
|
|
512
|
+
date_created: z.ZodISODateTime;
|
|
513
|
+
date_updated: z.ZodISODateTime;
|
|
514
|
+
messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
515
|
+
id: z.ZodString;
|
|
516
|
+
type: z.ZodEnum<{
|
|
517
|
+
customer_reply: "customer_reply";
|
|
518
|
+
agent_reply: "agent_reply";
|
|
519
|
+
}>;
|
|
520
|
+
body: z.ZodString;
|
|
521
|
+
author_first_name: z.ZodOptional<z.ZodString>;
|
|
522
|
+
author_last_name: z.ZodOptional<z.ZodString>;
|
|
523
|
+
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
524
|
+
id: z.ZodString;
|
|
525
|
+
filename: z.ZodString;
|
|
526
|
+
content_type: z.ZodString;
|
|
527
|
+
size: z.ZodInt;
|
|
528
|
+
}, z.core.$strip>>>;
|
|
529
|
+
date_created: z.ZodISODateTime;
|
|
530
|
+
}, z.core.$strip>>>;
|
|
531
|
+
}, z.core.$strip>>;
|
|
532
|
+
}, z.core.$strip>;
|
|
533
|
+
export declare const zTicketMessageInput: z.ZodObject<{
|
|
534
|
+
body: z.ZodString;
|
|
535
|
+
}, z.core.$strip>;
|
|
536
|
+
export declare const zTicketMessage: z.ZodObject<{
|
|
537
|
+
id: z.ZodString;
|
|
538
|
+
type: z.ZodEnum<{
|
|
539
|
+
customer_reply: "customer_reply";
|
|
540
|
+
agent_reply: "agent_reply";
|
|
541
|
+
}>;
|
|
542
|
+
body: z.ZodString;
|
|
543
|
+
author_first_name: z.ZodOptional<z.ZodString>;
|
|
544
|
+
author_last_name: z.ZodOptional<z.ZodString>;
|
|
545
|
+
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
546
|
+
id: z.ZodString;
|
|
547
|
+
filename: z.ZodString;
|
|
548
|
+
content_type: z.ZodString;
|
|
549
|
+
size: z.ZodInt;
|
|
550
|
+
}, z.core.$strip>>>;
|
|
551
|
+
date_created: z.ZodISODateTime;
|
|
552
|
+
}, z.core.$strip>;
|
|
553
|
+
export declare const zTicket: z.ZodObject<{
|
|
554
|
+
id: z.ZodString;
|
|
555
|
+
status: z.ZodEnum<{
|
|
556
|
+
closed: "closed";
|
|
557
|
+
waiting_on_us: "waiting_on_us";
|
|
558
|
+
waiting_on_user: "waiting_on_user";
|
|
559
|
+
}>;
|
|
560
|
+
category: z.ZodEnum<{
|
|
561
|
+
billing: "billing";
|
|
562
|
+
technical: "technical";
|
|
563
|
+
general: "general";
|
|
564
|
+
}>;
|
|
565
|
+
summary: z.ZodString;
|
|
566
|
+
closed_at: z.ZodOptional<z.ZodISODateTime>;
|
|
567
|
+
date_created: z.ZodISODateTime;
|
|
568
|
+
date_updated: z.ZodISODateTime;
|
|
569
|
+
messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
570
|
+
id: z.ZodString;
|
|
571
|
+
type: z.ZodEnum<{
|
|
572
|
+
customer_reply: "customer_reply";
|
|
573
|
+
agent_reply: "agent_reply";
|
|
574
|
+
}>;
|
|
575
|
+
body: z.ZodString;
|
|
576
|
+
author_first_name: z.ZodOptional<z.ZodString>;
|
|
577
|
+
author_last_name: z.ZodOptional<z.ZodString>;
|
|
578
|
+
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
579
|
+
id: z.ZodString;
|
|
580
|
+
filename: z.ZodString;
|
|
581
|
+
content_type: z.ZodString;
|
|
582
|
+
size: z.ZodInt;
|
|
583
|
+
}, z.core.$strip>>>;
|
|
584
|
+
date_created: z.ZodISODateTime;
|
|
585
|
+
}, z.core.$strip>>>;
|
|
586
|
+
}, z.core.$strip>;
|
|
486
587
|
export declare const zTokenCreateInput: z.ZodObject<{
|
|
487
588
|
name: z.ZodString;
|
|
488
589
|
role: z.ZodEnum<{
|
|
@@ -577,11 +678,11 @@ export declare const zUserUpdateInput: z.ZodObject<{
|
|
|
577
678
|
}>>;
|
|
578
679
|
}, z.core.$strip>;
|
|
579
680
|
export declare const zGetUsageQuery: z.ZodObject<{
|
|
580
|
-
granularity: z.ZodOptional<z.ZodEnum<{
|
|
681
|
+
granularity: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
581
682
|
hourly: "hourly";
|
|
582
683
|
daily: "daily";
|
|
583
684
|
monthly: "monthly";
|
|
584
|
-
}
|
|
685
|
+
}>>>;
|
|
585
686
|
}, z.core.$strip>;
|
|
586
687
|
/**
|
|
587
688
|
* Usage data with facets for filtering
|
|
@@ -1319,12 +1420,12 @@ export declare const zListClustersResponse: z.ZodArray<z.ZodObject<{
|
|
|
1319
1420
|
basic: "basic";
|
|
1320
1421
|
pro: "pro";
|
|
1321
1422
|
}>;
|
|
1322
|
-
region: z.ZodOptional<z.ZodEnum<{
|
|
1423
|
+
region: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1323
1424
|
"staging-1a": "staging-1a";
|
|
1324
1425
|
"northamerica-central-1": "northamerica-central-1";
|
|
1325
1426
|
"europe-central-1a": "europe-central-1a";
|
|
1326
1427
|
"northamerica-central-1a": "northamerica-central-1a";
|
|
1327
|
-
}
|
|
1428
|
+
}>>>;
|
|
1328
1429
|
id: z.ZodUUID;
|
|
1329
1430
|
status: z.ZodEnum<{
|
|
1330
1431
|
deleted: "deleted";
|
|
@@ -1351,18 +1452,18 @@ export declare const zCreateClusterBody: z.ZodObject<{
|
|
|
1351
1452
|
basic: "basic";
|
|
1352
1453
|
pro: "pro";
|
|
1353
1454
|
}>;
|
|
1354
|
-
region: z.ZodOptional<z.ZodEnum<{
|
|
1455
|
+
region: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1355
1456
|
"staging-1a": "staging-1a";
|
|
1356
1457
|
"northamerica-central-1": "northamerica-central-1";
|
|
1357
1458
|
"europe-central-1a": "europe-central-1a";
|
|
1358
1459
|
"northamerica-central-1a": "northamerica-central-1a";
|
|
1359
|
-
}
|
|
1360
|
-
version_channel: z.ZodOptional<z.ZodEnum<{
|
|
1460
|
+
}>>>;
|
|
1461
|
+
version_channel: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1361
1462
|
"1.x.x-cfke.x": "1.x.x-cfke.x";
|
|
1362
1463
|
"1.31.x-cfke.x": "1.31.x-cfke.x";
|
|
1363
1464
|
"1.32.x-cfke.x": "1.32.x-cfke.x";
|
|
1364
1465
|
"1.33.x-cfke.x": "1.33.x-cfke.x";
|
|
1365
|
-
}
|
|
1466
|
+
}>>>;
|
|
1366
1467
|
}, z.core.$strip>;
|
|
1367
1468
|
/**
|
|
1368
1469
|
* Successfully created. Returns created Cluster ID.
|
|
@@ -1387,12 +1488,12 @@ export declare const zGetClusterResponse: z.ZodObject<{
|
|
|
1387
1488
|
basic: "basic";
|
|
1388
1489
|
pro: "pro";
|
|
1389
1490
|
}>;
|
|
1390
|
-
region: z.ZodOptional<z.ZodEnum<{
|
|
1491
|
+
region: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1391
1492
|
"staging-1a": "staging-1a";
|
|
1392
1493
|
"northamerica-central-1": "northamerica-central-1";
|
|
1393
1494
|
"europe-central-1a": "europe-central-1a";
|
|
1394
1495
|
"northamerica-central-1a": "northamerica-central-1a";
|
|
1395
|
-
}
|
|
1496
|
+
}>>>;
|
|
1396
1497
|
id: z.ZodUUID;
|
|
1397
1498
|
status: z.ZodEnum<{
|
|
1398
1499
|
deleted: "deleted";
|
|
@@ -1433,12 +1534,12 @@ export declare const zUpdateClusterResponse: z.ZodObject<{
|
|
|
1433
1534
|
basic: "basic";
|
|
1434
1535
|
pro: "pro";
|
|
1435
1536
|
}>;
|
|
1436
|
-
region: z.ZodOptional<z.ZodEnum<{
|
|
1537
|
+
region: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1437
1538
|
"staging-1a": "staging-1a";
|
|
1438
1539
|
"northamerica-central-1": "northamerica-central-1";
|
|
1439
1540
|
"europe-central-1a": "europe-central-1a";
|
|
1440
1541
|
"northamerica-central-1a": "northamerica-central-1a";
|
|
1441
|
-
}
|
|
1542
|
+
}>>>;
|
|
1442
1543
|
id: z.ZodUUID;
|
|
1443
1544
|
status: z.ZodEnum<{
|
|
1444
1545
|
deleted: "deleted";
|
|
@@ -1598,8 +1699,6 @@ export declare const zGetOrganizationResponse: z.ZodObject<{
|
|
|
1598
1699
|
id: z.ZodString;
|
|
1599
1700
|
label: z.ZodString;
|
|
1600
1701
|
}, z.core.$strip>>;
|
|
1601
|
-
copilot_user_hourly_tokens: z.ZodInt;
|
|
1602
|
-
copilot_organization_hourly_tokens: z.ZodInt;
|
|
1603
1702
|
cfcr_storage_gb: z.ZodInt;
|
|
1604
1703
|
}, z.core.$strip>;
|
|
1605
1704
|
status: z.ZodEnum<{
|
|
@@ -1684,6 +1783,201 @@ export declare const zGetTagResponse: z.ZodObject<{
|
|
|
1684
1783
|
repository: z.ZodString;
|
|
1685
1784
|
uri: z.ZodString;
|
|
1686
1785
|
}, z.core.$strip>;
|
|
1786
|
+
/**
|
|
1787
|
+
* Tickets for the organization.
|
|
1788
|
+
*/
|
|
1789
|
+
export declare const zListTicketsResponse: z.ZodObject<{
|
|
1790
|
+
items: z.ZodArray<z.ZodObject<{
|
|
1791
|
+
id: z.ZodString;
|
|
1792
|
+
status: z.ZodEnum<{
|
|
1793
|
+
closed: "closed";
|
|
1794
|
+
waiting_on_us: "waiting_on_us";
|
|
1795
|
+
waiting_on_user: "waiting_on_user";
|
|
1796
|
+
}>;
|
|
1797
|
+
category: z.ZodEnum<{
|
|
1798
|
+
billing: "billing";
|
|
1799
|
+
technical: "technical";
|
|
1800
|
+
general: "general";
|
|
1801
|
+
}>;
|
|
1802
|
+
summary: z.ZodString;
|
|
1803
|
+
closed_at: z.ZodOptional<z.ZodISODateTime>;
|
|
1804
|
+
date_created: z.ZodISODateTime;
|
|
1805
|
+
date_updated: z.ZodISODateTime;
|
|
1806
|
+
messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1807
|
+
id: z.ZodString;
|
|
1808
|
+
type: z.ZodEnum<{
|
|
1809
|
+
customer_reply: "customer_reply";
|
|
1810
|
+
agent_reply: "agent_reply";
|
|
1811
|
+
}>;
|
|
1812
|
+
body: z.ZodString;
|
|
1813
|
+
author_first_name: z.ZodOptional<z.ZodString>;
|
|
1814
|
+
author_last_name: z.ZodOptional<z.ZodString>;
|
|
1815
|
+
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1816
|
+
id: z.ZodString;
|
|
1817
|
+
filename: z.ZodString;
|
|
1818
|
+
content_type: z.ZodString;
|
|
1819
|
+
size: z.ZodInt;
|
|
1820
|
+
}, z.core.$strip>>>;
|
|
1821
|
+
date_created: z.ZodISODateTime;
|
|
1822
|
+
}, z.core.$strip>>>;
|
|
1823
|
+
}, z.core.$strip>>;
|
|
1824
|
+
}, z.core.$strip>;
|
|
1825
|
+
export declare const zCreateTicketBody: z.ZodObject<{
|
|
1826
|
+
payload: z.ZodOptional<z.ZodString>;
|
|
1827
|
+
attachments: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1828
|
+
}, z.core.$strip>;
|
|
1829
|
+
/**
|
|
1830
|
+
* Ticket created.
|
|
1831
|
+
*/
|
|
1832
|
+
export declare const zCreateTicketResponse: z.ZodObject<{
|
|
1833
|
+
id: z.ZodString;
|
|
1834
|
+
status: z.ZodEnum<{
|
|
1835
|
+
closed: "closed";
|
|
1836
|
+
waiting_on_us: "waiting_on_us";
|
|
1837
|
+
waiting_on_user: "waiting_on_user";
|
|
1838
|
+
}>;
|
|
1839
|
+
category: z.ZodEnum<{
|
|
1840
|
+
billing: "billing";
|
|
1841
|
+
technical: "technical";
|
|
1842
|
+
general: "general";
|
|
1843
|
+
}>;
|
|
1844
|
+
summary: z.ZodString;
|
|
1845
|
+
closed_at: z.ZodOptional<z.ZodISODateTime>;
|
|
1846
|
+
date_created: z.ZodISODateTime;
|
|
1847
|
+
date_updated: z.ZodISODateTime;
|
|
1848
|
+
messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1849
|
+
id: z.ZodString;
|
|
1850
|
+
type: z.ZodEnum<{
|
|
1851
|
+
customer_reply: "customer_reply";
|
|
1852
|
+
agent_reply: "agent_reply";
|
|
1853
|
+
}>;
|
|
1854
|
+
body: z.ZodString;
|
|
1855
|
+
author_first_name: z.ZodOptional<z.ZodString>;
|
|
1856
|
+
author_last_name: z.ZodOptional<z.ZodString>;
|
|
1857
|
+
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1858
|
+
id: z.ZodString;
|
|
1859
|
+
filename: z.ZodString;
|
|
1860
|
+
content_type: z.ZodString;
|
|
1861
|
+
size: z.ZodInt;
|
|
1862
|
+
}, z.core.$strip>>>;
|
|
1863
|
+
date_created: z.ZodISODateTime;
|
|
1864
|
+
}, z.core.$strip>>>;
|
|
1865
|
+
}, z.core.$strip>;
|
|
1866
|
+
export declare const zCloseTicketPath: z.ZodObject<{
|
|
1867
|
+
ticket_id: z.ZodString;
|
|
1868
|
+
}, z.core.$strip>;
|
|
1869
|
+
/**
|
|
1870
|
+
* Ticket closed.
|
|
1871
|
+
*/
|
|
1872
|
+
export declare const zCloseTicketResponse: z.ZodObject<{
|
|
1873
|
+
id: z.ZodString;
|
|
1874
|
+
status: z.ZodEnum<{
|
|
1875
|
+
closed: "closed";
|
|
1876
|
+
waiting_on_us: "waiting_on_us";
|
|
1877
|
+
waiting_on_user: "waiting_on_user";
|
|
1878
|
+
}>;
|
|
1879
|
+
category: z.ZodEnum<{
|
|
1880
|
+
billing: "billing";
|
|
1881
|
+
technical: "technical";
|
|
1882
|
+
general: "general";
|
|
1883
|
+
}>;
|
|
1884
|
+
summary: z.ZodString;
|
|
1885
|
+
closed_at: z.ZodOptional<z.ZodISODateTime>;
|
|
1886
|
+
date_created: z.ZodISODateTime;
|
|
1887
|
+
date_updated: z.ZodISODateTime;
|
|
1888
|
+
messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1889
|
+
id: z.ZodString;
|
|
1890
|
+
type: z.ZodEnum<{
|
|
1891
|
+
customer_reply: "customer_reply";
|
|
1892
|
+
agent_reply: "agent_reply";
|
|
1893
|
+
}>;
|
|
1894
|
+
body: z.ZodString;
|
|
1895
|
+
author_first_name: z.ZodOptional<z.ZodString>;
|
|
1896
|
+
author_last_name: z.ZodOptional<z.ZodString>;
|
|
1897
|
+
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1898
|
+
id: z.ZodString;
|
|
1899
|
+
filename: z.ZodString;
|
|
1900
|
+
content_type: z.ZodString;
|
|
1901
|
+
size: z.ZodInt;
|
|
1902
|
+
}, z.core.$strip>>>;
|
|
1903
|
+
date_created: z.ZodISODateTime;
|
|
1904
|
+
}, z.core.$strip>>>;
|
|
1905
|
+
}, z.core.$strip>;
|
|
1906
|
+
export declare const zGetTicketPath: z.ZodObject<{
|
|
1907
|
+
ticket_id: z.ZodString;
|
|
1908
|
+
}, z.core.$strip>;
|
|
1909
|
+
/**
|
|
1910
|
+
* Ticket with messages (internal notes excluded).
|
|
1911
|
+
*/
|
|
1912
|
+
export declare const zGetTicketResponse: z.ZodObject<{
|
|
1913
|
+
id: z.ZodString;
|
|
1914
|
+
status: z.ZodEnum<{
|
|
1915
|
+
closed: "closed";
|
|
1916
|
+
waiting_on_us: "waiting_on_us";
|
|
1917
|
+
waiting_on_user: "waiting_on_user";
|
|
1918
|
+
}>;
|
|
1919
|
+
category: z.ZodEnum<{
|
|
1920
|
+
billing: "billing";
|
|
1921
|
+
technical: "technical";
|
|
1922
|
+
general: "general";
|
|
1923
|
+
}>;
|
|
1924
|
+
summary: z.ZodString;
|
|
1925
|
+
closed_at: z.ZodOptional<z.ZodISODateTime>;
|
|
1926
|
+
date_created: z.ZodISODateTime;
|
|
1927
|
+
date_updated: z.ZodISODateTime;
|
|
1928
|
+
messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1929
|
+
id: z.ZodString;
|
|
1930
|
+
type: z.ZodEnum<{
|
|
1931
|
+
customer_reply: "customer_reply";
|
|
1932
|
+
agent_reply: "agent_reply";
|
|
1933
|
+
}>;
|
|
1934
|
+
body: z.ZodString;
|
|
1935
|
+
author_first_name: z.ZodOptional<z.ZodString>;
|
|
1936
|
+
author_last_name: z.ZodOptional<z.ZodString>;
|
|
1937
|
+
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1938
|
+
id: z.ZodString;
|
|
1939
|
+
filename: z.ZodString;
|
|
1940
|
+
content_type: z.ZodString;
|
|
1941
|
+
size: z.ZodInt;
|
|
1942
|
+
}, z.core.$strip>>>;
|
|
1943
|
+
date_created: z.ZodISODateTime;
|
|
1944
|
+
}, z.core.$strip>>>;
|
|
1945
|
+
}, z.core.$strip>;
|
|
1946
|
+
export declare const zReplyTicketBody: z.ZodObject<{
|
|
1947
|
+
payload: z.ZodOptional<z.ZodString>;
|
|
1948
|
+
attachments: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1949
|
+
}, z.core.$strip>;
|
|
1950
|
+
export declare const zReplyTicketPath: z.ZodObject<{
|
|
1951
|
+
ticket_id: z.ZodString;
|
|
1952
|
+
}, z.core.$strip>;
|
|
1953
|
+
/**
|
|
1954
|
+
* Reply appended.
|
|
1955
|
+
*/
|
|
1956
|
+
export declare const zReplyTicketResponse: z.ZodObject<{
|
|
1957
|
+
id: z.ZodString;
|
|
1958
|
+
type: z.ZodEnum<{
|
|
1959
|
+
customer_reply: "customer_reply";
|
|
1960
|
+
agent_reply: "agent_reply";
|
|
1961
|
+
}>;
|
|
1962
|
+
body: z.ZodString;
|
|
1963
|
+
author_first_name: z.ZodOptional<z.ZodString>;
|
|
1964
|
+
author_last_name: z.ZodOptional<z.ZodString>;
|
|
1965
|
+
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1966
|
+
id: z.ZodString;
|
|
1967
|
+
filename: z.ZodString;
|
|
1968
|
+
content_type: z.ZodString;
|
|
1969
|
+
size: z.ZodInt;
|
|
1970
|
+
}, z.core.$strip>>>;
|
|
1971
|
+
date_created: z.ZodISODateTime;
|
|
1972
|
+
}, z.core.$strip>;
|
|
1973
|
+
export declare const zGetTicketAttachmentPath: z.ZodObject<{
|
|
1974
|
+
ticket_id: z.ZodString;
|
|
1975
|
+
attachment_id: z.ZodString;
|
|
1976
|
+
}, z.core.$strip>;
|
|
1977
|
+
/**
|
|
1978
|
+
* Attachment binary stream.
|
|
1979
|
+
*/
|
|
1980
|
+
export declare const zGetTicketAttachmentResponse: z.ZodString;
|
|
1687
1981
|
/**
|
|
1688
1982
|
* Returns a list of access token details with masked secrets.
|
|
1689
1983
|
*/
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA8I1B,CAAC;AAEH,eAAO,MAAM,eAAe;;;;;;;;;;;;iBAS1B,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;;;;iBAM5B,CAAC;AAEH,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;iBA0BjB,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;iBAG5B,CAAC;AAEH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;iBAe9B,CAAC;AAEH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;iBAiBlC,CAAC;AAEH,eAA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CAAC;AAEhD;;GAEG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;iBAAQ,CAAC;AAEzC,eAAO,MAAM,eAAe;;iBAE1B,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;iBAAQ,CAAC;AAEzC,eAAO,MAAM,YAAY;;iBAEvB,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;iBAAQ,CAAC;AAEtC,eAAO,MAAM,eAAe;;;;;;;;;;;;iBAAmB,CAAC;AAEhD,eAAO,MAAM,eAAe;;iBAE1B,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;iBAAQ,CAAC"}
|
package/dist/zod.gen.js
CHANGED
|
@@ -199,13 +199,13 @@ export const zClusterCreateInput = z.object({
|
|
|
199
199
|
'northamerica-central-1',
|
|
200
200
|
'europe-central-1a',
|
|
201
201
|
'northamerica-central-1a'
|
|
202
|
-
]).optional(),
|
|
202
|
+
]).optional().default('staging-1a'),
|
|
203
203
|
version_channel: z.enum([
|
|
204
204
|
'1.x.x-cfke.x',
|
|
205
205
|
'1.31.x-cfke.x',
|
|
206
206
|
'1.32.x-cfke.x',
|
|
207
207
|
'1.33.x-cfke.x'
|
|
208
|
-
]).optional()
|
|
208
|
+
]).optional().default('1.x.x-cfke.x')
|
|
209
209
|
});
|
|
210
210
|
export const zClusterJoinInformation = z.object({
|
|
211
211
|
certificate_authority: z.string(),
|
|
@@ -233,7 +233,7 @@ export const zCluster = z.object({
|
|
|
233
233
|
'northamerica-central-1',
|
|
234
234
|
'europe-central-1a',
|
|
235
235
|
'northamerica-central-1a'
|
|
236
|
-
]).optional(),
|
|
236
|
+
]).optional().default('staging-1a'),
|
|
237
237
|
id: z.uuid(),
|
|
238
238
|
status: z.enum([
|
|
239
239
|
'active',
|
|
@@ -380,8 +380,6 @@ export const zOrganization = z.object({
|
|
|
380
380
|
id: z.string(),
|
|
381
381
|
label: z.string()
|
|
382
382
|
})).min(1),
|
|
383
|
-
copilot_user_hourly_tokens: z.int().gte(0),
|
|
384
|
-
copilot_organization_hourly_tokens: z.int().gte(0),
|
|
385
383
|
cfcr_storage_gb: z.int().gte(-1)
|
|
386
384
|
}),
|
|
387
385
|
status: z.enum([
|
|
@@ -421,8 +419,6 @@ export const zPlatformQuota = z.object({
|
|
|
421
419
|
id: z.string(),
|
|
422
420
|
label: z.string()
|
|
423
421
|
})).min(1),
|
|
424
|
-
copilot_user_hourly_tokens: z.int().gte(0),
|
|
425
|
-
copilot_organization_hourly_tokens: z.int().gte(0),
|
|
426
422
|
cfcr_storage_gb: z.int().gte(-1)
|
|
427
423
|
});
|
|
428
424
|
export const zRegistryRepository = z.object({
|
|
@@ -471,6 +467,102 @@ export const zRegistryTag = z.object({
|
|
|
471
467
|
repository: z.string(),
|
|
472
468
|
uri: z.string()
|
|
473
469
|
});
|
|
470
|
+
export const zTicketAttachment = z.object({
|
|
471
|
+
id: z.string(),
|
|
472
|
+
filename: z.string(),
|
|
473
|
+
content_type: z.string(),
|
|
474
|
+
size: z.int()
|
|
475
|
+
});
|
|
476
|
+
export const zTicketCreateInput = z.object({
|
|
477
|
+
category: z.enum([
|
|
478
|
+
'billing',
|
|
479
|
+
'technical',
|
|
480
|
+
'general'
|
|
481
|
+
]),
|
|
482
|
+
body: z.string().min(1).max(50000).regex(/\S/),
|
|
483
|
+
properties: z.record(z.string(), z.unknown()).optional()
|
|
484
|
+
});
|
|
485
|
+
export const zTicketListResponse = z.object({
|
|
486
|
+
items: z.array(z.object({
|
|
487
|
+
id: z.string(),
|
|
488
|
+
status: z.enum([
|
|
489
|
+
'waiting_on_us',
|
|
490
|
+
'waiting_on_user',
|
|
491
|
+
'closed'
|
|
492
|
+
]),
|
|
493
|
+
category: z.enum([
|
|
494
|
+
'billing',
|
|
495
|
+
'technical',
|
|
496
|
+
'general'
|
|
497
|
+
]),
|
|
498
|
+
summary: z.string(),
|
|
499
|
+
closed_at: z.iso.datetime().optional(),
|
|
500
|
+
date_created: z.iso.datetime(),
|
|
501
|
+
date_updated: z.iso.datetime(),
|
|
502
|
+
messages: z.array(z.object({
|
|
503
|
+
id: z.string(),
|
|
504
|
+
type: z.enum(['customer_reply', 'agent_reply']),
|
|
505
|
+
body: z.string(),
|
|
506
|
+
author_first_name: z.string().optional(),
|
|
507
|
+
author_last_name: z.string().optional(),
|
|
508
|
+
attachments: z.array(z.object({
|
|
509
|
+
id: z.string(),
|
|
510
|
+
filename: z.string(),
|
|
511
|
+
content_type: z.string(),
|
|
512
|
+
size: z.int()
|
|
513
|
+
})).optional(),
|
|
514
|
+
date_created: z.iso.datetime()
|
|
515
|
+
})).optional()
|
|
516
|
+
}))
|
|
517
|
+
});
|
|
518
|
+
export const zTicketMessageInput = z.object({
|
|
519
|
+
body: z.string().min(1).max(50000).regex(/\S/)
|
|
520
|
+
});
|
|
521
|
+
export const zTicketMessage = z.object({
|
|
522
|
+
id: z.string(),
|
|
523
|
+
type: z.enum(['customer_reply', 'agent_reply']),
|
|
524
|
+
body: z.string(),
|
|
525
|
+
author_first_name: z.string().optional(),
|
|
526
|
+
author_last_name: z.string().optional(),
|
|
527
|
+
attachments: z.array(z.object({
|
|
528
|
+
id: z.string(),
|
|
529
|
+
filename: z.string(),
|
|
530
|
+
content_type: z.string(),
|
|
531
|
+
size: z.int()
|
|
532
|
+
})).optional(),
|
|
533
|
+
date_created: z.iso.datetime()
|
|
534
|
+
});
|
|
535
|
+
export const zTicket = z.object({
|
|
536
|
+
id: z.string(),
|
|
537
|
+
status: z.enum([
|
|
538
|
+
'waiting_on_us',
|
|
539
|
+
'waiting_on_user',
|
|
540
|
+
'closed'
|
|
541
|
+
]),
|
|
542
|
+
category: z.enum([
|
|
543
|
+
'billing',
|
|
544
|
+
'technical',
|
|
545
|
+
'general'
|
|
546
|
+
]),
|
|
547
|
+
summary: z.string(),
|
|
548
|
+
closed_at: z.iso.datetime().optional(),
|
|
549
|
+
date_created: z.iso.datetime(),
|
|
550
|
+
date_updated: z.iso.datetime(),
|
|
551
|
+
messages: z.array(z.object({
|
|
552
|
+
id: z.string(),
|
|
553
|
+
type: z.enum(['customer_reply', 'agent_reply']),
|
|
554
|
+
body: z.string(),
|
|
555
|
+
author_first_name: z.string().optional(),
|
|
556
|
+
author_last_name: z.string().optional(),
|
|
557
|
+
attachments: z.array(z.object({
|
|
558
|
+
id: z.string(),
|
|
559
|
+
filename: z.string(),
|
|
560
|
+
content_type: z.string(),
|
|
561
|
+
size: z.int()
|
|
562
|
+
})).optional(),
|
|
563
|
+
date_created: z.iso.datetime()
|
|
564
|
+
})).optional()
|
|
565
|
+
});
|
|
474
566
|
export const zTokenCreateInput = z.object({
|
|
475
567
|
name: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
|
|
476
568
|
role: z.enum(['Administrator', 'User'])
|
|
@@ -542,7 +634,7 @@ export const zGetUsageQuery = z.object({
|
|
|
542
634
|
'hourly',
|
|
543
635
|
'daily',
|
|
544
636
|
'monthly'
|
|
545
|
-
]).optional()
|
|
637
|
+
]).optional().default('daily')
|
|
546
638
|
});
|
|
547
639
|
/**
|
|
548
640
|
* Usage data with facets for filtering
|
|
@@ -791,6 +883,51 @@ export const zGetTagPath = z.object({
|
|
|
791
883
|
* Tag details
|
|
792
884
|
*/
|
|
793
885
|
export const zGetTagResponse = zRegistryTag;
|
|
886
|
+
/**
|
|
887
|
+
* Tickets for the organization.
|
|
888
|
+
*/
|
|
889
|
+
export const zListTicketsResponse = zTicketListResponse;
|
|
890
|
+
export const zCreateTicketBody = z.object({
|
|
891
|
+
payload: z.string().optional(),
|
|
892
|
+
attachments: z.array(z.string()).optional()
|
|
893
|
+
});
|
|
894
|
+
/**
|
|
895
|
+
* Ticket created.
|
|
896
|
+
*/
|
|
897
|
+
export const zCreateTicketResponse = zTicket;
|
|
898
|
+
export const zCloseTicketPath = z.object({
|
|
899
|
+
ticket_id: z.string()
|
|
900
|
+
});
|
|
901
|
+
/**
|
|
902
|
+
* Ticket closed.
|
|
903
|
+
*/
|
|
904
|
+
export const zCloseTicketResponse = zTicket;
|
|
905
|
+
export const zGetTicketPath = z.object({
|
|
906
|
+
ticket_id: z.string()
|
|
907
|
+
});
|
|
908
|
+
/**
|
|
909
|
+
* Ticket with messages (internal notes excluded).
|
|
910
|
+
*/
|
|
911
|
+
export const zGetTicketResponse = zTicket;
|
|
912
|
+
export const zReplyTicketBody = z.object({
|
|
913
|
+
payload: z.string().optional(),
|
|
914
|
+
attachments: z.array(z.string()).optional()
|
|
915
|
+
});
|
|
916
|
+
export const zReplyTicketPath = z.object({
|
|
917
|
+
ticket_id: z.string()
|
|
918
|
+
});
|
|
919
|
+
/**
|
|
920
|
+
* Reply appended.
|
|
921
|
+
*/
|
|
922
|
+
export const zReplyTicketResponse = zTicketMessage;
|
|
923
|
+
export const zGetTicketAttachmentPath = z.object({
|
|
924
|
+
ticket_id: z.string(),
|
|
925
|
+
attachment_id: z.string()
|
|
926
|
+
});
|
|
927
|
+
/**
|
|
928
|
+
* Attachment binary stream.
|
|
929
|
+
*/
|
|
930
|
+
export const zGetTicketAttachmentResponse = z.string();
|
|
794
931
|
/**
|
|
795
932
|
* Returns a list of access token details with masked secrets.
|
|
796
933
|
*/
|