@amos.com/node 0.1.47 → 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/openapi/schema.ts CHANGED
@@ -1644,7 +1644,7 @@ export interface components {
1644
1644
  billing_address_attributes?: components["schemas"]["BillingAddressInput"];
1645
1645
  card_profile_attributes: components["schemas"]["CardProfileInput"];
1646
1646
  };
1647
- /** @description Confirm an embedded intent with a bank account. When ACH verification is required for the intent amount, include plaid credentials; routing and account numbers are filled server-side from Plaid Auth. Otherwise provide encrypted_account_number and routing_number on bank_account_profile_attributes. */
1647
+ /** @description Confirm an embedded intent with a bank account. When ACH verification is required for the intent amount, include plaid credentials and omit bank_account_profile_attributes; routing and account numbers are filled server-side from Plaid Auth. Otherwise provide encrypted_account_number and routing_number on bank_account_profile_attributes. */
1648
1648
  EmbedConfirmBankAccountPaymentMethodInput: {
1649
1649
  /**
1650
1650
  * @description discriminator enum property added by openapi-typescript
@@ -1653,7 +1653,7 @@ export interface components {
1653
1653
  type: "bank_account";
1654
1654
  metadata?: components["schemas"]["Metadata"];
1655
1655
  plaid?: components["schemas"]["PlaidCredentialsInput"];
1656
- bank_account_profile_attributes: components["schemas"]["BankAccountProfileInput"];
1656
+ bank_account_profile_attributes?: components["schemas"]["BankAccountProfileInput"];
1657
1657
  billing_address_attributes?: components["schemas"]["BillingAddressInput"];
1658
1658
  };
1659
1659
  EmbedConfirmGooglePayPaymentMethodInput: {
@@ -1684,10 +1684,16 @@ export interface components {
1684
1684
  account_id: string;
1685
1685
  };
1686
1686
  AllowedCardPaymentMethodOptions: {
1687
+ /** @description When true, this surface supports MOTO card entry (cardholder not present). Only supported on render templates. */
1687
1688
  moto?: boolean;
1688
1689
  };
1689
- /** @description No configurable options for bank account payment methods. */
1690
- AllowedBankAccountPaymentMethodOptions: Record<string, never>;
1690
+ 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";
1696
+ };
1691
1697
  /** @description No configurable options for Google Pay payment methods. */
1692
1698
  AllowedGooglePayPaymentMethodOptions: Record<string, never>;
1693
1699
  /** @description No configurable options for Apple Pay payment methods. */
@@ -5349,6 +5355,7 @@ export const embedConfirmCardPaymentMethodInputTypeValues: ReadonlyArray<Flatten
5349
5355
  export const embedConfirmBankAccountPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["EmbedConfirmBankAccountPaymentMethodInput"]["type"]> = ["bank_account"];
5350
5356
  export const embedConfirmGooglePayPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["EmbedConfirmGooglePayPaymentMethodInput"]["type"]> = ["googlepay"];
5351
5357
  export const embedConfirmApplePayPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["EmbedConfirmApplePayPaymentMethodInput"]["type"]> = ["applepay"];
5358
+ export const allowedBankAccountPaymentMethodOptionsVerificationValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["AllowedBankAccountPaymentMethodOptions"]["verification"]> = ["none", "plaid"];
5352
5359
  export const allowedCardPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["AllowedCardPaymentMethodInput"]["type"]> = ["card"];
5353
5360
  export const allowedBankAccountPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["AllowedBankAccountPaymentMethodInput"]["type"]> = ["bank_account"];
5354
5361
  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.47",
3
+ "version": "0.1.49",
4
4
  "description": "Node.js client for the Amos Pay API.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",