@spritz-finance/api-client 0.7.1 → 0.7.2

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.
@@ -7187,11 +7187,31 @@ interface operations {
7187
7187
  */
7188
7188
  bankAccountId: string;
7189
7189
  /**
7190
- * @description Institution name used for funding source display
7190
+ * @description Institution name used for funding source display. Prefer `institution.name` when present; this field will be removed in a future release.
7191
7191
  * @example Plaid Test Bank
7192
7192
  * @example null
7193
7193
  */
7194
7194
  institutionName: string | null;
7195
+ /** @description Branding metadata for the institution backing the funding source, or null when no institution data is available. */
7196
+ institution: {
7197
+ /**
7198
+ * @description Display name for the institution
7199
+ * @example Chase
7200
+ */
7201
+ name: string;
7202
+ /**
7203
+ * @description Absolute URL to the institution's logo (PNG). Null when the institution has no logo on file.
7204
+ * @example https://assets.platform.spritz.finance/institutions/ins_109508.png
7205
+ * @example null
7206
+ */
7207
+ logoUrl: string | null;
7208
+ /**
7209
+ * @description Hex color (e.g. `#1e88e5`) representing the institution's brand. Null when unavailable.
7210
+ * @example #1e88e5
7211
+ * @example null
7212
+ */
7213
+ primaryColor: string | null;
7214
+ } | null;
7195
7215
  /**
7196
7216
  * @description Last 4 digits of the linked bank account number
7197
7217
  * @example 6789
@@ -7550,11 +7570,31 @@ interface operations {
7550
7570
  */
7551
7571
  bankAccountId: string;
7552
7572
  /**
7553
- * @description Institution name used for funding source display
7573
+ * @description Institution name used for funding source display. Prefer `institution.name` when present; this field will be removed in a future release.
7554
7574
  * @example Plaid Test Bank
7555
7575
  * @example null
7556
7576
  */
7557
7577
  institutionName: string | null;
7578
+ /** @description Branding metadata for the institution backing the funding source, or null when no institution data is available. */
7579
+ institution: {
7580
+ /**
7581
+ * @description Display name for the institution
7582
+ * @example Chase
7583
+ */
7584
+ name: string;
7585
+ /**
7586
+ * @description Absolute URL to the institution's logo (PNG). Null when the institution has no logo on file.
7587
+ * @example https://assets.platform.spritz.finance/institutions/ins_109508.png
7588
+ * @example null
7589
+ */
7590
+ logoUrl: string | null;
7591
+ /**
7592
+ * @description Hex color (e.g. `#1e88e5`) representing the institution's brand. Null when unavailable.
7593
+ * @example #1e88e5
7594
+ * @example null
7595
+ */
7596
+ primaryColor: string | null;
7597
+ } | null;
7558
7598
  /**
7559
7599
  * @description Last 4 digits of the linked bank account number
7560
7600
  * @example 6789
@@ -25385,6 +25425,11 @@ declare class FundingSourceService {
25385
25425
  id: string;
25386
25426
  bankAccountId: string;
25387
25427
  institutionName: string | null;
25428
+ institution: {
25429
+ name: string;
25430
+ logoUrl: string | null;
25431
+ primaryColor: string | null;
25432
+ } | null;
25388
25433
  accountNumberLast4: string | null;
25389
25434
  accountType: "checking" | "savings" | "business" | "unknown";
25390
25435
  status: "pending" | "active" | "review_required" | "ineligible" | "disabled";
@@ -25396,6 +25441,11 @@ declare class FundingSourceService {
25396
25441
  id: string;
25397
25442
  bankAccountId: string;
25398
25443
  institutionName: string | null;
25444
+ institution: {
25445
+ name: string;
25446
+ logoUrl: string | null;
25447
+ primaryColor: string | null;
25448
+ } | null;
25399
25449
  accountNumberLast4: string | null;
25400
25450
  accountType: "checking" | "savings" | "business" | "unknown";
25401
25451
  status: "pending" | "active" | "review_required" | "ineligible" | "disabled";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spritz-finance/api-client",
3
- "version": "0.7.1",
3
+ "version": "0.7.2",
4
4
  "packageManager": "yarn@1.22.22",
5
5
  "description": "Typescript library for interacting with the Spritz Finance API",
6
6
  "type": "module",