@vrplatform/api 1.3.1-stage.2495 → 1.3.1-stage.2497

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.
@@ -409,7 +409,8 @@ export interface paths {
409
409
  /** @description Update bank record */
410
410
  put: operations["putBankRecordsById"];
411
411
  post?: never;
412
- delete?: never;
412
+ /** @description Permanently delete an unreconciled CSV-source bank record */
413
+ delete: operations["deleteBankRecordsById"];
413
414
  options?: never;
414
415
  head?: never;
415
416
  patch?: never;
@@ -4898,6 +4899,15 @@ export interface operations {
4898
4899
  appId?: string | null;
4899
4900
  /** @enum {string} */
4900
4901
  type: "transaction" | "balance";
4902
+ lock: {
4903
+ /** @enum {string} */
4904
+ status: "locked" | "unlocked";
4905
+ delete: {
4906
+ /** @enum {string} */
4907
+ status: "locked" | "unlocked";
4908
+ reasons: ("notCsvSource" | "plaidSource" | "reconciled" | "balanceRecord" | "bankRuleMatched")[];
4909
+ };
4910
+ };
4901
4911
  amount: number;
4902
4912
  balance: {
4903
4913
  current: number;
@@ -7587,6 +7597,15 @@ export interface operations {
7587
7597
  appId?: string | null;
7588
7598
  /** @enum {string} */
7589
7599
  type: "transaction" | "balance";
7600
+ lock: {
7601
+ /** @enum {string} */
7602
+ status: "locked" | "unlocked";
7603
+ delete: {
7604
+ /** @enum {string} */
7605
+ status: "locked" | "unlocked";
7606
+ reasons: ("notCsvSource" | "plaidSource" | "reconciled" | "balanceRecord" | "bankRuleMatched")[];
7607
+ };
7608
+ };
7590
7609
  amount: number;
7591
7610
  balance: {
7592
7611
  current: number;
@@ -8137,6 +8156,15 @@ export interface operations {
8137
8156
  appId?: string | null;
8138
8157
  /** @enum {string} */
8139
8158
  type: "transaction" | "balance";
8159
+ lock: {
8160
+ /** @enum {string} */
8161
+ status: "locked" | "unlocked";
8162
+ delete: {
8163
+ /** @enum {string} */
8164
+ status: "locked" | "unlocked";
8165
+ reasons: ("notCsvSource" | "plaidSource" | "reconciled" | "balanceRecord" | "bankRuleMatched")[];
8166
+ };
8167
+ };
8140
8168
  amount: number;
8141
8169
  balance: {
8142
8170
  current: number;
@@ -8481,6 +8509,117 @@ export interface operations {
8481
8509
  };
8482
8510
  };
8483
8511
  };
8512
+ deleteBankRecordsById: {
8513
+ parameters: {
8514
+ query?: {
8515
+ dryRun?: boolean;
8516
+ };
8517
+ header?: never;
8518
+ path: {
8519
+ id: string;
8520
+ };
8521
+ cookie?: never;
8522
+ };
8523
+ requestBody?: {
8524
+ content: {
8525
+ "application/json": Record<string, never>;
8526
+ };
8527
+ };
8528
+ responses: {
8529
+ /** @description Successful response */
8530
+ 200: {
8531
+ headers: {
8532
+ [name: string]: unknown;
8533
+ };
8534
+ content: {
8535
+ "application/json": {
8536
+ /** @constant */
8537
+ status: "deleted";
8538
+ };
8539
+ };
8540
+ };
8541
+ /** @description Bad request */
8542
+ 400: {
8543
+ headers: {
8544
+ [name: string]: unknown;
8545
+ };
8546
+ content: {
8547
+ "application/json": {
8548
+ code: string;
8549
+ message: string;
8550
+ issues?: {
8551
+ message: string;
8552
+ }[];
8553
+ context?: unknown;
8554
+ };
8555
+ };
8556
+ };
8557
+ /** @description Unauthorized */
8558
+ 401: {
8559
+ headers: {
8560
+ [name: string]: unknown;
8561
+ };
8562
+ content: {
8563
+ "application/json": {
8564
+ code: string;
8565
+ message: string;
8566
+ issues?: {
8567
+ message: string;
8568
+ }[];
8569
+ context?: unknown;
8570
+ };
8571
+ };
8572
+ };
8573
+ /** @description Forbidden */
8574
+ 403: {
8575
+ headers: {
8576
+ [name: string]: unknown;
8577
+ };
8578
+ content: {
8579
+ "application/json": {
8580
+ code: string;
8581
+ message: string;
8582
+ issues?: {
8583
+ message: string;
8584
+ }[];
8585
+ context?: unknown;
8586
+ };
8587
+ };
8588
+ };
8589
+ /** @description Not found */
8590
+ 404: {
8591
+ headers: {
8592
+ [name: string]: unknown;
8593
+ };
8594
+ content: {
8595
+ "application/json": {
8596
+ code: string;
8597
+ message: string;
8598
+ issues?: {
8599
+ message: string;
8600
+ }[];
8601
+ context?: unknown;
8602
+ };
8603
+ };
8604
+ };
8605
+ /** @description Internal server error */
8606
+ 500: {
8607
+ headers: {
8608
+ [name: string]: unknown;
8609
+ };
8610
+ content: {
8611
+ "application/json": {
8612
+ code: string;
8613
+ message: string;
8614
+ issues?: {
8615
+ message: string;
8616
+ }[];
8617
+ context?: unknown;
8618
+ };
8619
+ };
8620
+ };
8621
+ };
8622
+ };
8484
8623
  getBankRules: {
8485
8624
  parameters: {
8486
8625
  query?: {