@vrplatform/api 1.3.1-stage.1430 → 1.3.1-stage.1431

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.
@@ -1203,23 +1203,6 @@ export interface paths {
1203
1203
  patch?: never;
1204
1204
  trace?: never;
1205
1205
  };
1206
- "/reports/owner-statement-summaries-per-layout-v2": {
1207
- parameters: {
1208
- query?: never;
1209
- header?: never;
1210
- path?: never;
1211
- cookie?: never;
1212
- };
1213
- /** @description Owner statement summaries aggregated by contact (per layout, v2) */
1214
- get: operations["getOwnerStatementSummariesPerLayoutReportV2"];
1215
- put?: never;
1216
- post?: never;
1217
- delete?: never;
1218
- options?: never;
1219
- head?: never;
1220
- patch?: never;
1221
- trace?: never;
1222
- };
1223
1206
  "/reports/owner-statement-summaries-per-layout/csv": {
1224
1207
  parameters: {
1225
1208
  query?: never;
@@ -16196,133 +16179,6 @@ export interface operations {
16196
16179
  };
16197
16180
  };
16198
16181
  };
16199
- getOwnerStatementSummariesPerLayoutReportV2: {
16200
- parameters: {
16201
- query: {
16202
- startAt: string;
16203
- endAt: string;
16204
- /** @description comma separated listings */
16205
- listingIds?: string;
16206
- };
16207
- header?: never;
16208
- path?: never;
16209
- cookie?: never;
16210
- };
16211
- requestBody?: never;
16212
- responses: {
16213
- /** @description Successful response */
16214
- 200: {
16215
- headers: {
16216
- [name: string]: unknown;
16217
- };
16218
- content: {
16219
- "application/json": {
16220
- data: {
16221
- contact: {
16222
- contactId: string;
16223
- name?: string;
16224
- firstName?: string;
16225
- /** Format: email */
16226
- email?: string;
16227
- phone?: string;
16228
- };
16229
- /** @description Currency in ISO 4217 format, will be converted to lowercase */
16230
- currency: string;
16231
- financials: {
16232
- balanceStart: number;
16233
- netRevenue: number;
16234
- expenses: number;
16235
- transfers: number;
16236
- netIncome: number;
16237
- currentBalance: number;
16238
- balanceEnd: number;
16239
- };
16240
- }[];
16241
- };
16242
- };
16243
- };
16244
- /** @description Bad request */
16245
- 400: {
16246
- headers: {
16247
- [name: string]: unknown;
16248
- };
16249
- content: {
16250
- "application/json": {
16251
- code: string;
16252
- message: string;
16253
- issues?: {
16254
- message: string;
16255
- }[];
16256
- context?: unknown;
16257
- };
16258
- };
16259
- };
16260
- /** @description Unauthorized */
16261
- 401: {
16262
- headers: {
16263
- [name: string]: unknown;
16264
- };
16265
- content: {
16266
- "application/json": {
16267
- code: string;
16268
- message: string;
16269
- issues?: {
16270
- message: string;
16271
- }[];
16272
- context?: unknown;
16273
- };
16274
- };
16275
- };
16276
- /** @description Forbidden */
16277
- 403: {
16278
- headers: {
16279
- [name: string]: unknown;
16280
- };
16281
- content: {
16282
- "application/json": {
16283
- code: string;
16284
- message: string;
16285
- issues?: {
16286
- message: string;
16287
- }[];
16288
- context?: unknown;
16289
- };
16290
- };
16291
- };
16292
- /** @description Not found */
16293
- 404: {
16294
- headers: {
16295
- [name: string]: unknown;
16296
- };
16297
- content: {
16298
- "application/json": {
16299
- code: string;
16300
- message: string;
16301
- issues?: {
16302
- message: string;
16303
- }[];
16304
- context?: unknown;
16305
- };
16306
- };
16307
- };
16308
- /** @description Internal server error */
16309
- 500: {
16310
- headers: {
16311
- [name: string]: unknown;
16312
- };
16313
- content: {
16314
- "application/json": {
16315
- code: string;
16316
- message: string;
16317
- issues?: {
16318
- message: string;
16319
- }[];
16320
- context?: unknown;
16321
- };
16322
- };
16323
- };
16324
- };
16325
- };
16326
16182
  getOwnerStatementSummariesPerLayoutReportCsv: {
16327
16183
  parameters: {
16328
16184
  query: {
@@ -16482,12 +16338,14 @@ export interface operations {
16482
16338
  netRevenueSection: {
16483
16339
  title: string;
16484
16340
  rows: {
16341
+ id: string;
16485
16342
  title: string;
16486
16343
  statementIds?: string[];
16487
16344
  columns: {
16488
16345
  title: string;
16489
16346
  value: number | string;
16490
16347
  formatted: string;
16348
+ accountIds: string[];
16491
16349
  }[];
16492
16350
  }[];
16493
16351
  subtotal?: {
@@ -16496,18 +16354,21 @@ export interface operations {
16496
16354
  title: string;
16497
16355
  value: number | string;
16498
16356
  formatted: string;
16357
+ accountIds: string[];
16499
16358
  }[];
16500
16359
  };
16501
16360
  };
16502
16361
  otherSections: {
16503
16362
  title: string;
16504
16363
  rows: {
16364
+ id: string;
16505
16365
  title: string;
16506
16366
  statementIds?: string[];
16507
16367
  columns: {
16508
16368
  title: string;
16509
16369
  value: number | string;
16510
16370
  formatted: string;
16371
+ accountIds: string[];
16511
16372
  }[];
16512
16373
  }[];
16513
16374
  subtotal?: {
@@ -16516,18 +16377,21 @@ export interface operations {
16516
16377
  title: string;
16517
16378
  value: number | string;
16518
16379
  formatted: string;
16380
+ accountIds: string[];
16519
16381
  }[];
16520
16382
  };
16521
16383
  }[];
16522
16384
  transfersSection?: {
16523
16385
  title: string;
16524
16386
  rows: {
16387
+ id: string;
16525
16388
  title: string;
16526
16389
  statementIds?: string[];
16527
16390
  columns: {
16528
16391
  title: string;
16529
16392
  value: number | string;
16530
16393
  formatted: string;
16394
+ accountIds: string[];
16531
16395
  }[];
16532
16396
  }[];
16533
16397
  subtotal?: {
@@ -16536,10 +16400,23 @@ export interface operations {
16536
16400
  title: string;
16537
16401
  value: number | string;
16538
16402
  formatted: string;
16403
+ accountIds: string[];
16539
16404
  }[];
16540
16405
  };
16541
16406
  };
16542
16407
  }[];
16408
+ issues?: {
16409
+ /** @constant */
16410
+ code: "orphanOwnerJournalEntries";
16411
+ /** @constant */
16412
+ severity: "warning";
16413
+ context: {
16414
+ affected: number;
16415
+ startAt: string;
16416
+ endAt: string;
16417
+ };
16418
+ message: string;
16419
+ }[];
16543
16420
  };
16544
16421
  };
16545
16422
  };
