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