@vitrina/api 15.28.1 → 15.28.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.
package/dist/index.d.cts CHANGED
@@ -259313,6 +259313,24 @@ interface components {
259313
259313
  reason: string;
259314
259314
  };
259315
259315
  };
259316
+ FintocAccountMatch: {
259317
+ /** @description Fintoc's account id. */
259318
+ account_id: string;
259319
+ /** @description The Finanzas bank account that now stands for it. */
259320
+ bank_account_id: string;
259321
+ /**
259322
+ * @description `kept`: this link already had it. `adopted`: the existing account with the same number and currency (created by the Chipax import or a cartola upload) took the link, with its movements. `created`: a new account.
259323
+ * @enum {string}
259324
+ */
259325
+ outcome: "kept" | "adopted" | "created";
259326
+ /**
259327
+ * @description Why an account with the same number and currency was NOT adopted (a new one was created instead); null when nothing was in doubt.
259328
+ * @enum {string|null}
259329
+ */
259330
+ reason: "several_candidates" | "different_bank" | "different_holder" | "already_fed" | null;
259331
+ /** @description The existing accounts with the same number and currency. */
259332
+ candidate_bank_account_ids: string[];
259333
+ };
259316
259334
  BankFeedConnection: {
259317
259335
  id: string;
259318
259336
  /** @enum {string} */
@@ -259330,6 +259348,8 @@ interface components {
259330
259348
  last_sync_status: string | null;
259331
259349
  last_sync_error: string | null;
259332
259350
  sync_cursor: string | null;
259351
+ /** @description Connect answer only: what the link did with each of its accounts. */
259352
+ account_matches?: components["schemas"]["FintocAccountMatch"][];
259333
259353
  };
259334
259354
  BankFeedFintocConnectBody: {
259335
259355
  exchange_token?: string;
@@ -259414,6 +259434,8 @@ interface components {
259414
259434
  reconnect: boolean;
259415
259435
  disconnect: boolean;
259416
259436
  };
259437
+ /** @description Connect and reconnect answers only: per linked account, whether it was kept, adopted the existing account with the same number and currency, or created (with the reason a match was not adopted). */
259438
+ account_matches?: components["schemas"]["FintocAccountMatch"][];
259417
259439
  };
259418
259440
  FinanzasConnections: {
259419
259441
  connections: components["schemas"]["FinanzasConnection"][];
package/dist/index.d.ts CHANGED
@@ -259313,6 +259313,24 @@ interface components {
259313
259313
  reason: string;
259314
259314
  };
259315
259315
  };
259316
+ FintocAccountMatch: {
259317
+ /** @description Fintoc's account id. */
259318
+ account_id: string;
259319
+ /** @description The Finanzas bank account that now stands for it. */
259320
+ bank_account_id: string;
259321
+ /**
259322
+ * @description `kept`: this link already had it. `adopted`: the existing account with the same number and currency (created by the Chipax import or a cartola upload) took the link, with its movements. `created`: a new account.
259323
+ * @enum {string}
259324
+ */
259325
+ outcome: "kept" | "adopted" | "created";
259326
+ /**
259327
+ * @description Why an account with the same number and currency was NOT adopted (a new one was created instead); null when nothing was in doubt.
259328
+ * @enum {string|null}
259329
+ */
259330
+ reason: "several_candidates" | "different_bank" | "different_holder" | "already_fed" | null;
259331
+ /** @description The existing accounts with the same number and currency. */
259332
+ candidate_bank_account_ids: string[];
259333
+ };
259316
259334
  BankFeedConnection: {
259317
259335
  id: string;
259318
259336
  /** @enum {string} */
@@ -259330,6 +259348,8 @@ interface components {
259330
259348
  last_sync_status: string | null;
259331
259349
  last_sync_error: string | null;
259332
259350
  sync_cursor: string | null;
259351
+ /** @description Connect answer only: what the link did with each of its accounts. */
259352
+ account_matches?: components["schemas"]["FintocAccountMatch"][];
259333
259353
  };
259334
259354
  BankFeedFintocConnectBody: {
259335
259355
  exchange_token?: string;
@@ -259414,6 +259434,8 @@ interface components {
259414
259434
  reconnect: boolean;
259415
259435
  disconnect: boolean;
259416
259436
  };
259437
+ /** @description Connect and reconnect answers only: per linked account, whether it was kept, adopted the existing account with the same number and currency, or created (with the reason a match was not adopted). */
259438
+ account_matches?: components["schemas"]["FintocAccountMatch"][];
259417
259439
  };
259418
259440
  FinanzasConnections: {
259419
259441
  connections: components["schemas"]["FinanzasConnection"][];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitrina/api",
3
- "version": "15.28.1",
3
+ "version": "15.28.2",
4
4
  "description": "Typed TypeScript SDK for the Vitrina API pública — generated from the committed openapi.public.json (ADR 0106).",
5
5
  "type": "module",
6
6
  "license": "MIT",