@vrplatform/api 1.3.1-2047 → 1.3.1-2051

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.
@@ -1010,6 +1010,176 @@ export interface paths {
1010
1010
  patch?: never;
1011
1011
  trace?: never;
1012
1012
  };
1013
+ "/metrics/journal-entries": {
1014
+ parameters: {
1015
+ query?: never;
1016
+ header?: never;
1017
+ path?: never;
1018
+ cookie?: never;
1019
+ };
1020
+ /** @description Journal entry totals split by lock state and party */
1021
+ get: operations["getMetricJournalEntries"];
1022
+ put?: never;
1023
+ post?: never;
1024
+ delete?: never;
1025
+ options?: never;
1026
+ head?: never;
1027
+ patch?: never;
1028
+ trace?: never;
1029
+ };
1030
+ "/metrics/journal-entry-totals-by-recurring-fee": {
1031
+ parameters: {
1032
+ query?: never;
1033
+ header?: never;
1034
+ path?: never;
1035
+ cookie?: never;
1036
+ };
1037
+ /** @description Journal entry totals by recurring fee */
1038
+ get: operations["getMetricJournalEntryTotalsByRecurringFee"];
1039
+ put?: never;
1040
+ post?: never;
1041
+ delete?: never;
1042
+ options?: never;
1043
+ head?: never;
1044
+ patch?: never;
1045
+ trace?: never;
1046
+ };
1047
+ "/metrics/legacy/active-listing-created": {
1048
+ parameters: {
1049
+ query?: never;
1050
+ header?: never;
1051
+ path?: never;
1052
+ cookie?: never;
1053
+ };
1054
+ /** @description Legacy active listing created metric */
1055
+ get: operations["getMetricLegacyActiveListingCreated"];
1056
+ put?: never;
1057
+ post?: never;
1058
+ delete?: never;
1059
+ options?: never;
1060
+ head?: never;
1061
+ patch?: never;
1062
+ trace?: never;
1063
+ };
1064
+ "/metrics/legacy/bank-record-balances": {
1065
+ parameters: {
1066
+ query?: never;
1067
+ header?: never;
1068
+ path?: never;
1069
+ cookie?: never;
1070
+ };
1071
+ /** @description Legacy bank record balances metric */
1072
+ get: operations["getMetricLegacyBankRecordBalances"];
1073
+ put?: never;
1074
+ post?: never;
1075
+ delete?: never;
1076
+ options?: never;
1077
+ head?: never;
1078
+ patch?: never;
1079
+ trace?: never;
1080
+ };
1081
+ "/metrics/legacy/currencies": {
1082
+ parameters: {
1083
+ query?: never;
1084
+ header?: never;
1085
+ path?: never;
1086
+ cookie?: never;
1087
+ };
1088
+ /** @description Legacy currencies metric */
1089
+ get: operations["getMetricLegacyCurrencies"];
1090
+ put?: never;
1091
+ post?: never;
1092
+ delete?: never;
1093
+ options?: never;
1094
+ head?: never;
1095
+ patch?: never;
1096
+ trace?: never;
1097
+ };
1098
+ "/metrics/legacy/distinct-action-by-status": {
1099
+ parameters: {
1100
+ query?: never;
1101
+ header?: never;
1102
+ path?: never;
1103
+ cookie?: never;
1104
+ };
1105
+ /** @description Legacy distinct action by status metric */
1106
+ get: operations["getMetricLegacyDistinctActionByStatus"];
1107
+ put?: never;
1108
+ post?: never;
1109
+ delete?: never;
1110
+ options?: never;
1111
+ head?: never;
1112
+ patch?: never;
1113
+ trace?: never;
1114
+ };
1115
+ "/metrics/legacy/payment-volume": {
1116
+ parameters: {
1117
+ query?: never;
1118
+ header?: never;
1119
+ path?: never;
1120
+ cookie?: never;
1121
+ };
1122
+ /** @description Legacy payment volume metric */
1123
+ get: operations["getMetricLegacyPaymentVolume"];
1124
+ put?: never;
1125
+ post?: never;
1126
+ delete?: never;
1127
+ options?: never;
1128
+ head?: never;
1129
+ patch?: never;
1130
+ trace?: never;
1131
+ };
1132
+ "/metrics/legacy/reservation-daily-rate": {
1133
+ parameters: {
1134
+ query?: never;
1135
+ header?: never;
1136
+ path?: never;
1137
+ cookie?: never;
1138
+ };
1139
+ /** @description Legacy reservation daily rate metric */
1140
+ get: operations["getMetricLegacyReservationDailyRate"];
1141
+ put?: never;
1142
+ post?: never;
1143
+ delete?: never;
1144
+ options?: never;
1145
+ head?: never;
1146
+ patch?: never;
1147
+ trace?: never;
1148
+ };
1149
+ "/metrics/legacy/reservation-volume": {
1150
+ parameters: {
1151
+ query?: never;
1152
+ header?: never;
1153
+ path?: never;
1154
+ cookie?: never;
1155
+ };
1156
+ /** @description Legacy reservation volume metric */
1157
+ get: operations["getMetricLegacyReservationVolume"];
1158
+ put?: never;
1159
+ post?: never;
1160
+ delete?: never;
1161
+ options?: never;
1162
+ head?: never;
1163
+ patch?: never;
1164
+ trace?: never;
1165
+ };
1166
+ "/metrics/legacy/sync-by-status": {
1167
+ parameters: {
1168
+ query?: never;
1169
+ header?: never;
1170
+ path?: never;
1171
+ cookie?: never;
1172
+ };
1173
+ /** @description Legacy sync by status metric */
1174
+ get: operations["getMetricLegacySyncByStatus"];
1175
+ put?: never;
1176
+ post?: never;
1177
+ delete?: never;
1178
+ options?: never;
1179
+ head?: never;
1180
+ patch?: never;
1181
+ trace?: never;
1182
+ };
1013
1183
  "/metrics/listing-revenue": {
1014
1184
  parameters: {
1015
1185
  query?: never;
@@ -13830,24 +14000,1148 @@ export interface operations {
13830
14000
  };
13831
14001
  };
13832
14002
  };
