@@ -981,36 +981,8 @@ declare module 'stripe' {
981981 }
982982
983983 namespace BusinessProfile {
984- interface SupportAddress {
985- /**
986- * City, district, suburb, town, or village.
987- */
988- city ?: string ;
989-
990- /**
991- * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
992- */
993- country ?: string ;
994-
995- /**
996- * Address line 1 (e.g., street, PO Box, or company name).
997- */
984+ interface SupportAddress extends Omit < Stripe . AddressParam , 'line1' > {
998985 line1 ?: string ;
999-
1000- /**
1001- * Address line 2 (e.g., apartment, suite, unit, or building).
1002- */
1003- line2 ?: string ;
1004-
1005- /**
1006- * ZIP or postal code.
1007- */
1008- postal_code ?: string ;
1009-
1010- /**
1011- * State, county, province, or region.
1012- */
1013- state ?: string ;
1014986 }
1015987 }
1016988
@@ -1383,36 +1355,8 @@ declare module 'stripe' {
13831355 }
13841356
13851357 namespace Company {
1386- interface Address {
1387- /**
1388- * City, district, suburb, town, or village.
1389- */
1390- city ?: string ;
1391-
1392- /**
1393- * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1394- */
1395- country ?: string ;
1396-
1397- /**
1398- * Address line 1 (e.g., street, PO Box, or company name).
1399- */
1358+ interface Address extends Omit < Stripe . AddressParam , 'line1' > {
14001359 line1 ?: string ;
1401-
1402- /**
1403- * Address line 2 (e.g., apartment, suite, unit, or building).
1404- */
1405- line2 ?: string ;
1406-
1407- /**
1408- * ZIP or postal code.
1409- */
1410- postal_code ?: string ;
1411-
1412- /**
1413- * State, county, province, or region.
1414- */
1415- state ?: string ;
14161360 }
14171361
14181362 type Structure =
@@ -1670,36 +1614,8 @@ declare module 'stripe' {
16701614 }
16711615
16721616 namespace Individual {
1673- interface Address {
1674- /**
1675- * City, district, suburb, town, or village.
1676- */
1677- city ?: string ;
1678-
1679- /**
1680- * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1681- */
1682- country ?: string ;
1683-
1684- /**
1685- * Address line 1 (e.g., street, PO Box, or company name).
1686- */
1617+ interface Address extends Omit < Stripe . AddressParam , 'line1' > {
16871618 line1 ?: string ;
1688-
1689- /**
1690- * Address line 2 (e.g., apartment, suite, unit, or building).
1691- */
1692- line2 ?: string ;
1693-
1694- /**
1695- * ZIP or postal code.
1696- */
1697- postal_code ?: string ;
1698-
1699- /**
1700- * State, county, province, or region.
1701- */
1702- state ?: string ;
17031619 }
17041620
17051621 interface Dob {
@@ -1966,13 +1882,6 @@ declare module 'stripe' {
19661882 expand ?: Array < string > ;
19671883 }
19681884
1969- interface AccountRetrieveParams {
1970- /**
1971- * Specifies which fields in the response should be expanded.
1972- */
1973- expand ?: Array < string > ;
1974- }
1975-
19761885 interface AccountUpdateParams {
19771886 /**
19781887 * An [account token](https://stripe.com/docs/api#create_account_token), used to securely provide details to the account.
@@ -2091,36 +2000,8 @@ declare module 'stripe' {
20912000 }
20922001
20932002 namespace BusinessProfile {
2094- interface SupportAddress {
2095- /**
2096- * City, district, suburb, town, or village.
2097- */
2098- city ?: string ;
2099-
2100- /**
2101- * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
2102- */
2103- country ?: string ;
2104-
2105- /**
2106- * Address line 1 (e.g., street, PO Box, or company name).
2107- */
2003+ interface SupportAddress extends Omit < Stripe . AddressParam , 'line1' > {
21082004 line1 ?: string ;
2109-
2110- /**
2111- * Address line 2 (e.g., apartment, suite, unit, or building).
2112- */
2113- line2 ?: string ;
2114-
2115- /**
2116- * ZIP or postal code.
2117- */
2118- postal_code ?: string ;
2119-
2120- /**
2121- * State, county, province, or region.
2122- */
2123- state ?: string ;
21242005 }
21252006 }
21262007
@@ -2493,36 +2374,8 @@ declare module 'stripe' {
24932374 }
24942375
24952376 namespace Company {
2496- interface Address {
2497- /**
2498- * City, district, suburb, town, or village.
2499- */
2500- city ?: string ;
2501-
2502- /**
2503- * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
2504- */
2505- country ?: string ;
2506-
2507- /**
2508- * Address line 1 (e.g., street, PO Box, or company name).
2509- */
2377+ interface Address extends Omit < Stripe . AddressParam , 'line1' > {
25102378 line1 ?: string ;
2511-
2512- /**
2513- * Address line 2 (e.g., apartment, suite, unit, or building).
2514- */
2515- line2 ?: string ;
2516-
2517- /**
2518- * ZIP or postal code.
2519- */
2520- postal_code ?: string ;
2521-
2522- /**
2523- * State, county, province, or region.
2524- */
2525- state ?: string ;
25262379 }
25272380
25282381 type Structure =
@@ -2743,36 +2596,8 @@ declare module 'stripe' {
27432596 }
27442597
27452598 namespace Individual {
2746- interface Address {
2747- /**
2748- * City, district, suburb, town, or village.
2749- */
2750- city ?: string ;
2751-
2752- /**
2753- * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
2754- */
2755- country ?: string ;
2756-
2757- /**
2758- * Address line 1 (e.g., street, PO Box, or company name).
2759- */
2599+ interface Address extends Omit < Stripe . AddressParam , 'line1' > {
27602600 line1 ?: string ;
2761-
2762- /**
2763- * Address line 2 (e.g., apartment, suite, unit, or building).
2764- */
2765- line2 ?: string ;
2766-
2767- /**
2768- * ZIP or postal code.
2769- */
2770- postal_code ?: string ;
2771-
2772- /**
2773- * State, county, province, or region.
2774- */
2775- state ?: string ;
27762601 }
27772602
27782603 interface Dob {
0 commit comments