@cloudfleet/sdk 0.0.1-1ce83e7 → 0.0.1-1e6cbc3
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 +54 -4
- package/dist/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/@tanstack/react-query.gen.js +50 -0
- package/dist/@tanstack/react-query.gen.js.map +1 -1
- package/dist/schemas.gen.d.ts +79 -149
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +132 -181
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +27 -1
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +37 -0
- package/dist/sdk.gen.js.map +1 -1
- package/dist/types.gen.d.ts +85 -97
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +147 -75
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +81 -44
- package/dist/zod.gen.js.map +1 -1
- package/package.json +2 -2
package/dist/schemas.gen.js
CHANGED
|
@@ -1,4 +1,53 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
|
+
export const BasicPriceConsentInputSchema = {
|
|
3
|
+
type: 'object',
|
|
4
|
+
properties: {
|
|
5
|
+
decision: {
|
|
6
|
+
type: 'string',
|
|
7
|
+
description: 'The administrator\'s decision on the new Basic price. `accepted` continues to paid billing when the signup credit runs out; `rejected` opts out (clusters are suspended, never charged). A `rejected` org can later be flipped back to `accepted`.',
|
|
8
|
+
example: 'accepted',
|
|
9
|
+
enum: [
|
|
10
|
+
'accepted',
|
|
11
|
+
'rejected'
|
|
12
|
+
]
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
required: [
|
|
16
|
+
'decision'
|
|
17
|
+
],
|
|
18
|
+
additionalProperties: false
|
|
19
|
+
};
|
|
20
|
+
export const BasicPriceConsentSchema = {
|
|
21
|
+
type: 'object',
|
|
22
|
+
properties: {
|
|
23
|
+
status: {
|
|
24
|
+
type: 'string',
|
|
25
|
+
description: 'Consent status for the new Basic price. `not_applicable` when the organization is not in scope for the migration. `pending` when the organization must opt in but no admin has decided yet. `accepted` / `rejected` reflect the recorded decision.',
|
|
26
|
+
example: 'pending',
|
|
27
|
+
enum: [
|
|
28
|
+
'not_applicable',
|
|
29
|
+
'pending',
|
|
30
|
+
'accepted',
|
|
31
|
+
'rejected'
|
|
32
|
+
]
|
|
33
|
+
},
|
|
34
|
+
decided_at: {
|
|
35
|
+
type: 'string',
|
|
36
|
+
format: 'date-time',
|
|
37
|
+
description: 'When the current decision was recorded. Absent while `not_applicable` or `pending`.',
|
|
38
|
+
example: '2026-09-05T10:12:00.000Z'
|
|
39
|
+
},
|
|
40
|
+
decided_by: {
|
|
41
|
+
type: 'string',
|
|
42
|
+
description: 'User id of the administrator who recorded the current decision. Absent while `not_applicable` or `pending`.',
|
|
43
|
+
example: '2b7a5c9e-1f4d-4a1b-9c3e-8d2f6a0b1c2d'
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
required: [
|
|
47
|
+
'status'
|
|
48
|
+
],
|
|
49
|
+
additionalProperties: false
|
|
50
|
+
};
|
|
2
51
|
export const BillingContactSchema = {
|
|
3
52
|
type: 'object',
|
|
4
53
|
properties: {
|
|
@@ -444,7 +493,8 @@ export const ClusterCreateInputSchema = {
|
|
|
444
493
|
example: 'pro',
|
|
445
494
|
enum: [
|
|
446
495
|
'basic',
|
|
447
|
-
'pro'
|
|
496
|
+
'pro',
|
|
497
|
+
'enterprise'
|
|
448
498
|
]
|
|
449
499
|
},
|
|
450
500
|
version_channel: {
|
|
@@ -677,7 +727,8 @@ export const ClusterSchema = {
|
|
|
677
727
|
example: 'pro',
|
|
678
728
|
enum: [
|
|
679
729
|
'basic',
|
|
680
|
-
'pro'
|
|
730
|
+
'pro',
|
|
731
|
+
'enterprise'
|
|
681
732
|
]
|
|
682
733
|
},
|
|
683
734
|
version_channel: {
|
|
@@ -897,7 +948,8 @@ export const ClusterUpdateInputSchema = {
|
|
|
897
948
|
example: 'pro',
|
|
898
949
|
enum: [
|
|
899
950
|
'basic',
|
|
900
|
-
'pro'
|
|
951
|
+
'pro',
|
|
952
|
+
'enterprise'
|
|
901
953
|
]
|
|
902
954
|
},
|
|
903
955
|
version_channel: {
|
|
@@ -1005,8 +1057,8 @@ export const FleetCreateInputSchema = {
|
|
|
1005
1057
|
type: 'string',
|
|
1006
1058
|
maxLength: 64,
|
|
1007
1059
|
minLength: 64,
|
|
1008
|
-
pattern: '^[A-Za-z0-9]
|
|
1009
|
-
description: 'Hetzner Cloud API token with read
|
|
1060
|
+
pattern: '^([A-Za-z0-9]{64}|\\*{64})$',
|
|
1061
|
+
description: 'Hetzner Cloud API token with read/write access (64 alphanumeric characters). Write-only: reads return a redacted placeholder, never the token. Omit the field, or send the placeholder back unchanged, to keep the existing key. Send a new value to rotate it.'
|
|
1010
1062
|
}
|
|
1011
1063
|
},
|
|
1012
1064
|
required: [
|
|
@@ -1806,8 +1858,8 @@ export const FleetUpdateInputSchema = {
|
|
|
1806
1858
|
type: 'string',
|
|
1807
1859
|
maxLength: 64,
|
|
1808
1860
|
minLength: 64,
|
|
1809
|
-
pattern: '^[A-Za-z0-9]
|
|
1810
|
-
description: 'Hetzner Cloud API token with read
|
|
1861
|
+
pattern: '^([A-Za-z0-9]{64}|\\*{64})$',
|
|
1862
|
+
description: 'Hetzner Cloud API token with read/write access (64 alphanumeric characters). Write-only: reads return a redacted placeholder, never the token. Omit the field, or send the placeholder back unchanged, to keep the existing key. Send a new value to rotate it.'
|
|
1811
1863
|
}
|
|
1812
1864
|
},
|
|
1813
1865
|
required: [
|
|
@@ -2544,6 +2596,17 @@ export const OrganizationSchema = {
|
|
|
2544
2596
|
description: 'Available number of Pro clusters that can be created.',
|
|
2545
2597
|
example: 999
|
|
2546
2598
|
},
|
|
2599
|
+
enterprise_clusters_max: {
|
|
2600
|
+
type: 'integer',
|
|
2601
|
+
minimum: 0,
|
|
2602
|
+
description: 'Maximum number of Enterprise clusters that can be created.',
|
|
2603
|
+
example: 999
|
|
2604
|
+
},
|
|
2605
|
+
enterprise_clusters_available: {
|
|
2606
|
+
type: 'integer',
|
|
2607
|
+
description: 'Available number of Enterprise clusters that can be created.',
|
|
2608
|
+
example: 999
|
|
2609
|
+
},
|
|
2547
2610
|
fleets_max: {
|
|
2548
2611
|
type: 'integer',
|
|
2549
2612
|
minimum: 0,
|
|
@@ -2605,6 +2668,8 @@ export const OrganizationSchema = {
|
|
|
2605
2668
|
'basic_clusters_available',
|
|
2606
2669
|
'pro_clusters_max',
|
|
2607
2670
|
'pro_clusters_available',
|
|
2671
|
+
'enterprise_clusters_max',
|
|
2672
|
+
'enterprise_clusters_available',
|
|
2608
2673
|
'fleets_max',
|
|
2609
2674
|
'cluster_tiers',
|
|
2610
2675
|
'regions',
|
|
@@ -2751,6 +2816,17 @@ export const PlatformQuotaSchema = {
|
|
|
2751
2816
|
description: 'Available number of Pro clusters that can be created.',
|
|
2752
2817
|
example: 999
|
|
2753
2818
|
},
|
|
2819
|
+
enterprise_clusters_max: {
|
|
2820
|
+
type: 'integer',
|
|
2821
|
+
minimum: 0,
|
|
2822
|
+
description: 'Maximum number of Enterprise clusters that can be created.',
|
|
2823
|
+
example: 999
|
|
2824
|
+
},
|
|
2825
|
+
enterprise_clusters_available: {
|
|
2826
|
+
type: 'integer',
|
|
2827
|
+
description: 'Available number of Enterprise clusters that can be created.',
|
|
2828
|
+
example: 999
|
|
2829
|
+
},
|
|
2754
2830
|
fleets_max: {
|
|
2755
2831
|
type: 'integer',
|
|
2756
2832
|
minimum: 0,
|
|
@@ -2812,6 +2888,8 @@ export const PlatformQuotaSchema = {
|
|
|
2812
2888
|
'basic_clusters_available',
|
|
2813
2889
|
'pro_clusters_max',
|
|
2814
2890
|
'pro_clusters_available',
|
|
2891
|
+
'enterprise_clusters_max',
|
|
2892
|
+
'enterprise_clusters_available',
|
|
2815
2893
|
'fleets_max',
|
|
2816
2894
|
'cluster_tiers',
|
|
2817
2895
|
'regions',
|
|
@@ -3154,172 +3232,6 @@ export const TicketCreateInputSchema = {
|
|
|
3154
3232
|
],
|
|
3155
3233
|
additionalProperties: false
|
|
3156
3234
|
};
|
|
3157
|
-
export const TicketListResponseSchema = {
|
|
3158
|
-
type: 'object',
|
|
3159
|
-
properties: {
|
|
3160
|
-
items: {
|
|
3161
|
-
type: 'array',
|
|
3162
|
-
items: {
|
|
3163
|
-
type: 'object',
|
|
3164
|
-
properties: {
|
|
3165
|
-
id: {
|
|
3166
|
-
type: 'string',
|
|
3167
|
-
description: 'Unique identifier of the ticket (Mongo ObjectId).',
|
|
3168
|
-
example: '60c72b2f9f1b2c001f8e4d3a'
|
|
3169
|
-
},
|
|
3170
|
-
status: {
|
|
3171
|
-
type: 'string',
|
|
3172
|
-
description: 'Current state of the ticket.',
|
|
3173
|
-
example: 'waiting_on_us',
|
|
3174
|
-
enum: [
|
|
3175
|
-
'waiting_on_us',
|
|
3176
|
-
'waiting_on_user',
|
|
3177
|
-
'closed'
|
|
3178
|
-
]
|
|
3179
|
-
},
|
|
3180
|
-
category: {
|
|
3181
|
-
type: 'string',
|
|
3182
|
-
description: 'Ticket category.',
|
|
3183
|
-
example: 'technical',
|
|
3184
|
-
enum: [
|
|
3185
|
-
'billing',
|
|
3186
|
-
'technical',
|
|
3187
|
-
'general'
|
|
3188
|
-
]
|
|
3189
|
-
},
|
|
3190
|
-
summary: {
|
|
3191
|
-
type: 'string',
|
|
3192
|
-
description: 'First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.',
|
|
3193
|
-
example: 'My cluster cannot reach the registry. Logs attached.'
|
|
3194
|
-
},
|
|
3195
|
-
closed_at: {
|
|
3196
|
-
type: 'string',
|
|
3197
|
-
format: 'date-time',
|
|
3198
|
-
nullable: true,
|
|
3199
|
-
description: 'Closure timestamp. Null while the ticket is open.',
|
|
3200
|
-
example: '2026-05-18T16:08:14.338Z'
|
|
3201
|
-
},
|
|
3202
|
-
date_created: {
|
|
3203
|
-
type: 'string',
|
|
3204
|
-
format: 'date-time',
|
|
3205
|
-
description: 'Creation date of the ticket. ISO 8601 UTC.',
|
|
3206
|
-
example: '2026-05-11T16:08:14.338Z'
|
|
3207
|
-
},
|
|
3208
|
-
date_updated: {
|
|
3209
|
-
type: 'string',
|
|
3210
|
-
format: 'date-time',
|
|
3211
|
-
description: 'Last update date of the ticket. ISO 8601 UTC.',
|
|
3212
|
-
example: '2026-05-11T16:08:14.338Z'
|
|
3213
|
-
},
|
|
3214
|
-
messages: {
|
|
3215
|
-
type: 'array',
|
|
3216
|
-
items: {
|
|
3217
|
-
type: 'object',
|
|
3218
|
-
properties: {
|
|
3219
|
-
id: {
|
|
3220
|
-
type: 'string',
|
|
3221
|
-
description: 'Unique identifier of the message (Mongo ObjectId).',
|
|
3222
|
-
example: '60c72b2f9f1b2c001f8e4d3b'
|
|
3223
|
-
},
|
|
3224
|
-
type: {
|
|
3225
|
-
type: 'string',
|
|
3226
|
-
description: 'Message type. Internal notes are filtered out of customer-facing responses.',
|
|
3227
|
-
example: 'customer_reply',
|
|
3228
|
-
enum: [
|
|
3229
|
-
'customer_reply',
|
|
3230
|
-
'agent_reply'
|
|
3231
|
-
]
|
|
3232
|
-
},
|
|
3233
|
-
body: {
|
|
3234
|
-
type: 'string',
|
|
3235
|
-
description: 'Message body in markdown.',
|
|
3236
|
-
example: 'Thanks — that resolved it on my side.'
|
|
3237
|
-
},
|
|
3238
|
-
author_first_name: {
|
|
3239
|
-
type: 'string',
|
|
3240
|
-
nullable: true,
|
|
3241
|
-
description: 'First name of the author. Null when not provided.',
|
|
3242
|
-
example: 'Jane'
|
|
3243
|
-
},
|
|
3244
|
-
author_last_name: {
|
|
3245
|
-
type: 'string',
|
|
3246
|
-
nullable: true,
|
|
3247
|
-
description: 'Last name of the author. Null when not provided.',
|
|
3248
|
-
example: 'Doe'
|
|
3249
|
-
},
|
|
3250
|
-
attachments: {
|
|
3251
|
-
type: 'array',
|
|
3252
|
-
items: {
|
|
3253
|
-
type: 'object',
|
|
3254
|
-
properties: {
|
|
3255
|
-
id: {
|
|
3256
|
-
type: 'string',
|
|
3257
|
-
description: 'Unique identifier of the attachment (Mongo ObjectId).',
|
|
3258
|
-
example: '60c72b2f9f1b2c001f8e4d3c'
|
|
3259
|
-
},
|
|
3260
|
-
filename: {
|
|
3261
|
-
type: 'string',
|
|
3262
|
-
description: 'Original filename as uploaded.',
|
|
3263
|
-
example: 'debug.log'
|
|
3264
|
-
},
|
|
3265
|
-
content_type: {
|
|
3266
|
-
type: 'string',
|
|
3267
|
-
description: 'MIME content type of the attachment.',
|
|
3268
|
-
example: 'text/plain'
|
|
3269
|
-
},
|
|
3270
|
-
size: {
|
|
3271
|
-
type: 'integer',
|
|
3272
|
-
description: 'Size of the attachment in bytes.',
|
|
3273
|
-
example: 12345
|
|
3274
|
-
}
|
|
3275
|
-
},
|
|
3276
|
-
required: [
|
|
3277
|
-
'id',
|
|
3278
|
-
'filename',
|
|
3279
|
-
'content_type',
|
|
3280
|
-
'size'
|
|
3281
|
-
],
|
|
3282
|
-
additionalProperties: false
|
|
3283
|
-
},
|
|
3284
|
-
description: 'Attachments associated with this message.',
|
|
3285
|
-
example: []
|
|
3286
|
-
},
|
|
3287
|
-
date_created: {
|
|
3288
|
-
type: 'string',
|
|
3289
|
-
format: 'date-time',
|
|
3290
|
-
description: 'Creation date of the message. ISO 8601 UTC.',
|
|
3291
|
-
example: '2026-05-11T16:08:14.338Z'
|
|
3292
|
-
}
|
|
3293
|
-
},
|
|
3294
|
-
required: [
|
|
3295
|
-
'id',
|
|
3296
|
-
'type',
|
|
3297
|
-
'body',
|
|
3298
|
-
'date_created'
|
|
3299
|
-
],
|
|
3300
|
-
additionalProperties: false
|
|
3301
|
-
},
|
|
3302
|
-
description: 'Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.'
|
|
3303
|
-
}
|
|
3304
|
-
},
|
|
3305
|
-
required: [
|
|
3306
|
-
'id',
|
|
3307
|
-
'status',
|
|
3308
|
-
'category',
|
|
3309
|
-
'summary',
|
|
3310
|
-
'date_created',
|
|
3311
|
-
'date_updated'
|
|
3312
|
-
],
|
|
3313
|
-
additionalProperties: false
|
|
3314
|
-
},
|
|
3315
|
-
description: 'Tickets for the organization, ordered newest first. Messages are omitted from list responses.'
|
|
3316
|
-
}
|
|
3317
|
-
},
|
|
3318
|
-
required: [
|
|
3319
|
-
'items'
|
|
3320
|
-
],
|
|
3321
|
-
additionalProperties: false
|
|
3322
|
-
};
|
|
3323
3235
|
export const TicketMessageInputSchema = {
|
|
3324
3236
|
type: 'object',
|
|
3325
3237
|
properties: {
|
|
@@ -3361,11 +3273,13 @@ export const TicketMessageSchema = {
|
|
|
3361
3273
|
},
|
|
3362
3274
|
author_first_name: {
|
|
3363
3275
|
type: 'string',
|
|
3276
|
+
nullable: true,
|
|
3364
3277
|
description: 'First name of the author. Null when not provided.',
|
|
3365
3278
|
example: 'Jane'
|
|
3366
3279
|
},
|
|
3367
3280
|
author_last_name: {
|
|
3368
3281
|
type: 'string',
|
|
3282
|
+
nullable: true,
|
|
3369
3283
|
description: 'Last name of the author. Null when not provided.',
|
|
3370
3284
|
example: 'Doe'
|
|
3371
3285
|
},
|
|
@@ -3457,6 +3371,7 @@ export const TicketSchema = {
|
|
|
3457
3371
|
closed_at: {
|
|
3458
3372
|
type: 'string',
|
|
3459
3373
|
format: 'date-time',
|
|
3374
|
+
nullable: true,
|
|
3460
3375
|
description: 'Closure timestamp. Null while the ticket is open.',
|
|
3461
3376
|
example: '2026-05-18T16:08:14.338Z'
|
|
3462
3377
|
},
|
|
@@ -3681,12 +3596,21 @@ export const UsageFacetsSchema = {
|
|
|
3681
3596
|
product: {
|
|
3682
3597
|
type: 'array',
|
|
3683
3598
|
items: {
|
|
3684
|
-
type: 'string'
|
|
3599
|
+
type: 'string',
|
|
3600
|
+
enum: [
|
|
3601
|
+
'cfke_controlplane_basic',
|
|
3602
|
+
'cfke_controlplane_pro',
|
|
3603
|
+
'cfke_controlplane_enterprise',
|
|
3604
|
+
'cfke_connected_nodes_basic',
|
|
3605
|
+
'cfke_connected_nodes_pro',
|
|
3606
|
+
'cfke_connected_nodes_enterprise',
|
|
3607
|
+
'cfcr_storage'
|
|
3608
|
+
]
|
|
3685
3609
|
},
|
|
3686
3610
|
description: 'List of unique products',
|
|
3687
3611
|
example: [
|
|
3688
|
-
'
|
|
3689
|
-
'
|
|
3612
|
+
'cfke_controlplane_pro',
|
|
3613
|
+
'cfke_connected_nodes_pro'
|
|
3690
3614
|
]
|
|
3691
3615
|
}
|
|
3692
3616
|
},
|
|
@@ -3713,7 +3637,16 @@ export const UsageResponseSchema = {
|
|
|
3713
3637
|
product: {
|
|
3714
3638
|
type: 'string',
|
|
3715
3639
|
description: 'The product the usage is associated with',
|
|
3716
|
-
example: '
|
|
3640
|
+
example: 'cfke_controlplane_pro',
|
|
3641
|
+
enum: [
|
|
3642
|
+
'cfke_controlplane_basic',
|
|
3643
|
+
'cfke_controlplane_pro',
|
|
3644
|
+
'cfke_controlplane_enterprise',
|
|
3645
|
+
'cfke_connected_nodes_basic',
|
|
3646
|
+
'cfke_connected_nodes_pro',
|
|
3647
|
+
'cfke_connected_nodes_enterprise',
|
|
3648
|
+
'cfcr_storage'
|
|
3649
|
+
]
|
|
3717
3650
|
},
|
|
3718
3651
|
value: {
|
|
3719
3652
|
type: 'number',
|
|
@@ -3761,12 +3694,21 @@ export const UsageResponseSchema = {
|
|
|
3761
3694
|
product: {
|
|
3762
3695
|
type: 'array',
|
|
3763
3696
|
items: {
|
|
3764
|
-
type: 'string'
|
|
3697
|
+
type: 'string',
|
|
3698
|
+
enum: [
|
|
3699
|
+
'cfke_controlplane_basic',
|
|
3700
|
+
'cfke_controlplane_pro',
|
|
3701
|
+
'cfke_controlplane_enterprise',
|
|
3702
|
+
'cfke_connected_nodes_basic',
|
|
3703
|
+
'cfke_connected_nodes_pro',
|
|
3704
|
+
'cfke_connected_nodes_enterprise',
|
|
3705
|
+
'cfcr_storage'
|
|
3706
|
+
]
|
|
3765
3707
|
},
|
|
3766
3708
|
description: 'List of unique products',
|
|
3767
3709
|
example: [
|
|
3768
|
-
'
|
|
3769
|
-
'
|
|
3710
|
+
'cfke_controlplane_pro',
|
|
3711
|
+
'cfke_connected_nodes_pro'
|
|
3770
3712
|
]
|
|
3771
3713
|
}
|
|
3772
3714
|
},
|
|
@@ -3796,7 +3738,16 @@ export const UsageSchema = {
|
|
|
3796
3738
|
product: {
|
|
3797
3739
|
type: 'string',
|
|
3798
3740
|
description: 'The product the usage is associated with',
|
|
3799
|
-
example: '
|
|
3741
|
+
example: 'cfke_controlplane_pro',
|
|
3742
|
+
enum: [
|
|
3743
|
+
'cfke_controlplane_basic',
|
|
3744
|
+
'cfke_controlplane_pro',
|
|
3745
|
+
'cfke_controlplane_enterprise',
|
|
3746
|
+
'cfke_connected_nodes_basic',
|
|
3747
|
+
'cfke_connected_nodes_pro',
|
|
3748
|
+
'cfke_connected_nodes_enterprise',
|
|
3749
|
+
'cfcr_storage'
|
|
3750
|
+
]
|
|
3800
3751
|
},
|
|
3801
3752
|
value: {
|
|
3802
3753
|
type: 'number',
|