@amos.com/node 0.1.49 → 0.1.51

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 CHANGED
@@ -1355,6 +1355,8 @@ interface components {
1355
1355
  /** Format: uuid */
1356
1356
  processor_id?: string;
1357
1357
  worldpay_mid?: string;
1358
+ /** @description ACH verification threshold in cents for this account, taken from the merchant. When the organization sets ach_threshold, that value is used instead. Amounts at or above this require Plaid verification when the render template enables it. */
1359
+ ach_threshold?: number;
1358
1360
  /** Format: date-time */
1359
1361
  created_at?: string;
1360
1362
  /** Format: date-time */
@@ -1691,11 +1693,8 @@ interface components {
1691
1693
  moto?: boolean;
1692
1694
  };
1693
1695
  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";
1696
+ /** @description When true, this surface collects bank account verification (Plaid) for ACH at or above the merchant ACH threshold. When omitted or false, verification is off. Only supported on render templates. */
1697
+ verification?: boolean;
1699
1698
  };
1700
1699
  /** @description No configurable options for Google Pay payment methods. */
1701
1700
  AllowedGooglePayPaymentMethodOptions: Record<string, never>;
@@ -5358,7 +5357,6 @@ declare const embedConfirmCardPaymentMethodInputTypeValues: ReadonlyArray<Flatte
5358
5357
  declare const embedConfirmBankAccountPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["EmbedConfirmBankAccountPaymentMethodInput"]["type"]>;
5359
5358
  declare const embedConfirmGooglePayPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["EmbedConfirmGooglePayPaymentMethodInput"]["type"]>;
5360
5359
  declare const embedConfirmApplePayPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["EmbedConfirmApplePayPaymentMethodInput"]["type"]>;
5361
- declare const allowedBankAccountPaymentMethodOptionsVerificationValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["AllowedBankAccountPaymentMethodOptions"]["verification"]>;
5362
5360
  declare const allowedCardPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["AllowedCardPaymentMethodInput"]["type"]>;
5363
5361
  declare const allowedBankAccountPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["AllowedBankAccountPaymentMethodInput"]["type"]>;
5364
5362
  declare const allowedGooglePayPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["AllowedGooglePayPaymentMethodInput"]["type"]>;
@@ -5422,4 +5420,4 @@ declare function createPayApiClient(options: ClientOptions): openapi_fetch.Clien
5422
5420
  /** A configured Amos Pay API client returned by {@link createPayApiClient}. */
5423
5421
  type PayApiClient = ReturnType<typeof createPayApiClient>;
5424
5422
 
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 };
5423
+ 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 };
package/dist/index.d.ts CHANGED
@@ -1355,6 +1355,8 @@ interface components {
1355
1355
  /** Format: uuid */
1356
1356
  processor_id?: string;
1357
1357
  worldpay_mid?: string;
1358
+ /** @description ACH verification threshold in cents for this account, taken from the merchant. When the organization sets ach_threshold, that value is used instead. Amounts at or above this require Plaid verification when the render template enables it. */
1359
+ ach_threshold?: number;
1358
1360
  /** Format: date-time */
1359
1361
  created_at?: string;
1360
1362
  /** Format: date-time */
@@ -1691,11 +1693,8 @@ interface components {
1691
1693
  moto?: boolean;
1692
1694
  };
1693
1695
  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";
1696
+ /** @description When true, this surface collects bank account verification (Plaid) for ACH at or above the merchant ACH threshold. When omitted or false, verification is off. Only supported on render templates. */
1697
+ verification?: boolean;
1699
1698
  };
1700
1699
  /** @description No configurable options for Google Pay payment methods. */
1701
1700
  AllowedGooglePayPaymentMethodOptions: Record<string, never>;
@@ -5358,7 +5357,6 @@ declare const embedConfirmCardPaymentMethodInputTypeValues: ReadonlyArray<Flatte
5358
5357
  declare const embedConfirmBankAccountPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["EmbedConfirmBankAccountPaymentMethodInput"]["type"]>;
5359
5358
  declare const embedConfirmGooglePayPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["EmbedConfirmGooglePayPaymentMethodInput"]["type"]>;
5360
5359
  declare const embedConfirmApplePayPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["EmbedConfirmApplePayPaymentMethodInput"]["type"]>;
5361
- declare const allowedBankAccountPaymentMethodOptionsVerificationValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["AllowedBankAccountPaymentMethodOptions"]["verification"]>;
5362
5360
  declare const allowedCardPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["AllowedCardPaymentMethodInput"]["type"]>;
5363
5361
  declare const allowedBankAccountPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["AllowedBankAccountPaymentMethodInput"]["type"]>;
5364
5362
  declare const allowedGooglePayPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["AllowedGooglePayPaymentMethodInput"]["type"]>;
@@ -5422,4 +5420,4 @@ declare function createPayApiClient(options: ClientOptions): openapi_fetch.Clien
5422
5420
  /** A configured Amos Pay API client returned by {@link createPayApiClient}. */
5423
5421
  type PayApiClient = ReturnType<typeof createPayApiClient>;
5424
5422
 
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 };
5423
+ 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 };
package/dist/index.js CHANGED
@@ -36,7 +36,6 @@ __export(index_exports, {
36
36
  allowedApplePayPaymentMethodInputTypeValues: () => allowedApplePayPaymentMethodInputTypeValues,
37
37
  allowedApplePayPaymentMethodTypeValues: () => allowedApplePayPaymentMethodTypeValues,
38
38
  allowedBankAccountPaymentMethodInputTypeValues: () => allowedBankAccountPaymentMethodInputTypeValues,
39
- allowedBankAccountPaymentMethodOptionsVerificationValues: () => allowedBankAccountPaymentMethodOptionsVerificationValues,
40
39
  allowedBankAccountPaymentMethodTypeValues: () => allowedBankAccountPaymentMethodTypeValues,
41
40
  allowedCardPaymentMethodInputTypeValues: () => allowedCardPaymentMethodInputTypeValues,
42
41
  allowedCardPaymentMethodTypeValues: () => allowedCardPaymentMethodTypeValues,
@@ -101,7 +100,6 @@ var embedConfirmCardPaymentMethodInputTypeValues = ["card"];
101
100
  var embedConfirmBankAccountPaymentMethodInputTypeValues = ["bank_account"];
102
101
  var embedConfirmGooglePayPaymentMethodInputTypeValues = ["googlepay"];
103
102
  var embedConfirmApplePayPaymentMethodInputTypeValues = ["applepay"];
104
- var allowedBankAccountPaymentMethodOptionsVerificationValues = ["none", "plaid"];
105
103
  var allowedCardPaymentMethodInputTypeValues = ["card"];
106
104
  var allowedBankAccountPaymentMethodInputTypeValues = ["bank_account"];
107
105
  var allowedGooglePayPaymentMethodInputTypeValues = ["googlepay"];
@@ -141,7 +139,6 @@ function createPayApiClient(options) {
141
139
  allowedApplePayPaymentMethodInputTypeValues,
142
140
  allowedApplePayPaymentMethodTypeValues,
143
141
  allowedBankAccountPaymentMethodInputTypeValues,
144
- allowedBankAccountPaymentMethodOptionsVerificationValues,
145
142
  allowedBankAccountPaymentMethodTypeValues,
146
143
  allowedCardPaymentMethodInputTypeValues,
147
144
  allowedCardPaymentMethodTypeValues,