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