Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update generated code for beta #2206

Merged
merged 20 commits into from
Oct 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
7a2e872
Update signature verification docs link (#2208)
helenye-stripe Oct 14, 2024
8fc579c
Merge upstream and update generated code for v1295
stripe-openapi[bot] Oct 15, 2024
ebe8829
Update generated code for v1296
stripe-openapi[bot] Oct 15, 2024
0434ac2
Update generated code for v1297
stripe-openapi[bot] Oct 15, 2024
5e399d6
Update generated code for v1298
stripe-openapi[bot] Oct 15, 2024
2b10f6c
Update generated code for v1299
stripe-openapi[bot] Oct 15, 2024
a5e74f9
Update generated code for v1300
stripe-openapi[bot] Oct 16, 2024
35f43db
Update generated code for v1302
stripe-openapi[bot] Oct 16, 2024
e372548
Update generated code for v1303
stripe-openapi[bot] Oct 16, 2024
0d19f0d
Update generated code for v1304
stripe-openapi[bot] Oct 16, 2024
cee30e5
Update generated code for v1306
stripe-openapi[bot] Oct 17, 2024
8573ce9
Update generated code for v1307
stripe-openapi[bot] Oct 17, 2024
8413e4e
Update generated code for v1309
stripe-openapi[bot] Oct 17, 2024
4b69ce5
Update generated code for v1310
stripe-openapi[bot] Oct 17, 2024
2e22113
Update generated code for v1311
stripe-openapi[bot] Oct 17, 2024
7d332f2
Update generated code for v1312
stripe-openapi[bot] Oct 17, 2024
91388e6
Update generated code for v1313
stripe-openapi[bot] Oct 17, 2024
9a7fe98
Update generated code for v1314
stripe-openapi[bot] Oct 18, 2024
d4a418a
update object tags for meter-related classes (#2210)
xavdid-stripe Oct 18, 2024
a9063e7
Merge upstream and update generated code for v1314
stripe-openapi[bot] Oct 18, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1278
v1314
2 changes: 1 addition & 1 deletion src/Webhooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@

const docsLocation =
'\nLearn more about webhook signing and explore webhook integration examples for various frameworks at ' +
'https://github.com/stripe/stripe-node#webhook-signing';
'https://docs.stripe.com/webhooks/signature';

const whitespaceMessage = secretContainsWhitespace
? '\n\nNote: The provided signing secret contains whitespace. This often indicates an extra newline or space is in the value'
Expand Down Expand Up @@ -442,7 +442,7 @@
if (!webhooksCryptoProviderInstance) {
webhooksCryptoProviderInstance = platformFunctions.createDefaultCryptoProvider();
}
return webhooksCryptoProviderInstance!;

Check warning on line 445 in src/Webhooks.ts

View workflow job for this annotation

GitHub Actions / Build

Forbidden non-null assertion
}

function prepareOptions(
Expand Down
2 changes: 1 addition & 1 deletion test/resources/generated_examples_test.spec.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions types/AccountSessionsResource.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ declare module 'stripe' {
namespace AccountManagement {
interface Features {
/**
* Disables Stripe user authentication for this embedded component. This feature can only be false for accounts where you're responsible for collecting updated information when requirements are due or change, like custom accounts. The default value for this feature is `false` when `external_account_collection` is enabled and true otherwise.
* Disables Stripe user authentication for this embedded component. This feature can only be false for accounts where you're responsible for collecting updated information when requirements are due or change, like custom accounts. The default value for this feature is `false` when `external_account_collection` is enabled and `true` otherwise.
*/
disable_stripe_user_authentication?: boolean;

Expand All @@ -181,7 +181,7 @@ declare module 'stripe' {
namespace AccountOnboarding {
interface Features {
/**
* Disables Stripe user authentication for this embedded component. This feature can only be false for accounts where you're responsible for collecting updated information when requirements are due or change, like custom accounts. The default value for this feature is `false` when `external_account_collection` is enabled and true otherwise.
* Disables Stripe user authentication for this embedded component. This feature can only be false for accounts where you're responsible for collecting updated information when requirements are due or change, like custom accounts. The default value for this feature is `false` when `external_account_collection` is enabled and `true` otherwise.
*/
disable_stripe_user_authentication?: boolean;

Expand Down Expand Up @@ -478,7 +478,7 @@ declare module 'stripe' {
namespace NotificationBanner {
interface Features {
/**
* Disables Stripe user authentication for this embedded component. This feature can only be false for accounts where you're responsible for collecting updated information when requirements are due or change, like custom accounts. The default value for this feature is `false` when `external_account_collection` is enabled and true otherwise.
* Disables Stripe user authentication for this embedded component. This feature can only be false for accounts where you're responsible for collecting updated information when requirements are due or change, like custom accounts. The default value for this feature is `false` when `external_account_collection` is enabled and `true` otherwise.
*/
disable_stripe_user_authentication?: boolean;

Expand Down
84 changes: 84 additions & 0 deletions types/Accounts.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,11 @@ declare module 'stripe' {
*/
afterpay_clearpay_payments?: Capabilities.AfterpayClearpayPayments;

/**
* The status of the Alma capability of the account, or whether the account can directly process Alma payments.
*/
alma_payments?: Capabilities.AlmaPayments;

/**
* The status of the AmazonPay capability of the account, or whether the account can directly process AmazonPay payments.
*/
Expand Down Expand Up @@ -309,6 +314,11 @@ declare module 'stripe' {
*/
giropay_payments?: Capabilities.GiropayPayments;

/**
* The status of the Gopay capability of the account, or whether the account can directly process Gopay payments.
*/
gopay_payments?: Capabilities.GopayPayments;

/**
* The status of the GrabPay payments capability of the account, or whether the account can directly process GrabPay charges.
*/
Expand All @@ -334,6 +344,11 @@ declare module 'stripe' {
*/
jp_bank_transfer_payments?: Capabilities.JpBankTransferPayments;

/**
* The status of the KakaoPay capability of the account, or whether the account can directly process KakaoPay payments.
*/
kakao_pay_payments?: Capabilities.KakaoPayPayments;

/**
* The status of the Klarna payments capability of the account, or whether the account can directly process Klarna charges.
*/
Expand All @@ -344,6 +359,11 @@ declare module 'stripe' {
*/
konbini_payments?: Capabilities.KonbiniPayments;

/**
* The status of the KrCard capability of the account, or whether the account can directly process KrCard payments.
*/
kr_card_payments?: Capabilities.KrCardPayments;

/**
* The status of the legacy payments capability of the account.
*/
Expand Down Expand Up @@ -374,6 +394,11 @@ declare module 'stripe' {
*/
mx_bank_transfer_payments?: Capabilities.MxBankTransferPayments;

/**
* The status of the NaverPay capability of the account, or whether the account can directly process NaverPay payments.
*/
naver_pay_payments?: Capabilities.NaverPayPayments;

/**
* The status of the OXXO payments capability of the account, or whether the account can directly process OXXO charges.
*/
Expand All @@ -384,6 +409,11 @@ declare module 'stripe' {
*/
p24_payments?: Capabilities.P24Payments;

/**
* The status of the Payco capability of the account, or whether the account can directly process Payco payments.
*/
payco_payments?: Capabilities.PaycoPayments;

/**
* The status of the paynow payments capability of the account, or whether the account can directly process paynow charges.
*/
Expand All @@ -404,6 +434,11 @@ declare module 'stripe' {
*/
promptpay_payments?: Capabilities.PromptpayPayments;

/**
* The status of the Qris capability of the account, or whether the account can directly process Qris payments.
*/
qris_payments?: Capabilities.QrisPayments;

/**
* The status of the Rechnung capability of the account, or whether the account can directly process Rechnung payments.
*/
Expand All @@ -414,6 +449,11 @@ declare module 'stripe' {
*/
revolut_pay_payments?: Capabilities.RevolutPayPayments;

/**
* The status of the SamsungPay capability of the account, or whether the account can directly process SamsungPay payments.
*/
samsung_pay_payments?: Capabilities.SamsungPayPayments;

/**
* The status of the SEPA customer_balance payments (EUR currency) capability of the account, or whether the account can directly process SEPA customer_balance charges.
*/
Expand All @@ -424,6 +464,11 @@ declare module 'stripe' {
*/
sepa_debit_payments?: Capabilities.SepaDebitPayments;

/**
* The status of the ShopeePay capability of the account, or whether the account can directly process ShopeePay payments.
*/
shopeepay_payments?: Capabilities.ShopeepayPayments;

/**
* The status of the Sofort payments capability of the account, or whether the account can directly process Sofort charges.
*/
Expand Down Expand Up @@ -454,6 +499,21 @@ declare module 'stripe' {
*/
treasury?: Capabilities.Treasury;

/**
* The status of the treasury_evolve capability of the account.
*/
treasury_evolve?: Capabilities.TreasuryEvolve;

/**
* The status of the treasury_fifth_third capability of the account.
*/
treasury_fifth_third?: Capabilities.TreasuryFifthThird;

/**
* The status of the treasury_goldman_sachs capability of the account.
*/
treasury_goldman_sachs?: Capabilities.TreasuryGoldmanSachs;

/**
* The status of the TWINT capability of the account, or whether the account can directly process TWINT charges.
*/
Expand Down Expand Up @@ -482,6 +542,8 @@ declare module 'stripe' {

type AfterpayClearpayPayments = 'active' | 'inactive' | 'pending';

type AlmaPayments = 'active' | 'inactive' | 'pending';

type AmazonPayPayments = 'active' | 'inactive' | 'pending';

type AuBecsDebitPayments = 'active' | 'inactive' | 'pending';
Expand Down Expand Up @@ -512,6 +574,8 @@ declare module 'stripe' {

type GiropayPayments = 'active' | 'inactive' | 'pending';

type GopayPayments = 'active' | 'inactive' | 'pending';

type GrabpayPayments = 'active' | 'inactive' | 'pending';

type IdealPayments = 'active' | 'inactive' | 'pending';
Expand All @@ -522,10 +586,14 @@ declare module 'stripe' {

type JpBankTransferPayments = 'active' | 'inactive' | 'pending';

type KakaoPayPayments = 'active' | 'inactive' | 'pending';

type KlarnaPayments = 'active' | 'inactive' | 'pending';

type KonbiniPayments = 'active' | 'inactive' | 'pending';

type KrCardPayments = 'active' | 'inactive' | 'pending';

type LegacyPayments = 'active' | 'inactive' | 'pending';

type LinkPayments = 'active' | 'inactive' | 'pending';
Expand All @@ -538,10 +606,14 @@ declare module 'stripe' {

type MxBankTransferPayments = 'active' | 'inactive' | 'pending';

type NaverPayPayments = 'active' | 'inactive' | 'pending';

type OxxoPayments = 'active' | 'inactive' | 'pending';

type P24Payments = 'active' | 'inactive' | 'pending';

type PaycoPayments = 'active' | 'inactive' | 'pending';

type PaynowPayments = 'active' | 'inactive' | 'pending';

type PaypalPayments = 'active' | 'inactive' | 'pending';
Expand All @@ -550,14 +622,20 @@ declare module 'stripe' {

type PromptpayPayments = 'active' | 'inactive' | 'pending';

type QrisPayments = 'active' | 'inactive' | 'pending';

type RechnungPayments = 'active' | 'inactive' | 'pending';

type RevolutPayPayments = 'active' | 'inactive' | 'pending';

type SamsungPayPayments = 'active' | 'inactive' | 'pending';

type SepaBankTransferPayments = 'active' | 'inactive' | 'pending';

type SepaDebitPayments = 'active' | 'inactive' | 'pending';

type ShopeepayPayments = 'active' | 'inactive' | 'pending';

type SofortPayments = 'active' | 'inactive' | 'pending';

type SwishPayments = 'active' | 'inactive' | 'pending';
Expand All @@ -570,6 +648,12 @@ declare module 'stripe' {

type Treasury = 'active' | 'inactive' | 'pending';

type TreasuryEvolve = 'active' | 'inactive' | 'pending';

type TreasuryFifthThird = 'active' | 'inactive' | 'pending';

type TreasuryGoldmanSachs = 'active' | 'inactive' | 'pending';

type TwintPayments = 'active' | 'inactive' | 'pending';

type UsBankAccountAchPayments = 'active' | 'inactive' | 'pending';
Expand Down
Loading
Loading