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