Skip to content
This repository was archived by the owner on May 30, 2025. It is now read-only.

Commit e61442f

Browse files
Merge pull request #66 from moovfinancial/doc-292-node-section-has-broken-links
FE-419 Node docs have broken links
2 parents 247aa10 + 7e0195e commit e61442f

File tree

11 files changed

+723
-76
lines changed

11 files changed

+723
-76
lines changed

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,19 @@ The following JSDoc tags should be included on any functions, methods, types, an
6565

6666
@enum - To document Enums
6767

68-
@private - To not include the in any public documentation for customers.
68+
@private - To not include the in any public documentation for customers.
6969

70+
## Documentation generation
71+
72+
To generate the documentation, run
73+
74+
```bash
75+
npm run docs
76+
```
77+
78+
The generation logic is in `scripts/generateDocs.cjs`. We parse the raw data produced by JSDoc and then run it through a set of handlebars templates in `docs/templates`. The final output is in `docs/output`.
79+
80+
Handlebars "helpers" do a lot of the custom documentation generation we require for our documentation website. See the calls to `handlebars.registerHelper()` in `scripts/generateDocs.cjs` for more information.
7081

7182
## Troubleshooting and support
7283

docs/output/_index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ try {
189189
moov.enrichedAddresses
190190
```
191191

192-
Read more on [enrichedAddresses](enriched-Addresses) in the Moov Node SDK.
192+
Read more on [enrichedAddresses](enriched-addresses) in the Moov Node SDK.
193193

194194
Gets the Enriched Address API.
195195

@@ -213,7 +213,7 @@ try {
213213
moov.enrichedProfiles
214214
```
215215

216-
Read more on [enrichedProfiles](enriched-Profiles) in the Moov Node SDK.
216+
Read more on [enrichedProfiles](enriched-profiles) in the Moov Node SDK.
217217

218218
Gets the Enriched Profile API.
219219

@@ -237,7 +237,7 @@ try {
237237
moov.paymentMethods
238238
```
239239

240-
Read more on [paymentMethods](payment-Methods) in the Moov Node SDK.
240+
Read more on [paymentMethods](payment-methods) in the Moov Node SDK.
241241

242242
Gets the Payment Methods API.
243243

docs/output/accounts.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,7 @@ Describes a Moov account associated with an individual or a business.
198198
| profile | [Profile](#profile) | Details for individual or business |
199199
| metadata | `object` | Arbitrary key-value pairs |
200200
| foreignID | `string` | Optional identification or alias |
201+
| verification | [AccountVerification](#accountverification) | Describes identity verification status and relevant identity verification documents |
201202
| customerSupport | [CustomerSupport](#customersupport), `null` | Displayed on credit card transactions (business only) |
202203
| settings | [AccountSettings](#accountsettings), `null` | Account settings |
203204
| createdOn | `string` | Date account was created |
@@ -534,6 +535,18 @@ Describes the responsibilities associated with a business representative.
534535

535536

536537

538+
### AccountVerification
539+
540+
Describes the verification state of an account
541+
542+
**Properties**
543+
544+
| Property | Type | Description |
545+
| ---- | ---- | ----------- |
546+
| verificationStatus | `unverified`, `pending`, `resubmit`, `review`, `verified`, `failed`| The status of an identity verification for a profile |
547+
548+
549+
537550
### CustomerSupport
538551

539552
Describes customer support contact information for a business account.

docs/output/cards.md

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -192,19 +192,6 @@ Describes a Card account.
192192

193193

194194

195-
**Properties**
196-
197-
| Property | Type | Description |
198-
| ---- | ---- | ----------- |
199-
| dynamicDescriptor | `string`| An optional override of the default card statement descriptor for a single transfer. |
200-
| merchantInitiatedType | `recurring`, `unscheduled`, `null`| Enum: [recurring unscheduled] Describes how the card transaction was initiated |
201-
202-
203-
204-
### CardDetails
205-
206-
207-
208195
**Properties**
209196

210197
| Property | Type | Description |

docs/output/transfers.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,19 @@ try {
337337

338338

339339
## Types
340+
### CardDetails
341+
342+
343+
344+
**Properties**
345+
346+
| Property | Type | Description |
347+
| ---- | ---- | ----------- |
348+
| dynamicDescriptor | `string`| An optional override of the default card statement descriptor for a single transfer. |
349+
| transactionSource | `first-recurring`, `recurring`, `unscheduled`, `null`| Enum: [first-recurring recurring unscheduled] Describes how the card transaction was initiated |
350+
351+
352+
340353
### PaymentMethodAccount
341354

342355
High-level account information associated with a payment method.

docs/templates/partials/member.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
{{lowercase memberof}}.{{name}}
55
```
66

7-
Read more on [{{name}}]({{name}}) in the Moov Node SDK.
7+
Read more on [{{name}}]({{paramCase name}}) in the Moov Node SDK.
88

99
{{summaryOrDescription .}}
1010

0 commit comments

Comments
 (0)