@vrplatform/api 1.3.1-1886 → 1.3.1-1916
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 +1438 -110
- package/build/main/generated/v1.js.map +1 -1
- package/build/module/generated/v1.d.ts +1438 -110
- package/build/module/generated/v1.js.map +1 -1
- package/package.json +1 -1
- package/src/generated/v1.ts +1438 -110
package/src/generated/v1.ts
CHANGED
|
@@ -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 */
|
|
@@ -10727,6 +10897,8 @@ export interface operations {
|
|
|
10727
10897
|
id: string;
|
|
10728
10898
|
startAt: string;
|
|
10729
10899
|
endAt?: string | null;
|
|
10900
|
+
/** @description Value in cents (100 = 1€) */
|
|
10901
|
+
reserve: number;
|
|
10730
10902
|
members: {
|
|
10731
10903
|
contactId?: string | null;
|
|
10732
10904
|
split?: number | null;
|
|
@@ -10944,6 +11116,7 @@ export interface operations {
|
|
|
10944
11116
|
initialOwnership?: {
|
|
10945
11117
|
startAt?: string | null;
|
|
10946
11118
|
endAt?: string | null;
|
|
11119
|
+
reserve?: number | null;
|
|
10947
11120
|
members?: {
|
|
10948
11121
|
contactId?: string | null;
|
|
10949
11122
|
split?: number | null;
|
|
@@ -10988,6 +11161,8 @@ export interface operations {
|
|
|
10988
11161
|
id: string;
|
|
10989
11162
|
startAt: string;
|
|
10990
11163
|
endAt?: string | null;
|
|
11164
|
+
/** @description Value in cents (100 = 1€) */
|
|
11165
|
+
reserve: number;
|
|
10991
11166
|
members: {
|
|
10992
11167
|
contactId?: string | null;
|
|
10993
11168
|
split?: number | null;
|
|
@@ -11436,6 +11611,8 @@ export interface operations {
|
|
|
11436
11611
|
endAt?: string | null;
|
|
11437
11612
|
setListingInactive?: boolean | null;
|
|
11438
11613
|
businessModel: ("managed" | "co_host" | "co_host_airbnb") | null;
|
|
11614
|
+
/** @description Value in cents (100 = 1€) */
|
|
11615
|
+
reserve: number;
|
|
11439
11616
|
members: {
|
|
11440
11617
|
contactId?: string | null;
|
|
11441
11618
|
split?: number | null;
|
|
@@ -11551,6 +11728,7 @@ export interface operations {
|
|
|
11551
11728
|
listingId: string;
|
|
11552
11729
|
startAt?: string;
|
|
11553
11730
|
endAt?: string | null;
|
|
11731
|
+
reserve?: number | null;
|
|
11554
11732
|
members: {
|
|
11555
11733
|
contactId?: string | null;
|
|
11556
11734
|
split?: number | null;
|
|
@@ -11575,6 +11753,8 @@ export interface operations {
|
|
|
11575
11753
|
endAt?: string | null;
|
|
11576
11754
|
setListingInactive?: boolean | null;
|
|
11577
11755
|
businessModel: ("managed" | "co_host" | "co_host_airbnb") | null;
|
|
11756
|
+
/** @description Value in cents (100 = 1€) */
|
|
11757
|
+
reserve: number;
|
|
11578
11758
|
members: {
|
|
11579
11759
|
contactId?: string | null;
|
|
11580
11760
|
split?: number | null;
|
|
@@ -11690,6 +11870,8 @@ export interface operations {
|
|
|
11690
11870
|
endAt?: string | null;
|
|
11691
11871
|
setListingInactive?: boolean | null;
|
|
11692
11872
|
businessModel: ("managed" | "co_host" | "co_host_airbnb") | null;
|
|
11873
|
+
/** @description Value in cents (100 = 1€) */
|
|
11874
|
+
reserve: number;
|
|
11693
11875
|
members: {
|
|
11694
11876
|
contactId?: string | null;
|
|
11695
11877
|
split?: number | null;
|
|
@@ -11797,6 +11979,7 @@ export interface operations {
|
|
|
11797
11979
|
listingId?: string;
|
|
11798
11980
|
startAt?: string;
|
|
11799
11981
|
endAt?: string | null;
|
|
11982
|
+
reserve?: number | null;
|
|
11800
11983
|
members?: {
|
|
11801
11984
|
contactId?: string | null;
|
|
11802
11985
|
split?: number | null;
|
|
@@ -11821,6 +12004,8 @@ export interface operations {
|
|
|
11821
12004
|
endAt?: string | null;
|
|
11822
12005
|
setListingInactive?: boolean | null;
|
|
11823
12006
|
businessModel: ("managed" | "co_host" | "co_host_airbnb") | null;
|
|
12007
|
+
/** @description Value in cents (100 = 1€) */
|
|
12008
|
+
reserve: number;
|
|
11824
12009
|
members: {
|
|
11825
12010
|
contactId?: string | null;
|
|
11826
12011
|
split?: number | null;
|
|
@@ -12067,6 +12252,8 @@ export interface operations {
|
|
|
12067
12252
|
id: string;
|
|
12068
12253
|
startAt: string;
|
|
12069
12254
|
endAt?: string | null;
|
|
12255
|
+
/** @description Value in cents (100 = 1€) */
|
|
12256
|
+
reserve: number;
|
|
12070
12257
|
members: {
|
|
12071
12258
|
contactId?: string | null;
|
|
12072
12259
|
split?: number | null;
|
|
@@ -12276,6 +12463,7 @@ export interface operations {
|
|
|
12276
12463
|
initialOwnership?: {
|
|
12277
12464
|
startAt?: string | null;
|
|
12278
12465
|
endAt?: string | null;
|
|
12466
|
+
reserve?: number | null;
|
|
12279
12467
|
members?: {
|
|
12280
12468
|
contactId?: string | null;
|
|
12281
12469
|
split?: number | null;
|
|
@@ -12320,6 +12508,8 @@ export interface operations {
|
|
|
12320
12508
|
id: string;
|
|
12321
12509
|
startAt: string;
|
|
12322
12510
|
endAt?: string | null;
|
|
12511
|
+
/** @description Value in cents (100 = 1€) */
|
|
12512
|
+
reserve: number;
|
|
12323
12513
|
members: {
|
|
12324
12514
|
contactId?: string | null;
|
|
12325
12515
|
split?: number | null;
|
|
@@ -12483,22 +12673,1129 @@ export interface operations {
|
|
|
12483
12673
|
};
|
|
12484
12674
|
};
|
|
12485
12675
|
};
|
|
12486
|
-
deleteListingsById: {
|
|
12676
|
+
deleteListingsById: {
|
|
12677
|
+
parameters: {
|
|
12678
|
+
query?: {
|
|
12679
|
+
onLocked?: "error" | "archive";
|
|
12680
|
+
};
|
|
12681
|
+
header?: never;
|
|
12682
|
+
path: {
|
|
12683
|
+
id: string;
|
|
12684
|
+
};
|
|
12685
|
+
cookie?: never;
|
|
12686
|
+
};
|
|
12687
|
+
requestBody?: {
|
|
12688
|
+
content: {
|
|
12689
|
+
"application/json": Record<string, never>;
|
|
12690
|
+
};
|
|
12691
|
+
};
|
|
12692
|
+
responses: {
|
|
12693
|
+
/** @description Successful response */
|
|
12694
|
+
200: {
|
|
12695
|
+
headers: {
|
|
12696
|
+
[name: string]: unknown;
|
|
12697
|
+
};
|
|
12698
|
+
content: {
|
|
12699
|
+
"application/json": {
|
|
12700
|
+
/** @enum {string} */
|
|
12701
|
+
status: "deleted" | "archived";
|
|
12702
|
+
};
|
|
12703
|
+
};
|
|
12704
|
+
};
|
|
12705
|
+
/** @description Bad request */
|
|
12706
|
+
400: {
|
|
12707
|
+
headers: {
|
|
12708
|
+
[name: string]: unknown;
|
|
12709
|
+
};
|
|
12710
|
+
content: {
|
|
12711
|
+
"application/json": {
|
|
12712
|
+
code: string;
|
|
12713
|
+
message: string;
|
|
12714
|
+
issues?: {
|
|
12715
|
+
message: string;
|
|
12716
|
+
}[];
|
|
12717
|
+
context?: unknown;
|
|
12718
|
+
};
|
|
12719
|
+
};
|
|
12720
|
+
};
|
|
12721
|
+
/** @description Unauthorized */
|
|
12722
|
+
401: {
|
|
12723
|
+
headers: {
|
|
12724
|
+
[name: string]: unknown;
|
|
12725
|
+
};
|
|
12726
|
+
content: {
|
|
12727
|
+
"application/json": {
|
|
12728
|
+
code: string;
|
|
12729
|
+
message: string;
|
|
12730
|
+
issues?: {
|
|
12731
|
+
message: string;
|
|
12732
|
+
}[];
|
|
12733
|
+
context?: unknown;
|
|
12734
|
+
};
|
|
12735
|
+
};
|
|
12736
|
+
};
|
|
12737
|
+
/** @description Forbidden */
|
|
12738
|
+
403: {
|
|
12739
|
+
headers: {
|
|
12740
|
+
[name: string]: unknown;
|
|
12741
|
+
};
|
|
12742
|
+
content: {
|
|
12743
|
+
"application/json": {
|
|
12744
|
+
code: string;
|
|
12745
|
+
message: string;
|
|
12746
|
+
issues?: {
|
|
12747
|
+
message: string;
|
|
12748
|
+
}[];
|
|
12749
|
+
context?: unknown;
|
|
12750
|
+
};
|
|
12751
|
+
};
|
|
12752
|
+
};
|
|
12753
|
+
/** @description Not found */
|
|
12754
|
+
404: {
|
|
12755
|
+
headers: {
|
|
12756
|
+
[name: string]: unknown;
|
|
12757
|
+
};
|
|
12758
|
+
content: {
|
|
12759
|
+
"application/json": {
|
|
12760
|
+
code: string;
|
|
12761
|
+
message: string;
|
|
12762
|
+
issues?: {
|
|
12763
|
+
message: string;
|
|
12764
|
+
}[];
|
|
12765
|
+
context?: unknown;
|
|
12766
|
+
};
|
|
12767
|
+
};
|
|
12768
|
+
};
|
|
12769
|
+
/** @description Internal server error */
|
|
12770
|
+
500: {
|
|
12771
|
+
headers: {
|
|
12772
|
+
[name: string]: unknown;
|
|
12773
|
+
};
|
|
12774
|
+
content: {
|
|
12775
|
+
"application/json": {
|
|
12776
|
+
code: string;
|
|
12777
|
+
message: string;
|
|
12778
|
+
issues?: {
|
|
12779
|
+
message: string;
|
|
12780
|
+
}[];
|
|
12781
|
+
context?: unknown;
|
|
12782
|
+
};
|
|
12783
|
+
};
|
|
12784
|
+
};
|
|
12785
|
+
};
|
|
12786
|
+
};
|
|
12787
|
+
getListingsByIdOpeningBalance: {
|
|
12788
|
+
parameters: {
|
|
12789
|
+
query?: never;
|
|
12790
|
+
header?: never;
|
|
12791
|
+
path: {
|
|
12792
|
+
id: string;
|
|
12793
|
+
};
|
|
12794
|
+
cookie?: never;
|
|
12795
|
+
};
|
|
12796
|
+
requestBody?: never;
|
|
12797
|
+
responses: {
|
|
12798
|
+
/** @description Successful response */
|
|
12799
|
+
200: {
|
|
12800
|
+
headers: {
|
|
12801
|
+
[name: string]: unknown;
|
|
12802
|
+
};
|
|
12803
|
+
content: {
|
|
12804
|
+
"application/json": {
|
|
12805
|
+
/** Format: uuid */
|
|
12806
|
+
listingId: string;
|
|
12807
|
+
/** @description Value in cents (100 = 1€) */
|
|
12808
|
+
amount: number;
|
|
12809
|
+
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
12810
|
+
currency: string;
|
|
12811
|
+
updatedAt?: string | null;
|
|
12812
|
+
};
|
|
12813
|
+
};
|
|
12814
|
+
};
|
|
12815
|
+
/** @description Bad request */
|
|
12816
|
+
400: {
|
|
12817
|
+
headers: {
|
|
12818
|
+
[name: string]: unknown;
|
|
12819
|
+
};
|
|
12820
|
+
content: {
|
|
12821
|
+
"application/json": {
|
|
12822
|
+
code: string;
|
|
12823
|
+
message: string;
|
|
12824
|
+
issues?: {
|
|
12825
|
+
message: string;
|
|
12826
|
+
}[];
|
|
12827
|
+
context?: unknown;
|
|
12828
|
+
};
|
|
12829
|
+
};
|
|
12830
|
+
};
|
|
12831
|
+
/** @description Unauthorized */
|
|
12832
|
+
401: {
|
|
12833
|
+
headers: {
|
|
12834
|
+
[name: string]: unknown;
|
|
12835
|
+
};
|
|
12836
|
+
content: {
|
|
12837
|
+
"application/json": {
|
|
12838
|
+
code: string;
|
|
12839
|
+
message: string;
|
|
12840
|
+
issues?: {
|
|
12841
|
+
message: string;
|
|
12842
|
+
}[];
|
|
12843
|
+
context?: unknown;
|
|
12844
|
+
};
|
|
12845
|
+
};
|
|
12846
|
+
};
|
|
12847
|
+
/** @description Forbidden */
|
|
12848
|
+
403: {
|
|
12849
|
+
headers: {
|
|
12850
|
+
[name: string]: unknown;
|
|
12851
|
+
};
|
|
12852
|
+
content: {
|
|
12853
|
+
"application/json": {
|
|
12854
|
+
code: string;
|
|
12855
|
+
message: string;
|
|
12856
|
+
issues?: {
|
|
12857
|
+
message: string;
|
|
12858
|
+
}[];
|
|
12859
|
+
context?: unknown;
|
|
12860
|
+
};
|
|
12861
|
+
};
|
|
12862
|
+
};
|
|
12863
|
+
/** @description Not found */
|
|
12864
|
+
404: {
|
|
12865
|
+
headers: {
|
|
12866
|
+
[name: string]: unknown;
|
|
12867
|
+
};
|
|
12868
|
+
content: {
|
|
12869
|
+
"application/json": {
|
|
12870
|
+
code: string;
|
|
12871
|
+
message: string;
|
|
12872
|
+
issues?: {
|
|
12873
|
+
message: string;
|
|
12874
|
+
}[];
|
|
12875
|
+
context?: unknown;
|
|
12876
|
+
};
|
|
12877
|
+
};
|
|
12878
|
+
};
|
|
12879
|
+
/** @description Internal server error */
|
|
12880
|
+
500: {
|
|
12881
|
+
headers: {
|
|
12882
|
+
[name: string]: unknown;
|
|
12883
|
+
};
|
|
12884
|
+
content: {
|
|
12885
|
+
"application/json": {
|
|
12886
|
+
code: string;
|
|
12887
|
+
message: string;
|
|
12888
|
+
issues?: {
|
|
12889
|
+
message: string;
|
|
12890
|
+
}[];
|
|
12891
|
+
context?: unknown;
|
|
12892
|
+
};
|
|
12893
|
+
};
|
|
12894
|
+
};
|
|
12895
|
+
};
|
|
12896
|
+
};
|
|
12897
|
+
putListingsByIdOpeningBalance: {
|
|
12898
|
+
parameters: {
|
|
12899
|
+
query?: never;
|
|
12900
|
+
header?: never;
|
|
12901
|
+
path: {
|
|
12902
|
+
id: string;
|
|
12903
|
+
};
|
|
12904
|
+
cookie?: never;
|
|
12905
|
+
};
|
|
12906
|
+
requestBody?: {
|
|
12907
|
+
content: {
|
|
12908
|
+
"application/json": {
|
|
12909
|
+
/** @description Value in cents (100 = 1€) */
|
|
12910
|
+
amount: number;
|
|
12911
|
+
currency?: string | null;
|
|
12912
|
+
};
|
|
12913
|
+
};
|
|
12914
|
+
};
|
|
12915
|
+
responses: {
|
|
12916
|
+
/** @description Successful response */
|
|
12917
|
+
200: {
|
|
12918
|
+
headers: {
|
|
12919
|
+
[name: string]: unknown;
|
|
12920
|
+
};
|
|
12921
|
+
content: {
|
|
12922
|
+
"application/json": {
|
|
12923
|
+
/** Format: uuid */
|
|
12924
|
+
listingId: string;
|
|
12925
|
+
/** @description Value in cents (100 = 1€) */
|
|
12926
|
+
amount: number;
|
|
12927
|
+
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
12928
|
+
currency: string;
|
|
12929
|
+
updatedAt?: string | null;
|
|
12930
|
+
};
|
|
12931
|
+
};
|
|
12932
|
+
};
|
|
12933
|
+
/** @description Bad request */
|
|
12934
|
+
400: {
|
|
12935
|
+
headers: {
|
|
12936
|
+
[name: string]: unknown;
|
|
12937
|
+
};
|
|
12938
|
+
content: {
|
|
12939
|
+
"application/json": {
|
|
12940
|
+
code: string;
|
|
12941
|
+
message: string;
|
|
12942
|
+
issues?: {
|
|
12943
|
+
message: string;
|
|
12944
|
+
}[];
|
|
12945
|
+
context?: unknown;
|
|
12946
|
+
};
|
|
12947
|
+
};
|
|
12948
|
+
};
|
|
12949
|
+
/** @description Unauthorized */
|
|
12950
|
+
401: {
|
|
12951
|
+
headers: {
|
|
12952
|
+
[name: string]: unknown;
|
|
12953
|
+
};
|
|
12954
|
+
content: {
|
|
12955
|
+
"application/json": {
|
|
12956
|
+
code: string;
|
|
12957
|
+
message: string;
|
|
12958
|
+
issues?: {
|
|
12959
|
+
message: string;
|
|
12960
|
+
}[];
|
|
12961
|
+
context?: unknown;
|
|
12962
|
+
};
|
|
12963
|
+
};
|
|
12964
|
+
};
|
|
12965
|
+
/** @description Forbidden */
|
|
12966
|
+
403: {
|
|
12967
|
+
headers: {
|
|
12968
|
+
[name: string]: unknown;
|
|
12969
|
+
};
|
|
12970
|
+
content: {
|
|
12971
|
+
"application/json": {
|
|
12972
|
+
code: string;
|
|
12973
|
+
message: string;
|
|
12974
|
+
issues?: {
|
|
12975
|
+
message: string;
|
|
12976
|
+
}[];
|
|
12977
|
+
context?: unknown;
|
|
12978
|
+
};
|
|
12979
|
+
};
|
|
12980
|
+
};
|
|
12981
|
+
/** @description Not found */
|
|
12982
|
+
404: {
|
|
12983
|
+
headers: {
|
|
12984
|
+
[name: string]: unknown;
|
|
12985
|
+
};
|
|
12986
|
+
content: {
|
|
12987
|
+
"application/json": {
|
|
12988
|
+
code: string;
|
|
12989
|
+
message: string;
|
|
12990
|
+
issues?: {
|
|
12991
|
+
message: string;
|
|
12992
|
+
}[];
|
|
12993
|
+
context?: unknown;
|
|
12994
|
+
};
|
|
12995
|
+
};
|
|
12996
|
+
};
|
|
12997
|
+
/** @description Internal server error */
|
|
12998
|
+
500: {
|
|
12999
|
+
headers: {
|
|
13000
|
+
[name: string]: unknown;
|
|
13001
|
+
};
|
|
13002
|
+
content: {
|
|
13003
|
+
"application/json": {
|
|
13004
|
+
code: string;
|
|
13005
|
+
message: string;
|
|
13006
|
+
issues?: {
|
|
13007
|
+
message: string;
|
|
13008
|
+
}[];
|
|
13009
|
+
context?: unknown;
|
|
13010
|
+
};
|
|
13011
|
+
};
|
|
13012
|
+
};
|
|
13013
|
+
};
|
|
13014
|
+
};
|
|
13015
|
+
getMetricActiveListings: {
|
|
13016
|
+
parameters: {
|
|
13017
|
+
query: {
|
|
13018
|
+
startDate: string;
|
|
13019
|
+
endDate: string;
|
|
13020
|
+
};
|
|
13021
|
+
header?: never;
|
|
13022
|
+
path?: never;
|
|
13023
|
+
cookie?: never;
|
|
13024
|
+
};
|
|
13025
|
+
requestBody?: never;
|
|
13026
|
+
responses: {
|
|
13027
|
+
/** @description Successful response */
|
|
13028
|
+
200: {
|
|
13029
|
+
headers: {
|
|
13030
|
+
[name: string]: unknown;
|
|
13031
|
+
};
|
|
13032
|
+
content: {
|
|
13033
|
+
"application/json": {
|
|
13034
|
+
data: {
|
|
13035
|
+
current: number;
|
|
13036
|
+
previous: number;
|
|
13037
|
+
delta: number;
|
|
13038
|
+
deltaPercentage: number | null;
|
|
13039
|
+
}[];
|
|
13040
|
+
};
|
|
13041
|
+
};
|
|
13042
|
+
};
|
|
13043
|
+
/** @description Bad request */
|
|
13044
|
+
400: {
|
|
13045
|
+
headers: {
|
|
13046
|
+
[name: string]: unknown;
|
|
13047
|
+
};
|
|
13048
|
+
content: {
|
|
13049
|
+
"application/json": {
|
|
13050
|
+
code: string;
|
|
13051
|
+
message: string;
|
|
13052
|
+
issues?: {
|
|
13053
|
+
message: string;
|
|
13054
|
+
}[];
|
|
13055
|
+
context?: unknown;
|
|
13056
|
+
};
|
|
13057
|
+
};
|
|
13058
|
+
};
|
|
13059
|
+
/** @description Unauthorized */
|
|
13060
|
+
401: {
|
|
13061
|
+
headers: {
|
|
13062
|
+
[name: string]: unknown;
|
|
13063
|
+
};
|
|
13064
|
+
content: {
|
|
13065
|
+
"application/json": {
|
|
13066
|
+
code: string;
|
|
13067
|
+
message: string;
|
|
13068
|
+
issues?: {
|
|
13069
|
+
message: string;
|
|
13070
|
+
}[];
|
|
13071
|
+
context?: unknown;
|
|
13072
|
+
};
|
|
13073
|
+
};
|
|
13074
|
+
};
|
|
13075
|
+
/** @description Forbidden */
|
|
13076
|
+
403: {
|
|
13077
|
+
headers: {
|
|
13078
|
+
[name: string]: unknown;
|
|
13079
|
+
};
|
|
13080
|
+
content: {
|
|
13081
|
+
"application/json": {
|
|
13082
|
+
code: string;
|
|
13083
|
+
message: string;
|
|
13084
|
+
issues?: {
|
|
13085
|
+
message: string;
|
|
13086
|
+
}[];
|
|
13087
|
+
context?: unknown;
|
|
13088
|
+
};
|
|
13089
|
+
};
|
|
13090
|
+
};
|
|
13091
|
+
/** @description Not found */
|
|
13092
|
+
404: {
|
|
13093
|
+
headers: {
|
|
13094
|
+
[name: string]: unknown;
|
|
13095
|
+
};
|
|
13096
|
+
content: {
|
|
13097
|
+
"application/json": {
|
|
13098
|
+
code: string;
|
|
13099
|
+
message: string;
|
|
13100
|
+
issues?: {
|
|
13101
|
+
message: string;
|
|
13102
|
+
}[];
|
|
13103
|
+
context?: unknown;
|
|
13104
|
+
};
|
|
13105
|
+
};
|
|
13106
|
+
};
|
|
13107
|
+
/** @description Internal server error */
|
|
13108
|
+
500: {
|
|
13109
|
+
headers: {
|
|
13110
|
+
[name: string]: unknown;
|
|
13111
|
+
};
|
|
13112
|
+
content: {
|
|
13113
|
+
"application/json": {
|
|
13114
|
+
code: string;
|
|
13115
|
+
message: string;
|
|
13116
|
+
issues?: {
|
|
13117
|
+
message: string;
|
|
13118
|
+
}[];
|
|
13119
|
+
context?: unknown;
|
|
13120
|
+
};
|
|
13121
|
+
};
|
|
13122
|
+
};
|
|
13123
|
+
};
|
|
13124
|
+
};
|
|
13125
|
+
getMetricAverageDailyRate: {
|
|
13126
|
+
parameters: {
|
|
13127
|
+
query: {
|
|
13128
|
+
startDate: string;
|
|
13129
|
+
endDate: string;
|
|
13130
|
+
};
|
|
13131
|
+
header?: never;
|
|
13132
|
+
path?: never;
|
|
13133
|
+
cookie?: never;
|
|
13134
|
+
};
|
|
13135
|
+
requestBody?: never;
|
|
13136
|
+
responses: {
|
|
13137
|
+
/** @description Successful response */
|
|
13138
|
+
200: {
|
|
13139
|
+
headers: {
|
|
13140
|
+
[name: string]: unknown;
|
|
13141
|
+
};
|
|
13142
|
+
content: {
|
|
13143
|
+
"application/json": {
|
|
13144
|
+
data: {
|
|
13145
|
+
current: number;
|
|
13146
|
+
previous: number;
|
|
13147
|
+
delta: number;
|
|
13148
|
+
deltaPercentage: number | null;
|
|
13149
|
+
}[];
|
|
13150
|
+
};
|
|
13151
|
+
};
|
|
13152
|
+
};
|
|
13153
|
+
/** @description Bad request */
|
|
13154
|
+
400: {
|
|
13155
|
+
headers: {
|
|
13156
|
+
[name: string]: unknown;
|
|
13157
|
+
};
|
|
13158
|
+
content: {
|
|
13159
|
+
"application/json": {
|
|
13160
|
+
code: string;
|
|
13161
|
+
message: string;
|
|
13162
|
+
issues?: {
|
|
13163
|
+
message: string;
|
|
13164
|
+
}[];
|
|
13165
|
+
context?: unknown;
|
|
13166
|
+
};
|
|
13167
|
+
};
|
|
13168
|
+
};
|
|
13169
|
+
/** @description Unauthorized */
|
|
13170
|
+
401: {
|
|
13171
|
+
headers: {
|
|
13172
|
+
[name: string]: unknown;
|
|
13173
|
+
};
|
|
13174
|
+
content: {
|
|
13175
|
+
"application/json": {
|
|
13176
|
+
code: string;
|
|
13177
|
+
message: string;
|
|
13178
|
+
issues?: {
|
|
13179
|
+
message: string;
|
|
13180
|
+
}[];
|
|
13181
|
+
context?: unknown;
|
|
13182
|
+
};
|
|
13183
|
+
};
|
|
13184
|
+
};
|
|
13185
|
+
/** @description Forbidden */
|
|
13186
|
+
403: {
|
|
13187
|
+
headers: {
|
|
13188
|
+
[name: string]: unknown;
|
|
13189
|
+
};
|
|
13190
|
+
content: {
|
|
13191
|
+
"application/json": {
|
|
13192
|
+
code: string;
|
|
13193
|
+
message: string;
|
|
13194
|
+
issues?: {
|
|
13195
|
+
message: string;
|
|
13196
|
+
}[];
|
|
13197
|
+
context?: unknown;
|
|
13198
|
+
};
|
|
13199
|
+
};
|
|
13200
|
+
};
|
|
13201
|
+
/** @description Not found */
|
|
13202
|
+
404: {
|
|
13203
|
+
headers: {
|
|
13204
|
+
[name: string]: unknown;
|
|
13205
|
+
};
|
|
13206
|
+
content: {
|
|
13207
|
+
"application/json": {
|
|
13208
|
+
code: string;
|
|
13209
|
+
message: string;
|
|
13210
|
+
issues?: {
|
|
13211
|
+
message: string;
|
|
13212
|
+
}[];
|
|
13213
|
+
context?: unknown;
|
|
13214
|
+
};
|
|
13215
|
+
};
|
|
13216
|
+
};
|
|
13217
|
+
/** @description Internal server error */
|
|
13218
|
+
500: {
|
|
13219
|
+
headers: {
|
|
13220
|
+
[name: string]: unknown;
|
|
13221
|
+
};
|
|
13222
|
+
content: {
|
|
13223
|
+
"application/json": {
|
|
13224
|
+
code: string;
|
|
13225
|
+
message: string;
|
|
13226
|
+
issues?: {
|
|
13227
|
+
message: string;
|
|
13228
|
+
}[];
|
|
13229
|
+
context?: unknown;
|
|
13230
|
+
};
|
|
13231
|
+
};
|
|
13232
|
+
};
|
|
13233
|
+
};
|
|
13234
|
+
};
|
|
13235
|
+
getMetricCashFlow: {
|
|
13236
|
+
parameters: {
|
|
13237
|
+
query: {
|
|
13238
|
+
dimension?: "month" | "week" | "day" | "year";
|
|
13239
|
+
startDate: string;
|
|
13240
|
+
endDate: string;
|
|
13241
|
+
};
|
|
13242
|
+
header?: never;
|
|
13243
|
+
path?: never;
|
|
13244
|
+
cookie?: never;
|
|
13245
|
+
};
|
|
13246
|
+
requestBody?: never;
|
|
13247
|
+
responses: {
|
|
13248
|
+
/** @description Successful response */
|
|
13249
|
+
200: {
|
|
13250
|
+
headers: {
|
|
13251
|
+
[name: string]: unknown;
|
|
13252
|
+
};
|
|
13253
|
+
content: {
|
|
13254
|
+
"application/json": {
|
|
13255
|
+
data: {
|
|
13256
|
+
date: string;
|
|
13257
|
+
inflow: number;
|
|
13258
|
+
outflow: number;
|
|
13259
|
+
netCashFlow: number;
|
|
13260
|
+
}[];
|
|
13261
|
+
};
|
|
13262
|
+
};
|
|
13263
|
+
};
|
|
13264
|
+
/** @description Bad request */
|
|
13265
|
+
400: {
|
|
13266
|
+
headers: {
|
|
13267
|
+
[name: string]: unknown;
|
|
13268
|
+
};
|
|
13269
|
+
content: {
|
|
13270
|
+
"application/json": {
|
|
13271
|
+
code: string;
|
|
13272
|
+
message: string;
|
|
13273
|
+
issues?: {
|
|
13274
|
+
message: string;
|
|
13275
|
+
}[];
|
|
13276
|
+
context?: unknown;
|
|
13277
|
+
};
|
|
13278
|
+
};
|
|
13279
|
+
};
|
|
13280
|
+
/** @description Unauthorized */
|
|
13281
|
+
401: {
|
|
13282
|
+
headers: {
|
|
13283
|
+
[name: string]: unknown;
|
|
13284
|
+
};
|
|
13285
|
+
content: {
|
|
13286
|
+
"application/json": {
|
|
13287
|
+
code: string;
|
|
13288
|
+
message: string;
|
|
13289
|
+
issues?: {
|
|
13290
|
+
message: string;
|
|
13291
|
+
}[];
|
|
13292
|
+
context?: unknown;
|
|
13293
|
+
};
|
|
13294
|
+
};
|
|
13295
|
+
};
|
|
13296
|
+
/** @description Forbidden */
|
|
13297
|
+
403: {
|
|
13298
|
+
headers: {
|
|
13299
|
+
[name: string]: unknown;
|
|
13300
|
+
};
|
|
13301
|
+
content: {
|
|
13302
|
+
"application/json": {
|
|
13303
|
+
code: string;
|
|
13304
|
+
message: string;
|
|
13305
|
+
issues?: {
|
|
13306
|
+
message: string;
|
|
13307
|
+
}[];
|
|
13308
|
+
context?: unknown;
|
|
13309
|
+
};
|
|
13310
|
+
};
|
|
13311
|
+
};
|
|
13312
|
+
/** @description Not found */
|
|
13313
|
+
404: {
|
|
13314
|
+
headers: {
|
|
13315
|
+
[name: string]: unknown;
|
|
13316
|
+
};
|
|
13317
|
+
content: {
|
|
13318
|
+
"application/json": {
|
|
13319
|
+
code: string;
|
|
13320
|
+
message: string;
|
|
13321
|
+
issues?: {
|
|
13322
|
+
message: string;
|
|
13323
|
+
}[];
|
|
13324
|
+
context?: unknown;
|
|
13325
|
+
};
|
|
13326
|
+
};
|
|
13327
|
+
};
|
|
13328
|
+
/** @description Internal server error */
|
|
13329
|
+
500: {
|
|
13330
|
+
headers: {
|
|
13331
|
+
[name: string]: unknown;
|
|
13332
|
+
};
|
|
13333
|
+
content: {
|
|
13334
|
+
"application/json": {
|
|
13335
|
+
code: string;
|
|
13336
|
+
message: string;
|
|
13337
|
+
issues?: {
|
|
13338
|
+
message: string;
|
|
13339
|
+
}[];
|
|
13340
|
+
context?: unknown;
|
|
13341
|
+
};
|
|
13342
|
+
};
|
|
13343
|
+
};
|
|
13344
|
+
};
|
|
13345
|
+
};
|
|
13346
|
+
getMetricCheckinCounts: {
|
|
13347
|
+
parameters: {
|
|
13348
|
+
query: {
|
|
13349
|
+
startDate: string;
|
|
13350
|
+
endDate: string;
|
|
13351
|
+
};
|
|
13352
|
+
header?: never;
|
|
13353
|
+
path?: never;
|
|
13354
|
+
cookie?: never;
|
|
13355
|
+
};
|
|
13356
|
+
requestBody?: never;
|
|
13357
|
+
responses: {
|
|
13358
|
+
/** @description Successful response */
|
|
13359
|
+
200: {
|
|
13360
|
+
headers: {
|
|
13361
|
+
[name: string]: unknown;
|
|
13362
|
+
};
|
|
13363
|
+
content: {
|
|
13364
|
+
"application/json": {
|
|
13365
|
+
data: {
|
|
13366
|
+
current: number;
|
|
13367
|
+
previous: number;
|
|
13368
|
+
delta: number;
|
|
13369
|
+
deltaPercentage: number | null;
|
|
13370
|
+
}[];
|
|
13371
|
+
};
|
|
13372
|
+
};
|
|
13373
|
+
};
|
|
13374
|
+
/** @description Bad request */
|
|
13375
|
+
400: {
|
|
13376
|
+
headers: {
|
|
13377
|
+
[name: string]: unknown;
|
|
13378
|
+
};
|
|
13379
|
+
content: {
|
|
13380
|
+
"application/json": {
|
|
13381
|
+
code: string;
|
|
13382
|
+
message: string;
|
|
13383
|
+
issues?: {
|
|
13384
|
+
message: string;
|
|
13385
|
+
}[];
|
|
13386
|
+
context?: unknown;
|
|
13387
|
+
};
|
|
13388
|
+
};
|
|
13389
|
+
};
|
|
13390
|
+
/** @description Unauthorized */
|
|
13391
|
+
401: {
|
|
13392
|
+
headers: {
|
|
13393
|
+
[name: string]: unknown;
|
|
13394
|
+
};
|
|
13395
|
+
content: {
|
|
13396
|
+
"application/json": {
|
|
13397
|
+
code: string;
|
|
13398
|
+
message: string;
|
|
13399
|
+
issues?: {
|
|
13400
|
+
message: string;
|
|
13401
|
+
}[];
|
|
13402
|
+
context?: unknown;
|
|
13403
|
+
};
|
|
13404
|
+
};
|
|
13405
|
+
};
|
|
13406
|
+
/** @description Forbidden */
|
|
13407
|
+
403: {
|
|
13408
|
+
headers: {
|
|
13409
|
+
[name: string]: unknown;
|
|
13410
|
+
};
|
|
13411
|
+
content: {
|
|
13412
|
+
"application/json": {
|
|
13413
|
+
code: string;
|
|
13414
|
+
message: string;
|
|
13415
|
+
issues?: {
|
|
13416
|
+
message: string;
|
|
13417
|
+
}[];
|
|
13418
|
+
context?: unknown;
|
|
13419
|
+
};
|
|
13420
|
+
};
|
|
13421
|
+
};
|
|
13422
|
+
/** @description Not found */
|
|
13423
|
+
404: {
|
|
13424
|
+
headers: {
|
|
13425
|
+
[name: string]: unknown;
|
|
13426
|
+
};
|
|
13427
|
+
content: {
|
|
13428
|
+
"application/json": {
|
|
13429
|
+
code: string;
|
|
13430
|
+
message: string;
|
|
13431
|
+
issues?: {
|
|
13432
|
+
message: string;
|
|
13433
|
+
}[];
|
|
13434
|
+
context?: unknown;
|
|
13435
|
+
};
|
|
13436
|
+
};
|
|
13437
|
+
};
|
|
13438
|
+
/** @description Internal server error */
|
|
13439
|
+
500: {
|
|
13440
|
+
headers: {
|
|
13441
|
+
[name: string]: unknown;
|
|
13442
|
+
};
|
|
13443
|
+
content: {
|
|
13444
|
+
"application/json": {
|
|
13445
|
+
code: string;
|
|
13446
|
+
message: string;
|
|
13447
|
+
issues?: {
|
|
13448
|
+
message: string;
|
|
13449
|
+
}[];
|
|
13450
|
+
context?: unknown;
|
|
13451
|
+
};
|
|
13452
|
+
};
|
|
13453
|
+
};
|
|
13454
|
+
};
|
|
13455
|
+
};
|
|
13456
|
+
getMetricFutureBookedRevenue: {
|
|
13457
|
+
parameters: {
|
|
13458
|
+
query: {
|
|
13459
|
+
dimension?: "month" | "week" | "day" | "year";
|
|
13460
|
+
startDate: string;
|
|
13461
|
+
endDate: string;
|
|
13462
|
+
};
|
|
13463
|
+
header?: never;
|
|
13464
|
+
path?: never;
|
|
13465
|
+
cookie?: never;
|
|
13466
|
+
};
|
|
13467
|
+
requestBody?: never;
|
|
13468
|
+
responses: {
|
|
13469
|
+
/** @description Successful response */
|
|
13470
|
+
200: {
|
|
13471
|
+
headers: {
|
|
13472
|
+
[name: string]: unknown;
|
|
13473
|
+
};
|
|
13474
|
+
content: {
|
|
13475
|
+
"application/json": {
|
|
13476
|
+
data: {
|
|
13477
|
+
date: string;
|
|
13478
|
+
futureRevenue: number;
|
|
13479
|
+
bookedRevenue: number;
|
|
13480
|
+
}[];
|
|
13481
|
+
};
|
|
13482
|
+
};
|
|
13483
|
+
};
|
|
13484
|
+
/** @description Bad request */
|
|
13485
|
+
400: {
|
|
13486
|
+
headers: {
|
|
13487
|
+
[name: string]: unknown;
|
|
13488
|
+
};
|
|
13489
|
+
content: {
|
|
13490
|
+
"application/json": {
|
|
13491
|
+
code: string;
|
|
13492
|
+
message: string;
|
|
13493
|
+
issues?: {
|
|
13494
|
+
message: string;
|
|
13495
|
+
}[];
|
|
13496
|
+
context?: unknown;
|
|
13497
|
+
};
|
|
13498
|
+
};
|
|
13499
|
+
};
|
|
13500
|
+
/** @description Unauthorized */
|
|
13501
|
+
401: {
|
|
13502
|
+
headers: {
|
|
13503
|
+
[name: string]: unknown;
|
|
13504
|
+
};
|
|
13505
|
+
content: {
|
|
13506
|
+
"application/json": {
|
|
13507
|
+
code: string;
|
|
13508
|
+
message: string;
|
|
13509
|
+
issues?: {
|
|
13510
|
+
message: string;
|
|
13511
|
+
}[];
|
|
13512
|
+
context?: unknown;
|
|
13513
|
+
};
|
|
13514
|
+
};
|
|
13515
|
+
};
|
|
13516
|
+
/** @description Forbidden */
|
|
13517
|
+
403: {
|
|
13518
|
+
headers: {
|
|
13519
|
+
[name: string]: unknown;
|
|
13520
|
+
};
|
|
13521
|
+
content: {
|
|
13522
|
+
"application/json": {
|
|
13523
|
+
code: string;
|
|
13524
|
+
message: string;
|
|
13525
|
+
issues?: {
|
|
13526
|
+
message: string;
|
|
13527
|
+
}[];
|
|
13528
|
+
context?: unknown;
|
|
13529
|
+
};
|
|
13530
|
+
};
|
|
13531
|
+
};
|
|
13532
|
+
/** @description Not found */
|
|
13533
|
+
404: {
|
|
13534
|
+
headers: {
|
|
13535
|
+
[name: string]: unknown;
|
|
13536
|
+
};
|
|
13537
|
+
content: {
|
|
13538
|
+
"application/json": {
|
|
13539
|
+
code: string;
|
|
13540
|
+
message: string;
|
|
13541
|
+
issues?: {
|
|
13542
|
+
message: string;
|
|
13543
|
+
}[];
|
|
13544
|
+
context?: unknown;
|
|
13545
|
+
};
|
|
13546
|
+
};
|
|
13547
|
+
};
|
|
13548
|
+
/** @description Internal server error */
|
|
13549
|
+
500: {
|
|
13550
|
+
headers: {
|
|
13551
|
+
[name: string]: unknown;
|
|
13552
|
+
};
|
|
13553
|
+
content: {
|
|
13554
|
+
"application/json": {
|
|
13555
|
+
code: string;
|
|
13556
|
+
message: string;
|
|
13557
|
+
issues?: {
|
|
13558
|
+
message: string;
|
|
13559
|
+
}[];
|
|
13560
|
+
context?: unknown;
|
|
13561
|
+
};
|
|
13562
|
+
};
|
|
13563
|
+
};
|
|
13564
|
+
};
|
|
13565
|
+
};
|
|
13566
|
+
getMetricOccupancyRateOverTime: {
|
|
13567
|
+
parameters: {
|
|
13568
|
+
query: {
|
|
13569
|
+
dimension?: "month" | "week" | "day" | "year";
|
|
13570
|
+
startDate: string;
|
|
13571
|
+
endDate: string;
|
|
13572
|
+
};
|
|
13573
|
+
header?: never;
|
|
13574
|
+
path?: never;
|
|
13575
|
+
cookie?: never;
|
|
13576
|
+
};
|
|
13577
|
+
requestBody?: never;
|
|
13578
|
+
responses: {
|
|
13579
|
+
/** @description Successful response */
|
|
13580
|
+
200: {
|
|
13581
|
+
headers: {
|
|
13582
|
+
[name: string]: unknown;
|
|
13583
|
+
};
|
|
13584
|
+
content: {
|
|
13585
|
+
"application/json": {
|
|
13586
|
+
data: {
|
|
13587
|
+
date: string;
|
|
13588
|
+
occupiedNights: number;
|
|
13589
|
+
availableNights: number;
|
|
13590
|
+
occupancyRate: number;
|
|
13591
|
+
}[];
|
|
13592
|
+
};
|
|
13593
|
+
};
|
|
13594
|
+
};
|
|
13595
|
+
/** @description Bad request */
|
|
13596
|
+
400: {
|
|
13597
|
+
headers: {
|
|
13598
|
+
[name: string]: unknown;
|
|
13599
|
+
};
|
|
13600
|
+
content: {
|
|
13601
|
+
"application/json": {
|
|
13602
|
+
code: string;
|
|
13603
|
+
message: string;
|
|
13604
|
+
issues?: {
|
|
13605
|
+
message: string;
|
|
13606
|
+
}[];
|
|
13607
|
+
context?: unknown;
|
|
13608
|
+
};
|
|
13609
|
+
};
|
|
13610
|
+
};
|
|
13611
|
+
/** @description Unauthorized */
|
|
13612
|
+
401: {
|
|
13613
|
+
headers: {
|
|
13614
|
+
[name: string]: unknown;
|
|
13615
|
+
};
|
|
13616
|
+
content: {
|
|
13617
|
+
"application/json": {
|
|
13618
|
+
code: string;
|
|
13619
|
+
message: string;
|
|
13620
|
+
issues?: {
|
|
13621
|
+
message: string;
|
|
13622
|
+
}[];
|
|
13623
|
+
context?: unknown;
|
|
13624
|
+
};
|
|
13625
|
+
};
|
|
13626
|
+
};
|
|
13627
|
+
/** @description Forbidden */
|
|
13628
|
+
403: {
|
|
13629
|
+
headers: {
|
|
13630
|
+
[name: string]: unknown;
|
|
13631
|
+
};
|
|
13632
|
+
content: {
|
|
13633
|
+
"application/json": {
|
|
13634
|
+
code: string;
|
|
13635
|
+
message: string;
|
|
13636
|
+
issues?: {
|
|
13637
|
+
message: string;
|
|
13638
|
+
}[];
|
|
13639
|
+
context?: unknown;
|
|
13640
|
+
};
|
|
13641
|
+
};
|
|
13642
|
+
};
|
|
13643
|
+
/** @description Not found */
|
|
13644
|
+
404: {
|
|
13645
|
+
headers: {
|
|
13646
|
+
[name: string]: unknown;
|
|
13647
|
+
};
|
|
13648
|
+
content: {
|
|
13649
|
+
"application/json": {
|
|
13650
|
+
code: string;
|
|
13651
|
+
message: string;
|
|
13652
|
+
issues?: {
|
|
13653
|
+
message: string;
|
|
13654
|
+
}[];
|
|
13655
|
+
context?: unknown;
|
|
13656
|
+
};
|
|
13657
|
+
};
|
|
13658
|
+
};
|
|
13659
|
+
/** @description Internal server error */
|
|
13660
|
+
500: {
|
|
13661
|
+
headers: {
|
|
13662
|
+
[name: string]: unknown;
|
|
13663
|
+
};
|
|
13664
|
+
content: {
|
|
13665
|
+
"application/json": {
|
|
13666
|
+
code: string;
|
|
13667
|
+
message: string;
|
|
13668
|
+
issues?: {
|
|
13669
|
+
message: string;
|
|
13670
|
+
}[];
|
|
13671
|
+
context?: unknown;
|
|
13672
|
+
};
|
|
13673
|
+
};
|
|
13674
|
+
};
|
|
13675
|
+
};
|
|
13676
|
+
};
|
|
13677
|
+
getMetricOwnerRevenue: {
|
|
13678
|
+
parameters: {
|
|
13679
|
+
query: {
|
|
13680
|
+
ownerId: string;
|
|
13681
|
+
startDate: string;
|
|
13682
|
+
endDate: string;
|
|
13683
|
+
currency?: string;
|
|
13684
|
+
};
|
|
13685
|
+
header?: never;
|
|
13686
|
+
path?: never;
|
|
13687
|
+
cookie?: never;
|
|
13688
|
+
};
|
|
13689
|
+
requestBody?: never;
|
|
13690
|
+
responses: {
|
|
13691
|
+
/** @description Successful response */
|
|
13692
|
+
200: {
|
|
13693
|
+
headers: {
|
|
13694
|
+
[name: string]: unknown;
|
|
13695
|
+
};
|
|
13696
|
+
content: {
|
|
13697
|
+
"application/json": {
|
|
13698
|
+
data: {
|
|
13699
|
+
date: string;
|
|
13700
|
+
lockedRevenue: number;
|
|
13701
|
+
unlockedRevenue: number;
|
|
13702
|
+
}[];
|
|
13703
|
+
};
|
|
13704
|
+
};
|
|
13705
|
+
};
|
|
13706
|
+
/** @description Bad request */
|
|
13707
|
+
400: {
|
|
13708
|
+
headers: {
|
|
13709
|
+
[name: string]: unknown;
|
|
13710
|
+
};
|
|
13711
|
+
content: {
|
|
13712
|
+
"application/json": {
|
|
13713
|
+
code: string;
|
|
13714
|
+
message: string;
|
|
13715
|
+
issues?: {
|
|
13716
|
+
message: string;
|
|
13717
|
+
}[];
|
|
13718
|
+
context?: unknown;
|
|
13719
|
+
};
|
|
13720
|
+
};
|
|
13721
|
+
};
|
|
13722
|
+
/** @description Unauthorized */
|
|
13723
|
+
401: {
|
|
13724
|
+
headers: {
|
|
13725
|
+
[name: string]: unknown;
|
|
13726
|
+
};
|
|
13727
|
+
content: {
|
|
13728
|
+
"application/json": {
|
|
13729
|
+
code: string;
|
|
13730
|
+
message: string;
|
|
13731
|
+
issues?: {
|
|
13732
|
+
message: string;
|
|
13733
|
+
}[];
|
|
13734
|
+
context?: unknown;
|
|
13735
|
+
};
|
|
13736
|
+
};
|
|
13737
|
+
};
|
|
13738
|
+
/** @description Forbidden */
|
|
13739
|
+
403: {
|
|
13740
|
+
headers: {
|
|
13741
|
+
[name: string]: unknown;
|
|
13742
|
+
};
|
|
13743
|
+
content: {
|
|
13744
|
+
"application/json": {
|
|
13745
|
+
code: string;
|
|
13746
|
+
message: string;
|
|
13747
|
+
issues?: {
|
|
13748
|
+
message: string;
|
|
13749
|
+
}[];
|
|
13750
|
+
context?: unknown;
|
|
13751
|
+
};
|
|
13752
|
+
};
|
|
13753
|
+
};
|
|
13754
|
+
/** @description Not found */
|
|
13755
|
+
404: {
|
|
13756
|
+
headers: {
|
|
13757
|
+
[name: string]: unknown;
|
|
13758
|
+
};
|
|
13759
|
+
content: {
|
|
13760
|
+
"application/json": {
|
|
13761
|
+
code: string;
|
|
13762
|
+
message: string;
|
|
13763
|
+
issues?: {
|
|
13764
|
+
message: string;
|
|
13765
|
+
}[];
|
|
13766
|
+
context?: unknown;
|
|
13767
|
+
};
|
|
13768
|
+
};
|
|
13769
|
+
};
|
|
13770
|
+
/** @description Internal server error */
|
|
13771
|
+
500: {
|
|
13772
|
+
headers: {
|
|
13773
|
+
[name: string]: unknown;
|
|
13774
|
+
};
|
|
13775
|
+
content: {
|
|
13776
|
+
"application/json": {
|
|
13777
|
+
code: string;
|
|
13778
|
+
message: string;
|
|
13779
|
+
issues?: {
|
|
13780
|
+
message: string;
|
|
13781
|
+
}[];
|
|
13782
|
+
context?: unknown;
|
|
13783
|
+
};
|
|
13784
|
+
};
|
|
13785
|
+
};
|
|
13786
|
+
};
|
|
13787
|
+
};
|
|
13788
|
+
getMetricReservationCount: {
|
|
12487
13789
|
parameters: {
|
|
12488
|
-
query
|
|
12489
|
-
|
|
13790
|
+
query: {
|
|
13791
|
+
startDate: string;
|
|
13792
|
+
endDate: string;
|
|
12490
13793
|
};
|
|
12491
13794
|
header?: never;
|
|
12492
|
-
path
|
|
12493
|
-
id: string;
|
|
12494
|
-
};
|
|
13795
|
+
path?: never;
|
|
12495
13796
|
cookie?: never;
|
|
12496
13797
|
};
|
|
12497
|
-
requestBody?:
|
|
12498
|
-
content: {
|
|
12499
|
-
"application/json": Record<string, never>;
|
|
12500
|
-
};
|
|
12501
|
-
};
|
|
13798
|
+
requestBody?: never;
|
|
12502
13799
|
responses: {
|
|
12503
13800
|
/** @description Successful response */
|
|
12504
13801
|
200: {
|
|
@@ -12507,8 +13804,12 @@ export interface operations {
|
|
|
12507
13804
|
};
|
|
12508
13805
|
content: {
|
|
12509
13806
|
"application/json": {
|
|
12510
|
-
|
|
12511
|
-
|
|
13807
|
+
data: {
|
|
13808
|
+
current: number;
|
|
13809
|
+
previous: number;
|
|
13810
|
+
delta: number;
|
|
13811
|
+
deltaPercentage: number | null;
|
|
13812
|
+
}[];
|
|
12512
13813
|
};
|
|
12513
13814
|
};
|
|
12514
13815
|
};
|
|
@@ -12594,13 +13895,17 @@ export interface operations {
|
|
|
12594
13895
|
};
|
|
12595
13896
|
};
|
|
12596
13897
|
};
|
|
12597
|
-
|
|
13898
|
+
getMetricReservationVolume: {
|
|
12598
13899
|
parameters: {
|
|
12599
|
-
query?:
|
|
12600
|
-
|
|
12601
|
-
|
|
12602
|
-
|
|
13900
|
+
query?: {
|
|
13901
|
+
dimension?: "month" | "week" | "day" | "year";
|
|
13902
|
+
/** @description Date range in format YYYY-MM-DD...YYYY-MM-DD */
|
|
13903
|
+
dateRange?: string;
|
|
13904
|
+
/** @description Whether the end date is inclusive or exclusive */
|
|
13905
|
+
isDateRangeEndInclusive?: boolean;
|
|
12603
13906
|
};
|
|
13907
|
+
header?: never;
|
|
13908
|
+
path?: never;
|
|
12604
13909
|
cookie?: never;
|
|
12605
13910
|
};
|
|
12606
13911
|
requestBody?: never;
|
|
@@ -12612,13 +13917,11 @@ export interface operations {
|
|
|
12612
13917
|
};
|
|
12613
13918
|
content: {
|
|
12614
13919
|
"application/json": {
|
|
12615
|
-
|
|
12616
|
-
|
|
12617
|
-
|
|
12618
|
-
|
|
12619
|
-
|
|
12620
|
-
currency: string;
|
|
12621
|
-
updatedAt?: string | null;
|
|
13920
|
+
data: {
|
|
13921
|
+
currency: string | null;
|
|
13922
|
+
date: string;
|
|
13923
|
+
amount: number;
|
|
13924
|
+
}[];
|
|
12622
13925
|
};
|
|
12623
13926
|
};
|
|
12624
13927
|
};
|
|
@@ -12704,24 +14007,18 @@ export interface operations {
|
|
|
12704
14007
|
};
|
|
12705
14008
|
};
|
|
12706
14009
|
};
|
|
12707
|
-
|
|
14010
|
+
getMetricRevenue: {
|
|
12708
14011
|
parameters: {
|
|
12709
|
-
query
|
|
12710
|
-
|
|
12711
|
-
|
|
12712
|
-
|
|
14012
|
+
query: {
|
|
14013
|
+
dimension?: "month" | "week" | "day" | "year";
|
|
14014
|
+
startDate: string;
|
|
14015
|
+
endDate: string;
|
|
12713
14016
|
};
|
|
14017
|
+
header?: never;
|
|
14018
|
+
path?: never;
|
|
12714
14019
|
cookie?: never;
|
|
12715
14020
|
};
|
|
12716
|
-
requestBody?:
|
|
12717
|
-
content: {
|
|
12718
|
-
"application/json": {
|
|
12719
|
-
/** @description Value in cents (100 = 1€) */
|
|
12720
|
-
amount: number;
|
|
12721
|
-
currency?: string | null;
|
|
12722
|
-
};
|
|
12723
|
-
};
|
|
12724
|
-
};
|
|
14021
|
+
requestBody?: never;
|
|
12725
14022
|
responses: {
|
|
12726
14023
|
/** @description Successful response */
|
|
12727
14024
|
200: {
|
|
@@ -12730,13 +14027,11 @@ export interface operations {
|
|
|
12730
14027
|
};
|
|
12731
14028
|
content: {
|
|
12732
14029
|
"application/json": {
|
|
12733
|
-
|
|
12734
|
-
|
|
12735
|
-
|
|
12736
|
-
|
|
12737
|
-
|
|
12738
|
-
currency: string;
|
|
12739
|
-
updatedAt?: string | null;
|
|
14030
|
+
data: {
|
|
14031
|
+
date: string;
|
|
14032
|
+
grossGuestRevenue: number;
|
|
14033
|
+
pmRevenue: number;
|
|
14034
|
+
}[];
|
|
12740
14035
|
};
|
|
12741
14036
|
};
|
|
12742
14037
|
};
|
|
@@ -12822,10 +14117,12 @@ export interface operations {
|
|
|
12822
14117
|
};
|
|
12823
14118
|
};
|
|
12824
14119
|
};
|
|
12825
|
-
|
|
14120
|
+
getSyncMetricsByStatus: {
|
|
12826
14121
|
parameters: {
|
|
12827
|
-
query
|
|
14122
|
+
query: {
|
|
12828
14123
|
dimension?: "month" | "week" | "day" | "year";
|
|
14124
|
+
connectionId: string;
|
|
14125
|
+
view: "automate" | "extract";
|
|
12829
14126
|
/** @description Date range in format YYYY-MM-DD...YYYY-MM-DD */
|
|
12830
14127
|
dateRange?: string;
|
|
12831
14128
|
/** @description Whether the end date is inclusive or exclusive */
|
|
@@ -12845,9 +14142,22 @@ export interface operations {
|
|
|
12845
14142
|
content: {
|
|
12846
14143
|
"application/json": {
|
|
12847
14144
|
data: {
|
|
12848
|
-
currency: string | null;
|
|
12849
14145
|
date: string;
|
|
12850
|
-
|
|
14146
|
+
total: number;
|
|
14147
|
+
changes: {
|
|
14148
|
+
completed?: {
|
|
14149
|
+
[key: string]: number;
|
|
14150
|
+
};
|
|
14151
|
+
skipped?: {
|
|
14152
|
+
[key: string]: number;
|
|
14153
|
+
};
|
|
14154
|
+
failed?: {
|
|
14155
|
+
[key: string]: number;
|
|
14156
|
+
};
|
|
14157
|
+
queued?: {
|
|
14158
|
+
[key: string]: number;
|
|
14159
|
+
};
|
|
14160
|
+
};
|
|
12851
14161
|
}[];
|
|
12852
14162
|
};
|
|
12853
14163
|
};
|
|
@@ -12934,16 +14244,12 @@ export interface operations {
|
|
|
12934
14244
|
};
|
|
12935
14245
|
};
|
|
12936
14246
|
};
|
|
12937
|
-
|
|
14247
|
+
getMetricTakeRate: {
|
|
12938
14248
|
parameters: {
|
|
12939
14249
|
query: {
|
|
12940
14250
|
dimension?: "month" | "week" | "day" | "year";
|
|
12941
|
-
|
|
12942
|
-
|
|
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;
|
|
14251
|
+
startDate: string;
|
|
14252
|
+
endDate: string;
|
|
12947
14253
|
};
|
|
12948
14254
|
header?: never;
|
|
12949
14255
|
path?: never;
|
|
@@ -12960,21 +14266,9 @@ export interface operations {
|
|
|
12960
14266
|
"application/json": {
|
|
12961
14267
|
data: {
|
|
12962
14268
|
date: string;
|
|
12963
|
-
|
|
12964
|
-
|
|
12965
|
-
|
|
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
|
-
};
|
|
14269
|
+
grossGuestRevenue: number;
|
|
14270
|
+
pmRevenue: number;
|
|
14271
|
+
takeRate: number;
|
|
12978
14272
|
}[];
|
|
12979
14273
|
};
|
|
12980
14274
|
};
|
|
@@ -16127,7 +17421,7 @@ export interface operations {
|
|
|
16127
17421
|
parameters: {
|
|
16128
17422
|
query: {
|
|
16129
17423
|
date: string;
|
|
16130
|
-
occupancyStatus: "departed" | "inHouse" | "upcoming";
|
|
17424
|
+
occupancyStatus: "departed" | "inHouse" | "upcoming" | "cancelled" | "unassigned" | "all";
|
|
16131
17425
|
channels?: string;
|
|
16132
17426
|
};
|
|
16133
17427
|
header?: never;
|
|
@@ -16145,7 +17439,7 @@ export interface operations {
|
|
|
16145
17439
|
"application/json": {
|
|
16146
17440
|
data: {
|
|
16147
17441
|
/** @enum {string} */
|
|
16148
|
-
status: "booked" | "cancelled";
|
|
17442
|
+
status: "booked" | "cancelled" | "unassigned";
|
|
16149
17443
|
total: number;
|
|
16150
17444
|
charges: number;
|
|
16151
17445
|
payments: number;
|
|
@@ -16280,6 +17574,9 @@ export interface operations {
|
|
|
16280
17574
|
departed: number;
|
|
16281
17575
|
inHouse: number;
|
|
16282
17576
|
upcoming: number;
|
|
17577
|
+
cancelled: number;
|
|
17578
|
+
unassigned: number;
|
|
17579
|
+
all: number;
|
|
16283
17580
|
};
|
|
16284
17581
|
};
|
|
16285
17582
|
};
|
|
@@ -16369,7 +17666,7 @@ export interface operations {
|
|
|
16369
17666
|
parameters: {
|
|
16370
17667
|
query: {
|
|
16371
17668
|
date: string;
|
|
16372
|
-
occupancyStatus: "departed" | "inHouse" | "upcoming";
|
|
17669
|
+
occupancyStatus: "departed" | "inHouse" | "upcoming" | "cancelled" | "unassigned" | "all";
|
|
16373
17670
|
channels?: string;
|
|
16374
17671
|
};
|
|
16375
17672
|
header?: never;
|
|
@@ -16496,7 +17793,7 @@ export interface operations {
|
|
|
16496
17793
|
currency?: string;
|
|
16497
17794
|
/** @description listing ids comma separated or "unmapped" */
|
|
16498
17795
|
listingIds?: string;
|
|
16499
|
-
/** @description
|
|
17796
|
+
/** @description listing ownership period ids comma separated or "unmapped" */
|
|
16500
17797
|
listingOwnershipPeriodIds?: string;
|
|
16501
17798
|
/** @description account ids comma separated accounts or "unmapped" */
|
|
16502
17799
|
accountIds?: string;
|
|
@@ -16583,6 +17880,14 @@ export interface operations {
|
|
|
16583
17880
|
context: {
|
|
16584
17881
|
accountId?: string | null;
|
|
16585
17882
|
};
|
|
17883
|
+
} | {
|
|
17884
|
+
/** @constant */
|
|
17885
|
+
code: "transactionInactive";
|
|
17886
|
+
/** @constant */
|
|
17887
|
+
severity: "warning";
|
|
17888
|
+
context: {
|
|
17889
|
+
transactionId?: string | null;
|
|
17890
|
+
};
|
|
16586
17891
|
} | {
|
|
16587
17892
|
/** @constant */
|
|
16588
17893
|
code: "unknownInactiveReason";
|
|
@@ -16745,7 +18050,7 @@ export interface operations {
|
|
|
16745
18050
|
currency?: string;
|
|
16746
18051
|
/** @description listing ids comma separated or "unmapped" */
|
|
16747
18052
|
listingIds?: string;
|
|
16748
|
-
/** @description
|
|
18053
|
+
/** @description listing ownership period ids comma separated or "unmapped" */
|
|
16749
18054
|
listingOwnershipPeriodIds?: string;
|
|
16750
18055
|
/** @description account ids comma separated accounts or "unmapped" */
|
|
16751
18056
|
accountIds?: string;
|
|
@@ -17371,7 +18676,7 @@ export interface operations {
|
|
|
17371
18676
|
currency?: string;
|
|
17372
18677
|
/** @description listing ids comma separated or "unmapped" */
|
|
17373
18678
|
listingIds?: string;
|
|
17374
|
-
/** @description
|
|
18679
|
+
/** @description listing ownership period ids comma separated or "unmapped" */
|
|
17375
18680
|
listingOwnershipPeriodIds?: string;
|
|
17376
18681
|
/** @description account ids comma separated accounts or "unmapped" */
|
|
17377
18682
|
accountIds?: string;
|
|
@@ -17457,6 +18762,14 @@ export interface operations {
|
|
|
17457
18762
|
context: {
|
|
17458
18763
|
accountId?: string | null;
|
|
17459
18764
|
};
|
|
18765
|
+
} | {
|
|
18766
|
+
/** @constant */
|
|
18767
|
+
code: "transactionInactive";
|
|
18768
|
+
/** @constant */
|
|
18769
|
+
severity: "warning";
|
|
18770
|
+
context: {
|
|
18771
|
+
transactionId?: string | null;
|
|
18772
|
+
};
|
|
17460
18773
|
} | {
|
|
17461
18774
|
/** @constant */
|
|
17462
18775
|
code: "unknownInactiveReason";
|
|
@@ -17619,7 +18932,7 @@ export interface operations {
|
|
|
17619
18932
|
currency?: string;
|
|
17620
18933
|
/** @description listing ids comma separated or "unmapped" */
|
|
17621
18934
|
listingIds?: string;
|
|
17622
|
-
/** @description
|
|
18935
|
+
/** @description listing ownership period ids comma separated or "unmapped" */
|
|
17623
18936
|
listingOwnershipPeriodIds?: string;
|
|
17624
18937
|
/** @description account ids comma separated accounts or "unmapped" */
|
|
17625
18938
|
accountIds?: string;
|
|
@@ -19286,39 +20599,44 @@ export interface operations {
|
|
|
19286
20599
|
};
|
|
19287
20600
|
content: {
|
|
19288
20601
|
"application/json": {
|
|
19289
|
-
|
|
20602
|
+
trustReconciliation: {
|
|
19290
20603
|
/** @constant */
|
|
19291
|
-
name: "
|
|
20604
|
+
name: "Trust Reconciliation";
|
|
19292
20605
|
total: number;
|
|
19293
|
-
|
|
19294
|
-
|
|
19295
|
-
|
|
19296
|
-
name: string;
|
|
19297
|
-
id: string;
|
|
20606
|
+
data: ({
|
|
20607
|
+
/** @constant */
|
|
20608
|
+
name: "Owner Payables";
|
|
19298
20609
|
total: number;
|
|
19299
|
-
|
|
19300
|
-
|
|
19301
|
-
|
|
19302
|
-
|
|
19303
|
-
|
|
19304
|
-
|
|
19305
|
-
|
|
19306
|
-
|
|
20610
|
+
/** @constant */
|
|
20611
|
+
type: "listings";
|
|
20612
|
+
listings: {
|
|
20613
|
+
name: string;
|
|
20614
|
+
id: string;
|
|
20615
|
+
total: number;
|
|
20616
|
+
}[];
|
|
20617
|
+
} | {
|
|
19307
20618
|
name: string;
|
|
19308
20619
|
total: number;
|
|
19309
|
-
|
|
19310
|
-
|
|
19311
|
-
|
|
19312
|
-
|
|
19313
|
-
|
|
19314
|
-
|
|
19315
|
-
|
|
19316
|
-
|
|
19317
|
-
/** @
|
|
19318
|
-
|
|
20620
|
+
/** @constant */
|
|
20621
|
+
type: "accounts";
|
|
20622
|
+
accounts: {
|
|
20623
|
+
id: string;
|
|
20624
|
+
name: string;
|
|
20625
|
+
total: number;
|
|
20626
|
+
}[];
|
|
20627
|
+
} | {
|
|
20628
|
+
/** @constant */
|
|
20629
|
+
name: "Guest Receivables & Deposits";
|
|
19319
20630
|
total: number;
|
|
19320
|
-
|
|
19321
|
-
|
|
20631
|
+
/** @constant */
|
|
20632
|
+
type: "occupancy_status";
|
|
20633
|
+
occupancyStatuses: {
|
|
20634
|
+
/** @enum {string} */
|
|
20635
|
+
status: "departed" | "upcoming" | "inHouse" | "cancelled" | "unassigned";
|
|
20636
|
+
total: number;
|
|
20637
|
+
}[];
|
|
20638
|
+
})[];
|
|
20639
|
+
};
|
|
19322
20640
|
};
|
|
19323
20641
|
};
|
|
19324
20642
|
};
|
|
@@ -19427,8 +20745,8 @@ export interface operations {
|
|
|
19427
20745
|
name: "Trust Reconciliation by Listing";
|
|
19428
20746
|
total: number;
|
|
19429
20747
|
groups: ({
|
|
19430
|
-
/** @
|
|
19431
|
-
name: "Bank Accounts";
|
|
20748
|
+
/** @enum {string} */
|
|
20749
|
+
name: "Bank Accounts" | "Unassigned Accounts";
|
|
19432
20750
|
total: number;
|
|
19433
20751
|
/** @constant */
|
|
19434
20752
|
type: "accounts";
|
|
@@ -24144,6 +25462,8 @@ export interface operations {
|
|
|
24144
25462
|
id: string;
|
|
24145
25463
|
startAt: string;
|
|
24146
25464
|
endAt: string | null;
|
|
25465
|
+
/** @description Value in cents (100 = 1€) */
|
|
25466
|
+
reserve: number;
|
|
24147
25467
|
members: {
|
|
24148
25468
|
id: string;
|
|
24149
25469
|
ownerId: string | null;
|
|
@@ -24487,6 +25807,8 @@ export interface operations {
|
|
|
24487
25807
|
id: string;
|
|
24488
25808
|
startAt: string;
|
|
24489
25809
|
endAt: string | null;
|
|
25810
|
+
/** @description Value in cents (100 = 1€) */
|
|
25811
|
+
reserve: number;
|
|
24490
25812
|
members: {
|
|
24491
25813
|
id: string;
|
|
24492
25814
|
ownerId: string | null;
|
|
@@ -25047,6 +26369,8 @@ export interface operations {
|
|
|
25047
26369
|
id: string;
|
|
25048
26370
|
startAt: string;
|
|
25049
26371
|
endAt: string | null;
|
|
26372
|
+
/** @description Value in cents (100 = 1€) */
|
|
26373
|
+
reserve: number;
|
|
25050
26374
|
members: {
|
|
25051
26375
|
id: string;
|
|
25052
26376
|
ownerId: string | null;
|
|
@@ -27540,6 +28864,8 @@ export interface operations {
|
|
|
27540
28864
|
id: string;
|
|
27541
28865
|
startAt: string;
|
|
27542
28866
|
endAt: string | null;
|
|
28867
|
+
/** @description Value in cents (100 = 1€) */
|
|
28868
|
+
reserve: number;
|
|
27543
28869
|
members: {
|
|
27544
28870
|
id: string;
|
|
27545
28871
|
ownerId: string | null;
|
|
@@ -28105,6 +29431,8 @@ export interface operations {
|
|
|
28105
29431
|
id: string;
|
|
28106
29432
|
startAt: string;
|
|
28107
29433
|
endAt: string | null;
|
|
29434
|
+
/** @description Value in cents (100 = 1€) */
|
|
29435
|
+
reserve: number;
|
|
28108
29436
|
members: {
|
|
28109
29437
|
id: string;
|
|
28110
29438
|
ownerId: string | null;
|