@cloudfleet/sdk 0.0.1-017af9f → 0.0.1-028b8fa

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,6 +1,12 @@
1
1
  export declare const BillingContactSchema: {
2
2
  readonly type: "object";
3
3
  readonly properties: {
4
+ readonly type: {
5
+ readonly type: "string";
6
+ readonly description: "Type of the organization. `business` for legal entities, `personal` for individuals.";
7
+ readonly example: "business";
8
+ readonly enum: readonly ["business", "personal"];
9
+ };
4
10
  readonly company: {
5
11
  readonly type: "string";
6
12
  readonly maxLength: 120;
@@ -76,7 +82,7 @@ export declare const BillingContactSchema: {
76
82
  readonly enum: readonly ["ad_nrt", "ae_trn", "al_tin", "am_tin", "ao_tin", "ar_cuit", "at_vat", "au_abn", "au_arn", "ba_tin", "bb_tin", "be_vat", "bg_uic", "bg_vat", "bh_vat", "bo_tin", "br_cnpj", "br_cpf", "bs_tin", "by_tin", "ca_bn", "ca_gst_hst", "ca_pst_bc", "ca_pst_mb", "ca_pst_sk", "ca_qst", "cd_nif", "ch_uid", "ch_vat", "cl_tin", "cn_tin", "co_nit", "cr_tin", "cy_vat", "cz_vat", "de_stn", "de_vat", "dk_vat", "do_rcn", "ec_ruc", "ee_vat", "eg_tin", "es_cif", "es_vat", "eu_oss_vat", "fi_vat", "fr_vat", "gb_vat", "ge_vat", "gn_nif", "gr_vat", "hk_br", "hr_oib", "hr_vat", "hu_tin", "hu_vat", "id_npwp", "ie_vat", "il_vat", "in_gst", "is_vat", "it_vat", "jp_cn", "jp_rn", "jp_trn", "ke_pin", "kh_tin", "kr_brn", "kz_bin", "li_uid", "li_vat", "lt_vat", "lu_vat", "lv_vat", "ma_vat", "md_vat", "me_pib", "mk_vat", "mr_nif", "mt_vat", "mx_rfc", "my_frp", "my_itn", "my_sst", "ng_tin", "nl_vat", "no_vat", "no_voec", "np_pan", "nz_gst", "om_vat", "pe_ruc", "ph_tin", "pl_vat", "pt_vat", "ro_tin", "ro_vat", "rs_pib", "ru_inn", "ru_kpp", "sa_vat", "se_vat", "sg_gst", "sg_uen", "si_tin", "si_vat", "sk_vat", "sn_ninea", "sr_fin", "sv_nit", "th_vat", "tj_tin", "tr_tin", "tw_vat", "tz_vat", "ua_vat", "ug_tin", "us_ein", "uy_ruc", "uz_tin", "uz_vat", "ve_rif", "vn_tin", "xi_vat", "za_vat", "zm_tin", "zw_tin", ""];
77
83
  };
78
84
  };
79
- readonly required: readonly ["email", "individual_name"];
85
+ readonly required: readonly ["type", "email", "individual_name"];
80
86
  readonly additionalProperties: false;
81
87
  };
82
88
  export declare const BillingCreditsSchema: {
@@ -503,10 +509,10 @@ export declare const FleetCreateInputSchema: {
503
509
  readonly type: "object";
504
510
  readonly properties: {
505
511
  readonly cpu: {
506
- readonly type: "number";
507
- readonly format: "float";
512
+ readonly type: "integer";
508
513
  readonly minimum: 0;
509
- readonly description: "CPU limit in cores.";
514
+ readonly maximum: 100000;
515
+ readonly description: "CPU limit in cores. Maximum 100,000.";
510
516
  };
511
517
  };
512
518
  readonly additionalProperties: false;
@@ -517,14 +523,15 @@ export declare const FleetCreateInputSchema: {
517
523
  readonly properties: {
518
524
  readonly enabled: {
519
525
  readonly type: "boolean";
520
- readonly default: true;
521
526
  };
522
527
  readonly project: {
523
528
  readonly type: "string";
524
- readonly description: "Project GCP Project id to deploy instances into";
529
+ readonly pattern: "^[a-z][a-z0-9-]{4,28}[a-z0-9]$";
530
+ readonly description: "GCP project ID to deploy instances into. 6-30 chars, lowercase letters/digits/hyphens, must start with a letter and not end with a hyphen. Omit when GCP is disabled.";
531
+ readonly example: "my-cloudfleet-project";
525
532
  };
526
533
  };
527
- readonly required: readonly ["project"];
534
+ readonly required: readonly ["enabled"];
528
535
  readonly additionalProperties: false;
529
536
  };
530
537
  readonly hetzner: {
@@ -532,13 +539,16 @@ export declare const FleetCreateInputSchema: {
532
539
  readonly properties: {
533
540
  readonly enabled: {
534
541
  readonly type: "boolean";
535
- readonly default: true;
536
542
  };
537
543
  readonly apiKey: {
538
544
  readonly type: "string";
539
- readonly description: "Hetzner Cloud API key with read / write access. On update, omit this field to keep the existing value.";
545
+ readonly maxLength: 64;
546
+ readonly minLength: 64;
547
+ readonly pattern: "^[A-Za-z0-9]+$";
548
+ readonly description: "Hetzner Cloud API token with read / write access (64 alphanumeric characters). Omit this field to keep the existing value.";
540
549
  };
541
550
  };
551
+ readonly required: readonly ["enabled"];
542
552
  readonly additionalProperties: false;
543
553
  };
544
554
  readonly aws: {
@@ -546,14 +556,15 @@ export declare const FleetCreateInputSchema: {
546
556
  readonly properties: {
547
557
  readonly enabled: {
548
558
  readonly type: "boolean";
549
- readonly default: true;
550
559
  };
551
560
  readonly controllerRoleArn: {
552
561
  readonly type: "string";
553
- readonly description: "ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.";
562
+ readonly pattern: "^arn:aws(-[a-z]+)*:iam::\\d{12}:role\\/[\\w+=,.@/-]+$";
563
+ readonly description: "AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.";
564
+ readonly example: "arn:aws:iam::123456789012:role/Cloudfleet";
554
565
  };
555
566
  };
556
- readonly required: readonly ["controllerRoleArn"];
567
+ readonly required: readonly ["enabled"];
557
568
  readonly additionalProperties: false;
558
569
  };
559
570
  readonly constraints: {
@@ -565,7 +576,9 @@ export declare const FleetCreateInputSchema: {
565
576
  readonly type: "string";
566
577
  readonly enum: readonly ["on-demand", "spot"];
567
578
  };
579
+ readonly minItems: 1;
568
580
  readonly description: "Allowed values for `karpenter.sh/capacity-type`.";
581
+ readonly default: readonly ["on-demand", "spot"];
569
582
  };
570
583
  readonly 'kubernetes.io/arch': {
571
584
  readonly type: "array";
@@ -573,7 +586,9 @@ export declare const FleetCreateInputSchema: {
573
586
  readonly type: "string";
574
587
  readonly enum: readonly ["amd64", "arm64"];
575
588
  };
589
+ readonly minItems: 1;
576
590
  readonly description: "Allowed values for `kubernetes.io/arch`.";
591
+ readonly default: readonly ["amd64"];
577
592
  };
578
593
  readonly 'cfke.io/instance-family': {
579
594
  readonly type: "array";
@@ -598,6 +613,7 @@ export declare const FleetCreateInputSchema: {
598
613
  readonly scalingProfile: {
599
614
  readonly type: "string";
600
615
  readonly description: "Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.";
616
+ readonly default: "conservative";
601
617
  readonly example: "conservative";
602
618
  readonly enum: readonly ["aggressive", "conservative"];
603
619
  };
@@ -620,10 +636,10 @@ export declare const FleetSchema: {
620
636
  readonly type: "object";
621
637
  readonly properties: {
622
638
  readonly cpu: {
623
- readonly type: "number";
624
- readonly format: "float";
639
+ readonly type: "integer";
625
640
  readonly minimum: 0;
626
- readonly description: "CPU limit in cores.";
641
+ readonly maximum: 100000;
642
+ readonly description: "CPU limit in cores. Maximum 100,000.";
627
643
  };
628
644
  };
629
645
  readonly additionalProperties: false;
@@ -634,14 +650,15 @@ export declare const FleetSchema: {
634
650
  readonly properties: {
635
651
  readonly enabled: {
636
652
  readonly type: "boolean";
637
- readonly default: true;
638
653
  };
639
654
  readonly project: {
640
655
  readonly type: "string";
641
- readonly description: "Project GCP Project id to deploy instances into";
656
+ readonly pattern: "^[a-z][a-z0-9-]{4,28}[a-z0-9]$";
657
+ readonly description: "GCP project ID to deploy instances into. 6-30 chars, lowercase letters/digits/hyphens, must start with a letter and not end with a hyphen. Omit when GCP is disabled.";
658
+ readonly example: "my-cloudfleet-project";
642
659
  };
643
660
  };
644
- readonly required: readonly ["project"];
661
+ readonly required: readonly ["enabled"];
645
662
  readonly additionalProperties: false;
646
663
  };
647
664
  readonly hetzner: {
@@ -649,13 +666,14 @@ export declare const FleetSchema: {
649
666
  readonly properties: {
650
667
  readonly enabled: {
651
668
  readonly type: "boolean";
652
- readonly default: true;
653
669
  };
654
670
  readonly apiKey: {
655
671
  readonly type: "string";
656
- readonly description: "Hetzner Cloud API key with read / write access. On update, omit this field to keep the existing value.";
672
+ readonly pattern: "^\\*{64}$";
673
+ readonly description: "Redacted Hetzner API token. Returned as 64 asterisks when a token is configured; omitted otherwise. The real value is never echoed by the API.";
657
674
  };
658
675
  };
676
+ readonly required: readonly ["enabled"];
659
677
  readonly additionalProperties: false;
660
678
  };
661
679
  readonly aws: {
@@ -663,14 +681,15 @@ export declare const FleetSchema: {
663
681
  readonly properties: {
664
682
  readonly enabled: {
665
683
  readonly type: "boolean";
666
- readonly default: true;
667
684
  };
668
685
  readonly controllerRoleArn: {
669
686
  readonly type: "string";
670
- readonly description: "ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.";
687
+ readonly pattern: "^arn:aws(-[a-z]+)*:iam::\\d{12}:role\\/[\\w+=,.@/-]+$";
688
+ readonly description: "AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.";
689
+ readonly example: "arn:aws:iam::123456789012:role/Cloudfleet";
671
690
  };
672
691
  };
673
- readonly required: readonly ["controllerRoleArn"];
692
+ readonly required: readonly ["enabled"];
674
693
  readonly additionalProperties: false;
675
694
  };
676
695
  readonly constraints: {
@@ -682,7 +701,9 @@ export declare const FleetSchema: {
682
701
  readonly type: "string";
683
702
  readonly enum: readonly ["on-demand", "spot"];
684
703
  };
704
+ readonly minItems: 1;
685
705
  readonly description: "Allowed values for `karpenter.sh/capacity-type`.";
706
+ readonly default: readonly ["on-demand", "spot"];
686
707
  };
687
708
  readonly 'kubernetes.io/arch': {
688
709
  readonly type: "array";
@@ -690,7 +711,9 @@ export declare const FleetSchema: {
690
711
  readonly type: "string";
691
712
  readonly enum: readonly ["amd64", "arm64"];
692
713
  };
714
+ readonly minItems: 1;
693
715
  readonly description: "Allowed values for `kubernetes.io/arch`.";
716
+ readonly default: readonly ["amd64"];
694
717
  };
695
718
  readonly 'cfke.io/instance-family': {
696
719
  readonly type: "array";
@@ -715,6 +738,7 @@ export declare const FleetSchema: {
715
738
  readonly scalingProfile: {
716
739
  readonly type: "string";
717
740
  readonly description: "Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.";
741
+ readonly default: "conservative";
718
742
  readonly example: "conservative";
719
743
  readonly enum: readonly ["aggressive", "conservative"];
720
744
  };
@@ -727,7 +751,7 @@ export declare const FleetSchema: {
727
751
  readonly example: "new-clouds-fleet";
728
752
  };
729
753
  };
730
- readonly required: readonly ["id"];
754
+ readonly required: readonly ["scalingProfile", "id"];
731
755
  readonly additionalProperties: false;
732
756
  };
733
757
  export declare const FleetUpdateInputSchema: {
@@ -737,10 +761,10 @@ export declare const FleetUpdateInputSchema: {
737
761
  readonly type: "object";
738
762
  readonly properties: {
739
763
  readonly cpu: {
740
- readonly type: "number";
741
- readonly format: "float";
764
+ readonly type: "integer";
742
765
  readonly minimum: 0;
743
- readonly description: "CPU limit in cores.";
766
+ readonly maximum: 100000;
767
+ readonly description: "CPU limit in cores. Maximum 100,000.";
744
768
  };
745
769
  };
746
770
  readonly additionalProperties: false;
@@ -751,14 +775,15 @@ export declare const FleetUpdateInputSchema: {
751
775
  readonly properties: {
752
776
  readonly enabled: {
753
777
  readonly type: "boolean";
754
- readonly default: true;
755
778
  };
756
779
  readonly project: {
757
780
  readonly type: "string";
758
- readonly description: "Project GCP Project id to deploy instances into";
781
+ readonly pattern: "^[a-z][a-z0-9-]{4,28}[a-z0-9]$";
782
+ readonly description: "GCP project ID to deploy instances into. 6-30 chars, lowercase letters/digits/hyphens, must start with a letter and not end with a hyphen. Omit when GCP is disabled.";
783
+ readonly example: "my-cloudfleet-project";
759
784
  };
760
785
  };
761
- readonly required: readonly ["project"];
786
+ readonly required: readonly ["enabled"];
762
787
  readonly additionalProperties: false;
763
788
  };
764
789
  readonly hetzner: {
@@ -766,13 +791,16 @@ export declare const FleetUpdateInputSchema: {
766
791
  readonly properties: {
767
792
  readonly enabled: {
768
793
  readonly type: "boolean";
769
- readonly default: true;
770
794
  };
771
795
  readonly apiKey: {
772
796
  readonly type: "string";
773
- readonly description: "Hetzner Cloud API key with read / write access. On update, omit this field to keep the existing value.";
797
+ readonly maxLength: 64;
798
+ readonly minLength: 64;
799
+ readonly pattern: "^[A-Za-z0-9]+$";
800
+ readonly description: "Hetzner Cloud API token with read / write access (64 alphanumeric characters). Omit this field to keep the existing value.";
774
801
  };
775
802
  };
803
+ readonly required: readonly ["enabled"];
776
804
  readonly additionalProperties: false;
777
805
  };
778
806
  readonly aws: {
@@ -780,14 +808,15 @@ export declare const FleetUpdateInputSchema: {
780
808
  readonly properties: {
781
809
  readonly enabled: {
782
810
  readonly type: "boolean";
783
- readonly default: true;
784
811
  };
785
812
  readonly controllerRoleArn: {
786
813
  readonly type: "string";
787
- readonly description: "ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.";
814
+ readonly pattern: "^arn:aws(-[a-z]+)*:iam::\\d{12}:role\\/[\\w+=,.@/-]+$";
815
+ readonly description: "AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.";
816
+ readonly example: "arn:aws:iam::123456789012:role/Cloudfleet";
788
817
  };
789
818
  };
790
- readonly required: readonly ["controllerRoleArn"];
819
+ readonly required: readonly ["enabled"];
791
820
  readonly additionalProperties: false;
792
821
  };
793
822
  readonly constraints: {
@@ -799,6 +828,7 @@ export declare const FleetUpdateInputSchema: {
799
828
  readonly type: "string";
800
829
  readonly enum: readonly ["on-demand", "spot"];
801
830
  };
831
+ readonly minItems: 1;
802
832
  readonly description: "Allowed values for `karpenter.sh/capacity-type`.";
803
833
  };
804
834
  readonly 'kubernetes.io/arch': {
@@ -807,6 +837,7 @@ export declare const FleetUpdateInputSchema: {
807
837
  readonly type: "string";
808
838
  readonly enum: readonly ["amd64", "arm64"];
809
839
  };
840
+ readonly minItems: 1;
810
841
  readonly description: "Allowed values for `kubernetes.io/arch`.";
811
842
  };
812
843
  readonly 'cfke.io/instance-family': {
@@ -836,6 +867,7 @@ export declare const FleetUpdateInputSchema: {
836
867
  readonly enum: readonly ["aggressive", "conservative"];
837
868
  };
838
869
  };
870
+ readonly required: readonly ["scalingProfile"];
839
871
  readonly additionalProperties: false;
840
872
  };
841
873
  export declare const InviteSchema: {
@@ -1066,6 +1098,12 @@ export declare const MarketplaceListingSchema: {
1066
1098
  export declare const OrganizationCreateInputSchema: {
1067
1099
  readonly type: "object";
1068
1100
  readonly properties: {
1101
+ readonly type: {
1102
+ readonly type: "string";
1103
+ readonly description: "Type of the organization. `business` for legal entities, `personal` for individuals.";
1104
+ readonly example: "business";
1105
+ readonly enum: readonly ["business", "personal"];
1106
+ };
1069
1107
  readonly email: {
1070
1108
  readonly type: "string";
1071
1109
  readonly format: "email";
@@ -1074,11 +1112,13 @@ export declare const OrganizationCreateInputSchema: {
1074
1112
  };
1075
1113
  readonly first_name: {
1076
1114
  readonly type: "string";
1115
+ readonly minLength: 1;
1077
1116
  readonly description: "First name of the billing contact person.";
1078
1117
  readonly example: "John";
1079
1118
  };
1080
1119
  readonly last_name: {
1081
1120
  readonly type: "string";
1121
+ readonly minLength: 1;
1082
1122
  readonly description: "Last name of the billing contact person.";
1083
1123
  readonly example: "Doe";
1084
1124
  };
@@ -1096,7 +1136,19 @@ export declare const OrganizationCreateInputSchema: {
1096
1136
  readonly description: "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.";
1097
1137
  };
1098
1138
  };
1099
- readonly required: readonly ["email", "first_name", "last_name", "company_name", "password"];
1139
+ readonly required: readonly ["type", "email", "first_name", "last_name", "company_name", "password"];
1140
+ readonly additionalProperties: false;
1141
+ };
1142
+ export declare const OrganizationCreateOutputSchema: {
1143
+ readonly type: "object";
1144
+ readonly properties: {
1145
+ readonly id: {
1146
+ readonly type: "string";
1147
+ readonly description: "Unique identifier of the newly created organization. Generated by the API and safe to use for client-side tracking immediately.";
1148
+ readonly example: "organization-id";
1149
+ };
1150
+ };
1151
+ readonly required: readonly ["id"];
1100
1152
  readonly additionalProperties: false;
1101
1153
  };
1102
1154
  export declare const OrganizationSchema: {
@@ -1115,6 +1167,12 @@ export declare const OrganizationSchema: {
1115
1167
  readonly description: "Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.";
1116
1168
  readonly example: "ACME Corp.";
1117
1169
  };
1170
+ readonly type: {
1171
+ readonly type: "string";
1172
+ readonly description: "Type of the organization. `business` for legal entities, `personal` for individuals.";
1173
+ readonly example: "business";
1174
+ readonly enum: readonly ["business", "personal"];
1175
+ };
1118
1176
  readonly date_created: {
1119
1177
  readonly type: "string";
1120
1178
  readonly format: "date-time";
@@ -1208,8 +1266,14 @@ export declare const OrganizationSchema: {
1208
1266
  readonly description: "Status of the organization. Can be `active` or `closed`, or `suspended`.";
1209
1267
  readonly enum: readonly ["active", "closed", "suspended"];
1210
1268
  };
1269
+ readonly verification: {
1270
+ readonly type: "string";
1271
+ readonly description: "Verification status of the organization, which determines the assigned quota. `none` when billing information is incomplete, `submitted` when billing information is complete but the organization is not yet verified, `verified` when the organization is verified.";
1272
+ readonly example: "verified";
1273
+ readonly enum: readonly ["none", "submitted", "verified"];
1274
+ };
1211
1275
  };
1212
- readonly required: readonly ["id", "date_created", "quota", "status"];
1276
+ readonly required: readonly ["id", "type", "date_created", "quota", "status", "verification"];
1213
1277
  readonly additionalProperties: false;
1214
1278
  };
1215
1279
  export declare const PaymentMethodSchema: {
@@ -1217,26 +1281,19 @@ export declare const PaymentMethodSchema: {
1217
1281
  readonly properties: {
1218
1282
  readonly id: {
1219
1283
  readonly type: "string";
1220
- readonly format: "uuid";
1221
- readonly description: "Unique identifier of the organization. UUID v4 string in canonical form.";
1222
- readonly example: "e94d30ec-a2dd-4dcb-832c-ac2be144ba91";
1223
- };
1224
- readonly setup: {
1225
- readonly type: "boolean";
1226
- readonly description: "Whether organization payment method was set up and ready to use for payments.";
1227
- readonly example: true;
1284
+ readonly description: "Payment method identifier. Stripe payment method id for cards/SEPA; the constant `bank_transfer` for the invoice/bank-transfer method. Used to set as default or delete the payment method.";
1285
+ readonly example: "pm_1MtwBwLkdIwHu7ix28a3tqPa";
1228
1286
  };
1229
1287
  readonly type: {
1230
1288
  readonly type: "string";
1231
- readonly nullable: true;
1232
- readonly description: "Payment method type type. Only `card` payments supported at the moment.";
1289
+ readonly description: "Payment method type. `card`, `sepa_debit` for SEPA Direct Debit (business accounts only), or `bank_transfer` for paying invoices by bank transfer.";
1233
1290
  readonly example: "card";
1234
- readonly enum: readonly ["card"];
1291
+ readonly enum: readonly ["card", "sepa_debit", "bank_transfer"];
1235
1292
  };
1236
1293
  readonly last4: {
1237
1294
  readonly type: "string";
1238
1295
  readonly nullable: true;
1239
- readonly description: "Last 4 digits of the payment card number.";
1296
+ readonly description: "Last 4 digits of the payment card number, of the bank account (IBAN) for SEPA Direct Debit, or of the destination IBAN for bank transfer.";
1240
1297
  readonly example: "4242";
1241
1298
  };
1242
1299
  readonly exp_month: {
@@ -1244,25 +1301,46 @@ export declare const PaymentMethodSchema: {
1244
1301
  readonly minimum: 1;
1245
1302
  readonly maximum: 12;
1246
1303
  readonly nullable: true;
1247
- readonly description: "Two-digit number representing the card's expiration month.";
1248
- readonly example: "12";
1304
+ readonly description: "Two-digit number representing the card's expiration month. Null for SEPA Direct Debit and bank transfer.";
1305
+ readonly example: 12;
1249
1306
  };
1250
1307
  readonly exp_year: {
1251
1308
  readonly type: "integer";
1252
- readonly minimum: 2024;
1253
1309
  readonly nullable: true;
1254
- readonly description: "Four-digit number representing the card's expiration year.";
1255
- readonly example: "2028";
1310
+ readonly description: "Four-digit number representing the card's expiration year. May be in the past for an expired card still on file. Null for SEPA Direct Debit and bank transfer.";
1311
+ readonly example: 2028;
1256
1312
  };
1257
1313
  readonly brand: {
1258
1314
  readonly type: "string";
1259
1315
  readonly nullable: true;
1260
- readonly description: "Payment card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `mastercard`, `unionpay`, `visa`, or `unknown`.";
1316
+ readonly description: "Payment card brand as reported by Stripe, e.g. `visa`, `mastercard`, `amex`, `cartes_bancaires`, or `unknown`. Null for SEPA Direct Debit and bank transfer.";
1261
1317
  readonly example: "visa";
1262
- readonly enum: readonly ["amex", "diners", "discover", "eftpos_au", "jcb", "mastercard", "unionpay", "visa", "unknown"];
1318
+ };
1319
+ readonly iban: {
1320
+ readonly type: "string";
1321
+ readonly nullable: true;
1322
+ readonly description: "Full destination IBAN to send bank transfers to. Set only for `bank_transfer`; null otherwise. This is Cloudfleet's virtual receiving account, shown in full so the customer can pay into it.";
1323
+ readonly example: "DE11243015658023127510";
1324
+ };
1325
+ readonly bic: {
1326
+ readonly type: "string";
1327
+ readonly nullable: true;
1328
+ readonly description: "BIC/SWIFT of the destination bank for bank transfers. Set only for `bank_transfer`; null otherwise.";
1329
+ readonly example: "SOGEDEFFXXX";
1330
+ };
1331
+ readonly account_holder_name: {
1332
+ readonly type: "string";
1333
+ readonly nullable: true;
1334
+ readonly description: "Account holder name of the destination bank account for bank transfers. Set only for `bank_transfer`; null otherwise.";
1335
+ readonly example: "Cloudfleet GmbH";
1336
+ };
1337
+ readonly is_default: {
1338
+ readonly type: "boolean";
1339
+ readonly description: "Whether this payment method is the default used for invoices and active subscriptions. Always false for `bank_transfer` (it cannot be a Stripe default payment method).";
1340
+ readonly example: true;
1263
1341
  };
1264
1342
  };
1265
- readonly required: readonly ["id", "setup", "type", "last4", "exp_month", "exp_year", "brand"];
1343
+ readonly required: readonly ["id", "type", "last4", "exp_month", "exp_year", "brand", "iban", "bic", "account_holder_name", "is_default"];
1266
1344
  readonly additionalProperties: false;
1267
1345
  };
1268
1346
  export declare const PlatformQuotaSchema: {
@@ -1 +1 @@
1
- {"version":3,"file":"schemas.gen.d.ts","sourceRoot":"","sources":["../src/schemas.gen.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoNvB,CAAC;AAEX,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2DvB,CAAC;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