@@ -21810,6 +21687,26 @@ export interface operations {
21810
21687
  severity: "error";
21811
21688
  context: Record<string, never>;
21812
21689
  message: string;
21690
+ } | {
21691
+ /** @constant */
21692
+ code: "previousUnpublishedStatement";
21693
+ /** @constant */
21694
+ severity: "error";
21695
+ context: {
21696
+ priorStatementStartAt: string;
21697
+ priorStatementStatus: string;
21698
+ };
21699
+ message: string;
21700
+ } | {
21701
+ /** @constant */
21702
+ code: "previousUnattachedOwnerActivity";
21703
+ /** @constant */
21704
+ severity: "error";
21705
+ context: {
21706
+ affected: number;
21707
+ windowStartAt: string;
21708
+ };
21709
+ message: string;
21813
21710
  } | {
21814
21711
  /** @constant */
21815
21712
  code: "balanceMismatch_start";
@@ -21854,6 +21751,16 @@ export interface operations {
21854
21751
  affected: number;
21855
21752
  };
21856
21753
  message: string;
21754
+ } | {
21755
+ /** @constant */
21756
+ code: "missingPreviousStatement";
21757
+ /** @constant */
21758
+ severity: "warning";
21759
+ context: {
21760
+ periodStartAt: string;
21761
+ statementStartAt: string;
21762
+ };
21763
+ message: string;
21857
21764
  } | {
21858
21765
  /** @constant */
21859
21766
  code: "unpaidReservations";
@@ -21867,8 +21774,10 @@ export interface operations {
21867
21774
  /** @constant */
21868
21775
  severity: "warning";
21869
21776
  context: {
21870
- layoutUpdatedAt: string;
21871
- statementCreatedAt: string;
21777
+ layoutVersion?: number | null;
21778
+ statementLayoutVersion?: number | null;
21779
+ layoutUpdatedAt?: string | null;
21780
+ statementCreatedAt?: string | null;
21872
21781
  };
21873
21782
  message: string;
21874
21783
  })[];
