@vrplatform/api 1.3.1-1885 → 1.3.1-1903

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.
@@ -857,6 +857,142 @@ export interface paths {
857
857
  patch?: never;
858
858
  trace?: never;
859
859
  };
860
+ "/metrics/active-listings": {
861
+ parameters: {
862
+ query?: never;
863
+ header?: never;
864
+ path?: never;
865
+ cookie?: never;
866
+ };
867
+ /** @description Active listings comparison metric */
868
+ get: operations["getMetricActiveListings"];
869
+ put?: never;
870
+ post?: never;
871
+ delete?: never;
872
+ options?: never;
873
+ head?: never;
874
+ patch?: never;
875
+ trace?: never;
876
+ };
877
+ "/metrics/average-daily-rate": {
878
+ parameters: {
879
+ query?: never;
880
+ header?: never;
881
+ path?: never;
882
+ cookie?: never;
883
+ };
884
+ /** @description Average daily rate comparison metric */
885
+ get: operations["getMetricAverageDailyRate"];
886
+ put?: never;
887
+ post?: never;
888
+ delete?: never;
889
+ options?: never;
890
+ head?: never;
891
+ patch?: never;
892
+ trace?: never;
893
+ };
894
+ "/metrics/cash-flow": {
895
+ parameters: {
896
+ query?: never;
897
+ header?: never;
898
+ path?: never;
899
+ cookie?: never;
900
+ };
901
+ /** @description Cash flow metric */
902
+ get: operations["getMetricCashFlow"];
903
+ put?: never;
904
+ post?: never;
905
+ delete?: never;
906
+ options?: never;
907
+ head?: never;
908
+ patch?: never;
909
+ trace?: never;
910
+ };
911
+ "/metrics/checkin-counts": {
912
+ parameters: {
913
+ query?: never;
914
+ header?: never;
915
+ path?: never;
916
+ cookie?: never;
917
+ };
918
+ /** @description Check-in count comparison metric */
919
+ get: operations["getMetricCheckinCounts"];
920
+ put?: never;
921
+ post?: never;
922
+ delete?: never;
923
+ options?: never;
924
+ head?: never;
925
+ patch?: never;
926
+ trace?: never;
927
+ };
928
+ "/metrics/future-booked-revenue": {
929
+ parameters: {
930
+ query?: never;
931
+ header?: never;
932
+ path?: never;
933
+ cookie?: never;
934
+ };
935
+ /** @description Future / booked revenue metric */
936
+ get: operations["getMetricFutureBookedRevenue"];
937
+ put?: never;
938
+ post?: never;
939
+ delete?: never;
940
+ options?: never;
941
+ head?: never;
942
+ patch?: never;
943
+ trace?: never;
944
+ };
945
+ "/metrics/occupancy-rate-over-time": {
946
+ parameters: {
947
+ query?: never;
948
+ header?: never;
949
+ path?: never;
950
+ cookie?: never;
951
+ };
952
+ /** @description Occupancy rate over time metric */
953
+ get: operations["getMetricOccupancyRateOverTime"];
954
+ put?: never;
955
+ post?: never;
956
+ delete?: never;
957
+ options?: never;
958
+ head?: never;
959
+ patch?: never;
960
+ trace?: never;
961
+ };
962
+ "/metrics/owner-revenue": {
963
+ parameters: {
964
+ query?: never;
965
+ header?: never;
966
+ path?: never;
967
+ cookie?: never;
968
+ };
969
+ /** @description Owner revenue metric (locked vs unlocked) by month */
970
+ get: operations["getMetricOwnerRevenue"];
971
+ put?: never;
972
+ post?: never;
973
+ delete?: never;
974
+ options?: never;
975
+ head?: never;
976
+ patch?: never;
977
+ trace?: never;
978
+ };
979
+ "/metrics/reservation-count": {
980
+ parameters: {
981
+ query?: never;
982
+ header?: never;
983
+ path?: never;
984
+ cookie?: never;
985
+ };
986
+ /** @description Reservation count comparison metric */
987
+ get: operations["getMetricReservationCount"];
988
+ put?: never;
989
+ post?: never;
990
+ delete?: never;
991
+ options?: never;
992
+ head?: never;
993
+ patch?: never;
994
+ trace?: never;
995
+ };
860
996
  "/metrics/reservation-volume": {
861
997
  parameters: {
862
998
  query?: never;
@@ -874,6 +1010,23 @@ export interface paths {
874
1010
  patch?: never;
875
1011
  trace?: never;
876
1012
  };
1013
+ "/metrics/revenue": {
1014
+ parameters: {
1015
+ query?: never;
1016
+ header?: never;
1017
+ path?: never;
1018
+ cookie?: never;
1019
+ };
1020
+ /** @description Revenue metric (PM Revenue vs Gross Guest Revenue) */
1021
+ get: operations["getMetricRevenue"];
1022
+ put?: never;
1023
+ post?: never;
1024
+ delete?: never;
1025
+ options?: never;
1026
+ head?: never;
1027
+ patch?: never;
1028
+ trace?: never;
1029
+ };
877
1030
  "/metrics/sync-by-status": {
878
1031
  parameters: {
879
1032
  query?: never;
@@ -891,6 +1044,23 @@ export interface paths {
891
1044
  patch?: never;
892
1045
  trace?: never;
893
1046
  };
1047
+ "/metrics/take-rate": {
1048
+ parameters: {
1049
+ query?: never;
1050
+ header?: never;
1051
+ path?: never;
1052
+ cookie?: never;
1053
+ };
1054
+ /** @description Take rate metric */
1055
+ get: operations["getMetricTakeRate"];
1056
+ put?: never;
1057
+ post?: never;
1058
+ delete?: never;
1059
+ options?: never;
1060
+ head?: never;
1061
+ patch?: never;
1062
+ trace?: never;
1063
+ };
894
1064
  "/payments/batch": {
895
1065
  parameters: {
896
1066
  query?: never;
@@ -8372,7 +8542,7 @@ export interface operations {
8372
8542
  entityId?: string;
8373
8543
  entityType?: "account" | "journalEntry" | "listingOwnershipPeriod" | "ownerStatement" | "recurringTransactionTemplate" | "reservation" | "tenant" | "transaction" | "transactionAttachment";
8374
8544
  status?: "pending" | "claimed" | "running" | "completed" | "failed" | "dead_letter";
8375
- effectType?: "CREATE_RECURRING_TRANSACTION_INSTANCE" | "JOURNAL_ENTRY_SET_ACTIVE" | "JOURNAL_ENTRY_SET_INACTIVE" | "LINK_JOURNAL_TO_OWNERSHIP_PERIOD" | "RECALCULATE_BANK_RECORD_BALANCES" | "REFRESH_RESERVATION_JOURNAL" | "DELETE_TRANSACTION_ATTACHMENT_BLOB" | "MAP_DEPOSIT_TRANSACTIONS_BY_LAST4" | "REFRESH_TRANSACTION_JOURNAL" | "SEND_STATEMENT_NOTIFICATIONS" | "UPDATE_RESERVATION_LINKABLES" | "UPDATE_RESERVATION_PAYMENTS" | "TENANT_CLERK_ALLOWED_IDS_SYNC" | "TENANT_HYPERLINE_SYNC" | "TENANT_INIT" | "TENANT_LINEAR_WEBHOOK" | "TENANT_STATUS_TRACK" | "TENANT_SUSPENSION_EMAIL";
8545
+ effectType?: "BANK_ACCOUNT_CREATED_TRACK" | "CREATE_RECURRING_TRANSACTION_INSTANCE" | "JOURNAL_ENTRY_SET_ACTIVE" | "JOURNAL_ENTRY_SET_INACTIVE" | "LINK_JOURNAL_TO_OWNERSHIP_PERIOD" | "RECALCULATE_BANK_RECORD_BALANCES" | "REFRESH_RESERVATION_JOURNAL" | "DELETE_TRANSACTION_ATTACHMENT_BLOB" | "MAP_DEPOSIT_TRANSACTIONS_BY_LAST4" | "REFRESH_TRANSACTION_JOURNAL" | "SEND_STATEMENT_NOTIFICATIONS" | "UPDATE_RESERVATION_LINKABLES" | "UPDATE_RESERVATION_PAYMENTS" | "TENANT_CLERK_ALLOWED_IDS_SYNC" | "TENANT_HYPERLINE_SYNC" | "TENANT_INIT" | "TENANT_LINEAR_WEBHOOK" | "TENANT_STATUS_TRACK" | "TENANT_SUSPENSION_EMAIL";
8376
8546
  page?: number;
8377
8547
  };
8378
8548
  header?: never;
@@ -8398,7 +8568,7 @@ export interface operations {
8398
8568
  apiEndpoint: string | null;
8399
8569
  };
8400
8570
  /** @enum {string} */
8401
- effectType: "CREATE_RECURRING_TRANSACTION_INSTANCE" | "JOURNAL_ENTRY_SET_ACTIVE" | "JOURNAL_ENTRY_SET_INACTIVE" | "LINK_JOURNAL_TO_OWNERSHIP_PERIOD" | "RECALCULATE_BANK_RECORD_BALANCES" | "REFRESH_RESERVATION_JOURNAL" | "DELETE_TRANSACTION_ATTACHMENT_BLOB" | "MAP_DEPOSIT_TRANSACTIONS_BY_LAST4" | "REFRESH_TRANSACTION_JOURNAL" | "SEND_STATEMENT_NOTIFICATIONS" | "UPDATE_RESERVATION_LINKABLES" | "UPDATE_RESERVATION_PAYMENTS" | "TENANT_CLERK_ALLOWED_IDS_SYNC" | "TENANT_HYPERLINE_SYNC" | "TENANT_INIT" | "TENANT_LINEAR_WEBHOOK" | "TENANT_STATUS_TRACK" | "TENANT_SUSPENSION_EMAIL";
8571
+ effectType: "BANK_ACCOUNT_CREATED_TRACK" | "CREATE_RECURRING_TRANSACTION_INSTANCE" | "JOURNAL_ENTRY_SET_ACTIVE" | "JOURNAL_ENTRY_SET_INACTIVE" | "LINK_JOURNAL_TO_OWNERSHIP_PERIOD" | "RECALCULATE_BANK_RECORD_BALANCES" | "REFRESH_RESERVATION_JOURNAL" | "DELETE_TRANSACTION_ATTACHMENT_BLOB" | "MAP_DEPOSIT_TRANSACTIONS_BY_LAST4" | "REFRESH_TRANSACTION_JOURNAL" | "SEND_STATEMENT_NOTIFICATIONS" | "UPDATE_RESERVATION_LINKABLES" | "UPDATE_RESERVATION_PAYMENTS" | "TENANT_CLERK_ALLOWED_IDS_SYNC" | "TENANT_HYPERLINE_SYNC" | "TENANT_INIT" | "TENANT_LINEAR_WEBHOOK" | "TENANT_STATUS_TRACK" | "TENANT_SUSPENSION_EMAIL";
8402
8572
  payload: unknown;
8403
8573
  entity: ({
8404
8574
  /** @constant */
@@ -12822,14 +12992,11 @@ export interface operations {
12822
12992
  };
12823
12993
  };
12824
12994
  };
12825
- getMetricReservationVolume: {
12995
+ getMetricActiveListings: {
12826
12996
  parameters: {
12827
- query?: {
12828
- dimension?: "month" | "week" | "day" | "year";
12829
- /** @description Date range in format YYYY-MM-DD...YYYY-MM-DD */
12830
- dateRange?: string;
12831
- /** @description Whether the end date is inclusive or exclusive */
12832
- isDateRangeEndInclusive?: boolean;
12997
+ query: {
12998
+ startDate: string;
12999
+ endDate: string;
12833
13000
  };
12834
13001
  header?: never;
12835
13002
  path?: never;
@@ -12845,9 +13012,10 @@ export interface operations {
12845
13012
  content: {
12846
13013
  "application/json": {
12847
13014
  data: {
12848
- currency: string | null;
12849
- date: string;
12850
- amount: number;
13015
+ current: number;
13016
+ previous: number;
13017
+ delta: number;
13018
+ deltaPercentage: number | null;
12851
13019
  }[];
12852
13020
  };
12853
13021
  };
@@ -12934,16 +13102,11 @@ export interface operations {
12934
13102
  };
12935
13103
  };
12936
13104
  };
12937
- getSyncMetricsByStatus: {
13105
+ getMetricAverageDailyRate: {
12938
13106
  parameters: {
12939
13107
  query: {
12940
- dimension?: "month" | "week" | "day" | "year";
12941
- connectionId: string;
12942
- view: "automate" | "extract";
12943
- /** @description Date range in format YYYY-MM-DD...YYYY-MM-DD */
12944
- dateRange?: string;
12945
- /** @description Whether the end date is inclusive or exclusive */
12946
- isDateRangeEndInclusive?: boolean;
13108
+ startDate: string;
13109
+ endDate: string;
12947
13110
  };
12948
13111
  header?: never;
12949
13112
  path?: never;
@@ -12959,22 +13122,10 @@ export interface operations {
12959
13122
  content: {
12960
13123
  "application/json": {
12961
13124
  data: {
12962
- date: string;
12963
- total: number;
12964
- changes: {
12965
- completed?: {
12966
- [key: string]: number;
12967
- };
12968
- skipped?: {
12969
- [key: string]: number;
12970
- };
12971
- failed?: {
12972
- [key: string]: number;
12973
- };
12974
- queued?: {
12975
- [key: string]: number;
12976
- };
12977
- };
13125
+ current: number;
13126
+ previous: number;
13127
+ delta: number;
13128
+ deltaPercentage: number | null;
12978
13129
  }[];
12979
13130
  };
12980
13131
  };
@@ -13061,53 +13212,18 @@ export interface operations {
13061
13212
  };
13062
13213
  };
13063
13214
  };
13064
- batchPayments: {
13215
+ getMetricCashFlow: {
13065
13216
  parameters: {
13066
- query?: never;
13217
+ query: {
13218
+ dimension?: "month" | "week" | "day" | "year";
13219
+ startDate: string;
13220
+ endDate: string;
13221
+ };
13067
13222
  header?: never;
13068
13223
  path?: never;
13069
13224
  cookie?: never;
13070
13225
  };
13071
- requestBody?: {
13072
- content: {
13073
- "application/json": {
13074
- connectionId: string;
13075
- data: {
13076
- id?: string | null;
13077
- uniqueRef?: string | null;
13078
- etaAt?: string | null;
13079
- paidAt?: string | null;
13080
- /** @description Currency in ISO 4217 format, will be converted to lowercase */
13081
- currency: string;
13082
- description?: string | null;
13083
- metadata?: {
13084
- [key: string]: unknown;
13085
- } | null;
13086
- userdata?: {
13087
- [key: string]: unknown;
13088
- } | null;
13089
- sourceId?: string | null;
13090
- lines: {
13091
- id?: string | null;
13092
- uniqueRef?: string | null;
13093
- type: string;
13094
- description?: string | null;
13095
- reservationId?: string | null;
13096
- reservationRef?: string | null;
13097
- /** @description Value in cents (100 = 1€) */
13098
- amount: number;
13099
- accountId?: string | null;
13100
- accountRef?: string | null;
13101
- connectionId?: string | null;
13102
- metadata?: {
13103
- [key: string]: unknown;
13104
- } | null;
13105
- }[];
13106
- bankAccountRef?: string | null;
13107
- }[];
13108
- };
13109
- };
13110
- };
13226
+ requestBody?: never;
13111
13227
  responses: {
13112
13228
  /** @description Successful response */
13113
13229
  200: {
@@ -13117,18 +13233,10 @@ export interface operations {
13117
13233
  content: {
13118
13234
  "application/json": {
13119
13235
  data: {
13120
- /** Format: uuid */
13121
- id: string;
13122
- uniqueRef?: string | null;
13123
- sourceId?: string | null;
13124
- }[];
13125
- issues: {
13126
- ref: string;
13127
- sourceId?: string | null;
13128
- message: string;
13129
- /** @enum {string} */
13130
- code?: "USER_ERROR" | "NOT_FOUND" | "FORBIDDEN" | "INTERNAL_VALIDATION_ERROR" | "INTERNAL_ERROR";
13131
- context?: unknown;
13236
+ date: string;
13237
+ inflow: number;
13238
+ outflow: number;
13239
+ netCashFlow: number;
13132
13240
  }[];
13133
13241
  };
13134
13242
  };
@@ -13215,21 +13323,1187 @@ export interface operations {
13215
13323
  };
13216
13324
  };
13217
13325
  };
13218
- plaidConnectComplete: {
13326
+ getMetricCheckinCounts: {
13219
13327
  parameters: {
13220
- query?: never;
13328
+ query: {
13329
+ startDate: string;
13330
+ endDate: string;
13331
+ };
13221
13332
  header?: never;
13222
13333
  path?: never;
13223
13334
  cookie?: never;
13224
13335
  };
13225
- requestBody?: {
13226
- content: {
13227
- "application/json": {
13228
- connectionId?: string | null;
13229
- environment?: ("sandbox" | "production") | null;
13230
- code?: string | null;
13231
- token?: string | null;
13232
- };
13336
+ requestBody?: never;
13337
+ responses: {
13338
+ /** @description Successful response */
13339
+ 200: {
13340
+ headers: {
13341
+ [name: string]: unknown;
13342
+ };
13343
+ content: {
13344
+ "application/json": {
13345
+ data: {
13346
+ current: number;
13347
+ previous: number;
13348
+ delta: number;
13349
+ deltaPercentage: number | null;
13350
+ }[];
13351
+ };
13352
+ };
13353
+ };
13354
+ /** @description Bad request */
13355
+ 400: {
13356
+ headers: {
13357
+ [name: string]: unknown;
13358
+ };
13359
+ content: {
13360
+ "application/json": {
13361
+ code: string;
13362
+ message: string;
13363
+ issues?: {
13364
+ message: string;
13365
+ }[];
13366
+ context?: unknown;
13367
+ };
13368
+ };
13369
+ };
13370
+ /** @description Unauthorized */
13371
+ 401: {
13372
+ headers: {
13373
+ [name: string]: unknown;
13374
+ };
13375
+ content: {
13376
+ "application/json": {
13377
+ code: string;
13378
+ message: string;
13379
+ issues?: {
13380
+ message: string;
13381
+ }[];
13382
+ context?: unknown;
13383
+ };
13384
+ };
13385
+ };
13386
+ /** @description Forbidden */
13387
+ 403: {
13388
+ headers: {
13389
+ [name: string]: unknown;
13390
+ };
13391
+ content: {
13392
+ "application/json": {
13393
+ code: string;
13394
+ message: string;
13395
+ issues?: {
13396
+ message: string;
13397
+ }[];
13398
+ context?: unknown;
13399
+ };
13400
+ };
13401
+ };
13402
+ /** @description Not found */
13403
+ 404: {
13404
+ headers: {
13405
+ [name: string]: unknown;
13406
+ };
13407
+ content: {
13408
+ "application/json": {
13409
+ code: string;
13410
+ message: string;
13411
+ issues?: {
13412
+ message: string;
13413
+ }[];
13414
+ context?: unknown;
13415
+ };
13416
+ };
13417
+ };
13418
+ /** @description Internal server error */
13419
+ 500: {
13420
+ headers: {
13421
+ [name: string]: unknown;
13422
+ };
13423
+ content: {
13424
+ "application/json": {
13425
+ code: string;
13426
+ message: string;
13427
+ issues?: {
13428
+ message: string;
13429
+ }[];
13430
+ context?: unknown;
13431
+ };
13432
+ };
13433
+ };
13434
+ };
13435
+ };
13436
+ getMetricFutureBookedRevenue: {
13437
+ parameters: {
13438
+ query: {
13439
+ dimension?: "month" | "week" | "day" | "year";
13440
+ startDate: string;
13441
+ endDate: string;
13442
+ };
13443
+ header?: never;
13444
+ path?: never;
13445
+ cookie?: never;
13446
+ };
13447
+ requestBody?: never;
13448
+ responses: {
13449
+ /** @description Successful response */
13450
+ 200: {
13451
+ headers: {
13452
+ [name: string]: unknown;
13453
+ };
13454
+ content: {
13455
+ "application/json": {
13456
+ data: {
13457
+ date: string;
13458
+ futureRevenue: number;
13459
+ bookedRevenue: number;
13460
+ }[];
13461
+ };
13462
+ };
13463
+ };
13464
+ /** @description Bad request */
13465
+ 400: {
13466
+ headers: {
13467
+ [name: string]: unknown;
13468
+ };
13469
+ content: {
13470
+ "application/json": {
13471
+ code: string;
13472
+ message: string;
13473
+ issues?: {
13474
+ message: string;
13475
+ }[];
13476
+ context?: unknown;
13477
+ };
13478
+ };
13479
+ };
13480
+ /** @description Unauthorized */
13481
+ 401: {
13482
+ headers: {
13483
+ [name: string]: unknown;
13484
+ };
13485
+ content: {
13486
+ "application/json": {
13487
+ code: string;
13488
+ message: string;
13489
+ issues?: {
13490
+ message: string;
13491
+ }[];
13492
+ context?: unknown;
13493
+ };
13494
+ };
13495
+ };
13496
+ /** @description Forbidden */
13497
+ 403: {
13498
+ headers: {
13499
+ [name: string]: unknown;
13500
+ };
13501
+ content: {
13502
+ "application/json": {
13503
+ code: string;
13504
+ message: string;
13505
+ issues?: {
13506
+ message: string;
13507
+ }[];
13508
+ context?: unknown;
13509
+ };
13510
+ };
13511
+ };
13512
+ /** @description Not found */
13513
+ 404: {
13514
+ headers: {
13515
+ [name: string]: unknown;
13516
+ };
13517
+ content: {
13518
+ "application/json": {
13519
+ code: string;
13520
+ message: string;
13521
+ issues?: {
13522
+ message: string;
13523
+ }[];
13524
+ context?: unknown;
13525
+ };
13526
+ };
13527
+ };
13528
+ /** @description Internal server error */
13529
+ 500: {
13530
+ headers: {
13531
+ [name: string]: unknown;
13532
+ };
13533
+ content: {
13534
+ "application/json": {
13535
+ code: string;
13536
+ message: string;
13537
+ issues?: {
13538
+ message: string;
13539
+ }[];
13540
+ context?: unknown;
13541
+ };
13542
+ };
13543
+ };
13544
+ };
13545
+ };
13546
+ getMetricOccupancyRateOverTime: {
13547
+ parameters: {
13548
+ query: {
13549
+ dimension?: "month" | "week" | "day" | "year";
13550
+ startDate: string;
13551
+ endDate: string;
13552
+ };
13553
+ header?: never;
13554
+ path?: never;
13555
+ cookie?: never;
13556
+ };
13557
+ requestBody?: never;
13558
+ responses: {
13559
+ /** @description Successful response */
13560
+ 200: {
13561
+ headers: {
13562
+ [name: string]: unknown;
13563
+ };
13564
+ content: {
13565
+ "application/json": {
13566
+ data: {
13567
+ date: string;
13568
+ occupiedNights: number;
13569
+ availableNights: number;
13570
+ occupancyRate: number;
13571
+ }[];
13572
+ };
13573
+ };
13574
+ };
13575
+ /** @description Bad request */
13576
+ 400: {
13577
+ headers: {
13578
+ [name: string]: unknown;
13579
+ };
13580
+ content: {
13581
+ "application/json": {
13582
+ code: string;
13583
+ message: string;
13584
+ issues?: {
13585
+ message: string;
13586
+ }[];
13587
+ context?: unknown;
13588
+ };
13589
+ };
13590
+ };
13591
+ /** @description Unauthorized */
13592
+ 401: {
13593
+ headers: {
13594
+ [name: string]: unknown;
13595
+ };
13596
+ content: {
13597
+ "application/json": {
13598
+ code: string;
13599
+ message: string;
13600
+ issues?: {
13601
+ message: string;
13602
+ }[];
13603
+ context?: unknown;
13604
+ };
13605
+ };
13606
+ };
13607
+ /** @description Forbidden */
13608
+ 403: {
13609
+ headers: {
13610
+ [name: string]: unknown;
13611
+ };
13612
+ content: {
13613
+ "application/json": {
13614
+ code: string;
13615
+ message: string;
13616
+ issues?: {
13617
+ message: string;
13618
+ }[];
13619
+ context?: unknown;
13620
+ };
13621
+ };
13622
+ };
13623
+ /** @description Not found */
13624
+ 404: {
13625
+ headers: {
13626
+ [name: string]: unknown;
13627
+ };
13628
+ content: {
13629
+ "application/json": {
13630
+ code: string;
13631
+ message: string;
13632
+ issues?: {
13633
+ message: string;
13634
+ }[];
13635
+ context?: unknown;
13636
+ };
13637
+ };
13638
+ };
13639
+ /** @description Internal server error */
13640
+ 500: {
13641
+ headers: {
13642
+ [name: string]: unknown;
13643
+ };
13644
+ content: {
13645
+ "application/json": {
13646
+ code: string;
13647
+ message: string;
13648
+ issues?: {
13649
+ message: string;
13650
+ }[];
13651
+ context?: unknown;
13652
+ };
13653
+ };
13654
+ };
13655
+ };
13656
+ };
13657
+ getMetricOwnerRevenue: {
13658
+ parameters: {
13659
+ query: {
13660
+ ownerId: string;
13661
+ startDate: string;
13662
+ endDate: string;
13663
+ currency?: string;
13664
+ };
13665
+ header?: never;
13666
+ path?: never;
13667
+ cookie?: never;
13668
+ };
13669
+ requestBody?: never;
13670
+ responses: {
13671
+ /** @description Successful response */
13672
+ 200: {
13673
+ headers: {
13674
+ [name: string]: unknown;
13675
+ };
13676
+ content: {
13677
+ "application/json": {
13678
+ data: {
13679
+ date: string;
13680
+ lockedRevenue: number;
13681
+ unlockedRevenue: number;
13682
+ }[];
13683
+ };
13684
+ };
13685
+ };
13686
+ /** @description Bad request */
13687
+ 400: {
13688
+ headers: {
13689
+ [name: string]: unknown;
13690
+ };
13691
+ content: {
13692
+ "application/json": {
13693
+ code: string;
13694
+ message: string;
13695
+ issues?: {
13696
+ message: string;
13697
+ }[];
13698
+ context?: unknown;
13699
+ };
13700
+ };
13701
+ };
13702
+ /** @description Unauthorized */
13703
+ 401: {
13704
+ headers: {
13705
+ [name: string]: unknown;
13706
+ };
13707
+ content: {
13708
+ "application/json": {
13709
+ code: string;
13710
+ message: string;
13711
+ issues?: {
13712
+ message: string;
13713
+ }[];
13714
+ context?: unknown;
13715
+ };
13716
+ };
13717
+ };
13718
+ /** @description Forbidden */
13719
+ 403: {
13720
+ headers: {
13721
+ [name: string]: unknown;
13722
+ };
13723
+ content: {
13724
+ "application/json": {
13725
+ code: string;
13726
+ message: string;
13727
+ issues?: {
13728
+ message: string;
13729
+ }[];
13730
+ context?: unknown;
13731
+ };
13732
+ };
13733
+ };
13734
+ /** @description Not found */
13735
+ 404: {
13736
+ headers: {
13737
+ [name: string]: unknown;
13738
+ };
13739
+ content: {
13740
+ "application/json": {
13741
+ code: string;
13742
+ message: string;
13743
+ issues?: {
13744
+ message: string;
13745
+ }[];
13746
+ context?: unknown;
13747
+ };
13748
+ };
13749
+ };
13750
+ /** @description Internal server error */
13751
+ 500: {
13752
+ headers: {
13753
+ [name: string]: unknown;
13754
+ };
13755
+ content: {
13756
+ "application/json": {
13757
+ code: string;
13758
+ message: string;
13759
+ issues?: {
13760
+ message: string;
13761
+ }[];
13762
+ context?: unknown;
13763
+ };
13764
+ };
13765
+ };
13766
+ };
13767
+ };
13768
+ getMetricReservationCount: {
13769
+ parameters: {
13770
+ query: {
13771
+ startDate: string;
13772
+ endDate: string;
13773
+ };
13774
+ header?: never;
13775
+ path?: never;
13776
+ cookie?: never;
13777
+ };
13778
+ requestBody?: never;
13779
+ responses: {
13780
+ /** @description Successful response */
13781
+ 200: {
13782
+ headers: {
13783
+ [name: string]: unknown;
13784
+ };
13785
+ content: {
13786
+ "application/json": {
13787
+ data: {
13788
+ current: number;
13789
+ previous: number;
13790
+ delta: number;
13791
+ deltaPercentage: number | null;
13792
+ }[];
13793
+ };
13794
+ };
13795
+ };
13796
+ /** @description Bad request */
13797
+ 400: {
13798
+ headers: {
13799
+ [name: string]: unknown;
13800
+ };
13801
+ content: {
13802
+ "application/json": {
13803
+ code: string;
13804
+ message: string;
13805
+ issues?: {
13806
+ message: string;
13807
+ }[];
13808
+ context?: unknown;
13809
+ };
13810
+ };
13811
+ };
13812
+ /** @description Unauthorized */
13813
+ 401: {
13814
+ headers: {
13815
+ [name: string]: unknown;
13816
+ };
13817
+ content: {
13818
+ "application/json": {
13819
+ code: string;
13820
+ message: string;
13821
+ issues?: {
13822
+ message: string;
13823
+ }[];
13824
+ context?: unknown;
13825
+ };
13826
+ };
13827
+ };
13828
+ /** @description Forbidden */
13829
+ 403: {
13830
+ headers: {
13831
+ [name: string]: unknown;
13832
+ };
13833
+ content: {
13834
+ "application/json": {
13835
+ code: string;
13836
+ message: string;
13837
+ issues?: {
13838
+ message: string;
13839
+ }[];
13840
+ context?: unknown;
13841
+ };
13842
+ };
13843
+ };
13844
+ /** @description Not found */
13845
+ 404: {
13846
+ headers: {
13847
+ [name: string]: unknown;
13848
+ };
13849
+ content: {
13850
+ "application/json": {
13851
+ code: string;
13852
+ message: string;
13853
+ issues?: {
13854
+ message: string;
13855
+ }[];
13856
+ context?: unknown;
13857
+ };
13858
+ };
13859
+ };
13860
+ /** @description Internal server error */
13861
+ 500: {
13862
+ headers: {
13863
+ [name: string]: unknown;
13864
+ };
13865
+ content: {
13866
+ "application/json": {
13867
+ code: string;
13868
+ message: string;
13869
+ issues?: {
13870
+ message: string;
13871
+ }[];
13872
+ context?: unknown;
13873
+ };
13874
+ };
13875
+ };
13876
+ };
13877
+ };
13878
+ getMetricReservationVolume: {
13879
+ parameters: {
13880
+ query?: {
13881
+ dimension?: "month" | "week" | "day" | "year";
13882
+ /** @description Date range in format YYYY-MM-DD...YYYY-MM-DD */
13883
+ dateRange?: string;
13884
+ /** @description Whether the end date is inclusive or exclusive */
13885
+ isDateRangeEndInclusive?: boolean;
13886
+ };
13887
+ header?: never;
13888
+ path?: never;
13889
+ cookie?: never;
13890
+ };
13891
+ requestBody?: never;
13892
+ responses: {
13893
+ /** @description Successful response */
13894
+ 200: {
13895
+ headers: {
13896
+ [name: string]: unknown;
13897
+ };
13898
+ content: {
13899
+ "application/json": {
13900
+ data: {
13901
+ currency: string | null;
13902
+ date: string;
13903
+ amount: number;
13904
+ }[];
13905
+ };
13906
+ };
13907
+ };
13908
+ /** @description Bad request */
13909
+ 400: {
13910
+ headers: {
13911
+ [name: string]: unknown;
13912
+ };
13913
+ content: {
13914
+ "application/json": {
13915
+ code: string;
13916
+ message: string;
13917
+ issues?: {
13918
+ message: string;
13919
+ }[];
13920
+ context?: unknown;
13921
+ };
13922
+ };
13923
+ };
13924
+ /** @description Unauthorized */
13925
+ 401: {
13926
+ headers: {
13927
+ [name: string]: unknown;
13928
+ };
13929
+ content: {
13930
+ "application/json": {
13931
+ code: string;
13932
+ message: string;
13933
+ issues?: {
13934
+ message: string;
13935
+ }[];
13936
+ context?: unknown;
13937
+ };
13938
+ };
13939
+ };
13940
+ /** @description Forbidden */
13941
+ 403: {
13942
+ headers: {
13943
+ [name: string]: unknown;
13944
+ };
13945
+ content: {
13946
+ "application/json": {
13947
+ code: string;
13948
+ message: string;
13949
+ issues?: {
13950
+ message: string;
13951
+ }[];
13952
+ context?: unknown;
13953
+ };
13954
+ };
13955
+ };
13956
+ /** @description Not found */
13957
+ 404: {
13958
+ headers: {
13959
+ [name: string]: unknown;
13960
+ };
13961
+ content: {
13962
+ "application/json": {
13963
+ code: string;
13964
+ message: string;
13965
+ issues?: {
13966
+ message: string;
13967
+ }[];
13968
+ context?: unknown;
13969
+ };
13970
+ };
13971
+ };
13972
+ /** @description Internal server error */
13973
+ 500: {
13974
+ headers: {
13975
+ [name: string]: unknown;
13976
+ };
13977
+ content: {
13978
+ "application/json": {
13979
+ code: string;
13980
+ message: string;
13981
+ issues?: {
13982
+ message: string;
13983
+ }[];
13984
+ context?: unknown;
13985
+ };
13986
+ };
13987
+ };
13988
+ };
13989
+ };
13990
+ getMetricRevenue: {
13991
+ parameters: {
13992
+ query: {
13993
+ dimension?: "month" | "week" | "day" | "year";
13994
+ startDate: string;
13995
+ endDate: string;
13996
+ };
13997
+ header?: never;
13998
+ path?: never;
13999
+ cookie?: never;
14000
+ };
14001
+ requestBody?: never;
14002
+ responses: {
14003
+ /** @description Successful response */
14004
+ 200: {
14005
+ headers: {
14006
+ [name: string]: unknown;
14007
+ };
14008
+ content: {
14009
+ "application/json": {
14010
+ data: {
14011
+ date: string;
14012
+ grossGuestRevenue: number;
14013
+ pmRevenue: number;
14014
+ }[];
14015
+ };
14016
+ };
14017
+ };
14018
+ /** @description Bad request */
14019
+ 400: {
14020
+ headers: {
14021
+ [name: string]: unknown;
14022
+ };
14023
+ content: {
14024
+ "application/json": {
14025
+ code: string;
14026
+ message: string;
14027
+ issues?: {
14028
+ message: string;
14029
+ }[];
14030
+ context?: unknown;
14031
+ };
14032
+ };
14033
+ };
14034
+ /** @description Unauthorized */
14035
+ 401: {
14036
+ headers: {
14037
+ [name: string]: unknown;
14038
+ };
14039
+ content: {
14040
+ "application/json": {
14041
+ code: string;
14042
+ message: string;
14043
+ issues?: {
14044
+ message: string;
14045
+ }[];
14046
+ context?: unknown;
14047
+ };
14048
+ };
14049
+ };
14050
+ /** @description Forbidden */
14051
+ 403: {
14052
+ headers: {
14053
+ [name: string]: unknown;
14054
+ };
14055
+ content: {
14056
+ "application/json": {
14057
+ code: string;
14058
+ message: string;
14059
+ issues?: {
14060
+ message: string;
14061
+ }[];
14062
+ context?: unknown;
14063
+ };
14064
+ };
14065
+ };
14066
+ /** @description Not found */
14067
+ 404: {
14068
+ headers: {
14069
+ [name: string]: unknown;
14070
+ };
14071
+ content: {
14072
+ "application/json": {
14073
+ code: string;
14074
+ message: string;
14075
+ issues?: {
14076
+ message: string;
14077
+ }[];
14078
+ context?: unknown;
14079
+ };
14080
+ };
14081
+ };
14082
+ /** @description Internal server error */
14083
+ 500: {
14084
+ headers: {
14085
+ [name: string]: unknown;
14086
+ };
14087
+ content: {
14088
+ "application/json": {
14089
+ code: string;
14090
+ message: string;
14091
+ issues?: {
14092
+ message: string;
14093
+ }[];
14094
+ context?: unknown;
14095
+ };
14096
+ };
14097
+ };
14098
+ };
14099
+ };
14100
+ getSyncMetricsByStatus: {
14101
+ parameters: {
14102
+ query: {
14103
+ dimension?: "month" | "week" | "day" | "year";
14104
+ connectionId: string;
14105
+ view: "automate" | "extract";
14106
+ /** @description Date range in format YYYY-MM-DD...YYYY-MM-DD */
14107
+ dateRange?: string;
14108
+ /** @description Whether the end date is inclusive or exclusive */
14109
+ isDateRangeEndInclusive?: boolean;
14110
+ };
14111
+ header?: never;
14112
+ path?: never;
14113
+ cookie?: never;
14114
+ };
14115
+ requestBody?: never;
14116
+ responses: {
14117
+ /** @description Successful response */
14118
+ 200: {
14119
+ headers: {
14120
+ [name: string]: unknown;
14121
+ };
14122
+ content: {
14123
+ "application/json": {
14124
+ data: {
14125
+ date: string;
14126
+ total: number;
14127
+ changes: {
14128
+ completed?: {
14129
+ [key: string]: number;
14130
+ };
14131
+ skipped?: {
14132
+ [key: string]: number;
14133
+ };
14134
+ failed?: {
14135
+ [key: string]: number;
14136
+ };
14137
+ queued?: {
14138
+ [key: string]: number;
14139
+ };
14140
+ };
14141
+ }[];
14142
+ };
14143
+ };
14144
+ };
14145
+ /** @description Bad request */
14146
+ 400: {
14147
+ headers: {
14148
+ [name: string]: unknown;
14149
+ };
14150
+ content: {
14151
+ "application/json": {
14152
+ code: string;
14153
+ message: string;
14154
+ issues?: {
14155
+ message: string;
14156
+ }[];
14157
+ context?: unknown;
14158
+ };
14159
+ };
14160
+ };
14161
+ /** @description Unauthorized */
14162
+ 401: {
14163
+ headers: {
14164
+ [name: string]: unknown;
14165
+ };
14166
+ content: {
14167
+ "application/json": {
14168
+ code: string;
14169
+ message: string;
14170
+ issues?: {
14171
+ message: string;
14172
+ }[];
14173
+ context?: unknown;
14174
+ };
14175
+ };
14176
+ };
14177
+ /** @description Forbidden */
14178
+ 403: {
14179
+ headers: {
14180
+ [name: string]: unknown;
14181
+ };
14182
+ content: {
14183
+ "application/json": {
14184
+ code: string;
14185
+ message: string;
14186
+ issues?: {
14187
+ message: string;
14188
+ }[];
14189
+ context?: unknown;
14190
+ };
14191
+ };
14192
+ };
14193
+ /** @description Not found */
14194
+ 404: {
14195
+ headers: {
14196
+ [name: string]: unknown;
14197
+ };
14198
+ content: {
14199
+ "application/json": {
14200
+ code: string;
14201
+ message: string;
14202
+ issues?: {
14203
+ message: string;
14204
+ }[];
14205
+ context?: unknown;
14206
+ };
14207
+ };
14208
+ };
14209
+ /** @description Internal server error */
14210
+ 500: {
14211
+ headers: {
14212
+ [name: string]: unknown;
14213
+ };
14214
+ content: {
14215
+ "application/json": {
14216
+ code: string;
14217
+ message: string;
14218
+ issues?: {
14219
+ message: string;
14220
+ }[];
14221
+ context?: unknown;
14222
+ };
14223
+ };
14224
+ };
14225
+ };
14226
+ };
14227
+ getMetricTakeRate: {
14228
+ parameters: {
14229
+ query: {
14230
+ dimension?: "month" | "week" | "day" | "year";
14231
+ startDate: string;
14232
+ endDate: string;
14233
+ };
14234
+ header?: never;
14235
+ path?: never;
14236
+ cookie?: never;
14237
+ };
14238
+ requestBody?: never;
14239
+ responses: {
14240
+ /** @description Successful response */
14241
+ 200: {
14242
+ headers: {
14243
+ [name: string]: unknown;
14244
+ };
14245
+ content: {
14246
+ "application/json": {
14247
+ data: {
14248
+ date: string;
14249
+ grossGuestRevenue: number;
14250
+ pmRevenue: number;
14251
+ takeRate: number;
14252
+ }[];
14253
+ };
14254
+ };
14255
+ };
14256
+ /** @description Bad request */
14257
+ 400: {
14258
+ headers: {
14259
+ [name: string]: unknown;
14260
+ };
14261
+ content: {
14262
+ "application/json": {
14263
+ code: string;
14264
+ message: string;
14265
+ issues?: {
14266
+ message: string;
14267
+ }[];
14268
+ context?: unknown;
14269
+ };
14270
+ };
14271
+ };
14272
+ /** @description Unauthorized */
14273
+ 401: {
14274
+ headers: {
14275
+ [name: string]: unknown;
14276
+ };
14277
+ content: {
14278
+ "application/json": {
14279
+ code: string;
14280
+ message: string;
14281
+ issues?: {
14282
+ message: string;
14283
+ }[];
14284
+ context?: unknown;
14285
+ };
14286
+ };
14287
+ };
14288
+ /** @description Forbidden */
14289
+ 403: {
14290
+ headers: {
14291
+ [name: string]: unknown;
14292
+ };
14293
+ content: {
14294
+ "application/json": {
14295
+ code: string;
14296
+ message: string;
14297
+ issues?: {
14298
+ message: string;
14299
+ }[];
14300
+ context?: unknown;
14301
+ };
14302
+ };
14303
+ };
14304
+ /** @description Not found */
14305
+ 404: {
14306
+ headers: {
14307
+ [name: string]: unknown;
14308
+ };
14309
+ content: {
14310
+ "application/json": {
14311
+ code: string;
14312
+ message: string;
14313
+ issues?: {
14314
+ message: string;
14315
+ }[];
14316
+ context?: unknown;
14317
+ };
14318
+ };
14319
+ };
14320
+ /** @description Internal server error */
14321
+ 500: {
14322
+ headers: {
14323
+ [name: string]: unknown;
14324
+ };
14325
+ content: {
14326
+ "application/json": {
14327
+ code: string;
14328
+ message: string;
14329
+ issues?: {
14330
+ message: string;
14331
+ }[];
14332
+ context?: unknown;
14333
+ };
14334
+ };
14335
+ };
14336
+ };
14337
+ };
14338
+ batchPayments: {
14339
+ parameters: {
14340
+ query?: never;
14341
+ header?: never;
14342
+ path?: never;
14343
+ cookie?: never;
14344
+ };
14345
+ requestBody?: {
14346
+ content: {
14347
+ "application/json": {
14348
+ connectionId: string;
14349
+ data: {
14350
+ id?: string | null;
14351
+ uniqueRef?: string | null;
14352
+ etaAt?: string | null;
14353
+ paidAt?: string | null;
14354
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
14355
+ currency: string;
14356
+ description?: string | null;
14357
+ metadata?: {
14358
+ [key: string]: unknown;
14359
+ } | null;
14360
+ userdata?: {
14361
+ [key: string]: unknown;
14362
+ } | null;
14363
+ sourceId?: string | null;
14364
+ lines: {
14365
+ id?: string | null;
14366
+ uniqueRef?: string | null;
14367
+ type: string;
14368
+ description?: string | null;
14369
+ reservationId?: string | null;
14370
+ reservationRef?: string | null;
14371
+ /** @description Value in cents (100 = 1€) */
14372
+ amount: number;
14373
+ accountId?: string | null;
14374
+ accountRef?: string | null;
14375
+ connectionId?: string | null;
14376
+ metadata?: {
14377
+ [key: string]: unknown;
14378
+ } | null;
14379
+ }[];
14380
+ bankAccountRef?: string | null;
14381
+ }[];
14382
+ };
14383
+ };
14384
+ };
14385
+ responses: {
14386
+ /** @description Successful response */
14387
+ 200: {
14388
+ headers: {
14389
+ [name: string]: unknown;
14390
+ };
14391
+ content: {
14392
+ "application/json": {
14393
+ data: {
14394
+ /** Format: uuid */
14395
+ id: string;
14396
+ uniqueRef?: string | null;
14397
+ sourceId?: string | null;
14398
+ }[];
14399
+ issues: {
14400
+ ref: string;
14401
+ sourceId?: string | null;
14402
+ message: string;
14403
+ /** @enum {string} */
14404
+ code?: "USER_ERROR" | "NOT_FOUND" | "FORBIDDEN" | "INTERNAL_VALIDATION_ERROR" | "INTERNAL_ERROR";
14405
+ context?: unknown;
14406
+ }[];
14407
+ };
14408
+ };
14409
+ };
14410
+ /** @description Bad request */
14411
+ 400: {
14412
+ headers: {
14413
+ [name: string]: unknown;
14414
+ };
14415
+ content: {
14416
+ "application/json": {
14417
+ code: string;
14418
+ message: string;
14419
+ issues?: {
14420
+ message: string;
14421
+ }[];
14422
+ context?: unknown;
14423
+ };
14424
+ };
14425
+ };
14426
+ /** @description Unauthorized */
14427
+ 401: {
14428
+ headers: {
14429
+ [name: string]: unknown;
14430
+ };
14431
+ content: {
14432
+ "application/json": {
14433
+ code: string;
14434
+ message: string;
14435
+ issues?: {
14436
+ message: string;
14437
+ }[];
14438
+ context?: unknown;
14439
+ };
14440
+ };
14441
+ };
14442
+ /** @description Forbidden */
14443
+ 403: {
14444
+ headers: {
14445
+ [name: string]: unknown;
14446
+ };
14447
+ content: {
14448
+ "application/json": {
14449
+ code: string;
14450
+ message: string;
14451
+ issues?: {
14452
+ message: string;
14453
+ }[];
14454
+ context?: unknown;
14455
+ };
14456
+ };
14457
+ };
14458
+ /** @description Not found */
14459
+ 404: {
14460
+ headers: {
14461
+ [name: string]: unknown;
14462
+ };
14463
+ content: {
14464
+ "application/json": {
14465
+ code: string;
14466
+ message: string;
14467
+ issues?: {
14468
+ message: string;
14469
+ }[];
14470
+ context?: unknown;
14471
+ };
14472
+ };
14473
+ };
14474
+ /** @description Internal server error */
14475
+ 500: {
14476
+ headers: {
14477
+ [name: string]: unknown;
14478
+ };
14479
+ content: {
14480
+ "application/json": {
14481
+ code: string;
14482
+ message: string;
14483
+ issues?: {
14484
+ message: string;
14485
+ }[];
14486
+ context?: unknown;
14487
+ };
14488
+ };
14489
+ };
14490
+ };
14491
+ };
14492
+ plaidConnectComplete: {
14493
+ parameters: {
14494
+ query?: never;
14495
+ header?: never;
14496
+ path?: never;
14497
+ cookie?: never;
14498
+ };
14499
+ requestBody?: {
14500
+ content: {
14501
+ "application/json": {
14502
+ connectionId?: string | null;
14503
+ environment?: ("sandbox" | "production") | null;
14504
+ code?: string | null;
14505
+ token?: string | null;
14506
+ };
13233
14507
  };
13234
14508
  };
13235
14509
  responses: {
@@ -16127,7 +17401,7 @@ export interface operations {
16127
17401
  parameters: {
16128
17402
  query: {
16129
17403
  date: string;
16130
- occupancyStatus: "departed" | "inHouse" | "upcoming";
17404
+ occupancyStatus: "departed" | "inHouse" | "upcoming" | "cancelled" | "unassigned" | "all";
16131
17405
  channels?: string;
16132
17406
  };
16133
17407
  header?: never;
@@ -16145,7 +17419,7 @@ export interface operations {
16145
17419
  "application/json": {
16146
17420
  data: {
16147
17421
  /** @enum {string} */
16148
- status: "booked" | "cancelled";
17422
+ status: "booked" | "cancelled" | "unassigned";
16149
17423
  total: number;
16150
17424
  charges: number;
16151
17425
  payments: number;
@@ -16280,6 +17554,9 @@ export interface operations {
16280
17554
  departed: number;
16281
17555
  inHouse: number;
16282
17556
  upcoming: number;
17557
+ cancelled: number;
17558
+ unassigned: number;
17559
+ all: number;
16283
17560
  };
16284
17561
  };
16285
17562
  };
@@ -16369,7 +17646,7 @@ export interface operations {
16369
17646
  parameters: {
16370
17647
  query: {
16371
17648
  date: string;
16372
- occupancyStatus: "departed" | "inHouse" | "upcoming";
17649
+ occupancyStatus: "departed" | "inHouse" | "upcoming" | "cancelled" | "unassigned" | "all";
16373
17650
  channels?: string;
16374
17651
  };
16375
17652
  header?: never;
@@ -16496,7 +17773,7 @@ export interface operations {
16496
17773
  currency?: string;
16497
17774
  /** @description listing ids comma separated or "unmapped" */
16498
17775
  listingIds?: string;
16499
- /** @description comma separated listing ownership period ids */
17776
+ /** @description listing ownership period ids comma separated or "unmapped" */
16500
17777
  listingOwnershipPeriodIds?: string;
16501
17778
  /** @description account ids comma separated accounts or "unmapped" */
16502
17779
  accountIds?: string;
@@ -16745,7 +18022,7 @@ export interface operations {
16745
18022
  currency?: string;
16746
18023
  /** @description listing ids comma separated or "unmapped" */
16747
18024
  listingIds?: string;
16748
- /** @description comma separated listing ownership period ids */
18025
+ /** @description listing ownership period ids comma separated or "unmapped" */
16749
18026
  listingOwnershipPeriodIds?: string;
16750
18027
  /** @description account ids comma separated accounts or "unmapped" */
16751
18028
  accountIds?: string;
@@ -17371,7 +18648,7 @@ export interface operations {
17371
18648
  currency?: string;
17372
18649
  /** @description listing ids comma separated or "unmapped" */
17373
18650
  listingIds?: string;
17374
- /** @description comma separated listing ownership period ids */
18651
+ /** @description listing ownership period ids comma separated or "unmapped" */
17375
18652
  listingOwnershipPeriodIds?: string;
17376
18653
  /** @description account ids comma separated accounts or "unmapped" */
17377
18654
  accountIds?: string;
@@ -17619,7 +18896,7 @@ export interface operations {
17619
18896
  currency?: string;
17620
18897
  /** @description listing ids comma separated or "unmapped" */
17621
18898
  listingIds?: string;
17622
- /** @description comma separated listing ownership period ids */
18899
+ /** @description listing ownership period ids comma separated or "unmapped" */
17623
18900
  listingOwnershipPeriodIds?: string;
17624
18901
  /** @description account ids comma separated accounts or "unmapped" */
17625
18902
  accountIds?: string;
@@ -19286,39 +20563,44 @@ export interface operations {
19286
20563
  };
19287
20564
  content: {
19288
20565
  "application/json": {
19289
- data: ({
20566
+ trustReconciliation: {
19290
20567
  /** @constant */
19291
- name: "Owner Payables";
20568
+ name: "Trust Reconciliation";
19292
20569
  total: number;
19293
- /** @constant */
19294
- type: "listings";
19295
- listings: {
19296
- name: string;
19297
- id: string;
20570
+ data: ({
20571
+ /** @constant */
20572
+ name: "Owner Payables";
19298
20573
  total: number;
19299
- }[];
19300
- } | {
19301
- name: string;
19302
- total: number;
19303
- /** @constant */
19304
- type: "accounts";
19305
- accounts: {
19306
- id: string;
20574
+ /** @constant */
20575
+ type: "listings";
20576
+ listings: {
20577
+ name: string;
20578
+ id: string;
20579
+ total: number;
20580
+ }[];
20581
+ } | {
19307
20582
  name: string;
19308
20583
  total: number;
19309
- }[];
19310
- } | {
19311
- /** @constant */
19312
- name: "Guest Receivables & Deposits";
19313
- total: number;
19314
- /** @constant */
19315
- type: "occupancy_status";
19316
- occupancyStatuses: {
19317
- /** @enum {string} */
19318
- status: "departed" | "upcoming" | "inHouse" | "unassigned";
20584
+ /** @constant */
20585
+ type: "accounts";
20586
+ accounts: {
20587
+ id: string;
20588
+ name: string;
20589
+ total: number;
20590
+ }[];
20591
+ } | {
20592
+ /** @constant */
20593
+ name: "Guest Receivables & Deposits";
19319
20594
  total: number;
19320
- }[];
19321
- })[];
20595
+ /** @constant */
20596
+ type: "occupancy_status";
20597
+ occupancyStatuses: {
20598
+ /** @enum {string} */
20599
+ status: "departed" | "upcoming" | "inHouse" | "cancelled" | "unassigned";
20600
+ total: number;
20601
+ }[];
20602
+ })[];
20603
+ };
19322
20604
  };
19323
20605
  };
19324
20606
  };
@@ -19427,8 +20709,8 @@ export interface operations {
19427
20709
  name: "Trust Reconciliation by Listing";
19428
20710
  total: number;
19429
20711
  groups: ({
19430
- /** @constant */
19431
- name: "Bank Accounts";
20712
+ /** @enum {string} */
20713
+ name: "Bank Accounts" | "Unassigned Accounts";
19432
20714
  total: number;
19433
20715
  /** @constant */
19434
20716
  type: "accounts";