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