@@ -22101,6 +22010,26 @@ export interface operations {
22101
22010
  severity: "error";
22102
22011
  context: Record<string, never>;
22103
22012
  message: string;
22013
+ } | {
22014
+ /** @constant */
22015
+ code: "previousUnpublishedStatement";
22016
+ /** @constant */
22017
+ severity: "error";
22018
+ context: {
22019
+ priorStatementStartAt: string;
22020
+ priorStatementStatus: string;
22021
+ };
22022
+ message: string;
22023
+ } | {
22024
+ /** @constant */
22025
+ code: "previousUnattachedOwnerActivity";
22026
+ /** @constant */
22027
+ severity: "error";
22028
+ context: {
22029
+ affected: number;
22030
+ windowStartAt: string;
22031
+ };
22032
+ message: string;
22104
22033
  } | {
22105
22034
  /** @constant */
22106
22035
  code: "balanceMismatch_start";
@@ -22145,6 +22074,16 @@ export interface operations {
22145
22074
  affected: number;
22146
22075
  };
22147
22076
  message: string;
22077
+ } | {
22078
+ /** @constant */
22079
+ code: "missingPreviousStatement";
22080
+ /** @constant */
22081
+ severity: "warning";
22082
+ context: {
22083
+ periodStartAt: string;
22084
+ statementStartAt: string;
22085
+ };
22086
+ message: string;
22148
22087
  } | {
22149
22088
  /** @constant */
22150
22089
  code: "unpaidReservations";
@@ -22158,8 +22097,10 @@ export interface operations {
22158
22097
  /** @constant */
22159
22098
  severity: "warning";
22160
22099
  context: {
22161
- layoutUpdatedAt: string;
22162
- statementCreatedAt: string;
22100
+ layoutVersion?: number | null;
22101
+ statementLayoutVersion?: number | null;
22102
+ layoutUpdatedAt?: string | null;
22103
+ statementCreatedAt?: string | null;
22163
22104
  };
22164
22105
  message: string;
22165
22106
  })[];
@@ -22238,6 +22179,7 @@ export interface operations {
22238
22179
  })[];
22239
22180
  }[];
22240
22181
  id: string;
