@tesouro/embedded-components-react 0.5.147 → 0.5.148

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.
@@ -42,6 +42,51 @@ type AmountOutput = {
42
42
  */
43
43
  value: number | string;
44
44
  };
45
+ /**
46
+ * The status of a bank account.
47
+ */
48
+ type BankAccountStatus = 'ACTIVE' | 'CLOSED';
49
+ /**
50
+ * Response model for a bank account with balance information.
51
+ */
52
+ type BankAccountWithBalanceResponse = {
53
+ /**
54
+ * Unique identifier for the bank account.
55
+ */
56
+ id: string;
57
+ /**
58
+ * Masked account number.
59
+ */
60
+ accountNumber: string;
61
+ /**
62
+ * Current balance of the bank account in minor units (e.g. cents for USD).
63
+ */
64
+ balance: AmountOutput;
65
+ /**
66
+ * Reference identifier associated with the bank account.
67
+ */
68
+ bankAccountReference?: null | string;
69
+ /**
70
+ * The UTC timestamp when the bank account was created.
71
+ */
72
+ createdDateTime: string;
73
+ /**
74
+ * Registered legal or DBA name on the bank account.
75
+ */
76
+ nameOnAccount: string;
77
+ /**
78
+ * Nickname for the bank account.
79
+ */
80
+ nickname?: null | string;
81
+ /**
82
+ * Bank routing number.
83
+ */
84
+ routingNumber: string;
85
+ /**
86
+ * The status of the bank account.
87
+ */
88
+ status: BankAccountStatus;
89
+ };
45
90
  /**
46
91
  * The card network (brand) an issued card runs on, such as Visa or Mastercard.
47
92
  */
@@ -241,5 +286,13 @@ declare const A_DEBIT_CARD: DebitCardDetailResponse;
241
286
  declare const A_DEBIT_CARD_CREDENTIALS: DebitCardCredentialsResponse;
242
287
  /** Debit counterpart of {@link A_PENDING_CREDIT_CARD}, and typed for the same reason. */
243
288
  declare const A_PENDING_DEBIT_CARD: DebitCardDetailResponse;
289
+ /**
290
+ * The account {@link A_DEBIT_CARD} is drawn on.
291
+ *
292
+ * `id` matches that card's `bankAccountId` deliberately: a debit card carries
293
+ * only the id, so the Funding account column is resolved by a *second* read, and
294
+ * a fixture whose id did not match would render the em-dash and look like a bug.
295
+ */
296
+ declare const A_BANK_ACCOUNT: BankAccountWithBalanceResponse;
244
297
 
245
- export { A_CREDIT_CARD, A_DEBIT_CARD, A_DEBIT_CARD_CREDENTIALS, A_PENDING_CREDIT_CARD, A_PENDING_DEBIT_CARD, A_WIDGET_INIT };
298
+ export { A_BANK_ACCOUNT, A_CREDIT_CARD, A_DEBIT_CARD, A_DEBIT_CARD_CREDENTIALS, A_PENDING_CREDIT_CARD, A_PENDING_DEBIT_CARD, A_WIDGET_INIT };
@@ -1,2 +1,2 @@
1
- import { A_CREDIT_CARD as e, A_DEBIT_CARD as t, A_DEBIT_CARD_CREDENTIALS as n, A_PENDING_CREDIT_CARD as r, A_PENDING_DEBIT_CARD as i, A_WIDGET_INIT as a } from "../libs/tesouro-embedded-components-react/shared/data-access-mocks/dist/lib/fixtures.js";
2
- export { e as A_CREDIT_CARD, t as A_DEBIT_CARD, n as A_DEBIT_CARD_CREDENTIALS, r as A_PENDING_CREDIT_CARD, i as A_PENDING_DEBIT_CARD, a as A_WIDGET_INIT };
1
+ import { A_BANK_ACCOUNT as e, A_CREDIT_CARD as t, A_DEBIT_CARD as n, A_DEBIT_CARD_CREDENTIALS as r, A_PENDING_CREDIT_CARD as i, A_PENDING_DEBIT_CARD as a, A_WIDGET_INIT as o } from "../libs/tesouro-embedded-components-react/shared/data-access-mocks/dist/lib/fixtures.js";
2
+ export { e as A_BANK_ACCOUNT, t as A_CREDIT_CARD, n as A_DEBIT_CARD, r as A_DEBIT_CARD_CREDENTIALS, i as A_PENDING_CREDIT_CARD, a as A_PENDING_DEBIT_CARD, o as A_WIDGET_INIT };
@@ -1,5 +1,5 @@
1
1
  //#region ../../libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js
2
- var e = "@tesouro/embedded-components-react", t = "0.5.147", n = "9e65acd5977b64cb5808b92bb8d7ba77272e6ea9", r = Object.freeze({
2
+ var e = "@tesouro/embedded-components-react", t = "0.5.148", n = "53e265c20b4ff06229dbe274cabebca1939f24be", r = Object.freeze({
3
3
  library_name: e,
4
4
  library_version: t,
5
5
  library_sha: n
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tesouro/embedded-components-react",
3
- "version": "0.5.147",
3
+ "version": "0.5.148",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "packageDepSync": {
@@ -180,6 +180,7 @@
180
180
  "{projectRoot}/scripts/assemble-readme.mjs",
181
181
  "{projectRoot}/scripts/pack-package.mjs",
182
182
  "{workspaceRoot}/apps/embedded-components-docs/content/authored/**",
183
+ "{workspaceRoot}/apps/embedded-components-docs/src/mocks/manifest.json",
183
184
  {
184
185
  "env": "TESOURO_EMBEDDED_LIBRARY_VERSION"
185
186
  }