@cloudfleet/sdk 0.0.1-7ae8b0a → 0.0.1-7c77c6d
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 +60 -2
- package/dist/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/@tanstack/react-query.gen.js +113 -2
- package/dist/@tanstack/react-query.gen.js.map +1 -1
- package/dist/schemas.gen.d.ts +215 -3
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +278 -0
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +45 -2
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +77 -1
- package/dist/sdk.gen.js.map +1 -1
- package/dist/types.gen.d.ts +226 -1
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +258 -0
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +118 -2
- package/dist/zod.gen.js.map +1 -1
- package/package.json +6 -6
package/dist/schemas.gen.js
CHANGED
|
@@ -93,12 +93,17 @@ export const BillingContactSchema = {
|
|
|
93
93
|
'at_vat',
|
|
94
94
|
'au_abn',
|
|
95
95
|
'au_arn',
|
|
96
|
+
'aw_tin',
|
|
97
|
+
'az_tin',
|
|
96
98
|
'ba_tin',
|
|
97
99
|
'bb_tin',
|
|
100
|
+
'bd_bin',
|
|
98
101
|
'be_vat',
|
|
102
|
+
'bf_ifu',
|
|
99
103
|
'bg_uic',
|
|
100
104
|
'bg_vat',
|
|
101
105
|
'bh_vat',
|
|
106
|
+
'bj_ifu',
|
|
102
107
|
'bo_tin',
|
|
103
108
|
'br_cnpj',
|
|
104
109
|
'br_cpf',
|
|
@@ -114,9 +119,11 @@ export const BillingContactSchema = {
|
|
|
114
119
|
'ch_uid',
|
|
115
120
|
'ch_vat',
|
|
116
121
|
'cl_tin',
|
|
122
|
+
'cm_niu',
|
|
117
123
|
'cn_tin',
|
|
118
124
|
'co_nit',
|
|
119
125
|
'cr_tin',
|
|
126
|
+
'cv_nif',
|
|
120
127
|
'cy_vat',
|
|
121
128
|
'cz_vat',
|
|
122
129
|
'de_stn',
|
|
@@ -128,6 +135,7 @@ export const BillingContactSchema = {
|
|
|
128
135
|
'eg_tin',
|
|
129
136
|
'es_cif',
|
|
130
137
|
'es_vat',
|
|
138
|
+
'et_tin',
|
|
131
139
|
'eu_oss_vat',
|
|
132
140
|
'fi_vat',
|
|
133
141
|
'fr_vat',
|
|
@@ -150,11 +158,14 @@ export const BillingContactSchema = {
|
|
|
150
158
|
'jp_rn',
|
|
151
159
|
'jp_trn',
|
|
152
160
|
'ke_pin',
|
|
161
|
+
'kg_tin',
|
|
153
162
|
'kh_tin',
|
|
154
163
|
'kr_brn',
|
|
155
164
|
'kz_bin',
|
|
165
|
+
'la_tin',
|
|
156
166
|
'li_uid',
|
|
157
167
|
'li_vat',
|
|
168
|
+
'lk_vat',
|
|
158
169
|
'lt_vat',
|
|
159
170
|
'lu_vat',
|
|
160
171
|
'lv_vat',
|
|
@@ -970,6 +981,72 @@ export const ClusterUpdateInputSchema = {
|
|
|
970
981
|
additionalProperties: false,
|
|
971
982
|
description: 'Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.'
|
|
972
983
|
};
|
|
984
|
+
export const FeedbackCreateInputSchema = {
|
|
985
|
+
type: 'object',
|
|
986
|
+
properties: {
|
|
987
|
+
sentiment: {
|
|
988
|
+
type: 'string',
|
|
989
|
+
description: 'Overall sentiment: positive, neutral or negative.',
|
|
990
|
+
example: 'negative',
|
|
991
|
+
enum: [
|
|
992
|
+
'positive',
|
|
993
|
+
'neutral',
|
|
994
|
+
'negative'
|
|
995
|
+
]
|
|
996
|
+
},
|
|
997
|
+
message: {
|
|
998
|
+
type: 'string',
|
|
999
|
+
maxLength: 2000,
|
|
1000
|
+
minLength: 1,
|
|
1001
|
+
description: 'What was useful, confusing, wrong or missing.',
|
|
1002
|
+
example: 'The error for a missing kubeconfig does not say which path it looked in.'
|
|
1003
|
+
},
|
|
1004
|
+
context: {
|
|
1005
|
+
type: 'string',
|
|
1006
|
+
maxLength: 2000,
|
|
1007
|
+
description: 'What you were trying to do when it happened.',
|
|
1008
|
+
example: 'Connecting kubectl to a new cluster.'
|
|
1009
|
+
},
|
|
1010
|
+
source: {
|
|
1011
|
+
type: 'string',
|
|
1012
|
+
description: 'Where the feedback was sent from: cli, mcp, plugin, console or api. Defaults to api.',
|
|
1013
|
+
default: 'api',
|
|
1014
|
+
example: 'cli',
|
|
1015
|
+
enum: [
|
|
1016
|
+
'cli',
|
|
1017
|
+
'mcp',
|
|
1018
|
+
'plugin',
|
|
1019
|
+
'console',
|
|
1020
|
+
'api'
|
|
1021
|
+
]
|
|
1022
|
+
},
|
|
1023
|
+
client: {
|
|
1024
|
+
type: 'string',
|
|
1025
|
+
maxLength: 100,
|
|
1026
|
+
description: 'Name and version of the sending client.',
|
|
1027
|
+
example: 'cloudfleet-plugin-claude/0.5.0'
|
|
1028
|
+
}
|
|
1029
|
+
},
|
|
1030
|
+
required: [
|
|
1031
|
+
'sentiment',
|
|
1032
|
+
'message'
|
|
1033
|
+
],
|
|
1034
|
+
additionalProperties: false
|
|
1035
|
+
};
|
|
1036
|
+
export const FeedbackSchema = {
|
|
1037
|
+
type: 'object',
|
|
1038
|
+
properties: {
|
|
1039
|
+
id: {
|
|
1040
|
+
type: 'string',
|
|
1041
|
+
description: 'Unique identifier of the feedback entry (Mongo ObjectId).',
|
|
1042
|
+
example: '60c72b2f9f1b2c001f8e4d3a'
|
|
1043
|
+
}
|
|
1044
|
+
},
|
|
1045
|
+
required: [
|
|
1046
|
+
'id'
|
|
1047
|
+
],
|
|
1048
|
+
additionalProperties: false
|
|
1049
|
+
};
|
|
973
1050
|
export const FleetCreateInputSchema = {
|
|
974
1051
|
type: 'object',
|
|
975
1052
|
properties: {
|
|
@@ -1342,6 +1419,44 @@ export const FleetCreateInputSchema = {
|
|
|
1342
1419
|
'conservative'
|
|
1343
1420
|
]
|
|
1344
1421
|
},
|
|
1422
|
+
taints: {
|
|
1423
|
+
type: 'array',
|
|
1424
|
+
items: {
|
|
1425
|
+
type: 'object',
|
|
1426
|
+
properties: {
|
|
1427
|
+
key: {
|
|
1428
|
+
type: 'string',
|
|
1429
|
+
description: 'Taint key: a Kubernetes qualified name with an optional DNS subdomain prefix. Keys under `node.kubernetes.io`, `node.cloudprovider.kubernetes.io`, `node.cilium.io`, `karpenter.sh` and `cfke.io` (and their subdomains) are reserved.',
|
|
1430
|
+
example: 'dedicated'
|
|
1431
|
+
},
|
|
1432
|
+
value: {
|
|
1433
|
+
type: 'string',
|
|
1434
|
+
maxLength: 63,
|
|
1435
|
+
pattern: '^([A-Za-z0-9]([-A-Za-z0-9_.]*[A-Za-z0-9])?)?$',
|
|
1436
|
+
description: 'Taint value. Optional.',
|
|
1437
|
+
example: 'ci'
|
|
1438
|
+
},
|
|
1439
|
+
effect: {
|
|
1440
|
+
type: 'string',
|
|
1441
|
+
description: 'Taint effect.',
|
|
1442
|
+
example: 'NoSchedule',
|
|
1443
|
+
enum: [
|
|
1444
|
+
'NoSchedule',
|
|
1445
|
+
'PreferNoSchedule',
|
|
1446
|
+
'NoExecute'
|
|
1447
|
+
]
|
|
1448
|
+
}
|
|
1449
|
+
},
|
|
1450
|
+
required: [
|
|
1451
|
+
'key',
|
|
1452
|
+
'effect'
|
|
1453
|
+
],
|
|
1454
|
+
additionalProperties: false
|
|
1455
|
+
},
|
|
1456
|
+
maxItems: 50,
|
|
1457
|
+
description: 'Taints applied to every node the fleet provisions, so only pods that tolerate them schedule there. Each key and effect pair may appear once. Full-overwrite: omit to remove all taints.',
|
|
1458
|
+
default: []
|
|
1459
|
+
},
|
|
1345
1460
|
id: {
|
|
1346
1461
|
type: 'string',
|
|
1347
1462
|
maxLength: 63,
|
|
@@ -1731,6 +1846,44 @@ export const FleetSchema = {
|
|
|
1731
1846
|
'conservative'
|
|
1732
1847
|
]
|
|
1733
1848
|
},
|
|
1849
|
+
taints: {
|
|
1850
|
+
type: 'array',
|
|
1851
|
+
items: {
|
|
1852
|
+
type: 'object',
|
|
1853
|
+
properties: {
|
|
1854
|
+
key: {
|
|
1855
|
+
type: 'string',
|
|
1856
|
+
description: 'Taint key: a Kubernetes qualified name with an optional DNS subdomain prefix. Keys under `node.kubernetes.io`, `node.cloudprovider.kubernetes.io`, `node.cilium.io`, `karpenter.sh` and `cfke.io` (and their subdomains) are reserved.',
|
|
1857
|
+
example: 'dedicated'
|
|
1858
|
+
},
|
|
1859
|
+
value: {
|
|
1860
|
+
type: 'string',
|
|
1861
|
+
maxLength: 63,
|
|
1862
|
+
pattern: '^([A-Za-z0-9]([-A-Za-z0-9_.]*[A-Za-z0-9])?)?$',
|
|
1863
|
+
description: 'Taint value. Optional.',
|
|
1864
|
+
example: 'ci'
|
|
1865
|
+
},
|
|
1866
|
+
effect: {
|
|
1867
|
+
type: 'string',
|
|
1868
|
+
description: 'Taint effect.',
|
|
1869
|
+
example: 'NoSchedule',
|
|
1870
|
+
enum: [
|
|
1871
|
+
'NoSchedule',
|
|
1872
|
+
'PreferNoSchedule',
|
|
1873
|
+
'NoExecute'
|
|
1874
|
+
]
|
|
1875
|
+
}
|
|
1876
|
+
},
|
|
1877
|
+
required: [
|
|
1878
|
+
'key',
|
|
1879
|
+
'effect'
|
|
1880
|
+
],
|
|
1881
|
+
additionalProperties: false
|
|
1882
|
+
},
|
|
1883
|
+
maxItems: 50,
|
|
1884
|
+
description: 'Taints applied to every node the fleet provisions, so only pods that tolerate them schedule there. Each key and effect pair may appear once. Full-overwrite: omit to remove all taints.',
|
|
1885
|
+
default: []
|
|
1886
|
+
},
|
|
1734
1887
|
id: {
|
|
1735
1888
|
type: 'string',
|
|
1736
1889
|
maxLength: 63,
|
|
@@ -1763,6 +1916,7 @@ export const FleetSchema = {
|
|
|
1763
1916
|
required: [
|
|
1764
1917
|
'constraints',
|
|
1765
1918
|
'scalingProfile',
|
|
1919
|
+
'taints',
|
|
1766
1920
|
'id',
|
|
1767
1921
|
'ready',
|
|
1768
1922
|
'created_at',
|
|
@@ -2142,6 +2296,44 @@ export const FleetUpdateInputSchema = {
|
|
|
2142
2296
|
'aggressive',
|
|
2143
2297
|
'conservative'
|
|
2144
2298
|
]
|
|
2299
|
+
},
|
|
2300
|
+
taints: {
|
|
2301
|
+
type: 'array',
|
|
2302
|
+
items: {
|
|
2303
|
+
type: 'object',
|
|
2304
|
+
properties: {
|
|
2305
|
+
key: {
|
|
2306
|
+
type: 'string',
|
|
2307
|
+
description: 'Taint key: a Kubernetes qualified name with an optional DNS subdomain prefix. Keys under `node.kubernetes.io`, `node.cloudprovider.kubernetes.io`, `node.cilium.io`, `karpenter.sh` and `cfke.io` (and their subdomains) are reserved.',
|
|
2308
|
+
example: 'dedicated'
|
|
2309
|
+
},
|
|
2310
|
+
value: {
|
|
2311
|
+
type: 'string',
|
|
2312
|
+
maxLength: 63,
|
|
2313
|
+
pattern: '^([A-Za-z0-9]([-A-Za-z0-9_.]*[A-Za-z0-9])?)?$',
|
|
2314
|
+
description: 'Taint value. Optional.',
|
|
2315
|
+
example: 'ci'
|
|
2316
|
+
},
|
|
2317
|
+
effect: {
|
|
2318
|
+
type: 'string',
|
|
2319
|
+
description: 'Taint effect.',
|
|
2320
|
+
example: 'NoSchedule',
|
|
2321
|
+
enum: [
|
|
2322
|
+
'NoSchedule',
|
|
2323
|
+
'PreferNoSchedule',
|
|
2324
|
+
'NoExecute'
|
|
2325
|
+
]
|
|
2326
|
+
}
|
|
2327
|
+
},
|
|
2328
|
+
required: [
|
|
2329
|
+
'key',
|
|
2330
|
+
'effect'
|
|
2331
|
+
],
|
|
2332
|
+
additionalProperties: false
|
|
2333
|
+
},
|
|
2334
|
+
maxItems: 50,
|
|
2335
|
+
description: 'Taints applied to every node the fleet provisions, so only pods that tolerate them schedule there. Each key and effect pair may appear once. Full-overwrite: omit to remove all taints.',
|
|
2336
|
+
default: []
|
|
2145
2337
|
}
|
|
2146
2338
|
},
|
|
2147
2339
|
additionalProperties: false,
|
|
@@ -3284,6 +3476,73 @@ export const RegistryTagSchema = {
|
|
|
3284
3476
|
],
|
|
3285
3477
|
additionalProperties: false
|
|
3286
3478
|
};
|
|
3479
|
+
export const RoadmapItemCreateInputSchema = {
|
|
3480
|
+
type: 'object',
|
|
3481
|
+
properties: {
|
|
3482
|
+
text: {
|
|
3483
|
+
type: 'string',
|
|
3484
|
+
maxLength: 500,
|
|
3485
|
+
minLength: 1,
|
|
3486
|
+
description: 'Your suggestion in one or two sentences. It is reviewed before it appears on the roadmap.',
|
|
3487
|
+
example: 'Support for ARM nodes on Hetzner.'
|
|
3488
|
+
}
|
|
3489
|
+
},
|
|
3490
|
+
required: [
|
|
3491
|
+
'text'
|
|
3492
|
+
],
|
|
3493
|
+
additionalProperties: false
|
|
3494
|
+
};
|
|
3495
|
+
export const RoadmapItemSchema = {
|
|
3496
|
+
type: 'object',
|
|
3497
|
+
properties: {
|
|
3498
|
+
id: {
|
|
3499
|
+
type: 'string',
|
|
3500
|
+
description: 'Unique identifier of the roadmap item (Mongo ObjectId).',
|
|
3501
|
+
example: '60c72b2f9f1b2c001f8e4d3a'
|
|
3502
|
+
},
|
|
3503
|
+
text: {
|
|
3504
|
+
type: 'string',
|
|
3505
|
+
description: 'Short description of the roadmap item.',
|
|
3506
|
+
example: 'Support for ARM nodes on Hetzner.'
|
|
3507
|
+
},
|
|
3508
|
+
vote: {
|
|
3509
|
+
type: 'integer',
|
|
3510
|
+
nullable: true,
|
|
3511
|
+
description: 'The caller\'s vote on this item: -1 (down), 1 (up), 2 (double up), or null if the caller has not voted.',
|
|
3512
|
+
example: 1,
|
|
3513
|
+
enum: [
|
|
3514
|
+
-1,
|
|
3515
|
+
1,
|
|
3516
|
+
2
|
|
3517
|
+
]
|
|
3518
|
+
}
|
|
3519
|
+
},
|
|
3520
|
+
required: [
|
|
3521
|
+
'id',
|
|
3522
|
+
'text',
|
|
3523
|
+
'vote'
|
|
3524
|
+
],
|
|
3525
|
+
additionalProperties: false
|
|
3526
|
+
};
|
|
3527
|
+
export const RoadmapVoteInputSchema = {
|
|
3528
|
+
type: 'object',
|
|
3529
|
+
properties: {
|
|
3530
|
+
value: {
|
|
3531
|
+
type: 'integer',
|
|
3532
|
+
description: 'Vote value: -1 (down), 1 (up), or 2 (double up).',
|
|
3533
|
+
example: 1,
|
|
3534
|
+
enum: [
|
|
3535
|
+
-1,
|
|
3536
|
+
1,
|
|
3537
|
+
2
|
|
3538
|
+
]
|
|
3539
|
+
}
|
|
3540
|
+
},
|
|
3541
|
+
required: [
|
|
3542
|
+
'value'
|
|
3543
|
+
],
|
|
3544
|
+
additionalProperties: false
|
|
3545
|
+
};
|
|
3287
3546
|
export const TicketAttachmentSchema = {
|
|
3288
3547
|
type: 'object',
|
|
3289
3548
|
properties: {
|
|
@@ -3345,6 +3604,11 @@ export const TicketCreateInputSchema = {
|
|
|
3345
3604
|
subcategory: 'cluster-question',
|
|
3346
3605
|
cluster_id: '60c72b2f9f1b2c001f8e4d3a'
|
|
3347
3606
|
}
|
|
3607
|
+
},
|
|
3608
|
+
grant_support_access: {
|
|
3609
|
+
type: 'boolean',
|
|
3610
|
+
description: 'Grant Cloudfleet support staff access to the organization\'s resources while the ticket is open. Access cannot be revoked; it ends when the ticket is closed.',
|
|
3611
|
+
example: true
|
|
3348
3612
|
}
|
|
3349
3613
|
},
|
|
3350
3614
|
required: [
|
|
@@ -3489,6 +3753,18 @@ export const TicketSchema = {
|
|
|
3489
3753
|
description: 'First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.',
|
|
3490
3754
|
example: 'My cluster cannot reach the registry. Logs attached.'
|
|
3491
3755
|
},
|
|
3756
|
+
support_access_granted: {
|
|
3757
|
+
type: 'boolean',
|
|
3758
|
+
description: 'Whether Cloudfleet support staff currently have access to the organization\'s resources. True once access is granted and until the ticket is closed.',
|
|
3759
|
+
example: true
|
|
3760
|
+
},
|
|
3761
|
+
support_access_granted_at: {
|
|
3762
|
+
type: 'string',
|
|
3763
|
+
format: 'date-time',
|
|
3764
|
+
nullable: true,
|
|
3765
|
+
description: 'When support access was granted. Null if it never was. Kept after the ticket is closed.',
|
|
3766
|
+
example: '2026-05-11T16:08:14.338Z'
|
|
3767
|
+
},
|
|
3492
3768
|
closed_at: {
|
|
3493
3769
|
type: 'string',
|
|
3494
3770
|
format: 'date-time',
|
|
@@ -3602,6 +3878,8 @@ export const TicketSchema = {
|
|
|
3602
3878
|
'status',
|
|
3603
3879
|
'category',
|
|
3604
3880
|
'summary',
|
|
3881
|
+
'support_access_granted',
|
|
3882
|
+
'support_access_granted_at',
|
|
3605
3883
|
'date_created',
|
|
3606
3884
|
'date_updated'
|
|
3607
3885
|
],
|