@vrplatform/api 1.3.1-stage.2136 → 1.3.1-stage.2139

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.2136",
6
+ "version": "1.3.1-stage.2139",
7
7
  "description": "",
8
8
  "main": "build/main/index.js",
9
9
  "module": "build/module/index.js",
@@ -409,7 +409,7 @@ export interface paths {
409
409
  };
410
410
  get?: never;
411
411
  put?: never;
412
- /** @description Preview a bank rule against a bank record */
412
+ /** @description Preview an unsaved bank rule against one bank record */
413
413
  post: operations["postBankRulesPreview"];
414
414
  delete?: never;
415
415
  options?: never;
@@ -429,7 +429,8 @@ export interface paths {
429
429
  /** @description Update a bank rule */
430
430
  put: operations["putBankRulesById"];
431
431
  post?: never;
432
- delete?: never;
432
+ /** @description Delete a bank rule */
433
+ delete: operations["deleteBankRulesById"];
433
434
  options?: never;
434
435
  head?: never;
435
436
  patch?: never;
@@ -443,7 +444,7 @@ export interface paths {
443
444
  cookie?: never;
444
445
  };
445
446
  get?: never;
446
- /** @description Run a bank rule against selected bank records */
447
+ /** @description Run a saved bank rule against selected bank records (use dryRun for no writes) */
447
448
  put: operations["putBankRulesByIdRun"];
448
449
  post?: never;
449
450
  delete?: never;
@@ -7223,6 +7224,14 @@ export interface operations {
7223
7224
  uniqueRef?: string | null;
7224
7225
  shortRef?: string | null;
7225
7226
  } | null;
7227
+ contact?: {
7228
+ /** Format: uuid */
7229
+ id: string;
7230
+ name?: string | null;
7231
+ firstName?: string | null;
7232
+ uniqueRef?: string | null;
7233
+ shortRef?: string | null;
7234
+ } | null;
7226
7235
  taxRate?: {
7227
7236
  id: string;
7228
7237
  name: string;
@@ -7820,6 +7829,14 @@ export interface operations {
7820
7829
  uniqueRef?: string | null;
7821
7830
  shortRef?: string | null;
7822
7831
  } | null;
7832
+ contact?: {
7833
+ /** Format: uuid */
7834
+ id: string;
7835
+ name?: string | null;
7836
+ firstName?: string | null;
7837
+ uniqueRef?: string | null;
7838
+ shortRef?: string | null;
7839
+ } | null;
7823
7840
  taxRate?: {
7824
7841
  id: string;
7825
7842
  name: string;
@@ -8174,6 +8191,14 @@ export interface operations {
8174
8191
  uniqueRef?: string | null;
8175
8192
  shortRef?: string | null;
8176
8193
  } | null;
8194
+ contact?: {
8195
+ /** Format: uuid */
8196
+ id: string;
8197
+ name?: string | null;
8198
+ firstName?: string | null;
8199
+ uniqueRef?: string | null;
8200
+ shortRef?: string | null;
8201
+ } | null;
8177
8202
  taxRate?: {
8178
8203
  id: string;
8179
8204
  name: string;
@@ -8312,6 +8337,7 @@ export interface operations {
8312
8337
  /** Format: uuid */
8313
8338
  accountId: string;
8314
8339
  listingId?: string | null;
8340
+ contactId?: string | null;
8315
8341
  party?: ("owners" | "manager") | null;
8316
8342
  taxRateId?: string | null;
8317
8343
  taxBehavior?: ("excluded" | "included") | null;
@@ -8385,6 +8411,14 @@ export interface operations {
8385
8411
  uniqueRef?: string | null;
8386
8412
  shortRef?: string | null;
8387
8413
  } | null;
8414
+ contact?: {
8415
+ /** Format: uuid */
8416
+ id: string;
8417
+ name?: string | null;
8418
+ firstName?: string | null;
8419
+ uniqueRef?: string | null;
8420
+ shortRef?: string | null;
8421
+ } | null;
8388
8422
  taxRate?: {
8389
8423
  id: string;
8390
8424
  name: string;
@@ -8513,6 +8547,7 @@ export interface operations {
8513
8547
  /** Format: uuid */
8514
8548
  accountId: string;
8515
8549
  listingId?: string | null;
8550
+ contactId?: string | null;
8516
8551
  party?: ("owners" | "manager") | null;
8517
8552
  taxRateId?: string | null;
8518
8553
  taxBehavior?: ("excluded" | "included") | null;
@@ -8747,6 +8782,14 @@ export interface operations {
8747
8782
  uniqueRef?: string | null;
8748
8783
  shortRef?: string | null;
8749
8784
  } | null;
8785
+ contact?: {
8786
+ /** Format: uuid */
8787
+ id: string;
8788
+ name?: string | null;
8789
+ firstName?: string | null;
8790
+ uniqueRef?: string | null;
8791
+ shortRef?: string | null;
8792
+ } | null;
8750
8793
  taxRate?: {
8751
8794
  id: string;
8752
8795
  name: string;
@@ -8878,6 +8921,7 @@ export interface operations {
8878
8921
  /** Format: uuid */
8879
8922
  accountId: string;
8880
8923
  listingId?: string | null;
8924
+ contactId?: string | null;
8881
8925
  party?: ("owners" | "manager") | null;
8882
8926
  taxRateId?: string | null;
8883
8927
  taxBehavior?: ("excluded" | "included") | null;
@@ -8951,6 +8995,14 @@ export interface operations {
8951
8995
  uniqueRef?: string | null;
8952
8996
  shortRef?: string | null;
8953
8997
  } | null;
8998
+ contact?: {
8999
+ /** Format: uuid */
9000
+ id: string;
9001
+ name?: string | null;
9002
+ firstName?: string | null;
9003
+ uniqueRef?: string | null;
9004
+ shortRef?: string | null;
9005
+ } | null;
8954
9006
  taxRate?: {
8955
9007
  id: string;
8956
9008
  name: string;
@@ -9046,6 +9098,115 @@ export interface operations {
9046
9098
  };
9047
9099
  };
9048
9100
  };
9101
+ deleteBankRulesById: {
9102
+ parameters: {
9103
+ query?: never;
9104
+ header?: never;
9105
+ path: {
9106
+ id: string;
9107
+ };
9108
+ cookie?: never;
9109
+ };
9110
+ requestBody?: {
9111
+ content: {
9112
+ "application/json": Record<string, never>;
9113
+ };
9114
+ };
9115
+ responses: {
9116
+ /** @description Successful response */
9117
+ 200: {
9118
+ headers: {
9119
+ [name: string]: unknown;
9120
+ };
9121
+ content: {
9122
+ "application/json": {
9123
+ /** @constant */
9124
+ deleted: true;
9125
+ };
9126
+ };
9127
+ };
9128
+ /** @description Bad request */
9129
+ 400: {
9130
+ headers: {
9131
+ [name: string]: unknown;
9132
+ };
9133
+ content: {
9134
+ "application/json": {
9135
+ code: string;
9136
+ message: string;
9137
+ issues?: {
9138
+ message: string;
9139
+ }[];
9140
+ context?: unknown;
9141
+ };
9142
+ };
9143
+ };
9144
+ /** @description Unauthorized */
9145
+ 401: {
9146
+ headers: {
9147
+ [name: string]: unknown;
9148
+ };
9149
+ content: {
9150
+ "application/json": {
9151
+ code: string;
9152
+ message: string;
9153
+ issues?: {
9154
+ message: string;
9155
+ }[];
9156
+ context?: unknown;
9157
+ };
9158
+ };
9159
+ };
9160
+ /** @description Forbidden */
9161
+ 403: {
9162
+ headers: {
9163
+ [name: string]: unknown;
9164
+ };
9165
+ content: {
9166
+ "application/json": {
9167
+ code: string;
9168
+ message: string;
9169
+ issues?: {
9170
+ message: string;
9171
+ }[];
9172
+ context?: unknown;
9173
+ };
9174
+ };
9175
+ };
9176
+ /** @description Not found */
9177
+ 404: {
9178
+ headers: {
9179
+ [name: string]: unknown;
9180
+ };
9181
+ content: {
9182
+ "application/json": {
9183
+ code: string;
9184
+ message: string;
9185
+ issues?: {
9186
+ message: string;
9187
+ }[];
9188
+ context?: unknown;
9189
+ };
9190
+ };
9191
+ };
9192
+ /** @description Internal server error */
9193
+ 500: {
9194
+ headers: {
9195
+ [name: string]: unknown;
9196
+ };
9197
+ content: {
9198
+ "application/json": {
9199
+ code: string;
9200
+ message: string;
9201
+ issues?: {
9202
+ message: string;
9203
+ }[];
9204
+ context?: unknown;
9205
+ };
9206
+ };
9207
+ };
9208
+ };
9209
+ };
9049
9210
  putBankRulesByIdRun: {
9050
9211
  parameters: {
9051
9212
  query?: never;
@@ -23979,7 +24140,6 @@ export interface operations {
23979
24140
  txnCode?: string;
23980
24141
  published?: boolean;
23981
24142
  status?: "active" | "inactive";
23982
- ledger?: "trust" | "operating";
23983
24143
  startAt?: string;
23984
24144
  endAt?: string;
23985
24145
  search?: string;
@@ -24242,7 +24402,6 @@ export interface operations {
24242
24402
  txnCode?: string;
24243
24403
  published?: boolean;
24244
24404
  status?: "active" | "inactive";
24245
- ledger?: "trust" | "operating";
24246
24405
  startAt?: string;
24247
24406
  endAt?: string;
24248
24407
  search?: string;
@@ -30878,6 +31037,12 @@ export interface operations {
30878
31037
  /** @description Value in cents (100 = 1€) */
30879
31038
  balanceEnd: number;
30880
31039
  };
31040
+ summary: {
31041
+ name: string;
31042
+ text: string;
31043
+ value: number;
31044
+ separated: boolean;
31045
+ }[];
30881
31046
  payment: {
30882
31047
  /** @description Value in cents (100 = 1€) */
30883
31048
  expected: number;
@@ -31258,6 +31423,12 @@ export interface operations {
31258
31423
  /** @description Value in cents (100 = 1€) */
31259
31424
  balanceEnd: number;
31260
31425
  };
31426
+ summary: {
31427
+ name: string;
31428
+ text: string;
31429
+ value: number;
31430
+ separated: boolean;
31431
+ }[];
31261
31432
  payment: {
31262
31433
  /** @description Value in cents (100 = 1€) */
31263
31434
  expected: number;
@@ -31591,7 +31762,7 @@ export interface operations {
31591
31762
  /** @constant */
31592
31763
  type: "transaction";
31593
31764
  source: {
31594
- id: string;
31765
+ id: string | null;
31595
31766
  /** @enum {string} */
31596
31767
  type: "deposit" | "expense" | "payout";
31597
31768
  description: string;
@@ -31863,6 +32034,12 @@ export interface operations {
31863
32034
  /** @description Value in cents (100 = 1€) */
31864
32035
  balanceEnd: number;
31865
32036
  };
32037
+ summary: {
32038
+ name: string;
32039
+ text: string;
32040
+ value: number;
32041
+ separated: boolean;
32042
+ }[];
31866
32043
  payment: {
31867
32044
  /** @description Value in cents (100 = 1€) */
31868
32045
  expected: number;
@@ -32196,7 +32373,7 @@ export interface operations {
32196
32373
  /** @constant */
32197
32374
  type: "transaction";
32198
32375
  source: {
32199
- id: string;
32376
+ id: string | null;
32200
32377
  /** @enum {string} */
32201
32378
  type: "deposit" | "expense" | "payout";
32202
32379
  description: string;
@@ -34402,6 +34579,12 @@ export interface operations {
34402
34579
  /** @description Value in cents (100 = 1€) */
34403
34580
  balanceEnd: number;
34404
34581
  };
34582
+ summary: {
34583
+ name: string;
34584
+ text: string;
34585
+ value: number;
34586
+ separated: boolean;
34587
+ }[];
34405
34588
  payment: {
34406
34589
  /** @description Value in cents (100 = 1€) */
34407
34590
  expected: number;
@@ -34735,7 +34918,7 @@ export interface operations {
34735
34918
  /** @constant */
34736
34919
  type: "transaction";
34737
34920
  source: {
34738
- id: string;
34921
+ id: string | null;
34739
34922
  /** @enum {string} */
34740
34923
  type: "deposit" | "expense" | "payout";
34741
34924
  description: string;
@@ -35012,6 +35195,12 @@ export interface operations {
35012
35195
  /** @description Value in cents (100 = 1€) */
35013
35196
  balanceEnd: number;
35014
35197
  };
35198
+ summary: {
35199
+ name: string;
35200
+ text: string;
35201
+ value: number;
35202
+ separated: boolean;
35203
+ }[];
35015
35204
  payment: {
35016
35205
  /** @description Value in cents (100 = 1€) */
35017
35206
  expected: number;
@@ -35345,7 +35534,7 @@ export interface operations {
35345
35534
  /** @constant */
35346
35535
  type: "transaction";
35347
35536
  source: {
35348
- id: string;
35537
+ id: string | null;
35349
35538
  /** @enum {string} */
35350
35539
  type: "deposit" | "expense" | "payout";
35351
35540
  description: string;