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