@cloudfleet/sdk 0.0.1-a4bb08f → 0.0.1-a508b9d
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 +184 -289
- 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 +81 -146
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +134 -177
- 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 +90 -94
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +149 -75
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +80 -42
- package/dist/zod.gen.js.map +1 -1
- package/package.json +7 -7
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: {
|
|
@@ -581,6 +631,11 @@ export const ClusterJoinInformationSchema = {
|
|
|
581
631
|
description: 'Authentication key for the cluster.',
|
|
582
632
|
example: 'tskey-auth-kBV8wr1dk911CNTRL-...'
|
|
583
633
|
},
|
|
634
|
+
login_server: {
|
|
635
|
+
type: 'string',
|
|
636
|
+
description: 'Coordination server the node registers against. Empty on data plane v1 clusters, where the node advertises its own tag instead. A non-empty value requires a client that declares the dataplane-v2 capability.',
|
|
637
|
+
example: 'https://415026b6-f00f-44f8-968d-fc6ef4d0fc6d.fabric.europe-central-1a.cfke.io'
|
|
638
|
+
},
|
|
584
639
|
bootstrap_token: {
|
|
585
640
|
type: 'string',
|
|
586
641
|
description: 'Bootstrap token for the cluster.',
|
|
@@ -653,6 +708,7 @@ export const ClusterJoinInformationSchema = {
|
|
|
653
708
|
'cluster_dns',
|
|
654
709
|
'pod_cidr',
|
|
655
710
|
'auth_key',
|
|
711
|
+
'login_server',
|
|
656
712
|
'bootstrap_token',
|
|
657
713
|
'versions',
|
|
658
714
|
'third_party_api_access_config'
|
|
@@ -677,7 +733,8 @@ export const ClusterSchema = {
|
|
|
677
733
|
example: 'pro',
|
|
678
734
|
enum: [
|
|
679
735
|
'basic',
|
|
680
|
-
'pro'
|
|
736
|
+
'pro',
|
|
737
|
+
'enterprise'
|
|
681
738
|
]
|
|
682
739
|
},
|
|
683
740
|
version_channel: {
|
|
@@ -897,7 +954,8 @@ export const ClusterUpdateInputSchema = {
|
|
|
897
954
|
example: 'pro',
|
|
898
955
|
enum: [
|
|
899
956
|
'basic',
|
|
900
|
-
'pro'
|
|
957
|
+
'pro',
|
|
958
|
+
'enterprise'
|
|
901
959
|
]
|
|
902
960
|
},
|
|
903
961
|
version_channel: {
|
|
@@ -2544,6 +2602,17 @@ export const OrganizationSchema = {
|
|
|
2544
2602
|
description: 'Available number of Pro clusters that can be created.',
|
|
2545
2603
|
example: 999
|
|
2546
2604
|
},
|
|
2605
|
+
enterprise_clusters_max: {
|
|
2606
|
+
type: 'integer',
|
|
2607
|
+
minimum: 0,
|
|
2608
|
+
description: 'Maximum number of Enterprise clusters that can be created.',
|
|
2609
|
+
example: 999
|
|
2610
|
+
},
|
|
2611
|
+
enterprise_clusters_available: {
|
|
2612
|
+
type: 'integer',
|
|
2613
|
+
description: 'Available number of Enterprise clusters that can be created.',
|
|
2614
|
+
example: 999
|
|
2615
|
+
},
|
|
2547
2616
|
fleets_max: {
|
|
2548
2617
|
type: 'integer',
|
|
2549
2618
|
minimum: 0,
|
|
@@ -2605,6 +2674,8 @@ export const OrganizationSchema = {
|
|
|
2605
2674
|
'basic_clusters_available',
|
|
2606
2675
|
'pro_clusters_max',
|
|
2607
2676
|
'pro_clusters_available',
|
|
2677
|
+
'enterprise_clusters_max',
|
|
2678
|
+
'enterprise_clusters_available',
|
|
2608
2679
|
'fleets_max',
|
|
2609
2680
|
'cluster_tiers',
|
|
2610
2681
|
'regions',
|
|
@@ -2751,6 +2822,17 @@ export const PlatformQuotaSchema = {
|
|
|
2751
2822
|
description: 'Available number of Pro clusters that can be created.',
|
|
2752
2823
|
example: 999
|
|
2753
2824
|
},
|
|
2825
|
+
enterprise_clusters_max: {
|
|
2826
|
+
type: 'integer',
|
|
2827
|
+
minimum: 0,
|
|
2828
|
+
description: 'Maximum number of Enterprise clusters that can be created.',
|
|
2829
|
+
example: 999
|
|
2830
|
+
},
|
|
2831
|
+
enterprise_clusters_available: {
|
|
2832
|
+
type: 'integer',
|
|
2833
|
+
description: 'Available number of Enterprise clusters that can be created.',
|
|
2834
|
+
example: 999
|
|
2835
|
+
},
|
|
2754
2836
|
fleets_max: {
|
|
2755
2837
|
type: 'integer',
|
|
2756
2838
|
minimum: 0,
|
|
@@ -2812,6 +2894,8 @@ export const PlatformQuotaSchema = {
|
|
|
2812
2894
|
'basic_clusters_available',
|
|
2813
2895
|
'pro_clusters_max',
|
|
2814
2896
|
'pro_clusters_available',
|
|
2897
|
+
'enterprise_clusters_max',
|
|
2898
|
+
'enterprise_clusters_available',
|
|
2815
2899
|
'fleets_max',
|
|
2816
2900
|
'cluster_tiers',
|
|
2817
2901
|
'regions',
|
|
@@ -3154,172 +3238,6 @@ export const TicketCreateInputSchema = {
|
|
|
3154
3238
|
],
|
|
3155
3239
|
additionalProperties: false
|
|
3156
3240
|
};
|
|
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
3241
|
export const TicketMessageInputSchema = {
|
|
3324
3242
|
type: 'object',
|
|
3325
3243
|
properties: {
|
|
@@ -3361,11 +3279,13 @@ export const TicketMessageSchema = {
|
|
|
3361
3279
|
},
|
|
3362
3280
|
author_first_name: {
|
|
3363
3281
|
type: 'string',
|
|
3282
|
+
nullable: true,
|
|
3364
3283
|
description: 'First name of the author. Null when not provided.',
|
|
3365
3284
|
example: 'Jane'
|
|
3366
3285
|
},
|
|
3367
3286
|
author_last_name: {
|
|
3368
3287
|
type: 'string',
|
|
3288
|
+
nullable: true,
|
|
3369
3289
|
description: 'Last name of the author. Null when not provided.',
|
|
3370
3290
|
example: 'Doe'
|
|
3371
3291
|
},
|
|
@@ -3457,6 +3377,7 @@ export const TicketSchema = {
|
|
|
3457
3377
|
closed_at: {
|
|
3458
3378
|
type: 'string',
|
|
3459
3379
|
format: 'date-time',
|
|
3380
|
+
nullable: true,
|
|
3460
3381
|
description: 'Closure timestamp. Null while the ticket is open.',
|
|
3461
3382
|
example: '2026-05-18T16:08:14.338Z'
|
|
3462
3383
|
},
|
|
@@ -3681,12 +3602,21 @@ export const UsageFacetsSchema = {
|
|
|
3681
3602
|
product: {
|
|
3682
3603
|
type: 'array',
|
|
3683
3604
|
items: {
|
|
3684
|
-
type: 'string'
|
|
3605
|
+
type: 'string',
|
|
3606
|
+
enum: [
|
|
3607
|
+
'cfke_controlplane_basic',
|
|
3608
|
+
'cfke_controlplane_pro',
|
|
3609
|
+
'cfke_controlplane_enterprise',
|
|
3610
|
+
'cfke_connected_nodes_basic',
|
|
3611
|
+
'cfke_connected_nodes_pro',
|
|
3612
|
+
'cfke_connected_nodes_enterprise',
|
|
3613
|
+
'cfcr_storage'
|
|
3614
|
+
]
|
|
3685
3615
|
},
|
|
3686
3616
|
description: 'List of unique products',
|
|
3687
3617
|
example: [
|
|
3688
|
-
'
|
|
3689
|
-
'
|
|
3618
|
+
'cfke_controlplane_pro',
|
|
3619
|
+
'cfke_connected_nodes_pro'
|
|
3690
3620
|
]
|
|
3691
3621
|
}
|
|
3692
3622
|
},
|
|
@@ -3713,7 +3643,16 @@ export const UsageResponseSchema = {
|
|
|
3713
3643
|
product: {
|
|
3714
3644
|
type: 'string',
|
|
3715
3645
|
description: 'The product the usage is associated with',
|
|
3716
|
-
example: '
|
|
3646
|
+
example: 'cfke_controlplane_pro',
|
|
3647
|
+
enum: [
|
|
3648
|
+
'cfke_controlplane_basic',
|
|
3649
|
+
'cfke_controlplane_pro',
|
|
3650
|
+
'cfke_controlplane_enterprise',
|
|
3651
|
+
'cfke_connected_nodes_basic',
|
|
3652
|
+
'cfke_connected_nodes_pro',
|
|
3653
|
+
'cfke_connected_nodes_enterprise',
|
|
3654
|
+
'cfcr_storage'
|
|
3655
|
+
]
|
|
3717
3656
|
},
|
|
3718
3657
|
value: {
|
|
3719
3658
|
type: 'number',
|
|
@@ -3761,12 +3700,21 @@ export const UsageResponseSchema = {
|
|
|
3761
3700
|
product: {
|
|
3762
3701
|
type: 'array',
|
|
3763
3702
|
items: {
|
|
3764
|
-
type: 'string'
|
|
3703
|
+
type: 'string',
|
|
3704
|
+
enum: [
|
|
3705
|
+
'cfke_controlplane_basic',
|
|
3706
|
+
'cfke_controlplane_pro',
|
|
3707
|
+
'cfke_controlplane_enterprise',
|
|
3708
|
+
'cfke_connected_nodes_basic',
|
|
3709
|
+
'cfke_connected_nodes_pro',
|
|
3710
|
+
'cfke_connected_nodes_enterprise',
|
|
3711
|
+
'cfcr_storage'
|
|
3712
|
+
]
|
|
3765
3713
|
},
|
|
3766
3714
|
description: 'List of unique products',
|
|
3767
3715
|
example: [
|
|
3768
|
-
'
|
|
3769
|
-
'
|
|
3716
|
+
'cfke_controlplane_pro',
|
|
3717
|
+
'cfke_connected_nodes_pro'
|
|
3770
3718
|
]
|
|
3771
3719
|
}
|
|
3772
3720
|
},
|
|
@@ -3796,7 +3744,16 @@ export const UsageSchema = {
|
|
|
3796
3744
|
product: {
|
|
3797
3745
|
type: 'string',
|
|
3798
3746
|
description: 'The product the usage is associated with',
|
|
3799
|
-
example: '
|
|
3747
|
+
example: 'cfke_controlplane_pro',
|
|
3748
|
+
enum: [
|
|
3749
|
+
'cfke_controlplane_basic',
|
|
3750
|
+
'cfke_controlplane_pro',
|
|
3751
|
+
'cfke_controlplane_enterprise',
|
|
3752
|
+
'cfke_connected_nodes_basic',
|
|
3753
|
+
'cfke_connected_nodes_pro',
|
|
3754
|
+
'cfke_connected_nodes_enterprise',
|
|
3755
|
+
'cfcr_storage'
|
|
3756
|
+
]
|
|
3800
3757
|
},
|
|
3801
3758
|
value: {
|
|
3802
3759
|
type: 'number',
|