@cloudfleet/sdk 0.0.1-bd28e81 → 0.0.1-c9371b9

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,3 +1,49 @@
1
+ export type BillingContact = {
2
+ /**
3
+ * Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
4
+ */
5
+ company?: string;
6
+ /**
7
+ * Street address, P.O. box, c/o
8
+ */
9
+ address1?: string;
10
+ /**
11
+ * Apartment, suite, unit, building, floor, etc.
12
+ */
13
+ address2?: string;
14
+ /**
15
+ * Postal code as a string.
16
+ */
17
+ postalCode?: string;
18
+ /**
19
+ * City or town name.
20
+ */
21
+ city?: string;
22
+ /**
23
+ * State, province, or region name.
24
+ */
25
+ state?: string;
26
+ /**
27
+ * Country as a ISO 3166-1 alpha-2 country code.
28
+ */
29
+ country?: string;
30
+ /**
31
+ * Phone number as a string.
32
+ */
33
+ phone?: string;
34
+ /**
35
+ * Email address used for billing as a string.
36
+ */
37
+ email: string;
38
+ /**
39
+ * First name of the billing contact person.
40
+ */
41
+ first_name: string;
42
+ /**
43
+ * Last name of the billing contact person.
44
+ */
45
+ last_name: string;
46
+ };
1
47
  export type ClusterCreateInput = {
2
48
  /**
3
49
  * Name of the cluster.
@@ -237,178 +283,6 @@ export type FleetUpdateInput = {
237
283
  controllerRoleArn: string;
238
284
  };
239
285
  };
240
- export type InfrastructureFilter = {
241
- /**
242
- * Version of the infrastructure filter definition. Currently only version 1 is supported.
243
- */
244
- version?: 1;
245
- /**
246
- * Limit selection of cloud providers to this list. For the full list of supported providers, see [Providers](https://cloudfleet.ai/docs/cloud-infrastructure/providers/)
247
- */
248
- provider?: Array<string>;
249
- /**
250
- * Limits selection of cloud regions to this list of Cloudfleet regions. For the full list of normalized regions and their mapping to CSP regions, see [Regions](https://cloudfleet.ai/docs/cloud-infrastructure/node-regions/)
251
- */
252
- region?: Array<string>;
253
- /**
254
- * Limits selection of cloud regions to this list of Cloudfleet regions. For the full list of normalized regions and their mapping to CSP regions, see [Regions](https://cloudfleet.ai/docs/cloud-infrastructure/node-regions/)
255
- */
256
- sub_region?: Array<string>;
257
- /**
258
- * Limits selection of cloud regions to this list of canonical provider regions
259
- */
260
- csp_region?: Array<string>;
261
- /**
262
- * Limits selection of instance types to this list. Instance / VM type as defined by the cloud service provider
263
- */
264
- instance_type?: Array<string>;
265
- /**
266
- * List of Normalized accelerator model names. For example, all variations of Nvidia A100 GPUs will have 'A100' as accelerator name with various memory configurations set in accelerator_memory field
267
- */
268
- accelerator_name?: Array<string>;
269
- /**
270
- * List of normalized accelerator manufacturer names. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer
271
- */
272
- accelerator_manufacturer?: Array<string>;
273
- /**
274
- * Minimum number of accelerators available on the instance. Some cloud providers support shared accelerators, so the number of accelerators may be a fraction of the number of physical accelerators.
275
- */
276
- accelerator_count_min?: number;
277
- /**
278
- * Maximum number of accelerators available on the instance. Some cloud providers support shared accelerators, so the number of accelerators may be a fraction of the number of physical accelerators.
279
- */
280
- accelerator_count_max?: number;
281
- /**
282
- * Minimum amount of accelerator memory available to each accelerator. For example, Nvidia A100 GPUs will typically have '40.0' gibibytes (GiB) of memory, while A100 GPUs with HBM2E memory will have '80.0' gibibytes (GiB) of memory
283
- */
284
- accelerator_memory_min?: number;
285
- /**
286
- * Maximum amount of accelerator memory available to each accelerator. For example, Nvidia A100 GPUs will typically have '40.0' gibibytes (GiB) of memory, while A100 GPUs with HBM2E memory will have '80.0' gibibytes (GiB) of memory
287
- */
288
- accelerator_memory_max?: number;
289
- /**
290
- * Minimum amount of RAM in gibibytes (GiB)
291
- */
292
- memory_min?: number;
293
- /**
294
- * Maximum amount of RAM in gibibytes (GiB)
295
- */
296
- memory_max?: number;
297
- /**
298
- * Minimum number of vCPUs as defined by the cloud service provider. Some cloud providers use hyperthreading, so the number of vCPUs may be twice as high as the number of physical cores.
299
- */
300
- vcpu_min?: number;
301
- /**
302
- * Maximum number of vCPUs as defined by the cloud service provider. Some cloud providers use hyperthreading, so the number of vCPUs may be twice as high as the number of physical cores.
303
- */
304
- vcpu_max?: number;
305
- /**
306
- * Minimum total storage in GiB (attached and local)
307
- */
308
- storage_total_min?: number;
309
- /**
310
- * Maximum total storage in GiB (attached and local)
311
- */
312
- storage_total_max?: number;
313
- /**
314
- * Minimum volume of directly attached, block-device local storage in gibibytes (GiB)
315
- */
316
- storage_local_min?: number;
317
- /**
318
- * Maximum volume of directly attached, block-device local storage in gibibytes (GiB)
319
- */
320
- storage_local_max?: number;
321
- /**
322
- * Minimum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.
323
- */
324
- price_min?: number;
325
- /**
326
- * Maximum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.
327
- */
328
- price_max?: number;
329
- };
330
- export type InfrastructureInstance = {
331
- /**
332
- * Cloudfleet instance SKU. Has a format of <provider>-<csp_region>-<instance_type>.
333
- */
334
- sku: string;
335
- /**
336
- * Normalized cloud service provider name. For the full list of supported providers, see [Providers](https://cloudfleet.ai/docs/cloud-infrastructure/providers/)
337
- */
338
- provider: string;
339
- /**
340
- * Normalized region. For the full list of normalized regions and their mapping to CSP regions, see [Regions](https://cloudfleet.ai/docs/cloud-infrastructure/node-regions/)
341
- */
342
- region: string;
343
- /**
344
- * Normalized sub-region. For the full list of normalized regions and their mapping to CSP regions, see [Regions](https://cloudfleet.ai/docs/cloud-infrastructure/node-regions/)
345
- */
346
- sub_region: string;
347
- /**
348
- * Region as defined by the cloud service provider
349
- */
350
- csp_region: string;
351
- /**
352
- * Availability zone as defined by the cloud service provider
353
- */
354
- csp_zone: string;
355
- /**
356
- * Instance / VM type as defined by the cloud service provider
357
- */
358
- instance_type: string;
359
- /**
360
- * Instance CPU architecture
361
- */
362
- architecture: string;
363
- /**
364
- * Instance operating system
365
- */
366
- os: string;
367
- /**
368
- * CPU count as defined by the cloud service provider. Some cloud providers use hyperthreading, so the number of vCPUs may be twice as high as the number of physical cores.
369
- */
370
- vcpu: number;
371
- /**
372
- * Total amount of RAM in gibibytes (GiB)
373
- */
374
- memory: number;
375
- /**
376
- * Volume of directly attached, block-device local storage in gibibytes (GiB)
377
- */
378
- local_storage: number;
379
- /**
380
- * Normalized model name of accelerator. For example, all variations of Nvidia A100 GPUs will have 'A100' as accelerator name with various memory configurations set in accelerator_memory field
381
- */
382
- accelerator_name?: string;
383
- /**
384
- * Normalized manufacturer name of accelerator. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer
385
- */
386
- accelerator_manufacturer?: string;
387
- /**
388
- * Number of accelerators available on the instance. Some cloud providers support shared accelerators, so the number of accelerators may be a fraction of the number of physical accelerators.
389
- */
390
- accelerator_count?: number;
391
- /**
392
- * Ammount of accelerator memory available to each accelerator. For example, Nvidia A100 GPUs will typically have '40.0' gibibytes (GiB) of memory, while A100 GPUs with HBM2E memory will have '80.0' gibibytes (GiB) of memory
393
- */
394
- accelerator_memory?: number;
395
- /**
396
- * Maximum number of pods that can be run on this instance type.
397
- */
398
- pods_capacity?: number;
399
- /**
400
- * Capacity type of the instance. E.g. `on-demand`, `spot`.
401
- */
402
- capacity_type?: string;
403
- /**
404
- * Price of running the inctance per hour in USD as defined by the cloud service provider
405
- */
406
- price: number;
407
- /**
408
- * Whether this instance type is available.
409
- */
410
- available?: boolean;
411
- };
412
286
  export type Invite = {
413
287
  /**
414
288
  * Unique identifier of the invitation.
@@ -663,35 +537,7 @@ export type Invoice = {
663
537
  } | string>;
664
538
  }>;
665
539
  };
666
- export type OrganizationContactInfo = {
667
- /**
668
- * Street address, P.O. box, c/o
669
- */
670
- address1?: string;
671
- /**
672
- * Apartment, suite, unit, building, floor, etc.
673
- */
674
- address2?: string;
675
- /**
676
- * Postal code as a string.
677
- */
678
- postalCode?: string;
679
- /**
680
- * City or town name.
681
- */
682
- city?: string;
683
- /**
684
- * State, province, or region name.
685
- */
686
- state?: string;
687
- /**
688
- * Country as a ISO 3166-1 alpha-2 country code.
689
- */
690
- country?: string;
691
- /**
692
- * Phone number as a string.
693
- */
694
- phone?: string;
540
+ export type OrganizationCreateInput = {
695
541
  /**
696
542
  * Email address used for billing as a string.
697
543
  */
@@ -704,116 +550,24 @@ export type OrganizationContactInfo = {
704
550
  * Last name of the billing contact person.
705
551
  */
706
552
  last_name: string;
707
- };
708
- export type OrganizationCreateInput = {
709
553
  /**
710
554
  * Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
711
555
  */
712
- name: string;
713
- /**
714
- * Organization contact information and billing address.
715
- */
716
- contactInfo: {
717
- /**
718
- * Street address, P.O. box, c/o
719
- */
720
- address1?: string;
721
- /**
722
- * Apartment, suite, unit, building, floor, etc.
723
- */
724
- address2?: string;
725
- /**
726
- * Postal code as a string.
727
- */
728
- postalCode?: string;
729
- /**
730
- * City or town name.
731
- */
732
- city?: string;
733
- /**
734
- * State, province, or region name.
735
- */
736
- state?: string;
737
- /**
738
- * Country as a ISO 3166-1 alpha-2 country code.
739
- */
740
- country?: string;
741
- /**
742
- * Phone number as a string.
743
- */
744
- phone?: string;
745
- /**
746
- * Email address used for billing as a string.
747
- */
748
- email: string;
749
- /**
750
- * First name of the billing contact person.
751
- */
752
- first_name: string;
753
- /**
754
- * Last name of the billing contact person.
755
- */
756
- last_name: string;
757
- };
556
+ company_name: string;
758
557
  /**
759
558
  * Password for the root account. Must be at least 8 characters long and contain at least one uppercase letter, one lowercase letter, one number and one special character.
760
559
  */
761
560
  password: string;
762
561
  };
763
562
  export type Organization = {
764
- /**
765
- * Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
766
- */
767
- name: string;
768
- /**
769
- * Organization contact information and billing address.
770
- */
771
- contactInfo: {
772
- /**
773
- * Street address, P.O. box, c/o
774
- */
775
- address1?: string;
776
- /**
777
- * Apartment, suite, unit, building, floor, etc.
778
- */
779
- address2?: string;
780
- /**
781
- * Postal code as a string.
782
- */
783
- postalCode?: string;
784
- /**
785
- * City or town name.
786
- */
787
- city?: string;
788
- /**
789
- * State, province, or region name.
790
- */
791
- state?: string;
792
- /**
793
- * Country as a ISO 3166-1 alpha-2 country code.
794
- */
795
- country?: string;
796
- /**
797
- * Phone number as a string.
798
- */
799
- phone?: string;
800
- /**
801
- * Email address used for billing as a string.
802
- */
803
- email: string;
804
- /**
805
- * First name of the billing contact person.
806
- */
807
- first_name: string;
808
- /**
809
- * Last name of the billing contact person.
810
- */
811
- last_name: string;
812
- };
813
563
  /**
814
564
  * Unique identifier of the organization. UUID v4 string in canonical form
815
565
  */
816
566
  id: string;
567
+ /**
568
+ * Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
569
+ */
570
+ name?: string;
817
571
  /**
818
572
  * Creation date of the organization. ISO 8601 date string in UTC timezone
819
573
  */
@@ -868,66 +622,11 @@ export type Organization = {
868
622
  label: string;
869
623
  }>;
870
624
  };
871
- /**
872
- * List of pending actions that the user needs to complete. Used in Cloudfleet console to guide the user through the onboarding process.
873
- */
874
- pending_actions: Array<'signup-billing-address' | 'signup-payment-method' | 'signup-invite-team' | 'signup-create-cluster'>;
875
625
  /**
876
626
  * Status of the organization. Can be `active` or `closed`, or `suspended`.
877
627
  */
878
628
  status: 'active' | 'closed' | 'suspended';
879
629
  };
880
- export type OrganizationUpdateInput = {
881
- /**
882
- * Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
883
- */
884
- name?: string;
885
- /**
886
- * Organization contact information and billing address.
887
- */
888
- contactInfo: {
889
- /**
890
- * Street address, P.O. box, c/o
891
- */
892
- address1?: string;
893
- /**
894
- * Apartment, suite, unit, building, floor, etc.
895
- */
896
- address2?: string;
897
- /**
898
- * Postal code as a string.
899
- */
900
- postalCode?: string;
901
- /**
902
- * City or town name.
903
- */
904
- city?: string;
905
- /**
906
- * State, province, or region name.
907
- */
908
- state?: string;
909
- /**
910
- * Country as a ISO 3166-1 alpha-2 country code.
911
- */
912
- country?: string;
913
- /**
914
- * Phone number as a string.
915
- */
916
- phone?: string;
917
- /**
918
- * Email address used for billing as a string.
919
- */
920
- email: string;
921
- /**
922
- * First name of the billing contact person.
923
- */
924
- first_name: string;
925
- /**
926
- * Last name of the billing contact person.
927
- */
928
- last_name: string;
929
- };
930
- };
931
630
  export type PaymentMethod = {
932
631
  /**
933
632
  * Unique identifier of the organization. UUID v4 string in canonical form.
@@ -1002,18 +701,33 @@ export type TokenUpdateInput = {
1002
701
  };
1003
702
  export type Usage = {
1004
703
  /**
1005
- * Unique identifier of the Usage object, equal to subscription id of the task . UUID v4 string in canonical form
704
+ * Hour of the usage
1006
705
  */
1007
- id: string;
706
+ hour?: string;
707
+ /**
708
+ * Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
709
+ */
710
+ cluster_id: string;
711
+ /**
712
+ * Tier of the cluster.
713
+ */
714
+ cluster_tier: '';
715
+ /**
716
+ * The product the usage is associated with
717
+ */
718
+ product: 'cfke_infra_compute' | 'cfke_nodes' | 'cfke_controlplane';
1008
719
  /**
1009
- * Unique identifier of the project. UUID v4 string in canonical form
720
+ * Name of the Kubernetes node
1010
721
  */
1011
- task_id: string;
722
+ node_name: string;
1012
723
  /**
1013
- * Unit of measurement. E.g. GiB, seconds, etc
724
+ * SKU of the Kubernetes node
1014
725
  */
1015
- unit: string;
1016
- amount: number;
726
+ sku: string;
727
+ cpu: number | '';
728
+ price: number | '';
729
+ value: number | '';
730
+ total: number | '';
1017
731
  };
1018
732
  export type UserCreateInput = {
1019
733
  /**
@@ -1033,7 +747,7 @@ export type UserCreateInput = {
1033
747
  */
1034
748
  code: string;
1035
749
  /**
1036
- * User password. Must be at least 8 characters long and contain at least one uppercase letter, one lowercase letter, one number and one special character.
750
+ * User password. Must be at least 8 characters long.
1037
751
  */
1038
752
  password: string;
1039
753
  /**
@@ -1110,16 +824,7 @@ export type UserUpdateInput = {
1110
824
  export type GetUsageData = {
1111
825
  body?: never;
1112
826
  path?: never;
1113
- query: {
1114
- /**
1115
- * Start date for the usage. Date of oldest data point to retrieve.
1116
- */
1117
- start_date: string;
1118
- /**
1119
- * End date for the usage. Date of newest data point to retrieve.
1120
- */
1121
- end_date: string;
1122
- };
827
+ query?: never;
1123
828
  url: '/billing/usage';
1124
829
  };