22182
+ version: number;
22241
22183
  activeListings: {
22242
22184
  id: string;
22243
22185
  name?: string | null;
@@ -22591,6 +22533,26 @@ export interface operations {
22591
22533
  severity: "error";
22592
22534
  context: Record<string, never>;
22593
22535
  message: string;
22536
+ } | {
22537
+ /** @constant */
22538
+ code: "previousUnpublishedStatement";
22539
+ /** @constant */
22540
+ severity: "error";
22541
+ context: {
22542
+ priorStatementStartAt: string;
22543
+ priorStatementStatus: string;
22544
+ };
22545
+ message: string;
22546
+ } | {
22547
+ /** @constant */
22548
+ code: "previousUnattachedOwnerActivity";
22549
+ /** @constant */
22550
+ severity: "error";
22551
+ context: {
22552
+ affected: number;
22553
+ windowStartAt: string;
22554
+ };
22555
+ message: string;
22594
22556
  } | {
22595
22557
  /** @constant */
22596
22558
  code: "balanceMismatch_start";
@@ -22635,6 +22597,16 @@ export interface operations {
22635
22597
  affected: number;
22636
22598
  };
22637
22599
  message: string;
22600
+ } | {
22601
+ /** @constant */
22602
+ code: "missingPreviousStatement";
22603
+ /** @constant */
22604
+ severity: "warning";
22605
+ context: {
22606
+ periodStartAt: string;
22607
+ statementStartAt: string;
22608
+ };
22609
+ message: string;
22638
22610
  } | {
22639
22611
  /** @constant */
22640
22612
  code: "unpaidReservations";
@@ -22648,8 +22620,10 @@ export interface operations {
22648
22620
  /** @constant */
22649
22621
  severity: "warning";
22650
22622
  context: {
22651
- layoutUpdatedAt: string;
22652
- statementCreatedAt: string;
22623
+ layoutVersion?: number | null;
22624
+ statementLayoutVersion?: number | null;
22625
+ layoutUpdatedAt?: string | null;
22626
+ statementCreatedAt?: string | null;
22653
22627
  };
22654
22628
  message: string;
22655
22629
  })[];
@@ -22728,6 +22702,7 @@ export interface operations {
22728
22702
  })[];
22729
22703
  }[];
22730
22704
  id: string;
22705
+ version: number;
22731
22706
  activeListings: {
22732
22707
  id: string;
22733
22708
  name?: string | null;
@@ -23085,6 +23060,7 @@ export interface operations {
23085
23060
  })[];
23086
23061
  }[];
23087
23062
  id: string;
23063
+ version: number;
23088
23064
  activeListings: {
23089
23065
  id: string;
23090
23066
  name?: string | null;
@@ -23336,6 +23312,7 @@ export interface operations {
23336
23312
  })[];
23337
23313
  }[];
23338
23314
  id: string;
23315
+ version: number;
23339
23316
  activeListings: {
23340
23317
  id: string;
23341
23318
  name?: string | null;
@@ -23524,6 +23501,7 @@ export interface operations {
23524
23501
  })[];
23525
23502
  }[];
23526
23503
  id: string;
23504
+ version: number;
23527
23505
  activeListings: {
23528
23506
  id: string;
23529
23507
  name?: string | null;
@@ -23767,6 +23745,7 @@ export interface operations {
23767
23745
  })[];
23768
23746
  }[];
23769
23747
  id: string;
