@vrplatform/api 1.3.1-stage.2043 → 1.3.1-stage.2046

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.
@@ -1009,6 +1009,176 @@ export interface paths {
1009
1009
  patch?: never;
1010
1010
  trace?: never;
1011
1011
  };
1012
+ "/metrics/journal-entries": {
1013
+ parameters: {
1014
+ query?: never;
1015
+ header?: never;
1016
+ path?: never;
1017
+ cookie?: never;
1018
+ };
1019
+ /** @description Journal entry totals split by lock state and party */
1020
+ get: operations["getMetricJournalEntries"];
1021
+ put?: never;
1022
+ post?: never;
1023
+ delete?: never;
1024
+ options?: never;
1025
+ head?: never;
1026
+ patch?: never;
1027
+ trace?: never;
1028
+ };
1029
+ "/metrics/journal-entry-totals-by-recurring-fee": {
1030
+ parameters: {
1031
+ query?: never;
1032
+ header?: never;
1033
+ path?: never;
1034
+ cookie?: never;
1035
+ };
1036
+ /** @description Journal entry totals by recurring fee */
1037
+ get: operations["getMetricJournalEntryTotalsByRecurringFee"];
1038
+ put?: never;
1039
+ post?: never;
1040
+ delete?: never;
1041
+ options?: never;
1042
+ head?: never;
1043
+ patch?: never;
1044
+ trace?: never;
1045
+ };
1046
+ "/metrics/legacy/active-listing-created": {
1047
+ parameters: {
1048
+ query?: never;
1049
+ header?: never;
1050
+ path?: never;
1051
+ cookie?: never;
1052
+ };
1053
+ /** @description Legacy active listing created metric */
1054
+ get: operations["getMetricLegacyActiveListingCreated"];
1055
+ put?: never;
1056
+ post?: never;
1057
+ delete?: never;
1058
+ options?: never;
1059
+ head?: never;
1060
+ patch?: never;
1061
+ trace?: never;
1062
+ };
1063
+ "/metrics/legacy/bank-record-balances": {
1064
+ parameters: {
1065
+ query?: never;
1066
+ header?: never;
1067
+ path?: never;
1068
+ cookie?: never;
1069
+ };
1070
+ /** @description Legacy bank record balances metric */
1071
+ get: operations["getMetricLegacyBankRecordBalances"];
1072
+ put?: never;
1073
+ post?: never;
1074
+ delete?: never;
1075
+ options?: never;
1076
+ head?: never;
1077
+ patch?: never;
1078
+ trace?: never;
1079
+ };
1080
+ "/metrics/legacy/currencies": {
1081
+ parameters: {
1082
+ query?: never;
1083
+ header?: never;
1084
+ path?: never;
1085
+ cookie?: never;
1086
+ };
1087
+ /** @description Legacy currencies metric */
1088
+ get: operations["getMetricLegacyCurrencies"];
1089
+ put?: never;
1090
+ post?: never;
1091
+ delete?: never;
1092
+ options?: never;
1093
+ head?: never;
1094
+ patch?: never;
1095
+ trace?: never;
1096
+ };
1097
+ "/metrics/legacy/distinct-action-by-status": {
1098
+ parameters: {
1099
+ query?: never;
1100
+ header?: never;
1101
+ path?: never;
1102
+ cookie?: never;
1103
+ };
1104
+ /** @description Legacy distinct action by status metric */
1105
+ get: operations["getMetricLegacyDistinctActionByStatus"];
1106
+ put?: never;
1107
+ post?: never;
1108
+ delete?: never;
1109
+ options?: never;
1110
+ head?: never;
1111
+ patch?: never;
1112
+ trace?: never;
1113
+ };
1114
+ "/metrics/legacy/payment-volume": {
1115
+ parameters: {
1116
+ query?: never;
1117
+ header?: never;
1118
+ path?: never;
1119
+ cookie?: never;
1120
+ };
1121
+ /** @description Legacy payment volume metric */
1122
+ get: operations["getMetricLegacyPaymentVolume"];
1123
+ put?: never;
1124
+ post?: never;
1125
+ delete?: never;
1126
+ options?: never;
1127
+ head?: never;
1128
+ patch?: never;
1129
+ trace?: never;
1130
+ };
1131
+ "/metrics/legacy/reservation-daily-rate": {
1132
+ parameters: {
1133
+ query?: never;
1134
+ header?: never;
1135
+ path?: never;
1136
+ cookie?: never;
1137
+ };
1138
+ /** @description Legacy reservation daily rate metric */
1139
+ get: operations["getMetricLegacyReservationDailyRate"];
1140
+ put?: never;
1141
+ post?: never;
1142
+ delete?: never;
1143
+ options?: never;
1144
+ head?: never;
1145
+ patch?: never;
1146
+ trace?: never;
1147
+ };
1148
+ "/metrics/legacy/reservation-volume": {
1149
+ parameters: {
1150
+ query?: never;
1151
+ header?: never;
1152
+ path?: never;
1153
+ cookie?: never;
1154
+ };
1155
+ /** @description Legacy reservation volume metric */
1156
+ get: operations["getMetricLegacyReservationVolume"];
1157
+ put?: never;
1158
+ post?: never;
1159
+ delete?: never;
1160
+ options?: never;
1161
+ head?: never;
1162
+ patch?: never;
1163
+ trace?: never;
1164
+ };
1165
+ "/metrics/legacy/sync-by-status": {
1166
+ parameters: {
1167
+ query?: never;
1168
+ header?: never;
1169
+ path?: never;
1170
+ cookie?: never;
1171
+ };
1172
+ /** @description Legacy sync by status metric */
1173
+ get: operations["getMetricLegacySyncByStatus"];
1174
+ put?: never;
1175
+ post?: never;
1176
+ delete?: never;
1177
+ options?: never;
1178
+ head?: never;
1179
+ patch?: never;
1180
+ trace?: never;
1181
+ };
1012
1182
  "/metrics/listing-revenue": {
1013
1183
  parameters: {
1014
1184
  query?: never;
@@ -3899,7 +4069,7 @@ export interface operations {
3899
4069
  uniqueRef?: string | null;
3900
4070
  isOpeningBalance: boolean;
3901
4071
  /** @enum {string} */
3902
- type: "deposit" | "expense" | "transfer";
4072
+ type: "deposit" | "expense" | "transfer" | "payout";
3903
4073
  date: string;
3904
4074
  lines: {
3905
4075
  uniqueRef?: string | null;
@@ -4978,7 +5148,7 @@ export interface operations {
4978
5148
  /** @description Currency in ISO 4217 format, will be converted to lowercase */
4979
5149
  currency: string;
4980
5150
  /** @enum {string} */
4981
- type: "deposit" | "expense" | "transfer";
5151
+ type: "deposit" | "expense" | "transfer" | "payout";
4982
5152
  isOpeningBalance: boolean;
4983
5153
  contact?: {
4984
5154
  /** Format: uuid */
@@ -5024,7 +5194,7 @@ export interface operations {
5024
5194
  /** @description Currency in ISO 4217 format, will be converted to lowercase */
5025
5195
  currency: string;
5026
5196
  /** @enum {string} */
5027
- type: "deposit" | "expense" | "transfer";
5197
+ type: "deposit" | "expense" | "transfer" | "payout";
5028
5198
  isOpeningBalance: boolean;
5029
5199
  contact?: {
5030
5200
  /** Format: uuid */
@@ -6131,7 +6301,7 @@ export interface operations {
6131
6301
  /** @description Currency in ISO 4217 format, will be converted to lowercase */
6132
6302
  currency: string;
6133
6303
  /** @enum {string} */
6134
- type: "deposit" | "expense" | "transfer";
6304
+ type: "deposit" | "expense" | "transfer" | "payout";
6135
6305
  isOpeningBalance: boolean;
6136
6306
  contact?: {
6137
6307
  /** Format: uuid */
@@ -6593,7 +6763,7 @@ export interface operations {
6593
6763
  /** @description Currency in ISO 4217 format, will be converted to lowercase */
6594
6764
  currency: string;
6595
6765
  /** @enum {string} */
6596
- type: "deposit" | "expense" | "transfer";
6766
+ type: "deposit" | "expense" | "transfer" | "payout";
6597
6767
  isOpeningBalance: boolean;
6598
6768
  contact?: {
6599
6769
  /** Format: uuid */
@@ -13829,24 +13999,1148 @@ export interface operations {
13829
13999
  };
13830
14000
  };
13831
14001
  };
13832
- putListingsByIdOpeningBalance: {
14002
+ putListingsByIdOpeningBalance: {
14003
+ parameters: {
14004
+ query?: never;
14005
+ header?: never;
14006
+ path: {
14007
+ id: string;
14008
+ };
14009
+ cookie?: never;
14010
+ };
14011
+ requestBody?: {
14012
+ content: {
14013
+ "application/json": {
14014
+ /** @description Value in cents (100 = 1€) */
14015
+ amount: number;
14016
+ currency?: string | null;
14017
+ };
14018
+ };
14019
+ };
14020
+ responses: {
14021
+ /** @description Successful response */
14022
+ 200: {
14023
+ headers: {
14024
+ [name: string]: unknown;
14025
+ };
14026
+ content: {
14027
+ "application/json": {
14028
+ /** Format: uuid */
14029
+ listingId: string;
14030
+ /** @description Value in cents (100 = 1€) */
14031
+ amount: number;
14032
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
14033
+ currency: string;
14034
+ updatedAt?: string | null;
14035
+ };
14036
+ };
14037
+ };
14038
+ /** @description Bad request */
14039
+ 400: {
14040
+ headers: {
14041
+ [name: string]: unknown;
14042
+ };
14043
+ content: {
14044
+ "application/json": {
14045
+ code: string;
14046
+ message: string;
14047
+ issues?: {
14048
+ message: string;
14049
+ }[];
14050
+ context?: unknown;
14051
+ };
14052
+ };
14053
+ };
14054
+ /** @description Unauthorized */
14055
+ 401: {
14056
+ headers: {
14057
+ [name: string]: unknown;
14058
+ };
14059
+ content: {
14060
+ "application/json": {
14061
+ code: string;
14062
+ message: string;
14063
+ issues?: {
14064
+ message: string;
14065
+ }[];
14066
+ context?: unknown;
14067
+ };
14068
+ };
14069
+ };
14070
+ /** @description Forbidden */
14071
+ 403: {
14072
+ headers: {
14073
+ [name: string]: unknown;
14074
+ };
14075
+ content: {
14076
+ "application/json": {
14077
+ code: string;
14078
+ message: string;
14079
+ issues?: {
14080
+ message: string;
14081
+ }[];
14082
+ context?: unknown;
14083
+ };
14084
+ };
14085
+ };
14086
+ /** @description Not found */
14087
+ 404: {
14088
+ headers: {
14089
+ [name: string]: unknown;
14090
+ };
14091
+ content: {
14092
+ "application/json": {
14093
+ code: string;
14094
+ message: string;
14095
+ issues?: {
14096
+ message: string;
14097
+ }[];
14098
+ context?: unknown;
14099
+ };
14100
+ };
14101
+ };
14102
+ /** @description Internal server error */
14103
+ 500: {
14104
+ headers: {
14105
+ [name: string]: unknown;
14106
+ };
14107
+ content: {
14108
+ "application/json": {
14109
+ code: string;
14110
+ message: string;
14111
+ issues?: {
14112
+ message: string;
14113
+ }[];
14114
+ context?: unknown;
14115
+ };
14116
+ };
14117
+ };
14118
+ };
14119
+ };
14120
+ getMetricActiveListings: {
14121
+ parameters: {
14122
+ query: {
14123
+ /** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. */
14124
+ startDate: string;
14125
+ /** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. */
14126
+ endDate: string;
14127
+ };
14128
+ header?: never;
14129
+ path?: never;
14130
+ cookie?: never;
14131
+ };
14132
+ requestBody?: never;
14133
+ responses: {
14134
+ /** @description Successful response */
14135
+ 200: {
14136
+ headers: {
14137
+ [name: string]: unknown;
14138
+ };
14139
+ content: {
14140
+ "application/json": {
14141
+ data: {
14142
+ current: number;
14143
+ previous: number;
14144
+ delta: number;
14145
+ deltaPercentage: number | null;
14146
+ }[];
14147
+ };
14148
+ };
14149
+ };
14150
+ /** @description Bad request */
14151
+ 400: {
14152
+ headers: {
14153
+ [name: string]: unknown;
14154
+ };
14155
+ content: {
14156
+ "application/json": {
14157
+ code: string;
14158
+ message: string;
14159
+ issues?: {
14160
+ message: string;
14161
+ }[];
14162
+ context?: unknown;
14163
+ };
14164
+ };
14165
+ };
14166
+ /** @description Unauthorized */
14167
+ 401: {
14168
+ headers: {
14169
+ [name: string]: unknown;
14170
+ };
14171
+ content: {
14172
+ "application/json": {
14173
+ code: string;
14174
+ message: string;
14175
+ issues?: {
14176
+ message: string;
14177
+ }[];
14178
+ context?: unknown;
14179
+ };
14180
+ };
14181
+ };
14182
+ /** @description Forbidden */
14183
+ 403: {
14184
+ headers: {
14185
+ [name: string]: unknown;
14186
+ };
14187
+ content: {
14188
+ "application/json": {
14189
+ code: string;
14190
+ message: string;
14191
+ issues?: {
14192
+ message: string;
14193
+ }[];
14194
+ context?: unknown;
14195
+ };
14196
+ };
14197
+ };
14198
+ /** @description Not found */
14199
+ 404: {
14200
+ headers: {
14201
+ [name: string]: unknown;
14202
+ };
14203
+ content: {
14204
+ "application/json": {
14205
+ code: string;
14206
+ message: string;
14207
+ issues?: {
14208
+ message: string;
14209
+ }[];
14210
+ context?: unknown;
14211
+ };
14212
+ };
14213
+ };
14214
+ /** @description Internal server error */
14215
+ 500: {
14216
+ headers: {
14217
+ [name: string]: unknown;
14218
+ };
14219
+ content: {
14220
+ "application/json": {
14221
+ code: string;
14222
+ message: string;
14223
+ issues?: {
14224
+ message: string;
14225
+ }[];
14226
+ context?: unknown;
14227
+ };
14228
+ };
14229
+ };
14230
+ };
14231
+ };
14232
+ getMetricAverageDailyRate: {
14233
+ parameters: {
14234
+ query: {
14235
+ /** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. */
14236
+ startDate: string;
14237
+ /** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. */
14238
+ endDate: string;
14239
+ };
14240
+ header?: never;
14241
+ path?: never;
14242
+ cookie?: never;
14243
+ };
14244
+ requestBody?: never;
14245
+ responses: {
14246
+ /** @description Successful response */
14247
+ 200: {
14248
+ headers: {
14249
+ [name: string]: unknown;
14250
+ };
14251
+ content: {
14252
+ "application/json": {
14253
+ data: {
14254
+ current: number;
14255
+ previous: number;
14256
+ delta: number;
14257
+ deltaPercentage: number | null;
14258
+ }[];
14259
+ };
14260
+ };
14261
+ };
14262
+ /** @description Bad request */
14263
+ 400: {
14264
+ headers: {
14265
+ [name: string]: unknown;
14266
+ };
14267
+ content: {
14268
+ "application/json": {
14269
+ code: string;
14270
+ message: string;
14271
+ issues?: {
14272
+ message: string;
14273
+ }[];
14274
+ context?: unknown;
14275
+ };
14276
+ };
14277
+ };
14278
+ /** @description Unauthorized */
14279
+ 401: {
14280
+ headers: {
14281
+ [name: string]: unknown;
14282
+ };
14283
+ content: {
14284
+ "application/json": {
14285
+ code: string;
14286
+ message: string;
14287
+ issues?: {
14288
+ message: string;
14289
+ }[];
14290
+ context?: unknown;
14291
+ };
14292
+ };
14293
+ };
14294
+ /** @description Forbidden */
14295
+ 403: {
14296
+ headers: {
14297
+ [name: string]: unknown;
14298
+ };
14299
+ content: {
14300
+ "application/json": {
14301
+ code: string;
14302
+ message: string;
14303
+ issues?: {
14304
+ message: string;
14305
+ }[];
14306
+ context?: unknown;
14307
+ };
14308
+ };
14309
+ };
14310
+ /** @description Not found */
14311
+ 404: {
14312
+ headers: {
14313
+ [name: string]: unknown;
14314
+ };
14315
+ content: {
14316
+ "application/json": {
14317
+ code: string;
14318
+ message: string;
14319
+ issues?: {
14320
+ message: string;
14321
+ }[];
14322
+ context?: unknown;
14323
+ };
14324
+ };
14325
+ };
14326
+ /** @description Internal server error */
14327
+ 500: {
14328
+ headers: {
14329
+ [name: string]: unknown;
14330
+ };
14331
+ content: {
14332
+ "application/json": {
14333
+ code: string;
14334
+ message: string;
14335
+ issues?: {
14336
+ message: string;
14337
+ }[];
14338
+ context?: unknown;
14339
+ };
14340
+ };
14341
+ };
14342
+ };
14343
+ };
14344
+ getMetricCashFlow: {
14345
+ parameters: {
14346
+ query: {
14347
+ dimension?: "month" | "week" | "day" | "year";
14348
+ /** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. */
14349
+ startDate: string;
14350
+ /** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. */
14351
+ endDate: string;
14352
+ };
14353
+ header?: never;
14354
+ path?: never;
14355
+ cookie?: never;
14356
+ };
14357
+ requestBody?: never;
14358
+ responses: {
14359
+ /** @description Successful response */
14360
+ 200: {
14361
+ headers: {
14362
+ [name: string]: unknown;
14363
+ };
14364
+ content: {
14365
+ "application/json": {
14366
+ data: {
14367
+ date: string;
14368
+ inflow: number;
14369
+ outflow: number;
14370
+ netCashFlow: number;
14371
+ }[];
14372
+ };
14373
+ };
14374
+ };
14375
+ /** @description Bad request */
14376
+ 400: {
14377
+ headers: {
14378
+ [name: string]: unknown;
14379
+ };
14380
+ content: {
14381
+ "application/json": {
14382
+ code: string;
14383
+ message: string;
14384
+ issues?: {
14385
+ message: string;
14386
+ }[];
14387
+ context?: unknown;
14388
+ };
14389
+ };
14390
+ };
14391
+ /** @description Unauthorized */
14392
+ 401: {
14393
+ headers: {
14394
+ [name: string]: unknown;
14395
+ };
14396
+ content: {
14397
+ "application/json": {
14398
+ code: string;
14399
+ message: string;
14400
+ issues?: {
14401
+ message: string;
14402
+ }[];
14403
+ context?: unknown;
14404
+ };
14405
+ };
14406
+ };
14407
+ /** @description Forbidden */
14408
+ 403: {
14409
+ headers: {
14410
+ [name: string]: unknown;
14411
+ };
14412
+ content: {
14413
+ "application/json": {
14414
+ code: string;
14415
+ message: string;
14416
+ issues?: {
14417
+ message: string;
14418
+ }[];
14419
+ context?: unknown;
14420
+ };
14421
+ };
14422
+ };
14423
+ /** @description Not found */
14424
+ 404: {
14425
+ headers: {
14426
+ [name: string]: unknown;
14427
+ };
14428
+ content: {
14429
+ "application/json": {
14430
+ code: string;
14431
+ message: string;
14432
+ issues?: {
14433
+ message: string;
14434
+ }[];
14435
+ context?: unknown;
14436
+ };
14437
+ };
14438
+ };
14439
+ /** @description Internal server error */
14440
+ 500: {
14441
+ headers: {
14442
+ [name: string]: unknown;
14443
+ };
14444
+ content: {
14445
+ "application/json": {
14446
+ code: string;
14447
+ message: string;
14448
+ issues?: {
14449
+ message: string;
14450
+ }[];
14451
+ context?: unknown;
14452
+ };
14453
+ };
14454
+ };
14455
+ };
14456
+ };
14457
+ getMetricCheckinCounts: {
14458
+ parameters: {
14459
+ query: {
14460
+ /** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. */
14461
+ startDate: string;
14462
+ /** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. */
14463
+ endDate: string;
14464
+ };
14465
+ header?: never;
14466
+ path?: never;
14467
+ cookie?: never;
14468
+ };
14469
+ requestBody?: never;
14470
+ responses: {
14471
+ /** @description Successful response */
14472
+ 200: {
14473
+ headers: {
14474
+ [name: string]: unknown;
14475
+ };
14476
+ content: {
14477
+ "application/json": {
14478
+ data: {
14479
+ current: number;
14480
+ previous: number;
14481
+ delta: number;
14482
+ deltaPercentage: number | null;
14483
+ }[];
14484
+ };
14485
+ };
14486
+ };
14487
+ /** @description Bad request */
14488
+ 400: {
14489
+ headers: {
14490
+ [name: string]: unknown;
14491
+ };
14492
+ content: {
14493
+ "application/json": {
14494
+ code: string;
14495
+ message: string;
14496
+ issues?: {
14497
+ message: string;
14498
+ }[];
14499
+ context?: unknown;
14500
+ };
14501
+ };
14502
+ };
14503
+ /** @description Unauthorized */
14504
+ 401: {
14505
+ headers: {
14506
+ [name: string]: unknown;
14507
+ };
14508
+ content: {
14509
+ "application/json": {
14510
+ code: string;
14511
+ message: string;
14512
+ issues?: {
14513
+ message: string;
14514
+ }[];
14515
+ context?: unknown;
14516
+ };
14517
+ };
14518
+ };
14519
+ /** @description Forbidden */
14520
+ 403: {
14521
+ headers: {
14522
+ [name: string]: unknown;
14523
+ };
14524
+ content: {
14525
+ "application/json": {
14526
+ code: string;
14527
+ message: string;
14528
+ issues?: {
14529
+ message: string;
14530
+ }[];
14531
+ context?: unknown;
14532
+ };
14533
+ };
14534
+ };
14535
+ /** @description Not found */
14536
+ 404: {
14537
+ headers: {
14538
+ [name: string]: unknown;
14539
+ };
14540
+ content: {
14541
+ "application/json": {
14542
+ code: string;
14543
+ message: string;
14544
+ issues?: {
14545
+ message: string;
14546
+ }[];
14547
+ context?: unknown;
14548
+ };
14549
+ };
14550
+ };
14551
+ /** @description Internal server error */
14552
+ 500: {
14553
+ headers: {
14554
+ [name: string]: unknown;
14555
+ };
14556
+ content: {
14557
+ "application/json": {
14558
+ code: string;
14559
+ message: string;
14560
+ issues?: {
14561
+ message: string;
14562
+ }[];
14563
+ context?: unknown;
14564
+ };
14565
+ };
14566
+ };
14567
+ };
14568
+ };
14569
+ getMetricFutureBookedRevenue: {
14570
+ parameters: {
14571
+ query: {
14572
+ dimension?: "month" | "week" | "day" | "year";
14573
+ /** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. */
14574
+ startDate: string;
14575
+ /** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. */
14576
+ endDate: string;
14577
+ };
14578
+ header?: never;
14579
+ path?: never;
14580
+ cookie?: never;
14581
+ };
14582
+ requestBody?: never;
14583
+ responses: {
14584
+ /** @description Successful response */
14585
+ 200: {
14586
+ headers: {
14587
+ [name: string]: unknown;
14588
+ };
14589
+ content: {
14590
+ "application/json": {
14591
+ data: {
14592
+ date: string;
14593
+ futureRevenue: number;
14594
+ bookedRevenue: number;
14595
+ }[];
14596
+ };
14597
+ };
14598
+ };
14599
+ /** @description Bad request */
14600
+ 400: {
14601
+ headers: {
14602
+ [name: string]: unknown;
14603
+ };
14604
+ content: {
14605
+ "application/json": {
14606
+ code: string;
14607
+ message: string;
14608
+ issues?: {
14609
+ message: string;
14610
+ }[];
14611
+ context?: unknown;
14612
+ };
14613
+ };
14614
+ };
14615
+ /** @description Unauthorized */
14616
+ 401: {
14617
+ headers: {
14618
+ [name: string]: unknown;
14619
+ };
14620
+ content: {
14621
+ "application/json": {
14622
+ code: string;
14623
+ message: string;
14624
+ issues?: {
14625
+ message: string;
14626
+ }[];
14627
+ context?: unknown;
14628
+ };
14629
+ };
14630
+ };
14631
+ /** @description Forbidden */
14632
+ 403: {
14633
+ headers: {
14634
+ [name: string]: unknown;
14635
+ };
14636
+ content: {
14637
+ "application/json": {
14638
+ code: string;
14639
+ message: string;
14640
+ issues?: {
14641
+ message: string;
14642
+ }[];
14643
+ context?: unknown;
14644
+ };
14645
+ };
14646
+ };
14647
+ /** @description Not found */
14648
+ 404: {
14649
+ headers: {
14650
+ [name: string]: unknown;
14651
+ };
14652
+ content: {
14653
+ "application/json": {
14654
+ code: string;
14655
+ message: string;
14656
+ issues?: {
14657
+ message: string;
14658
+ }[];
14659
+ context?: unknown;
14660
+ };
14661
+ };
14662
+ };
14663
+ /** @description Internal server error */
14664
+ 500: {
14665
+ headers: {
14666
+ [name: string]: unknown;
14667
+ };
14668
+ content: {
14669
+ "application/json": {
14670
+ code: string;
14671
+ message: string;
14672
+ issues?: {
14673
+ message: string;
14674
+ }[];
14675
+ context?: unknown;
14676
+ };
14677
+ };
14678
+ };
14679
+ };
14680
+ };
14681
+ getMetricJournalEntries: {
14682
+ parameters: {
14683
+ query: {
14684
+ party: "owners" | "manager";
14685
+ dimension?: "month" | "week" | "day" | "year";
14686
+ /** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. */
14687
+ startDate: string;
14688
+ /** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. */
14689
+ endDate: string;
14690
+ };
14691
+ header?: never;
14692
+ path?: never;
14693
+ cookie?: never;
14694
+ };
14695
+ requestBody?: never;
14696
+ responses: {
14697
+ /** @description Successful response */
14698
+ 200: {
14699
+ headers: {
14700
+ [name: string]: unknown;
14701
+ };
14702
+ content: {
14703
+ "application/json": {
14704
+ data: {
14705
+ date: string;
14706
+ lockedTotal?: number;
14707
+ unlockedTotal: number;
14708
+ currency: string;
14709
+ }[];
14710
+ };
14711
+ };
14712
+ };
14713
+ /** @description Bad request */
14714
+ 400: {
14715
+ headers: {
14716
+ [name: string]: unknown;
14717
+ };
14718
+ content: {
14719
+ "application/json": {
14720
+ code: string;
14721
+ message: string;
14722
+ issues?: {
14723
+ message: string;
14724
+ }[];
14725
+ context?: unknown;
14726
+ };
14727
+ };
14728
+ };
14729
+ /** @description Unauthorized */
14730
+ 401: {
14731
+ headers: {
14732
+ [name: string]: unknown;
14733
+ };
14734
+ content: {
14735
+ "application/json": {
14736
+ code: string;
14737
+ message: string;
14738
+ issues?: {
14739
+ message: string;
14740
+ }[];
14741
+ context?: unknown;
14742
+ };
14743
+ };
14744
+ };
14745
+ /** @description Forbidden */
14746
+ 403: {
14747
+ headers: {
14748
+ [name: string]: unknown;
14749
+ };
14750
+ content: {
14751
+ "application/json": {
14752
+ code: string;
14753
+ message: string;
14754
+ issues?: {
14755
+ message: string;
14756
+ }[];
14757
+ context?: unknown;
14758
+ };
14759
+ };
14760
+ };
14761
+ /** @description Not found */
14762
+ 404: {
14763
+ headers: {
14764
+ [name: string]: unknown;
14765
+ };
14766
+ content: {
14767
+ "application/json": {
14768
+ code: string;
14769
+ message: string;
14770
+ issues?: {
14771
+ message: string;
14772
+ }[];
14773
+ context?: unknown;
14774
+ };
14775
+ };
14776
+ };
14777
+ /** @description Internal server error */
14778
+ 500: {
14779
+ headers: {
14780
+ [name: string]: unknown;
14781
+ };
14782
+ content: {
14783
+ "application/json": {
14784
+ code: string;
14785
+ message: string;
14786
+ issues?: {
14787
+ message: string;
14788
+ }[];
14789
+ context?: unknown;
14790
+ };
14791
+ };
14792
+ };
14793
+ };
14794
+ };
14795
+ getMetricJournalEntryTotalsByRecurringFee: {
14796
+ parameters: {
14797
+ query: {
14798
+ recurringFeeId: string;
14799
+ dimension?: "month" | "week" | "day" | "year";
14800
+ /** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. */
14801
+ startDate: string;
14802
+ /** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. */
14803
+ endDate: string;
14804
+ };
14805
+ header?: never;
14806
+ path?: never;
14807
+ cookie?: never;
14808
+ };
14809
+ requestBody?: never;
14810
+ responses: {
14811
+ /** @description Successful response */
14812
+ 200: {
14813
+ headers: {
14814
+ [name: string]: unknown;
14815
+ };
14816
+ content: {
14817
+ "application/json": {
14818
+ data: {
14819
+ date: string;
14820
+ count: number;
14821
+ amount: number;
14822
+ }[];
14823
+ };
14824
+ };
14825
+ };
14826
+ /** @description Bad request */
14827
+ 400: {
14828
+ headers: {
14829
+ [name: string]: unknown;
14830
+ };
14831
+ content: {
14832
+ "application/json": {
14833
+ code: string;
14834
+ message: string;
14835
+ issues?: {
14836
+ message: string;
14837
+ }[];
14838
+ context?: unknown;
14839
+ };
14840
+ };
14841
+ };
14842
+ /** @description Unauthorized */
14843
+ 401: {
14844
+ headers: {
14845
+ [name: string]: unknown;
14846
+ };
14847
+ content: {
14848
+ "application/json": {
14849
+ code: string;
14850
+ message: string;
14851
+ issues?: {
14852
+ message: string;
14853
+ }[];
14854
+ context?: unknown;
14855
+ };
14856
+ };
14857
+ };
14858
+ /** @description Forbidden */
14859
+ 403: {
14860
+ headers: {
14861
+ [name: string]: unknown;
14862
+ };
14863
+ content: {
14864
+ "application/json": {
14865
+ code: string;
14866
+ message: string;
14867
+ issues?: {
14868
+ message: string;
14869
+ }[];
14870
+ context?: unknown;
14871
+ };
14872
+ };
14873
+ };
14874
+ /** @description Not found */
14875
+ 404: {
14876
+ headers: {
14877
+ [name: string]: unknown;
14878
+ };
14879
+ content: {
14880
+ "application/json": {
14881
+ code: string;
14882
+ message: string;
14883
+ issues?: {
14884
+ message: string;
14885
+ }[];
14886
+ context?: unknown;
14887
+ };
14888
+ };
14889
+ };
14890
+ /** @description Internal server error */
14891
+ 500: {
14892
+ headers: {
14893
+ [name: string]: unknown;
14894
+ };
14895
+ content: {
14896
+ "application/json": {
14897
+ code: string;
14898
+ message: string;
14899
+ issues?: {
14900
+ message: string;
14901
+ }[];
14902
+ context?: unknown;
14903
+ };
14904
+ };
14905
+ };
14906
+ };
14907
+ };
14908
+ getMetricLegacyActiveListingCreated: {
13833
14909
  parameters: {
13834
- query?: never;
14910
+ query: {
14911
+ dimension?: "month" | "week" | "day" | "year";
14912
+ /** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. */
14913
+ startDate: string;
14914
+ /** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. */
14915
+ endDate: string;
14916
+ };
13835
14917
  header?: never;
13836
- path: {
13837
- id: string;
14918
+ path?: never;
14919
+ cookie?: never;
14920
+ };
14921
+ requestBody?: never;
14922
+ responses: {
14923
+ /** @description Successful response */
14924
+ 200: {
14925
+ headers: {
14926
+ [name: string]: unknown;
14927
+ };
14928
+ content: {
14929
+ "application/json": {
14930
+ data: {
14931
+ date: string;
14932
+ created: number;
14933
+ }[];
14934
+ };
14935
+ };
14936
+ };
14937
+ /** @description Bad request */
14938
+ 400: {
14939
+ headers: {
14940
+ [name: string]: unknown;
14941
+ };
14942
+ content: {
14943
+ "application/json": {
14944
+ code: string;
14945
+ message: string;
14946
+ issues?: {
14947
+ message: string;
14948
+ }[];
14949
+ context?: unknown;
14950
+ };
14951
+ };
14952
+ };
14953
+ /** @description Unauthorized */
14954
+ 401: {
14955
+ headers: {
14956
+ [name: string]: unknown;
14957
+ };
14958
+ content: {
14959
+ "application/json": {
14960
+ code: string;
14961
+ message: string;
14962
+ issues?: {
14963
+ message: string;
14964
+ }[];
14965
+ context?: unknown;
14966
+ };
14967
+ };
14968
+ };
14969
+ /** @description Forbidden */
14970
+ 403: {
14971
+ headers: {
14972
+ [name: string]: unknown;
14973
+ };
14974
+ content: {
14975
+ "application/json": {
14976
+ code: string;
14977
+ message: string;
14978
+ issues?: {
14979
+ message: string;
14980
+ }[];
14981
+ context?: unknown;
14982
+ };
14983
+ };
14984
+ };
14985
+ /** @description Not found */
14986
+ 404: {
14987
+ headers: {
14988
+ [name: string]: unknown;
14989
+ };
14990
+ content: {
14991
+ "application/json": {
14992
+ code: string;
14993
+ message: string;
14994
+ issues?: {
14995
+ message: string;
14996
+ }[];
14997
+ context?: unknown;
14998
+ };
14999
+ };
15000
+ };
15001
+ /** @description Internal server error */
15002
+ 500: {
15003
+ headers: {
15004
+ [name: string]: unknown;
15005
+ };
15006
+ content: {
15007
+ "application/json": {
15008
+ code: string;
15009
+ message: string;
15010
+ issues?: {
15011
+ message: string;
15012
+ }[];
15013
+ context?: unknown;
15014
+ };
15015
+ };
15016
+ };
15017
+ };
15018
+ };
15019
+ getMetricLegacyBankRecordBalances: {
15020
+ parameters: {
15021
+ query: {
15022
+ dimension?: "month" | "week" | "day" | "year";
15023
+ /** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. */
15024
+ startDate: string;
15025
+ /** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. */
15026
+ endDate: string;
13838
15027
  };
15028
+ header?: never;
15029
+ path?: never;
13839
15030
  cookie?: never;
13840
15031
  };
13841
- requestBody?: {
13842
- content: {
13843
- "application/json": {
13844
- /** @description Value in cents (100 = 1€) */
13845
- amount: number;
13846
- currency?: string | null;
15032
+ requestBody?: never;
15033
+ responses: {
15034
+ /** @description Successful response */
15035
+ 200: {
15036
+ headers: {
15037
+ [name: string]: unknown;
15038
+ };
15039
+ content: {
15040
+ "application/json": {
15041
+ data: {
15042
+ date: string;
15043
+ centBalance: number;
15044
+ bankAccountId: string | null;
15045
+ }[];
15046
+ };
15047
+ };
15048
+ };
15049
+ /** @description Bad request */
15050
+ 400: {
15051
+ headers: {
15052
+ [name: string]: unknown;
15053
+ };
15054
+ content: {
15055
+ "application/json": {
15056
+ code: string;
15057
+ message: string;
15058
+ issues?: {
15059
+ message: string;
15060
+ }[];
15061
+ context?: unknown;
15062
+ };
15063
+ };
15064
+ };
15065
+ /** @description Unauthorized */
15066
+ 401: {
15067
+ headers: {
15068
+ [name: string]: unknown;
15069
+ };
15070
+ content: {
15071
+ "application/json": {
15072
+ code: string;
15073
+ message: string;
15074
+ issues?: {
15075
+ message: string;
15076
+ }[];
15077
+ context?: unknown;
15078
+ };
15079
+ };
15080
+ };
15081
+ /** @description Forbidden */
15082
+ 403: {
15083
+ headers: {
15084
+ [name: string]: unknown;
15085
+ };
15086
+ content: {
15087
+ "application/json": {
15088
+ code: string;
15089
+ message: string;
15090
+ issues?: {
15091
+ message: string;
15092
+ }[];
15093
+ context?: unknown;
15094
+ };
15095
+ };
15096
+ };
15097
+ /** @description Not found */
15098
+ 404: {
15099
+ headers: {
15100
+ [name: string]: unknown;
15101
+ };
15102
+ content: {
15103
+ "application/json": {
15104
+ code: string;
15105
+ message: string;
15106
+ issues?: {
15107
+ message: string;
15108
+ }[];
15109
+ context?: unknown;
15110
+ };
15111
+ };
15112
+ };
15113
+ /** @description Internal server error */
15114
+ 500: {
15115
+ headers: {
15116
+ [name: string]: unknown;
15117
+ };
15118
+ content: {
15119
+ "application/json": {
15120
+ code: string;
15121
+ message: string;
15122
+ issues?: {
15123
+ message: string;
15124
+ }[];
15125
+ context?: unknown;
15126
+ };
13847
15127
  };
13848
15128
  };
13849
15129
  };
15130
+ };
15131
+ getMetricLegacyCurrencies: {
15132
+ parameters: {
15133
+ query: {
15134
+ /** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. */
15135
+ startDate: string;
15136
+ /** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. */
15137
+ endDate: string;
15138
+ };
15139
+ header?: never;
15140
+ path?: never;
15141
+ cookie?: never;
15142
+ };
15143
+ requestBody?: never;
13850
15144
  responses: {
13851
15145
  /** @description Successful response */
13852
15146
  200: {
@@ -13855,13 +15149,9 @@ export interface operations {
13855
15149
  };
13856
15150
  content: {
13857
15151
  "application/json": {
13858
- /** Format: uuid */
13859
- listingId: string;
13860
- /** @description Value in cents (100 = 1€) */
13861
- amount: number;
13862
- /** @description Currency in ISO 4217 format, will be converted to lowercase */
13863
- currency: string;
13864
- updatedAt?: string | null;
15152
+ data: {
15153
+ currency: string | null;
15154
+ }[];
13865
15155
  };
13866
15156
  };
13867
15157
  };
@@ -13947,9 +15237,10 @@ export interface operations {
13947
15237
  };
13948
15238
  };
13949
15239
  };
13950
- getMetricActiveListings: {
15240
+ getMetricLegacyDistinctActionByStatus: {
13951
15241
  parameters: {
13952
15242
  query: {
15243
+ dimension?: "month" | "week" | "day" | "year";
13953
15244
  /** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. */
13954
15245
  startDate: string;
13955
15246
  /** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. */
@@ -13969,10 +15260,9 @@ export interface operations {
13969
15260
  content: {
13970
15261
  "application/json": {
13971
15262
  data: {
13972
- current: number;
13973
- previous: number;
13974
- delta: number;
13975
- deltaPercentage: number | null;
15263
+ date: string;
15264
+ total: number;
15265
+ status: string;
13976
15266
  }[];
13977
15267
  };
13978
15268
  };
@@ -14059,9 +15349,10 @@ export interface operations {
14059
15349
  };
14060
15350
  };
14061
15351
  };
14062
- getMetricAverageDailyRate: {
15352
+ getMetricLegacyPaymentVolume: {
14063
15353
  parameters: {
14064
15354
  query: {
15355
+ dimension?: "month" | "week" | "day" | "year";
14065
15356
  /** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. */
14066
15357
  startDate: string;
14067
15358
  /** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. */
@@ -14081,10 +15372,9 @@ export interface operations {
14081
15372
  content: {
14082
15373
  "application/json": {
14083
15374
  data: {
14084
- current: number;
14085
- previous: number;
14086
- delta: number;
14087
- deltaPercentage: number | null;
15375
+ date: string;
15376
+ total: number;
15377
+ currency: string | null;
14088
15378
  }[];
14089
15379
  };
14090
15380
  };
@@ -14171,7 +15461,7 @@ export interface operations {
14171
15461
  };
14172
15462
  };
14173
15463
  };
14174
- getMetricCashFlow: {
15464
+ getMetricLegacyReservationDailyRate: {
14175
15465
  parameters: {
14176
15466
  query: {
14177
15467
  dimension?: "month" | "week" | "day" | "year";
@@ -14195,9 +15485,8 @@ export interface operations {
14195
15485
  "application/json": {
14196
15486
  data: {
14197
15487
  date: string;
14198
- inflow: number;
14199
- outflow: number;
14200
- netCashFlow: number;
15488
+ rate: number;
15489
+ currency: string | null;
14201
15490
  }[];
14202
15491
  };
14203
15492
  };
@@ -14284,9 +15573,10 @@ export interface operations {
14284
15573
  };
14285
15574
  };
14286
15575
  };
14287
- getMetricCheckinCounts: {
15576
+ getMetricLegacyReservationVolume: {
14288
15577
  parameters: {
14289
15578
  query: {
15579
+ dimension?: "month" | "week" | "day" | "year";
14290
15580
  /** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. */
14291
15581
  startDate: string;
14292
15582
  /** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. */
@@ -14306,10 +15596,9 @@ export interface operations {
14306
15596
  content: {
14307
15597
  "application/json": {
14308
15598
  data: {
14309
- current: number;
14310
- previous: number;
14311
- delta: number;
14312
- deltaPercentage: number | null;
15599
+ date: string;
15600
+ total: number;
15601
+ currency: string | null;
14313
15602
  }[];
14314
15603
  };
14315
15604
  };
@@ -14396,9 +15685,10 @@ export interface operations {
14396
15685
  };
14397
15686
  };
14398
15687
  };
14399
- getMetricFutureBookedRevenue: {
15688
+ getMetricLegacySyncByStatus: {
14400
15689
  parameters: {
14401
15690
  query: {
15691
+ connectionId: string;
14402
15692
  dimension?: "month" | "week" | "day" | "year";
14403
15693
  /** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. */
14404
15694
  startDate: string;
@@ -14420,8 +15710,8 @@ export interface operations {
14420
15710
  "application/json": {
14421
15711
  data: {
14422
15712
  date: string;
14423
- futureRevenue: number;
14424
- bookedRevenue: number;
15713
+ total: number;
15714
+ status: string;
14425
15715
  }[];
14426
15716
  };
14427
15717
  };
@@ -17547,7 +18837,7 @@ export interface operations {
17547
18837
  /** @description Currency in ISO 4217 format, will be converted to lowercase */
17548
18838
  currency: string;
17549
18839
  /** @enum {string} */
17550
- type: "deposit" | "expense" | "transfer";
18840
+ type: "deposit" | "expense" | "transfer" | "payout";
17551
18841
  isOpeningBalance: boolean;
17552
18842
  contact?: {
17553
18843
  /** Format: uuid */
@@ -22786,7 +24076,7 @@ export interface operations {
22786
24076
  /** @description Currency in ISO 4217 format, will be converted to lowercase */
22787
24077
  currency: string;
22788
24078
  /** @enum {string} */
22789
- type: "deposit" | "expense" | "transfer";
24079
+ type: "deposit" | "expense" | "transfer" | "payout";
22790
24080
  isOpeningBalance: boolean;
22791
24081
  contact?: {
22792
24082
  /** Format: uuid */
@@ -24173,7 +25463,7 @@ export interface operations {
24173
25463
  /** @description Currency in ISO 4217 format, will be converted to lowercase */
24174
25464
  currency: string;
24175
25465
  /** @enum {string} */
24176
- type: "deposit" | "expense" | "transfer";
25466
+ type: "deposit" | "expense" | "transfer" | "payout";
24177
25467
  isOpeningBalance: boolean;
24178
25468
  contact?: {
24179
25469
  /** Format: uuid */
@@ -24736,7 +26026,7 @@ export interface operations {
24736
26026
  /** @description Currency in ISO 4217 format, will be converted to lowercase */
24737
26027
  currency: string;
24738
26028
  /** @enum {string} */
24739
- type: "deposit" | "expense" | "transfer";
26029
+ type: "deposit" | "expense" | "transfer" | "payout";
24740
26030
  isOpeningBalance: boolean;
24741
26031
  contact?: {
24742
26032
  /** Format: uuid */
@@ -25416,7 +26706,7 @@ export interface operations {
25416
26706
  /** @description Currency in ISO 4217 format, will be converted to lowercase */
25417
26707
  currency: string;
25418
26708
  /** @enum {string} */
25419
- type: "deposit" | "expense" | "transfer";
26709
+ type: "deposit" | "expense" | "transfer" | "payout";
25420
26710
  isOpeningBalance: boolean;
25421
26711
  contact?: {
25422
26712
  /** Format: uuid */
@@ -25871,7 +27161,7 @@ export interface operations {
25871
27161
  /** @description Currency in ISO 4217 format, will be converted to lowercase */
25872
27162
  currency: string;
25873
27163
  /** @enum {string} */
25874
- type: "deposit" | "expense" | "transfer";
27164
+ type: "deposit" | "expense" | "transfer" | "payout";
25875
27165
  isOpeningBalance: boolean;
25876
27166
  contact?: {
25877
27167
  /** Format: uuid */
@@ -26312,7 +27602,7 @@ export interface operations {
26312
27602
  /** @description Currency in ISO 4217 format, will be converted to lowercase */
26313
27603
  currency: string;
26314
27604
  /** @enum {string} */
26315
- type: "deposit" | "expense" | "transfer";
27605
+ type: "deposit" | "expense" | "transfer" | "payout";
26316
27606
  isOpeningBalance: boolean;
26317
27607
  contact?: {
26318
27608
  /** Format: uuid */
@@ -27283,7 +28573,7 @@ export interface operations {
27283
28573
  source: {
27284
28574
  id: string;
27285
28575
  /** @enum {string} */
27286
- type: "deposit" | "expense" | "transfer";
28576
+ type: "deposit" | "expense" | "payout";
27287
28577
  description: string;
27288
28578
  lines: {
27289
28579
  id: string;
@@ -27872,7 +29162,7 @@ export interface operations {
27872
29162
  source: {
27873
29163
  id: string;
27874
29164
  /** @enum {string} */
27875
- type: "deposit" | "expense" | "transfer";
29165
+ type: "deposit" | "expense" | "payout";
27876
29166
  description: string;
27877
29167
  lines: {
27878
29168
  id: string;
@@ -29361,7 +30651,7 @@ export interface operations {
29361
30651
  uniqueRef?: string | null;
29362
30652
  isOpeningBalance: boolean;
29363
30653
  /** @enum {string} */
29364
- type: "deposit" | "expense" | "transfer";
30654
+ type: "deposit" | "expense" | "transfer" | "payout";
29365
30655
  date: string;
29366
30656
  lines: {
29367
30657
  uniqueRef?: string | null;
@@ -30393,7 +31683,7 @@ export interface operations {
30393
31683
  source: {
30394
31684
  id: string;
30395
31685
  /** @enum {string} */
30396
- type: "deposit" | "expense" | "transfer";
31686
+ type: "deposit" | "expense" | "payout";
30397
31687
  description: string;
30398
31688
  lines: {
30399
31689
  id: string;
@@ -30987,7 +32277,7 @@ export interface operations {
30987
32277
  source: {
30988
32278
  id: string;
30989
32279
  /** @enum {string} */
30990
- type: "deposit" | "expense" | "transfer";
32280
+ type: "deposit" | "expense" | "payout";
30991
32281
  description: string;
30992
32282
  lines: {
30993
32283
  id: string;
@@ -33117,7 +34407,7 @@ export interface operations {
33117
34407
  tenantName: string;
33118
34408
  issues: {
33119
34409
  /** @enum {string} */
33120
- code: "teamInactive" | "partnerInactive" | "partnerBillingInactive" | "brokenConnections" | "outdatedConnections" | "unbalancedJournalEntries" | "unbalancedTransactionJournalEntries" | "closedPeriodUnattachedJournalEntries" | "missingOwnershipOrDeactivation" | "unpaidReservations" | "cancelledReservationPaidWithoutAdjustment" | "publishedStatementUnpaid" | "reservationPaymentProjectionMismatch" | "listingOwnershipPeriodNotFoundOnActiveJournals" | "reservationGuestTotalsMismatch";
34410
+ code: "teamInactive" | "partnerInactive" | "partnerBillingInactive" | "brokenConnections" | "outdatedConnections" | "duplicatedPayments" | "unbalancedJournalEntries" | "unbalancedTransactionJournalEntries" | "closedPeriodUnattachedJournalEntries" | "missingOwnershipOrDeactivation" | "unpaidReservations" | "cancelledReservationPaidWithoutAdjustment" | "publishedStatementUnpaid" | "reservationPaymentProjectionMismatch" | "listingOwnershipPeriodNotFoundOnActiveJournals" | "reservationGuestTotalsMismatch";
33121
34411
  /** @enum {string} */
33122
34412
  severity: "error" | "warning";
33123
34413
  /** @enum {string} */
@@ -34910,7 +36200,7 @@ export interface operations {
34910
36200
  tenantName: string;
34911
36201
  issues: {
34912
36202
  /** @enum {string} */
34913
- code: "teamInactive" | "partnerInactive" | "partnerBillingInactive" | "brokenConnections" | "outdatedConnections" | "unbalancedJournalEntries" | "unbalancedTransactionJournalEntries" | "closedPeriodUnattachedJournalEntries" | "missingOwnershipOrDeactivation" | "unpaidReservations" | "cancelledReservationPaidWithoutAdjustment" | "publishedStatementUnpaid" | "reservationPaymentProjectionMismatch" | "listingOwnershipPeriodNotFoundOnActiveJournals" | "reservationGuestTotalsMismatch";
36203
+ code: "teamInactive" | "partnerInactive" | "partnerBillingInactive" | "brokenConnections" | "outdatedConnections" | "duplicatedPayments" | "unbalancedJournalEntries" | "unbalancedTransactionJournalEntries" | "closedPeriodUnattachedJournalEntries" | "missingOwnershipOrDeactivation" | "unpaidReservations" | "cancelledReservationPaidWithoutAdjustment" | "publishedStatementUnpaid" | "reservationPaymentProjectionMismatch" | "listingOwnershipPeriodNotFoundOnActiveJournals" | "reservationGuestTotalsMismatch";
34914
36204
  /** @enum {string} */
34915
36205
  severity: "error" | "warning";
34916
36206
  /** @enum {string} */
@@ -35459,7 +36749,7 @@ export interface operations {
35459
36749
  getTransactions: {
35460
36750
  parameters: {
35461
36751
  query?: {
35462
- type?: "deposit" | "expense" | "transfer";
36752
+ type?: "deposit" | "expense" | "transfer" | "payout";
35463
36753
  isOpeningBalance?: boolean;
35464
36754
  status?: "active" | "inactive";
35465
36755
  /** @description When true, include nested line items in each returned transaction. */
@@ -35517,7 +36807,7 @@ export interface operations {
35517
36807
  uniqueRef?: string | null;
35518
36808
  isOpeningBalance: boolean;
35519
36809
  /** @enum {string} */
35520
- type: "deposit" | "expense" | "transfer";
36810
+ type: "deposit" | "expense" | "transfer" | "payout";
35521
36811
  date: string;
35522
36812
  lines?: {
35523
36813
  uniqueRef?: string | null;
@@ -35855,7 +37145,7 @@ export interface operations {
35855
37145
  uniqueRef?: string | null;
35856
37146
  isOpeningBalance?: boolean;
35857
37147
  /** @enum {string} */
35858
- type: "deposit" | "expense" | "transfer";
37148
+ type: "deposit" | "expense" | "transfer" | "payout";
35859
37149
  date: string;
35860
37150
  currency?: string | null;
35861
37151
  lines: {
@@ -35933,7 +37223,7 @@ export interface operations {
35933
37223
  uniqueRef?: string | null;
35934
37224
  isOpeningBalance: boolean;
35935
37225
  /** @enum {string} */
35936
- type: "deposit" | "expense" | "transfer";
37226
+ type: "deposit" | "expense" | "transfer" | "payout";
35937
37227
  date: string;
35938
37228
  lines: {
35939
37229
  uniqueRef?: string | null;
@@ -36264,7 +37554,7 @@ export interface operations {
36264
37554
  uniqueRef?: string | null;
36265
37555
  isOpeningBalance?: boolean;
36266
37556
  /** @enum {string} */
36267
- type: "deposit" | "expense" | "transfer";
37557
+ type: "deposit" | "expense" | "transfer" | "payout";
36268
37558
  date: string;
36269
37559
  currency?: string | null;
36270
37560
  lines: {
@@ -36558,7 +37848,7 @@ export interface operations {
36558
37848
  getTransactionsCsv: {
36559
37849
  parameters: {
36560
37850
  query?: {
36561
- type?: "deposit" | "expense" | "transfer";
37851
+ type?: "deposit" | "expense" | "transfer" | "payout";
36562
37852
  isOpeningBalance?: boolean;
36563
37853
  status?: "active" | "inactive";
36564
37854
  /** @description When true, include nested line items in each returned transaction. */
@@ -36696,7 +37986,7 @@ export interface operations {
36696
37986
  getTransactionsDepositsCsv: {
36697
37987
  parameters: {
36698
37988
  query?: {
36699
- type?: "deposit" | "expense" | "transfer";
37989
+ type?: "deposit" | "expense" | "transfer" | "payout";
36700
37990
  isOpeningBalance?: boolean;
36701
37991
  status?: "active" | "inactive";
36702
37992
  /** @description When true, include nested line items in each returned transaction. */
@@ -36834,7 +38124,7 @@ export interface operations {
36834
38124
  getTransactionsExpensesCsv: {
36835
38125
  parameters: {
36836
38126
  query?: {
36837
- type?: "deposit" | "expense" | "transfer";
38127
+ type?: "deposit" | "expense" | "transfer" | "payout";
36838
38128
  isOpeningBalance?: boolean;
36839
38129
  status?: "active" | "inactive";
36840
38130
  /** @description When true, include nested line items in each returned transaction. */
@@ -38720,7 +40010,7 @@ export interface operations {
38720
40010
  uniqueRef?: string | null;
38721
40011
  isOpeningBalance: boolean;
38722
40012
  /** @enum {string} */
38723
- type: "deposit" | "expense" | "transfer";
40013
+ type: "deposit" | "expense" | "transfer" | "payout";
38724
40014
  date: string;
38725
40015
  lines: {
38726
40016
  uniqueRef?: string | null;
@@ -39035,7 +40325,7 @@ export interface operations {
39035
40325
  getTransactionsTransfersCsv: {
39036
40326
  parameters: {
39037
40327
  query?: {
39038
- type?: "deposit" | "expense" | "transfer";
40328
+ type?: "deposit" | "expense" | "transfer" | "payout";
39039
40329
  isOpeningBalance?: boolean;
39040
40330
  status?: "active" | "inactive";
39041
40331
  /** @description When true, include nested line items in each returned transaction. */
@@ -39194,7 +40484,7 @@ export interface operations {
39194
40484
  uniqueRef?: string | null;
39195
40485
  isOpeningBalance: boolean;
39196
40486
  /** @enum {string} */
39197
- type: "deposit" | "expense" | "transfer";
40487
+ type: "deposit" | "expense" | "transfer" | "payout";
39198
40488
  date: string;
39199
40489
  lines: {
39200
40490
  uniqueRef?: string | null;
@@ -39524,7 +40814,7 @@ export interface operations {
39524
40814
  uniqueRef?: string | null;
39525
40815
  isOpeningBalance?: boolean;
39526
40816
  /** @enum {string} */
39527
- type?: "deposit" | "expense" | "transfer";
40817
+ type?: "deposit" | "expense" | "transfer" | "payout";
39528
40818
  date?: string;
39529
40819
  currency?: string | null;
39530
40820
  attachmentIds?: string[] | null;
@@ -39662,7 +40952,7 @@ export interface operations {
39662
40952
  uniqueRef?: string | null;
39663
40953
  isOpeningBalance: boolean;
39664
40954
  /** @enum {string} */
39665
- type: "deposit" | "expense" | "transfer";
40955
+ type: "deposit" | "expense" | "transfer" | "payout";
39666
40956
  date: string;
39667
40957
  lines: {
39668
40958
  uniqueRef?: string | null;
@@ -40138,7 +41428,7 @@ export interface operations {
40138
41428
  uniqueRef?: string | null;
40139
41429
  isOpeningBalance: boolean;
40140
41430
  /** @enum {string} */
40141
- type: "deposit" | "expense" | "transfer";
41431
+ type: "deposit" | "expense" | "transfer" | "payout";
40142
41432
  date: string;
40143
41433
  lines: {
40144
41434
  uniqueRef?: string | null;