From 2e10ac98d45478bc56692133c5ba37e70312ea63 Mon Sep 17 00:00:00 2001 From: devinmarieb Date: Tue, 2 Jul 2024 10:24:33 -0400 Subject: [PATCH] Dynamic descriptor updates --- docs/output/cards.md | 2 +- docs/output/transfers.md | 2 +- lib/cardDetails.js | 2 +- lib/transfers.js | 2 +- lib/types/cardDetails.d.ts | 2 +- lib/types/transfers.d.ts | 4 ++-- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/output/cards.md b/docs/output/cards.md index 56b6245..d7837f4 100644 --- a/docs/output/cards.md +++ b/docs/output/cards.md @@ -244,7 +244,7 @@ Describes a Card account. | Property | Type | Description | | ---- | ---- | ----------- | - | dynamicDescriptor | `string`| An optional override of the default card statement descriptor for a single transfer | + | dynamicDescriptor | `string`| An optional override of the default card statement descriptor for a transfer. Accounts must be enabled by Moov to set this field. | | merchantInitiatedType | `recurring`, `unscheduled`, `null`| Enum: [recurring unscheduled] Describes how the card transaction was initiated | diff --git a/docs/output/transfers.md b/docs/output/transfers.md index d5d3f66..ef5e46d 100644 --- a/docs/output/transfers.md +++ b/docs/output/transfers.md @@ -357,7 +357,7 @@ try { | Property | Type | Description | | ---- | ---- | ----------- | - | dynamicDescriptor | `string`| An optional override of the default card statement descriptor for a single transfer | + | dynamicDescriptor | `string`| An optional override of the default card statement descriptor for a transfer. Accounts must be enabled by Moov to set this field. | | transactionSource | `first-recurring`, `recurring`, `unscheduled`, `null`| Enum: [first-recurring recurring unscheduled] Describes how the card transaction was initiated | diff --git a/lib/cardDetails.js b/lib/cardDetails.js index a2a512f..a2dde54 100644 --- a/lib/cardDetails.js +++ b/lib/cardDetails.js @@ -1,7 +1,7 @@ /** * @typedef CardDetails * @type {object} - * @property {string} dynamicDescriptor -An optional override of the default card statement descriptor for a single transfer + * @property {string} dynamicDescriptor - An optional override of the default card statement descriptor for a transfer. Accounts must be enabled by Moov to set this field. * @property {"first-recurring"|"recurring"|"unscheduled"|null} transactionSource - Enum: [first-recurring recurring unscheduled] Describes how the card transaction was initiated * @tag Transfers */ diff --git a/lib/transfers.js b/lib/transfers.js index 495c7eb..35e9b9d 100644 --- a/lib/transfers.js +++ b/lib/transfers.js @@ -6,7 +6,7 @@ import { Address } from "./address.js"; /** * @typedef CardDetails * @type {object} - * @property {string} dynamicDescriptor - An optional override of the default card statement descriptor for a single transfer + * @property {string} dynamicDescriptor - An optional override of the default card statement descriptor for a transfer. Accounts must be enabled by Moov to set this field. * @property {"recurring"|"unscheduled"|null} merchantInitiatedType - Enum: [recurring unscheduled] Describes how the card transaction was initiated * @tag Cards */ diff --git a/lib/types/cardDetails.d.ts b/lib/types/cardDetails.d.ts index f7d0ca0..5c70cfc 100644 --- a/lib/types/cardDetails.d.ts +++ b/lib/types/cardDetails.d.ts @@ -1,7 +1,7 @@ export var unused: {}; export type CardDetails = { /** - * -An optional override of the default card statement descriptor for a single transfer + * -An optional override of the default card statement descriptor for a transfer. Accounts must be enabled by Moov to set this field. */ dynamicDescriptor: string; /** diff --git a/lib/types/transfers.d.ts b/lib/types/transfers.d.ts index 96732d3..209c7b0 100644 --- a/lib/types/transfers.d.ts +++ b/lib/types/transfers.d.ts @@ -1,7 +1,7 @@ /** * @typedef CardDetails * @type {object} - * @property {string} dynamicDescriptor -An optional override of the default card statement descriptor for a single transfer. + * @property {string} dynamicDescriptor -An optional override of the default card statement descriptor for a transfer. Accounts must be enabled by Moov to set this field. * @property {"recurring"|"unscheduled"|null} merchantInitiatedType - Enum: [recurring unscheduled] Describes how the card transaction was initiated * @tag Cards */ @@ -393,7 +393,7 @@ export class Transfers { } export type CardDetails = { /** - * -An optional override of the default card statement descriptor for a single transfer + * -An optional override of the default card statement descriptor for a transfer. Accounts must be enabled by Moov to set this field. */ dynamicDescriptor: string; /**