13833
- putListingsByIdOpeningBalance: {
14003
+ putListingsByIdOpeningBalance: {
14004
+ parameters: {
14005
+ query?: never;
14006
+ header?: never;
14007
+ path: {
14008
+ id: string;
14009
+ };
14010
+ cookie?: never;
14011
+ };
14012
+ requestBody?: {
14013
+ content: {
14014
+ "application/json": {
14015
+ /** @description Value in cents (100 = 1€) */
14016
+ amount: number;
14017
+ currency?: string | null;
14018
+ };
14019
+ };
14020
+ };
14021
+ responses: {
14022
+ /** @description Successful response */
14023
+ 200: {
14024
+ headers: {
14025
+ [name: string]: unknown;
14026
+ };
14027
+ content: {
14028
+ "application/json": {
14029
+ /** Format: uuid */
14030
+ listingId: string;
14031
+ /** @description Value in cents (100 = 1€) */
14032
+ amount: number;
14033
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
14034
+ currency: string;
14035
+ updatedAt?: string | null;
14036
+ };
14037
+ };
14038
+ };
14039
+ /** @description Bad request */
14040
+ 400: {
14041
+ headers: {
14042
+ [name: string]: unknown;
14043
+ };
14044
+ content: {
14045
+ "application/json": {
14046
+ code: string;
14047
+ message: string;
14048
+ issues?: {
14049
+ message: string;
14050
+ }[];
14051
+ context?: unknown;
14052
+ };
14053
+ };
14054
+ };
14055
+ /** @description Unauthorized */
14056
+ 401: {
14057
+ headers: {
14058
+ [name: string]: unknown;
14059
+ };
14060
+ content: {
14061
+ "application/json": {
14062
+ code: string;
14063
+ message: string;
14064
+ issues?: {
14065
+ message: string;
14066
+ }[];
14067
+ context?: unknown;
14068
+ };
14069
+ };
14070
+ };
14071
+ /** @description Forbidden */
14072
+ 403: {
14073
+ headers: {
14074
+ [name: string]: unknown;
14075
+ };
14076
+ content: {
14077
+ "application/json": {
14078
+ code: string;
14079
+ message: string;
14080
+ issues?: {
14081
+ message: string;
14082
+ }[];
14083
+ context?: unknown;
14084
+ };
14085
+ };
14086
+ };
14087
+ /** @description Not found */
14088
+ 404: {
14089
+ headers: {
14090
+ [name: string]: unknown;
14091
+ };
14092
+ content: {
14093
+ "application/json": {
14094
+ code: string;
14095
+ message: string;
14096
+ issues?: {
14097
+ message: string;
14098
+ }[];
14099
+ context?: unknown;
14100
+ };
14101
+ };
14102
+ };
14103
+ /** @description Internal server error */
14104
+ 500: {
14105
+ headers: {
14106
+ [name: string]: unknown;
14107
+ };
14108
+ content: {
14109
+ "application/json": {
14110
+ code: string;
14111
+ message: string;
14112
+ issues?: {
14113
+ message: string;
14114
+ }[];
14115
+ context?: unknown;
14116
+ };
14117
+ };
14118
+ };
14119
+ };
14120
+ };
14121
+ getMetricActiveListings: {
14122
+ parameters: {
14123
+ query: {
14124
+ /** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. */
14125
+ startDate: string;
14126
+ /** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. */
14127
+ endDate: string;
14128
+ };
14129
+ header?: never;
14130
+ path?: never;
14131
+ cookie?: never;
14132
+ };
14133
+ requestBody?: never;
14134
+ responses: {
14135
+ /** @description Successful response */
14136
+ 200: {
14137
+ headers: {
14138
+ [name: string]: unknown;
14139
+ };
14140
+ content: {
14141
+ "application/json": {
14142
+ data: {
14143
+ current: number;
14144
+ previous: number;
14145
+ delta: number;
14146
+ deltaPercentage: number | null;
14147
+ }[];
14148
+ };
14149
+ };
14150
+ };
14151
+ /** @description Bad request */
14152
+ 400: {
14153
+ headers: {
14154
+ [name: string]: unknown;
14155
+ };
14156
+ content: {
14157
+ "application/json": {
14158
+ code: string;
14159
+ message: string;
14160
+ issues?: {
14161
+ message: string;
14162
+ }[];
14163
+ context?: unknown;
14164
+ };
14165
+ };
14166
+ };
14167
+ /** @description Unauthorized */
14168
+ 401: {
14169
+ headers: {
14170
+ [name: string]: unknown;
14171
+ };
14172
+ content: {
14173
+ "application/json": {
14174
+ code: string;
14175
+ message: string;
14176
+ issues?: {
14177
+ message: string;
14178
+ }[];
14179
+ context?: unknown;
14180
+ };
14181
+ };
14182
+ };
14183
+ /** @description Forbidden */
14184
+ 403: {
14185
+ headers: {
14186
+ [name: string]: unknown;
14187
+ };
14188
+ content: {
14189
+ "application/json": {
14190
+ code: string;
14191
+ message: string;
14192
+ issues?: {
14193
+ message: string;
14194
+ }[];
14195
+ context?: unknown;
14196
+ };
14197
+ };
14198
+ };
14199
+ /** @description Not found */
14200
+ 404: {
14201
+ headers: {
14202
+ [name: string]: unknown;
14203
+ };
14204
+ content: {
14205
+ "application/json": {
14206
+ code: string;
14207
+ message: string;
14208
+ issues?: {
14209
+ message: string;
14210
+ }[];
14211
+ context?: unknown;
14212
+ };
14213
+ };
14214
+ };
14215
+ /** @description Internal server error */
14216
+ 500: {
14217
+ headers: {
14218
+ [name: string]: unknown;
14219
+ };
14220
+ content: {
14221
+ "application/json": {
14222
+ code: string;
14223
+ message: string;
14224
+ issues?: {
14225
+ message: string;
14226
+ }[];
14227
+ context?: unknown;
14228
+ };
14229
+ };
14230
+ };
14231
+ };
14232
+ };
14233
+ getMetricAverageDailyRate: {
14234
+ parameters: {
14235
+ query: {
14236
+ /** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. */
14237
+ startDate: string;
14238
+ /** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. */
14239
+ endDate: string;
14240
+ };
14241
+ header?: never;
14242
+ path?: never;
14243
+ cookie?: never;
14244
+ };
14245
+ requestBody?: never;
14246
+ responses: {
14247
+ /** @description Successful response */
14248
+ 200: {
14249
+ headers: {
14250
+ [name: string]: unknown;
14251
+ };
14252
+ content: {
14253
+ "application/json": {
14254
+ data: {
14255
+ current: number;
14256
+ previous: number;
14257
+ delta: number;
14258
+ deltaPercentage: number | null;
14259
+ }[];
14260
+ };
14261
+ };
14262
+ };
14263
+ /** @description Bad request */
14264
+ 400: {
14265
+ headers: {
14266
+ [name: string]: unknown;
14267
+ };
14268
+ content: {
14269
+ "application/json": {
14270
+ code: string;
14271
+ message: string;
14272
+ issues?: {
14273
+ message: string;
14274
+ }[];
14275
+ context?: unknown;
14276
+ };
14277
+ };
14278
+ };
14279
+ /** @description Unauthorized */
14280
+ 401: {
14281
+ headers: {
14282
+ [name: string]: unknown;
14283
+ };
14284
+ content: {
14285
+ "application/json": {
14286
+ code: string;
14287
+ message: string;
14288
+ issues?: {
14289
+ message: string;
14290
+ }[];
14291
+ context?: unknown;
14292
+ };
14293
+ };
14294
+ };
14295
+ /** @description Forbidden */
14296
+ 403: {
14297
+ headers: {
14298
+ [name: string]: unknown;
14299
+ };
14300
+ content: {
14301
+ "application/json": {
14302
+ code: string;
14303
+ message: string;
14304
+ issues?: {
14305
+ message: string;
14306
+ }[];
14307
+ context?: unknown;
14308
+ };
14309
+ };
14310
+ };
14311
+ /** @description Not found */
14312
+ 404: {
14313
+ headers: {
14314
+ [name: string]: unknown;
14315
+ };
14316
+ content: {
14317
+ "application/json": {
14318
+ code: string;
14319
+ message: string;
14320
+ issues?: {
14321
+ message: string;
14322
+ }[];
14323
+ context?: unknown;
14324
+ };
14325
+ };
14326
+ };
14327
+ /** @description Internal server error */
14328
+ 500: {
14329
+ headers: {
14330
+ [name: string]: unknown;
14331
+ };
14332
+ content: {
14333
+ "application/json": {
14334
+ code: string;
14335
+ message: string;
14336
+ issues?: {
14337
+ message: string;
14338
+ }[];
14339
+ context?: unknown;
14340
+ };
14341
+ };
14342
+ };
14343
+ };
14344
+ };
14345
+ getMetricCashFlow: {
14346
+ parameters: {
14347
+ query: {
14348
+ dimension?: "month" | "week" | "day" | "year";
14349
+ /** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. */
14350
+ startDate: string;
14351
+ /** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. */
14352
+ endDate: string;
14353
+ };
14354
+ header?: never;
14355
+ path?: never;
14356
+ cookie?: never;
14357
+ };
14358
+ requestBody?: never;
14359
+ responses: {
14360
+ /** @description Successful response */
14361
+ 200: {
14362
+ headers: {
14363
+ [name: string]: unknown;
14364
+ };
14365
+ content: {
14366
+ "application/json": {
14367
+ data: {
14368
+ date: string;
14369
+ inflow: number;
14370
+ outflow: number;
14371
+ netCashFlow: number;
14372
+ }[];
14373
+ };
14374
+ };
14375
+ };
14376
+ /** @description Bad request */
14377
+ 400: {
14378
+ headers: {
14379
+ [name: string]: unknown;
14380
+ };
14381
+ content: {
14382
+ "application/json": {
14383
+ code: string;
14384
+ message: string;
14385
+ issues?: {
14386
+ message: string;
14387
+ }[];
14388
+ context?: unknown;
14389
+ };
14390
+ };
14391
+ };
14392
+ /** @description Unauthorized */
14393
+ 401: {
14394
+ headers: {
14395
+ [name: string]: unknown;
14396
+ };
14397
+ content: {
14398
+ "application/json": {
14399
+ code: string;
14400
+ message: string;
14401
+ issues?: {
14402
+ message: string;
14403
+ }[];
14404
+ context?: unknown;
14405
+ };
14406
+ };
14407
+ };
14408
+ /** @description Forbidden */
14409
+ 403: {
14410
+ headers: {
14411
+ [name: string]: unknown;
14412
+ };
14413
+ content: {
14414
+ "application/json": {
14415
+ code: string;
14416
+ message: string;
14417
+ issues?: {
14418
+ message: string;
14419
+ }[];
14420
+ context?: unknown;
14421
+ };
14422
+ };
14423
+ };
14424
+ /** @description Not found */
14425
+ 404: {
14426
+ headers: {
14427
+ [name: string]: unknown;
14428
+ };
14429
+ content: {
14430
+ "application/json": {
14431
+ code: string;
14432
+ message: string;
14433
+ issues?: {
14434
+ message: string;
14435
+ }[];
14436
+ context?: unknown;
14437
+ };
14438
+ };
14439
+ };
14440
+ /** @description Internal server error */
14441
+ 500: {
14442
+ headers: {
14443
+ [name: string]: unknown;
14444
+ };
14445
+ content: {
14446
+ "application/json": {
14447
+ code: string;
14448
+ message: string;
14449
+ issues?: {
14450
+ message: string;
14451
+ }[];
14452
+ context?: unknown;
14453
+ };
14454
+ };
14455
+ };
14456
+ };
14457
+ };
14458
+ getMetricCheckinCounts: {
14459
+ parameters: {
14460
+ query: {
14461
+ /** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. */
14462
+ startDate: string;
14463
+ /** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. */
14464
+ endDate: string;
14465
+ };
14466
+ header?: never;
14467
+ path?: never;
14468
+ cookie?: never;
14469
+ };
14470
+ requestBody?: never;
14471
+ responses: {
14472
+ /** @description Successful response */
14473
+ 200: {
14474
+ headers: {
14475
+ [name: string]: unknown;
14476
+ };
14477
+ content: {
14478
+ "application/json": {
14479
+ data: {
14480
+ current: number;
14481
+ previous: number;
14482
+ delta: number;
14483
+ deltaPercentage: number | null;
14484
+ }[];
14485
+ };
14486
+ };
14487
+ };
14488
+ /** @description Bad request */
14489
+ 400: {
14490
+ headers: {
14491
+ [name: string]: unknown;
14492
+ };
14493
+ content: {
14494
+ "application/json": {
14495
+ code: string;
14496
+ message: string;
14497
+ issues?: {
14498
+ message: string;
14499
+ }[];
14500
+ context?: unknown;
14501
+ };
14502
+ };
14503
+ };
14504
+ /** @description Unauthorized */
14505
+ 401: {
14506
+ headers: {
14507
+ [name: string]: unknown;
14508
+ };
14509
+ content: {
14510
+ "application/json": {
14511
+ code: string;
14512
+ message: string;
14513
+ issues?: {
14514
+ message: string;
14515
+ }[];
14516
+ context?: unknown;
14517
+ };
14518
+ };
14519
+ };
14520
+ /** @description Forbidden */
14521
+ 403: {
14522
+ headers: {
14523
+ [name: string]: unknown;
14524
+ };
14525
+ content: {
14526
+ "application/json": {
14527
+ code: string;
14528
+ message: string;
14529
+ issues?: {
14530
+ message: string;
14531
+ }[];
14532
+ context?: unknown;
14533
+ };
14534
+ };
14535
+ };
14536
+ /** @description Not found */
14537
+ 404: {
14538
+ headers: {
14539
+ [name: string]: unknown;
14540
+ };
14541
+ content: {
14542
+ "application/json": {
14543
+ code: string;
14544
+ message: string;
14545
+ issues?: {
14546
+ message: string;
14547
+ }[];
14548
+ context?: unknown;
14549
+ };
14550
+ };
14551
+ };
14552
+ /** @description Internal server error */
14553
+ 500: {
14554
+ headers: {
14555
+ [name: string]: unknown;
14556
+ };
14557
+ content: {
14558
+ "application/json": {
14559
+ code: string;
14560
+ message: string;
14561
+ issues?: {
14562
+ message: string;
14563
+ }[];
14564
+ context?: unknown;
14565
+ };
14566
+ };
14567
+ };
14568
+ };
14569
+ };
14570
+ getMetricFutureBookedRevenue: {
14571
+ parameters: {
14572
+ query: {
14573
+ dimension?: "month" | "week" | "day" | "year";
14574
+ /** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. */
14575
+ startDate: string;
14576
+ /** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. */
14577
+ endDate: string;
14578
+ };
14579
+ header?: never;
14580
+ path?: never;
14581
+ cookie?: never;
14582
+ };
14583
+ requestBody?: never;
14584
+ responses: {
14585
+ /** @description Successful response */
14586
+ 200: {
14587
+ headers: {
14588
+ [name: string]: unknown;
14589
+ };
14590
+ content: {
14591
+ "application/json": {
14592
+ data: {
14593
+ date: string;
14594
+ futureRevenue: number;
14595
+ bookedRevenue: number;
14596
+ }[];
14597
+ };
14598
+ };
14599
+ };
14600
+ /** @description Bad request */
14601
+ 400: {
14602
+ headers: {
14603
+ [name: string]: unknown;
14604
+ };
14605
+ content: {
14606
+ "application/json": {
14607
+ code: string;
14608
+ message: string;
14609
+ issues?: {
14610
+ message: string;
14611
+ }[];
14612
+ context?: unknown;
14613
+ };
14614
+ };
14615
+ };
14616
+ /** @description Unauthorized */
14617
+ 401: {
14618
+ headers: {
14619
+ [name: string]: unknown;
14620
+ };
14621
+ content: {
14622
+ "application/json": {
14623
+ code: string;
14624
+ message: string;
14625
+ issues?: {
14626
+ message: string;
14627
+ }[];
14628
+ context?: unknown;
14629
+ };
14630
+ };
14631
+ };
14632
+ /** @description Forbidden */
14633
+ 403: {
14634
+ headers: {
14635
+ [name: string]: unknown;
14636
+ };
14637
+ content: {
14638
+ "application/json": {
14639
+ code: string;
14640
+ message: string;
14641
+ issues?: {
14642
+ message: string;
14643
+ }[];
14644
+ context?: unknown;
14645
+ };
14646
+ };
14647
+ };
14648
+ /** @description Not found */
14649
+ 404: {
14650
+ headers: {
14651
+ [name: string]: unknown;
14652
+ };
14653
+ content: {
14654
+ "application/json": {
14655
+ code: string;
14656
+ message: string;
14657
+ issues?: {
14658
+ message: string;
14659
+ }[];
14660
+ context?: unknown;
14661
+ };
14662
+ };
14663
+ };
14664
+ /** @description Internal server error */
14665
+ 500: {
14666
+ headers: {
14667
+ [name: string]: unknown;
14668
+ };
14669
+ content: {
14670
+ "application/json": {
14671
+ code: string;
14672
+ message: string;
14673
+ issues?: {
14674
+ message: string;
14675
+ }[];
14676
+ context?: unknown;
14677
+ };
14678
+ };
14679
+ };
14680
+ };
14681
+ };
14682
+ getMetricJournalEntries: {
14683
+ parameters: {
14684
+ query: {
14685
+ party: "owners" | "manager";
14686
+ dimension?: "month" | "week" | "day" | "year";
14687
+ /** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. */
14688
+ startDate: string;
14689
+ /** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. */
14690
+ endDate: string;
14691
+ };
14692
+ header?: never;
14693
+ path?: never;
14694
+ cookie?: never;
14695
+ };
14696
+ requestBody?: never;
14697
+ responses: {
14698
+ /** @description Successful response */
14699
+ 200: {
14700
+ headers: {
14701
+ [name: string]: unknown;
14702
+ };
14703
+ content: {
14704
+ "application/json": {
14705
+ data: {
14706
+ date: string;
14707
+ lockedTotal?: number;
14708
+ unlockedTotal: number;
14709
+ currency: string;
14710
+ }[];
14711
+ };
14712
+ };
14713
+ };
14714
+ /** @description Bad request */
14715
+ 400: {
14716
+ headers: {
14717
+ [name: string]: unknown;
14718
+ };
14719
+ content: {
14720
+ "application/json": {
14721
+ code: string;
14722
+ message: string;
14723
+ issues?: {
14724
+ message: string;
14725
+ }[];
14726
+ context?: unknown;
14727
+ };
14728
+ };
14729
+ };
14730
+ /** @description Unauthorized */
14731
+ 401: {
14732
+ headers: {
14733
+ [name: string]: unknown;
14734
+ };
14735
+ content: {
14736
+ "application/json": {
14737
+ code: string;
14738
+ message: string;
14739
+ issues?: {
14740
+ message: string;
14741
+ }[];
14742
+ context?: unknown;
14743
+ };
14744
+ };
14745
+ };
14746
+ /** @description Forbidden */
14747
+ 403: {
14748
+ headers: {
14749
+ [name: string]: unknown;
14750
+ };
14751
+ content: {
14752
+ "application/json": {
14753
+ code: string;
14754
+ message: string;
14755
+ issues?: {
14756
+ message: string;
14757
+ }[];
14758
+ context?: unknown;
14759
+ };
14760
+ };
14761
+ };
14762
+ /** @description Not found */
14763
+ 404: {
14764
+ headers: {
14765
+ [name: string]: unknown;
14766
+ };
14767
+ content: {
14768
+ "application/json": {
14769
+ code: string;
14770
+ message: string;
14771
+ issues?: {
14772
+ message: string;
14773
+ }[];
14774
+ context?: unknown;
14775
+ };
14776
+ };
14777
+ };
14778
+ /** @description Internal server error */
14779
+ 500: {
14780
+ headers: {
14781
+ [name: string]: unknown;
14782
+ };
14783
+ content: {
14784
+ "application/json": {
14785
+ code: string;
14786
+ message: string;
14787
+ issues?: {
14788
+ message: string;
14789
+ }[];
14790
+ context?: unknown;
14791
+ };
14792
+ };
14793
+ };
14794
+ };
14795
+ };
14796
+ getMetricJournalEntryTotalsByRecurringFee: {
14797
+ parameters: {
14798
+ query: {
14799
+ recurringFeeId: string;
14800
+ dimension?: "month" | "week" | "day" | "year";
14801
+ /** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. */
14802
+ startDate: string;
14803
+ /** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. */
14804
+ endDate: string;
14805
+ };
14806
+ header?: never;
14807
+ path?: never;
14808
+ cookie?: never;
14809
+ };
14810
+ requestBody?: never;
14811
+ responses: {
14812
+ /** @description Successful response */
14813
+ 200: {
14814
+ headers: {
14815
+ [name: string]: unknown;
14816
+ };
14817
+ content: {
14818
+ "application/json": {
14819
+ data: {
14820
+ date: string;
14821
+ count: number;
14822
+ amount: number;
14823
+ }[];
14824
+ };
14825
+ };
14826
+ };
14827
+ /** @description Bad request */
14828
+ 400: {
14829
+ headers: {
14830
+ [name: string]: unknown;
14831
+ };
14832
+ content: {
14833
+ "application/json": {
14834
+ code: string;
14835
+ message: string;
14836
+ issues?: {
14837
+ message: string;
14838
+ }[];
14839
+ context?: unknown;
14840
+ };
14841
+ };
14842
+ };
14843
+ /** @description Unauthorized */
14844
+ 401: {
14845
+ headers: {
14846
+ [name: string]: unknown;
14847
+ };
14848
+ content: {
14849
+ "application/json": {
14850
+ code: string;
14851
+ message: string;
14852
+ issues?: {
14853
+ message: string;
14854
+ }[];
14855
+ context?: unknown;
14856
+ };
14857
+ };
14858
+ };
14859
+ /** @description Forbidden */
14860
+ 403: {
14861
+ headers: {
14862
+ [name: string]: unknown;
14863
+ };
14864
+ content: {
14865
+ "application/json": {
14866
+ code: string;
14867
+ message: string;
14868
+ issues?: {
14869
+ message: string;
14870
+ }[];
14871
+ context?: unknown;
14872
+ };
14873
+ };
14874
+ };
14875
+ /** @description Not found */
14876
+ 404: {
14877
+ headers: {
14878
+ [name: string]: unknown;
14879
+ };
14880
+ content: {
14881
+ "application/json": {
14882
+ code: string;
14883
+ message: string;
14884
+ issues?: {
14885
+ message: string;
14886
+ }[];
14887
+ context?: unknown;
14888
+ };
14889
+ };
14890
+ };
14891
+ /** @description Internal server error */
14892
+ 500: {
14893
+ headers: {
14894
+ [name: string]: unknown;
14895
+ };
14896
+ content: {
14897
+ "application/json": {
14898
+ code: string;
14899
+ message: string;
14900
+ issues?: {
14901
+ message: string;
14902
+ }[];
14903
+ context?: unknown;
14904
+ };
14905
+ };
14906
+ };
14907
+ };
14908
+ };
14909
+ getMetricLegacyActiveListingCreated: {
13834
14910
  parameters: {
13835
- query?: never;
14911
+ query: {
14912
+ dimension?: "month" | "week" | "day" | "year";
14913
+ /** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. */
14914
+ startDate: string;
14915
+ /** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. */
14916
+ endDate: string;
14917
+ };
13836
14918
  header?: never;
13837
- path: {
13838
- id: string;
14919
+ path?: never;
14920
+ cookie?: never;
14921
+ };
14922
+ requestBody?: never;
14923
+ responses: {
14924
+ /** @description Successful response */
14925
+ 200: {
14926
+ headers: {
14927
+ [name: string]: unknown;
14928
+ };
14929
+ content: {
14930
+ "application/json": {
14931
+ data: {
14932
+ date: string;
14933
+ created: number;
14934
+ }[];
14935
+ };
14936
+ };
14937
+ };
14938
+ /** @description Bad request */
14939
+ 400: {
14940
+ headers: {
14941
+ [name: string]: unknown;
14942
+ };
14943
+ content: {
14944
+ "application/json": {
14945
+ code: string;
14946
+ message: string;
14947
+ issues?: {
14948
+ message: string;
14949
+ }[];
14950
+ context?: unknown;
14951
+ };
14952
+ };
14953
+ };
14954
+ /** @description Unauthorized */
14955
+ 401: {
14956
+ headers: {
14957
+ [name: string]: unknown;
14958
+ };
14959
+ content: {
14960
+ "application/json": {
14961
+ code: string;
14962
+ message: string;
14963
+ issues?: {
14964
+ message: string;
14965
+ }[];
14966
+ context?: unknown;
14967
+ };
14968
+ };
14969
+ };
14970
+ /** @description Forbidden */
14971
+ 403: {
14972
+ headers: {
14973
+ [name: string]: unknown;
14974
+ };
14975
+ content: {
14976
+ "application/json": {
14977
+ code: string;
14978
+ message: string;
14979
+ issues?: {
14980
+ message: string;
14981
+ }[];
14982
+ context?: unknown;
14983
+ };
14984
+ };
14985
+ };
14986
+ /** @description Not found */
14987
+ 404: {
14988
+ headers: {
14989
+ [name: string]: unknown;
14990
+ };
14991
+ content: {
14992
+ "application/json": {
14993
+ code: string;
14994
+ message: string;
14995
+ issues?: {
14996
+ message: string;
14997
+ }[];
14998
+ context?: unknown;
14999
+ };
15000
+ };
15001
+ };
15002
+ /** @description Internal server error */
15003
+ 500: {
15004
+ headers: {
15005
+ [name: string]: unknown;
15006
+ };
15007
+ content: {
15008
+ "application/json": {
15009
+ code: string;
15010
+ message: string;
15011
+ issues?: {
15012
+ message: string;
15013
+ }[];
15014
+ context?: unknown;
15015
+ };
15016
+ };
15017
+ };
15018
+ };
15019
+ };
15020
+ getMetricLegacyBankRecordBalances: {
15021
+ parameters: {
15022
+ query: {
15023
+ dimension?: "month" | "week" | "day" | "year";
15024
+ /** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. */
15025
+ startDate: string;
15026
+ /** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. */
15027
+ endDate: string;
13839
15028
  };
15029
+ header?: never;
15030
+ path?: never;
13840
15031
  cookie?: never;
13841
15032
  };
13842
- requestBody?: {
13843
- content: {
13844
- "application/json": {
13845
- /** @description Value in cents (100 = 1€) */
13846
- amount: number;
13847
- currency?: string | null;
15033
+ requestBody?: never;
15034
+ responses: {
15035
+ /** @description Successful response */
15036
+ 200: {
15037
+ headers: {
15038
+ [name: string]: unknown;
15039
+ };
15040
+ content: {
15041
+ "application/json": {
15042
+ data: {
15043
+ date: string;
15044
+ centBalance: number;
15045
+ bankAccountId: string | null;
15046
+ }[];
15047
+ };
15048
+ };
15049
+ };
15050
+ /** @description Bad request */
15051
+ 400: {
15052
+ headers: {
15053
+ [name: string]: unknown;
15054
+ };
15055
+ content: {
15056
+ "application/json": {
15057
+ code: string;
15058
+ message: string;
15059
+ issues?: {
15060
+ message: string;
15061
+ }[];
15062
+ context?: unknown;
15063
+ };
15064
+ };
15065
+ };
15066
+ /** @description Unauthorized */
15067
+ 401: {
15068
+ headers: {
15069
+ [name: string]: unknown;
15070
+ };
15071
+ content: {
15072
+ "application/json": {
15073
+ code: string;
15074
+ message: string;
15075
+ issues?: {
15076
+ message: string;
15077
+ }[];
15078
+ context?: unknown;
15079
+ };
15080
+ };
15081
+ };
15082
+ /** @description Forbidden */
15083
+ 403: {
15084
+ headers: {
15085
+ [name: string]: unknown;
15086
+ };
15087
+ content: {
15088
+ "application/json": {
15089
+ code: string;
15090
+ message: string;
15091
+ issues?: {
15092
+ message: string;
15093
+ }[];
15094
+ context?: unknown;
15095
+ };
15096
+ };
15097
+ };
15098
+ /** @description Not found */
15099
+ 404: {
15100
+ headers: {
15101
+ [name: string]: unknown;
15102
+ };
15103
+ content: {
15104
+ "application/json": {
15105
+ code: string;
15106
+ message: string;
15107
+ issues?: {
15108
+ message: string;
15109
+ }[];
15110
+ context?: unknown;
15111
+ };
15112
+ };
15113
+ };
15114
+ /** @description Internal server error */
15115
+ 500: {
15116
+ headers: {
15117
+ [name: string]: unknown;
15118
+ };
15119
+ content: {
15120
+ "application/json": {
15121
+ code: string;
15122
+ message: string;
15123
+ issues?: {
15124
+ message: string;
15125
+ }[];
15126
+ context?: unknown;
15127
+ };
13848
15128
  };
13849
15129
  };
13850
15130
  };
15131
+ };
15132
+ getMetricLegacyCurrencies: {
15133
+ parameters: {
15134
+ query: {
15135
+ /** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. */
15136
+ startDate: string;
15137
+ /** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. */
15138
+ endDate: string;
15139
+ };
15140
+ header?: never;
15141
+ path?: never;
15142
+ cookie?: never;
15143
+ };
15144
+ requestBody?: never;
13851
15145
  responses: {
13852
15146
  /** @description Successful response */
13853
15147
  200: {
@@ -13856,13 +15150,9 @@ export interface operations {
13856
15150
  };
13857
15151
  content: {
13858
15152
  "application/json": {
13859
- /** Format: uuid */
13860
- listingId: string;
13861
- /** @description Value in cents (100 = 1€) */
13862
- amount: number;
13863
- /** @description Currency in ISO 4217 format, will be converted to lowercase */
13864
- currency: string;
13865
- updatedAt?: string | null;
15153
+ data: {
15154
+ currency: string | null;
15155
+ }[];
13866
15156
  };
13867
15157
  };
13868
15158
  };
@@ -13948,9 +15238,10 @@ export interface operations {
13948
15238
  };
13949
15239
  };
13950
15240
  };
13951
- getMetricActiveListings: {
15241
+ getMetricLegacyDistinctActionByStatus: {
13952
15242
  parameters: {
13953
15243
  query: {
15244
+ dimension?: "month" | "week" | "day" | "year";
13954
15245
  /** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. */
13955
15246
  startDate: string;
13956
15247
  /** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. */
@@ -13970,10 +15261,9 @@ export interface operations {
13970
15261
  content: {
13971
15262
  "application/json": {
13972
15263
  data: {
13973
- current: number;
13974
- previous: number;
13975
- delta: number;
13976
- deltaPercentage: number | null;
15264
+ date: string;
15265
+ total: number;
15266
+ status: string;
13977
15267
  }[];
13978
15268
  };
13979
15269
  };
@@ -14060,9 +15350,10 @@ export interface operations {
14060
15350
  };
14061
15351
  };
14062
15352
  };
14063
- getMetricAverageDailyRate: {
15353
+ getMetricLegacyPaymentVolume: {
14064
15354
  parameters: {
14065
15355
  query: {
15356
+ dimension?: "month" | "week" | "day" | "year";
14066
15357
  /** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. */
14067
15358
  startDate: string;
14068
15359
  /** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. */
@@ -14082,10 +15373,9 @@ export interface operations {
14082
15373
  content: {
14083
15374
  "application/json": {
14084
15375
  data: {
14085
- current: number;
14086
- previous: number;
14087
- delta: number;
14088
- deltaPercentage: number | null;
15376
+ date: string;
15377
+ total: number;
15378
+ currency: string | null;
14089
15379
  }[];
14090
15380
  };
14091
15381
  };
@@ -14172,7 +15462,7 @@ export interface operations {
14172
15462
  };
14173
15463
  };
14174
15464
  };
14175
- getMetricCashFlow: {
15465
+ getMetricLegacyReservationDailyRate: {
14176
15466
  parameters: {
14177
15467
  query: {
14178
15468
  dimension?: "month" | "week" | "day" | "year";
@@ -14196,9 +15486,8 @@ export interface operations {
14196
15486
  "application/json": {
14197
15487
  data: {
14198
15488
  date: string;
14199
- inflow: number;
14200
- outflow: number;
14201
- netCashFlow: number;
15489
+ rate: number;
15490
+ currency: string | null;
14202
15491
  }[];
14203
15492
  };
14204
15493
  };
@@ -14285,9 +15574,10 @@ export interface operations {
14285
15574
  };
14286
15575
  };
14287
15576
  };
14288
- getMetricCheckinCounts: {
15577
+ getMetricLegacyReservationVolume: {
14289
15578
  parameters: {
14290
15579
  query: {
15580
+ dimension?: "month" | "week" | "day" | "year";
14291
15581
  /** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. */
14292
15582
  startDate: string;
14293
15583
  /** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. */
@@ -14307,10 +15597,9 @@ export interface operations {
14307
15597
  content: {
14308
15598
  "application/json": {
14309
15599
  data: {
14310
- current: number;
14311
- previous: number;
14312
- delta: number;
14313
- deltaPercentage: number | null;
15600
+ date: string;
15601
+ total: number;
15602
+ currency: string | null;
14314
15603
  }[];
14315
15604
  };
14316
15605
  };
@@ -14397,9 +15686,10 @@ export interface operations {
14397
15686
  };
14398
15687
  };
14399
15688
  };
14400
- getMetricFutureBookedRevenue: {
15689
+ getMetricLegacySyncByStatus: {
14401
15690
  parameters: {
14402
15691
  query: {
15692
+ connectionId: string;
14403
15693
  dimension?: "month" | "week" | "day" | "year";
14404
15694
  /** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. */
14405
15695
  startDate: string;
@@ -14421,8 +15711,8 @@ export interface operations {
14421
15711
  "application/json": {
14422
15712
  data: {
14423
15713
  date: string;
14424
- futureRevenue: number;
14425
- bookedRevenue: number;
15714
+ total: number;
15715
+ status: string;
14426
15716
  }[];
14427
15717
  };
14428
15718
  };
@@ -33158,7 +34448,7 @@ export interface operations {
33158
34448
  tenantName: string;
33159
34449
  issues: {
33160
34450
  /** @enum {string} */
33161
- code: "teamInactive" | "partnerInactive" | "partnerBillingInactive" | "brokenConnections" | "outdatedConnections" | "unbalancedJournalEntries" | "unbalancedTransactionJournalEntries" | "closedPeriodUnattachedJournalEntries" | "missingOwnershipOrDeactivation" | "unpaidReservations" | "cancelledReservationPaidWithoutAdjustment" | "publishedStatementUnpaid" | "reservationPaymentProjectionMismatch" | "listingOwnershipPeriodNotFoundOnActiveJournals" | "reservationGuestTotalsMismatch";
34451
+ code: "teamInactive" | "partnerInactive" | "partnerBillingInactive" | "brokenConnections" | "outdatedConnections" | "duplicatedPayments" | "unbalancedJournalEntries" | "unbalancedTransactionJournalEntries" | "closedPeriodUnattachedJournalEntries" | "missingOwnershipOrDeactivation" | "unpaidReservations" | "cancelledReservationPaidWithoutAdjustment" | "publishedStatementUnpaid" | "reservationPaymentProjectionMismatch" | "listingOwnershipPeriodNotFoundOnActiveJournals" | "reservationGuestTotalsMismatch";
33162
34452
  /** @enum {string} */
33163
34453
  severity: "error" | "warning";
33164
34454
  /** @enum {string} */
@@ -34951,7 +36241,7 @@ export interface operations {
34951
36241
  tenantName: string;
34952
36242
  issues: {
34953
36243
  /** @enum {string} */
34954
- code: "teamInactive" | "partnerInactive" | "partnerBillingInactive" | "brokenConnections" | "outdatedConnections" | "unbalancedJournalEntries" | "unbalancedTransactionJournalEntries" | "closedPeriodUnattachedJournalEntries" | "missingOwnershipOrDeactivation" | "unpaidReservations" | "cancelledReservationPaidWithoutAdjustment" | "publishedStatementUnpaid" | "reservationPaymentProjectionMismatch" | "listingOwnershipPeriodNotFoundOnActiveJournals" | "reservationGuestTotalsMismatch";
36244
+ code: "teamInactive" | "partnerInactive" | "partnerBillingInactive" | "brokenConnections" | "outdatedConnections" | "duplicatedPayments" | "unbalancedJournalEntries" | "unbalancedTransactionJournalEntries" | "closedPeriodUnattachedJournalEntries" | "missingOwnershipOrDeactivation" | "unpaidReservations" | "cancelledReservationPaidWithoutAdjustment" | "publishedStatementUnpaid" | "reservationPaymentProjectionMismatch" | "listingOwnershipPeriodNotFoundOnActiveJournals" | "reservationGuestTotalsMismatch";
34955
36245
  /** @enum {string} */
34956
36246
  severity: "error" | "warning";
34957
36247
  /** @enum {string} */