/
home
/
techb158
/
balavpn.abdallabala.com
/
node_modules
/
stripe
/
types
/
/home/techb158/balavpn.abdallabala.com/node_modules/stripe/types
mkdir
upload
Name
Size
Mode
Actions
Apps/
-
0777
rm
Billing/
-
0777
rm
BillingPortal/
-
0777
rm
Checkout/
-
0777
rm
Climate/
-
0777
rm
crypto/
-
0777
rm
Entitlements/
-
0777
rm
FinancialConnections/
-
0777
rm
Forwarding/
-
0777
rm
Identity/
-
0777
rm
Issuing/
-
0777
rm
net/
-
0777
rm
Radar/
-
0777
rm
Reporting/
-
0777
rm
Sigma/
-
0777
rm
Tax/
-
0777
rm
Terminal/
-
0777
rm
test/
-
0777
rm
TestHelpers/
-
0777
rm
Treasury/
-
0777
rm
V2/
-
0777
rm
.eslintrc.js
620
0666
edit
dl
rm
AccountLinks.d.ts
893
0666
edit
dl
rm
AccountLinksResource.d.ts
2898
0666
edit
dl
rm
Accounts.d.ts
63448
0666
edit
dl
rm
AccountSessions.d.ts
17282
0666
edit
dl
rm
AccountSessionsResource.d.ts
19316
0666
edit
dl
rm
AccountsResource.d.ts
181754
0666
edit
dl
rm
ApplePayDomains.d.ts
1241
0666
edit
dl
rm
ApplePayDomainsResource.d.ts
1962
0666
edit
dl
rm
ApplicationFees.d.ts
3040
0666
edit
dl
rm
ApplicationFeesResource.d.ts
6115
0666
edit
dl
rm
Applications.d.ts
1064
0666
edit
dl
rm
Balance.d.ts
8675
0666
edit
dl
rm
BalanceResource.d.ts
817
0666
edit
dl
rm
BalanceTransactions.d.ts
6553
0666
edit
dl
rm
BalanceTransactionSources.d.ts
499
0666
edit
dl
rm
BalanceTransactionsResource.d.ts
3247
0666
edit
dl
rm
BankAccounts.d.ts
18753
0666
edit
dl
rm
Capabilities.d.ts
17891
0666
edit
dl
rm
Cards.d.ts
8674
0666
edit
dl
rm
CashBalances.d.ts
1711
0666
edit
dl
rm
Charges.d.ts
81258
0666
edit
dl
rm
ChargesResource.d.ts
19232
0666
edit
dl
rm
ConfirmationTokens.d.ts
54015
0666
edit
dl
rm
ConfirmationTokensResource.d.ts
698
0666
edit
dl
rm
ConnectCollectionTransfers.d.ts
1063
0666
edit
dl
rm
CountrySpecs.d.ts
2759
0666
edit
dl
rm
CountrySpecsResource.d.ts
1145
0666
edit
dl
rm
Coupons.d.ts
4525
0666
edit
dl
rm
CouponsResource.d.ts
7997
0666
edit
dl
rm
CreditNoteLineItems.d.ts
5515
0666
edit
dl
rm
CreditNotes.d.ts
10417
0666
edit
dl
rm
CreditNotesResource.d.ts
21683
0666
edit
dl
rm
CustomerBalanceTransactions.d.ts
3534
0666
edit
dl
rm
CustomerCashBalanceTransactions.d.ts
7655
0666
edit
dl
rm
Customers.d.ts
10312
0666
edit
dl
rm
CustomerSessions.d.ts
6659
0666
edit
dl
rm
CustomerSessionsResource.d.ts
5543
0666
edit
dl
rm
CustomerSources.d.ts
227
0666
edit
dl
rm
CustomersResource.d.ts
49272
0666
edit
dl
rm
Deprecations.d.ts
6759
0666
edit
dl
rm
Discounts.d.ts
5697
0666
edit
dl
rm
Disputes.d.ts
18934
0666
edit
dl
rm
DisputesResource.d.ts
15462
0666
edit
dl
rm
EphemeralKeys.d.ts
975
0666
edit
dl
rm
EphemeralKeysResource.d.ts
1793
0666
edit
dl
rm
Errors.d.ts
9706
0666
edit
dl
rm
Events.d.ts
14107
0666
edit
dl
rm
EventsResource.d.ts
2309
0666
edit
dl
rm
EventTypes.d.ts
120304
0666
edit
dl
rm
ExchangeRates.d.ts
2348
0666
edit
dl
rm
ExchangeRatesResource.d.ts
1294
0666
edit
dl
rm
ExternalAccounts.d.ts
210
0666
edit
dl
rm
FeeRefunds.d.ts
1730
0666
edit
dl
rm
FileLinks.d.ts
1529
0666
edit
dl
rm
FileLinksResource.d.ts
3788
0666
edit
dl
rm
Files.d.ts
2560
0666
edit
dl
rm
FilesResource.d.ts
4886
0666
edit
dl
rm
FundingInstructions.d.ts
7588
0666
edit
dl
rm
index.d.ts
26330
0666
edit
dl
rm
InvoiceItems.d.ts
5720
0666
edit
dl
rm
InvoiceItemsResource.d.ts
16679
0666
edit
dl
rm
InvoiceLineItems.d.ts
8170
0666
edit
dl
rm
InvoiceRenderingTemplates.d.ts
1735
0666
edit
dl
rm
InvoiceRenderingTemplatesResource.d.ts
3109
0666
edit
dl
rm
Invoices.d.ts
59291
0666
edit
dl
rm
InvoicesResource.d.ts
272335
0666
edit
dl
rm
lib.d.ts
9208
0666
edit
dl
rm
LineItems.d.ts
3747
0666
edit
dl
rm
LoginLinks.d.ts
805
0666
edit
dl
rm
Mandates.d.ts
6963
0666
edit
dl
rm
MandatesResource.d.ts
629
0666
edit
dl
rm
OAuth.d.ts
13056
0666
edit
dl
rm
PaymentIntents.d.ts
126400
0666
edit
dl
rm
PaymentIntentsResource.d.ts
425657
0666
edit
dl
rm
PaymentLinks.d.ts
26988
0666
edit
dl
rm
PaymentLinksResource.d.ts
61599
0666
edit
dl
rm
PaymentMethodConfigurations.d.ts
46290
0666
edit
dl
rm
PaymentMethodConfigurationsResource.d.ts
82027
0666
edit
dl
rm
PaymentMethodDomains.d.ts
5253
0666
edit
dl
rm
PaymentMethodDomainsResource.d.ts
4080
0666
edit
dl
rm
PaymentMethods.d.ts
48133
0666
edit
dl
rm
PaymentMethodsResource.d.ts
31934
0666
edit
dl
rm
Payouts.d.ts
6830
0666
edit
dl
rm
PayoutsResource.d.ts
8033
0666
edit
dl
rm
Persons.d.ts
28323
0666
edit
dl
rm
Plans.d.ts
7540
0666
edit
dl
rm
PlansResource.d.ts
11964
0666
edit
dl
rm
Prices.d.ts
12348
0666
edit
dl
rm
PricesResource.d.ts
23771
0666
edit
dl
rm
ProductFeatures.d.ts
1595
0666
edit
dl
rm
Products.d.ts
5225
0666
edit
dl
rm
ProductsResource.d.ts
22445
0666
edit
dl
rm
PromotionCodes.d.ts
4009
0666
edit
dl
rm
PromotionCodesResource.d.ts
7472
0666
edit
dl
rm
Quotes.d.ts
22541
0666
edit
dl
rm
QuotesResource.d.ts
32380
0666
edit
dl
rm
Refunds.d.ts
12150
0666
edit
dl
rm
RefundsResource.d.ts
6972
0666
edit
dl
rm
ReserveTransactions.d.ts
812
0666
edit
dl
rm
Reviews.d.ts
3939
0666
edit
dl
rm
ReviewsResource.d.ts
1895
0666
edit
dl
rm
SetupAttempts.d.ts
30914
0666
edit
dl
rm
SetupAttemptsResource.d.ts
972
0666
edit
dl
rm
SetupIntents.d.ts
35147
0666
edit
dl
rm
SetupIntentsResource.d.ts
130075
0666
edit
dl
rm
shared.d.ts
4263
0666
edit
dl
rm
ShippingRates.d.ts
4744
0666
edit
dl
rm
ShippingRatesResource.d.ts
8383
0666
edit
dl
rm
SourceMandateNotifications.d.ts
3491
0666
edit
dl
rm
Sources.d.ts
20443
0666
edit
dl
rm
SourcesResource.d.ts
19833
0666
edit
dl
rm
SourceTransactions.d.ts
5248
0666
edit
dl
rm
SubscriptionItems.d.ts
4653
0666
edit
dl
rm
SubscriptionItemsResource.d.ts
23230
0666
edit
dl
rm
Subscriptions.d.ts
30567
0666
edit
dl
rm
SubscriptionSchedules.d.ts
23402
0666
edit
dl
rm
SubscriptionSchedulesResource.d.ts
61127
0666
edit
dl
rm
SubscriptionsResource.d.ts
88064
0666
edit
dl
rm
TaxCodes.d.ts
685
0666
edit
dl
rm
TaxCodesResource.d.ts
1291
0666
edit
dl
rm
TaxDeductedAtSources.d.ts
886
0666
edit
dl
rm
TaxIds.d.ts
6322
0666
edit
dl
rm
TaxIdsResource.d.ts
6265
0666
edit
dl
rm
TaxRates.d.ts
5056
0666
edit
dl
rm
TaxRatesResource.d.ts
6537
0666
edit
dl
rm
ThinEvent.d.ts
847
0666
edit
dl
rm
Tokens.d.ts
3363
0666
edit
dl
rm
TokensResource.d.ts
34353
0666
edit
dl
rm
Topups.d.ts
3284
0666
edit
dl
rm
TopupsResource.d.ts
5249
0666
edit
dl
rm
TransferReversals.d.ts
2543
0666
edit
dl
rm
Transfers.d.ts
3676
0666
edit
dl
rm
TransfersResource.d.ts
10601
0666
edit
dl
rm
UpcomingInvoices.d.ts
108
0666
edit
dl
rm
UsageRecords.d.ts
1261
0666
edit
dl
rm
UsageRecordSummaries.d.ts
1474
0666
edit
dl
rm
WebhookEndpoints.d.ts
2865
0666
edit
dl
rm
WebhookEndpointsResource.d.ts
26655
0666
edit
dl
rm
Webhooks.d.ts
4627
0666
edit
dl
rm
Edit:
/home/techb158/balavpn.abdallabala.com/node_modules/stripe/types/OAuth.d.ts
(13056B)
declare module 'stripe' { namespace Stripe { interface OAuthToken { /** * The access token you can use to make requests on behalf of this Stripe account. Use it as you would any Stripe secret API key. * This key does not expire, but may be revoked by the user at any time (you'll get a account.application.deauthorized webhook event when this happens). */ access_token?: string; /** * The scope granted to the access token, depending on the scope of the authorization code and scope parameter. */ scope?: string; /** * The live mode indicator for the token. If true, the access_token can be used as a live secret key. If false, the access_token can be used as a test secret key. * Depends on the mode of the secret API key used to make the request. */ livemode?: boolean; /** * Will always have a value of bearer. */ token_type?: 'bearer'; /** * Can be used to get a new access token of an equal or lesser scope, or of a different live mode (where applicable). */ refresh_token?: string; /** * The unique id of the account you have been granted access to, as a string. */ stripe_user_id?: string; /** * A publishable key that can be used with this account. Matches the mode—live or test—of the token. */ stripe_publishable_key?: string; } interface OAuthDeauthorization { /** * The unique id of the account you have revoked access to, as a string. * This is the same as the stripe_user_id you passed in. * If this is returned, the revocation was successful. */ stripe_user_id: string; } interface OAuthAuthorizeUrlParams { /** * The unique identifier provided to your application, found in your application settings. */ client_id: string; /** * The only option at the moment is `'code'`. */ response_type: 'code'; /** * The URL for the authorize response redirect. If provided, this must exactly match one of the comma-separated redirect_uri values in your application settings. * To protect yourself from certain forms of man-in-the-middle attacks, the live mode redirect_uri must use a secure HTTPS connection. * Defaults to the redirect_uri in your application settings if not provided. */ redirect_uri?: string; /** * read_write or read_only, depending on the level of access you need. * * Defaults to read_only. */ scope?: string; /** * An arbitrary string value we will pass back to you, useful for CSRF protection. */ state?: string; /** * login or register, depending on what type of screen you want your users to see. Only override this to be login if you expect all your users to have Stripe accounts already (e.g., most read-only applications, like analytics dashboards or accounting software). * Defaults to login for scope read_only and register for scope read_write. */ stripe_landing?: string; /** * Boolean to indicate that the user should always be asked to connect, even if they're already connected. * Defaults to false. */ always_prompt?: boolean; /** * Express only * An array of capabilities to apply to the connected account. */ suggested_capabilities?: Array<string>; /** * Stripe will use these to prefill details in the account form for new users. * Some prefilled fields (e.g., URL or product category) may be automatically hidden from the user's view. * Any parameters with invalid values will be silently ignored. */ stripe_user?: OAuthAuthorizeUrlParams.StripeUser; } namespace OAuthAuthorizeUrlParams { interface StripeUser { /** * Recommended * The user's email address. Must be a valid email format. */ email?: string; /** * Recommended * The URL for the user's business. This may be the user's website, a profile page within your application, or another publicly available profile for the business, such as a LinkedIn or Facebook profile. * Must be URL-encoded and include a scheme (http or https). * If you will be prefilling this field, we highly recommend that the linked page contain a description of the user's products or services and their contact information. If we don't have enough information, we'll have to reach out to the user directly before initiating payouts. */ url?: string; /** * Two-letter country code (e.g., US or CA). * Must be a country that Stripe currently supports. */ country?: string; /** * The business phone number. Must be 10 digits only. * Must also prefill stripe_user[country] with the corresponding country. */ phone_number?: string; /** * The legal name of the business, also used for the statement descriptor. */ business_name?: string; /** * The type of the business. * Must be one of sole_prop, corporation, non_profit, partnership, or llc. */ business_type?: string; /** * First name of the person who will be filling out a Stripe application. */ first_name?: string; /** * Last name of the person who will be filling out a Stripe application. */ last_name?: string; /** * Day (0-31), month (1-12), and year (YYYY, greater than 1900) for the birth date of the person who will be filling out a Stripe application. * If you choose to pass these parameters, you must pass all three. */ dob_day?: string; /** * Day (0-31), month (1-12), and year (YYYY, greater than 1900) for the birth date of the person who will be filling out a Stripe application. * If you choose to pass these parameters, you must pass all three. */ dob_month?: string; /** * Day (0-31), month (1-12), and year (YYYY, greater than 1900) for the birth date of the person who will be filling out a Stripe application. * If you choose to pass these parameters, you must pass all three. */ dob_year?: string; /** * Standard only * Street address of the business. */ street_address?: string; /** * Standard only * Address city of the business. * We highly recommend that you also prefill stripe_user[country] with the corresponding country. */ city?: string; /** * Standard only * Address state of the business. Must be the two-letter state or province code (e.g., NY for a U.S. business or AB for a Canadian one). * Must also prefill stripe_user[country] with the corresponding country. */ state?: string; /** * Standard only * Address ZIP code of the business. Must be a string. * We highly recommend that you also prefill stripe_user[country] with the corresponding country. */ zip?: string; /** * Standard only * A string: true if the user sells a physical product, false otherwise. */ physical_product?: string; /** * A description of what the business is accepting payments for. */ product_description?: string; /** * Standard only * Three-letter ISO code representing currency, in lowercase (e.g., usd or cad). * Must be a valid country and currency combination that Stripe supports. * Must prefill stripe_user[country] with the corresponding country. */ currency?: string; /** * The Kana variation of the first name of the person who will be filling out a Stripe application. * Must prefill stripe_user[country] with JP, as this parameter is only relevant for Japan. */ first_name_kana?: string; /** * The Kanji variation of the first name of the person who will be filling out a Stripe application. * Must prefill stripe_user[country] with JP, as this parameter is only relevant for Japan. */ first_name_kanji?: string; /** * The Kana variation of the last name of the person who will be filling out a Stripe application. * Must prefill stripe_user[country] with JP, as this parameter is only relevant for Japan. */ last_name_kana?: string; /** * The Kanji variation of the last name of the person who will be filling out a Stripe application. * Must prefill stripe_user[country] with JP, as this parameter is only relevant for Japan. */ last_name_kanji?: string; /** * The gender of the person who will be filling out a Stripe application. (International regulations require either male or female.) * Must prefill stripe_user[country] with JP, as this parameter is only relevant for Japan. */ gender?: string; /** * Standard only * The Kana variation of the address block. * This parameter is only relevant for Japan. You must prefill stripe_user[country] with JP and stripe_user[zip] with a valid Japanese postal code to use this parameter. */ block_kana?: string; /** * Standard only * The Kanji variation of the address block. * This parameter is only relevant for Japan. You must prefill stripe_user[country] with JP and stripe_user[zip] with a valid Japanese postal code to use this parameter. */ block_kanji?: string; /** * Standard only * The Kana variation of the address building. * This parameter is only relevant for Japan. You must prefill stripe_user[country] with JP and stripe_user[zip] with a valid Japanese postal code to use this parameter. */ building_kana?: string; /** * Standard only * The Kanji variation of the address building. * This parameter is only relevant for Japan. You must prefill stripe_user[country] with JP and stripe_user[zip] with a valid Japanese postal code to use this parameter. */ building_kanji?: string; } } interface OAuthAuthorizeUrlOptions { express?: boolean; } interface OAuthDeauthorizeParams { /** * The client_id of the application that you'd like to disconnect the account from. * The account must be connected to this application. */ client_id: string; /** * The account you'd like to disconnect from. */ stripe_user_id: string; } interface OAuthTokenParams { /** * `'authorization_code'` when turning an authorization code into an access token, or `'refresh_token'` when using a refresh token to get a new access token. */ grant_type: 'authorization_code' | 'refresh_token'; /** * The value of the code or refresh_token, depending on the grant_type. */ code?: string; /** * The value of the code or refresh_token, depending on the grant_type. */ refresh_token?: string; /** * When requesting a new access token from a refresh token, any scope that has an equal or lesser scope as the refresh token. Has no effect when requesting an access token from an authorization code. * Defaults to the scope of the refresh token. */ scope?: string; /** * Express only * Check whether the suggested_capabilities were applied to the connected account. */ assert_capabilities?: Array<string>; } export class OAuthResource { /** * Get a URL to which you can send a user to complete the OAuth flow to authorize their account. * @docs https://stripe.com/docs/connect/oauth-reference#get-authorize */ authorizeUrl( params?: OAuthAuthorizeUrlParams, options?: OAuthAuthorizeUrlOptions ): string; /** * Used for revoking access to an account. * @docs https://stripe.com/docs/connect/oauth-reference#post-deauthorize */ deauthorize( params: OAuthDeauthorizeParams, options?: Stripe.RequestOptions ): Promise<OAuthDeauthorization>; /** * Turning an authorization_code into an access_token, or get a new access token using a refresh_token. * @docs https://stripe.com/docs/connect/oauth-reference#post-token */ token( params: OAuthTokenParams, options?: Stripe.RequestOptions ): Promise<OAuthToken>; } } }
Save
cmd:
run