23748
+ version: number;
23770
23749
  activeListings: {
23771
23750
  id: string;
23772
23751
  name?: string | null;
@@ -24599,6 +24578,26 @@ export interface operations {
24599
24578
  severity: "error";
24600
24579
  context: Record<string, never>;
24601
24580
  message: string;
24581
+ } | {
24582
+ /** @constant */
24583
+ code: "previousUnpublishedStatement";
24584
+ /** @constant */
24585
+ severity: "error";
24586
+ context: {
24587
+ priorStatementStartAt: string;
24588
+ priorStatementStatus: string;
24589
+ };
24590
+ message: string;
24591
+ } | {
24592
+ /** @constant */
24593
+ code: "previousUnattachedOwnerActivity";
24594
+ /** @constant */
24595
+ severity: "error";
24596
+ context: {
24597
+ affected: number;
24598
+ windowStartAt: string;
24599
+ };
24600
+ message: string;
24602
24601
  } | {
24603
24602
  /** @constant */
24604
24603
  code: "balanceMismatch_start";
@@ -24643,6 +24642,16 @@ export interface operations {
24643
24642
  affected: number;
24644
24643
  };
24645
24644
  message: string;
24645
+ } | {
24646
+ /** @constant */
24647
+ code: "missingPreviousStatement";
24648
+ /** @constant */
24649
+ severity: "warning";
24650
+ context: {
24651
+ periodStartAt: string;
24652
+ statementStartAt: string;
24653
+ };
24654
+ message: string;
24646
24655
  } | {
24647
24656
  /** @constant */
24648
24657
  code: "unpaidReservations";
@@ -24656,8 +24665,10 @@ export interface operations {
24656
24665
  /** @constant */
24657
24666
  severity: "warning";
24658
24667
  context: {
24659
- layoutUpdatedAt: string;
24660
- statementCreatedAt: string;
24668
+ layoutVersion?: number | null;
24669
+ statementLayoutVersion?: number | null;
24670
+ layoutUpdatedAt?: string | null;
24671
+ statementCreatedAt?: string | null;
24661
24672
  };
24662
24673
  message: string;
24663
24674
  })[];
@@ -24736,6 +24747,7 @@ export interface operations {
24736
24747
  })[];
24737
24748
  }[];
24738
24749
  id: string;
24750
+ version: number;
24739
24751
  activeListings: {
24740
24752
  id: string;
24741
24753
  name?: string | null;
@@ -25094,6 +25106,26 @@ export interface operations {
25094
25106
  severity: "error";
25095
25107
  context: Record<string, never>;
25096
25108
  message: string;
25109
+ } | {
25110
+ /** @constant */
25111
+ code: "previousUnpublishedStatement";
25112
+ /** @constant */
25113
+ severity: "error";
25114
+ context: {
25115
+ priorStatementStartAt: string;
25116
+ priorStatementStatus: string;
25117
+ };
25118
+ message: string;
25119
+ } | {
25120
+ /** @constant */
25121
+ code: "previousUnattachedOwnerActivity";
25122
+ /** @constant */
25123
+ severity: "error";
25124
+ context: {
25125
+ affected: number;
25126
+ windowStartAt: string;
25127
+ };
25128
+ message: string;
25097
25129
  } | {
25098
25130
  /** @constant */
25099
25131
  code: "balanceMismatch_start";
@@ -25138,6 +25170,16 @@ export interface operations {
25138
25170
  affected: number;
25139
25171
  };
25140
25172
  message: string;
25173
+ } | {
25174
+ /** @constant */
25175
+ code: "missingPreviousStatement";
25176
+ /** @constant */
25177
+ severity: "warning";
25178
+ context: {
25179
+ periodStartAt: string;
25180
+ statementStartAt: string;
25181
+ };
25182
+ message: string;
25141
25183
  } | {
25142
25184
  /** @constant */
25143
25185
  code: "unpaidReservations";
@@ -25151,8 +25193,10 @@ export interface operations {
25151
25193
  /** @constant */
25152
25194
  severity: "warning";
25153
25195
  context: {
25154
- layoutUpdatedAt: string;
25155
- statementCreatedAt: string;
25196
+ layoutVersion?: number | null;
25197
+ statementLayoutVersion?: number | null;
25198
+ layoutUpdatedAt?: string | null;
25199
+ statementCreatedAt?: string | null;
25156
25200
  };
25157
25201
  message: string;
25158
25202
  })[];
@@ -25231,6 +25275,7 @@ export interface operations {
25231
25275
  })[];
25232
25276
  }[];
25233
25277
  id: string;
25278
+ version: number;
25234
25279
  activeListings: {
25235
25280
  id: string;
25236
25281
  name?: string | null;