@amos.com/node 0.1.74 → 0.1.75
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.
- package/dist/index.d.mts +8 -84
- package/dist/index.d.ts +8 -84
- package/dist/index.js +0 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +0 -4
- package/dist/index.mjs.map +1 -1
- package/openapi/schema.ts +7 -83
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -718,8 +718,7 @@ interface paths {
|
|
|
718
718
|
*/
|
|
719
719
|
get: operations["ListPaymentMethods"];
|
|
720
720
|
put?: never;
|
|
721
|
-
|
|
722
|
-
post: operations["CreatePaymentMethod"];
|
|
721
|
+
post?: never;
|
|
723
722
|
delete?: never;
|
|
724
723
|
options?: never;
|
|
725
724
|
head?: never;
|
|
@@ -1376,8 +1375,6 @@ interface components {
|
|
|
1376
1375
|
account_holder_type?: string;
|
|
1377
1376
|
account_type?: string;
|
|
1378
1377
|
bank_name?: string;
|
|
1379
|
-
/** @enum {string|null} */
|
|
1380
|
-
failure_reason?: "activation_failed" | "processing_error" | "vault_failed" | "insufficient_funds" | "verification_failed" | null;
|
|
1381
1378
|
fingerprint?: string | null;
|
|
1382
1379
|
last4?: string;
|
|
1383
1380
|
/** @description ABA routing number. A nine-digit value must pass the ABA checksum. */
|
|
@@ -1440,8 +1437,8 @@ interface components {
|
|
|
1440
1437
|
updated_at?: string;
|
|
1441
1438
|
};
|
|
1442
1439
|
CardProfileInput: {
|
|
1443
|
-
/** @description Cardholder name as stored on the card. 2-26 characters. Letters, numbers, spaces, periods, commas, apostrophes, hyphens, slashes, and ampersands. */
|
|
1444
|
-
card_holder_name?: string;
|
|
1440
|
+
/** @description Cardholder name as stored on the card. 2-26 characters when present. Letters, numbers, spaces, periods, commas, apostrophes, hyphens, slashes, and ampersands. */
|
|
1441
|
+
card_holder_name?: string | null;
|
|
1445
1442
|
cvc?: string;
|
|
1446
1443
|
encrypted_card_number?: string;
|
|
1447
1444
|
exp_month?: number;
|
|
@@ -1462,20 +1459,20 @@ interface components {
|
|
|
1462
1459
|
avs_check?: string;
|
|
1463
1460
|
avs_check_message?: string | null;
|
|
1464
1461
|
brand?: string;
|
|
1465
|
-
/** @description Cardholder name as stored on the card. 2-26 characters. Letters, numbers, spaces, periods, commas, apostrophes, hyphens, slashes, and ampersands. */
|
|
1466
|
-
card_holder_name?: string;
|
|
1462
|
+
/** @description Cardholder name as stored on the card. 2-26 characters when present. Letters, numbers, spaces, periods, commas, apostrophes, hyphens, slashes, and ampersands. */
|
|
1463
|
+
card_holder_name?: string | null;
|
|
1467
1464
|
cvc_check?: string;
|
|
1468
1465
|
cvc_check_message?: string | null;
|
|
1469
1466
|
exp_month?: number;
|
|
1470
1467
|
exp_year?: number;
|
|
1471
|
-
/** @enum {string|null} */
|
|
1472
|
-
failure_reason?: "authorization_failed" | "avs_blocked" | "brand_not_allowed" | "brand_not_found" | "cvc_blocked" | "processing_error" | "vault_failed" | null;
|
|
1473
1468
|
first6?: string;
|
|
1474
1469
|
funding?: string | null;
|
|
1475
1470
|
fingerprint?: string | null;
|
|
1476
1471
|
last4?: string;
|
|
1477
1472
|
state?: string;
|
|
1478
1473
|
three_d_secure_supported?: boolean | null;
|
|
1474
|
+
/** @description Legacy card token. Prefer vault_token for new integrations. */
|
|
1475
|
+
token?: string;
|
|
1479
1476
|
/**
|
|
1480
1477
|
* Format: uuid
|
|
1481
1478
|
* @description Vault UUID for this card. Used for charges and Vault callbacks.
|
|
@@ -2370,44 +2367,6 @@ interface components {
|
|
|
2370
2367
|
/** Format: date-time */
|
|
2371
2368
|
updated_at?: string;
|
|
2372
2369
|
};
|
|
2373
|
-
CreatePaymentMethodInput: {
|
|
2374
|
-
/** Format: uuid */
|
|
2375
|
-
customer_id?: string;
|
|
2376
|
-
metadata?: components["schemas"]["Metadata"];
|
|
2377
|
-
billing_address_attributes?: components["schemas"]["BillingAddressInput"];
|
|
2378
|
-
card_profile_attributes?: {
|
|
2379
|
-
brand?: string;
|
|
2380
|
-
/** @description Cardholder name as stored on the card. 2-26 characters. Letters, numbers, spaces, periods, commas, apostrophes, hyphens, slashes, and ampersands. */
|
|
2381
|
-
card_holder_name?: string;
|
|
2382
|
-
cvc?: string;
|
|
2383
|
-
encrypted_card_number?: string;
|
|
2384
|
-
exp_month?: number;
|
|
2385
|
-
exp_year?: number;
|
|
2386
|
-
first6?: string;
|
|
2387
|
-
last4?: string;
|
|
2388
|
-
pan_type?: string;
|
|
2389
|
-
token?: string;
|
|
2390
|
-
wallet_payload?: string;
|
|
2391
|
-
wallet_provider?: components["schemas"]["WalletProviderType"];
|
|
2392
|
-
};
|
|
2393
|
-
bank_account_profile_attributes?: {
|
|
2394
|
-
last4?: string;
|
|
2395
|
-
/** @description Account holder name. Letters, spaces, hyphens, apostrophes, and periods only. */
|
|
2396
|
-
account_holder_name?: string;
|
|
2397
|
-
account_holder_type?: string;
|
|
2398
|
-
account_type?: string;
|
|
2399
|
-
bank_name?: string;
|
|
2400
|
-
currency?: string;
|
|
2401
|
-
/** @description Bank account number. Stored encrypted at rest and not returned in API responses. */
|
|
2402
|
-
account_number?: string;
|
|
2403
|
-
token?: string;
|
|
2404
|
-
/** @description ABA routing number. A nine-digit value must pass the ABA checksum. */
|
|
2405
|
-
routing_number?: string;
|
|
2406
|
-
};
|
|
2407
|
-
};
|
|
2408
|
-
CreatePaymentMethodRequest: {
|
|
2409
|
-
payment_method: components["schemas"]["CreatePaymentMethodInput"];
|
|
2410
|
-
};
|
|
2411
2370
|
UpdateMerchantInput: {
|
|
2412
2371
|
active?: boolean;
|
|
2413
2372
|
business_category?: components["schemas"]["MerchantBusinessCategoryType"];
|
|
@@ -4789,39 +4748,6 @@ interface operations {
|
|
|
4789
4748
|
};
|
|
4790
4749
|
};
|
|
4791
4750
|
};
|
|
4792
|
-
CreatePaymentMethod: {
|
|
4793
|
-
parameters: {
|
|
4794
|
-
query?: never;
|
|
4795
|
-
header?: never;
|
|
4796
|
-
path?: never;
|
|
4797
|
-
cookie?: never;
|
|
4798
|
-
};
|
|
4799
|
-
requestBody: {
|
|
4800
|
-
content: {
|
|
4801
|
-
"application/json": components["schemas"]["CreatePaymentMethodRequest"];
|
|
4802
|
-
};
|
|
4803
|
-
};
|
|
4804
|
-
responses: {
|
|
4805
|
-
/** @description Payment method created successfully */
|
|
4806
|
-
201: {
|
|
4807
|
-
headers: {
|
|
4808
|
-
[name: string]: unknown;
|
|
4809
|
-
};
|
|
4810
|
-
content: {
|
|
4811
|
-
"application/json": components["schemas"]["PaymentMethod"];
|
|
4812
|
-
};
|
|
4813
|
-
};
|
|
4814
|
-
/** @description Unprocessable entity */
|
|
4815
|
-
422: {
|
|
4816
|
-
headers: {
|
|
4817
|
-
[name: string]: unknown;
|
|
4818
|
-
};
|
|
4819
|
-
content: {
|
|
4820
|
-
"application/json": components["schemas"]["Error"];
|
|
4821
|
-
};
|
|
4822
|
-
};
|
|
4823
|
-
};
|
|
4824
|
-
};
|
|
4825
4751
|
GetPaymentMethod: {
|
|
4826
4752
|
parameters: {
|
|
4827
4753
|
query?: never;
|
|
@@ -6184,8 +6110,6 @@ type ReadonlyArray<T> = [
|
|
|
6184
6110
|
] extends [
|
|
6185
6111
|
unknown[]
|
|
6186
6112
|
] ? Readonly<Exclude<T, undefined>> : Readonly<Exclude<T, undefined>[]>;
|
|
6187
|
-
declare const bankAccountProfileFailure_reasonValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["BankAccountProfile"]["failure_reason"]>;
|
|
6188
|
-
declare const cardProfileFailure_reasonValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["CardProfile"]["failure_reason"]>;
|
|
6189
6113
|
declare const chargeAllowed_reverse_actionValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["Charge"]["allowed_reverse_action"]>;
|
|
6190
6114
|
declare const chargeStateValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["Charge"]["state"]>;
|
|
6191
6115
|
declare const externalAccountTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["ExternalAccount"]["type"]>;
|
|
@@ -6268,4 +6192,4 @@ declare function createPayApiClient(options: ClientOptions): openapi_fetch.Clien
|
|
|
6268
6192
|
/** A configured Amos Pay API client returned by {@link createPayApiClient}. */
|
|
6269
6193
|
type PayApiClient = ReturnType<typeof createPayApiClient>;
|
|
6270
6194
|
|
|
6271
|
-
export { type $defs, AMOS_API_BASE_URL_PRODUCTION, AMOS_API_BASE_URL_SANDBOX, AMOS_API_VERSION, type PayApiClient, allowedApplePayPaymentMethodInputTypeValues, allowedApplePayPaymentMethodTypeValues, allowedBankAccountPaymentMethodInputTypeValues, allowedBankAccountPaymentMethodTypeValues, allowedCardPaymentMethodInputTypeValues, allowedCardPaymentMethodTypeValues, allowedGooglePayPaymentMethodInputTypeValues, allowedGooglePayPaymentMethodTypeValues,
|
|
6195
|
+
export { type $defs, AMOS_API_BASE_URL_PRODUCTION, AMOS_API_BASE_URL_SANDBOX, AMOS_API_VERSION, type PayApiClient, allowedApplePayPaymentMethodInputTypeValues, allowedApplePayPaymentMethodTypeValues, allowedBankAccountPaymentMethodInputTypeValues, allowedBankAccountPaymentMethodTypeValues, allowedCardPaymentMethodInputTypeValues, allowedCardPaymentMethodTypeValues, allowedGooglePayPaymentMethodInputTypeValues, allowedGooglePayPaymentMethodTypeValues, chargeAllowed_reverse_actionValues, chargeStateValues, type components, createPayApiClient, embedConfirmApplePayPaymentMethodInputTypeValues, embedConfirmBankAccountPaymentMethodInputTypeValues, embedConfirmCardPaymentMethodInputTypeValues, embedConfirmGooglePayPaymentMethodInputTypeValues, externalAccountTypeValues, internationalBillingAddressOptionsModeValues, legalEntityApplicationStateTypeValues, legalEntityDocumentTypeValues, legalEntityEntityTypeValues, legalEntityOwnershipTypeValues, merchantBusinessCategoryTypeValues, type operations, organizationKindValues, originApplepayRegistrationStateTypeValues, type paths, paymentIntentCaptureMethodTypeValues, paymentIntentStateValues, paymentLinkAmountTypeValues, paymentMethodTypeValues, payoutDirectionTypeValues, payoutStateTypeValues, processorTransactionPayment_transaction_typeValues, processorTransactionTransaction_typeValues, refundAllowed_reverse_actionValues, refundStateTypeValues, setupIntentStateValues, subscriptionIntervalTypeValues, subscriptionPlanTypeValues, subscriptionStateValues, transactionSourceTypeValues, usOnlyBillingAddressOptionsModeValues, usStateTypeValues, walletProviderTypeValues, webhookEventTypeValues, type webhooks };
|
package/dist/index.d.ts
CHANGED
|
@@ -718,8 +718,7 @@ interface paths {
|
|
|
718
718
|
*/
|
|
719
719
|
get: operations["ListPaymentMethods"];
|
|
720
720
|
put?: never;
|
|
721
|
-
|
|
722
|
-
post: operations["CreatePaymentMethod"];
|
|
721
|
+
post?: never;
|
|
723
722
|
delete?: never;
|
|
724
723
|
options?: never;
|
|
725
724
|
head?: never;
|
|
@@ -1376,8 +1375,6 @@ interface components {
|
|
|
1376
1375
|
account_holder_type?: string;
|
|
1377
1376
|
account_type?: string;
|
|
1378
1377
|
bank_name?: string;
|
|
1379
|
-
/** @enum {string|null} */
|
|
1380
|
-
failure_reason?: "activation_failed" | "processing_error" | "vault_failed" | "insufficient_funds" | "verification_failed" | null;
|
|
1381
1378
|
fingerprint?: string | null;
|
|
1382
1379
|
last4?: string;
|
|
1383
1380
|
/** @description ABA routing number. A nine-digit value must pass the ABA checksum. */
|
|
@@ -1440,8 +1437,8 @@ interface components {
|
|
|
1440
1437
|
updated_at?: string;
|
|
1441
1438
|
};
|
|
1442
1439
|
CardProfileInput: {
|
|
1443
|
-
/** @description Cardholder name as stored on the card. 2-26 characters. Letters, numbers, spaces, periods, commas, apostrophes, hyphens, slashes, and ampersands. */
|
|
1444
|
-
card_holder_name?: string;
|
|
1440
|
+
/** @description Cardholder name as stored on the card. 2-26 characters when present. Letters, numbers, spaces, periods, commas, apostrophes, hyphens, slashes, and ampersands. */
|
|
1441
|
+
card_holder_name?: string | null;
|
|
1445
1442
|
cvc?: string;
|
|
1446
1443
|
encrypted_card_number?: string;
|
|
1447
1444
|
exp_month?: number;
|
|
@@ -1462,20 +1459,20 @@ interface components {
|
|
|
1462
1459
|
avs_check?: string;
|
|
1463
1460
|
avs_check_message?: string | null;
|
|
1464
1461
|
brand?: string;
|
|
1465
|
-
/** @description Cardholder name as stored on the card. 2-26 characters. Letters, numbers, spaces, periods, commas, apostrophes, hyphens, slashes, and ampersands. */
|
|
1466
|
-
card_holder_name?: string;
|
|
1462
|
+
/** @description Cardholder name as stored on the card. 2-26 characters when present. Letters, numbers, spaces, periods, commas, apostrophes, hyphens, slashes, and ampersands. */
|
|
1463
|
+
card_holder_name?: string | null;
|
|
1467
1464
|
cvc_check?: string;
|
|
1468
1465
|
cvc_check_message?: string | null;
|
|
1469
1466
|
exp_month?: number;
|
|
1470
1467
|
exp_year?: number;
|
|
1471
|
-
/** @enum {string|null} */
|
|
1472
|
-
failure_reason?: "authorization_failed" | "avs_blocked" | "brand_not_allowed" | "brand_not_found" | "cvc_blocked" | "processing_error" | "vault_failed" | null;
|
|
1473
1468
|
first6?: string;
|
|
1474
1469
|
funding?: string | null;
|
|
1475
1470
|
fingerprint?: string | null;
|
|
1476
1471
|
last4?: string;
|
|
1477
1472
|
state?: string;
|
|
1478
1473
|
three_d_secure_supported?: boolean | null;
|
|
1474
|
+
/** @description Legacy card token. Prefer vault_token for new integrations. */
|
|
1475
|
+
token?: string;
|
|
1479
1476
|
/**
|
|
1480
1477
|
* Format: uuid
|
|
1481
1478
|
* @description Vault UUID for this card. Used for charges and Vault callbacks.
|
|
@@ -2370,44 +2367,6 @@ interface components {
|
|
|
2370
2367
|
/** Format: date-time */
|
|
2371
2368
|
updated_at?: string;
|
|
2372
2369
|
};
|
|
2373
|
-
CreatePaymentMethodInput: {
|
|
2374
|
-
/** Format: uuid */
|
|
2375
|
-
customer_id?: string;
|
|
2376
|
-
metadata?: components["schemas"]["Metadata"];
|
|
2377
|
-
billing_address_attributes?: components["schemas"]["BillingAddressInput"];
|
|
2378
|
-
card_profile_attributes?: {
|
|
2379
|
-
brand?: string;
|
|
2380
|
-
/** @description Cardholder name as stored on the card. 2-26 characters. Letters, numbers, spaces, periods, commas, apostrophes, hyphens, slashes, and ampersands. */
|
|
2381
|
-
card_holder_name?: string;
|
|
2382
|
-
cvc?: string;
|
|
2383
|
-
encrypted_card_number?: string;
|
|
2384
|
-
exp_month?: number;
|
|
2385
|
-
exp_year?: number;
|
|
2386
|
-
first6?: string;
|
|
2387
|
-
last4?: string;
|
|
2388
|
-
pan_type?: string;
|
|
2389
|
-
token?: string;
|
|
2390
|
-
wallet_payload?: string;
|
|
2391
|
-
wallet_provider?: components["schemas"]["WalletProviderType"];
|
|
2392
|
-
};
|
|
2393
|
-
bank_account_profile_attributes?: {
|
|
2394
|
-
last4?: string;
|
|
2395
|
-
/** @description Account holder name. Letters, spaces, hyphens, apostrophes, and periods only. */
|
|
2396
|
-
account_holder_name?: string;
|
|
2397
|
-
account_holder_type?: string;
|
|
2398
|
-
account_type?: string;
|
|
2399
|
-
bank_name?: string;
|
|
2400
|
-
currency?: string;
|
|
2401
|
-
/** @description Bank account number. Stored encrypted at rest and not returned in API responses. */
|
|
2402
|
-
account_number?: string;
|
|
2403
|
-
token?: string;
|
|
2404
|
-
/** @description ABA routing number. A nine-digit value must pass the ABA checksum. */
|
|
2405
|
-
routing_number?: string;
|
|
2406
|
-
};
|
|
2407
|
-
};
|
|
2408
|
-
CreatePaymentMethodRequest: {
|
|
2409
|
-
payment_method: components["schemas"]["CreatePaymentMethodInput"];
|
|
2410
|
-
};
|
|
2411
2370
|
UpdateMerchantInput: {
|
|
2412
2371
|
active?: boolean;
|
|
2413
2372
|
business_category?: components["schemas"]["MerchantBusinessCategoryType"];
|
|
@@ -4789,39 +4748,6 @@ interface operations {
|
|
|
4789
4748
|
};
|
|
4790
4749
|
};
|
|
4791
4750
|
};
|
|
4792
|
-
CreatePaymentMethod: {
|
|
4793
|
-
parameters: {
|
|
4794
|
-
query?: never;
|
|
4795
|
-
header?: never;
|
|
4796
|
-
path?: never;
|
|
4797
|
-
cookie?: never;
|
|
4798
|
-
};
|
|
4799
|
-
requestBody: {
|
|
4800
|
-
content: {
|
|
4801
|
-
"application/json": components["schemas"]["CreatePaymentMethodRequest"];
|
|
4802
|
-
};
|
|
4803
|
-
};
|
|
4804
|
-
responses: {
|
|
4805
|
-
/** @description Payment method created successfully */
|
|
4806
|
-
201: {
|
|
4807
|
-
headers: {
|
|
4808
|
-
[name: string]: unknown;
|
|
4809
|
-
};
|
|
4810
|
-
content: {
|
|
4811
|
-
"application/json": components["schemas"]["PaymentMethod"];
|
|
4812
|
-
};
|
|
4813
|
-
};
|
|
4814
|
-
/** @description Unprocessable entity */
|
|
4815
|
-
422: {
|
|
4816
|
-
headers: {
|
|
4817
|
-
[name: string]: unknown;
|
|
4818
|
-
};
|
|
4819
|
-
content: {
|
|
4820
|
-
"application/json": components["schemas"]["Error"];
|
|
4821
|
-
};
|
|
4822
|
-
};
|
|
4823
|
-
};
|
|
4824
|
-
};
|
|
4825
4751
|
GetPaymentMethod: {
|
|
4826
4752
|
parameters: {
|
|
4827
4753
|
query?: never;
|
|
@@ -6184,8 +6110,6 @@ type ReadonlyArray<T> = [
|
|
|
6184
6110
|
] extends [
|
|
6185
6111
|
unknown[]
|
|
6186
6112
|
] ? Readonly<Exclude<T, undefined>> : Readonly<Exclude<T, undefined>[]>;
|
|
6187
|
-
declare const bankAccountProfileFailure_reasonValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["BankAccountProfile"]["failure_reason"]>;
|
|
6188
|
-
declare const cardProfileFailure_reasonValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["CardProfile"]["failure_reason"]>;
|
|
6189
6113
|
declare const chargeAllowed_reverse_actionValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["Charge"]["allowed_reverse_action"]>;
|
|
6190
6114
|
declare const chargeStateValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["Charge"]["state"]>;
|
|
6191
6115
|
declare const externalAccountTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["ExternalAccount"]["type"]>;
|
|
@@ -6268,4 +6192,4 @@ declare function createPayApiClient(options: ClientOptions): openapi_fetch.Clien
|
|
|
6268
6192
|
/** A configured Amos Pay API client returned by {@link createPayApiClient}. */
|
|
6269
6193
|
type PayApiClient = ReturnType<typeof createPayApiClient>;
|
|
6270
6194
|
|
|
6271
|
-
export { type $defs, AMOS_API_BASE_URL_PRODUCTION, AMOS_API_BASE_URL_SANDBOX, AMOS_API_VERSION, type PayApiClient, allowedApplePayPaymentMethodInputTypeValues, allowedApplePayPaymentMethodTypeValues, allowedBankAccountPaymentMethodInputTypeValues, allowedBankAccountPaymentMethodTypeValues, allowedCardPaymentMethodInputTypeValues, allowedCardPaymentMethodTypeValues, allowedGooglePayPaymentMethodInputTypeValues, allowedGooglePayPaymentMethodTypeValues,
|
|
6195
|
+
export { type $defs, AMOS_API_BASE_URL_PRODUCTION, AMOS_API_BASE_URL_SANDBOX, AMOS_API_VERSION, type PayApiClient, allowedApplePayPaymentMethodInputTypeValues, allowedApplePayPaymentMethodTypeValues, allowedBankAccountPaymentMethodInputTypeValues, allowedBankAccountPaymentMethodTypeValues, allowedCardPaymentMethodInputTypeValues, allowedCardPaymentMethodTypeValues, allowedGooglePayPaymentMethodInputTypeValues, allowedGooglePayPaymentMethodTypeValues, chargeAllowed_reverse_actionValues, chargeStateValues, type components, createPayApiClient, embedConfirmApplePayPaymentMethodInputTypeValues, embedConfirmBankAccountPaymentMethodInputTypeValues, embedConfirmCardPaymentMethodInputTypeValues, embedConfirmGooglePayPaymentMethodInputTypeValues, externalAccountTypeValues, internationalBillingAddressOptionsModeValues, legalEntityApplicationStateTypeValues, legalEntityDocumentTypeValues, legalEntityEntityTypeValues, legalEntityOwnershipTypeValues, merchantBusinessCategoryTypeValues, type operations, organizationKindValues, originApplepayRegistrationStateTypeValues, type paths, paymentIntentCaptureMethodTypeValues, paymentIntentStateValues, paymentLinkAmountTypeValues, paymentMethodTypeValues, payoutDirectionTypeValues, payoutStateTypeValues, processorTransactionPayment_transaction_typeValues, processorTransactionTransaction_typeValues, refundAllowed_reverse_actionValues, refundStateTypeValues, setupIntentStateValues, subscriptionIntervalTypeValues, subscriptionPlanTypeValues, subscriptionStateValues, transactionSourceTypeValues, usOnlyBillingAddressOptionsModeValues, usStateTypeValues, walletProviderTypeValues, webhookEventTypeValues, type webhooks };
|
package/dist/index.js
CHANGED
|
@@ -41,8 +41,6 @@ __export(index_exports, {
|
|
|
41
41
|
allowedCardPaymentMethodTypeValues: () => allowedCardPaymentMethodTypeValues,
|
|
42
42
|
allowedGooglePayPaymentMethodInputTypeValues: () => allowedGooglePayPaymentMethodInputTypeValues,
|
|
43
43
|
allowedGooglePayPaymentMethodTypeValues: () => allowedGooglePayPaymentMethodTypeValues,
|
|
44
|
-
bankAccountProfileFailure_reasonValues: () => bankAccountProfileFailure_reasonValues,
|
|
45
|
-
cardProfileFailure_reasonValues: () => cardProfileFailure_reasonValues,
|
|
46
44
|
chargeAllowed_reverse_actionValues: () => chargeAllowed_reverse_actionValues,
|
|
47
45
|
chargeStateValues: () => chargeStateValues,
|
|
48
46
|
createPayApiClient: () => createPayApiClient,
|
|
@@ -83,8 +81,6 @@ module.exports = __toCommonJS(index_exports);
|
|
|
83
81
|
var import_openapi_fetch = __toESM(require("openapi-fetch"));
|
|
84
82
|
|
|
85
83
|
// openapi/schema.ts
|
|
86
|
-
var bankAccountProfileFailure_reasonValues = ["activation_failed", "processing_error", "vault_failed", "insufficient_funds", "verification_failed"];
|
|
87
|
-
var cardProfileFailure_reasonValues = ["authorization_failed", "avs_blocked", "brand_not_allowed", "brand_not_found", "cvc_blocked", "processing_error", "vault_failed"];
|
|
88
84
|
var chargeAllowed_reverse_actionValues = ["void", "refund"];
|
|
89
85
|
var chargeStateValues = ["cancelled", "errored", "failed", "processing", "requires_capture", "requires_confirmation", "requires_review", "settlement_failed", "succeeded"];
|
|
90
86
|
var externalAccountTypeValues = ["external_card", "external_bank_account"];
|
|
@@ -148,8 +144,6 @@ function createPayApiClient(options) {
|
|
|
148
144
|
allowedCardPaymentMethodTypeValues,
|
|
149
145
|
allowedGooglePayPaymentMethodInputTypeValues,
|
|
150
146
|
allowedGooglePayPaymentMethodTypeValues,
|
|
151
|
-
bankAccountProfileFailure_reasonValues,
|
|
152
|
-
cardProfileFailure_reasonValues,
|
|
153
147
|
chargeAllowed_reverse_actionValues,
|
|
154
148
|
chargeStateValues,
|
|
155
149
|
createPayApiClient,
|