1125
830
  export type GetUsageErrors = {
@@ -1234,6 +939,32 @@ export type GetInvoiceResponses = {
1234
939
  };
1235
940
  };
1236
941
  export type GetInvoiceResponse = GetInvoiceResponses[keyof GetInvoiceResponses];
942
+ export type GetContactData = {
943
+ body?: never;
944
+ path?: never;
945
+ query?: never;
946
+ url: '/billing/contact';
947
+ };
948
+ export type GetContactResponses = {
949
+ /**
950
+ * Returns a single object containing organization contact and billing address details.
951
+ */
952
+ 200: BillingContact;
953
+ };
954
+ export type GetContactResponse = GetContactResponses[keyof GetContactResponses];
955
+ export type UpdateContactData = {
956
+ body: BillingContact;
957
+ path?: never;
958
+ query?: never;
959
+ url: '/billing/contact';
960
+ };
961
+ export type UpdateContactResponses = {
962
+ /**
963
+ * Successfully updated. Returns updated organization details.
964
+ */
965
+ 200: BillingContact;
966
+ };
967
+ export type UpdateContactResponse = UpdateContactResponses[keyof UpdateContactResponses];
1237
968
  export type ListFleetsData = {
1238
969
  body?: never;
1239
970
  path: {
@@ -1496,252 +1227,6 @@ export type GetJoinInformationResponses = {
1496
1227
  200: Cluster;
1497
1228
  };
1498
1229
  export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
1499
- export type GetInfrastructureData = {
1500
- body?: never;
1501
- path?: never;
1502
- query?: {
1503
- /**
1504
- * Version of the task definition. Currently only version 1 is supported.
1505
- */
1506
- version?: 1;
1507
- /**
1508
- * Limit selection of cloud providers to this list. For the full list of supported providers, see [Providers](https://cloudfleet.ai/docs/cloud-infrastructure/providers/)
1509
- */
1510
- provider?: Array<string>;
1511
- /**
1512
- * Limits selection of cloud regions to this list of Cloudfleet regions. For the full list of normalized regions and their mapping to CSP regions, see [Regions](https://cloudfleet.ai/docs/cloud-infrastructure/node-regions/)
1513
- */
1514
- region?: Array<string>;
1515
- /**
1516
- * Limits selection of cloud regions to this list of Cloudfleet regions. For the full list of normalized regions and their mapping to CSP regions, see [Regions](https://cloudfleet.ai/docs/cloud-infrastructure/node-regions/)
1517
- */
1518
- sub_region?: Array<string>;
1519
- /**
1520
- * Limits selection of cloud regions to this list of canonical provider regions
1521
- */
1522
- csp_region?: Array<string>;
1523
- /**
1524
- * Limits selection of instance types to this list. Instance / VM type as defined by the cloud service provider
1525
- */
1526
- instance_type?: Array<string>;
1527
- /**
1528
- * List of Normalized accelerator model names. For example, all variations of Nvidia A100 GPUs will have 'A100' as accelerator name with various memory configurations set in accelerator_memory field
1529
- */
1530
- accelerator_name?: Array<string>;
1531
- /**
1532
- * List of normalized accelerator manufacturer names. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer
1533
- */
1534
- accelerator_manufacturer?: Array<string>;
1535
- /**
1536
- * Minimum number of accelerators available on the instance. Some cloud providers support shared accelerators, so the number of accelerators may be a fraction of the number of physical accelerators.
1537
- */
1538
- accelerator_count_min?: number;
1539
- /**
1540
- * Maximum number of accelerators available on the instance. Some cloud providers support shared accelerators, so the number of accelerators may be a fraction of the number of physical accelerators.
1541
- */
1542
- accelerator_count_max?: number;
1543
- /**
1544
- * Minimum amount of accelerator memory available to each accelerator. For example, Nvidia A100 GPUs will typically have '40.0' gibibytes (GiB) of memory, while A100 GPUs with HBM2E memory will have '80.0' gibibytes (GiB) of memory
1545
- */
1546
- accelerator_memory_min?: number;
1547
- /**
1548
- * Maximum amount of accelerator memory available to each accelerator. For example, Nvidia A100 GPUs will typically have '40.0' gibibytes (GiB) of memory, while A100 GPUs with HBM2E memory will have '80.0' gibibytes (GiB) of memory
1549
- */
1550
- accelerator_memory_max?: number;
1551
- /**
1552
- * Minimum amount of RAM in gibibytes (GiB)
1553
- */
1554
- memory_min?: number;
1555
- /**
1556
- * Maximum amount of RAM in gibibytes (GiB)
1557
- */
1558
- memory_max?: number;
1559
- /**
1560
- * Minimum number of vCPUs as defined by the cloud service provider. Some cloud providers use hyperthreading, so the number of vCPUs may be twice as high as the number of physical cores.
1561
- */
1562
- vcpu_min?: number;
1563
- /**
1564
- * Maximum number of vCPUs as defined by the cloud service provider. Some cloud providers use hyperthreading, so the number of vCPUs may be twice as high as the number of physical cores.
1565
- */
1566
- vcpu_max?: number;
1567
- /**
1568
- * Minimum total storage in GiB (attached and local)
1569
- */
1570
- storage_total_min?: number;
1571
- /**
1572
- * Maximum total storage in GiB (attached and local)
1573
- */
1574
- storage_total_max?: number;
1575
- /**
1576
- * Minimum volume of directly attached, block-device local storage in gibibytes (GiB)
1577
- */
1578
- storage_local_min?: number;
1579
- /**
1580
- * Maximum volume of directly attached, block-device local storage in gibibytes (GiB)
1581
- */
1582
- storage_local_max?: number;
1583
- /**
1584
- * Minimum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.
1585
- */
1586
- price_min?: number;
1587
- /**
1588
- * Maximum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.
1589
- */
1590
- price_max?: number;
1591
- };
1592
- url: '/infrastructure';
1593
- };
1594
- export type GetInfrastructureErrors = {
1595
- /**
1596
- * Returns a validation error if any of the search parameters in the request are invalid
1597
- */
1598
- 400: Blob | File;
1599
- };
1600
- export type GetInfrastructureError = GetInfrastructureErrors[keyof GetInfrastructureErrors];
1601
- export type GetInfrastructureResponses = {
1602
- /**
1603
- * An array of instances returned by the search
1604
- */
1605
- 200: Array<InfrastructureInstance>;
1606
- };
1607
- export type GetInfrastructureResponse = GetInfrastructureResponses[keyof GetInfrastructureResponses];
1608
- export type GetFacetsData = {
1609
- body?: never;
1610
- path?: never;
1611
- query?: never;
1612
- url: '/infrastructure/facets';
1613
- };
1614
- export type GetFacetsResponses = {
1615
- /**
1616
- * Calculates search facets of the infrastructure catalog
1617
- */
1618
- 200: Array<{
1619
- /**
1620
- * Limit selection of cloud providers to this list. For the full list of supported providers, see [Providers](https://cloudfleet.ai/docs/cloud-infrastructure/providers/)
1621
- */
1622
- provider?: Array<string>;
1623
- /**
1624
- * Limits selection of cloud regions to this list of Cloudfleet regions. For the full list of normalized regions and their mapping to CSP regions, see [Regions](https://cloudfleet.ai/docs/cloud-infrastructure/node-regions/)
1625
- */
1626
- region?: Array<string>;
1627
- /**
1628
- * Limits selection of cloud sub-regions to this list of Cloudfleet sub-regions. For the full list of normalized regions and their mapping to CSP regions, see [Regions](https://cloudfleet.ai/docs/cloud-infrastructure/node-regions/)
1629
- */
1630
- sub_region?: Array<string>;
1631
- /**
1632
- * Limits selection of cloud regions to this list of canonical provider regions
1633
- */
1634
- csp_region?: Array<string>;
1635
- /**
1636
- * Minimum number of vCPUs as defined by the cloud service provider. Some cloud providers use hyperthreading, so the number of vCPUs may be twice as high as the number of physical cores.
1637
- */
1638
- vcpu_min?: number;
1639
- /**
1640
- * Maximum number of vCPUs as defined by the cloud service provider. Some cloud providers use hyperthreading, so the number of vCPUs may be twice as high as the number of physical cores.
1641
- */
1642
- vcpu_max?: number;
1643
- /**
1644
- * Minimum amount of RAM in gibibytes (GiB)
1645
- */
1646
- memory_min?: number;
1647
- /**
1648
- * Maximum amount of RAM in gibibytes (GiB)
1649
- */
1650
- memory_max?: number;
1651
- /**
1652
- * Minimum volume of directly attached, block-device local storage in gibibytes (GiB)
1653
- */
1654
- storage_local_min?: number;
1655
- /**
1656
- * Maximum volume of directly attached, block-device local storage in gibibytes (GiB)
1657
- */
1658
- storage_local_max?: number;
1659
- /**
1660
- * List of Normalized accelerator model names. For example, all variations of Nvidia A100 GPUs will have 'A100' as accelerator name with various memory configurations set in accelerator_memory field
1661
- */
1662
- accelerator_name?: Array<string>;
1663
- /**
1664
- * List of normalized accelerator manufacturer names. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer
1665
- */
1666
- accelerator_manufacturer?: Array<string>;
1667
- /**
1668
- * Minimum number of accelerators available on the instance. Some cloud providers support shared accelerators, so the number of accelerators may be a fraction of the number of physical accelerators.
1669
- */
1670
- accelerator_count_min?: number;
1671
- /**
1672
- * Maximum number of accelerators available on the instance. Some cloud providers support shared accelerators, so the number of accelerators may be a fraction of the number of physical accelerators.
1673
- */
1674
- accelerator_count_max?: number;
1675
- /**
1676
- * Minimum amount of accelerator memory available to each accelerator. For example, Nvidia A100 GPUs will typically have '40.0' gibibytes (GiB) of memory, while A100 GPUs with HBM2E memory will have '80.0' gibibytes (GiB) of memory
1677
- */
1678
- accelerator_memory_min?: number;
1679
- /**
1680
- * Maximum amount of accelerator memory available to each accelerator. For example, Nvidia A100 GPUs will typically have '40.0' gibibytes (GiB) of memory, while A100 GPUs with HBM2E memory will have '80.0' gibibytes (GiB) of memory
1681
- */
1682
- accelerator_memory_max?: number;
1683
- /**
1684
- * Minimum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.
1685
- */
1686
- price_min?: number;
1687
- /**
1688
- * Maximum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.
1689
- */
1690
- price_max?: number;
1691
- /**
1692
- * Structured array of regions and sub-regions
1693
- */
1694
- regions_struct?: Array<{
1695
- /**
1696
- * Limits selection of cloud regions to this list of Cloudfleet regions. For the full list of normalized regions and their mapping to CSP regions, see [Regions](https://cloudfleet.ai/docs/cloud-infrastructure/node-regions/)
1697
- */
1698
- region?: string;
1699
- sub_region?: Array<string>;
1700
- }>;
1701
- /**
1702
- * Structured array of regions and sub-regions
1703
- */
1704
- accelerators_struct?: Array<{
1705
- /**
1706
- * List of normalized accelerator manufacturer names. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer
1707
- */
1708
- accelerator_manufacturer?: string;
1709
- accelerator_name?: Array<string>;
1710
- }>;
1711
- /**
1712
- * Total number of instances in the catalog
1713
- */
1714
- count_total?: number;
1715
- /**
1716
- * Total number of instances in the catalog with at least 1 accelerator
1717
- */
1718
- count_accelerators?: number;
1719
- /**
1720
- * Total number of unique instances types in the catalog
1721
- */
1722
- count_instance_types?: number;
1723
- /**
1724
- * Total number of unique instances types in the catalog with at least 1 accelerator
1725
- */
1726
- count_accelerators_instance_types?: number;
1727
- }>;
1728
- };
1729
- export type GetFacetsResponse = GetFacetsResponses[keyof GetFacetsResponses];
1730
- export type GetRegionsData = {
1731
- body?: never;
1732
- path?: never;
1733
- query?: never;
1734
- url: '/infrastructure/regions';
1735
- };
1736
- export type GetRegionsResponses = {
1737
- /**
1738
- * Available Cloudfleet regions and Kubernetes versions.
1739
- */
1740
- 200: {
1741
- [key: string]: unknown;
1742
- };
1743
- };
1744
- export type GetRegionsResponse = GetRegionsResponses[keyof GetRegionsResponses];
1745
1230
  export type ListInvitesData = {
1746
1231
  body?: never;
1747
1232
  path?: never;
@@ -1835,24 +1320,10 @@ export type CreateOrganizationData = {
1835
1320
  };
1836
1321
  export type CreateOrganizationResponses = {
1837
1322
  /**
1838
- * Successfully created a new organization. Returns organization details.
1323
+ * Successfully created a new organization.
1839
1324
  */
1840
- 200: Organization;
1841
- };
1842
- export type CreateOrganizationResponse = CreateOrganizationResponses[keyof CreateOrganizationResponses];
1843
- export type UpdateOrganizationData = {
1844
- body: OrganizationUpdateInput;
1845
- path?: never;
1846
- query?: never;
1847
- url: '/organization';
1848
- };
1849
- export type UpdateOrganizationResponses = {
1850
- /**
1851
- * Successfully updated. Returns updated organization details.
1852
- */
1853
- 200: Organization;
1325
+ 200: unknown;
1854
1326
  };
1855
- export type UpdateOrganizationResponse = UpdateOrganizationResponses[keyof UpdateOrganizationResponses];
1856
1327
  export type ListTokensData = {
1857
1328
  body?: never;
1858
1329
  path?: never;
@@ -2158,4 +1629,7 @@ export type SetClusterPermissionsResponses = {
2158
1629
  200: User;
2159
1630
  };
2160
1631
  export type SetClusterPermissionsResponse = SetClusterPermissionsResponses[keyof SetClusterPermissionsResponses];
1632
+ export type ClientOptions = {
1633
+ baseUrl: 'https://api.cloudfleet.ai/v1' | (string & {});
1634
+ };
2161
1635
  //# sourceMappingURL=types.gen.d.ts.map