@amos.com/node 0.1.48 → 0.1.49
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 +10 -3
- package/dist/index.d.ts +10 -3
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -0
- package/dist/index.mjs.map +1 -1
- package/openapi/schema.ts +9 -2
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1687,10 +1687,16 @@ interface components {
|
|
|
1687
1687
|
account_id: string;
|
|
1688
1688
|
};
|
|
1689
1689
|
AllowedCardPaymentMethodOptions: {
|
|
1690
|
+
/** @description When true, this surface supports MOTO card entry (cardholder not present). Only supported on render templates. */
|
|
1690
1691
|
moto?: boolean;
|
|
1691
1692
|
};
|
|
1692
|
-
|
|
1693
|
-
|
|
1693
|
+
AllowedBankAccountPaymentMethodOptions: {
|
|
1694
|
+
/**
|
|
1695
|
+
* @description Bank account verification capability for this surface. Use `plaid` when the payer can complete Plaid Link in-browser. Use `none` (or omit) when this surface cannot collect verification, such as a virtual terminal. Only supported on render templates.
|
|
1696
|
+
* @enum {string}
|
|
1697
|
+
*/
|
|
1698
|
+
verification?: "none" | "plaid";
|
|
1699
|
+
};
|
|
1694
1700
|
/** @description No configurable options for Google Pay payment methods. */
|
|
1695
1701
|
AllowedGooglePayPaymentMethodOptions: Record<string, never>;
|
|
1696
1702
|
/** @description No configurable options for Apple Pay payment methods. */
|
|
@@ -5352,6 +5358,7 @@ declare const embedConfirmCardPaymentMethodInputTypeValues: ReadonlyArray<Flatte
|
|
|
5352
5358
|
declare const embedConfirmBankAccountPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["EmbedConfirmBankAccountPaymentMethodInput"]["type"]>;
|
|
5353
5359
|
declare const embedConfirmGooglePayPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["EmbedConfirmGooglePayPaymentMethodInput"]["type"]>;
|
|
5354
5360
|
declare const embedConfirmApplePayPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["EmbedConfirmApplePayPaymentMethodInput"]["type"]>;
|
|
5361
|
+
declare const allowedBankAccountPaymentMethodOptionsVerificationValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["AllowedBankAccountPaymentMethodOptions"]["verification"]>;
|
|
5355
5362
|
declare const allowedCardPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["AllowedCardPaymentMethodInput"]["type"]>;
|
|
5356
5363
|
declare const allowedBankAccountPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["AllowedBankAccountPaymentMethodInput"]["type"]>;
|
|
5357
5364
|
declare const allowedGooglePayPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["AllowedGooglePayPaymentMethodInput"]["type"]>;
|
|
@@ -5415,4 +5422,4 @@ declare function createPayApiClient(options: ClientOptions): openapi_fetch.Clien
|
|
|
5415
5422
|
/** A configured Amos Pay API client returned by {@link createPayApiClient}. */
|
|
5416
5423
|
type PayApiClient = ReturnType<typeof createPayApiClient>;
|
|
5417
5424
|
|
|
5418
|
-
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, bankAccountProfileFailure_reasonValues, cardProfileFailure_reasonValues, chargeAllowed_reverse_actionValues, chargeStateValues, type components, createPayApiClient, embedConfirmApplePayPaymentMethodInputTypeValues, embedConfirmBankAccountPaymentMethodInputTypeValues, embedConfirmCardPaymentMethodInputTypeValues, embedConfirmGooglePayPaymentMethodInputTypeValues, externalAccountTypeValues, internationalBillingAddressOptionsModeValues, legalEntityDocumentTypeValues, legalEntityEntityTypeValues, legalEntityOwnershipTypeValues, merchantBusinessCategoryTypeValues, type operations, organizationKindValues, 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 };
|
|
5425
|
+
export { type $defs, AMOS_API_BASE_URL_PRODUCTION, AMOS_API_BASE_URL_SANDBOX, AMOS_API_VERSION, type PayApiClient, allowedApplePayPaymentMethodInputTypeValues, allowedApplePayPaymentMethodTypeValues, allowedBankAccountPaymentMethodInputTypeValues, allowedBankAccountPaymentMethodOptionsVerificationValues, allowedBankAccountPaymentMethodTypeValues, allowedCardPaymentMethodInputTypeValues, allowedCardPaymentMethodTypeValues, allowedGooglePayPaymentMethodInputTypeValues, allowedGooglePayPaymentMethodTypeValues, bankAccountProfileFailure_reasonValues, cardProfileFailure_reasonValues, chargeAllowed_reverse_actionValues, chargeStateValues, type components, createPayApiClient, embedConfirmApplePayPaymentMethodInputTypeValues, embedConfirmBankAccountPaymentMethodInputTypeValues, embedConfirmCardPaymentMethodInputTypeValues, embedConfirmGooglePayPaymentMethodInputTypeValues, externalAccountTypeValues, internationalBillingAddressOptionsModeValues, legalEntityDocumentTypeValues, legalEntityEntityTypeValues, legalEntityOwnershipTypeValues, merchantBusinessCategoryTypeValues, type operations, organizationKindValues, 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
|
@@ -1687,10 +1687,16 @@ interface components {
|
|
|
1687
1687
|
account_id: string;
|
|
1688
1688
|
};
|
|
1689
1689
|
AllowedCardPaymentMethodOptions: {
|
|
1690
|
+
/** @description When true, this surface supports MOTO card entry (cardholder not present). Only supported on render templates. */
|
|
1690
1691
|
moto?: boolean;
|
|
1691
1692
|
};
|
|
1692
|
-
|
|
1693
|
-
|
|
1693
|
+
AllowedBankAccountPaymentMethodOptions: {
|
|
1694
|
+
/**
|
|
1695
|
+
* @description Bank account verification capability for this surface. Use `plaid` when the payer can complete Plaid Link in-browser. Use `none` (or omit) when this surface cannot collect verification, such as a virtual terminal. Only supported on render templates.
|
|
1696
|
+
* @enum {string}
|
|
1697
|
+
*/
|
|
1698
|
+
verification?: "none" | "plaid";
|
|
1699
|
+
};
|
|
1694
1700
|
/** @description No configurable options for Google Pay payment methods. */
|
|
1695
1701
|
AllowedGooglePayPaymentMethodOptions: Record<string, never>;
|
|
1696
1702
|
/** @description No configurable options for Apple Pay payment methods. */
|
|
@@ -5352,6 +5358,7 @@ declare const embedConfirmCardPaymentMethodInputTypeValues: ReadonlyArray<Flatte
|
|
|
5352
5358
|
declare const embedConfirmBankAccountPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["EmbedConfirmBankAccountPaymentMethodInput"]["type"]>;
|
|
5353
5359
|
declare const embedConfirmGooglePayPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["EmbedConfirmGooglePayPaymentMethodInput"]["type"]>;
|
|
5354
5360
|
declare const embedConfirmApplePayPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["EmbedConfirmApplePayPaymentMethodInput"]["type"]>;
|
|
5361
|
+
declare const allowedBankAccountPaymentMethodOptionsVerificationValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["AllowedBankAccountPaymentMethodOptions"]["verification"]>;
|
|
5355
5362
|
declare const allowedCardPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["AllowedCardPaymentMethodInput"]["type"]>;
|
|
5356
5363
|
declare const allowedBankAccountPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["AllowedBankAccountPaymentMethodInput"]["type"]>;
|
|
5357
5364
|
declare const allowedGooglePayPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["AllowedGooglePayPaymentMethodInput"]["type"]>;
|
|
@@ -5415,4 +5422,4 @@ declare function createPayApiClient(options: ClientOptions): openapi_fetch.Clien
|
|
|
5415
5422
|
/** A configured Amos Pay API client returned by {@link createPayApiClient}. */
|
|
5416
5423
|
type PayApiClient = ReturnType<typeof createPayApiClient>;
|
|
5417
5424
|
|
|
5418
|
-
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, bankAccountProfileFailure_reasonValues, cardProfileFailure_reasonValues, chargeAllowed_reverse_actionValues, chargeStateValues, type components, createPayApiClient, embedConfirmApplePayPaymentMethodInputTypeValues, embedConfirmBankAccountPaymentMethodInputTypeValues, embedConfirmCardPaymentMethodInputTypeValues, embedConfirmGooglePayPaymentMethodInputTypeValues, externalAccountTypeValues, internationalBillingAddressOptionsModeValues, legalEntityDocumentTypeValues, legalEntityEntityTypeValues, legalEntityOwnershipTypeValues, merchantBusinessCategoryTypeValues, type operations, organizationKindValues, 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 };
|
|
5425
|
+
export { type $defs, AMOS_API_BASE_URL_PRODUCTION, AMOS_API_BASE_URL_SANDBOX, AMOS_API_VERSION, type PayApiClient, allowedApplePayPaymentMethodInputTypeValues, allowedApplePayPaymentMethodTypeValues, allowedBankAccountPaymentMethodInputTypeValues, allowedBankAccountPaymentMethodOptionsVerificationValues, allowedBankAccountPaymentMethodTypeValues, allowedCardPaymentMethodInputTypeValues, allowedCardPaymentMethodTypeValues, allowedGooglePayPaymentMethodInputTypeValues, allowedGooglePayPaymentMethodTypeValues, bankAccountProfileFailure_reasonValues, cardProfileFailure_reasonValues, chargeAllowed_reverse_actionValues, chargeStateValues, type components, createPayApiClient, embedConfirmApplePayPaymentMethodInputTypeValues, embedConfirmBankAccountPaymentMethodInputTypeValues, embedConfirmCardPaymentMethodInputTypeValues, embedConfirmGooglePayPaymentMethodInputTypeValues, externalAccountTypeValues, internationalBillingAddressOptionsModeValues, legalEntityDocumentTypeValues, legalEntityEntityTypeValues, legalEntityOwnershipTypeValues, merchantBusinessCategoryTypeValues, type operations, organizationKindValues, 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
|
@@ -36,6 +36,7 @@ __export(index_exports, {
|
|
|
36
36
|
allowedApplePayPaymentMethodInputTypeValues: () => allowedApplePayPaymentMethodInputTypeValues,
|
|
37
37
|
allowedApplePayPaymentMethodTypeValues: () => allowedApplePayPaymentMethodTypeValues,
|
|
38
38
|
allowedBankAccountPaymentMethodInputTypeValues: () => allowedBankAccountPaymentMethodInputTypeValues,
|
|
39
|
+
allowedBankAccountPaymentMethodOptionsVerificationValues: () => allowedBankAccountPaymentMethodOptionsVerificationValues,
|
|
39
40
|
allowedBankAccountPaymentMethodTypeValues: () => allowedBankAccountPaymentMethodTypeValues,
|
|
40
41
|
allowedCardPaymentMethodInputTypeValues: () => allowedCardPaymentMethodInputTypeValues,
|
|
41
42
|
allowedCardPaymentMethodTypeValues: () => allowedCardPaymentMethodTypeValues,
|
|
@@ -100,6 +101,7 @@ var embedConfirmCardPaymentMethodInputTypeValues = ["card"];
|
|
|
100
101
|
var embedConfirmBankAccountPaymentMethodInputTypeValues = ["bank_account"];
|
|
101
102
|
var embedConfirmGooglePayPaymentMethodInputTypeValues = ["googlepay"];
|
|
102
103
|
var embedConfirmApplePayPaymentMethodInputTypeValues = ["applepay"];
|
|
104
|
+
var allowedBankAccountPaymentMethodOptionsVerificationValues = ["none", "plaid"];
|
|
103
105
|
var allowedCardPaymentMethodInputTypeValues = ["card"];
|
|
104
106
|
var allowedBankAccountPaymentMethodInputTypeValues = ["bank_account"];
|
|
105
107
|
var allowedGooglePayPaymentMethodInputTypeValues = ["googlepay"];
|
|
@@ -139,6 +141,7 @@ function createPayApiClient(options) {
|
|
|
139
141
|
allowedApplePayPaymentMethodInputTypeValues,
|
|
140
142
|
allowedApplePayPaymentMethodTypeValues,
|
|
141
143
|
allowedBankAccountPaymentMethodInputTypeValues,
|
|
144
|
+
allowedBankAccountPaymentMethodOptionsVerificationValues,
|
|
142
145
|
allowedBankAccountPaymentMethodTypeValues,
|
|
143
146
|
allowedCardPaymentMethodInputTypeValues,
|
|
144
147
|
allowedCardPaymentMethodTypeValues,
|