@cloudfleet/sdk 0.0.1-933646b → 0.0.1-93f1e5c

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.
@@ -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: {
@@ -142,12 +93,17 @@ export const BillingContactSchema = {
142
93
  'at_vat',
143
94
  'au_abn',
144
95
  'au_arn',
96
+ 'aw_tin',
97
+ 'az_tin',
145
98
  'ba_tin',
146
99
  'bb_tin',
100
+ 'bd_bin',
147
101
  'be_vat',
102
+ 'bf_ifu',
148
103
  'bg_uic',
149
104
  'bg_vat',
150
105
  'bh_vat',
106
+ 'bj_ifu',
151
107
  'bo_tin',
152
108
  'br_cnpj',
153
109
  'br_cpf',
@@ -163,9 +119,11 @@ export const BillingContactSchema = {
163
119
  'ch_uid',
164
120
  'ch_vat',
165
121
  'cl_tin',
122
+ 'cm_niu',
166
123
  'cn_tin',
167
124
  'co_nit',
168
125
  'cr_tin',
126
+ 'cv_nif',
169
127
  'cy_vat',
170
128
  'cz_vat',
171
129
  'de_stn',
@@ -177,6 +135,7 @@ export const BillingContactSchema = {
177
135
  'eg_tin',
178
136
  'es_cif',
179
137
  'es_vat',
138
+ 'et_tin',
180
139
  'eu_oss_vat',
181
140
  'fi_vat',
182
141
  'fr_vat',
@@ -199,11 +158,14 @@ export const BillingContactSchema = {
199
158
  'jp_rn',
200
159
  'jp_trn',
201
160
  'ke_pin',
161
+ 'kg_tin',
202
162
  'kh_tin',
203
163
  'kr_brn',
204
164
  'kz_bin',
165
+ 'la_tin',
205
166
  'li_uid',
206
167
  'li_vat',
168
+ 'lk_vat',
207
169
  'lt_vat',
208
170
  'lu_vat',
209
171
  'lv_vat',
@@ -1391,6 +1353,44 @@ export const FleetCreateInputSchema = {
1391
1353
  'conservative'
1392
1354
  ]
1393
1355
  },
1356
+ taints: {
1357
+ type: 'array',
1358
+ items: {
1359
+ type: 'object',
1360
+ properties: {
1361
+ key: {
1362
+ type: 'string',
1363
+ 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.',
1364
+ example: 'dedicated'
1365
+ },
1366
+ value: {
1367
+ type: 'string',
1368
+ maxLength: 63,
1369
+ pattern: '^([A-Za-z0-9]([-A-Za-z0-9_.]*[A-Za-z0-9])?)?$',
1370
+ description: 'Taint value. Optional.',
1371
+ example: 'ci'
1372
+ },
1373
+ effect: {
1374
+ type: 'string',
1375
+ description: 'Taint effect.',
1376
+ example: 'NoSchedule',
1377
+ enum: [
1378
+ 'NoSchedule',
1379
+ 'PreferNoSchedule',
1380
+ 'NoExecute'
1381
+ ]
1382
+ }
1383
+ },
1384
+ required: [
1385
+ 'key',
1386
+ 'effect'
1387
+ ],
1388
+ additionalProperties: false
1389
+ },
1390
+ maxItems: 50,
1391
+ 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.',
1392
+ default: []
1393
+ },
1394
1394
  id: {
1395
1395
  type: 'string',
1396
1396
  maxLength: 63,
@@ -1780,6 +1780,44 @@ export const FleetSchema = {
1780
1780
  'conservative'
1781
1781
  ]
1782
1782
  },
1783
+ taints: {
1784
+ type: 'array',
1785
+ items: {
1786
+ type: 'object',
1787
+ properties: {
1788
+ key: {
1789
+ type: 'string',
1790
+ 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.',
1791
+ example: 'dedicated'
1792
+ },
1793
+ value: {
1794
+ type: 'string',
1795
+ maxLength: 63,
1796
+ pattern: '^([A-Za-z0-9]([-A-Za-z0-9_.]*[A-Za-z0-9])?)?$',
1797
+ description: 'Taint value. Optional.',
1798
+ example: 'ci'
1799
+ },
1800
+ effect: {
1801
+ type: 'string',
1802
+ description: 'Taint effect.',
1803
+ example: 'NoSchedule',
1804
+ enum: [
1805
+ 'NoSchedule',
1806
+ 'PreferNoSchedule',
1807
+ 'NoExecute'
1808
+ ]
1809
+ }
1810
+ },
1811
+ required: [
1812
+ 'key',
1813
+ 'effect'
1814
+ ],
1815
+ additionalProperties: false
1816
+ },
1817
+ maxItems: 50,
1818
+ 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.',
1819
+ default: []
1820
+ },
1783
1821
  id: {
1784
1822
  type: 'string',
1785
1823
  maxLength: 63,
@@ -1812,6 +1850,7 @@ export const FleetSchema = {
1812
1850
  required: [
1813
1851
  'constraints',
1814
1852
  'scalingProfile',
1853
+ 'taints',
1815
1854
  'id',
1816
1855
  'ready',
1817
1856
  'created_at',
@@ -2191,6 +2230,44 @@ export const FleetUpdateInputSchema = {
2191
2230
  'aggressive',
2192
2231
  'conservative'
2193
2232
  ]
2233
+ },
2234
+ taints: {
2235
+ type: 'array',
2236
+ items: {
2237
+ type: 'object',
2238
+ properties: {
2239
+ key: {
2240
+ type: 'string',
2241
+ 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.',
2242
+ example: 'dedicated'
2243
+ },
2244
+ value: {
2245
+ type: 'string',
2246
+ maxLength: 63,
2247
+ pattern: '^([A-Za-z0-9]([-A-Za-z0-9_.]*[A-Za-z0-9])?)?$',
2248
+ description: 'Taint value. Optional.',
2249
+ example: 'ci'
2250
+ },
2251
+ effect: {
2252
+ type: 'string',
2253
+ description: 'Taint effect.',
2254
+ example: 'NoSchedule',
2255
+ enum: [
2256
+ 'NoSchedule',
2257
+ 'PreferNoSchedule',
2258
+ 'NoExecute'
2259
+ ]
2260
+ }
2261
+ },
2262
+ required: [
2263
+ 'key',
2264
+ 'effect'
2265
+ ],
2266
+ additionalProperties: false
2267
+ },
2268
+ maxItems: 50,
2269
+ 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.',
2270
+ default: []
2194
2271
  }
2195
2272
  },
2196
2273
  additionalProperties: false,
@@ -2268,6 +2345,170 @@ export const InviteSchema = {
2268
2345
  ],
2269
2346
  additionalProperties: false
2270
2347
  };
2348
+ export const InvoicePaymentAttemptSchema = {
2349
+ type: 'object',
2350
+ properties: {
2351
+ invoice_id: {
2352
+ type: 'string',
2353
+ description: 'Identifier of the invoice.',
2354
+ example: 'in_1234567890xCrwxghOTj1234'
2355
+ },
2356
+ number: {
2357
+ type: 'string',
2358
+ nullable: true,
2359
+ description: 'Invoice number. Null if the invoice has no number.',
2360
+ example: 'CF-0042'
2361
+ },
2362
+ amount: {
2363
+ type: 'number',
2364
+ format: 'float',
2365
+ description: 'Amount outstanding when the charge was attempted, in the smallest currency unit.',
2366
+ example: 4200
2367
+ },
2368
+ currency: {
2369
+ type: 'string',
2370
+ description: 'Currency of the invoice.',
2371
+ example: 'eur'
2372
+ },
2373
+ status: {
2374
+ type: 'string',
2375
+ description: 'Outcome for this invoice: `paid`, `processing` (accepted, not yet settled), `requires_action` (awaiting customer authentication), or `failed` (declined).',
2376
+ example: 'paid',
2377
+ enum: [
2378
+ 'paid',
2379
+ 'processing',
2380
+ 'requires_action',
2381
+ 'failed'
2382
+ ]
2383
+ },
2384
+ client_secret: {
2385
+ type: 'string',
2386
+ nullable: true,
2387
+ description: 'Client secret used to complete customer authentication. Set only when `status` is `requires_action`.',
2388
+ example: 'pi_3MtwBwLkdIwHu7ix28a3tqPa_secret_YrKJUKribcBjcG8HVhfZluoGH'
2389
+ },
2390
+ failure_code: {
2391
+ type: 'string',
2392
+ nullable: true,
2393
+ description: 'Decline code. Set only when `status` is `failed`.',
2394
+ example: 'insufficient_funds'
2395
+ },
2396
+ failure_message: {
2397
+ type: 'string',
2398
+ nullable: true,
2399
+ description: 'Explanation of the decline, suitable for display. Set only when `status` is `failed`.',
2400
+ example: 'Your card has insufficient funds.'
2401
+ }
2402
+ },
2403
+ required: [
2404
+ 'invoice_id',
2405
+ 'number',
2406
+ 'amount',
2407
+ 'currency',
2408
+ 'status',
2409
+ 'client_secret',
2410
+ 'failure_code',
2411
+ 'failure_message'
2412
+ ],
2413
+ additionalProperties: false
2414
+ };
2415
+ export const InvoicePaymentResultSchema = {
2416
+ type: 'object',
2417
+ properties: {
2418
+ code: {
2419
+ type: 'string',
2420
+ 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).',
2421
+ example: 'partially_paid',
2422
+ enum: [
2423
+ 'paid',
2424
+ 'processing',
2425
+ 'action_required',
2426
+ 'partially_paid',
2427
+ 'failed',
2428
+ 'nothing_due',
2429
+ 'bank_transfer_due'
2430
+ ]
2431
+ },
2432
+ message: {
2433
+ type: 'string',
2434
+ description: 'Summary of the outcome, suitable for display.',
2435
+ example: '1 of 2 open invoices was paid. Invoice CF-0043 was declined: Your card has insufficient funds.'
2436
+ },
2437
+ results: {
2438
+ type: 'array',
2439
+ items: {
2440
+ type: 'object',
2441
+ properties: {
2442
+ invoice_id: {
2443
+ type: 'string',
2444
+ description: 'Identifier of the invoice.',
2445
+ example: 'in_1234567890xCrwxghOTj1234'
2446
+ },
2447
+ number: {
2448
+ type: 'string',
2449
+ description: 'Invoice number. Null if the invoice has no number.',
2450
+ example: 'CF-0042'
2451
+ },
2452
+ amount: {
2453
+ type: 'number',
2454
+ format: 'float',
2455
+ description: 'Amount outstanding when the charge was attempted, in the smallest currency unit.',
2456
+ example: 4200
2457
+ },
2458
+ currency: {
2459
+ type: 'string',
2460
+ description: 'Currency of the invoice.',
2461
+ example: 'eur'
2462
+ },
2463
+ status: {
2464
+ type: 'string',
2465
+ description: 'Outcome for this invoice: `paid`, `processing` (accepted, not yet settled), `requires_action` (awaiting customer authentication), or `failed` (declined).',
2466
+ example: 'paid',
2467
+ enum: [
2468
+ 'paid',
2469
+ 'processing',
2470
+ 'requires_action',
2471
+ 'failed'
2472
+ ]
2473
+ },
2474
+ client_secret: {
2475
+ type: 'string',
2476
+ description: 'Client secret used to complete customer authentication. Set only when `status` is `requires_action`.',
2477
+ example: 'pi_3MtwBwLkdIwHu7ix28a3tqPa_secret_YrKJUKribcBjcG8HVhfZluoGH'
2478
+ },
2479
+ failure_code: {
2480
+ type: 'string',
2481
+ description: 'Decline code. Set only when `status` is `failed`.',
2482
+ example: 'insufficient_funds'
2483
+ },
2484
+ failure_message: {
2485
+ type: 'string',
2486
+ description: 'Explanation of the decline, suitable for display. Set only when `status` is `failed`.',
2487
+ example: 'Your card has insufficient funds.'
2488
+ }
2489
+ },
2490
+ required: [
2491
+ 'invoice_id',
2492
+ 'number',
2493
+ 'amount',
2494
+ 'currency',
2495
+ 'status',
2496
+ 'client_secret',
2497
+ 'failure_code',
2498
+ 'failure_message'
2499
+ ],
2500
+ additionalProperties: false
2501
+ },
2502
+ description: 'One entry per invoice charged, oldest first.'
2503
+ }
2504
+ },
2505
+ required: [
2506
+ 'code',
2507
+ 'message',
2508
+ 'results'
2509
+ ],
2510
+ additionalProperties: false
2511
+ };
2271
2512
  export const InvoiceSchema = {
2272
2513
  type: 'object',
2273
2514
  properties: {
@@ -3169,6 +3410,73 @@ export const RegistryTagSchema = {
3169
3410
  ],
3170
3411
  additionalProperties: false
3171
3412
  };
3413
+ export const RoadmapItemCreateInputSchema = {
3414
+ type: 'object',
3415
+ properties: {
3416
+ text: {
3417
+ type: 'string',
3418
+ maxLength: 500,
3419
+ minLength: 1,
3420
+ description: 'Your suggestion in one or two sentences. It is reviewed before it appears on the roadmap.',
3421
+ example: 'Support for ARM nodes on Hetzner.'
3422
+ }
3423
+ },
3424
+ required: [
3425
+ 'text'
3426
+ ],
3427
+ additionalProperties: false
3428
+ };
3429
+ export const RoadmapItemSchema = {
3430
+ type: 'object',
3431
+ properties: {
3432
+ id: {
3433
+ type: 'string',
3434
+ description: 'Unique identifier of the roadmap item (Mongo ObjectId).',
3435
+ example: '60c72b2f9f1b2c001f8e4d3a'
3436
+ },
3437
+ text: {
3438
+ type: 'string',
3439
+ description: 'Short description of the roadmap item.',
3440
+ example: 'Support for ARM nodes on Hetzner.'
3441
+ },
3442
+ vote: {
3443
+ type: 'integer',
3444
+ nullable: true,
3445
+ description: 'The caller\'s vote on this item: -1 (down), 1 (up), 2 (double up), or null if the caller has not voted.',
3446
+ example: 1,
3447
+ enum: [
3448
+ -1,
3449
+ 1,
3450
+ 2
3451
+ ]
3452
+ }
3453
+ },
3454
+ required: [
3455
+ 'id',
3456
+ 'text',
3457
+ 'vote'
3458
+ ],
3459
+ additionalProperties: false
3460
+ };
3461
+ export const RoadmapVoteInputSchema = {
3462
+ type: 'object',
3463
+ properties: {
3464
+ value: {
3465
+ type: 'integer',
3466
+ description: 'Vote value: -1 (down), 1 (up), or 2 (double up).',
3467
+ example: 1,
3468
+ enum: [
3469
+ -1,
3470
+ 1,
3471
+ 2
3472
+ ]
3473
+ }
3474
+ },
3475
+ required: [
3476
+ 'value'
3477
+ ],
3478
+ additionalProperties: false
3479
+ };
3172
3480
  export const TicketAttachmentSchema = {
3173
3481
  type: 'object',
3174
3482
  properties: {
@@ -3230,6 +3538,11 @@ export const TicketCreateInputSchema = {
3230
3538
  subcategory: 'cluster-question',
3231
3539
  cluster_id: '60c72b2f9f1b2c001f8e4d3a'
3232
3540
  }
3541
+ },
3542
+ grant_support_access: {
3543
+ type: 'boolean',
3544
+ 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.',
3545
+ example: true
3233
3546
  }
3234
3547
  },
3235
3548
  required: [
@@ -3374,6 +3687,18 @@ export const TicketSchema = {
3374
3687
  description: 'First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.',
3375
3688
  example: 'My cluster cannot reach the registry. Logs attached.'
3376
3689
  },
3690
+ support_access_granted: {
3691
+ type: 'boolean',
3692
+ description: 'Whether Cloudfleet support staff currently have access to the organization\'s resources. True once access is granted and until the ticket is closed.',
3693
+ example: true
3694
+ },
3695
+ support_access_granted_at: {
3696
+ type: 'string',
3697
+ format: 'date-time',
3698
+ nullable: true,
3699
+ description: 'When support access was granted. Null if it never was. Kept after the ticket is closed.',
3700
+ example: '2026-05-11T16:08:14.338Z'
3701
+ },
3377
3702
  closed_at: {
3378
3703
  type: 'string',
3379
3704
  format: 'date-time',
@@ -3487,6 +3812,8 @@ export const TicketSchema = {
3487
3812
  'status',
3488
3813
  'category',
3489
3814
  'summary',
3815
+ 'support_access_granted',
3816
+ 'support_access_granted_at',
3490
3817
  'date_created',
3491
3818
  'date_updated'
3492
3819
  ],