@cloudfleet/sdk 0.0.1-0afcb95 → 0.0.1-0b7b21b
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 +203 -325
- package/dist/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/@tanstack/react-query.gen.js +113 -42
- package/dist/@tanstack/react-query.gen.js.map +1 -1
- package/dist/schemas.gen.d.ts +293 -40
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +371 -49
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +43 -18
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +68 -28
- package/dist/sdk.gen.js.map +1 -1
- package/dist/types.gen.d.ts +294 -57
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +245 -48
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +129 -24
- package/dist/zod.gen.js.map +1 -1
- package/package.json +7 -7
package/dist/schemas.gen.js
CHANGED
|
@@ -1,53 +1,4 @@
|
|
|
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
|
-
};
|
|
51
2
|
export const BillingContactSchema = {
|
|
52
3
|
type: 'object',
|
|
53
4
|
properties: {
|
|
@@ -631,6 +582,11 @@ export const ClusterJoinInformationSchema = {
|
|
|
631
582
|
description: 'Authentication key for the cluster.',
|
|
632
583
|
example: 'tskey-auth-kBV8wr1dk911CNTRL-...'
|
|
633
584
|
},
|
|
585
|
+
login_server: {
|
|
586
|
+
type: 'string',
|
|
587
|
+
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.',
|
|
588
|
+
example: 'https://415026b6-f00f-44f8-968d-fc6ef4d0fc6d.fabric.europe-central-1a.cfke.io'
|
|
589
|
+
},
|
|
634
590
|
bootstrap_token: {
|
|
635
591
|
type: 'string',
|
|
636
592
|
description: 'Bootstrap token for the cluster.',
|
|
@@ -703,6 +659,7 @@ export const ClusterJoinInformationSchema = {
|
|
|
703
659
|
'cluster_dns',
|
|
704
660
|
'pod_cidr',
|
|
705
661
|
'auth_key',
|
|
662
|
+
'login_server',
|
|
706
663
|
'bootstrap_token',
|
|
707
664
|
'versions',
|
|
708
665
|
'third_party_api_access_config'
|
|
@@ -1385,6 +1342,44 @@ export const FleetCreateInputSchema = {
|
|
|
1385
1342
|
'conservative'
|
|
1386
1343
|
]
|
|
1387
1344
|
},
|
|
1345
|
+
taints: {
|
|
1346
|
+
type: 'array',
|
|
1347
|
+
items: {
|
|
1348
|
+
type: 'object',
|
|
1349
|
+
properties: {
|
|
1350
|
+
key: {
|
|
1351
|
+
type: 'string',
|
|
1352
|
+
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.',
|
|
1353
|
+
example: 'dedicated'
|
|
1354
|
+
},
|
|
1355
|
+
value: {
|
|
1356
|
+
type: 'string',
|
|
1357
|
+
maxLength: 63,
|
|
1358
|
+
pattern: '^([A-Za-z0-9]([-A-Za-z0-9_.]*[A-Za-z0-9])?)?$',
|
|
1359
|
+
description: 'Taint value. Optional.',
|
|
1360
|
+
example: 'ci'
|
|
1361
|
+
},
|
|
1362
|
+
effect: {
|
|
1363
|
+
type: 'string',
|
|
1364
|
+
description: 'Taint effect.',
|
|
1365
|
+
example: 'NoSchedule',
|
|
1366
|
+
enum: [
|
|
1367
|
+
'NoSchedule',
|
|
1368
|
+
'PreferNoSchedule',
|
|
1369
|
+
'NoExecute'
|
|
1370
|
+
]
|
|
1371
|
+
}
|
|
1372
|
+
},
|
|
1373
|
+
required: [
|
|
1374
|
+
'key',
|
|
1375
|
+
'effect'
|
|
1376
|
+
],
|
|
1377
|
+
additionalProperties: false
|
|
1378
|
+
},
|
|
1379
|
+
maxItems: 50,
|
|
1380
|
+
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.',
|
|
1381
|
+
default: []
|
|
1382
|
+
},
|
|
1388
1383
|
id: {
|
|
1389
1384
|
type: 'string',
|
|
1390
1385
|
maxLength: 63,
|
|
@@ -1774,6 +1769,44 @@ export const FleetSchema = {
|
|
|
1774
1769
|
'conservative'
|
|
1775
1770
|
]
|
|
1776
1771
|
},
|
|
1772
|
+
taints: {
|
|
1773
|
+
type: 'array',
|
|
1774
|
+
items: {
|
|
1775
|
+
type: 'object',
|
|
1776
|
+
properties: {
|
|
1777
|
+
key: {
|
|
1778
|
+
type: 'string',
|
|
1779
|
+
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.',
|
|
1780
|
+
example: 'dedicated'
|
|
1781
|
+
},
|
|
1782
|
+
value: {
|
|
1783
|
+
type: 'string',
|
|
1784
|
+
maxLength: 63,
|
|
1785
|
+
pattern: '^([A-Za-z0-9]([-A-Za-z0-9_.]*[A-Za-z0-9])?)?$',
|
|
1786
|
+
description: 'Taint value. Optional.',
|
|
1787
|
+
example: 'ci'
|
|
1788
|
+
},
|
|
1789
|
+
effect: {
|
|
1790
|
+
type: 'string',
|
|
1791
|
+
description: 'Taint effect.',
|
|
1792
|
+
example: 'NoSchedule',
|
|
1793
|
+
enum: [
|
|
1794
|
+
'NoSchedule',
|
|
1795
|
+
'PreferNoSchedule',
|
|
1796
|
+
'NoExecute'
|
|
1797
|
+
]
|
|
1798
|
+
}
|
|
1799
|
+
},
|
|
1800
|
+
required: [
|
|
1801
|
+
'key',
|
|
1802
|
+
'effect'
|
|
1803
|
+
],
|
|
1804
|
+
additionalProperties: false
|
|
1805
|
+
},
|
|
1806
|
+
maxItems: 50,
|
|
1807
|
+
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.',
|
|
1808
|
+
default: []
|
|
1809
|
+
},
|
|
1777
1810
|
id: {
|
|
1778
1811
|
type: 'string',
|
|
1779
1812
|
maxLength: 63,
|
|
@@ -1806,6 +1839,7 @@ export const FleetSchema = {
|
|
|
1806
1839
|
required: [
|
|
1807
1840
|
'constraints',
|
|
1808
1841
|
'scalingProfile',
|
|
1842
|
+
'taints',
|
|
1809
1843
|
'id',
|
|
1810
1844
|
'ready',
|
|
1811
1845
|
'created_at',
|
|
@@ -2185,6 +2219,44 @@ export const FleetUpdateInputSchema = {
|
|
|
2185
2219
|
'aggressive',
|
|
2186
2220
|
'conservative'
|
|
2187
2221
|
]
|
|
2222
|
+
},
|
|
2223
|
+
taints: {
|
|
2224
|
+
type: 'array',
|
|
2225
|
+
items: {
|
|
2226
|
+
type: 'object',
|
|
2227
|
+
properties: {
|
|
2228
|
+
key: {
|
|
2229
|
+
type: 'string',
|
|
2230
|
+
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.',
|
|
2231
|
+
example: 'dedicated'
|
|
2232
|
+
},
|
|
2233
|
+
value: {
|
|
2234
|
+
type: 'string',
|
|
2235
|
+
maxLength: 63,
|
|
2236
|
+
pattern: '^([A-Za-z0-9]([-A-Za-z0-9_.]*[A-Za-z0-9])?)?$',
|
|
2237
|
+
description: 'Taint value. Optional.',
|
|
2238
|
+
example: 'ci'
|
|
2239
|
+
},
|
|
2240
|
+
effect: {
|
|
2241
|
+
type: 'string',
|
|
2242
|
+
description: 'Taint effect.',
|
|
2243
|
+
example: 'NoSchedule',
|
|
2244
|
+
enum: [
|
|
2245
|
+
'NoSchedule',
|
|
2246
|
+
'PreferNoSchedule',
|
|
2247
|
+
'NoExecute'
|
|
2248
|
+
]
|
|
2249
|
+
}
|
|
2250
|
+
},
|
|
2251
|
+
required: [
|
|
2252
|
+
'key',
|
|
2253
|
+
'effect'
|
|
2254
|
+
],
|
|
2255
|
+
additionalProperties: false
|
|
2256
|
+
},
|
|
2257
|
+
maxItems: 50,
|
|
2258
|
+
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.',
|
|
2259
|
+
default: []
|
|
2188
2260
|
}
|
|
2189
2261
|
},
|
|
2190
2262
|
additionalProperties: false,
|
|
@@ -2262,6 +2334,170 @@ export const InviteSchema = {
|
|
|
2262
2334
|
],
|
|
2263
2335
|
additionalProperties: false
|
|
2264
2336
|
};
|
|
2337
|
+
export const InvoicePaymentAttemptSchema = {
|
|
2338
|
+
type: 'object',
|
|
2339
|
+
properties: {
|
|
2340
|
+
invoice_id: {
|
|
2341
|
+
type: 'string',
|
|
2342
|
+
description: 'Identifier of the invoice.',
|
|
2343
|
+
example: 'in_1234567890xCrwxghOTj1234'
|
|
2344
|
+
},
|
|
2345
|
+
number: {
|
|
2346
|
+
type: 'string',
|
|
2347
|
+
nullable: true,
|
|
2348
|
+
description: 'Invoice number. Null if the invoice has no number.',
|
|
2349
|
+
example: 'CF-0042'
|
|
2350
|
+
},
|
|
2351
|
+
amount: {
|
|
2352
|
+
type: 'number',
|
|
2353
|
+
format: 'float',
|
|
2354
|
+
description: 'Amount outstanding when the charge was attempted, in the smallest currency unit.',
|
|
2355
|
+
example: 4200
|
|
2356
|
+
},
|
|
2357
|
+
currency: {
|
|
2358
|
+
type: 'string',
|
|
2359
|
+
description: 'Currency of the invoice.',
|
|
2360
|
+
example: 'eur'
|
|
2361
|
+
},
|
|
2362
|
+
status: {
|
|
2363
|
+
type: 'string',
|
|
2364
|
+
description: 'Outcome for this invoice: `paid`, `processing` (accepted, not yet settled), `requires_action` (awaiting customer authentication), or `failed` (declined).',
|
|
2365
|
+
example: 'paid',
|
|
2366
|
+
enum: [
|
|
2367
|
+
'paid',
|
|
2368
|
+
'processing',
|
|
2369
|
+
'requires_action',
|
|
2370
|
+
'failed'
|
|
2371
|
+
]
|
|
2372
|
+
},
|
|
2373
|
+
client_secret: {
|
|
2374
|
+
type: 'string',
|
|
2375
|
+
nullable: true,
|
|
2376
|
+
description: 'Client secret used to complete customer authentication. Set only when `status` is `requires_action`.',
|
|
2377
|
+
example: 'pi_3MtwBwLkdIwHu7ix28a3tqPa_secret_YrKJUKribcBjcG8HVhfZluoGH'
|
|
2378
|
+
},
|
|
2379
|
+
failure_code: {
|
|
2380
|
+
type: 'string',
|
|
2381
|
+
nullable: true,
|
|
2382
|
+
description: 'Decline code. Set only when `status` is `failed`.',
|
|
2383
|
+
example: 'insufficient_funds'
|
|
2384
|
+
},
|
|
2385
|
+
failure_message: {
|
|
2386
|
+
type: 'string',
|
|
2387
|
+
nullable: true,
|
|
2388
|
+
description: 'Explanation of the decline, suitable for display. Set only when `status` is `failed`.',
|
|
2389
|
+
example: 'Your card has insufficient funds.'
|
|
2390
|
+
}
|
|
2391
|
+
},
|
|
2392
|
+
required: [
|
|
2393
|
+
'invoice_id',
|
|
2394
|
+
'number',
|
|
2395
|
+
'amount',
|
|
2396
|
+
'currency',
|
|
2397
|
+
'status',
|
|
2398
|
+
'client_secret',
|
|
2399
|
+
'failure_code',
|
|
2400
|
+
'failure_message'
|
|
2401
|
+
],
|
|
2402
|
+
additionalProperties: false
|
|
2403
|
+
};
|
|
2404
|
+
export const InvoicePaymentResultSchema = {
|
|
2405
|
+
type: 'object',
|
|
2406
|
+
properties: {
|
|
2407
|
+
code: {
|
|
2408
|
+
type: 'string',
|
|
2409
|
+
description: 'Overall outcome: `paid` (nothing outstanding), `processing` (all accepted, not yet settled), `action_required` (one or more await customer authentication), `partially_paid`, `failed`, `nothing_due`, or `bank_transfer_due` (the organization pays by bank transfer; nothing was charged).',
|
|
2410
|
+
example: 'partially_paid',
|
|
2411
|
+
enum: [
|
|
2412
|
+
'paid',
|
|
2413
|
+
'processing',
|
|
2414
|
+
'action_required',
|
|
2415
|
+
'partially_paid',
|
|
2416
|
+
'failed',
|
|
2417
|
+
'nothing_due',
|
|
2418
|
+
'bank_transfer_due'
|
|
2419
|
+
]
|
|
2420
|
+
},
|
|
2421
|
+
message: {
|
|
2422
|
+
type: 'string',
|
|
2423
|
+
description: 'Summary of the outcome, suitable for display.',
|
|
2424
|
+
example: '1 of 2 open invoices was paid. Invoice CF-0043 was declined: Your card has insufficient funds.'
|
|
2425
|
+
},
|
|
2426
|
+
results: {
|
|
2427
|
+
type: 'array',
|
|
2428
|
+
items: {
|
|
2429
|
+
type: 'object',
|
|
2430
|
+
properties: {
|
|
2431
|
+
invoice_id: {
|
|
2432
|
+
type: 'string',
|
|
2433
|
+
description: 'Identifier of the invoice.',
|
|
2434
|
+
example: 'in_1234567890xCrwxghOTj1234'
|
|
2435
|
+
},
|
|
2436
|
+
number: {
|
|
2437
|
+
type: 'string',
|
|
2438
|
+
description: 'Invoice number. Null if the invoice has no number.',
|
|
2439
|
+
example: 'CF-0042'
|
|
2440
|
+
},
|
|
2441
|
+
amount: {
|
|
2442
|
+
type: 'number',
|
|
2443
|
+
format: 'float',
|
|
2444
|
+
description: 'Amount outstanding when the charge was attempted, in the smallest currency unit.',
|
|
2445
|
+
example: 4200
|
|
2446
|
+
},
|
|
2447
|
+
currency: {
|
|
2448
|
+
type: 'string',
|
|
2449
|
+
description: 'Currency of the invoice.',
|
|
2450
|
+
example: 'eur'
|
|
2451
|
+
},
|
|
2452
|
+
status: {
|
|
2453
|
+
type: 'string',
|
|
2454
|
+
description: 'Outcome for this invoice: `paid`, `processing` (accepted, not yet settled), `requires_action` (awaiting customer authentication), or `failed` (declined).',
|
|
2455
|
+
example: 'paid',
|
|
2456
|
+
enum: [
|
|
2457
|
+
'paid',
|
|
2458
|
+
'processing',
|
|
2459
|
+
'requires_action',
|
|
2460
|
+
'failed'
|
|
2461
|
+
]
|
|
2462
|
+
},
|
|
2463
|
+
client_secret: {
|
|
2464
|
+
type: 'string',
|
|
2465
|
+
description: 'Client secret used to complete customer authentication. Set only when `status` is `requires_action`.',
|
|
2466
|
+
example: 'pi_3MtwBwLkdIwHu7ix28a3tqPa_secret_YrKJUKribcBjcG8HVhfZluoGH'
|
|
2467
|
+
},
|
|
2468
|
+
failure_code: {
|
|
2469
|
+
type: 'string',
|
|
2470
|
+
description: 'Decline code. Set only when `status` is `failed`.',
|
|
2471
|
+
example: 'insufficient_funds'
|
|
2472
|
+
},
|
|
2473
|
+
failure_message: {
|
|
2474
|
+
type: 'string',
|
|
2475
|
+
description: 'Explanation of the decline, suitable for display. Set only when `status` is `failed`.',
|
|
2476
|
+
example: 'Your card has insufficient funds.'
|
|
2477
|
+
}
|
|
2478
|
+
},
|
|
2479
|
+
required: [
|
|
2480
|
+
'invoice_id',
|
|
2481
|
+
'number',
|
|
2482
|
+
'amount',
|
|
2483
|
+
'currency',
|
|
2484
|
+
'status',
|
|
2485
|
+
'client_secret',
|
|
2486
|
+
'failure_code',
|
|
2487
|
+
'failure_message'
|
|
2488
|
+
],
|
|
2489
|
+
additionalProperties: false
|
|
2490
|
+
},
|
|
2491
|
+
description: 'One entry per invoice charged, oldest first.'
|
|
2492
|
+
}
|
|
2493
|
+
},
|
|
2494
|
+
required: [
|
|
2495
|
+
'code',
|
|
2496
|
+
'message',
|
|
2497
|
+
'results'
|
|
2498
|
+
],
|
|
2499
|
+
additionalProperties: false
|
|
2500
|
+
};
|
|
2265
2501
|
export const InvoiceSchema = {
|
|
2266
2502
|
type: 'object',
|
|
2267
2503
|
properties: {
|
|
@@ -3163,6 +3399,73 @@ export const RegistryTagSchema = {
|
|
|
3163
3399
|
],
|
|
3164
3400
|
additionalProperties: false
|
|
3165
3401
|
};
|
|
3402
|
+
export const RoadmapItemCreateInputSchema = {
|
|
3403
|
+
type: 'object',
|
|
3404
|
+
properties: {
|
|
3405
|
+
text: {
|
|
3406
|
+
type: 'string',
|
|
3407
|
+
maxLength: 500,
|
|
3408
|
+
minLength: 1,
|
|
3409
|
+
description: 'Your suggestion in one or two sentences. It is reviewed before it appears on the roadmap.',
|
|
3410
|
+
example: 'Support for ARM nodes on Hetzner.'
|
|
3411
|
+
}
|
|
3412
|
+
},
|
|
3413
|
+
required: [
|
|
3414
|
+
'text'
|
|
3415
|
+
],
|
|
3416
|
+
additionalProperties: false
|
|
3417
|
+
};
|
|
3418
|
+
export const RoadmapItemSchema = {
|
|
3419
|
+
type: 'object',
|
|
3420
|
+
properties: {
|
|
3421
|
+
id: {
|
|
3422
|
+
type: 'string',
|
|
3423
|
+
description: 'Unique identifier of the roadmap item (Mongo ObjectId).',
|
|
3424
|
+
example: '60c72b2f9f1b2c001f8e4d3a'
|
|
3425
|
+
},
|
|
3426
|
+
text: {
|
|
3427
|
+
type: 'string',
|
|
3428
|
+
description: 'Short description of the roadmap item.',
|
|
3429
|
+
example: 'Support for ARM nodes on Hetzner.'
|
|
3430
|
+
},
|
|
3431
|
+
vote: {
|
|
3432
|
+
type: 'integer',
|
|
3433
|
+
nullable: true,
|
|
3434
|
+
description: 'The caller\'s vote on this item: -1 (down), 1 (up), 2 (double up), or null if the caller has not voted.',
|
|
3435
|
+
example: 1,
|
|
3436
|
+
enum: [
|
|
3437
|
+
-1,
|
|
3438
|
+
1,
|
|
3439
|
+
2
|
|
3440
|
+
]
|
|
3441
|
+
}
|
|
3442
|
+
},
|
|
3443
|
+
required: [
|
|
3444
|
+
'id',
|
|
3445
|
+
'text',
|
|
3446
|
+
'vote'
|
|
3447
|
+
],
|
|
3448
|
+
additionalProperties: false
|
|
3449
|
+
};
|
|
3450
|
+
export const RoadmapVoteInputSchema = {
|
|
3451
|
+
type: 'object',
|
|
3452
|
+
properties: {
|
|
3453
|
+
value: {
|
|
3454
|
+
type: 'integer',
|
|
3455
|
+
description: 'Vote value: -1 (down), 1 (up), or 2 (double up).',
|
|
3456
|
+
example: 1,
|
|
3457
|
+
enum: [
|
|
3458
|
+
-1,
|
|
3459
|
+
1,
|
|
3460
|
+
2
|
|
3461
|
+
]
|
|
3462
|
+
}
|
|
3463
|
+
},
|
|
3464
|
+
required: [
|
|
3465
|
+
'value'
|
|
3466
|
+
],
|
|
3467
|
+
additionalProperties: false
|
|
3468
|
+
};
|
|
3166
3469
|
export const TicketAttachmentSchema = {
|
|
3167
3470
|
type: 'object',
|
|
3168
3471
|
properties: {
|
|
@@ -3224,6 +3527,11 @@ export const TicketCreateInputSchema = {
|
|
|
3224
3527
|
subcategory: 'cluster-question',
|
|
3225
3528
|
cluster_id: '60c72b2f9f1b2c001f8e4d3a'
|
|
3226
3529
|
}
|
|
3530
|
+
},
|
|
3531
|
+
grant_support_access: {
|
|
3532
|
+
type: 'boolean',
|
|
3533
|
+
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.',
|
|
3534
|
+
example: true
|
|
3227
3535
|
}
|
|
3228
3536
|
},
|
|
3229
3537
|
required: [
|
|
@@ -3368,6 +3676,18 @@ export const TicketSchema = {
|
|
|
3368
3676
|
description: 'First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.',
|
|
3369
3677
|
example: 'My cluster cannot reach the registry. Logs attached.'
|
|
3370
3678
|
},
|
|
3679
|
+
support_access_granted: {
|
|
3680
|
+
type: 'boolean',
|
|
3681
|
+
description: 'Whether Cloudfleet support staff currently have access to the organization\'s resources. True once access is granted and until the ticket is closed.',
|
|
3682
|
+
example: true
|
|
3683
|
+
},
|
|
3684
|
+
support_access_granted_at: {
|
|
3685
|
+
type: 'string',
|
|
3686
|
+
format: 'date-time',
|
|
3687
|
+
nullable: true,
|
|
3688
|
+
description: 'When support access was granted. Null if it never was. Kept after the ticket is closed.',
|
|
3689
|
+
example: '2026-05-11T16:08:14.338Z'
|
|
3690
|
+
},
|
|
3371
3691
|
closed_at: {
|
|
3372
3692
|
type: 'string',
|
|
3373
3693
|
format: 'date-time',
|
|
@@ -3481,6 +3801,8 @@ export const TicketSchema = {
|
|
|
3481
3801
|
'status',
|
|
3482
3802
|
'category',
|
|
3483
3803
|
'summary',
|
|
3804
|
+
'support_access_granted',
|
|
3805
|
+
'support_access_granted_at',
|
|
3484
3806
|
'date_created',
|
|
3485
3807
|
'date_updated'
|
|
3486
3808
|
],
|