@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/openapi/schema.ts CHANGED
@@ -1352,6 +1352,8 @@ export interface components {
1352
1352
  /** Format: uuid */
1353
1353
  processor_id?: string;
1354
1354
  worldpay_mid?: string;
1355
+ /** @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. */
1356
+ ach_threshold?: number;
1355
1357
  /** Format: date-time */
1356
1358
  created_at?: string;
1357
1359
  /** Format: date-time */
@@ -1688,11 +1690,8 @@ export interface components {
1688
1690
  moto?: boolean;
1689
1691
  };
1690
1692
  AllowedBankAccountPaymentMethodOptions: {
1691
- /**
1692
- * @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.
1693
- * @enum {string}
1694
- */
1695
- verification?: "none" | "plaid";
1693
+ /** @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. */
1694
+ verification?: boolean;
1696
1695
  };
1697
1696
  /** @description No configurable options for Google Pay payment methods. */
1698
1697
  AllowedGooglePayPaymentMethodOptions: Record<string, never>;
@@ -5355,7 +5354,6 @@ export const embedConfirmCardPaymentMethodInputTypeValues: ReadonlyArray<Flatten
5355
5354
  export const embedConfirmBankAccountPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["EmbedConfirmBankAccountPaymentMethodInput"]["type"]> = ["bank_account"];
5356
5355
  export const embedConfirmGooglePayPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["EmbedConfirmGooglePayPaymentMethodInput"]["type"]> = ["googlepay"];
5357
5356
  export const embedConfirmApplePayPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["EmbedConfirmApplePayPaymentMethodInput"]["type"]> = ["applepay"];
5358
- export const allowedBankAccountPaymentMethodOptionsVerificationValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["AllowedBankAccountPaymentMethodOptions"]["verification"]> = ["none", "plaid"];
5359
5357
  export const allowedCardPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["AllowedCardPaymentMethodInput"]["type"]> = ["card"];
5360
5358
  export const allowedBankAccountPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["AllowedBankAccountPaymentMethodInput"]["type"]> = ["bank_account"];
5361
5359
  export const allowedGooglePayPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["AllowedGooglePayPaymentMethodInput"]["type"]> = ["googlepay"];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amos.com/node",
3
- "version": "0.1.49",
3
+ "version": "0.1.51",
4
4
  "description": "Node.js client for the Amos Pay API.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",