@vrplatform/api 1.3.1-1417 → 1.3.1-1450

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.
@@ -58,6 +58,23 @@ export interface paths {
58
58
  patch?: never;
59
59
  trace?: never;
60
60
  };
61
+ "/accounts/{id}/recalculate-balances": {
62
+ parameters: {
63
+ query?: never;
64
+ header?: never;
65
+ path?: never;
66
+ cookie?: never;
67
+ };
68
+ get?: never;
69
+ put?: never;
70
+ /** @description Recalculate balances for an account by ID */
71
+ post: operations["postAccounts:idRecalculate-balances"];
72
+ delete?: never;
73
+ options?: never;
74
+ head?: never;
75
+ patch?: never;
76
+ trace?: never;
77
+ };
61
78
  "/apps": {
62
79
  parameters: {
63
80
  query?: never;
@@ -1187,23 +1204,6 @@ export interface paths {
1187
1204
  patch?: never;
1188
1205
  trace?: never;
1189
1206
  };
1190
- "/reports/owner-statement-summaries-per-layout-v2": {
1191
- parameters: {
1192
- query?: never;
1193
- header?: never;
1194
- path?: never;
1195
- cookie?: never;
1196
- };
1197
- /** @description Owner statement summaries aggregated by contact (per layout, v2) */
1198
- get: operations["getOwnerStatementSummariesPerLayoutReportV2"];
1199
- put?: never;
1200
- post?: never;
1201
- delete?: never;
1202
- options?: never;
1203
- head?: never;
1204
- patch?: never;
1205
- trace?: never;
1206
- };
1207
1207
  "/reports/owner-statement-summaries-per-layout/csv": {
1208
1208
  parameters: {
1209
1209
  query?: never;
@@ -1436,7 +1436,7 @@ export interface paths {
1436
1436
  get: operations["getReservations"];
1437
1437
  put?: never;
1438
1438
  /** @description Create reservation */
1439
- post: operations["createReservation"];
1439
+ post: operations["postReservations"];
1440
1440
  delete?: never;
1441
1441
  options?: never;
1442
1442
  head?: never;
@@ -1453,7 +1453,7 @@ export interface paths {
1453
1453
  get?: never;
1454
1454
  put?: never;
1455
1455
  /** @description Create reservations in batch */
1456
- post: operations["batchReservations"];
1456
+ post: operations["postReservationsBatch"];
1457
1457
  delete?: never;
1458
1458
  options?: never;
1459
1459
  head?: never;
@@ -1470,7 +1470,7 @@ export interface paths {
1470
1470
  get?: never;
1471
1471
  put?: never;
1472
1472
  /** @description Generate reservation journal entries */
1473
- post: operations["createReservationJournalEntries"];
1473
+ post: operations["postReservationsJournal-entries"];
1474
1474
  delete?: never;
1475
1475
  options?: never;
1476
1476
  head?: never;
@@ -1485,7 +1485,7 @@ export interface paths {
1485
1485
  cookie?: never;
1486
1486
  };
1487
1487
  /** @description Reservation Line Mappings List */
1488
- get: operations["getReservationLineMappings"];
1488
+ get: operations["getReservationsLine-mappings"];
1489
1489
  put?: never;
1490
1490
  post?: never;
1491
1491
  delete?: never;
@@ -1503,7 +1503,7 @@ export interface paths {
1503
1503
  };
1504
1504
  get?: never;
1505
1505
  /** @description Update reservation line mapping */
1506
- put: operations["updateReservationLineMapping"];
1506
+ put: operations["putReservationsLine-mappings:type"];
1507
1507
  post?: never;
1508
1508
  delete?: never;
1509
1509
  options?: never;
@@ -1519,12 +1519,12 @@ export interface paths {
1519
1519
  cookie?: never;
1520
1520
  };
1521
1521
  /** @description Get reservation By ID */
1522
- get: operations["getReservation"];
1522
+ get: operations["getReservations:id"];
1523
1523
  /** @description Update Reservation By ID */
1524
- put: operations["updateReservation"];
1524
+ put: operations["putReservations:id"];
1525
1525
  post?: never;
1526
1526
  /** @description Delete reservation By ID */
1527
- delete: operations["deleteReservation"];
1527
+ delete: operations["deleteReservations:id"];
1528
1528
  options?: never;
1529
1529
  head?: never;
1530
1530
  patch?: never;
@@ -1540,7 +1540,7 @@ export interface paths {
1540
1540
  get?: never;
1541
1541
  put?: never;
1542
1542
  /** @description Create a reservation adjustment line */
1543
- post: operations["createReservationAdjustment"];
1543
+ post: operations["postReservations:reservationIdAdjustments"];
1544
1544
  delete?: never;
1545
1545
  options?: never;
1546
1546
  head?: never;
@@ -1556,10 +1556,10 @@ export interface paths {
1556
1556
  };
1557
1557
  get?: never;
1558
1558
  /** @description Update a reservation adjustment line */
1559
- put: operations["updateReservationAdjustment"];
1559
+ put: operations["putReservations:reservationIdAdjustments:id"];
1560
1560
  post?: never;
1561
1561
  /** @description Delete a reservation adjustment line */
1562
- delete: operations["deleteReservationAdjustment"];
1562
+ delete: operations["deleteReservations:reservationIdAdjustments:id"];
1563
1563
  options?: never;
1564
1564
  head?: never;
1565
1565
  patch?: never;
@@ -1572,7 +1572,7 @@ export interface paths {
1572
1572
  path?: never;
1573
1573
  cookie?: never;
1574
1574
  };
1575
- /** @description Get Statements List. Get Statements, either by year + a single listing/owner or by month */
1575
+ /** @description Get Statements List. Get Statements, either by year/dateRange + a single listing/owner or by month */
1576
1576
  get: operations["getStatements"];
1577
1577
  put?: never;
1578
1578
  /** @description Create Statements */
@@ -3079,9 +3079,11 @@ export interface operations {
3079
3079
  id: string;
3080
3080
  name: string;
3081
3081
  uniqueRef?: string | null;
3082
+ shortRef?: string | null;
3082
3083
  } | null;
3083
3084
  reservation?: {
3084
3085
  id: string;
3086
+ shortRef?: string | null;
3085
3087
  confirmationCode?: string | null;
3086
3088
  uniqueRef: string;
3087
3089
  /** @enum {string} */
@@ -3103,6 +3105,7 @@ export interface operations {
3103
3105
  id: string;
3104
3106
  name?: string | null;
3105
3107
  uniqueRef?: string | null;
3108
+ shortRef?: string | null;
3106
3109
  } | null;
3107
3110
  matchStatus?: string | null;
3108
3111
  markup?: {
@@ -3115,12 +3118,31 @@ export interface operations {
3115
3118
  basisPoints: number;
3116
3119
  } | null;
3117
3120
  } | null;
3121
+ lock?: {
3122
+ /** @enum {string} */
3123
+ status: "locked" | "unlocked";
3124
+ booksClosed?: {
3125
+ date: string;
3126
+ } | null;
3127
+ ownerStatement?: {
3128
+ ids: string[];
3129
+ } | null;
3130
+ statementPeriod?: {
3131
+ hits: {
3132
+ /** Format: uuid */
3133
+ listingId: string;
3134
+ txnAt: string;
3135
+ openFrom: string;
3136
+ }[];
3137
+ } | null;
3138
+ } | null;
3118
3139
  }[];
3119
3140
  recurringTemplateId?: string | null;
3120
3141
  matchers?: {
3121
3142
  bankAccountRef?: string | null;
3122
3143
  } | null;
3123
3144
  id: string;
3145
+ shortRef?: string | null;
3124
3146
  lock?: {
3125
3147
  /** @enum {string} */
3126
3148
  status: "locked" | "unlocked";
@@ -3198,6 +3220,7 @@ export interface operations {
3198
3220
  id: string;
3199
3221
  name?: string | null;
3200
3222
  uniqueRef?: string | null;
3223
+ shortRef?: string | null;
3201
3224
  } | null;
3202
3225
  source?: {
3203
3226
  /** Format: uuid */
@@ -3327,6 +3350,114 @@ export interface operations {
3327
3350
  };
3328
3351
  };
3329
3352
  };
3353
+ "postAccounts:idRecalculate-balances": {
3354
+ parameters: {
3355
+ query?: never;
3356
+ header?: never;
3357
+ path: {
3358
+ id: string;
3359
+ };
3360
+ cookie?: never;
3361
+ };
3362
+ requestBody?: {
3363
+ content: {
3364
+ "application/json": Record<string, never>;
3365
+ };
3366
+ };
3367
+ responses: {
3368
+ /** @description Successful response */
3369
+ 200: {
3370
+ headers: {
3371
+ [name: string]: unknown;
3372
+ };
3373
+ content: {
3374
+ "application/json": {
3375
+ success: boolean;
3376
+ };
3377
+ };
3378
+ };
3379
+ /** @description Bad request */
3380
+ 400: {
3381
+ headers: {
3382
+ [name: string]: unknown;
3383
+ };
3384
+ content: {
3385
+ "application/json": {
3386
+ code: string;
3387
+ message: string;
3388
+ issues?: {
3389
+ message: string;
3390
+ }[];
3391
+ context?: unknown;
3392
+ };
3393
+ };
3394
+ };
3395
+ /** @description Unauthorized */
3396
+ 401: {
3397
+ headers: {
3398
+ [name: string]: unknown;
3399
+ };
3400
+ content: {
3401
+ "application/json": {
3402
+ code: string;
3403
+ message: string;
3404
+ issues?: {
3405
+ message: string;
3406
+ }[];
3407
+ context?: unknown;
3408
+ };
3409
+ };
3410
+ };
3411
+ /** @description Forbidden */
3412
+ 403: {
3413
+ headers: {
3414
+ [name: string]: unknown;
3415
+ };
3416
+ content: {
3417
+ "application/json": {
3418
+ code: string;
3419
+ message: string;
3420
+ issues?: {
3421
+ message: string;
3422
+ }[];
3423
+ context?: unknown;
3424
+ };
3425
+ };
3426
+ };
3427
+ /** @description Not found */
3428
+ 404: {
3429
+ headers: {
3430
+ [name: string]: unknown;
3431
+ };
3432
+ content: {
3433
+ "application/json": {
3434
+ code: string;
3435
+ message: string;
3436
+ issues?: {
3437
+ message: string;
3438
+ }[];
3439
+ context?: unknown;
3440
+ };
3441
+ };
3442
+ };
3443
+ /** @description Internal server error */
3444
+ 500: {
3445
+ headers: {
3446
+ [name: string]: unknown;
3447
+ };
3448
+ content: {
3449
+ "application/json": {
3450
+ code: string;
3451
+ message: string;
3452
+ issues?: {
3453
+ message: string;
3454
+ }[];
3455
+ context?: unknown;
3456
+ };
3457
+ };
3458
+ };
3459
+ };
3460
+ };
3330
3461
  getApps: {
3331
3462
  parameters: {
3332
3463
  query?: {
@@ -3950,6 +4081,7 @@ export interface operations {
3950
4081
  id: string;
3951
4082
  name?: string | null;
3952
4083
  uniqueRef?: string | null;
4084
+ shortRef?: string | null;
3953
4085
  } | null;
3954
4086
  connection?: {
3955
4087
  /** Format: uuid */
@@ -3961,6 +4093,7 @@ export interface operations {
3961
4093
  appId: string;
3962
4094
  } | null;
3963
4095
  uniqueRef?: string | null;
4096
+ shortRef?: string | null;
3964
4097
  recurringTemplate?: {
3965
4098
  id: string;
3966
4099
  } | null;
@@ -4284,6 +4417,7 @@ export interface operations {
4284
4417
  id: string;
4285
4418
  name?: string | null;
4286
4419
  uniqueRef?: string | null;
4420
+ shortRef?: string | null;
4287
4421
  } | null;
4288
4422
  connection?: {
4289
4423
  /** Format: uuid */
@@ -4295,6 +4429,7 @@ export interface operations {
4295
4429
  appId: string;
4296
4430
  } | null;
4297
4431
  uniqueRef?: string | null;
4432
+ shortRef?: string | null;
4298
4433
  recurringTemplate?: {
4299
4434
  id: string;
4300
4435
  } | null;
@@ -5803,6 +5938,8 @@ export interface operations {
5803
5938
  status?: "active" | "inactive";
5804
5939
  type?: "owner" | "vendor";
5805
5940
  companyType?: "c_corporation" | "limited_liability_company" | "partnership" | "s_corporation" | "trust_estate";
5941
+ /** @description comma separated contact short refs */
5942
+ shortRefs?: string;
5806
5943
  limit?: number;
5807
5944
  page?: number;
5808
5945
  };
@@ -5846,6 +5983,7 @@ export interface operations {
5846
5983
  payoutAccountId?: string | null;
5847
5984
  /** Format: uuid */
5848
5985
  id: string;
5986
+ shortRef?: string | null;
5849
5987
  source?: {
5850
5988
  /** Format: uuid */
5851
5989
  id: string;
@@ -6031,6 +6169,7 @@ export interface operations {
6031
6169
  payoutAccountId?: string | null;
6032
6170
  /** Format: uuid */
6033
6171
  id: string;
6172
+ shortRef?: string | null;
6034
6173
  source?: {
6035
6174
  /** Format: uuid */
6036
6175
  id: string;
@@ -6324,6 +6463,7 @@ export interface operations {
6324
6463
  payoutAccountId?: string | null;
6325
6464
  /** Format: uuid */
6326
6465
  id: string;
6466
+ shortRef?: string | null;
6327
6467
  source?: {
6328
6468
  /** Format: uuid */
6329
6469
  id: string;
@@ -6500,6 +6640,7 @@ export interface operations {
6500
6640
  payoutAccountId?: string | null;
6501
6641
  /** Format: uuid */
6502
6642
  id: string;
6643
+ shortRef?: string | null;
6503
6644
  source?: {
6504
6645
  /** Format: uuid */
6505
6646
  id: string;
@@ -7277,6 +7418,7 @@ export interface operations {
7277
7418
  id: string;
7278
7419
  name?: string | null;
7279
7420
  uniqueRef?: string | null;
7421
+ shortRef?: string | null;
7280
7422
  } | null;
7281
7423
  connection?: {
7282
7424
  /** Format: uuid */
@@ -7288,6 +7430,7 @@ export interface operations {
7288
7430
  appId: string;
7289
7431
  } | null;
7290
7432
  uniqueRef?: string | null;
7433
+ shortRef?: string | null;
7291
7434
  recurringTemplate?: {
7292
7435
  id: string;
7293
7436
  } | null;
@@ -7319,6 +7462,7 @@ export interface operations {
7319
7462
  id: string;
7320
7463
  name?: string | null;
7321
7464
  uniqueRef?: string | null;
7465
+ shortRef?: string | null;
7322
7466
  } | null;
7323
7467
  connection?: {
7324
7468
  /** Format: uuid */
@@ -7330,6 +7474,7 @@ export interface operations {
7330
7474
  appId: string;
7331
7475
  } | null;
7332
7476
  uniqueRef?: string | null;
7477
+ shortRef?: string | null;
7333
7478
  recurringTemplate?: {
7334
7479
  id: string;
7335
7480
  } | null;
@@ -9507,6 +9652,8 @@ export interface operations {
9507
9652
  connectionId?: string;
9508
9653
  search?: string;
9509
9654
  contactId?: string;
9655
+ /** @description comma separated listing short refs */
9656
+ shortRefs?: string;
9510
9657
  activeOwnership?: boolean;
9511
9658
  activeRecurringFeePeriods?: string;
9512
9659
  limit?: number;
@@ -9545,6 +9692,7 @@ export interface operations {
9545
9692
  } | null;
9546
9693
  /** Format: uuid */
9547
9694
  id: string;
9695
+ shortRef?: string | null;
9548
9696
  activeOwnership?: {
9549
9697
  /** Format: uuid */
9550
9698
  id: string;
@@ -9784,6 +9932,7 @@ export interface operations {
9784
9932
  } | null;
9785
9933
  /** Format: uuid */
9786
9934
  id: string;
9935
+ shortRef?: string | null;
9787
9936
  activeOwnership?: {
9788
9937
  /** Format: uuid */
9789
9938
  id: string;
@@ -10720,6 +10869,7 @@ export interface operations {
10720
10869
  } | null;
10721
10870
  /** Format: uuid */
10722
10871
  id: string;
10872
+ shortRef?: string | null;
10723
10873
  activeOwnership?: {
10724
10874
  /** Format: uuid */
10725
10875
  id: string;
@@ -10951,6 +11101,7 @@ export interface operations {
10951
11101
  } | null;
10952
11102
  /** Format: uuid */
10953
11103
  id: string;
11104
+ shortRef?: string | null;
10954
11105
  activeOwnership?: {
10955
11106
  /** Format: uuid */
10956
11107
  id: string;
@@ -13737,6 +13888,7 @@ export interface operations {
13737
13888
  id: string;
13738
13889
  name?: string | null;
13739
13890
  uniqueRef?: string | null;
13891
+ shortRef?: string | null;
13740
13892
  } | null;
13741
13893
  connection?: {
13742
13894
  /** Format: uuid */
@@ -13748,6 +13900,7 @@ export interface operations {
13748
13900
  appId: string;
13749
13901
  } | null;
13750
13902
  uniqueRef?: string | null;
13903
+ shortRef?: string | null;
13751
13904
  recurringTemplate?: {
13752
13905
  id: string;
13753
13906
  } | null;
@@ -15042,6 +15195,8 @@ export interface operations {
15042
15195
  accountIds?: string;
15043
15196
  /** @description comma separated categories */
15044
15197
  categoryIds?: string;
15198
+ /** @description comma separated contacts */
15199
+ contactIds?: string;
15045
15200
  classifications?: string;
15046
15201
  accountType?: "ledger" | "bank" | "recurringFee" | "nonPosting";
15047
15202
  /** @description comma separated journal entry types */
@@ -15228,6 +15383,8 @@ export interface operations {
15228
15383
  accountIds?: string;
15229
15384
  /** @description comma separated categories */
15230
15385
  categoryIds?: string;
15386
+ /** @description comma separated contacts */
15387
+ contactIds?: string;
15231
15388
  classifications?: string;
15232
15389
  accountType?: "ledger" | "bank" | "recurringFee" | "nonPosting";
15233
15390
  /** @description comma separated journal entry types */
@@ -15637,6 +15794,8 @@ export interface operations {
15637
15794
  accountIds?: string;
15638
15795
  /** @description comma separated categories */
15639
15796
  categoryIds?: string;
15797
+ /** @description comma separated contacts */
15798
+ contactIds?: string;
15640
15799
  classifications?: string;
15641
15800
  accountType?: "ledger" | "bank" | "recurringFee" | "nonPosting";
15642
15801
  /** @description comma separated journal entry types */
@@ -15821,6 +15980,8 @@ export interface operations {
15821
15980
  accountIds?: string;
15822
15981
  /** @description comma separated categories */
15823
15982
  categoryIds?: string;
15983
+ /** @description comma separated contacts */
15984
+ contactIds?: string;
15824
15985
  classifications?: string;
15825
15986
  accountType?: "ledger" | "bank" | "recurringFee" | "nonPosting";
15826
15987
  /** @description comma separated journal entry types */
@@ -15934,6 +16095,7 @@ export interface operations {
15934
16095
  endAt: string;
15935
16096
  /** @description comma separated listings */
15936
16097
  listingIds?: string;
16098
+ viewAs?: "owner" | "manager";
15937
16099
  };
15938
16100
  header?: never;
15939
16101
  path?: never;
@@ -16054,13 +16216,14 @@ export interface operations {
16054
16216
  };
16055
16217
  };
16056
16218
  };
16057
- getOwnerStatementSummariesPerLayoutReportV2: {
16219
+ getOwnerStatementSummariesPerLayoutReportCsv: {
16058
16220
  parameters: {
16059
16221
  query: {
16060
16222
  startAt: string;
16061
16223
  endAt: string;
16062
16224
  /** @description comma separated listings */
16063
16225
  listingIds?: string;
16226
+ viewAs?: "owner" | "manager";
16064
16227
  };
16065
16228
  header?: never;
16066
16229
  path?: never;
@@ -16075,27 +16238,7 @@ export interface operations {
16075
16238
  };
16076
16239
  content: {
16077
16240
  "application/json": {
16078
- data: {
16079
- contact: {
16080
- contactId: string;
16081
- name?: string;
16082
- firstName?: string;
16083
- /** Format: email */
16084
- email?: string;
16085
- phone?: string;
16086
- };
16087
- /** @description Currency in ISO 4217 format, will be converted to lowercase */
16088
- currency: string;
16089
- financials: {
16090
- balanceStart: number;
16091
- netRevenue: number;
16092
- expenses: number;
16093
- transfers: number;
16094
- netIncome: number;
16095
- currentBalance: number;
16096
- balanceEnd: number;
16097
- };
16098
- }[];
16241
+ url: string;
16099
16242
  };
16100
16243
  };
16101
16244
  };
@@ -16181,128 +16324,21 @@ export interface operations {
16181
16324
  };
16182
16325
  };
16183
16326
  };
16184
- getOwnerStatementSummariesPerLayoutReportCsv: {
16327
+ getOwnerStatementSummaryPerLayoutDetailsReport: {
16185
16328
  parameters: {
16186
16329
  query: {
16330
+ view: "listing" | "month" | "reservation" | "bookingChannel";
16187
16331
  startAt: string;
16188
16332
  endAt: string;
16189
16333
  /** @description comma separated listings */
16190
16334
  listingIds?: string;
16335
+ currency?: string;
16336
+ viewAs?: "owner" | "manager";
16191
16337
  };
16192
16338
  header?: never;
16193
- path?: never;
16194
- cookie?: never;
16195
- };
16196
- requestBody?: never;
16197
- responses: {
16198
- /** @description Successful response */
16199
- 200: {
16200
- headers: {
16201
- [name: string]: unknown;
16202
- };
16203
- content: {
16204
- "application/json": {
16205
- url: string;
16206
- };
16207
- };
16208
- };
16209
- /** @description Bad request */
16210
- 400: {
16211
- headers: {
16212
- [name: string]: unknown;
16213
- };
16214
- content: {
16215
- "application/json": {
16216
- code: string;
16217
- message: string;
16218
- issues?: {
16219
- message: string;
16220
- }[];
16221
- context?: unknown;
16222
- };
16223
- };
16224
- };
16225
- /** @description Unauthorized */
16226
- 401: {
16227
- headers: {
16228
- [name: string]: unknown;
16229
- };
16230
- content: {
16231
- "application/json": {
16232
- code: string;
16233
- message: string;
16234
- issues?: {
16235
- message: string;
16236
- }[];
16237
- context?: unknown;
16238
- };
16239
- };
16240
- };
16241
- /** @description Forbidden */
16242
- 403: {
16243
- headers: {
16244
- [name: string]: unknown;
16245
- };
16246
- content: {
16247
- "application/json": {
16248
- code: string;
16249
- message: string;
16250
- issues?: {
16251
- message: string;
16252
- }[];
16253
- context?: unknown;
16254
- };
16255
- };
16256
- };
16257
- /** @description Not found */
16258
- 404: {
16259
- headers: {
16260
- [name: string]: unknown;
16261
- };
16262
- content: {
16263
- "application/json": {
16264
- code: string;
16265
- message: string;
16266
- issues?: {
16267
- message: string;
16268
- }[];
16269
- context?: unknown;
16270
- };
16271
- };
16272
- };
16273
- /** @description Internal server error */
16274
- 500: {
16275
- headers: {
16276
- [name: string]: unknown;
16277
- };
16278
- content: {
16279
- "application/json": {
16280
- code: string;
16281
- message: string;
16282
- issues?: {
16283
- message: string;
16284
- }[];
16285
- context?: unknown;
16286
- };
16287
- };
16288
- };
16289
- };
16290
- };
16291
- getOwnerStatementSummaryPerLayoutDetailsReport: {
16292
- parameters: {
16293
- query: {
16294
- view: "listing" | "month" | "reservation" | "bookingChannel";
16295
- startAt: string;
16296
- endAt: string;
16297
- /** @description comma separated listings */
16298
- listingIds?: string;
16299
- currency?: string;
16300
- viewAs?: "owner" | "manager";
16301
- };
16302
- header?: never;
16303
- path: {
16304
- contactId: string;
16305
- };
16339
+ path: {
16340
+ contactId: string;
16341
+ };
16306
16342
  cookie?: never;
16307
16343
  };
16308
16344
  requestBody?: never;
@@ -16337,15 +16373,44 @@ export interface operations {
16337
16373
  layoutId: string;
16338
16374
  layoutName: string;
16339
16375
  statementIds: string[];
16376
+ draftStatementRefs?: {
16377
+ /** Format: uuid */
16378
+ ownershipPeriodId: string;
16379
+ /** @description Date in format YYYY-MM */
16380
+ month: string;
16381
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
16382
+ currency: string;
16383
+ }[];
16340
16384
  netRevenueSection: {
16341
16385
  title: string;
16342
16386
  rows: {
16387
+ id: string;
16343
16388
  title: string;
16344
16389
  statementIds?: string[];
16390
+ draftStatementRefs?: {
16391
+ /** Format: uuid */
16392
+ ownershipPeriodId: string;
16393
+ /** @description Date in format YYYY-MM */
16394
+ month: string;
16395
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
16396
+ currency: string;
16397
+ }[];
16398
+ ownerStatements?: {
16399
+ id?: string | null;
16400
+ /** Format: uuid */
16401
+ ownershipPeriodId: string;
16402
+ /** @enum {string} */
16403
+ status: "draft" | "inReview" | "void" | "published";
16404
+ /** @description Date in format YYYY-MM */
16405
+ month: string;
16406
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
16407
+ currency: string;
16408
+ }[] | null;
16345
16409
  columns: {
16346
16410
  title: string;
16347
16411
  value: number | string;
16348
16412
  formatted: string;
16413
+ accountIds: string[];
16349
16414
  }[];
16350
16415
  }[];
16351
16416
  subtotal?: {
@@ -16354,18 +16419,40 @@ export interface operations {
16354
16419
  title: string;
16355
16420
  value: number | string;
16356
16421
  formatted: string;
16422
+ accountIds: string[];
16357
16423
  }[];
16358
16424
  };
16359
16425
  };
16360
16426
  otherSections: {
16361
16427
  title: string;
16362
16428
  rows: {
16429
+ id: string;
16363
16430
  title: string;
16364
16431
  statementIds?: string[];
16432
+ draftStatementRefs?: {
16433
+ /** Format: uuid */
16434
+ ownershipPeriodId: string;
16435
+ /** @description Date in format YYYY-MM */
16436
+ month: string;
16437
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
16438
+ currency: string;
16439
+ }[];
16440
+ ownerStatements?: {
16441
+ id?: string | null;
16442
+ /** Format: uuid */
16443
+ ownershipPeriodId: string;
16444
+ /** @enum {string} */
16445
+ status: "draft" | "inReview" | "void" | "published";
16446
+ /** @description Date in format YYYY-MM */
16447
+ month: string;
16448
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
16449
+ currency: string;
16450
+ }[] | null;
16365
16451
  columns: {
16366
16452
  title: string;
16367
16453
  value: number | string;
16368
16454
  formatted: string;
16455
+ accountIds: string[];
16369
16456
  }[];
16370
16457
  }[];
16371
16458
  subtotal?: {
@@ -16374,18 +16461,40 @@ export interface operations {
16374
16461
  title: string;
16375
16462
  value: number | string;
16376
16463
  formatted: string;
16464
+ accountIds: string[];
16377
16465
  }[];
16378
16466
  };
16379
16467
  }[];
16380
16468
  transfersSection?: {
16381
16469
  title: string;
16382
16470
  rows: {
16471
+ id: string;
16383
16472
  title: string;
16384
16473
  statementIds?: string[];
16474
+ draftStatementRefs?: {
16475
+ /** Format: uuid */
16476
+ ownershipPeriodId: string;
16477
+ /** @description Date in format YYYY-MM */
16478
+ month: string;
16479
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
16480
+ currency: string;
16481
+ }[];
16482
+ ownerStatements?: {
16483
+ id?: string | null;
16484
+ /** Format: uuid */
16485
+ ownershipPeriodId: string;
16486
+ /** @enum {string} */
16487
+ status: "draft" | "inReview" | "void" | "published";
16488
+ /** @description Date in format YYYY-MM */
16489
+ month: string;
16490
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
16491
+ currency: string;
16492
+ }[] | null;
16385
16493
  columns: {
16386
16494
  title: string;
16387
16495
  value: number | string;
16388
16496
  formatted: string;
16497
+ accountIds: string[];
16389
16498
  }[];
16390
16499
  }[];
16391
16500
  subtotal?: {
@@ -16394,10 +16503,23 @@ export interface operations {
16394
16503
  title: string;
16395
16504
  value: number | string;
16396
16505
  formatted: string;
16506
+ accountIds: string[];
16397
16507
  }[];
16398
16508
  };
16399
16509
  };
16400
16510
  }[];
16511
+ issues?: {
16512
+ /** @constant */
16513
+ code: "orphanOwnerJournalEntries";
16514
+ /** @constant */
16515
+ severity: "warning";
16516
+ context: {
16517
+ affected: number;
16518
+ startAt: string;
16519
+ endAt: string;
16520
+ };
16521
+ message: string;
16522
+ }[];
16401
16523
  };
16402
16524
  };
16403
16525
  };
@@ -17896,6 +18018,8 @@ export interface operations {
17896
18018
  query?: {
17897
18019
  /** @description comma separated reservation ids, negate with ! prefix */
17898
18020
  ids?: string;
18021
+ /** @description comma separated reservation short refs */
18022
+ shortRefs?: string;
17899
18023
  status?: "booked" | "canceled" | "inactive";
17900
18024
  listingId?: string;
17901
18025
  date?: string;
@@ -17945,6 +18069,7 @@ export interface operations {
17945
18069
  } | null;
17946
18070
  /** Format: uuid */
17947
18071
  id: string;
18072
+ shortRef?: string | null;
17948
18073
  lock?: {
17949
18074
  /** @enum {string} */
17950
18075
  status: "locked" | "unlocked";
@@ -18026,6 +18151,17 @@ export interface operations {
18026
18151
  difference: number;
18027
18152
  };
18028
18153
  message: string;
18154
+ } | {
18155
+ /** @constant */
18156
+ code: "listingOwnershipPeriodNotFound";
18157
+ /** @constant */
18158
+ severity: "error";
18159
+ context: {
18160
+ /** Format: uuid */
18161
+ listingId: string;
18162
+ txnAt?: string | null;
18163
+ };
18164
+ message: string;
18029
18165
  })[];
18030
18166
  connection?: {
18031
18167
  /** Format: uuid */
@@ -18044,12 +18180,14 @@ export interface operations {
18044
18180
  id: string;
18045
18181
  name: string;
18046
18182
  uniqueRef?: string | null;
18183
+ shortRef?: string | null;
18047
18184
  } | null;
18048
18185
  listingConnection?: {
18049
18186
  /** Format: uuid */
18050
18187
  id: string;
18051
18188
  name: string;
18052
18189
  uniqueRef?: string | null;
18190
+ shortRef?: string | null;
18053
18191
  } | null;
18054
18192
  payment: {
18055
18193
  expected: number;
@@ -18178,7 +18316,7 @@ export interface operations {
18178
18316
  };
18179
18317
  };
18180
18318
  };
18181
- createReservation: {
18319
+ postReservations: {
18182
18320
  parameters: {
18183
18321
  query?: never;
18184
18322
  header?: never;
@@ -18267,6 +18405,7 @@ export interface operations {
18267
18405
  } | null;
18268
18406
  /** Format: uuid */
18269
18407
  id: string;
18408
+ shortRef?: string | null;
18270
18409
  lock?: {
18271
18410
  /** @enum {string} */
18272
18411
  status: "locked" | "unlocked";
@@ -18348,6 +18487,17 @@ export interface operations {
18348
18487
  difference: number;
18349
18488
  };
18350
18489
  message: string;
18490
+ } | {
18491
+ /** @constant */
18492
+ code: "listingOwnershipPeriodNotFound";
18493
+ /** @constant */
18494
+ severity: "error";
18495
+ context: {
18496
+ /** Format: uuid */
18497
+ listingId: string;
18498
+ txnAt?: string | null;
18499
+ };
18500
+ message: string;
18351
18501
  })[];
18352
18502
  connection?: {
18353
18503
  /** Format: uuid */
@@ -18419,6 +18569,7 @@ export interface operations {
18419
18569
  id: string;
18420
18570
  name?: string | null;
18421
18571
  uniqueRef?: string | null;
18572
+ shortRef?: string | null;
18422
18573
  } | null;
18423
18574
  connection?: {
18424
18575
  /** Format: uuid */
@@ -18430,6 +18581,7 @@ export interface operations {
18430
18581
  appId: string;
18431
18582
  } | null;
18432
18583
  uniqueRef?: string | null;
18584
+ shortRef?: string | null;
18433
18585
  recurringTemplate?: {
18434
18586
  id: string;
18435
18587
  } | null;
@@ -18464,12 +18616,14 @@ export interface operations {
18464
18616
  id: string;
18465
18617
  name: string;
18466
18618
  uniqueRef?: string | null;
18619
+ shortRef?: string | null;
18467
18620
  } | null;
18468
18621
  listingConnection?: {
18469
18622
  /** Format: uuid */
18470
18623
  id: string;
18471
18624
  name: string;
18472
18625
  uniqueRef?: string | null;
18626
+ shortRef?: string | null;
18473
18627
  } | null;
18474
18628
  payment: {
18475
18629
  expected: number;
@@ -18634,7 +18788,7 @@ export interface operations {
18634
18788
  };
18635
18789
  };
18636
18790
  };
18637
- batchReservations: {
18791
+ postReservationsBatch: {
18638
18792
  parameters: {
18639
18793
  query?: never;
18640
18794
  header?: never;
@@ -18807,7 +18961,7 @@ export interface operations {
18807
18961
  };
18808
18962
  };
18809
18963
  };
18810
- createReservationJournalEntries: {
18964
+ "postReservationsJournal-entries": {
18811
18965
  parameters: {
18812
18966
  query?: never;
18813
18967
  header?: never;
@@ -18917,7 +19071,7 @@ export interface operations {
18917
19071
  };
18918
19072
  };
18919
19073
  };
18920
- getReservationLineMappings: {
19074
+ "getReservationsLine-mappings": {
18921
19075
  parameters: {
18922
19076
  query?: {
18923
19077
  search?: string;
@@ -19059,7 +19213,7 @@ export interface operations {
19059
19213
  };
19060
19214
  };
19061
19215
  };
19062
- updateReservationLineMapping: {
19216
+ "putReservationsLine-mappings:type": {
19063
19217
  parameters: {
19064
19218
  query?: never;
19065
19219
  header?: never;
@@ -19200,7 +19354,7 @@ export interface operations {
19200
19354
  };
19201
19355
  };
19202
19356
  };
19203
- getReservation: {
19357
+ "getReservations:id": {
19204
19358
  parameters: {
19205
19359
  query?: never;
19206
19360
  header?: never;
@@ -19239,6 +19393,7 @@ export interface operations {
19239
19393
  } | null;
19240
19394
  /** Format: uuid */
19241
19395
  id: string;
19396
+ shortRef?: string | null;
19242
19397
  lock?: {
19243
19398
  /** @enum {string} */
19244
19399
  status: "locked" | "unlocked";
@@ -19320,6 +19475,17 @@ export interface operations {
19320
19475
  difference: number;
19321
19476
  };
19322
19477
  message: string;
19478
+ } | {
19479
+ /** @constant */
19480
+ code: "listingOwnershipPeriodNotFound";
19481
+ /** @constant */
19482
+ severity: "error";
19483
+ context: {
19484
+ /** Format: uuid */
19485
+ listingId: string;
19486
+ txnAt?: string | null;
19487
+ };
19488
+ message: string;
19323
19489
  })[];
19324
19490
  connection?: {
19325
19491
  /** Format: uuid */
@@ -19391,6 +19557,7 @@ export interface operations {
19391
19557
  id: string;
19392
19558
  name?: string | null;
19393
19559
  uniqueRef?: string | null;
19560
+ shortRef?: string | null;
19394
19561
  } | null;
19395
19562
  connection?: {
19396
19563
  /** Format: uuid */
@@ -19402,6 +19569,7 @@ export interface operations {
19402
19569
  appId: string;
19403
19570
  } | null;
19404
19571
  uniqueRef?: string | null;
19572
+ shortRef?: string | null;
19405
19573
  recurringTemplate?: {
19406
19574
  id: string;
19407
19575
  } | null;
@@ -19436,12 +19604,14 @@ export interface operations {
19436
19604
  id: string;
19437
19605
  name: string;
19438
19606
  uniqueRef?: string | null;
19607
+ shortRef?: string | null;
19439
19608
  } | null;
19440
19609
  listingConnection?: {
19441
19610
  /** Format: uuid */
19442
19611
  id: string;
19443
19612
  name: string;
19444
19613
  uniqueRef?: string | null;
19614
+ shortRef?: string | null;
19445
19615
  } | null;
19446
19616
  payment: {
19447
19617
  expected: number;
@@ -19606,7 +19776,7 @@ export interface operations {
19606
19776
  };
19607
19777
  };
19608
19778
  };
19609
- updateReservation: {
19779
+ "putReservations:id": {
19610
19780
  parameters: {
19611
19781
  query?: never;
19612
19782
  header?: never;
@@ -19769,6 +19939,7 @@ export interface operations {
19769
19939
  } | null;
19770
19940
  /** Format: uuid */
19771
19941
  id: string;
19942
+ shortRef?: string | null;
19772
19943
  lock?: {
19773
19944
  /** @enum {string} */
19774
19945
  status: "locked" | "unlocked";
@@ -19850,6 +20021,17 @@ export interface operations {
19850
20021
  difference: number;
19851
20022
  };
19852
20023
  message: string;
20024
+ } | {
20025
+ /** @constant */
20026
+ code: "listingOwnershipPeriodNotFound";
20027
+ /** @constant */
20028
+ severity: "error";
20029
+ context: {
20030
+ /** Format: uuid */
20031
+ listingId: string;
20032
+ txnAt?: string | null;
20033
+ };
20034
+ message: string;
19853
20035
  })[];
19854
20036
  connection?: {
19855
20037
  /** Format: uuid */
@@ -19921,6 +20103,7 @@ export interface operations {
19921
20103
  id: string;
19922
20104
  name?: string | null;
19923
20105
  uniqueRef?: string | null;
20106
+ shortRef?: string | null;
19924
20107
  } | null;
19925
20108
  connection?: {
19926
20109
  /** Format: uuid */
@@ -19932,6 +20115,7 @@ export interface operations {
19932
20115
  appId: string;
19933
20116
  } | null;
19934
20117
  uniqueRef?: string | null;
20118
+ shortRef?: string | null;
19935
20119
  recurringTemplate?: {
19936
20120
  id: string;
19937
20121
  } | null;
@@ -19966,12 +20150,14 @@ export interface operations {
19966
20150
  id: string;
19967
20151
  name: string;
19968
20152
  uniqueRef?: string | null;
20153
+ shortRef?: string | null;
19969
20154
  } | null;
19970
20155
  listingConnection?: {
19971
20156
  /** Format: uuid */
19972
20157
  id: string;
19973
20158
  name: string;
19974
20159
  uniqueRef?: string | null;
20160
+ shortRef?: string | null;
19975
20161
  } | null;
19976
20162
  payment: {
19977
20163
  expected: number;
@@ -20136,7 +20322,7 @@ export interface operations {
20136
20322
  };
20137
20323
  };
20138
20324
  };
20139
- deleteReservation: {
20325
+ "deleteReservations:id": {
20140
20326
  parameters: {
20141
20327
  query?: {
20142
20328
  onLocked?: "error" | "archive";
@@ -20247,7 +20433,7 @@ export interface operations {
20247
20433
  };
20248
20434
  };
20249
20435
  };
20250
- createReservationAdjustment: {
20436
+ "postReservations:reservationIdAdjustments": {
20251
20437
  parameters: {
20252
20438
  query?: never;
20253
20439
  header?: never;
@@ -20305,6 +20491,7 @@ export interface operations {
20305
20491
  } | null;
20306
20492
  /** Format: uuid */
20307
20493
  id: string;
20494
+ shortRef?: string | null;
20308
20495
  lock?: {
20309
20496
  /** @enum {string} */
20310
20497
  status: "locked" | "unlocked";
@@ -20386,6 +20573,17 @@ export interface operations {
20386
20573
  difference: number;
20387
20574
  };
20388
20575
  message: string;
20576
+ } | {
20577
+ /** @constant */
20578
+ code: "listingOwnershipPeriodNotFound";
20579
+ /** @constant */
20580
+ severity: "error";
20581
+ context: {
20582
+ /** Format: uuid */
20583
+ listingId: string;
20584
+ txnAt?: string | null;
20585
+ };
20586
+ message: string;
20389
20587
  })[];
20390
20588
  connection?: {
20391
20589
  /** Format: uuid */
@@ -20457,6 +20655,7 @@ export interface operations {
20457
20655
  id: string;
20458
20656
  name?: string | null;
20459
20657
  uniqueRef?: string | null;
20658
+ shortRef?: string | null;
20460
20659
  } | null;
20461
20660
  connection?: {
20462
20661
  /** Format: uuid */
@@ -20468,6 +20667,7 @@ export interface operations {
20468
20667
  appId: string;
20469
20668
  } | null;
20470
20669
  uniqueRef?: string | null;
20670
+ shortRef?: string | null;
20471
20671
  recurringTemplate?: {
20472
20672
  id: string;
20473
20673
  } | null;
@@ -20502,12 +20702,14 @@ export interface operations {
20502
20702
  id: string;
20503
20703
  name: string;
20504
20704
  uniqueRef?: string | null;
20705
+ shortRef?: string | null;
20505
20706
  } | null;
20506
20707
  listingConnection?: {
20507
20708
  /** Format: uuid */
20508
20709
  id: string;
20509
20710
  name: string;
20510
20711
  uniqueRef?: string | null;
20712
+ shortRef?: string | null;
20511
20713
  } | null;
20512
20714
  payment: {
20513
20715
  expected: number;
@@ -20672,7 +20874,7 @@ export interface operations {
20672
20874
  };
20673
20875
  };
20674
20876
  };
20675
- updateReservationAdjustment: {
20877
+ "putReservations:reservationIdAdjustments:id": {
20676
20878
  parameters: {
20677
20879
  query?: never;
20678
20880
  header?: never;
@@ -20730,6 +20932,7 @@ export interface operations {
20730
20932
  } | null;
20731
20933
  /** Format: uuid */
20732
20934
  id: string;
20935
+ shortRef?: string | null;
20733
20936
  lock?: {
20734
20937
  /** @enum {string} */
20735
20938
  status: "locked" | "unlocked";
@@ -20811,6 +21014,17 @@ export interface operations {
20811
21014
  difference: number;
20812
21015
  };
20813
21016
  message: string;
21017
+ } | {
21018
+ /** @constant */
21019
+ code: "listingOwnershipPeriodNotFound";
21020
+ /** @constant */
21021
+ severity: "error";
21022
+ context: {
21023
+ /** Format: uuid */
21024
+ listingId: string;
21025
+ txnAt?: string | null;
21026
+ };
21027
+ message: string;
20814
21028
  })[];
20815
21029
  connection?: {
20816
21030
  /** Format: uuid */
@@ -20882,6 +21096,7 @@ export interface operations {
20882
21096
  id: string;
20883
21097
  name?: string | null;
20884
21098
  uniqueRef?: string | null;
21099
+ shortRef?: string | null;
20885
21100
  } | null;
20886
21101
  connection?: {
20887
21102
  /** Format: uuid */
@@ -20893,6 +21108,7 @@ export interface operations {
20893
21108
  appId: string;
20894
21109
  } | null;
20895
21110
  uniqueRef?: string | null;
21111
+ shortRef?: string | null;
20896
21112
  recurringTemplate?: {
20897
21113
  id: string;
20898
21114
  } | null;
@@ -20927,12 +21143,14 @@ export interface operations {
20927
21143
  id: string;
20928
21144
  name: string;
20929
21145
  uniqueRef?: string | null;
21146
+ shortRef?: string | null;
20930
21147
  } | null;
20931
21148
  listingConnection?: {
20932
21149
  /** Format: uuid */
20933
21150
  id: string;
20934
21151
  name: string;
20935
21152
  uniqueRef?: string | null;
21153
+ shortRef?: string | null;
20936
21154
  } | null;
20937
21155
  payment: {
20938
21156
  expected: number;
@@ -21097,7 +21315,7 @@ export interface operations {
21097
21315
  };
21098
21316
  };
21099
21317
  };
21100
- deleteReservationAdjustment: {
21318
+ "deleteReservations:reservationIdAdjustments:id": {
21101
21319
  parameters: {
21102
21320
  query?: never;
21103
21321
  header?: never;
@@ -21141,6 +21359,7 @@ export interface operations {
21141
21359
  } | null;
21142
21360
  /** Format: uuid */
21143
21361
  id: string;
21362
+ shortRef?: string | null;
21144
21363
  lock?: {
21145
21364
  /** @enum {string} */
21146
21365
  status: "locked" | "unlocked";
@@ -21222,6 +21441,17 @@ export interface operations {
21222
21441
  difference: number;
21223
21442
  };
21224
21443
  message: string;
21444
+ } | {
21445
+ /** @constant */
21446
+ code: "listingOwnershipPeriodNotFound";
21447
+ /** @constant */
21448
+ severity: "error";
21449
+ context: {
21450
+ /** Format: uuid */
21451
+ listingId: string;
21452
+ txnAt?: string | null;
21453
+ };
21454
+ message: string;
21225
21455
  })[];
21226
21456
  connection?: {
21227
21457
  /** Format: uuid */
@@ -21293,6 +21523,7 @@ export interface operations {
21293
21523
  id: string;
21294
21524
  name?: string | null;
21295
21525
  uniqueRef?: string | null;
21526
+ shortRef?: string | null;
21296
21527
  } | null;
21297
21528
  connection?: {
21298
21529
  /** Format: uuid */
@@ -21304,6 +21535,7 @@ export interface operations {
21304
21535
  appId: string;
21305
21536
  } | null;
21306
21537
  uniqueRef?: string | null;
21538
+ shortRef?: string | null;
21307
21539
  recurringTemplate?: {
21308
21540
  id: string;
21309
21541
  } | null;
@@ -21338,12 +21570,14 @@ export interface operations {
21338
21570
  id: string;
21339
21571
  name: string;
21340
21572
  uniqueRef?: string | null;
21573
+ shortRef?: string | null;
21341
21574
  } | null;
21342
21575
  listingConnection?: {
21343
21576
  /** Format: uuid */
21344
21577
  id: string;
21345
21578
  name: string;
21346
21579
  uniqueRef?: string | null;
21580
+ shortRef?: string | null;
21347
21581
  } | null;
21348
21582
  payment: {
21349
21583
  expected: number;
@@ -21531,6 +21765,10 @@ export interface operations {
21531
21765
  listingCollectionIds?: string;
21532
21766
  /** @description comma separated recurring fees */
21533
21767
  recurringFeeIds?: string;
21768
+ /** @description Date range in format YYYY-MM-DD...YYYY-MM-DD */
21769
+ dateRange?: string;
21770
+ /** @description Whether the end date is inclusive or exclusive */
21771
+ isDateRangeEndInclusive?: boolean;
21534
21772
  };
21535
21773
  header?: never;
21536
21774
  path?: never;
@@ -21591,6 +21829,26 @@ export interface operations {
21591
21829
  severity: "error";
21592
21830
  context: Record<string, never>;
21593
21831
  message: string;
21832
+ } | {
21833
+ /** @constant */
21834
+ code: "previousUnpublishedStatement";
21835
+ /** @constant */
21836
+ severity: "error";
21837
+ context: {
21838
+ priorStatementStartAt: string;
21839
+ priorStatementStatus: string;
21840
+ };
21841
+ message: string;
21842
+ } | {
21843
+ /** @constant */
21844
+ code: "previousUnattachedOwnerActivity";
21845
+ /** @constant */
21846
+ severity: "error";
21847
+ context: {
21848
+ affected: number;
21849
+ windowStartAt: string;
21850
+ };
21851
+ message: string;
21594
21852
  } | {
21595
21853
  /** @constant */
21596
21854
  code: "balanceMismatch_start";
@@ -21635,6 +21893,16 @@ export interface operations {
21635
21893
  affected: number;
21636
21894
  };
21637
21895
  message: string;
21896
+ } | {
21897
+ /** @constant */
21898
+ code: "missingPreviousStatement";
21899
+ /** @constant */
21900
+ severity: "warning";
21901
+ context: {
21902
+ periodStartAt: string;
21903
+ statementStartAt: string;
21904
+ };
21905
+ message: string;
21638
21906
  } | {
21639
21907
  /** @constant */
21640
21908
  code: "unpaidReservations";
@@ -21648,8 +21916,10 @@ export interface operations {
21648
21916
  /** @constant */
21649
21917
  severity: "warning";
21650
21918
  context: {
21651
- layoutUpdatedAt: string;
21652
- statementCreatedAt: string;
21919
+ layoutVersion?: number | null;
21920
+ statementLayoutVersion?: number | null;
21921
+ layoutUpdatedAt?: string | null;
21922
+ statementCreatedAt?: string | null;
21653
21923
  };
21654
21924
  message: string;
21655
21925
  })[];
@@ -21882,6 +22152,26 @@ export interface operations {
21882
22152
  severity: "error";
21883
22153
  context: Record<string, never>;
21884
22154
  message: string;
22155
+ } | {
22156
+ /** @constant */
22157
+ code: "previousUnpublishedStatement";
22158
+ /** @constant */
22159
+ severity: "error";
22160
+ context: {
22161
+ priorStatementStartAt: string;
22162
+ priorStatementStatus: string;
22163
+ };
22164
+ message: string;
22165
+ } | {
22166
+ /** @constant */
22167
+ code: "previousUnattachedOwnerActivity";
22168
+ /** @constant */
22169
+ severity: "error";
22170
+ context: {
22171
+ affected: number;
22172
+ windowStartAt: string;
22173
+ };
22174
+ message: string;
21885
22175
  } | {
21886
22176
  /** @constant */
21887
22177
  code: "balanceMismatch_start";
@@ -21926,6 +22216,16 @@ export interface operations {
21926
22216
  affected: number;
21927
22217
  };
21928
22218
  message: string;
22219
+ } | {
22220
+ /** @constant */
22221
+ code: "missingPreviousStatement";
22222
+ /** @constant */
22223
+ severity: "warning";
22224
+ context: {
22225
+ periodStartAt: string;
22226
+ statementStartAt: string;
22227
+ };
22228
+ message: string;
21929
22229
  } | {
21930
22230
  /** @constant */
21931
22231
  code: "unpaidReservations";
@@ -21939,8 +22239,10 @@ export interface operations {
21939
22239
  /** @constant */
21940
22240
  severity: "warning";
21941
22241
  context: {
21942
- layoutUpdatedAt: string;
21943
- statementCreatedAt: string;
22242
+ layoutVersion?: number | null;
22243
+ statementLayoutVersion?: number | null;
22244
+ layoutUpdatedAt?: string | null;
22245
+ statementCreatedAt?: string | null;
21944
22246
  };
21945
22247
  message: string;
21946
22248
  })[];
@@ -22019,6 +22321,7 @@ export interface operations {
22019
22321
  })[];
22020
22322
  }[];
22021
22323
  id: string;
22324
+ version: number;
22022
22325
  activeListings: {
22023
22326
  id: string;
22024
22327
  name?: string | null;
@@ -22372,6 +22675,26 @@ export interface operations {
22372
22675
  severity: "error";
22373
22676
  context: Record<string, never>;
22374
22677
  message: string;
22678
+ } | {
22679
+ /** @constant */
22680
+ code: "previousUnpublishedStatement";
22681
+ /** @constant */
22682
+ severity: "error";
22683
+ context: {
22684
+ priorStatementStartAt: string;
22685
+ priorStatementStatus: string;
22686
+ };
22687
+ message: string;
22688
+ } | {
22689
+ /** @constant */
22690
+ code: "previousUnattachedOwnerActivity";
22691
+ /** @constant */
22692
+ severity: "error";
22693
+ context: {
22694
+ affected: number;
22695
+ windowStartAt: string;
22696
+ };
22697
+ message: string;
22375
22698
  } | {
22376
22699
  /** @constant */
22377
22700
  code: "balanceMismatch_start";
@@ -22416,6 +22739,16 @@ export interface operations {
22416
22739
  affected: number;
22417
22740
  };
22418
22741
  message: string;
22742
+ } | {
22743
+ /** @constant */
22744
+ code: "missingPreviousStatement";
22745
+ /** @constant */
22746
+ severity: "warning";
22747
+ context: {
22748
+ periodStartAt: string;
22749
+ statementStartAt: string;
22750
+ };
22751
+ message: string;
22419
22752
  } | {
22420
22753
  /** @constant */
22421
22754
  code: "unpaidReservations";
@@ -22429,8 +22762,10 @@ export interface operations {
22429
22762
  /** @constant */
22430
22763
  severity: "warning";
22431
22764
  context: {
22432
- layoutUpdatedAt: string;
22433
- statementCreatedAt: string;
22765
+ layoutVersion?: number | null;
22766
+ statementLayoutVersion?: number | null;
22767
+ layoutUpdatedAt?: string | null;
22768
+ statementCreatedAt?: string | null;
22434
22769
  };
22435
22770
  message: string;
22436
22771
  })[];
@@ -22509,6 +22844,7 @@ export interface operations {
22509
22844
  })[];
22510
22845
  }[];
22511
22846
  id: string;
22847
+ version: number;
22512
22848
  activeListings: {
22513
22849
  id: string;
22514
22850
  name?: string | null;
@@ -22866,6 +23202,7 @@ export interface operations {
22866
23202
  })[];
22867
23203
  }[];
22868
23204
  id: string;
23205
+ version: number;
22869
23206
  activeListings: {
22870
23207
  id: string;
22871
23208
  name?: string | null;
@@ -23117,6 +23454,7 @@ export interface operations {
23117
23454
  })[];
23118
23455
  }[];
23119
23456
  id: string;
23457
+ version: number;
23120
23458
  activeListings: {
23121
23459
  id: string;
23122
23460
  name?: string | null;
@@ -23305,6 +23643,7 @@ export interface operations {
23305
23643
  })[];
23306
23644
  }[];
23307
23645
  id: string;
23646
+ version: number;
23308
23647
  activeListings: {
23309
23648
  id: string;
23310
23649
  name?: string | null;
@@ -23548,6 +23887,7 @@ export interface operations {
23548
23887
  })[];
23549
23888
  }[];
23550
23889
  id: string;
23890
+ version: number;
23551
23891
  activeListings: {
23552
23892
  id: string;
23553
23893
  name?: string | null;
@@ -23839,9 +24179,11 @@ export interface operations {
23839
24179
  id: string;
23840
24180
  name: string;
23841
24181
  uniqueRef?: string | null;
24182
+ shortRef?: string | null;
23842
24183
  } | null;
23843
24184
  reservation?: {
23844
24185
  id: string;
24186
+ shortRef?: string | null;
23845
24187
  confirmationCode?: string | null;
23846
24188
  uniqueRef: string;
23847
24189
  /** @enum {string} */
@@ -23863,6 +24205,7 @@ export interface operations {
23863
24205
  id: string;
23864
24206
  name?: string | null;
23865
24207
  uniqueRef?: string | null;
24208
+ shortRef?: string | null;
23866
24209
  } | null;
23867
24210
  matchStatus?: string | null;
23868
24211
  markup?: {
@@ -23875,12 +24218,31 @@ export interface operations {
23875
24218
  basisPoints: number;
23876
24219
  } | null;
23877
24220
  } | null;
24221
+ lock?: {
24222
+ /** @enum {string} */
24223
+ status: "locked" | "unlocked";
24224
+ booksClosed?: {
24225
+ date: string;
24226
+ } | null;
24227
+ ownerStatement?: {
24228
+ ids: string[];
24229
+ } | null;
24230
+ statementPeriod?: {
24231
+ hits: {
24232
+ /** Format: uuid */
24233
+ listingId: string;
24234
+ txnAt: string;
24235
+ openFrom: string;
24236
+ }[];
24237
+ } | null;
24238
+ } | null;
23878
24239
  }[];
23879
24240
  recurringTemplateId?: string | null;
23880
24241
  matchers?: {
23881
24242
  bankAccountRef?: string | null;
23882
24243
  } | null;
23883
24244
  id: string;
24245
+ shortRef?: string | null;
23884
24246
  lock?: {
23885
24247
  /** @enum {string} */
23886
24248
  status: "locked" | "unlocked";
@@ -23958,6 +24320,7 @@ export interface operations {
23958
24320
  id: string;
23959
24321
  name?: string | null;
23960
24322
  uniqueRef?: string | null;
24323
+ shortRef?: string | null;
23961
24324
  } | null;
23962
24325
  source?: {
23963
24326
  /** Format: uuid */
@@ -24362,6 +24725,26 @@ export interface operations {
24362
24725
  severity: "error";
24363
24726
  context: Record<string, never>;
24364
24727
  message: string;
24728
+ } | {
24729
+ /** @constant */
24730
+ code: "previousUnpublishedStatement";
24731
+ /** @constant */
24732
+ severity: "error";
24733
+ context: {
24734
+ priorStatementStartAt: string;
24735
+ priorStatementStatus: string;
24736
+ };
24737
+ message: string;
24738
+ } | {
24739
+ /** @constant */
24740
+ code: "previousUnattachedOwnerActivity";
24741
+ /** @constant */
24742
+ severity: "error";
24743
+ context: {
24744
+ affected: number;
24745
+ windowStartAt: string;
24746
+ };
24747
+ message: string;
24365
24748
  } | {
24366
24749
  /** @constant */
24367
24750
  code: "balanceMismatch_start";
@@ -24406,6 +24789,16 @@ export interface operations {
24406
24789
  affected: number;
24407
24790
  };
24408
24791
  message: string;
24792
+ } | {
24793
+ /** @constant */
24794
+ code: "missingPreviousStatement";
24795
+ /** @constant */
24796
+ severity: "warning";
24797
+ context: {
24798
+ periodStartAt: string;
24799
+ statementStartAt: string;
24800
+ };
24801
+ message: string;
24409
24802
  } | {
24410
24803
  /** @constant */
24411
24804
  code: "unpaidReservations";
@@ -24419,8 +24812,10 @@ export interface operations {
24419
24812
  /** @constant */
24420
24813
  severity: "warning";
24421
24814
  context: {
24422
- layoutUpdatedAt: string;
24423
- statementCreatedAt: string;
24815
+ layoutVersion?: number | null;
24816
+ statementLayoutVersion?: number | null;
24817
+ layoutUpdatedAt?: string | null;
24818
+ statementCreatedAt?: string | null;
24424
24819
  };
24425
24820
  message: string;
24426
24821
  })[];
@@ -24499,6 +24894,7 @@ export interface operations {
24499
24894
  })[];
24500
24895
  }[];
24501
24896
  id: string;
24897
+ version: number;
24502
24898
  activeListings: {
24503
24899
  id: string;
24504
24900
  name?: string | null;
@@ -24857,6 +25253,26 @@ export interface operations {
24857
25253
  severity: "error";
24858
25254
  context: Record<string, never>;
24859
25255
  message: string;
25256
+ } | {
25257
+ /** @constant */
25258
+ code: "previousUnpublishedStatement";
25259
+ /** @constant */
25260
+ severity: "error";
25261
+ context: {
25262
+ priorStatementStartAt: string;
25263
+ priorStatementStatus: string;
25264
+ };
25265
+ message: string;
25266
+ } | {
25267
+ /** @constant */
25268
+ code: "previousUnattachedOwnerActivity";
25269
+ /** @constant */
25270
+ severity: "error";
25271
+ context: {
25272
+ affected: number;
25273
+ windowStartAt: string;
25274
+ };
25275
+ message: string;
24860
25276
  } | {
24861
25277
  /** @constant */
24862
25278
  code: "balanceMismatch_start";
@@ -24901,6 +25317,16 @@ export interface operations {
24901
25317
  affected: number;
24902
25318
  };
24903
25319
  message: string;
25320
+ } | {
25321
+ /** @constant */
25322
+ code: "missingPreviousStatement";
25323
+ /** @constant */
25324
+ severity: "warning";
25325
+ context: {
25326
+ periodStartAt: string;
25327
+ statementStartAt: string;
25328
+ };
25329
+ message: string;
24904
25330
  } | {
24905
25331
  /** @constant */
24906
25332
  code: "unpaidReservations";
@@ -24914,8 +25340,10 @@ export interface operations {
24914
25340
  /** @constant */
24915
25341
  severity: "warning";
24916
25342
  context: {
24917
- layoutUpdatedAt: string;
24918
- statementCreatedAt: string;
25343
+ layoutVersion?: number | null;
25344
+ statementLayoutVersion?: number | null;
25345
+ layoutUpdatedAt?: string | null;
25346
+ statementCreatedAt?: string | null;
24919
25347
  };
24920
25348
  message: string;
24921
25349
  })[];
@@ -24994,6 +25422,7 @@ export interface operations {
24994
25422
  })[];
24995
25423
  }[];
24996
25424
  id: string;
25425
+ version: number;
24997
25426
  activeListings: {
24998
25427
  id: string;
24999
25428
  name?: string | null;
@@ -28370,6 +28799,7 @@ export interface operations {
28370
28799
  /** @description Whether the end date is inclusive or exclusive */
28371
28800
  isDateRangeEndInclusive?: boolean;
28372
28801
  uniqueRefs?: string;
28802
+ shortRefs?: string;
28373
28803
  ids?: string;
28374
28804
  search?: string;
28375
28805
  recurringTemplateId?: string;
@@ -28432,9 +28862,11 @@ export interface operations {
28432
28862
  id: string;
28433
28863
  name: string;
28434
28864
  uniqueRef?: string | null;
28865
+ shortRef?: string | null;
28435
28866
  } | null;
28436
28867
  reservation?: {
28437
28868
  id: string;
28869
+ shortRef?: string | null;
28438
28870
  confirmationCode?: string | null;
28439
28871
  uniqueRef: string;
28440
28872
  /** @enum {string} */
@@ -28456,6 +28888,7 @@ export interface operations {
28456
28888
  id: string;
28457
28889
  name?: string | null;
28458
28890
  uniqueRef?: string | null;
28891
+ shortRef?: string | null;
28459
28892
  } | null;
28460
28893
  matchStatus?: string | null;
28461
28894
  markup?: {
@@ -28468,12 +28901,31 @@ export interface operations {
28468
28901
  basisPoints: number;
28469
28902
  } | null;
28470
28903
  } | null;
28904
+ lock?: {
28905
+ /** @enum {string} */
28906
+ status: "locked" | "unlocked";
28907
+ booksClosed?: {
28908
+ date: string;
28909
+ } | null;
28910
+ ownerStatement?: {
28911
+ ids: string[];
28912
+ } | null;
28913
+ statementPeriod?: {
28914
+ hits: {
28915
+ /** Format: uuid */
28916
+ listingId: string;
28917
+ txnAt: string;
28918
+ openFrom: string;
28919
+ }[];
28920
+ } | null;
28921
+ } | null;
28471
28922
  }[];
28472
28923
  recurringTemplateId?: string | null;
28473
28924
  matchers?: {
28474
28925
  bankAccountRef?: string | null;
28475
28926
  } | null;
28476
28927
  id: string;
28928
+ shortRef?: string | null;
28477
28929
  lock?: {
28478
28930
  /** @enum {string} */
28479
28931
  status: "locked" | "unlocked";
@@ -28551,6 +29003,7 @@ export interface operations {
28551
29003
  id: string;
28552
29004
  name?: string | null;
28553
29005
  uniqueRef?: string | null;
29006
+ shortRef?: string | null;
28554
29007
  } | null;
28555
29008
  source?: {
28556
29009
  /** Format: uuid */
@@ -28776,9 +29229,11 @@ export interface operations {
28776
29229
  id: string;
28777
29230
  name: string;
28778
29231
  uniqueRef?: string | null;
29232
+ shortRef?: string | null;
28779
29233
  } | null;
28780
29234
  reservation?: {
28781
29235
  id: string;
29236
+ shortRef?: string | null;
28782
29237
  confirmationCode?: string | null;
28783
29238
  uniqueRef: string;
28784
29239
  /** @enum {string} */
@@ -28800,6 +29255,7 @@ export interface operations {
28800
29255
  id: string;
28801
29256
  name?: string | null;
28802
29257
  uniqueRef?: string | null;
29258
+ shortRef?: string | null;
28803
29259
  } | null;
28804
29260
  matchStatus?: string | null;
28805
29261
  markup?: {
@@ -28812,12 +29268,31 @@ export interface operations {
28812
29268
  basisPoints: number;
28813
29269
  } | null;
28814
29270
  } | null;
29271
+ lock?: {
29272
+ /** @enum {string} */
29273
+ status: "locked" | "unlocked";
29274
+ booksClosed?: {
29275
+ date: string;
29276
+ } | null;
29277
+ ownerStatement?: {
29278
+ ids: string[];
29279
+ } | null;
29280
+ statementPeriod?: {
29281
+ hits: {
29282
+ /** Format: uuid */
29283
+ listingId: string;
29284
+ txnAt: string;
29285
+ openFrom: string;
29286
+ }[];
29287
+ } | null;
29288
+ } | null;
28815
29289
  }[];
28816
29290
  recurringTemplateId?: string | null;
28817
29291
  matchers?: {
28818
29292
  bankAccountRef?: string | null;
28819
29293
  } | null;
28820
29294
  id: string;
29295
+ shortRef?: string | null;
28821
29296
  lock?: {
28822
29297
  /** @enum {string} */
28823
29298
  status: "locked" | "unlocked";
@@ -28895,6 +29370,7 @@ export interface operations {
28895
29370
  id: string;
28896
29371
  name?: string | null;
28897
29372
  uniqueRef?: string | null;
29373
+ shortRef?: string | null;
28898
29374
  } | null;
28899
29375
  source?: {
28900
29376
  /** Format: uuid */
@@ -29572,6 +30048,7 @@ export interface operations {
29572
30048
  id: string;
29573
30049
  name?: string | null;
29574
30050
  uniqueRef?: string | null;
30051
+ shortRef?: string | null;
29575
30052
  } | null;
29576
30053
  lines: {
29577
30054
  uniqueRef?: string | null;
@@ -29604,9 +30081,11 @@ export interface operations {
29604
30081
  id: string;
29605
30082
  name: string;
29606
30083
  uniqueRef?: string | null;
30084
+ shortRef?: string | null;
29607
30085
  } | null;
29608
30086
  reservation?: {
29609
30087
  id: string;
30088
+ shortRef?: string | null;
29610
30089
  confirmationCode?: string | null;
29611
30090
  uniqueRef: string;
29612
30091
  /** @enum {string} */
@@ -29628,6 +30107,7 @@ export interface operations {
29628
30107
  id: string;
29629
30108
  name?: string | null;
29630
30109
  uniqueRef?: string | null;
30110
+ shortRef?: string | null;
29631
30111
  } | null;
29632
30112
  matchStatus?: string | null;
29633
30113
  markup?: {
@@ -29640,6 +30120,24 @@ export interface operations {
29640
30120
  basisPoints: number;
29641
30121
  } | null;
29642
30122
  } | null;
30123
+ lock?: {
30124
+ /** @enum {string} */
30125
+ status: "locked" | "unlocked";
30126
+ booksClosed?: {
30127
+ date: string;
30128
+ } | null;
30129
+ ownerStatement?: {
30130
+ ids: string[];
30131
+ } | null;
30132
+ statementPeriod?: {
30133
+ hits: {
30134
+ /** Format: uuid */
30135
+ listingId: string;
30136
+ txnAt: string;
30137
+ openFrom: string;
30138
+ }[];
30139
+ } | null;
30140
+ } | null;
29643
30141
  }[];
29644
30142
  issues: ({
29645
30143
  /** @constant */
@@ -29837,6 +30335,7 @@ export interface operations {
29837
30335
  id: string;
29838
30336
  name?: string | null;
29839
30337
  uniqueRef?: string | null;
30338
+ shortRef?: string | null;
29840
30339
  } | null;
29841
30340
  lines: {
29842
30341
  uniqueRef?: string | null;
@@ -29869,9 +30368,11 @@ export interface operations {
29869
30368
  id: string;
29870
30369
  name: string;
29871
30370
  uniqueRef?: string | null;
30371
+ shortRef?: string | null;
29872
30372
  } | null;
29873
30373
  reservation?: {
29874
30374
  id: string;
30375
+ shortRef?: string | null;
29875
30376
  confirmationCode?: string | null;
29876
30377
  uniqueRef: string;
29877
30378
  /** @enum {string} */
@@ -29893,6 +30394,7 @@ export interface operations {
29893
30394
  id: string;
29894
30395
  name?: string | null;
29895
30396
  uniqueRef?: string | null;
30397
+ shortRef?: string | null;
29896
30398
  } | null;
29897
30399
  matchStatus?: string | null;
29898
30400
  markup?: {
@@ -29905,6 +30407,24 @@ export interface operations {
29905
30407
  basisPoints: number;
29906
30408
  } | null;
29907
30409
  } | null;
30410
+ lock?: {
30411
+ /** @enum {string} */
30412
+ status: "locked" | "unlocked";
30413
+ booksClosed?: {
30414
+ date: string;
30415
+ } | null;
30416
+ ownerStatement?: {
30417
+ ids: string[];
30418
+ } | null;
30419
+ statementPeriod?: {
30420
+ hits: {
30421
+ /** Format: uuid */
30422
+ listingId: string;
30423
+ txnAt: string;
30424
+ openFrom: string;
30425
+ }[];
30426
+ } | null;
30427
+ } | null;
29908
30428
  }[];
29909
30429
  issues: ({
29910
30430
  /** @constant */
@@ -30182,6 +30702,7 @@ export interface operations {
30182
30702
  id: string;
30183
30703
  name?: string | null;
30184
30704
  uniqueRef?: string | null;
30705
+ shortRef?: string | null;
30185
30706
  } | null;
30186
30707
  lines: {
30187
30708
  uniqueRef?: string | null;
@@ -30214,9 +30735,11 @@ export interface operations {
30214
30735
  id: string;
30215
30736
  name: string;
30216
30737
  uniqueRef?: string | null;
30738
+ shortRef?: string | null;
30217
30739
  } | null;
30218
30740
  reservation?: {
30219
30741
  id: string;
30742
+ shortRef?: string | null;
30220
30743
  confirmationCode?: string | null;
30221
30744
  uniqueRef: string;
30222
30745
  /** @enum {string} */
@@ -30238,6 +30761,7 @@ export interface operations {
30238
30761
  id: string;
30239
30762
  name?: string | null;
30240
30763
  uniqueRef?: string | null;
30764
+ shortRef?: string | null;
30241
30765
  } | null;
30242
30766
  matchStatus?: string | null;
30243
30767
  markup?: {
@@ -30250,6 +30774,24 @@ export interface operations {
30250
30774
  basisPoints: number;
30251
30775
  } | null;
30252
30776
  } | null;
30777
+ lock?: {
30778
+ /** @enum {string} */
30779
+ status: "locked" | "unlocked";
30780
+ booksClosed?: {
30781
+ date: string;
30782
+ } | null;
30783
+ ownerStatement?: {
30784
+ ids: string[];
30785
+ } | null;
30786
+ statementPeriod?: {
30787
+ hits: {
30788
+ /** Format: uuid */
30789
+ listingId: string;
30790
+ txnAt: string;
30791
+ openFrom: string;
30792
+ }[];
30793
+ } | null;
30794
+ } | null;
30253
30795
  }[];
30254
30796
  issues: ({
30255
30797
  /** @constant */
@@ -30440,6 +30982,7 @@ export interface operations {
30440
30982
  id: string;
30441
30983
  name?: string | null;
30442
30984
  uniqueRef?: string | null;
30985
+ shortRef?: string | null;
30443
30986
  } | null;
30444
30987
  lines: {
30445
30988
  uniqueRef?: string | null;
@@ -30472,9 +31015,11 @@ export interface operations {
30472
31015
  id: string;
30473
31016
  name: string;
30474
31017
  uniqueRef?: string | null;
31018
+ shortRef?: string | null;
30475
31019
  } | null;
30476
31020
  reservation?: {
30477
31021
  id: string;
31022
+ shortRef?: string | null;
30478
31023
  confirmationCode?: string | null;
30479
31024
  uniqueRef: string;
30480
31025
  /** @enum {string} */
@@ -30496,6 +31041,7 @@ export interface operations {
30496
31041
  id: string;
30497
31042
  name?: string | null;
30498
31043
  uniqueRef?: string | null;
31044
+ shortRef?: string | null;
30499
31045
  } | null;
30500
31046
  matchStatus?: string | null;
30501
31047
  markup?: {
@@ -30508,6 +31054,24 @@ export interface operations {
30508
31054
  basisPoints: number;
30509
31055
  } | null;
30510
31056
  } | null;
31057
+ lock?: {
31058
+ /** @enum {string} */
31059
+ status: "locked" | "unlocked";
31060
+ booksClosed?: {
31061
+ date: string;
31062
+ } | null;
31063
+ ownerStatement?: {
31064
+ ids: string[];
31065
+ } | null;
31066
+ statementPeriod?: {
31067
+ hits: {
31068
+ /** Format: uuid */
31069
+ listingId: string;
31070
+ txnAt: string;
31071
+ openFrom: string;
31072
+ }[];
31073
+ } | null;
31074
+ } | null;
30511
31075
  }[];
30512
31076
  issues: ({
30513
31077
  /** @constant */
@@ -30785,9 +31349,11 @@ export interface operations {
30785
31349
  id: string;
30786
31350
  name: string;
30787
31351
  uniqueRef?: string | null;
31352
+ shortRef?: string | null;
30788
31353
  } | null;
30789
31354
  reservation?: {
30790
31355
  id: string;
31356
+ shortRef?: string | null;
30791
31357
  confirmationCode?: string | null;
30792
31358
  uniqueRef: string;
30793
31359
  /** @enum {string} */
@@ -30809,6 +31375,7 @@ export interface operations {
30809
31375
  id: string;
30810
31376
  name?: string | null;
30811
31377
  uniqueRef?: string | null;
31378
+ shortRef?: string | null;
30812
31379
  } | null;
30813
31380
  matchStatus?: string | null;
30814
31381
  markup?: {
@@ -30821,12 +31388,31 @@ export interface operations {
30821
31388
  basisPoints: number;
30822
31389
  } | null;
30823
31390
  } | null;
31391
+ lock?: {
31392
+ /** @enum {string} */
31393
+ status: "locked" | "unlocked";
31394
+ booksClosed?: {
31395
+ date: string;
31396
+ } | null;
31397
+ ownerStatement?: {
31398
+ ids: string[];
31399
+ } | null;
31400
+ statementPeriod?: {
31401
+ hits: {
31402
+ /** Format: uuid */
31403
+ listingId: string;
31404
+ txnAt: string;
31405
+ openFrom: string;
31406
+ }[];
31407
+ } | null;
31408
+ } | null;
30824
31409
  }[];
30825
31410
  recurringTemplateId?: string | null;
30826
31411
  matchers?: {
30827
31412
  bankAccountRef?: string | null;
30828
31413
  } | null;
30829
31414
  id: string;
31415
+ shortRef?: string | null;
30830
31416
  lock?: {
30831
31417
  /** @enum {string} */
30832
31418
  status: "locked" | "unlocked";
@@ -30904,6 +31490,7 @@ export interface operations {
30904
31490
  id: string;
30905
31491
  name?: string | null;
30906
31492
  uniqueRef?: string | null;
31493
+ shortRef?: string | null;
30907
31494
  } | null;
30908
31495
  source?: {
30909
31496
  /** Format: uuid */
@@ -31054,9 +31641,11 @@ export interface operations {
31054
31641
  id: string;
31055
31642
  name: string;
31056
31643
  uniqueRef?: string | null;
31644
+ shortRef?: string | null;
31057
31645
  } | null;
31058
31646
  reservation?: {
31059
31647
  id: string;
31648
+ shortRef?: string | null;
31060
31649
  confirmationCode?: string | null;
31061
31650
  uniqueRef: string;
31062
31651
  /** @enum {string} */
@@ -31078,6 +31667,7 @@ export interface operations {
31078
31667
  id: string;
31079
31668
  name?: string | null;
31080
31669
  uniqueRef?: string | null;
31670
+ shortRef?: string | null;
31081
31671
  } | null;
31082
31672
  matchStatus?: string | null;
31083
31673
  markup?: {
@@ -31090,12 +31680,31 @@ export interface operations {
31090
31680
  basisPoints: number;
31091
31681
  } | null;
31092
31682
  } | null;
31683
+ lock?: {
31684
+ /** @enum {string} */
31685
+ status: "locked" | "unlocked";
31686
+ booksClosed?: {
31687
+ date: string;
31688
+ } | null;
31689
+ ownerStatement?: {
31690
+ ids: string[];
31691
+ } | null;
31692
+ statementPeriod?: {
31693
+ hits: {
31694
+ /** Format: uuid */
31695
+ listingId: string;
31696
+ txnAt: string;
31697
+ openFrom: string;
31698
+ }[];
31699
+ } | null;
31700
+ } | null;
31093
31701
  }[];
31094
31702
  recurringTemplateId?: string | null;
31095
31703
  matchers?: {
31096
31704
  bankAccountRef?: string | null;
31097
31705
  } | null;
31098
31706
  id: string;
31707
+ shortRef?: string | null;
31099
31708
  lock?: {
31100
31709
  /** @enum {string} */
31101
31710
  status: "locked" | "unlocked";
@@ -31173,6 +31782,7 @@ export interface operations {
31173
31782
  id: string;
31174
31783
  name?: string | null;
31175
31784
  uniqueRef?: string | null;
31785
+ shortRef?: string | null;
31176
31786
  } | null;
31177
31787
  source?: {
31178
31788
  /** Format: uuid */
@@ -31342,6 +31952,61 @@ export interface operations {
31342
31952
  } | null;
31343
31953
  id?: string;
31344
31954
  }[] | null;
31955
+ /** @description Lines to be added (can not be combined with "lines" in the same request) */
31956
+ lines_create?: {
31957
+ recurringTemplateId?: string | null;
31958
+ uniqueRef?: string | null;
31959
+ description: string;
31960
+ accountId?: string | null;
31961
+ assignment?: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "transfer_ownerPayout" | "transfer") | null;
31962
+ /** @description Value in cents (100 = 1€) */
31963
+ amount: number;
31964
+ markup?: {
31965
+ amount?: number | null;
31966
+ taxRateId?: string | null;
31967
+ taxBehavior?: ("excluded" | "included") | null;
31968
+ } | null;
31969
+ listingId?: string | null;
31970
+ reservationId?: string | null;
31971
+ ownerStatementId?: string | null;
31972
+ party?: ("owners" | "manager") | null;
31973
+ contactId?: string | null;
31974
+ matchers?: {
31975
+ confirmationCode?: string | null;
31976
+ customerId?: string | null;
31977
+ lineType?: string | null;
31978
+ } | null;
31979
+ id?: string | null;
31980
+ }[] | null;
31981
+ /** @description Lines to be updated (can not be combined with "lines" in the same request) */
31982
+ lines_update?: {
31983
+ recurringTemplateId?: string | null;
31984
+ uniqueRef?: string | null;
31985
+ description?: string;
31986
+ accountId?: string | null;
31987
+ assignment?: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "transfer_ownerPayout" | "transfer") | null;
31988
+ /** @description Value in cents (100 = 1€) */
31989
+ amount?: number;
31990
+ markup?: {
31991
+ amount?: number | null;
31992
+ taxRateId?: string | null;
31993
+ taxBehavior?: ("excluded" | "included") | null;
31994
+ } | null;
31995
+ listingId?: string | null;
31996
+ reservationId?: string | null;
31997
+ ownerStatementId?: string | null;
31998
+ party?: ("owners" | "manager") | null;
31999
+ contactId?: string | null;
32000
+ matchers?: {
32001
+ confirmationCode?: string | null;
32002
+ customerId?: string | null;
32003
+ lineType?: string | null;
32004
+ } | null;
32005
+ /** Format: uuid */
32006
+ id: string;
32007
+ }[] | null;
32008
+ /** @description Lines to be deleted (can not be combined with "lines" in the same request) */
32009
+ lines_delete?: string[] | null;
31345
32010
  };
31346
32011
  };
31347
32012
  };
@@ -31391,9 +32056,11 @@ export interface operations {
31391
32056
  id: string;
31392
32057
  name: string;
31393
32058
  uniqueRef?: string | null;
32059
+ shortRef?: string | null;
31394
32060
  } | null;
31395
32061
  reservation?: {
31396
32062
  id: string;
32063
+ shortRef?: string | null;
31397
32064
  confirmationCode?: string | null;
31398
32065
  uniqueRef: string;
31399
32066
  /** @enum {string} */
@@ -31415,6 +32082,7 @@ export interface operations {
31415
32082
  id: string;
31416
32083
  name?: string | null;
31417
32084
  uniqueRef?: string | null;
32085
+ shortRef?: string | null;
31418
32086
  } | null;
31419
32087
  matchStatus?: string | null;
31420
32088
  markup?: {
@@ -31427,12 +32095,31 @@ export interface operations {
31427
32095
  basisPoints: number;
31428
32096
  } | null;
31429
32097
  } | null;
32098
+ lock?: {
32099
+ /** @enum {string} */
32100
+ status: "locked" | "unlocked";
32101
+ booksClosed?: {
32102
+ date: string;
32103
+ } | null;
32104
+ ownerStatement?: {
32105
+ ids: string[];
32106
+ } | null;
32107
+ statementPeriod?: {
32108
+ hits: {
32109
+ /** Format: uuid */
32110
+ listingId: string;
32111
+ txnAt: string;
32112
+ openFrom: string;
32113
+ }[];
32114
+ } | null;
32115
+ } | null;
31430
32116
  }[];
31431
32117
  recurringTemplateId?: string | null;
31432
32118
  matchers?: {
31433
32119
  bankAccountRef?: string | null;
31434
32120
  } | null;
31435
32121
  id: string;
32122
+ shortRef?: string | null;
31436
32123
  lock?: {
31437
32124
  /** @enum {string} */
31438
32125
  status: "locked" | "unlocked";
@@ -31510,6 +32197,7 @@ export interface operations {
31510
32197
  id: string;
31511
32198
  name?: string | null;
31512
32199
  uniqueRef?: string | null;
32200
+ shortRef?: string | null;
31513
32201
  } | null;
31514
32202
  source?: {
31515
32203
  /** Format: uuid */
@@ -31798,9 +32486,11 @@ export interface operations {
31798
32486
  id: string;
31799
32487
  name: string;
31800
32488
  uniqueRef?: string | null;
32489
+ shortRef?: string | null;
31801
32490
  } | null;
31802
32491
  reservation?: {
31803
32492
  id: string;
32493
+ shortRef?: string | null;
31804
32494
  confirmationCode?: string | null;
31805
32495
  uniqueRef: string;
31806
32496
  /** @enum {string} */
@@ -31822,6 +32512,7 @@ export interface operations {
31822
32512
  id: string;
31823
32513
  name?: string | null;
31824
32514
  uniqueRef?: string | null;
32515
+ shortRef?: string | null;
31825
32516
  } | null;
31826
32517
  matchStatus?: string | null;
31827
32518
  markup?: {
@@ -31834,12 +32525,31 @@ export interface operations {
31834
32525
  basisPoints: number;
31835
32526
  } | null;
31836
32527
  } | null;
32528
+ lock?: {
32529
+ /** @enum {string} */
32530
+ status: "locked" | "unlocked";
32531
+ booksClosed?: {
32532
+ date: string;
32533
+ } | null;
32534
+ ownerStatement?: {
32535
+ ids: string[];
32536
+ } | null;
32537
+ statementPeriod?: {
32538
+ hits: {
32539
+ /** Format: uuid */
32540
+ listingId: string;
32541
+ txnAt: string;
32542
+ openFrom: string;
32543
+ }[];
32544
+ } | null;
32545
+ } | null;
31837
32546
  }[];
31838
32547
  recurringTemplateId?: string | null;
31839
32548
  matchers?: {
31840
32549
  bankAccountRef?: string | null;
31841
32550
  } | null;
31842
32551
  id: string;
32552
+ shortRef?: string | null;
31843
32553
  lock?: {
31844
32554
  /** @enum {string} */
31845
32555
  status: "locked" | "unlocked";
@@ -31917,6 +32627,7 @@ export interface operations {
31917
32627
  id: string;
31918
32628
  name?: string | null;
31919
32629
  uniqueRef?: string | null;
32630
+ shortRef?: string | null;
31920
32631
  } | null;
31921
32632
  source?: {
31922
32633
  /** Format: uuid */